:root {
    /* Primary Colors */
    --color-bg: #FFF9F5;
    /* Warm off-white background */
    --color-primary: #8B3A3A;
    /* Deep warm red/brown per logo/design */
    --color-accent: #FFD966;
    /* Sunny Yellow */
    --color-secondary: #AEEEEE;
    /* Pale Turquoise for freshness */
    --color-soft-pink: #FFC0CB;
    --color-mint: #98FF98;

    /* Text Colors */
    --text-main: #4A4A4A;
    --text-light: #7A7A7A;
    --text-white: #FFFFFF;

    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-xl: 50px;

    /* Typography */
    --font-heading: 'Fredoka', 'Quicksand', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout & Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(139, 58, 58, 0.1);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(139, 58, 58, 0.2);
    background-color: #7a3333;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin-left: 16px;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-white);
}

/* Navigation */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 249, 245, 0.9);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.nav-links {
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: var(--color-primary);
}

.nav-links li a.btn-primary {
    color: var(--text-white) !important;
    padding: 10px 24px;
    /* Slightly smaller for nav */
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2000;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 16px;
        transform-origin: top;
        animation: slideDown 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Hero Section Redesign */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    /* Soft gradient from sky to peach to background */
    background: linear-gradient(to bottom, rgba(135, 206, 235, 0.4), rgba(255, 218, 185, 0.3), var(--color-bg));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 58, 58, 0.1);
    margin-bottom: 24px;
    animation: bounce-soft 3s infinite;
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Headline */
.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
}

.highlight-text {
    position: relative;
    z-index: 10;
    color: #1a365d;
    /* Navy Blue */
}

.underline-svg {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Hero Stats Container */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
    animation: fade-up 0.8s ease-out backwards;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.stat-card .label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 1px solid rgba(139, 58, 58, 0.1);
    animation: bounce-soft 2s infinite;
    z-index: 20;
}

/* Background Elements */
.bg-element {
    position: absolute;
    pointer-events: none;
}

.sun {
    top: 40px;
    right: 15%;
    color: #FFD700;
    z-index: 1;
    transition: transform 0.1s ease-out;
    /* Smooth follow */
}

.cloud {
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.balloon {
    animation: float-slow 6s ease-in-out infinite;
}

.star {
    color: #FFD966;
    animation: sparkle 3s infinite;
}

.blob {
    border-radius: 50%;
    filter: blur(60px);
    position: absolute;
    z-index: 0;
}

/* Animations */
@keyframes bounce-soft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-15deg);
    }
}

