/* Nai Udaan Foundation – Premium Stylesheet */
:root {
    --navy:    #092D70;
    --royal:   #0878D1;
    --orange:  #FF941B;
    --green:   #159447;
    --light:   #F2F8FF;
    --white:   #FFFFFF;
    --dark:    #1A1A2E;
    --gray:    #6B7280;
    --gray-bg: #F4F6F9;
    --radius:  16px;
    --shadow:  0 10px 30px rgba(9, 45, 112, 0.08);
    --shadow-lg: 0 20px 40px rgba(9, 45, 112, 0.12);
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Poppins', Inter, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}
p { color: var(--gray); }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}
.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Navbar ---------- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(9, 45, 112, 0.08);
    z-index: 1030;
}
.navbar-custom.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(9, 45, 112, 0.08);
}

/* Single navbar grid container: Logo | Navigation */
.navbar-custom .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Logo - Left */
.navbar-custom .navbar-brand {
    grid-column: 1;
    justify-self: start;
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-custom .logo-img {
    width: 190px; height: auto; max-width: none;
    width: 190px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Navigation - Center (single horizontal row, never wraps) */
.navbar-custom .nav-desktop {
    grid-column: 2;
    justify-self: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-custom .nav-desktop .nav-link {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.navbar-custom .nav-desktop .nav-link:hover,
.navbar-custom .nav-desktop .nav-link.active {
    color: var(--royal);
    background: rgba(8, 120, 209, 0.06);
}

/* Mobile hamburger toggler */
.navbar-custom .navbar-toggler {
    grid-column: 3;
    justify-self: end;
    border: 1px solid rgba(9, 45, 112, 0.15);
    padding: 6px 10px;
    border-radius: 8px;
    transition: var(--transition);
}
.navbar-custom .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.2);
}

/* Mobile menu - full width row below the bar */
.navbar-custom .nav-mobile {
    grid-column: 1 / -1;
    width: 100%;
}

/* ---------- Desktop Navbar (992px and up) ---------- */
@media (min-width: 992px) {
    .navbar-custom {
        padding: 15px 0; /* ~80px total height with 50px logo */
    }
    /* Keep mobile-only elements hidden on desktop */
    .navbar-custom .navbar-toggler,
    .navbar-custom .navbar-collapse,
    .navbar-custom .nav-mobile,
    #navbarNav {
        display: none !important;
    }
}

/* ---------- Mobile Menu (below 992px) ---------- */
@media (max-width: 991.98px) {
    .navbar-custom .logo-img {
        height: 52px;
    }
    /* Hide desktop navigation on mobile */
    .navbar-custom .nav-desktop {
        display: none !important;
    }
    .navbar-custom .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(9, 45, 112, 0.08);
    }
    .navbar-custom .navbar-nav.flex-column {
        gap: 0;
        margin-bottom: 15px;
    }
    .navbar-custom .nav-item {
        width: 100%;
    }
    .navbar-custom .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 16px !important;
        border-radius: 10px;
    }
    .navbar-custom .nav-link:hover,
    .navbar-custom .nav-link.active {
        color: var(--royal);
        background: rgba(8, 120, 209, 0.06);
    }
    .navbar-custom .btn-orange {
        width: 100%;
        text-align: center;
    }
}

/* ---------- Buttons ---------- */

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    padding: 11px 26px;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-royal {
    background: var(--royal);
    color: var(--white) !important;
    border-color: var(--royal);
}
.btn-royal:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 120, 209, 0.28);
}
.btn-orange {
    background: var(--orange);
    color: var(--white) !important;
    border-color: var(--orange);
}
.btn-orange:hover {
    background: #e07f12;
    border-color: #e07f12;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 148, 27, 0.32);
}
.btn-outline-navy {
    background: transparent;
    color: var(--navy) !important;
    border-color: var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 45, 112, 0.16);
}
.btn-outline-white {
    background: transparent;
    color: var(--white) !important;
    border-color: var(--white);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}
.btn-sm {
    padding: 7px 18px;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 13px 32px;
    font-size: 1.05rem;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 800px;
    height: auto;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Dark navy transparent overlay across the full hero background image */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 45, 112, 0.62) 0%,
        rgba(9, 45, 112, 0.50) 35%,
        rgba(9, 45, 112, 0.70) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Full-width background image slider (each slide covers the entire hero) */
.hero-image-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scaleY(1);
}

.hero-image-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Hero content placed on top of the background image, aligned to the left */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 640px;
    padding: 90px 60px 70px 60px;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-badge i {
    color: var(--orange);
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 26px;
}

.hero .lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 34px;
    line-height: 1.7;
    max-width: 430px;
}

.hero .cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Slider Navigation Arrows ---------- */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--navy);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}
.slider-prev:hover,
.slider-next:hover {
    background: var(--royal);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}
