/* GLOBAL BLUE THEME (Logo Palette: #004979, #2974ac, #ffffff) - shared by every page via header.blade.php */
    /* =========================================================
       GLOBAL THEME OVERRIDES (Logo Palette: #004979, #2974ac, #ffffff)
       ========================================================= */
    @import url('inter-outfit.css');

    :root, html, body,
    p, a, span, li, input, button, select, textarea, label,
    .slider-content p, .slider-content a,
    .default-btn, .read-more-btn, .section-title p,
    .single-education-card, .single-academics-card, .single-campus-card,
    .campus-content, .footer-area, .copyright-area, .top-header-area, .navbar-area {
        font-family: 'Inter', sans-serif !important;
    }

    :root, html, body {
        --cprimary: #004979 !important;
        --csecondary: #2974ac !important;
        --cthird: #eef6fb !important;
    }

    /* Titles and Headings with Outfit */
    h1, h2, h3, h4, h5, h6,
    h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
    .h1, .h2, .h3, .h4, .h5, .h6,
    .slider-content h1, .slider-content.style2 h1,
    .section-title h2, .section-title h2 *,
    .single-academics-card .academic-top-content h3,
    .single-education-card .edication-content h3,
    .campus-title h2, .campus-content.style-2 h2,
    .whats-new-title h2, .whats-new-title h2 *,
    .quicklink h4, .quicklink h4 *,
    .principal-message h4, .principal-message h4 * {
        font-family: 'Outfit', sans-serif !important;
        color: #004979 !important;
        letter-spacing: 0.2px !important;
    }

    /* Container Width Optimization for Modern Displays */
    @media (min-width: 1200px) {
        .container {
            max-width: 1320px !important;
        }
    }
    @media (min-width: 1400px) {
        .container {
            max-width: 1400px !important;
        }
    }
    @media (min-width: 1600px) {
        .container {
            max-width: 1520px !important;
        }
    }

    p {
        font-weight: 400;
        line-height: 1.65;
    }

    /* Navigation & Top Bar */
    .top-header-area {
        background: #00223a !important;
    }
    .header-left-content p a {
        color: #63bff0 !important;
        border-bottom-color: #63bff0 !important;
    }
    .header-left-content p a:hover {
        color: #ffffff !important;
    }
    .header-right-content .list ul li.plogin a,
    .header-right-content .list ul li.plogin a.btn {
        background: transparent !important;
        background-color: transparent !important;
        border: 1px solid #ffffff !important;
        color: #ffffff !important;
        transition: all 0.3s ease !important;
    }
    .header-right-content .list ul li.plogin a:hover,
    .header-right-content .list ul li.plogin a.btn:hover {
        background: #ffffff !important;
        color: #00223a !important;
        border-color: #ffffff !important;
    }
    .navbar-area {
        background: #004979 !important;
    }
    .desktop-nav .navbar .navbar-nav .nav-item a:hover,
    .desktop-nav .navbar .navbar-nav .nav-item a.active,
    .desktop-nav .navbar .navbar-nav .nav-item.active a {
        color: #2974ac !important;
    }
    .desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu li a:hover,
    .desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu li a.active,
    .desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu li.active a {
        color: #004979 !important;
    }
    .desktop-nav .navbar .others-options .icon i {
        color: #ffffff !important;
    }

    /* Social Icons in Header (No Hover Effect) */
    .fix-social li a {
        background: rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        transition: none !important;
        transform: none !important;
    }
    .fix-social li a:hover {
        background: rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
        transform: none !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }
    .fix-social li a i,
    .fix-social li a i.ri-facebook-fill,
    .fix-social li a i.ri-twitter-fill,
    .fix-social li a i.ri-instagram-fill,
    .fix-social li a i.ri-youtube-fill,
    .fix-social li a i.ri-eye-fill {
        color: #ffffff !important;
        font-size: 15px !important;
    }
    .fix-social li a:hover i {
        color: #ffffff !important;
    }

    /* Buttons */
    .default-btn, .default-btn.btn {
        background-color: #004979 !important;
        color: #ffffff !important;
        border: 1px solid #004979 !important;
        border-radius: 30px !important;
        padding: 12px 32px !important;
        position: relative !important;
        z-index: 1 !important;
        font-weight: 600 !important;
        font-family: 'Outfit', sans-serif !important;
        transition: all 0.3s ease !important;
        overflow: hidden !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .default-btn::before, .default-btn.btn::before,
    .default-btn::after, .default-btn.btn::after {
        display: none !important;
        content: none !important;
    }
    .default-btn i, .default-btn.btn i {
        display: inline-block !important;
        margin-left: 6px !important;
        font-size: 14px !important;
        color: #ffffff !important;
        transition: transform 0.3s ease, color 0.3s ease !important;
    }
    .default-btn:hover, .default-btn.btn:hover {
        background-color: #2974ac !important;
        border-color: #2974ac !important;
        color: #ffffff !important;
        border-radius: 30px !important;
        box-shadow: 0 6px 20px rgba(41, 116, 172, 0.35) !important;
        transform: translateY(-2px) !important;
    }
    .default-btn:hover i, .default-btn.btn:hover i {
        color: #ffffff !important;
        transform: translateX(4px) !important;
    }
    .read-more-btn {
        color: #2974ac !important;
        font-weight: 600;
    }
    .read-more-btn:hover {
        color: #004979 !important;
    }
    .read-more-btn.white-color {
        color: #ffffff !important;
    }

    /* Floating Side Badges */
    p.btn-primary.ht {
        background-color: #004979 !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2) !important;
    }
    p.btn-primary.ht a {
        display: block !important;
        color: #ffffff !important;
        font-family: 'Outfit', 'Inter', sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        text-align: center !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    /* Right Side Tab (Achievements) */
    p.btn-primary.ht.ht2 {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        top: 26% !important;
        z-index: 9999 !important;
        width: 36px !important;
        height: auto !important;
        padding: 14px 4px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        writing-mode: vertical-rl !important;
        transform: rotate(0deg) !important;
        border-radius: 10px 0 0 10px !important;
        box-sizing: border-box !important;
        background: #2974ac !important;
        color: #ffffff !important;
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
    }
    p.btn-primary.ht.ht2:hover {
        background-color: #004979 !important;
        padding-right: 8px !important;
    }
    p.btn-primary.ht.ht3,
    p.btn-primary.ht.ht1,
    .blue-btn {
        background-color: #004979 !important;
        color: #ffffff !important;
    }
    /* Left Side Tabs (Sports Corner & E - Library) */
    p.btn-primary.ht.ht3,
    p.btn-primary.ht.ht1 {
        position: fixed !important;
        left: 0 !important;
        z-index: 9999 !important;
        width: 36px !important;
        height: auto !important;
        padding: 14px 4px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        writing-mode: vertical-rl !important;
        transform: rotate(180deg) !important;
        transform-origin: center center !important;
        border-radius: 10px 0 0 10px !important; /* Curves the right-side corners when rotated 180deg */
        box-sizing: border-box !important;
        transition: all 0.3s ease !important;
    }
    /* Shifted higher towards top with clean spacing */
    p.btn-primary.ht.ht3 {
        top: 26% !important;
    }
    p.btn-primary.ht.ht1 {
        top: calc(26% + 144px) !important;
    }
    p.btn-primary.ht.ht3:hover,
    p.btn-primary.ht.ht1:hover {
        background-color: #2974ac !important;
        padding-left: 8px !important;
    }
    @media (max-width: 768px) {
        p.btn-primary.ht.ht3,
        p.btn-primary.ht.ht1,
        p.btn-primary.ht.ht2 {
            width: 30px !important;
            padding: 10px 2px !important;
        }
        p.btn-primary.ht.ht3,
        p.btn-primary.ht.ht2 {
            top: 22% !important;
        }
        p.btn-primary.ht.ht1 {
            top: calc(22% + 128px) !important;
        }
        p.btn-primary.ht.ht3 a,
        p.btn-primary.ht.ht1 a,
        p.btn-primary.ht.ht2 a {
            font-size: 9.5px !important;
            letter-spacing: 1.2px !important;
        }
    }

    /* Sidebar Submenu Color (All Links, Buttons, and Nested Items) */
    .sidebar-content .collapse a,
    .sidebar-content .collapse a.btn,
    .sidebar-content .collapse button,
    .sidebar-content .collapse button.btn,
    .sidebar-content .collapse .btn-toggle,
    .sidebar-content .btn-toggle-nav a,
    .sidebar-content .btn-toggle-nav a.btn,
    .sidebar-content .btn-toggle-nav button,
    .sidebar-content .btn-toggle-nav button.btn,
    .sidebar-content li ul > li > a,
    .sidebar-content li ul > li > button,
    .sidebar-content .collapse li,
    .sidebar-content .collapse li * {
        color: #2974ac !important;
    }
    .sidebar-content .collapse a:hover,
    .sidebar-content .collapse a.btn:hover,
    .sidebar-content .collapse button:hover,
    .sidebar-content .collapse button.btn:hover,
    .sidebar-content .btn-toggle-nav a:hover,
    .sidebar-content .btn-toggle-nav button:hover,
    .sidebar-content li ul > li > a:hover,
    .sidebar-content li ul > li > button:hover {
        color: #004979 !important;
    }
    /* Header Theme Dark/Light Switch (Capsule Pill Outer + Clean Round Icon Knob) */
    body > .switch-box {
        display: none !important;
    }
    .fix-social ul {
        display: flex !important;
        align-items: center !important;
        margin-right: 12px !important;
    }
    .fix-social ul li.theme-switch-header-li,
    li.theme-switch-header-li {
        display: inline-flex !important;
        align-items: center !important;
        margin-left: 6px !important;
        list-style: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        width: auto !important;
        height: 35px !important;
    }
    .fix-social ul li.theme-switch-header-li a,
    .fix-social li.theme-switch-header-li a,
    li.theme-switch-header-li a.theme-toggle-pill,
    #theme-toggle-header.theme-toggle-pill {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 35px !important;
        min-height: 35px !important;
        max-height: 35px !important;
        line-height: 35px !important;
        border-radius: 35px !important;
        background: rgba(0, 34, 58, 0.45) !important;
        background-color: rgba(0, 34, 58, 0.45) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
        text-decoration: none !important;
        outline: none !important;
        transform: none !important;
        transition: all 0.3s ease !important;
        overflow: hidden !important;
    }
    .fix-social ul li.theme-switch-header-li a:hover,
    .fix-social li.theme-switch-header-li a:hover,
    #theme-toggle-header.theme-toggle-pill:hover {
        background: rgba(0, 34, 58, 0.45) !important;
        background-color: rgba(0, 34, 58, 0.45) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        transform: none !important;
    }

    /* Inside Round Knob matching the 35px social circle style */
    #theme-toggle-header.theme-toggle-pill .toggle-knob {
        position: absolute !important;
        top: 2px !important;
        left: 2px !important;
        width: 29px !important;
        height: 29px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.4) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
        transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) !important;
        z-index: 3 !important;
    }
    #theme-toggle-header.theme-toggle-pill:hover .toggle-knob {
        background: rgba(255, 255, 255, 0.4) !important;
    }
    #theme-toggle-header.theme-toggle-pill .toggle-knob i {
        color: #ffffff !important;
        font-size: 15px !important;
        line-height: 1 !important;
        display: block !important;
    }
    #theme-toggle-header.theme-toggle-pill:hover .toggle-knob i {
        color: #ffffff !important;
    }

    /* Light Mode Active: Knob on right side with Sun */
    #theme-toggle-header.theme-toggle-pill.is-light .toggle-knob {
        transform: translateX(29px) !important;
    }

    /* Dark Mode Active: Knob on left side with Moon */
    #theme-toggle-header.theme-toggle-pill.is-dark .toggle-knob {
        transform: translateX(0px) !important;
    }

    /* Footer & Go Top */
    .footer-area {
        background-color: #003354 !important;
    }
    .footer-logo-area p {
        color: #ffffff !important;
    }
    .footer-widjet h3 {
        color: #ffffff !important;
        font-family: 'Outfit', sans-serif !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        border-bottom: none !important;
        display: inline-block !important;
        position: relative !important;
        padding-bottom: 10px !important;
        margin-bottom: 22px !important;
    }
    .footer-widjet h3::before {
        display: none !important;
        content: none !important;
    }
    .footer-widjet h3::after {
        content: "" !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 60% !important;
        height: 3px !important;
        background: linear-gradient(90deg, #2974ac 0%, #63bff0 45%, rgba(99, 191, 240, 0) 100%) !important;
        border-radius: 4px !important;
    }
    .footer-widjet .list ul li a {
        color: #cde2f2 !important;
    }
    .footer-widjet .list ul li a:hover {
        color: #ffffff !important;
    }

    /* Copyright Bar (Text and Icons in White & Harmonized Background) */
    .copyright-area {
        background-color: #00223a !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .copyright .copy p,
    .copyright .copy p a,
    .copyright .social-content ul li span,
    .copyright .social-content ul li a,
    .copyright .social-content ul li a i {
        color: #ffffff !important;
    }
    .copyright .copy p a:hover,
    .copyright .social-content ul li a:hover,
    .copyright .social-content ul li a:hover i {
        color: #ffffff !important;
        opacity: 0.85;
    }

    .go-top {
        background-color: #004979 !important;
        color: #ffffff !important;
    }
    .go-top i {
        color: #ffffff !important;
    }
    .go-top:hover {
        background-color: #2974ac !important;
    }
    .go-top:hover i {
        color: #ffffff !important;
    }

    /* Preloader */
    .preloader-area {
        background-color: #004979 !important;
    }

/* Space before section headings inside content blocks (e.g. About page) */
.details h3,
.details h2 {
    margin-top: 32px !important;
    margin-bottom: 12px !important;
}
.details > h3:first-child,
.details > h2:first-child {
    margin-top: 24px !important;
}

/* About page: Vision / Mission / Roots */
.about-vmr-area {
    background: var(--cthird);
    padding: 70px 0;
}
.about-vmr-title {
    margin: 0 0 28px;
    font-size: 36px;
    font-weight: 700;
}
.about-vmr-row {
    align-items: stretch;
}
.about-vmr-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e3edf5;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.08);
}
.about-vmr-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #f1f8fd;
    border: 1px solid #ddecfa;
}
.about-vmr-img i {
    font-size: 32px;
    line-height: 1;
    color: #004979;
}
.about-vmr-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
}
.about-vmr-card p {
    margin: 0;
    color: #556987;
}
.about-roots {
    height: 100%;
    background: linear-gradient(135deg, #004979 0%, #2974ac 100%);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.15);
}
.about-roots h3 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important;
}
.about-roots p,
.about-roots p b {
    margin: 0;
    color: #ffffff !important;
}
@media (max-width: 991px) {
    .about-vmr-title { font-size: 30px; }
}
@media (max-width: 767px) {
    .about-vmr-area { padding: 45px 0; }
    .about-vmr-title { font-size: 26px; }
}

