/* SparkNova Academy Core Stylesheet */

/* --------------------------------------------------
   0. DESIGN SYSTEM & VARIABLE TOKENS
-------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #FFC107;         /* Solar Yellow */
    --color-primary-rgb: 255, 193, 7;
    --color-secondary: #0B1F3A;       /* Deep Navy */
    --color-secondary-rgb: 11, 31, 58;
    --color-accent: #28A745;          /* Emerald Green */
    --color-accent-rgb: 40, 167, 69;
    --color-bg-light: #FFFFFF;        /* White */
    --color-bg-alt: #F7F9FC;          /* Very Light Gray */
    --color-text-dark: #222222;       /* Dark Gray */
    --color-text-muted: #5A6A80;      /* Slate Gray */
    --color-border: #EAEAEA;
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.4);

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadow Systems */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(255, 193, 7, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(11, 31, 58, 0.06);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Standard Easing Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-out;
}

/* --------------------------------------------------
   1. RESET & BASE ELEMENTS
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Common Section Layouts */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Custom Global Stroke Width for Premium Outline Icons */
.lucide, [data-lucide] {
    stroke-width: 1.6px !important;
}

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

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-secondary);
}

p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

strong {
    color: var(--color-secondary);
}

/* Scroll Bar custom styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* --------------------------------------------------
   2. REUSABLE UI COMPONENTS (Buttons, Badges, Tags)
-------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    background-color: #ffca28;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-bg-light);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
    transform: translateY(-3px);
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    border-color: var(--color-bg-light);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background-color: #20ba59;
}
.whatsapp-icon-svg {
    width: 20px;
    height: 20px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    animation: flash 1.5s infinite alternate;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 50px;
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* --------------------------------------------------
   3. STICKY NAVIGATION STYLES
-------------------------------------------------- */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.navbar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(var(--color-secondary-rgb), 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}
.logo-svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-bg-light);
    line-height: 1;
    letter-spacing: -0.5px;
    transition: var(--transition-smooth);
}
.logo-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--color-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 4px;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.nav-mobile-cta {
    display: none;
}

/* Scrolled Navigation Overrides */
.navbar-container.scrolled {
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.navbar-container.scrolled .logo-title {
    color: var(--color-secondary);
}
.navbar-container.scrolled .logo-icon-wrap {
    background: rgba(var(--color-secondary-rgb), 0.05);
    border-color: rgba(var(--color-secondary-rgb), 0.1);
}
.navbar-container.scrolled .nav-menu {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
}
.navbar-container.scrolled .nav-link {
    color: var(--color-text-muted);
}
.navbar-container.scrolled .nav-link:hover, 
.navbar-container.scrolled .nav-link.active {
    color: var(--color-secondary);
}
.navbar-container.scrolled .nav-link::after {
    background-color: var(--color-secondary);
}
.navbar-container.scrolled .hamburger-bar {
    background-color: var(--color-secondary);
}

/* --------------------------------------------------
   4. HERO SECTION STYLES
-------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    color: var(--color-bg-light);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(11, 31, 58, 0.95) 0%,
        rgba(11, 31, 58, 0.8) 50%,
        rgba(11, 31, 58, 0.6) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-bg-light);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}
.hero-headline .highlight {
    color: var(--color-primary);
}

.hero-malayalam {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-subheading {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

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

/* Floating Card visual elements */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.floating-features-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 380px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.floating-features-card h3 {
    color: var(--color-bg-light);
    font-size: 1.35rem;
    margin-bottom: 28px;
    position: relative;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2eeb62;
}
.feature-icon-check svg {
    width: 12px;
    height: 12px;
    stroke-width: 3px;
}

.solar-pulse {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}
.zap-pulse-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-secondary);
}

.pulse-ring {
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: ring-pulse 2s infinite ease-out;
    opacity: 0;
}

/* --------------------------------------------------
   5. TRUST STATISTICS STYLES
-------------------------------------------------- */
.stats-section {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-container {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    position: relative;
}
.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--color-border);
}

.stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: rgba(var(--color-secondary-rgb), 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}
.stat-card:hover .stat-icon-box {
    background-color: var(--color-secondary);
    color: var(--color-bg-light);
    transform: scale(1.08);
}
.stat-icon-box svg {
    width: 24px;
    height: 24px;
}

.stat-number-wrap {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--color-secondary);
    line-height: 1.1;
    margin-bottom: 6px;
}
.stat-suffix {
    color: var(--color-primary);
}
.stat-number-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------
   6. ABOUT SECTION STYLES
-------------------------------------------------- */
.about-section {
    background-color: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}
