:root {
    --brand-purple: #5a0ea1;
    --brand-purple-dark: #3b0066;
    --brand-yellow: #ffcc00;
    --brand-orange: #ff6600;
    --brand-playgroup: #2196f3;
    --brand-nursery: #2e7d32;
    --brand-lkg: #1e88e5;
    --brand-ukg: #e91e63;
    --brand-daycare: #c62828;
    --brand-green: #4caf50;
    --brand-teal: #009688;
    --brand-light-blue: #00bcd4;

    --dark-blue: var(--brand-purple-dark);
    --darker-blue: #250041;
    --pink: var(--brand-ukg);
    --light-bg: #f7f0ff;
    --yellow: var(--brand-yellow);

    --playgroup-blue: var(--brand-playgroup);
    --nursery-pink: var(--brand-nursery);
    --jrkg-green: var(--brand-lkg);
    --srkg-purple: var(--brand-ukg);

    --primary: var(--brand-purple);
    --secondary: var(--brand-playgroup);
    --accent-1: var(--brand-yellow);
    --accent-2: var(--pink);
    --accent-3: var(--brand-purple-dark);
    --bg-gray: #f8fafc;

    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;

    --font-main: 'Poppins', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 12px 30px rgba(59, 0, 102, 0.14);
    --shadow-sm: 0 4px 15px rgba(59, 0, 102, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
}

body {
    background:
        radial-gradient(circle at top left, rgba(90, 14, 161, 0.04), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 204, 0, 0.05), transparent 22%),
        #ffffff;
}

/* Utilities */
.text-pink {
    color: var(--pink) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-pink {
    background: linear-gradient(135deg, var(--brand-ukg), #e50050);
    color: var(--white) !important;
}

.btn-pink:hover {
    background: linear-gradient(135deg, #e50050, var(--brand-ukg));
    transform: translateY(-1px) scale(1.03);
}

.btn-dark-blue {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
    color: var(--white) !important;
}

.btn-dark-blue:hover {
    background: linear-gradient(135deg, var(--brand-purple-dark), #250041);
    transform: translateY(-1px) scale(1.03);
}

.btn-green {
    background: linear-gradient(135deg, var(--brand-green), #2f8f3b);
    color: var(--white) !important;
}

.btn-green:hover {
    background: linear-gradient(135deg, #2f8f3b, #256f2f);
    transform: translateY(-1px) scale(1.03);
}

.section-padding {
    padding: 5rem 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left i {
    margin-right: 5px;
    color: #a5c3ff;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item i {
    margin-right: 5px;
    color: #a5c3ff;
}

.top-bar-social {
    display: flex;
    gap: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 15px;
}

.top-bar-social a {
    color: var(--white);
}

.top-bar-social a:hover {
    color: var(--pink);
}

/* Header & Nav */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(15, 39, 82, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9990;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(90, 14, 161, 0.08);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    flex: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    flex: 3;
    justify-content: space-between;
}

.primary-navigation {
    display: flex;
    gap: 1.5rem;
    margin: 0 auto;
}

.primary-navigation a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
}

.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--pink);
}

.primary-navigation a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-yellow);
    border-radius: 2px;
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.12);
}

.btn-enquiry {
    margin-left: auto;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--pink);
    background-color: var(--white);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    background: linear-gradient(135deg, var(--brand-green), #2f8f3b);
}

.float-call {
    background: linear-gradient(135deg, var(--brand-orange), #ff8a00);
}

/* Admin Dashboard Overrides */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--dark-blue);
    color: white;
    padding: 2rem 1rem;
}

.sidebar a {
    color: white;
    display: block;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pink);
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: #f4f7f6;
}

/* Mobile Menu Elements */
.mobile-menu-header,
.mobile-menu-promo,
.mobile-menu-footer,
.nav-icon,
.nav-arrow {
    display: none;
}

.desktop-only {
    display: inline-flex;
}