.slider-prev:focus,
.slider-next:focus {
    outline: 3px solid var(--royal);
    outline-offset: 2px;
}
.slider-prev {
    left: 30px;
}
.slider-next {
    right: 30px;
}

/* ---------- Slider Pagination Dots ---------- */
.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}
.dot.active {
    background: var(--royal);
    width: 12px;
    height: 12px;
}
.dot:hover {
    background: var(--royal);
}
.dot:focus {
    outline: 3px solid var(--royal);
    outline-offset: 2px;
}

/* Tablet: full-width background hero with left-aligned content */
@media (max-width: 991.98px) {
    .hero {
        min-height: 550px;
        height: auto;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        max-width: 100%;
        padding: 80px 20px 60px 20px;
    }

    .hero .lead {
        max-width: 100%;
    }

    .hero .cta-group {
        justify-content: flex-start;
    }
}

/* Mobile: full-width background hero with left-aligned content */
@media (max-width: 575.98px) {
    .hero {
        min-height: 480px;
        height: auto;
    }

    .hero-content {
        padding: 70px 20px 50px 20px;
    }
}

/* ---------- About Section ---------- */
.about { background: var(--white); }
.about-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.about-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-content .lead {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 520px;
}

/* Home page About section: match content height to the reception image and vertically center the text */
@media (min-width: 992px) {
    .about-home .container .row {
        align-items: stretch;
    }
    .about-home .about-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: center;
    }
    .about-home .about-content h2 {
        font-size: 2.2rem;
        line-height: 1.25;
        margin-bottom: 26px;
    }
    .about-home .about-content > p:first-of-type {
        margin-top: 0;
    }
    .about-home .about-content p {
        line-height: 1.8;
        margin-bottom: 26px;
    }
}
.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.mv-card {
    background: var(--light);
    padding: 30px 26px;
    border-radius: var(--radius);
    border-left: 4px solid var(--royal);
    transition: var(--transition);
}
.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.mv-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mv-card h4 i { color: var(--orange); }
.mv-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}
.mv-card.vision { border-left-color: var(--orange); }
@media (max-width: 767.98px) {
    .mission-vision { grid-template-columns: 1fr; }
    .about-content h2 { font-size: 1.8rem; }
}
/* ---------- Courses Section ---------- */
.courses {
    background: var(--gray-bg);
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(9, 45, 112, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.course-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}
.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.course-card:hover .course-image img {
    transform: scale(1.08);
}
.course-image .tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--royal);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.course-content {
    padding: 28px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.course-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 20px;
    flex: 1;
}
.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--gray);
}
.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--dark);
}
.course-meta span i {
    color: var(--orange);
}
.course-fee {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--royal);
    margin-bottom: 22px;
    display: block;
}
.course-actions {
    display: flex;
    gap: 12px;
}
.course-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.9rem;
}
@media (max-width: 991.98px) {
    .course-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ---------- Homepage: Our Courses (2 centered cards) ---------- */
.course-grid.course-grid--home {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 991.98px) {
    .course-grid.course-grid--home {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}
/* ---------- Why Choose Us ---------- */
.why-us {
    background: var(--white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.feature-card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(9, 45, 112, 0.06);
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal);
}
.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}
@media (max-width: 991.98px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- Mission & Vision Split ---------- */
.mv-split {
    background: var(--white);
}
.split-row {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin: 0;
    padding: 0;
}
.split-img {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0;
}
.split-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: var(--radius);
}
.split-content {
    flex: 1;
    padding: 80px 60px;
    background: var(--navy);
    color: var(--white);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.split-content h2 span {
    color: var(--orange);
}
.split-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 480px;
}
.split-list li {
    margin-bottom: 14px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 12px;
}
.split-list li i {
    color: var(--orange);
    font-size: 1.1rem;
}

/* ---------- Mission & Vision Blocks ---------- */
.mv-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 6px;
}
.mv-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.mv-block:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.20);
}
.mv-block .mv-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 148, 27, 0.15);
    color: var(--orange);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.mv-block h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin: 0 0 10px;
}
.mv-block p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: none;
}
.mv-block.vision { border-left-color: var(--royal); }
.mv-block.vision .mv-icon { background: rgba(8, 120, 209, 0.15); color: var(--royal); }
.split-img.dance {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 80% 100%);
}
@media (max-width: 991.98px) {
    .split-row {
        flex-direction: column;
        gap: 0;
    }
    .split-content {
        padding: 50px 30px;
    }
    .mv-blocks {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .split-img.dance {
        clip-path: none;
    }
}
/* ---------- Activities ---------- */
.activities {
    background: var(--gray-bg);
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.activity-img {
    width: 100%;
    height: 165px;
    overflow: hidden;
    background: var(--light);
    flex-shrink: 0;
}
.activity-img img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}
.activity-card:hover .activity-img img {
    transform: scale(1.1);
}
.activity-info {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.activity-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.activity-info p {
    font-family: 'Poppins', Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #263449;
    line-height: 1.5;
    margin: 0;
}
.activity-info .activity-desc-primary {
    font-family: 'Poppins', Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #263449;
    margin: 0 0 3px 0;
    line-height: 1.5;
}
.activity-info .activity-desc-secondary {
    font-family: 'Poppins', Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #263449;
    margin: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
@media (max-width: 991.98px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }
}
@media (max-width: 575.98px) {
    .activity-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}
/* ---------- Gallery ---------- */
.gallery {
    background: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    aspect-ratio: 4 / 3;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(4px);
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox .close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2010;
    transition: var(--transition);
}
.lightbox .close-btn:hover {
    color: var(--orange);
    transform: scale(1.1);
}
.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
    max-width: 80%;
}
@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* ---------- CTA Section ---------- */
.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0b3a8c 100%);
}
.cta-bg {
    position: absolute;
    inset: -10%;
    z-index: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="18" fill="%230878D1" opacity="0.15"/><circle cx="80" cy="80" r="22" fill="%23FF941B" opacity="0.1"/></svg>') no-repeat center/cover;
    opacity: 0.4;
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px;
    color: var(--white);
}
.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}
.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
/* ---------- Contact Section ---------- */
.contact {
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--navy);
}
.contact-info > p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 26px;
    max-width: 440px;
}
.contact-details {
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.contact-item i {
    width: 48px;
    height: 48px;
    background: var(--light);
    color: var(--royal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-item div h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.contact-item div p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}
.social-links-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-links-footer a {
    width: 44px;
    height: 44px;
    background: var(--light);
    color: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-links-footer a:hover {
    background: var(--royal);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-map {
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
}
.footer-map iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 10px;
    display: block;
}

.contact-form {
    background: var(--gray-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form .form-control,
.contact-form .form-select {
    background: var(--white);
    border: 1px solid #E3E7ED;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--royal);
    box-shadow: 0 0 0 4px rgba(8, 120, 209, 0.1);
    background: var(--white);
}
.contact-form label {
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.contact-form .btn-orange {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

/* ---------- Contact Page: Info Column & Enquiry Card ---------- */
.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.info-icon {
    width: 44px;
    height: 44px;
    background: var(--light);
    color: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.info-item:hover .info-icon {
    background: var(--orange);
    color: var(--white);
}
.info-item div h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 3px;
    font-weight: 600;
}
.info-item div p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}
.info-item div p a {
    color: inherit;
    transition: var(--transition);
}
.info-item div p a:hover {
    color: var(--orange);
}
.contact-social .social-heading {
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.enquiry-card {
    background: var(--white);
    border: 1px solid #E3E7ED;
    border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow);
}
.enquiry-card .form-control,
.enquiry-card .form-select {
    background: var(--white);
    border: 1px solid #E3E7ED;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus {
    border-color: var(--royal);
    box-shadow: 0 0 0 4px rgba(8, 120, 209, 0.1);
    background: var(--white);
}
.enquiry-card label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.enquiry-card .btn-orange {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 8px;
}
@media (max-width: 991.98px) {
    .contact-cols .col-lg-6 {
        margin-bottom: 30px;
    }
    .enquiry-card {
        padding: 26px 22px;
    }
}
@media (max-width: 575.98px) {
    .enquiry-card {
        padding: 22px 18px;
    }
}
@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* ---------- Page Header (inner pages) ---------- */
.page-header {
    position: relative;
    padding: 120px 0 70px;
    overflow: hidden;
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--navy);
    margin-bottom: 12px;
}
.page-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 600px;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8,120,209,0.12) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
}
/* ---------- Course Detail ---------- */
.course-detail {
    background: var(--white);
}
.course-hero {
    position: relative;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}
.course-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,45,112,0.7), transparent);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
}
.course-hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 8px;
}
.course-hero .tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.course-overview {
    margin-bottom: 50px;
}
.course-overview h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.course-meta-detail {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 16px 22px;
    border-radius: 12px;
    flex: 1;
    min-width: 160px;
}
.meta-item i {
    font-size: 1.4rem;
    color: var(--orange);
}
.meta-item div h5 {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.meta-item div span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.topics-grid li {
    background: var(--white);
    border: 1px solid rgba(9,45,112,0.08);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.topics-grid li i {
    color: var(--green);
    font-size: 0.9rem;
}
.enquiry-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
    padding: 50px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}
.enquiry-cta h2 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 2rem;
}
.enquiry-cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}
@media (max-width: 767.98px) {
    .course-hero {
        height: 300px;
    }
    .enquiry-cta {
        padding: 30px 20px;
    }

}
/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    padding-top: 80px;
}
.site-footer a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}
.site-footer a:hover {
    color: var(--white);
}
.footer-brand h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.footer-brand .footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}
.footer-logo-link {
    display: inline-block;
    background: #ffffff;
    width: 160px;
    height: 72px;
    padding: 6px;
    border-radius: 10px;
    line-height: 1;
    text-decoration: none;
    vertical-align: top;
}
.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 18px;
}
.footer-brand-desc {
    margin-top: 20px;
}
@media (max-width: 575.98px) {
    .footer-logo-link {
        width: 140px;
        height: 64px;
        padding: 5px;
    }
}