/* Management Committee cards: same photo size, same card height */
.management-area .row > [class*="col-"] {
    display: flex;
}
.management-area .single-events-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.management-area .single-events-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 73, 121, 0.16);
}
.management-area .events-image {
    height: 340px;
    overflow: hidden;
    flex-shrink: 0;
}
.management-area .events-image a {
    display: block;
    height: 100%;
}
.management-area .events-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.management-area .events-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 22px 18px 26px;
    border-top: 3px solid #2974ac;
}
.management-area .events-content h3 {
    margin: 0 0 6px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1.3;
}
.management-area .events-content p {
    margin: 0 0 10px;
    color: #556987;
    font-weight: 500;
}
.management-area .events-content .read-more-btn {
    margin-top: auto;
    font-size: 14px;
}
@media (max-width: 575px) {
    .management-area .events-image { height: 380px; }
}

/* Chairman / Principal / Vice Principal pages (simple: photo + name box on left, text on right) */
.leader-area .row {
    align-items: flex-start;
}
.leader-area .single-health-care-card.style1 {
    margin-bottom: 70px;
}
.leader-area .single-health-care-card .img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.12);
}
.leader-area .single-health-care-card .img img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.leader-area .single-health-care-card.style1 .health-care-content {
    width: 80%;
    max-width: none;
    bottom: -60px;
    padding: 20px 24px;
    text-align: center;
    border-radius: 10px;
    border-bottom: 3px solid #2974ac;
    box-shadow: 0 10px 28px rgba(0, 73, 121, 0.15);
}
.leader-area .health-care-content h3 {
    margin: 0 0 4px;
    font-size: 22px;
}
.leader-area .health-care-content p {
    margin: 0 0 6px;
    color: #556987;
    font-weight: 500;
}
.leader-area .row > .col-lg-7 p {
    font-size: 16px;
    line-height: 1.85;
    color: #4a5a70;
    margin-bottom: 16px;
    text-align: justify;
}
.leader-area .row > .col-lg-7 p:last-child {
    margin-bottom: 0;
}
@media (min-width: 992px) {
    .leader-area .row > .col-lg-5 { flex: 0 0 auto; width: 48%; }
    .leader-area .row > .col-lg-7 { flex: 0 0 auto; width: 52%; padding-left: 40px; }
}
@media (max-width: 991px) {
    .leader-area .single-health-care-card .img img { height: 480px; }
    .leader-area .row > .col-lg-7 { margin-top: 20px; }
}
.leader-area .container {
    max-width: 1240px !important;
}