/* Media Queries */
@media (max-width: 992px) {
    .header {
        backdrop-filter: none;
    }

    .top-bar {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-icon,
    .nav-arrow {
        display: inline-block;
    }

    .mobile-menu-header,
    .mobile-menu-promo,
    .mobile-menu-footer {
        display: flex;
    }

    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #2c3e98 0%, #152261 100%);
        color: white;
        border-radius: 50%;
        border: none;
        box-shadow: 0 0 0 3px #eef1f8, 0 0 0 7px #f5f6f9;
        font-size: 1.1rem;
        cursor: pointer;
        margin-right: 8px;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 5px);
        right: 15px;
        width: 260px;
        height: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(59, 0, 102, 0.08);
        transform-origin: top right;
        transform: scale(0.9) translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
        z-index: 9999;
    }

    .main-nav.active {
        transform: scale(1) translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Hide the extra panels for the small premium menu */
    .mobile-menu-header,
    .mobile-menu-promo,
    .mobile-menu-footer {
        display: none !important;
    }

    .primary-navigation {
        flex-direction: column;
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 0;
    }

    .primary-navigation li {
        width: 100%;
    }

    .primary-navigation a {
        display: flex;
        align-items: center;
        color: var(--text-main);
        font-weight: 500;
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .primary-navigation li:last-child a {
        border-bottom: none;
    }

    .primary-navigation a::after {
        display: none;
    }

    .primary-navigation a.active,
    .primary-navigation a:hover {
        background: rgba(59, 0, 102, 0.04);
        color: var(--brand-purple-dark);
        border-bottom-color: transparent;
    }

    .primary-navigation a .nav-icon {
        width: 24px;
        margin-right: 12px;
        font-size: 1.1rem;
        color: var(--brand-purple);
        opacity: 0.7;
    }

    .primary-navigation a.active .nav-icon,
    .primary-navigation a:hover .nav-icon {
        opacity: 1;
    }

    .primary-navigation a .nav-arrow {
        margin-left: auto;
        font-size: 0.75rem;
        opacity: 0.4;
    }
}

/* Middle section: Programs, Features, Image columns */
.middle-section {
    padding: 4rem 0;
    background: var(--white);
}

.middle-container {
    display: grid;
    /* Slightly narrower middle column so the programs area has more room */
    grid-template-columns: 1.05fr 0.55fr 0.9fr;
    gap: 1.6rem;
    align-items: center;
}

.section-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-heading {
    color: var(--brand-purple-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.program-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 0.9rem;
    border: 1px solid rgba(90, 14, 161, 0.08);
    box-shadow: var(--shadow-sm);
    min-height: 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(59, 0, 102, 0.12);
}

.program-icon-box {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafcff;
    border-radius: 14px;
    padding: 10px;
    width: 76px;
    height: 76px;
    box-shadow: 0 6px 14px rgba(59, 0, 102, 0.06);
}

.program-icon-box img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.program-card-body h4 {
    margin: 6px 0 4px;
    font-size: 1.02rem;
    color: var(--brand-purple-dark);
}

.program-card-body .age {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.program-card-body .desc {
    margin: 0;
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.28;
}

/* Slightly reduce padding so more content fits vertically */
.program-card {
    padding: 0.85rem 0.75rem;
}

.program-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: var(--brand-purple);
}

.pg-card {
    background: linear-gradient(180deg, rgba(33, 150, 243, 0.08), rgba(255, 255, 255, 0.98));
}

.pg-card::before {
    background: var(--brand-playgroup);
}

.ns-card {
    background: linear-gradient(180deg, rgba(46, 125, 50, 0.08), rgba(255, 255, 255, 0.98));
}

.ns-card::before {
    background: var(--brand-nursery);
}

.jkg-card {
    background: linear-gradient(180deg, rgba(30, 136, 229, 0.08), rgba(255, 255, 255, 0.98));
}

.jkg-card::before {
    background: var(--brand-lkg);
}

.skg-card {
    background: linear-gradient(180deg, rgba(233, 30, 99, 0.08), rgba(255, 255, 255, 0.98));
}

.skg-card::before {
    background: var(--brand-ukg);
}

.programs-col .btn-pink {
    box-shadow: 0 12px 24px rgba(233, 30, 99, 0.24);
}

@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 8px;
}

.features-list li {
    font-size: 0.86rem;
    color: #ffffff;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 0.85rem;
}

.why-choose-col {
    padding: 1.3rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
    border-radius: 18px;
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(59, 0, 102, 0.16);
}

.why-choose-col .section-heading {
    color: #ffffff;
}

.features-list li:nth-child(1) .feature-icon {
    background: var(--brand-yellow) !important;
    color: var(--brand-purple-dark) !important;
}

.features-list li:nth-child(2) .feature-icon {
    background: var(--brand-green) !important;
}

.features-list li:nth-child(3) .feature-icon {
    background: var(--brand-light-blue) !important;
}

.features-list li:nth-child(4) .feature-icon {
    background: var(--brand-orange) !important;
}

.features-list li:nth-child(5) .feature-icon {
    background: var(--brand-teal) !important;
}

.features-list li:nth-child(6) .feature-icon {
    background: var(--brand-yellow) !important;
    color: var(--brand-purple-dark) !important;
}

.features-list li:nth-child(7) .feature-icon {
    background: var(--brand-orange) !important;
}

.features-list li:nth-child(8) .feature-icon {
    background: var(--brand-light-blue) !important;
}

.image-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

/* Instagram Slider Card */
.insta-slider-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(59, 0, 102, 0.16);
    border: 1px solid rgba(220, 39, 67, 0.18);
    position: relative;
    display: flex;
    flex-direction: column;
}