.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.footer-links li {
    margin-bottom: 14px;
}
.footer-links a {
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}
.footer-contact li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}
.footer-contact i {
    color: var(--orange);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.footer-contact-email i {
    margin-top: 0;
    flex-shrink: 0;
}
.social-links {
    display: flex;
    gap: 14px;
}
.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-bottom {
    background: rgba(255,255,255,0.05);
    padding: 18px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0;
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-bottom-links a:hover {
    color: var(--white);
}
@media (max-width: 767.98px) {
    .footer-bottom .row {
        text-align: center;
    }
    .footer-bottom .col-md-6.text-md-end {
        text-align: center !important;
        margin-top: 12px;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }
}

/* ---------- Floating WhatsApp & Back to Top Buttons ---------- */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1050;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
}
.float-whatsapp {
    background: #25D366; /* Official WhatsApp green */
}
.float-whatsapp:hover {
    background: #1fb354;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.float-top {
    background: #103477; /* Nai Udaan Foundation Navy Blue */
    display: none; /* Shown only after scrolling down */
}
.float-top:hover {
    background: #0C2A60;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 52, 119, 0.35);
}
.float-top:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .float-buttons {
        right: 16px;
        bottom: 16px;
        gap: 8px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
}

/* ---------- Footer Layout Overrides (Wider Container) ---------- */
.site-footer .footer-top .container {
    width: 93%;
    max-width: none;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.site-footer .footer-top .row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin: 0;
}

.site-footer .footer-top .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: none;
}