.animate-wave {
    animation: wave 1.5s infinite;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 60px;
    }

    .nav-links {
        display: none;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 16px;
        display: block;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.bg-soft {
    background-color: #FDF6F0;
    /* Soft beige/peach */
}

.mb-5 {
    margin-bottom: 40px;
}

.mb-4 {
    margin-bottom: 24px;
}

.badge {
    background-color: rgba(139, 58, 58, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.subtitle p,
.subtitle-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section Redesign */
.about-section-header {
    max-width: 800px;
    margin: 0 auto 64px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    padding: 32px;
    border-radius: 24px;
    transition: all 0.5s ease;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.card p {
    color: var(--text-main);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card Colors matching mockup */
.card-mission {
    background-color: #FFE5D0;
    /* Peach */
}

.card-vision {
    background-color: #B2F2D1;
    /* Mint */
}

.card-env {
    background-color: #E0E0FF;
    /* Lavender */
}

.card-excellence {
    background-color: #BEEFFF;
    /* Sky */
}

.icon-wrapper {
    background: white;
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Additional Info Container (Stats) */
.about-info-container {
    margin-top: 64px;
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.info-box {
    margin-bottom: 16px;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease;
}

.info-item:hover .info-box {
    transform: scale(1.05);
}

.box-peach {
    background-color: rgba(255, 229, 208, 0.5);
}

.box-mint {
    background-color: rgba(178, 242, 209, 0.5);
}

.box-sky {
    background-color: rgba(190, 239, 255, 0.5);
}

.info-box p {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.info-item .label {
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .card {
        flex-direction: column;
    }

    .icon-wrapper {
        margin-bottom: 12px;
    }
}

/* Learning Section Redesign */
.learning-section-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Rainbow Decoration */
.rainbow-container {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    opacity: 0.2;
    pointer-events: none;
}

/* Facilities Section Redesign */
.facilities-header {
    max-width: 800px;
    margin: 0 auto 64px;
    text-align: center;
}

/* Events Row */
.events-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.event-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 16px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.event-pill:hover {
    transform: scale(1.05);
}

.event-icon-box {
    background: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.event-pill span {
    font-weight: 600;
    color: var(--text-main);
}

.bg-event-sunshine {
    background-color: #FFE5A0;
}

.bg-event-lavender {
    background-color: #E6E6FA;
}

.bg-event-mint {
    background-color: #B2F2D1;
}

.bg-event-sky {
    background-color: #BEEFFF;
}

/* Facilities Grid Redesign */
.facilities-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.facility-card-new {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.facility-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.facility-header-gradient {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.facility-icon-large {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.5);
    transition: transform 0.5s ease;
}

.facility-card-new:hover .facility-icon-large {
    transform: scale(1.7) rotate(6deg);
}

.grad-sky {
    background: linear-gradient(135deg, #AEEEEE, #87CEEB);
}

.grad-mint {
    background: linear-gradient(135deg, #B2F2D1, #98FF98);
}

.grad-peach {
    background: linear-gradient(135deg, #FFDAB9, #FFCC99);
}

.grad-lavender {
    background: linear-gradient(135deg, #E6E6FA, #D8BFD8);
}

.facility-content {
    padding: 24px;
}

.facility-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.facility-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Calendar Note */
.calendar-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.calendar-text {
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 900px) {
    .facilities-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .facilities-grid-new {
        grid-template-columns: 1fr;
    }

    .calendar-note {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* Approaches Grid */
.approaches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.approach-card {
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.approach-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.approach-card:hover .approach-icon-box {
    transform: scale(1.1);
}

.app-coral {
    background: linear-gradient(135deg, #FF7F50, #FF6B6B);
}

.app-mint {
    background: linear-gradient(135deg, #98FF98, #4ADE80);
}

.app-sky {
    background: linear-gradient(135deg, #87CEEB, #60A5FA);
}

.app-lavender {
    background: linear-gradient(135deg, #E6E6FA, #C084FC);
}

.approach-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.approach-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Curriculum Container */
.curriculum-container {
    background: white;
    border-radius: 32px;
    padding: 64px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.curriculum-header {
    margin-bottom: 32px;
}

.curriculum-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: 16px;
}

.curriculum-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
}

/* New Tab Buttons */
.tabs-new {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: #F3F4F6;
    color: var(--text-light);
}

.tab-btn-new.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 58, 58, 0.2);
}

/* Subject Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.subject-tag {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    background: linear-gradient(90deg, #FFF0E6, #E6FFF2);
    transition: transform 0.2s;
}

.subject-tag:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .approaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .approaches-grid {
        grid-template-columns: 1fr;
    }

    .curriculum-container {
        padding: 32px 20px;
    }

    .tab-btn-new {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* Gallery Section Redesign */
.gallery-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 58, 58, 0.2);
}

.gallery-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item-new {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background-color: #eee;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.5s forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-new:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 58, 58, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-new:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 50%;
    color: var(--color-primary);
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item-new:hover .gallery-icon-box {
    transform: scale(1);
}

.gallery-cat-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.gallery-item-new:hover .gallery-cat-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

@media (max-width: 900px) {
    .gallery-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section Redesign */
.testimonials-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.testimonial-single-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.95);
    display: none;
    /* Hidden by default, JS toggles this */
}

.testimonial-single-card.active {
    display: block;
    opacity: 1;
    transform: scale(1);
    animation: fadeScaleIn 0.5s ease-out;
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.quote-bg-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(139, 58, 58, 0.05);
    transform: rotate(10deg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.t-peach {
    background-color: #FFE5D0;
}

.t-mint {
    background-color: #B2F2D1;
}

.t-sky {
    background-color: #BEEFFF;
}

.t-lavender {
    background-color: #E6E6FA;
}

.t-sunshine {
    background-color: #FFE5A0;
}

.user-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.user-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.85;
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    z-index: 10;
}

.stars-row {
    display: flex;
    gap: 4px;
    color: #FFD700;
}

/* Carousel Navigation */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #fafafa;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.dots-container {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 58, 58, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-primary);
    width: 32px;
    border-radius: 12px;
}

.dot:hover {
    background: rgba(139, 58, 58, 0.4);
}

@media (max-width: 600px) {
    .testimonial-single-card {
        padding: 32px 24px;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .badge-light {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .check-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.95rem;
    }

    .btn-light {
        background-color: white;
        color: var(--color-primary);
        margin-top: 32px;
    }

    .btn-light:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
    }
}

/* Contact Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* FAQ Section Redesign */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

.faq-q-text {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}

.faq-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: #FFE5D0;
    /* Peach default */
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-card.active .faq-icon-box {
    background-color: var(--color-primary);
    color: white;
}

.faq-chevron {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-card.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 24px 76px;
    /* Indent to align with text */
    color: var(--text-light);
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.btn-maroon {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-maroon:hover {
    background-color: #a64b4b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 58, 58, 0.2);
}

@media (max-width: 600px) {
    .faq-answer-inner {
        padding: 0 24px 24px 24px;
    }

    .faq-q-text {
        font-size: 0.95rem;
    }
}

/* Footer Redesign */
.footer {
    background-color: #5D1A1A;
    /* Deep Maroon */
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-circle-1 {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.footer-bg-circle-2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 64px;
    position: relative;
    z-index: 10;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-logo-box {
    background: white;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.brand-logo-box img {
    width: 100%;
    height: auto;
}

.brand-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.brand-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.sb-fb:hover {
    color: #1877F2;
}

.sb-ig:hover {
    color: #E4405F;
}

.sb-tw:hover {
    color: #1DA1F2;
}

.sb-yt:hover {
    color: #FF0000;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.admissions-open-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-top: 24px;
}

.admissions-open-badge strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.admissions-open-badge p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    margin-top: auto;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright,
.made-with {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.heart-icon {
    color: #FF7F50;
    display: inline-block;
    vertical-align: middle;
    width: 16px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Admissions Section Redesign */
.admissions-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.admissions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Column - CTA Card */
.enroll-card {
    background: linear-gradient(135deg, #8B3A3A, #A64B4B);
    border-radius: 32px;
    padding: 48px;
    color: white;
    box-shadow: 0 20px 50px rgba(139, 58, 58, 0.2);
    position: relative;
    overflow: hidden;
}

.enroll-icon-box {
    background: rgba(255, 255, 255, 0.1);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: white;
}

.enroll-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.enroll-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.levels-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.level-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.btn-white {
    background: white;
    color: var(--color-primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background-color: #f8f8f8;
}

/* Right Column - Benefits & Contact */
.benefits-card,
.contact-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.benefits-card h4,
.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.check-icon {
    background: #B2F2D1;
    color: #15803d;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-row:hover {
    color: var(--color-primary);
}

.contact-icon-bg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-peach {
    background-color: #FFE5D0;
    color: #FF7F50;
}

.c-sky {
    background-color: #BEEFFF;
    color: #2563EB;
}

.c-mint {
    background-color: #B2F2D1;
    color: #16A34A;
}

.c-lavender {
    background-color: #E6E6FA;
    color: #9333EA;
}

@media (max-width: 900px) {
    .admissions-grid {
        grid-template-columns: 1fr;
    }

    .enroll-card {
        padding: 32px;
    }
}