/* Admission page */
.admission-page .interview-content {
    background: none;
}
.admission-photo {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.12);
    display: block;
}
.admission-page .interview h3 {
    margin: 0 0 14px;
    font-size: 32px;
}
.admission-page .interview p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5a70;
    margin-bottom: 24px;
}
.admission-page .single-alumni-events-card {
    background: #ffffff;
    border: 1px solid #e3edf5;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.06);
}
.admission-page .alumni-content h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    background: none !important;
    color: #004979 !important;
    padding: 0 0 14px !important;
    margin: 0 0 16px;
    font-size: 22px !important;
    border-bottom: 2px solid #e3edf5;
}
.admission-page .alumni-content h3 .step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: #004979;
    color: #ffffff !important;
    font-style: normal;
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px;
    font-weight: 700;
}
.admission-page .location p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #4a5a70;
}
.admission-page .location p:last-child {
    margin-bottom: 0;
}
.admission-page .location p i {
    color: #2974ac;
    font-size: 20px;
    line-height: 1.5;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .admission-page .single-alumni-events-card { padding: 18px; }
    .admission-page .alumni-content h3 { font-size: 18px !important; }
    .admission-page .interview h3 { font-size: 26px; }
}
.admission-page .single-alumni-events-card,
.admission-page .single-alumni-events-card:hover {
    transform: none !important;
    transition: none !important;
}
.admission-page .single-alumni-events-card:hover {
    box-shadow: 0 10px 30px rgba(0, 73, 121, 0.06) !important;
}