.site-footer .footer-map {
    width: 100%;
}

.site-footer .footer-bottom .container {
    width: 93%;
    max-width: none;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 991.98px) {
    .site-footer .footer-top .row {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 575.98px) {
    .site-footer .footer-top .row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer .footer-top .row > [class*="col-"] {
        width: 100%;
    }
}

/* ---------- Alerts ---------- */
.alert {
    border-radius: 10px;
    padding: 14px 20px;
    border: none;
}
.alert-success {
    background: #e7f4ec;
    color: var(--green);
    border-left: 4px solid var(--green);
/* About Page - Section 5: Founder Message */
.founder-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.founder-img-wrap img { width: 100%; height: auto; object-fit: cover; display: block; }
.founder-photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(9,45,112,0.85); color: var(--white); padding: 16px 20px; font-size: 0.9rem; text-align: center; margin: 0; }
.founder-content h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--navy); }
.founder-message { font-size: 1.1rem; color: var(--dark); margin-bottom: 30px; line-height: 1.8; }
.founder-signature { border-top: 1px solid rgba(9,45,112,0.1); padding-top: 20px; }
.founder-name { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; font-family: 'Playfair Display', 'Poppins', serif; }
.founder-designation { font-size: 0.95rem; color: var(--orange); font-weight: 600; margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 991.98px) { .about-page .row, .founder .row { flex-direction: column; } .about-page .about-content h2, .founder-content h2 { font-size: 1.9rem; } .vision-statement { padding: 40px 24px; } .vision-text { font-size: 1.2rem; } }
}
.alert-danger {
    background: #fdecea;
    color: #c0392b;
    border-left: 4px solid #c0392b;
}
/* Utility */
.text-orange { color: var(--orange); }
.text-royal { color: var(--royal); }
.text-navy { color: var(--navy); }
.bg-light-blue { background: var(--light); }
/* ---------- Extra Utilities ---------- */
.bg-orange { background: var(--orange) !important; }
.text-white { color: #FFFFFF !important; }
.text-gray { color: var(--gray) !important; }

/* About Page - Section 1: About Foundation */
.about-page .about-content h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--navy); }
.about-page .about-content .lead { font-size: 1.1rem; margin-bottom: 24px; max-width: none; color: var(--dark); }
.about-page .about-content p { font-size: 1rem; color: var(--gray); margin-bottom: 24px; line-height: 1.8; }
.about-page .about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-page .about-img-wrap img { width: 100%; height: auto; object-fit: cover; display: block; }

/* About Page - Section 2: Our Vision */
.vision { background: var(--navy); color: var(--white); }
.vision .section-title h2 { color: var(--white); }
.vision .section-title h2::after { background: var(--orange); }
.vision .section-title p { color: rgba(255,255,255,0.8); }
.vision-statement { background: var(--white); color: var(--dark); border-radius: var(--radius); padding: 50px 40px; box-shadow: var(--shadow-lg); text-align: center; max-width: 900px; margin: 0 auto; }
.vision-text { font-size: 1.35rem; line-height: 1.7; font-style: italic; color: var(--navy); margin: 0; position: relative; padding-left: 20px; }
.vision-text::before { content: '"'; font-family: serif; font-size: 4rem; color: var(--orange); position: absolute; left: -25px; top: -20px; line-height: 1; }