.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}
.about-img-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 140px;
    height: 140px;
    border-left: 6px solid var(--color-primary);
    border-bottom: 6px solid var(--color-primary);
    border-radius: 0 0 0 var(--radius-lg);
    z-index: 1;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-pillars {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pillar-item {
    display: flex;
    gap: 20px;
}
.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pillar-icon svg {
    width: 22px;
    height: 22px;
}
.pillar-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.pillar-item p {
    font-size: 0.95rem;
}

/* --------------------------------------------------
   7. WHY CHOOSE SPARKNOVA STYLES
-------------------------------------------------- */
.why-section {
    background-color: var(--color-bg-alt);
}

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

.why-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}
.why-card:hover {
    transform: translateY(-8px);
    background: var(--color-bg-light);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.why-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: rgba(var(--color-secondary-rgb), 0.05);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.why-card:hover .why-icon-wrap {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}
.why-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --------------------------------------------------
   7b. TRUST SIGNALS SECTION STYLES
-------------------------------------------------- */
.trust-signals-section {
    background-color: var(--color-bg-light);
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
}

.trust-signals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.trust-signal-item {
    display: flex;
    gap: 24px;
    padding: 40px;
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
}

/* Border styling to create grid lines */
.trust-signal-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
}
.trust-signal-item:nth-child(1),
.trust-signal-item:nth-child(2),
.trust-signal-item:nth-child(3),
.trust-signal-item:nth-child(4) {
    border-bottom: 1px solid var(--color-border);
}

.trust-signal-item:hover {
    background-color: var(--color-bg-alt);
}

.trust-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.trust-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.trust-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .trust-signals-grid {
        grid-template-columns: 1fr;
    }
    .trust-signal-item:nth-child(odd) {
        border-right: none;
    }
    .trust-signal-item:not(:last-child) {
        border-bottom: 1px solid var(--color-border);
    }
    .trust-signal-item {
        padding: 30px 24px;
    }
}

/* --------------------------------------------------
   8. MAIN TRAINING PROGRAM TIMELINE
-------------------------------------------------- */
.curriculum-section {
    background-color: var(--color-bg-light);
}

.curriculum-timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
    transform: translateX(-50%);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.curriculum-card {
    width: calc(50% - 40px);
    position: relative;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition-smooth);
}
.curriculum-card:hover {
    transform: translateY(-4px);
    background-color: var(--color-bg-light);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-primary-rgb), 0.4);
}

.curriculum-card:nth-child(odd) {
    align-self: flex-start;
}
.curriculum-card:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
}

.curriculum-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(var(--color-secondary-rgb), 0.15);
    margin-bottom: 12px;
    line-height: 1;
}
.curriculum-card:hover .curriculum-number {
    color: var(--color-primary);
}

.curriculum-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.curriculum-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-dot {
    position: absolute;
    top: 40px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    border: 3px solid var(--color-primary);
    z-index: 5;
    transition: var(--transition-smooth);
}
.curriculum-card:hover .timeline-dot {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

.curriculum-card:nth-child(odd) .timeline-dot {
    right: -50px;
}
.curriculum-card:nth-child(even) .timeline-dot {
    left: -50px;
}

.curriculum-cta-wrap {
    text-align: center;
    margin-top: 60px;
}

/* --------------------------------------------------
   9. WHO CAN JOIN STYLES (Split Layout)
-------------------------------------------------- */
.join-section {
    background-color: var(--color-bg-alt);
}

.join-split-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.join-left-content {
    position: sticky;
    top: 120px;
}

.join-narrative-box {
    margin-top: 30px;
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.join-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.join-bullet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--color-secondary);
}

.join-bullet-list li svg {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.join-right-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-block {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    display: flex;
    gap: 24px;
    align-items: start;
    transition: var(--transition-smooth);
}

.profile-block:hover {
    transform: translateX(8px);
    border-color: rgba(var(--color-primary-rgb), 0.3);
    box-shadow: var(--shadow-md);
}

.profile-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(var(--color-primary-rgb), 0.2);
    line-height: 1;
    transition: var(--transition-smooth);
}

.profile-block:hover .profile-num {
    color: var(--color-primary);
}

.profile-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.profile-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------
   10. LEARNING PROCESS HORIZONTAL TIMELINE
-------------------------------------------------- */
.process-section {
    background-color: var(--color-bg-light);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}

.step-num-wrap {
    position: relative;
    margin-bottom: 20px;
}
.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    position: relative;
    border: 3px solid var(--color-bg-light);
}
.process-step:hover .step-num {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transform: scale(1.08);
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    padding-top: 15px;
}
.process-arrow svg {
    width: 20px;
    height: 20px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    line-height: 1.5;
}