/* =========================================================
   UNIFIED SECTION SPACING - same rhythm on every page (matches Home)
   ========================================================= */
.pt-100:not(.footer-area) { padding-top: 65px !important; }
.pb-70:not(.footer-area), .pb-100:not(.footer-area) { padding-bottom: 65px !important; }
.ptb-100:not(.footer-area) { padding-top: 65px !important; padding-bottom: 65px !important; }
.pt-70:not(.footer-area) { padding-top: 65px !important; }
.section-title { margin: 0 auto 42px !important; }
.section-title h2 { font-size: 36px; margin-bottom: 12px; }
@media (max-width: 767px) {
    .pt-100:not(.footer-area), .pt-70:not(.footer-area) { padding-top: 45px !important; }
    .pb-70:not(.footer-area), .pb-100:not(.footer-area) { padding-bottom: 45px !important; }
    .ptb-100:not(.footer-area) { padding-top: 45px !important; padding-bottom: 45px !important; }
    .section-title { margin-bottom: 30px !important; }
    .section-title h2 { font-size: 28px; }
}

/* =========================================================
   PHOTO GALLERY PAGES - every image the same width/height
   ========================================================= */
.student-life-area .single-news-card {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 73, 121, 0.08);
}
.student-life-area .single-news-card .news-img,
.student-life-area .single-news-card .news-img a {
    display: block;
    overflow: hidden;
}
.student-life-area .single-news-card .news-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.student-life-area .student-life-card { border-radius: 12px; overflow: hidden; }
.student-life-area .student-life-card > img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 768px) {
    .student-life-area .single-news-card .news-img img,
    .student-life-area .student-life-card > img { height: 260px; }
}

