/* only small desktops */
/* tablets */
 @media (min-width: 992px) and (max-width: 1190px) {
     .countdown{
         height: 285px;
    }
     .top-header .navbar .navbar-collapse ul li a{
         font-size: 14px;
    }
     .lbox-details h2{
         font-size: 26px;
    }
     .contact_bt {
         margin-top: 25px;
    }
     .slide_text {
         margin-top: 70px;
    }
}
/* only small tablets */
 @media (min-width: 768px) and (max-width: 991px) {
     .top-header .navbar .navbar-collapse ul li a{
         padding: 5px 15px;
    }
     .about-img{
         margin-bottom: 30px;
         margin-top: 30px;
    }
     .gallery-box ul li{
         width: 33.33%;
    }
     .top-header{
         position: relative;
    }
     .lbox-details{
         display: block;
         position: relative;
         width: 100%;
    }
     .countdown #timer div#days, .countdown #timer div#hours, .countdown #timer div#minutes, .countdown #timer div#seconds{
         position: inherit;
         margin: 12px 0px;
    }
     .lbox-details::before{
         background: rgba(0,0,0,0.9);
    }
     .countdown{
         height: 188px;
         border-radius: 0px;
    }
     .countdown #timer div{
         width: 23%;
         font-size: 24px;
    }
     figure.effect-service h2{
         font-size: 12px;
    }
     .top-header {
         background-image: none;
         background-color: #fff;
    }
     .search-box {
         top: 1px;
         right: 75px;
    }
     .search-btn {
         background: #111;
    }
     .search-box:hover .search-txt {
         width: 240px;
         padding: 0 10px;
         border: solid #000 1px;
         height: 41px;
    }
     .top-header .navbar .navbar-collapse ul li a:hover, .top-header .navbar .navbar-collapse ul li a:focus {
         color: #0892fd;
    }
     .slide_text p {
         display: none;
    }
     .contact_bt {
         margin-top: 10px;
    }
     .slide_text {
         margin-top: 60px;
    }
     .section.layout_padding h4 {
         text-align: center;
    }
     footer.footer-box p {
         margin-top: 5px;
         font-size: 13px;
    }
}
/* mobile or only mobile */
 @media (max-width: 767px) {
     .navbar-brand{
         margin-left: 10px;
         margin-right: 10px;
    }
     .top-header .navbar .navbar-collapse ul li a{
         padding: 5px 15px;
    }
     .lbox-details h1{
         font-size: 24px;
    }
     .lbox-details h2{
         font-size: 18px;
    }
     .lbox-details p strong{
         font-size: 20px;
    }
     .lbox-details a.btn{
         display: none;
    }
     .title-box h2{
         font-size: 38px;
    }
     .about-main-info h2{
         font-size: 24px;
    }
     .about-img{
         margin-bottom: 30px;
    }
     .main-timeline-box .separline::before{
         left: 15px !important;
    }
     .main-timeline-box .iconBackground{
         left: 15px !important;
    }
     .main-timeline-box .timeline-text-content{
         margin-left: 0px;
    }
     .main-timeline-box .reverse .timeline-text-content{
         margin-right: 0px;
    }
     .main-timeline-box .time-line-date-content{
         margin-right: 0px;
    }
     .main-timeline-box .time-line-date-content p{
         float: left;
    }
     .main-timeline-box .timeline-element{
         padding: 0px 15px;
    }
     .gallery-box ul li {
         width: 48%;
    }
     .top-header{
         position: relative;
    }
     .lbox-details{
         position: relative;
         width: 100%;
         padding: 5% 0%;
    }
     .about-m{
         margin-top: 30px;
    }
     .countdown #timer div#days, .countdown #timer div#hours, .countdown #timer div#minutes, .countdown #timer div#seconds{
         position: inherit;
         margin: 12px 0px;
    }
     .lbox-details::before{
         background: rgba(0,0,0,0.9);
    }
     .countdown{
         height: 188px;
         border-radius: 0px;
    }
     .countdown #timer div{
         width: 23%;
         font-size: 24px;
    }
     .about-m{
         margin-bottom: 30px;
    }
     .timeLine .row .item{
         margin-bottom: 30px;
    }
     .filter-button-group button{
         margin-bottom: 5px;
    }
     .navbar-brand img {
         width: 175px;
    }
     .top-header {
         background-image: none;
         background-color: #ecedef;
    }
     .about-main-info div.full > img {
         height: auto;
         margin-bottom: 20px;
    }
     .search-box {
         position: absolute;
         top: 0;
         right: 50px;
         height: auto;
         padding: 0;
         margin-top: 29px;
         display: none;
    }
     a.navbar-brand {
         left: 0;
         position: relative;
    }
     .pogoSlider {
         padding-bottom: 110% !important; /* Increased height to accommodate all elements */
    }
    .pogoSlider-slide {
        background-position: right center !important; /* Focus on the character on the right */
        background-size: cover !important;
    }
     .pogoSlider-slide::after {
         content: "";
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: rgba(255, 255, 255, 0.7); /* Soft white overlay for readability */
         z-index: 1;
    }
     .slide_text {
         margin-top: 15%; /* Reduced top margin to pull content up */
         text-align: center !important;
         padding: 0 15px;
         position: relative;
         z-index: 2; /* Ensure text is above overlay */
    }
     .slide_text h1, .slide_text h3 {
         font-size: 26px !important; /* Slightly smaller to fit better */
         margin-bottom: 10px !important;
         line-height: 1.2 !important;
         font-weight: 800 !important;
    }
     .slide_text h4 {
         font-size: 14px !important;
         margin: 5px 0 !important;
         line-height: 1.4 !important;
         color: #444 !important;
    }
    .scarcity-badge {
        font-size: 13px !important;
        padding: 5px 12px !important;
        margin-top: 10px !important;
        border-radius: 30px !important;
    }
     .slide_text p {
         display: none;
    }
    .signature-badge {
        font-size: 11px !important;
        padding: 3px 10px !important;
        margin-bottom: 15px !important;
        display: inline-block;
    }
    .subjects-list {
        font-size: 12px !important;
        margin-top: 15px !important;
        background: rgba(8, 146, 253, 0.15);
        padding: 6px 12px;
        border-radius: 20px;
        display: inline-block;
        font-weight: 600;
    }
     .contact_bt {
         width: 130px;
         height: 45px;
         background: #0892fd;
         color: #fff;
         display: inline-block;
         line-height: 45px;
         text-align: center;
         font-size: 13px;
         font-weight: 600;
         margin: 15px 5px 0 !important;
         border-radius: 30px;
         float: none;
         box-shadow: 0 4px 10px rgba(8,146,253,0.3);
    }
    .secondary_bt {
        margin-left: 0 !important;
        background: #333 !important;
    }
    .secondary_bt {
        margin-left: 0 !important;
    }

    /* Achievers Section Mobile Fix */
    .col-lg-4 h2 {
        font-size: 36px !important;
        margin-bottom: 5px !important;
    }

    /* Study Materials Section Mobile Fix */
    #mock .row {
        margin: 0 10px !important;
        border-radius: 15px !important;
    }
    #mock .p-5 {
        padding: 30px 20px !important;
        text-align: center;
    }
    #mock h3 {
        font-size: 26px !important;
    }
    #mock .img-responsive {
        min-height: 250px !important;
    }

    /* Contact Section Mobile Fix */
    #contact .mb-5 h2 {
        font-size: 28px !important;
    }
    #contact .mb-4 > div {
        padding: 30px 20px !important;
    }
    #contact h4 {
        font-size: 18px !important;
    }
    #contact a[href^="tel"] {
        font-size: 20px !important;
    }

    /* Navigation Register Button Mobile Fix */
    .nav-register-btn {
        margin: 10px 0 !important;
        display: inline-block !important;
        width: auto;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
     .top-header #navbar-wd {
         padding-right: 0;
    }
     .heading_main {
         float: left;
         width: 100%;
    }
     .heading_main p.large {
         display: none;
    }
     h3.small_heading {
         font-size: 20px;
         font-weight: 600;
         line-height: normal;
         margin-top: 25px;
    }
     #demo .img-responsive {
         margin: 10px 0;
         width: 100%;
    }
     .footer_bottom p.crp {
         float: left;
         width: 100%;
         text-align: center;
    }
     .heading_main h2 {
         font-size: 25px;
    }
    .text_align_center_mobile {
        text-align: center !important;
    }
    .slider_img_card {
        background: #fff;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        margin: 10px 0;
        transition: transform 0.3s;
    }
    .slider_img_card img {
        border-radius: 8px;
        object-fit: cover;
        height: 120px;
        width: 100%;
    }
    #demo .carousel-control-prev, #demo .carousel-control-next {
        width: 35px;
        height: 35px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(8, 146, 253, 0.8);
    }
    #demo .carousel-control-prev {
        left: -15px;
    }
    #demo .carousel-control-next {
        right: -15px;
    }
}
 