/* --------------------------------------------------
   10b. TRAINERS SECTION STYLES
-------------------------------------------------- */
.trainers-section {
    background-color: var(--color-bg-alt);
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
}

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

.trainer-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--color-primary-rgb), 0.25);
}

.trainer-photo-placeholder {
    height: 200px;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.avatar-gradient {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.2) 0%, rgba(var(--color-secondary-rgb), 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.trainer-card:hover .avatar-gradient {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.avatar-gradient svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.trainer-info {
    padding: 30px 24px;
}

.trainer-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.trainer-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.trainer-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.trainer-details li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.trainer-details li strong {
    color: var(--color-secondary);
}

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

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

/* --------------------------------------------------
   11. VISION SECTION (DARK THEME)
-------------------------------------------------- */
.vision-section {
    background-color: var(--color-secondary);
    color: var(--color-bg-light);
    padding: 120px 0;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
    background-size: 30px 30px;
}

.vision-glow-radial {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.vision-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.vision-content {
    max-width: 700px;
    margin-bottom: 50px;
}

.vision-tag {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.vision-title {
    color: var(--color-bg-light);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.vision-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.vision-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-blueprint-svg {
    max-width: 500px;
    margin: 20px auto 0;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.15));
}

.blueprint-energy-flow {
    animation: flow-left 5s linear infinite;
}

.node-pulse {
    transform-origin: center;
    animation: node-ping 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

g.blueprint-node {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.3s ease;
}

g.blueprint-node:hover {
    transform: scale(1.08);
    cursor: pointer;
}

@keyframes flow-left {
    from {
        stroke-dashoffset: 40;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes node-ping {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}



/* --------------------------------------------------
   12. CORE VALUES STYLES
-------------------------------------------------- */
.values-section {
    background-color: var(--color-bg-light);
}

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

.value-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}
.value-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-bg-light);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.value-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
    display: inline-block;
    transition: var(--transition-smooth);
}
.value-card:hover .value-icon {
    transform: scale(1.15);
}
.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --------------------------------------------------
   13. QUOTE SECTION STYLES
-------------------------------------------------- */
.quote-section {
    background-color: var(--color-secondary);
    color: var(--color-bg-light);
    text-align: center;
    padding: 140px 0;
}

.quote-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 60%);
    z-index: 1;
}

.quote-container {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
    color: rgba(var(--color-primary-rgb), 0.2);
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.academy-quote {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 30px;
    color: var(--color-bg-light);
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}
.author-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}


/* --------------------------------------------------
   13b. GALLERY PREVIEW STYLES
-------------------------------------------------- */
.gallery-section {
    background-color: var(--color-bg-light);
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--color-border);
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-placeholder-img {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Gradients acting as premium placeholders until real photos are added */
.lab-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #1e3c72 100%);
}
.rooftop-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #2a5298 100%);
}
.classroom-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a365d 100%);
}
.equipment-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #2c5282 100%);
}
.safety-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #2b6cb0 100%);
}
.activities-bg {
    background: linear-gradient(135deg, #0B1F3A 0%, #3182ce 100%);
}

/* Blueprint grid overlay inside placeholders for premium tech look */
.gallery-placeholder-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 193, 7, 0.0);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-secondary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay svg {
    width: 28px;
    height: 28px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    color: var(--color-secondary) !important;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

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

.gallery-item:hover .gallery-overlay {
    background-color: rgba(255, 193, 7, 0.9);
    opacity: 1;
}

.gallery-item:hover .gallery-overlay svg,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

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

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

/* --------------------------------------------------
   14. CONTACT SECTION STYLES
-------------------------------------------------- */
.contact-section {
    background-color: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Map layout */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    min-height: 400px;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--color-secondary);
}
.map-svg-graphic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-ping-ring {
    transform-origin: 180px 120px;
    animation: marker-pulse 2s infinite ease-out;
}
.map-ping-ring-inner {
    transform-origin: 180px 120px;
    animation: marker-pulse 2s infinite ease-out 0.5s;
}

.map-overlay-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: var(--radius-md);
    color: var(--color-bg-light);
}
.map-overlay-info h4 {
    color: var(--color-bg-light);
    margin-bottom: 6px;
    font-size: 1.15rem;
}
.map-overlay-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}
.map-link-btn:hover {
    color: var(--color-bg-light);
}
.map-link-btn svg {
    width: 14px;
    height: 14px;
}

