/* ============================================================
   MOBILE-FIRST RESPONSIVE OVERRIDES - Pragati Academy
   File: assets/css/mobile-responsive.css
   
   All rules are inside @media queries so desktop is NEVER affected.
   ============================================================ */

/* =============================================================
   GLOBAL MOBILE HELPERS
   ============================================================= */
@media (max-width: 991px) {
    html {
        -webkit-tap-highlight-color: transparent;
        -webkit-text-size-adjust: 100%;
    }

    /* Smoother scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure all touch targets >= 44px */
    a,
    button,
    .global-btn,
    input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* =============================================================
   1. TOP BAR - Hide on phones (logo/badges are in header)
   ============================================================= */
@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }
}

/* =============================================================
   2. HEADER / NAV - Compact, touch-friendly
   ============================================================= */
@media (max-width: 991px) {

    /* When not sticky, show the logo (undo the desktop hide) */
    .header-layout1 .sticky-wrapper:not(.sticky) .menu-area .row>.col-auto:first-child {
        display: flex !important;
    }

    .header-layout1 .sticky-wrapper:not(.sticky) .menu-area .row,
    .header-layout1 .sticky-wrapper.sticky .menu-area .row {
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        margin: 0;
    }

    .header-layout1 .menu-area {
        padding: 5px 15px;
        background-color: #fff !important;
    }

    /* Prevent sticky jump by giving the wrapper an explicit height */
    .header-layout1 .sticky-wrapper {
        min-height: 60px;
    }

    .header-logo a {
        display: flex;
        justify-content: flex-start;
    }

    .header-logo a img {
        max-height: 52px !important;
    }

    /* Hide header admission button on mobile - BOTH sticky and non-sticky states */
    .header-layout1 .col-auto.d-none.d-xl-block,
    .header-layout1 .sticky-wrapper.sticky .menu-area .col-auto.d-none.d-xl-block {
        display: none !important;
    }

    /* Larger hamburger for easy tapping, forced to right */
    .menu-toggle.sidebar-btn {
        width: 44px;
        height: 44px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        padding: 0;
        margin-left: auto !important;
        /* Push to far right */
        outline: none;
    }

    .menu-toggle.sidebar-btn .line {
        width: 24px;
        height: 2px;
        margin: 3px 0;
        background-color: var(--title-color, #1a1a1a);
        display: block;
        transition: all 0.3s ease;
    }

    /* Mobile menu full-screen overlay feel */
    .mobile-menu-wrapper .mobile-menu-area {
        width: 85vw;
        max-width: 360px;
        padding: 24px 20px;
        background: #fff;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    }

    .mobile-menu ul li a {
        padding: 14px 0;
        font-size: 15px;
        font-weight: 500;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu ul li:last-child a {
        border-bottom: none;
    }

    .mobile-menu ul li ul li a {
        padding: 12px 0 12px 16px;
        font-size: 14px;
    }

    /* Hover state */
    .mobile-menu ul li > a:hover {
        color: var(--theme-color, #980D1A);
        padding-left: 6px;
    }

    .mobile-menu ul li ul li > a:hover {
        color: var(--theme-color, #980D1A);
        padding-left: 22px;
    }

    /* Active (current page) state */
    .mobile-menu ul li.active > a {
        color: var(--theme-color, #980D1A) !important;
        font-weight: 700;
    }

    .mobile-menu ul li ul li.active > a {
        color: var(--theme-color, #980D1A) !important;
        font-weight: 600;
    }

    .mobile-menu-wrapper .mobile-logo {
        margin-bottom: 24px;
    }

    .mobile-menu-wrapper .mobile-logo img {
        max-height: 45px;
    }

    .mobile-menu-wrapper .menu-toggle {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

/* =============================================================
   3. HERO SLIDER - 1:1 Ratio for mobile
   ============================================================= */
@media (max-width: 767px) {
    .pragati-hero .hero-slider {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        min-height: auto !important;
        background-position: center center !important;
        background-image: url('../img/mobile_banner.jpg') !important;
    }

    .pragati-hero .hero-slider .slick-list,
    .pragati-hero .hero-slider .slick-track,
    .pragati-hero .hero-slider .slick-slide>div {
        height: 100% !important;
    }

    .pragati-hero .hero-style1 {
        max-width: 100% !important;
        text-align: center;
        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pragati-hero .hero-title,
    .hero-slider .hero-title {
        font-size: clamp(24px, 7vw, 36px) !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        text-align: center;
    }

    .pragati-hero .hero-title br {
        display: none;
    }

    .pragati-hero .hero-slider .btn-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
        margin-top: 15px !important;
    }

    .pragati-hero .hero-slider .btn-group .global-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    /* Hero arrows - smaller & tighter */
    .hero-wrapper .slick-prev {
        left: 10px !important;
    }

    .hero-wrapper .slick-next {
        right: 10px !important;
    }

    .hero-wrapper .slick-prev,
    .hero-wrapper .slick-next {
        width: 38px;
        height: 38px;
    }

    /* Dots */
    .pragati-dots {
        bottom: 16px;
    }

    .pragati-dots li {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

    .pragati-dots li button {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .pragati-hero .hero-slider {

        min-height: 380px;
    }
}

/* =============================================================
   4. ADMISSION TICKER - Compact on mobile
   ============================================================= */
@media (max-width: 767px) {
    .admission-ticker {
        padding: 8px 0;
        font-size: 13px;
    }

    .admission-ticker .ticker-item {
        padding: 0 30px;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    .admission-ticker .ticker-content {
        animation-duration: 15s !important;
    }
}

/* =============================================================
   5. ABOUT SECTION - Clean mobile stack
   ============================================================= */
@media (max-width: 767px) {
    .pa-about__grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: 260px auto !important;
    }

    .pa-about__image-col {
        order: -1;
        min-height: 260px !important;
        clip-path: none !important;
    }

    .pa-about__content-col {
        padding: 36px 20px !important;
    }

    .pa-about__content {
        max-width: 100%;
    }

    .pa-about__heading {
        font-size: clamp(24px, 6vw, 32px) !important;
        text-align: center;
    }

    .pa-about__eyebrow {
        justify-content: center;
        font-size: 20px;
    }

    .pa-about__body {
        font-size: 13.5px;
        text-align: left;
        line-height: 1.75;
    }

    .pa-about__body:first-of-type {
        margin-top: 16px;
    }

    .pa-about__counters {
        flex-wrap: nowrap;
        /* Force 1 line */
        justify-content: space-between;
        gap: 8px;
        padding: 16px 0;
        margin: 16px 0 20px;
        overflow: hidden;
    }

    .pa-about__counter {
        flex: 1 1 0 !important;
        padding: 0 !important;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .pa-about__counter strong {
        font-size: 20px !important;
    }

    .pa-about__counter>span {
        text-align: center;
        font-size: 9px;
        line-height: 1.2;
    }

    .pa-about__counter-sep {
        display: none !important;
    }

    .pa-about__cbse {
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .pa-about__cbse img {
        height: 40px;
    }

    .pa-about__cbse strong {
        font-size: 12px;
    }

    .pa-about__btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* =============================================================
   6. HAPPENINGS - Mobile-friendly layout
   ============================================================= */
@media (max-width: 767px) {
    .pa-happenings {
        padding: 50px 0;
    }

    .pa-happenings__grid {
        flex-direction: column !important;
        gap: 20px;
    }

    .pa-events-col,
    .pa-news-col {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .pa-happenings__col-card {
        padding: 20px 16px !important;
        border-radius: 10px;
    }

    .pa-events__header {
        margin-bottom: 20px;
    }

    .pa-events__title,
    .pa-news__title {
        font-size: 20px;
    }

    .pa-events__slider-wrap {
        padding: 0 12px !important;
    }

    .pa-event-card {
        margin: 8px !important;
        border-radius: 10px;
    }

    .pa-event__content {
        padding: 16px;
    }

    .pa-event__name {
        font-size: 14px;
    }

    .pa-event__meta {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .pa-event__readmore {
        font-size: 12px;
    }

    /* Slick arrows */
    .pa-events-col .slick-arrow {
        width: 34px;
        height: 34px;
        margin-top: 0 !important;
    }

    .pa-events-col .slick-prev {
        left: -6px;
    }

    .pa-events-col .slick-next {
        right: -6px;
        margin-top: 0 !important;
    }

    /* News list */
    .pa-news__list-wrap {
        height: auto !important;
        max-height: 350px;
        padding-right: 8px;
    }

    .pa-news-item {
        padding: 14px;
        gap: 12px;
        margin-bottom: 12px;
    }

    .pa-news__date {
        width: 48px;
        height: 48px;
    }

    .pa-news__date-day {
        font-size: 18px;
    }

    .pa-news__date-month {
        font-size: 10px;
    }

    .pa-news__item-desc {
        font-size: 14px;
    }

    .pa-news__meta-location {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .pa-news__month-divider span {
        font-size: 12px;
    }
}

/* =============================================================
   7. SCHOOL STRUCTURE - Horizontal scroll cards (app-like)
   ============================================================= */
@media (max-width: 767px) {
    .pa-structure-section {
        padding-bottom: 50px !important;
    }

    .pa-structure-section .title-area {
        margin-bottom: 10px;
    }

    .pa-structure-section .sec-title {
        font-size: 24px;
    }

    .pa-structure-grid {
        flex-direction: row !important;
        height: auto !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        gap: 14px;
        margin-top: 10px;
    }

    /* Hide scrollbar but keep functionality */
    .pa-structure-grid::-webkit-scrollbar {
        display: none;
    }

    .pa-structure-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .pa-structure-card {
        flex: 0 0 78vw !important;
        max-width: 300px;
        height: 320px !important;
        border-radius: 16px;
        scroll-snap-align: center;
    }

    .pa-structure-card:hover {
        flex: 0 0 78vw !important;
        transform: none;
    }

    .pa-structure-title-vert {
        writing-mode: horizontal-tb !important;
        left: 20px !important;
        bottom: 20px !important;
        transform: none !important;
        font-size: 18px;
        letter-spacing: 2px;
    }

    .pa-structure-card:hover .pa-structure-title-vert {
        opacity: 0;
        transform: translateY(-10px) !important;
    }

    .pa-structure-content-full h3 {
        font-size: 20px;
    }

    .pa-structure-content-full p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .pa-structure-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .pa-structure-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .pa-structure-overlay {
        padding: 20px;
    }
}

/* =============================================================
   8. WHY CHOOSE US - Stacked feature boxes
   ============================================================= */
@media (max-width: 767px) {
    .bg-white-section.space {
        padding: 50px 0;
    }

    .bg-white-section .title-area .sec-title {
        font-size: 24px;
    }

    .feature-box {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .feature-box img {
        width: 60px !important;
        height: 60px !important;
    }

    .feature-box h5 {
        font-size: 16px;
    }

    .feature-box p {
        font-size: 13px;
    }
}

/* =============================================================
   9. BRIDGING CULTURES CTA (Parallax Section)
   ============================================================= */
@media (max-width: 767px) {
    .parallax-cta.space {
        padding: 30px 0 !important;
        background-position: left center !important;
    }

    .parallax-cta h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .parallax-cta h2 br {
        display: none;
    }

    .parallax-cta p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
}

/* =============================================================
   10. ACHIEVEMENTS - Mobile-friendly stacking cards
   ============================================================= */
@media (max-width: 767px) {
    .pa-stacked-achievements {
        padding: 60px 0 70px;
    }

    .pa-stacked-achievements .sec-title {
        font-size: 24px;
    }

    .pa-cards-container {
        gap: 0;
        padding-bottom: 0;
    }

    .pa-stack-card-wrapper {
        height: 80vh;
    }

    .pa-stack-card {
        height: auto !important;
        min-height: auto !important;
        flex-direction: column-reverse !important;
        border-radius: 14px;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    }

    .pa-stack-card::after {
        border-radius: 14px;
    }

    .pa-card-content {
        padding: 24px 16px;
        background: #fff;
    }

    .pa-card-content i.watermark {
        font-size: 120px;
    }

    .pa-card-year {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 16px;
    }

    .pa-card-title {
        font-size: 22px !important;
        margin-bottom: 12px;
    }

    .pa-card-desc {
        font-size: 13.5px;
        line-height: 1.65;
        margin-bottom: 0;
    }

    .pa-card-image {
        height: 220px !important;
        flex: none !important;
    }

    .pa-stack-card-wrapper:nth-child(odd) .pa-card-image img,
    .pa-stack-card-wrapper:nth-child(even) .pa-card-image img {
        border-radius: 14px 14px 0 0;
    }

    .pa-stacked-achievements .text-center.mt-5 {
        margin-top: 30px !important;
        padding-top: 0 !important;
    }
}

/* =============================================================
   11. TESTIMONIALS - Compact slider
   ============================================================= */
@media (max-width: 767px) {
    .testimonial-area-1.space {
        padding: 50px 0;
    }

    .testimonial-area-1 .sec-title {
        font-size: 24px;
    }

    .testi-card {
        margin: 0 8px;
    }

    .testi-card_content {
        padding: 20px 16px;
    }

    .testi-card_text {
        font-size: 14px;
        line-height: 1.65;
    }

    .testi-card_name {
        font-size: 15px;
    }

    .testi-card_desig {
        font-size: 12px;
    }

    .testi-card_profile-img img {
        width: 60px;
        height: 60px;
    }

    .testi-card_rating i {
        font-size: 14px;
    }
}

/* =============================================================
   12. GALLERY - Sleek swipeable app-like mobile gallery
   ============================================================= */
@media (max-width: 767px) {
    .pa-gallery-section {
        padding: 50px 0;
        overflow: hidden;
    }

    .pa-gallery-section .sec-title {
        font-size: 24px;
    }

    /* Wrap both rows in a single swipeable area if they are wrapped by a parent */
    /* Or just force the rows to act as horizontal scrolls */
    .pa-gallery-row-1,
    .pa-gallery-row-2 {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        margin-bottom: 12px;
        padding-bottom: 15px;
        /* space for scrollbar */
        margin-left: 0 !important;
        animation: none !important;
        /* Disable marquee */

        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        /* Disable snap scrolling as it can cause locking issues on iOS */
        scroll-snap-type: none !important;
        width: 100%;
    }

    .pa-gallery-row-1::-webkit-scrollbar,
    .pa-gallery-row-2::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .pa-gal-item {
        flex: 0 0 70vw !important;
        /* Items take up 70% of screen width */
        max-width: 260px;
        height: 180px !important;
        border-radius: 12px;
        /* No scroll-snap-align to allow smooth free-scrolling */
    }

    .pa-gal-overlay i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .pa-gal-item {
        height: 160px !important;
    }
}

/* =============================================================
   13. BLOG CARDS - Single column
   ============================================================= */
@media (max-width: 767px) {
    .blog-area-1.space {
        padding: 50px 0;
    }

    .blog-area-1 .sec-title {
        font-size: 24px;
    }

    .blog-card {
        margin: 0 6px;
    }

    .blog-content {
        padding: 16px;
    }

    .blog-title {
        font-size: 16px !important;
    }

    .blog-meta {
        font-size: 12px;
    }

    .blog-meta a {
        font-size: 12px;
    }
}

/* =============================================================
   14. FOOTER CTA - Stacked
   ============================================================= */
@media (max-width: 767px) {
    section[style*="background:linear-gradient"] {
        padding: 40px 0 !important;
    }

    section[style*="background:linear-gradient"] h2 {
        font-size: 20px !important;
        text-align: center;
    }

    section[style*="background:linear-gradient"] p {
        text-align: center;
        font-size: 14px;
    }

    section[style*="background:linear-gradient"] .col-lg-4 {
        text-align: center !important;
    }
}

/* =============================================================
   15. FOOTER - Remade and polished for mobile
   ============================================================= */
@media (max-width: 767px) {
    .pragati-footer .widget-area {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }

    .pragati-footer .widget-area .row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pragati-footer .widget-area .row>div {
        margin-bottom: 0;
        padding: 15px;
        background: #fcfcfc;
        border-radius: 12px;
        border: 1px solid #f0f0f0;
    }

    .footer-widget {
        text-align: left;
    }

    .footer-widget .about-logo {
        text-align: left;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 16px !important;
    }

    .footer-widget .about-logo img {
        max-height: 50px !important;
    }

    .footer-widget .footer-text {
        text-align: left;
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 12px !important;
    }

    .footer-widget .social-btn {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .footer-widget .widget_title {
        font-size: 18px;
        text-align: left;
        margin-bottom: 12px !important;
    }

    .footer-widget .menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        text-align: left;
    }

    .footer-widget .menu li {
        text-align: left;
        font-size: 13.5px;
    }

    .newsletter-form .form-group {
        flex-direction: row;
        gap: 8px;
        background: transparent;
    }

    .newsletter-form .form-control {
        height: 48px !important;
        border: 1px solid #ddd !important;
        flex: 1;
    }

    .newsletter-form .global-btn {
        width: auto;
        padding: 0 16px !important;
        justify-content: center;
        border-radius: 6px;
    }

    .copyright-wrap {
        padding: 16px 0 !important;
        background: #fff;
        border-top: none !important;
    }

    .copyright-text {
        font-size: 12px !important;
        color: #999 !important;
    }

    /* Extra bottom padding so footer content doesn't hide behind bottom nav */
    .pragati-footer {
        padding-bottom: 85px;
        background: #f9f9f9 !important;
    }
}

/* =============================================================
   16. FLOATING ELEMENTS - Repositioned for mobile
   ============================================================= */
@media (max-width: 767px) {

    /* Sticky admission button - move to bottom-left, bumped up */
    div[style*="position:fixed"][style*="bottom:20px"][style*="right:20px"] {
        bottom: 95px !important;
        right: 16px !important;
        left: auto !important;
    }

    div[style*="position:fixed"][style*="bottom:20px"][style*="right:20px"] .global-btn {
        /* padding: 10px 18px !important; */
        font-size: 13px !important;
        border-radius: 40px !important;
        box-shadow: 0 4px 15px rgba(152, 13, 26, .5) !important;
    }

    /* Scroll-to-top button adjustment - place above admission button */
    .scroll-top {
        bottom: 150px !important;
        /* Above admission button */
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
    }

    .scroll-top svg {
        display: none !important;
    }

    /* Hide vertical brochure button on mobile */
    .vertical-brochure-btn {
        display: none !important;
    }
}

/* =============================================================
   17. APP-LIKE BOTTOM NAVIGATION BAR
   ============================================================= */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99999;
        background: #ffffff;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding: 6px 0;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.95);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #666;
        font-size: 10px;
        font-weight: 600;
        padding: 6px 4px 4px;
        border-radius: 8px;
        transition: all 0.25s ease;
        flex: 1;
        gap: 3px;
        min-height: 44px;
    }

    .mobile-bottom-nav a i {
        font-size: 18px;
        color: #888;
        transition: color 0.25s ease, transform 0.25s ease;
    }

    .mobile-bottom-nav a span {
        display: block;
        margin-top: 2px;
        letter-spacing: 0.3px;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a.active {
        color: var(--theme-color, #980D1A);
    }

    .mobile-bottom-nav a:hover i,
    .mobile-bottom-nav a.active i {
        color: var(--theme-color, #980D1A);
        transform: translateY(-2px);
    }

    /* Special "Admissions" center button - highlighted */
    .mobile-bottom-nav a.nav-highlight {
        position: relative;
    }

    .mobile-bottom-nav a.nav-highlight i {
        background: var(--theme-color, #980D1A);
        color: #fff;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        box-shadow: 0 4px 15px rgba(152, 13, 26, 0.35);
        margin-top: -14px;
        transition: all 0.3s ease;
    }

    .mobile-bottom-nav a.nav-highlight:hover i {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 6px 20px rgba(152, 13, 26, 0.45);
    }

    .mobile-bottom-nav a.nav-highlight span {
        color: var(--theme-color, #980D1A);
        font-weight: 700;
    }

    /* Body padding to avoid content behind bottom nav */
    body {
        padding-bottom: 64px;
    }
}

/* =============================================================
   18. GENERAL SECTION SPACING - Tighter on mobile
   ============================================================= */
@media (max-width: 767px) {
    .space {
        padding: 50px 0;
    }

    .space-bottom {
        padding-bottom: 50px;
    }

    .title-area {
        margin-bottom: 24px;
    }

    .title-area .sec-title {
        font-size: 24px;
    }

    .title-area .sub-title {
        font-size: 16px;
    }

    .global-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .container-fluid.px-4 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* =============================================================
   19. SMOOTH ANIMATIONS - Reduce motion on mobile for perf
   ============================================================= */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {

    .pa-gallery-row-1,
    .pa-gallery-row-2 {
        animation: none !important;
    }

    .admission-ticker .ticker-content {
        animation: none !important;
    }
}

/* =============================================================
   20. PRE-FOOTER CTA — mobile / tablet: no fixed parallax, readable type
   ============================================================= */
@media (max-width: 991px) {
    .pragati-prefooter-cta {
        background-attachment: scroll !important;
        padding-top: 80px !important;
        padding-bottom: 96px !important;
    }

    .pragati-prefooter-cta h2.text-white {
        font-size: clamp(1.35rem, 5.2vw, 1.85rem) !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 575px) {
    .pragati-prefooter-cta {
        padding-top: 64px !important;
        padding-bottom: 72px !important;
    }
}

/* =============================================================
   21. TABLET PORTRAIT — comfortable gutters (768–991px)
   ============================================================= */
@media (min-width: 768px) and (max-width: 991px) {
    .pragati-footer .widget-area {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}