/* About Page - Section 3: Our Mission */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mission-card { background: var(--white); border-radius: var(--radius); padding: 32px 26px; border: 1px solid rgba(9,45,112,0.06); text-align: center; transition: var(--transition); display: flex; flex-direction: column; align-items: center; height: 100%; }
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--royal); }
.mission-icon { width: 70px; height: 70px; background: rgba(8,120,209,0.10); color: var(--royal); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; flex-shrink: 0; transition: var(--transition); }
.mission-card:hover .mission-icon { background: var(--royal); color: var(--white); }
.mission-card h3 { font-size: 1.25rem; margin-bottom: 14px; color: var(--navy); }
.mission-card p { font-size: 0.95rem; color: var(--gray); margin: 0; line-height: 1.6; }
@media (max-width: 991.98px) { .mission-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .mission-grid { grid-template-columns: 1fr; } }










/* About Page - Section 4: Core Values */
.values-grid { display: grid; grid-template-columns: repeat(2, 2fr); gap: 26px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 32px 26px; border: 1px solid rgba(9,45,112,0.06); display: flex; flex-direction: column; align-items: center; text-align: center; transition: var(--transition); height: 100%; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.value-icon { width: 70px; height: 70px; background: rgba(255,148,27,0.10); color: var(--orange); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; flex-shrink: 0; transition: var(--transition); }
.value-card:hover .value-icon { background: var(--orange); color: var(--white); }
.value-card h3 { font-size: 1.35rem; margin-bottom: 14px; color: var(--navy); }
.value-card p { font-size: 0.95rem; color: var(--gray); margin: 0; line-height: 1.6; }
@media (max-width: 991.98px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Shiksha Ki Udaan � activities.php (Free Education initiative)
   ========================================================================== */

/* ---------- Hero ---------- */
.shiksha-hero {
    position: relative;
    min-height: 700px;
    height: auto;
    overflow: hidden;
    background: var(--navy);
}
.shiksha-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('../images/edu.png') center/cover no-repeat;
    opacity: 0.50;
}
.shiksha-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(9,45,112,0.68) 0%, rgba(9,45,112,0.55) 40%, rgba(9,45,112,0.85) 100%);
}
.shiksha-hero .container {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 90px;
}
.shiksha-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.14);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.shiksha-badge i { color: var(--orange); }
.shiksha-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin: 22px 0 14px;
    line-height: 1.15;
}
.shiksha-tagline {
    color: var(--orange);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}
.shiksha-lead {
    color: rgba(255,255,255,0.92);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 470px;
    line-height: 1.75;
}
@media (max-width: 991.98px) {
    .shiksha-hero { min-height: 600px; }
    .shiksha-hero .container { min-height: auto; padding: 80px 20px 70px; text-align: center; }
    .shiksha-hero .row { justify-content: center; }
    .shiksha-hero .col-lg-8 { width: 100%; }
    .shiksha-lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 575.98px) {
    .shiksha-hero { min-height: 520px; }
    .shiksha-hero .container { padding: 70px 16px 60px; }
}

/* ---------- About Shiksha Ki Udaan ---------- */
.shiksha-about .shiksha-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.shiksha-about .shiksha-img-wrap img {
    width: 100%; height: auto; object-fit: cover; display: block;
}
.shiksha-about h3 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    color: var(--navy);
}
.shiksha-about p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.8;
}