/* Contact form card */
.contact-card {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.contact-intro-text {
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

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

.detail-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(var(--color-secondary-rgb), 0.04);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.contact-detail-item h5 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.contact-link:hover {
    color: var(--color-accent);
}

.contact-action-buttons {
    display: flex;
    flex-direction: column;
}
.contact-action-buttons .btn {
    width: 100%;
}

/* --------------------------------------------------
   15. FOOTER STYLES
-------------------------------------------------- */
.footer-container {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Accreditation badge styles */
.accreditation-box {
    margin-top: 24px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accred-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.accred-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

.accred-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary) !important;
}

/* Newsletter styles */
.footer-newsletter h4 {
    color: var(--color-bg-light);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.newsletter-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-bg-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 36px;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    border: none;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: #ffca28;
}

.newsletter-btn svg {
    width: 16px;
    height: 16px;
    color: var(--color-secondary) !important;
}

/* WhatsApp Link under Newsletter */
.footer-whatsapp-cta {
    margin-top: 16px;
}

.whatsapp-small-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #25D366;
    font-weight: 600;
    transition: var(--transition-fast);
}

.whatsapp-small-link:hover {
    color: #20ba59;
}

.whatsapp-small-link svg {
    width: 16px;
    height: 16px;
    color: #25D366 !important;
}

.footer-brand .logo-title {
    color: var(--color-bg-light);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    margin-top: 20px;
    margin-bottom: 12px;
}

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

.footer-links h4, .footer-contact h4 {
    color: var(--color-bg-light);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}
.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-light);
    transition: var(--transition-smooth);
}
.footer-socials a:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}
.footer-socials svg {
    width: 16px;
    height: 16px;
    color: inherit !important;
}

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

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.powered-by span {
    color: var(--color-primary);
    font-weight: 600;
}

/* --------------------------------------------------
   16. SCROLL REVEAL & KEYFRAME ANIMATIONS
-------------------------------------------------- */
/* IntersectionObserver reveals styles */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-zoom {
    transform: scale(0.92);
}

/* Active states (observer controlled) */
.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Custom animation keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes flash {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes ring-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes sun-glow-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.7; }
}

@keyframes energy-flow {
    0% { stroke-dashoffset: 20; }
    100% { stroke-dashoffset: 0; }
}

@keyframes marker-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* --------------------------------------------------
   17. MOBILE & TABLET RESPONSIVE STYLES
-------------------------------------------------- */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.15rem;
    }
    
    .d-desktop-only {
        display: none;
    }
    
    /* Navigation drawer overlay */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-secondary);
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 100px 40px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.75);
        font-size: 1.15rem;
        width: 100%;
    }
    .nav-link:hover, .nav-link.active {
        color: var(--color-primary);
    }
    
    .nav-mobile-cta {
        display: inline-flex;
        width: 100%;
        margin-top: 20px;
    }
    
    /* Hamburger Active Transform */
    .mobile-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-bg-light);
    }
    .mobile-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-bg-light);
    }
    
    /* Hero layout split */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding-top: 40px;
    }
    .hero-subheading {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        justify-content: center;
    }
    .floating-features-card {
        width: 100%;
        max-width: 400px;
    }
    
    /* Stats Layout */
    .stats-section {
        margin-top: -30px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stat-card:nth-child(2)::after {
        display: none;
    }
    
    /* Why Grid */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Join Split Layout */
    .join-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .join-left-content {
        position: static;
    }
    
    /* Value Grid */
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Timeline */
    .timeline-line {
        left: 20px;
    }
    .curriculum-card {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        align-self: flex-start !important;
    }
    .curriculum-card .timeline-dot {
        left: -40px !important;
        right: auto !important;
    }
    
    /* Learning process horizontal to scroll stack */
    .process-timeline {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        margin-top: 40px;
    }
    .process-step {
        width: 100%;
        max-width: 320px;
    }
    .process-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: -8px 0;
    }
    
    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-map {
        min-height: 320px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-headline {
        font-size: 2.35rem;
    }
    
    .hero-malayalam {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-accent {
        display: none;
    }
    
    /* Stats Layout */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .stat-card::after {
        display: none !important;
    }
    
    /* Why Grid */
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    /* Value Grid */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Vision */
    .vision-title {
        font-size: 2rem;
    }
    .vision-text {
        font-size: 1.1rem;
    }
    
    /* Quote */
    .academy-quote {
        font-size: 1.75rem;
    }
    .quote-mark {
        font-size: 5rem;
        top: -40px;
    }
    
    /* Contact */
    .contact-card {
        padding: 30px 24px;
    }
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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