/* ==========================================================================
   Batase Brindavan School - Design System & Modern CSS
   ========================================================================== */

/* Root Variables & Color Tokens */
:root {
    --primary-green: #1b4332;
    --primary-green-dark: #0f291e;
    --primary-green-light: #2d6a4f;
    --accent-gold: #ffb703;
    --accent-gold-hover: #e0a100;
    --accent-amber: #f4a261;
    --bg-cream: #fbf9f4;
    --bg-card: #ffffff;
    --bg-muted: #f4f1ea;
    --text-dark: #1d2d24;
    --text-muted: #526359;
    --text-light: #e8f0ec;
    --border-light: #e2ded4;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(27, 67, 50, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* CSS Reset & General Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Container & Grids */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

.no-gap {
    gap: 0;
}

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

/* Typography Helpers */
h1, h2, h3, h4, .section-heading, .hero-title {
    font-family: var(--font-heading);
    color: var(--primary-green-dark);
    line-height: 1.25;
}

.highlight-italic {
    font-style: italic;
    font-weight: 500;
    color: var(--accent-gold);
}

.section-tag {
    display: inline-block;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-amber);
    margin-bottom: 12px;
}

.section-tag.tag-gold {
    color: var(--accent-gold);
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 16px;
    line-height: 1.5;
}

.body-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.25);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 183, 3, 0.35);
}

.btn-dark {
    background-color: var(--primary-green);
    color: #ffffff;
}

.btn-dark:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary-green-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: #ffffff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--primary-green-dark);
    color: var(--text-light);
    font-size: 0.825rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.divider {
    opacity: 0.4;
}

.top-bar-badge {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.75rem;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(251, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 222, 212, 0.6);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: #ffffff;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
}

.brand-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-green-dark);
    line-height: 1.1;
}

.brand-tagline {
    display: block;
    font-size: 0.725rem;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-green-dark);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 120px 0 100px 0;
    color: #ffffff;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 41, 30, 0.88) 0%, rgba(27, 67, 50, 0.72) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 750px;
    margin-bottom: 60px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--accent-gold);
}

.hero-title {
    font-size: 3.8rem;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 620px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Floating Stats Card */
.hero-stats-card {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 2rem;
    background-color: rgba(255, 183, 3, 0.2);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.stat-info h4 {
    font-size: 1rem;
    color: var(--primary-green-dark);
    margin-bottom: 2px;
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-light);
}

/* ==========================================================================
   Section Base & About Us
   ========================================================================== */
.section {
    padding: 100px 0;
}

.about-section {
    background-color: var(--bg-cream);
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-feature-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-sm);
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green-dark);
}

.feature-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Image Frames & Floating Badges */
.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.image-rounded {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    object-fit: cover;
    width: 100%;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.badge-bottom-left {
    right: auto;
    left: -20px;
}

.badge-icon {
    font-size: 1.8rem;
}

.badge-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-green-dark);
}

.badge-text small {
    color: var(--text-muted);
    font-size: 0.775rem;
}

/* ==========================================================================
   Mission & Vision (Dark Section)
   ========================================================================== */
.mission-section.dark-theme {
    background-color: var(--primary-green);
    color: #ffffff;
    position: relative;
}

.mission-section.dark-theme .section-heading {
    color: #ffffff;
}

.cards-grid {
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

.featured-card {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 183, 3, 0.4);
}

.card-icon-wrapper {
    margin-bottom: 24px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-green-dark);
}

.card-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.card-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ==========================================================================
   Curriculum Section
   ========================================================================== */
.curriculum-section {
    background-color: var(--bg-cream);
}

.checklist {
    margin: 24px 0 32px 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 183, 3, 0.2);
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

/* ==========================================================================
   Our Story & Founders
   ========================================================================== */
.story-section {
    background-color: var(--bg-muted);
}

.story-card {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.founder-badge {
    display: inline-block;
    background-color: rgba(27, 67, 50, 0.1);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.founder-names {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.story-text {
    color: var(--text-muted);
    font-size: 0.975rem;
    margin-bottom: 16px;
}

.quote-box {
    position: relative;
    background-color: var(--bg-cream);
    padding: 24px 24px 24px 36px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
    margin-top: 24px;
}

.quote-mark {
    position: absolute;
    top: 5px;
    left: 10px;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-amber);
    opacity: 0.4;
    line-height: 1;
}

.quote-box p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-green-dark);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-cream);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item.item-large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 41, 30, 0.9) 0%, rgba(15, 41, 30, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 700;
}

.gallery-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 4px;
}

.zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-muted);
}

.contact-card-wrapper {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info-panel {
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.panel-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    font-size: 0.95rem;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon {
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.detail-text span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.panel-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-panel {
    padding: 50px 40px;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg-cream);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.error-msg {
    display: none;
    font-size: 0.775rem;
    color: #e63946;
    margin-top: 4px;
}

.form-group.error .form-control {
    border-color: #e63946;
}

.form-group.error .error-msg {
    display: block;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--primary-green-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
}

.footer-top {
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-svg {
    width: 36px;
    height: 36px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.825rem;
}

.back-to-top {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--accent-gold);
    color: var(--primary-green-dark);
}

/* ==========================================================================
   Original Standalone Round Green WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float-circle {
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
    z-index: 999999 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: whatsappPulse 2.5s infinite !important;
    text-decoration: none !important;
}

.whatsapp-float-circle:hover {
    background-color: #20ba5a !important;
    transform: scale(1.12) !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65) !important;
}

.whatsapp-img-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    display: block !important;
}

.whatsapp-label {
    position: absolute;
    right: 72px;
    background-color: #1d2d24;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.whatsapp-float-circle:hover .whatsapp-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Modals & Lightbox (Strict Display None when Inactive)
   ========================================================================== */
.modal-backdrop, .lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 41, 30, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active, .lightbox-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 650px;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-close, .lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tour-slideshow {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.tour-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tour-slide-caption {
    background-color: var(--bg-cream);
    padding: 16px;
}

.tour-slide-caption h4 {
    font-size: 1.1rem;
}

.tour-slide-caption p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.slide-indicator {
    font-weight: 700;
    color: var(--primary-green);
}

.curr-tracks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.track-card {
    background-color: var(--bg-cream);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
}

.track-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
    display: inline-block;
}

.track-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.track-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Lightbox Content */
.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin: 0 auto 16px auto;
}

.lightbox-caption h4 {
    color: #ffffff;
    font-size: 1.25rem;
}

.lightbox-caption p {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-green-dark);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 300000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats-card {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .stat-divider {
        display: none;
    }

    .about-image-wrapper, .curriculum-image-wrapper {
        margin-top: 30px;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.item-large {
        grid-column: span 2;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-heading {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.item-large {
        grid-column: span 1;
    }

    .whatsapp-float-circle {
        bottom: 20px !important;
        right: 20px !important;
        width: 52px !important;
        height: 52px !important;
    }

    .whatsapp-img-icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }
}