/* ---------- Our Educational Support ---------- */
.shiksha-card {
    background: var(--white);
    border: 1px solid rgba(9,45,112,0.06);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.shiksha-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal);
}
.shiksha-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,148,27,0.10);
    color: var(--orange);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
    flex-shrink: 0;
}
.shiksha-card:hover .shiksha-card-icon {
    background: var(--orange);
    color: var(--white);
}
.shiksha-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.shiksha-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* ---------- Who Can Join? ---------- */
.shiksha-eligibility-card {
    border: 2px solid rgba(9,45,112,0.12);
    border-radius: var(--radius);
    padding: 34px 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    background: var(--white);
}
.shiksha-eligibility-card:hover {
    border-color: var(--orange);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.shiksha-eligibility-icon {
    width: 68px;
    height: 68px;
    background: var(--light);
    color: var(--navy);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px;
    flex-shrink: 0;
}
.shiksha-eligibility-card h4 {
    font-size: 1.45rem;
    margin-bottom: 10px;
    color: var(--navy);
}
.shiksha-eligibility-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

/* ---------- Join Shiksha Ki Udaan ---------- */
.shiksha-join {
    position: relative;
}
.shiksha-join .section-title {
    text-align: left !important;
    margin-bottom: 20px !important;
}
.shiksha-join .section-title h2 {
    color: var(--white) !important;
}
.shiksha-join .section-title h2::after {
    left: 0 !important;
    transform: none !important;
    background: var(--orange);
}
.shiksha-join .section-title p {
    color: rgba(255,255,255,0.8) !important;
    margin: 0 !important;
}
.shiksha-enquiry-card {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.shiksha-enquiry-card .form-control,
.shiksha-enquiry-card .form-select {
    background: var(--white);
    border: 1px solid #E3E7ED;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.shiksha-enquiry-card .form-control:focus,
.shiksha-enquiry-card .form-select:focus {
    border-color: var(--royal);
    box-shadow: 0 0 0 4px rgba(8,120,209,0.1);
    background: var(--white);
}
.shiksha-enquiry-card label {
    display: block;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.shiksha-enquiry-card .btn-orange {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}
@media (max-width: 991.98px) {
    .shiksha-join .row { text-align: center; }
    .shiksha-join .section-title { text-align: center !important; }
    .shiksha-join .section-title h2::after { left: 50% !important; transform: translateX(-50%) !important; }
    .shiksha-enquiry-card { padding: 32px; }
    .shiksha-join .mt-4 { text-align: center; }
    .shiksha-join .mt-4 .btn { display: inline-block; }
}
@media (max-width: 575.98px) {
    .shiksha-enquiry-card { padding: 26px; }
}

/* ==========================================================================
   Get Involved Page � Premium Redesign (scoped to .gi-*, does not affect other pages)
   ========================================================================== */

/* ---------- Hero ---------- */
.gi-hero {
    background: var(--white);
}
.gi-hero-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(9, 45, 112, 0.08);
}
.gi-hero-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.gi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(255, 148, 27, 0.25);
}
.gi-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 18px;
    color: var(--navy);
    letter-spacing: -0.5px;
}
.gi-hero-lead {
    font-size: 1.12rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 470px;
    line-height: 1.75;
    margin-top: 0;
}

/* ---------- Ways to Get Involved ---------- */
.gi-involved .involved-card {
    background: var(--white);
    border: 1px solid rgba(9, 45, 112, 0.06);
    border-radius: var(--radius);
    padding: 40px 26px 34px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gi-involved .involved-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}
.gi-involved .involved-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    flex-shrink: 0;
    color: var(--white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}
.icon-volunteer { background: var(--royal); }
.icon-donate { background: var(--orange); }
.icon-enroll { background: var(--navy); }
.gi-involved .involved-card:hover .involved-icon {
    transform: rotate(-6deg) scale(1.08);
}
.gi-involved .involved-card h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--navy);
    letter-spacing: -0.3px;
}
.gi-involved .involved-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.7;
}
@media (max-width: 575.98px) {
    .gi-involved .involved-card { padding: 32px 22px 28px; }
    .gi-involved .involved-icon { width: 64px; height: 64px; font-size: 1.5rem; }
}

/* ---------- Impact / Mission ---------- */
.gi-impact {
    background: var(--light);
}
.gi-impact-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(9, 45, 112, 0.08);
}
.gi-impact-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.gi-impact-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--navy);
    letter-spacing: -0.5px;
}
.gi-impact-content p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 26px;
    line-height: 1.85;
    max-width: none;
}
.gi-impact-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.gi-impact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.98rem;
    color: var(--dark);
}
.gi-impact-list li i {
    color: var(--orange);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.gi-impact-list li strong {
    color: var(--navy);
    font-weight: 600;
}

/* ---------- CTA: Ready to Make a Difference ---------- */
.gi-cta {
    position: relative;
    background: var(--navy);
    overflow: hidden;
}
.gi-cta-bg {
    position: absolute;
    inset: -10%;
    z-index: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="18" fill="%230878D1" opacity="0.15"/><circle cx="80" cy="80" r="22" fill="%23FF941B" opacity="0.12"/></svg>') no-repeat center/cover;
    opacity: 0.35;
    pointer-events: none;
}
.gi-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 20px;
    color: var(--white);
}
.gi-cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.gi-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 34px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.gi-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.gi-cta-group .btn-outline-white {
    color: var(--white) !important;
    border-color: var(--white);
}
.gi-cta-group .btn-outline-white:hover {
    background: var(--white);
    color: var(--navy) !important;
}
@media (max-width: 575.98px) {
    .gi-hero { padding: 70px 0; }
    .gi-cta-content { padding: 50px 20px; }
    .gi-impact-content h3 { font-size: 1.5rem; }
}
/* ==========================================================================
   Courses Page � Premium Redesign
   Scoped to courses.php only (.course-hero, .courses, #why-us, #cta).
   Does not affect index.php or any other page.
   ========================================================================== */