/* =========================================================
   DARK THEME (html.theme-dark) - overrides the forced light colours above
   Toggle lives in the header (footer.blade.php script) and is saved in localStorage 'sanu_theme'
   ========================================================= */
html.theme-dark body { background-color: #0a141d !important; color: #d3e1ec !important; }
html.theme-dark h1, html.theme-dark h2, html.theme-dark h3,
html.theme-dark h4, html.theme-dark h5, html.theme-dark h6,
html.theme-dark h1 *, html.theme-dark h2 *, html.theme-dark h3 *,
html.theme-dark h4 *, html.theme-dark h5 *, html.theme-dark h6 *,
html.theme-dark .section-title h2, html.theme-dark .section-title h2 *,
html.theme-dark .whats-new-title h2, html.theme-dark .whats-new-title h2 *,
html.theme-dark .quicklink h4, html.theme-dark .quicklink h4 * { color: #eaf4fb !important; }
html.theme-dark p, html.theme-dark li, html.theme-dark label,
html.theme-dark td, html.theme-dark th, html.theme-dark small { color: #c3d4e2 !important; }
html.theme-dark .section-title p { color: #c3d4e2 !important; }

/* Page sections */
html.theme-dark .bg-f4f6f9, html.theme-dark .whats-new, html.theme-dark .eduction-area,
html.theme-dark .campus-information-area, html.theme-dark .academic-area,
html.theme-dark .campus-safety-area, html.theme-dark .campus-life-area,
html.theme-dark .admisssion-area, html.theme-dark .students-stories-area,
html.theme-dark .health-care-area, html.theme-dark .lates-news-area,
html.theme-dark .counter-area, html.theme-dark .about-area, html.theme-dark .contact-area,
html.theme-dark .page-area, html.theme-dark section { background-color: #0a141d !important; }
html.theme-dark .campus-life-area, html.theme-dark .bg-f4f6f9 { background-color: #0e1b27 !important; }

/* Cards / white boxes -> dark surface */
html.theme-dark .single-academics-card, html.theme-dark .single-campus-card,
html.theme-dark .esp-circle-card, html.theme-dark .single-stories-card,
html.theme-dark .single-stories-card.style2, html.theme-dark .single-health-care-card,
html.theme-dark .single-health-care-card.style2, html.theme-dark .single-news-card,
html.theme-dark .single-podcasts-card, html.theme-dark .card,
html.theme-dark .single-faq, html.theme-dark .accordion-item,
html.theme-dark .modal-content, html.theme-dark .form-control,
html.theme-dark .table, html.theme-dark .single-teacher-card, html.theme-dark .single-team-card {
    background-color: #12222f !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #c3d4e2 !important;
}
html.theme-dark .single-campus-card .campus-content,
html.theme-dark .single-campus-card .campus-content * { background-color: transparent !important; }
html.theme-dark .esp-circle-card { box-shadow: 0 0 0 1px rgba(255,255,255,.12) !important; }
html.theme-dark .form-control::placeholder { color: #8aa3b6 !important; }

/* Links */
html.theme-dark .whats-new a, html.theme-dark .quicklink a, html.theme-dark .quicklink li a,
html.theme-dark .read-more-btn, html.theme-dark p a, html.theme-dark li a:not(.default-btn):not(.btn) { color: #7fc4ee !important; }
html.theme-dark .whats-new a:hover, html.theme-dark .quicklink a:hover,
html.theme-dark .read-more-btn:hover, html.theme-dark p a:hover { color: #ffffff !important; }

/* Keep header/banner/footer text readable (they stay blue) */
html.theme-dark .navbar-area a, html.theme-dark .top-header-area a,
html.theme-dark .footer-area a, html.theme-dark .footer-area p,
html.theme-dark .footer-area li, html.theme-dark .copyright-area p,
html.theme-dark .copyright-area a { color: #ffffff !important; }
html.theme-dark .navbar-area li a, html.theme-dark .footer-widjet .list ul li a { color: #cde2f2 !important; }
html.theme-dark .campus-content.style-2, html.theme-dark .campus-content.style-2 * { color: #ffffff !important; }
html.theme-dark .go-top { color: #fff !important; }

/* Dark: text inside cards (beats the more specific light-theme title rules) */
html.theme-dark .single-academics-card .academic-top-content h3,
html.theme-dark .single-academics-card h3, html.theme-dark .single-campus-card h3,
html.theme-dark .single-campus-card .campus-content h3, html.theme-dark .single-campus-card .campus-content a,
html.theme-dark .single-education-card .edication-content h3,
html.theme-dark .esp-circle-card, html.theme-dark .esp-circle-card *,
html.theme-dark .single-stories-card h3, html.theme-dark .single-health-care-card h3,
html.theme-dark .single-news-card h3 { color: #eaf4fb !important; }
html.theme-dark .single-academics-card .read-more-btn { color: #7fc4ee !important; }
/* Dark: buttons keep dark text on their light fill */
html.theme-dark .campus-content.style-2 .default-btn,
html.theme-dark .campus-content.style-2 .default-btn * { color: #004979 !important; }
html.theme-dark .more-health-care, html.theme-dark .more-health-care.style2 { background-color: #0e1b27 !important; }
html.theme-dark .more-health-care p { color: #c3d4e2 !important; }

/* Dark: remaining light blocks found on inner pages */
html.theme-dark .tab-content, html.theme-dark .about-vmr-area, html.theme-dark .about-vmr-card,
html.theme-dark .ach-card, html.theme-dark .single-alumni-events-card, html.theme-dark .single-alumni-events-card.pg-card,
html.theme-dark .single-events-card, html.theme-dark .single-events-card.style-4, html.theme-dark .news-card,
html.theme-dark .accordion-button, html.theme-dark .accordion-button.collapsed, html.theme-dark .accordion-body,
html.theme-dark .nav-tabs .nav-link, html.theme-dark .list-group-item, html.theme-dark select, html.theme-dark textarea,
html.theme-dark input[type="text"], html.theme-dark input[type="email"], html.theme-dark input[type="tel"], html.theme-dark input[type="number"] {
    background-color: #12222f !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #c3d4e2 !important;
}
html.theme-dark .about-vmr-area { background-color: #0a141d !important; }
html.theme-dark .tab-content *:not(a):not(i):not(.default-btn) { color: #c3d4e2 !important; }
html.theme-dark .single-alumni-events-card h1, html.theme-dark .single-alumni-events-card h2,
html.theme-dark .single-alumni-events-card h3, html.theme-dark .single-alumni-events-card h4,
html.theme-dark .single-alumni-events-card h5, html.theme-dark .single-alumni-events-card h6,
html.theme-dark .about-vmr-card *, html.theme-dark .ach-card h3, html.theme-dark .ach-card h4,
html.theme-dark .single-events-card h3, html.theme-dark .news-card h3, html.theme-dark .accordion-button { color: #eaf4fb !important; }
html.theme-dark .single-alumni-events-card li, html.theme-dark .single-alumni-events-card p,
html.theme-dark .single-alumni-events-card span, html.theme-dark .single-alumni-events-card .list li { color: #c3d4e2 !important; }