.insta-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.insta-profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.insta-avatar-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insta-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    object-fit: contain;
}

.insta-handle-wrap {
    display: flex;
    flex-direction: column;
}

.insta-handle {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.insta-verified {
    color: #3897f0;
    font-size: 0.8rem;
}

.insta-location-tag {
    font-size: 0.72rem;
    color: #64748b;
}

.insta-follow-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
    transition: var(--transition);
}

.insta-follow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

/* Slider Viewport */
.insta-slider-viewport {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #0f172a;
}

.insta-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(1.02);
}

.insta-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.insta-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.insta-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insta-reel-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.insta-slide-caption-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.92) 100%);
    padding: 2rem 14px 12px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.insta-caption-text {
    font-size: 0.82rem;
    color: #f1f5f9;
    line-height: 1.35;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insta-view-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Nav Arrows */
.insta-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    color: #0f172a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 10;
}

.insta-nav-btn:hover {
    background: #ffffff;
    color: #e1306c;
    transform: translateY(-50%) scale(1.1);
}

.insta-nav-prev { left: 10px; }
.insta-nav-next { right: 10px; }

/* Dots */
.insta-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 10px;
    background: #ffffff;
}

.insta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.insta-dot.active {
    width: 18px;
    border-radius: 10px;
    background: linear-gradient(45deg, #f09433, #dc2743);
}

@media (min-width: 1500px) {
    .insta-slider-card {
        max-width: 500px;
    }
    .insta-slider-viewport {
        height: 380px;
    }
}

@media (max-width: 992px) {
    .middle-container {
        grid-template-columns: 1fr;
    }

    .image-col {
        justify-content: center;
    }

    .insta-slider-card {
        max-width: 100%;
    }
}

    .section-heading {
        text-align: center;
    }

    .why-choose-col {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* Feature ribbon and footer brand styling */
div[style*="linear-gradient(90deg, #1e3a8a 0%, #3b82f6 50%, #1e3a8a 100%)"] {
    background: linear-gradient(90deg, var(--brand-purple-dark) 0%, var(--brand-purple) 50%, var(--brand-purple-dark) 100%) !important;
}

footer {
    background: linear-gradient(180deg, var(--brand-purple-dark), #22003a) !important;
    color: #ffffff !important;
}

footer h4,
footer p,
footer li,
footer span,
footer a {
    color: #ffffff !important;
}

footer a:hover {
    color: var(--brand-yellow) !important;
}

footer>div:last-child {
    border-top-color: rgba(255, 204, 0, 0.14) !important;
}

footer .fa-heart {
    color: var(--brand-yellow) !important;
}

/* Footer Responsive Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 0.9fr 2.4fr 1.7fr;
    gap: 1.75rem;
    margin-bottom: 2.25rem;
}

.footer-addr-label {
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: white;
    text-transform: uppercase;
}

.footer-contact-row {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.footer-contact-row i {
    margin-top: 3px;
}

.footer-society-label {
    margin-top: 8px;
    margin-bottom: 5px;
}

.footer-society-addr {
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1.45;
}

.footer-society-name {
    display: block;
    white-space: nowrap;
    margin-bottom: 4px;
    font-weight: 600;
}

.footer-map-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.8rem;
    color: #a5c3ff;
}

.footer-copy,
.footer-tagline {
    margin: 0;
}

.footer-copy {
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.25rem;
    }

    footer {
        padding: 2.4rem 0 0 !important;
    }

    .footer-main-grid > div:nth-child(1),
    .footer-main-grid > div:nth-child(4),
    .footer-main-grid > div:nth-child(5) {
        grid-column: span 2;
        text-align: left;
    }

    .footer-contact-col {
        padding-right: 42px;
    }

    .footer-contact-col h4,
    .footer-location-col h4 {
        text-align: left;
        margin-bottom: 0.85rem !important;
    }

    .footer-contact-col ul {
        list-style-position: outside;
        padding-left: 0 !important;
        margin: 0;
        max-width: 100%;
    }

    .footer-contact-row {
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 8px;
        text-align: left;
    }

    .footer-contact-row i {
        margin: 4px 0 0;
        width: 14px;
        flex-shrink: 0;
    }

    .footer-main-grid > div:nth-child(4) li {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-society-name {
        white-space: nowrap;
        font-size: clamp(0.7rem, 3.5vw, 0.85rem);
        letter-spacing: 0;
    }

    .footer-map-wrap iframe {
        height: 180px;
    }

    .footer-main-grid > div:first-child div {
        justify-content: flex-start;
    }

    .footer-main-grid > div:nth-child(2),
    .footer-main-grid > div:nth-child(3) {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main-grid > div:nth-child(2) h4,
    .footer-main-grid > div:nth-child(3) h4 {
        text-align: left;
        width: 100%;
        margin-bottom: 0.85rem !important;
    }

    .footer-main-grid > div:nth-child(2) ul,
    .footer-main-grid > div:nth-child(3) ul {
        display: block;
        text-align: left;
        width: 100%;
    }

    .footer-bottom {
        padding: 16px 0 108px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 8px;
    }

    .footer-copy {
        line-height: 1.5;
        text-transform: none;
        font-size: 0.72rem;
        letter-spacing: 0.01em;
    }
}

@media (max-width: 420px) {
    .footer-society-name {
        white-space: normal;
    }
}

/* ==========================================================================
   New Enhancement Components
   ========================================================================== */

/* Admission Steps Roadmap */
.roadmap-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
    position: relative;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.roadmap-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem 1.6rem;
    border: 1px solid rgba(90, 14, 161, 0.08);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    text-align: center;
}

.roadmap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(90, 14, 161, 0.2);
}

.step-num-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 16px rgba(90, 14, 161, 0.25);
}