/* ---------- Hero Section ---------- */
.course-hero {
    position: relative;
    min-height: 720px;
    height: auto;
    overflow: hidden;
    background: var(--navy);
    display: flex;
    align-items: center;
}
.course-hero > .container {
    position: relative;
    z-index: 3;
}
.course-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
}
.course-hero:hover .hero-bg {
    transform: scale(1.04);
}
.course-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(9, 45, 112, 0.50) 0%,
        rgba(9, 45, 112, 0.38) 40%,
        rgba(255, 148, 27, 0.10) 65%,
        rgba(9, 45, 112, 0.88) 100%
    );
}
.course-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 26px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    letter-spacing: 0.3px;
}
.course-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.course-hero .lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
.scroll-down {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.scroll-down:hover {
    color: var(--orange);
    transform: translateX(-50%) translateY(-3px);
}
.scroll-down i {
    color: var(--orange);
    font-size: 1.1rem;
    transition: var(--transition);
}
.scroll-down:hover i {
    transform: translateY(3px);
}
/* ---------- Our Courses (scoped to courses page only) ---------- */
.courses .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1120px;
    margin: 0 auto;
}
.courses .course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(9, 45, 112, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.courses .course-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, transparent 45%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.courses .course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}
.courses .course-card:hover::after {
    opacity: 1;
}
.courses .course-image {
    height: 310px;
    overflow: hidden;
    position: relative;
    background: var(--gray-bg);
}
.courses .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.courses .course-card:hover .course-image img {
    transform: scale(1.07);
}
.courses .course-image .tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 3;
}
.courses .course-content {
    padding: 32px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.courses .course-content h3 {
    font-size: 1.55rem;
    margin-bottom: 10px;
    color: var(--navy);
}
.courses .course-content p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 22px;
    flex: 1;
    line-height: 1.75;
}
.courses .course-meta {
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.courses .course-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    border: 1px solid rgba(9, 45, 112, 0.06);
}
.courses .course-meta span i {
    color: var(--orange);
    font-size: 1.05rem;
}
.courses .course-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.courses .course-actions .btn {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
}
@media (max-width: 991.98px) {
    .course-hero { min-height: 600px; padding-top: 120px; }
    .course-hero h1 { font-size: 2.3rem; }
    .courses .course-grid { grid-template-columns: 1fr; max-width: 500px; }
    .courses .course-image { height: 270px; }
}
@media (max-width: 575.98px) {
    .course-hero { min-height: 520px; padding-top: 110px; }
    .courses .course-content { padding: 26px 24px; }
    .courses .course-actions { flex-direction: column; }
}
/* ---------- Why Choose Us (unique classes, does not touch index.php) ---------- */
.why-choose-us {
    background: var(--light);
}
.why-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.why-feature-card {
    background: var(--white);
    padding: 36px 24px 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(9, 45, 112, 0.06);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.why-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--royal);
}
.why-feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(9, 45, 112, 0.06);
    background: var(--white);
}
.why-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}
.why-feature-card:hover .why-feature-icon img {
    transform: scale(1.06);
}
.why-feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 11px;
    color: var(--navy);
}
.why-feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.7;
}
@media (max-width: 991.98px) {
    .why-features-grid { grid-template-columns: repeat(2, 1fr); }
    .why-choose-us.section { padding-top: 70px; padding-bottom: 70px; }
}
@media (max-width: 575.98px) {
    .why-features-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA (courses.php only: light lavender bg + dark navy text) ---------- */
#cta {
    background: #F4F7FC !important;
}
#cta .cta-bg {
    display: none;
}
#cta .cta-content {
    color: #1A1A2E !important;
}
#cta .cta-content h2 {
    color: #103477 !important;
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    letter-spacing: -0.5px;
}
#cta .cta-content p {
    color: #334155 !important;
}
#cta .cta-group .btn-outline-navy {
    border-color: #103477 !important;
    color: #103477 !important;
}
#cta .cta-group .btn-outline-navy:hover {
    background: #103477 !important;
    border-color: #103477 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN FIXES - Tablet & Mobile Optimizations
   ========================================================================== */

/* ---------- Navbar: Tablet & Mobile ---------- */
@media (max-width: 991.98px) {
    .navbar-custom .container {
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
    }
    .navbar-custom .navbar-brand {
        grid-column: 1;
        justify-self: start;
        flex-shrink: 0;
    }
    .navbar-custom .logo-img {
        max-height: 52px;
        width: 190px;
        flex-shrink: 0;
    }
    .navbar-custom .navbar-toggler {
        grid-column: 3;
        justify-self: end;
        flex-shrink: 0;
    }
    .navbar-custom .nav-mobile {
        grid-column: 1 / -1;
    }
}