.roadmap-card h4 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 0.6rem;
}

.roadmap-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4.5rem 0;
    background: #f8fbff;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 39, 82, 0.06);
    border: 1px solid rgba(24, 79, 154, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 39, 82, 0.12);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 4px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-purple), var(--pink));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.author-child {
    font-size: 0.8rem;
    color: #64748b;
}

.google-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition);
}

.google-badge:hover {
    background: #bae6fd;
    color: #0369a1;
}

/* Google Reviews Summary Banner */
.google-reviews-banner {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 39, 82, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem auto 0;
    max-width: 820px;
}

.google-rating-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-g-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4285F4;
}

.google-rating-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
}

.google-rating-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-top: 2px;
    display: flex;
    gap: 2px;
}

.google-rating-count {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.google-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.google-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.google-btn-view {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

.google-btn-view:hover {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
    transform: translateY(-2px);
}

.google-btn-write {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.google-btn-write:hover {
    background: #e2e8f0;
    color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Age Calculator Widget */
.calc-card {
    background: linear-gradient(135deg, #3b0066 0%, #5a0ea1 100%);
    color: #ffffff;
    border-radius: 22px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 45px rgba(59, 0, 102, 0.25);
    margin: 3rem auto 0;
    max-width: 900px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calc-title {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.calc-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.calc-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    color: var(--text-main);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.calc-result-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    display: none;
    animation: sfkFadeIn 0.3s ease;
}

.calc-result-title {
    color: #15803d;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.calc-result-desc {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 8px;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facility-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(90, 14, 161, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.facility-icon-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
}

.facility-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-body h3 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 0.6rem;
}

.facility-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Gallery Filter Tabs */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.gallery-filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--dark-blue);
    color: #ffffff;
    border-color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(59, 0, 102, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    background: #f1f5f9;
    border: 1px solid rgba(15, 39, 82, 0.08);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 39, 82, 0.88) 100%);
    color: #ffffff;
    padding: 1.5rem 1rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}