/* ---------- Hero Section: Mobile ---------- */
@media (max-width: 575.98px) {
    .hero {
        min-height: 550px;
    }
    .hero-content {
        padding: 60px 20px 50px 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .lead {
        font-size: 1rem;
        max-width: 100%;
    }
    .hero .cta-group {
        flex-direction: column;
        gap: 12px;
    }
    .hero .cta-group .btn {
        width: 100%;
    }
}

/* ---------- Shiksha Hero: Mobile ---------- */
@media (max-width: 575.98px) {
    .shiksha-hero {
        min-height: 520px;
    }
    .shiksha-hero .container {
        padding: 70px 16px 60px;
    }
    .shiksha-hero h1 {
        font-size: 2.2rem;
    }
    .shiksha-lead {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* ---------- Course Hero: Mobile ---------- */
@media (max-width: 575.98px) {
    .course-hero {
        min-height: 520px;
    }
    .course-hero h1 {
        font-size: 2rem;
    }
}

/* ---------- Tablet-specific Grid Adjustments (768px - 991px) ---------- */
@media (max-width: 991.98px) and (min-width: 768px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
    .course-grid.course-grid--home {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
    .courses .course-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .why-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shiksha-support .row > [class*='col-lg-3'],
    .shiksha-eligible .row > [class*='col-lg-4'] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ---------- Mobile: Single Column for Grids ---------- */
@media (max-width: 575.98px) {
    .course-grid,
    .course-grid.course-grid--home,
    .courses .course-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .courses .course-image {
        height: 240px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .activity-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .why-features-grid {
        grid-template-columns: 1fr;
    }
    .mission-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .mv-blocks {
        grid-template-columns: 1fr;
    }
    .topics-grid {
        grid-template-columns: 1fr;
    }
    .shiksha-support .row > [class*='col-lg-3'],
    .shiksha-eligible .row > [class*='col-lg-4'],
    .shiksha-about .row > [class*='col-lg-6'] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ---------- Contact & Enquiry Forms: Mobile Single Column ---------- */
@media (max-width: 575.98px) {
    .contact-form .row.g-3 > .col-md-6,
    .enquiry-card .row.g-3 > .col-md-6,
    .shiksha-enquiry-card .row.g-3 > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .contact-form,
    .enquiry-card,
    .shiksha-enquiry-card {
        padding: 25px 20px;
    }
    .contact-form .btn-orange,
    .enquiry-card .btn-orange,
    .shiksha-enquiry-card .btn-orange {
        width: 100%;
    }
}

/* ---------- Footer: Tablet & Mobile ---------- */
@media (max-width: 991.98px) {
    .site-footer .footer-top .row {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
@media (max-width: 767.98px) {
    .site-footer .footer-top .row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-contact-email {
        white-space: normal;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .footer-bottom .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
}

/* ---------- Floating Buttons: Mobile ---------- */
@media (max-width: 575.98px) {
    .float-buttons {
        right: 12px;
        bottom: 16px;
        gap: 8px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ---------- Page Header: Mobile ---------- */
@media (max-width: 575.98px) {
    .page-header {
        padding: 80px 0 50px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header p {
        font-size: 1rem;
    }
}
/* ---------- Shiksha Hero: Mobile ---------- */
@media (max-width: 575.98px) {
    .shiksha-hero {
        min-height: 520px;
    }
    .shiksha-hero .container {
        padding: 70px 16px 60px;
    }
    .shiksha-hero h1 {
        font-size: 2.2rem;
    }
    .shiksha-lead {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* ---------- Course Details: Mobile ---------- */
@media (max-width: 575.98px) {
    .course-hero {
        height: 300px;
    }
    .course-hero .hero-overlay {
        padding: 25px;
    }
    .enquiry-cta {
        padding: 30px 20px;
        margin-top: 40px;
    }
    .meta-item {
        min-width: 100%;
    }
}

/* ---------- Split Sections: Mobile ---------- */
@media (max-width: 575.98px) {
    .split-content {
        padding: 40px 20px;
    }
    .split-content h2 {
        font-size: 1.8rem;
    }
}

/* ---------- CTA Section: Mobile ---------- */
@media (max-width: 575.98px) {
    .cta-content {
        padding: 60px 20px;
    }
    .cta-group {
        flex-direction: column;
        gap: 12px;
    }
    .cta-group .btn {
        width: 100%;
    }
    .gi-cta-group {
        flex-direction: column;
        gap: 12px;
    }
    .gi-cta-group .btn {
        width: 100%;
    }
}

/* ---------- About Page: Mobile ---------- */
@media (max-width: 575.98px) {
    .about-page .row,
    .founder .row {
        flex-direction: column;
    }
    .about-page .about-content h2,
    .founder-content h2 {
        font-size: 1.8rem;
    }
    .vision-statement {
        padding: 40px 24px;
    }
    .vision-text {
        font-size: 1.1rem;
    }
}

/* ---------- Prevent Horizontal Overflow ---------- */
html {
    overflow-x: clip;
}
body {
    overflow-x: clip;
}
.container {
    overflow-x: clip;
}
.row {
    overflow-x: clip;
}
@media (max-width: 991.98px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ---------- Course Hero: Mobile ---------- */
@media (max-width: 575.98px) {
    .course-hero {
        min-height: 520px;
    }
    .course-hero h1 {
        font-size: 2rem;
    }
}
