/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body{ 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background:var(--bg); 
    color:var(--text);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Brand/Logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    white-space: nowrap;
}

.logo-mark {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-2) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    justify-content: center;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: 25px;
}

/* Color theme - aligned with hero gradient (deep slate + blue/cyan accents) */
:root {
  --primary: #0F172A;        /* deep slate/navy */
  --primary-dark: #1E293B;   /* darker slate */
  --primary-light: #4FACFE;  /* bright blue (hero accent) */
  --accent: #4FACFE;         /* blue accent */
  --accent-2: #00F2FE;       /* cyan accent */
  --bg: #FFFFFF;             /* page background */
  --bg-light: #F8FAFC;       /* section background */
  --surface: #FFFFFF;        /* cards, panels */
  --text: #0F172A;           /* main text */
  --text-light: #6B7280;     /* secondary text */
  --white: #FFFFFF;          /* high-contrast (buttons on dark) */
  --border-light: #E2E8F0;   /* borders, dividers */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode: clearly dark background + readable text + brighter accents */
[data-theme="dark"] {
  --primary: #F1F5F9;        /* main text / headings on dark */
  --primary-dark: #E2E8F0;   /* slightly stronger text */
  --primary-light: #38BDF8;  /* brighter blue for dark bg */
  --accent: #38BDF8;
  --accent-2: #22D3EE;       /* cyan that pops on dark */
  --bg: #0c1222;             /* deep dark blue (distinct from light) */
  --bg-light: #151d2e;       /* section surfaces */
  --surface: #1E293B;        /* cards, panels */
  --text: #F1F5F9;
  --text-light: #94A3B8;
  --white: #F1F5F9;         /* “white” on dark = light text */
  --border-light: #334155;
}

/* Dark mode: keep hero and nav clearly dark; use variables for surfaces */
[data-theme="dark"] .navbar {
    background: rgba(12, 18, 34, 0.9);
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0c1222 100%);
}

[data-theme="dark"] .hero-terminal {
    background: #0a0f1a;
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .update-card,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .about-card {
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--accent);
    color: var(--bg);
}

[data-theme="dark"] .partners-section {
    background: var(--bg-light);
}

[data-theme="dark"] .our-partners-section {
    background: var(--bg);
    border-top-color: var(--border-light);
}

[data-theme="dark"] .our-partners-title {
    color: var(--text);
}

[data-theme="dark"] .our-partners-lead {
    color: var(--text-light);
}

[data-theme="dark"] .our-partner-logo span {
    color: var(--text-light);
}

[data-theme="dark"] .partners-content-section {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%);
}

[data-theme="dark"] .partners-content-main {
    background: var(--surface);
    border-color: var(--border-light);
}

[data-theme="dark"] .footer {
    background: #070b14;
}

[data-theme="dark"] .cta .btn-primary {
    background: var(--surface);
    color: var(--primary);
}

[data-theme="dark"] .cta .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle {
    color: var(--accent);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(56, 189, 248, 0.15);
    color: var(--primary);
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: block; }

[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

.btn-primary{
    background: linear-gradient(135deg,var(--primary-light) 0%,var(--accent-2) 100%);
    color:#fff;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
    filter: brightness(1.1);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-2) 100%);
    animation: pulse 2s infinite;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.nav-logo h2{ 
    color:var(--primary); 
    margin: 0;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: flex-end;
    margin-left: 2rem;
}

.nav-item:last-child {
    margin-left: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link.apply-btn {
    padding: 0.75rem 1.5rem;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.nav-link.apply-btn::after {
    display: none;
}

.nav-link::after{ 
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background:var(--primary); 
    transition: width 0.3s ease;
}

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

.apply-btn,.btn-accent{ 
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.35);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-decoration: none;
}

.apply-btn:hover { 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(56, 189, 248, 0.45);
    filter: brightness(1.05);
}

.apply-btn.active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-primary.disabled,
.apply-btn.disabled {
    background: #9CA3AF;
    color: #ffffff;
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.btn-primary.disabled:hover,
.apply-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    filter: none;
    animation: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger:hover {
    opacity: 0.8;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--primary);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
                radial-gradient(circle at bottom right, rgba(244, 114, 182, 0.18), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.5);
    color: rgba(224, 242, 254, 1);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}

.hero-badge-emoji {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.7);
}

.hero-gradient-text {
    display: inline-block;
    background: linear-gradient(120deg, var(--primary-light), #22c55e, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(226, 232, 240, 0.9);
    margin: 0;
    line-height: 1.7;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-secondary-btn {
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: transparent;
    color: #e5e7eb;
}

.hero-secondary-btn:hover {
    background: rgba(15, 23, 42, 0.6);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-terminal {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.5);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    background: linear-gradient(to right, #020617, #0b1120);
    border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.dot-red { background: #f97373; }
.dot-yellow { background: #facc15; }
.dot-green { background: #22c55e; }

.terminal-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: "Fira Code", "Courier New", monospace;
}

.terminal-body {
    padding: 1.25rem 1.4rem 1.4rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.18), transparent 55%);
}

.terminal-code {
    margin: 0;
    font-family: "Fira Code", "Courier New", monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e5e7eb;
    white-space: pre;
}

.floating-terminal {
    animation: float 10s ease-in-out infinite;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.8);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.about-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    border-bottom: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}



.about-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    border-bottom-color: var(--accent);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    color: #1E40AF;
    font-size: 1.8rem;
}

.about-card:hover .card-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.author-avatar{
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.25rem;
    color: white;
    box-shadow: 0 15px 45px rgba(30, 58, 138, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    flex: 1;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Program Section */
.program {
    padding: 80px 0;
    background: var(--bg);
}

/* Curriculum Phases */
.curriculum-phase {
    margin-bottom: 3rem;
}

.phase-header {
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 80px;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
}

.phase-header h3 {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.weeks-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 2.5rem;
}

.weeks-grid::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 1.1rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.4), rgba(59, 130, 246, 0.8));
}

.week-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-align: left;
    position: relative;
}

.week-card::before {
    content: '';
    position: absolute;
    left: -1.6rem;
    top: 1.75rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid white;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.week-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent);
}

.week-card:hover::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

.week-number {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.week-card h4 {
    color: var(--text);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Special Week 10 Card */
.week-card-special {
    border: 3px solid #F59E0B;
    border-left: 5px solid #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
}

.week-card-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
}

.week-card-special:hover {
    border-color: #D97706;
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.25);
}

.week-number-special {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.incubation-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(245, 158, 11, 0.12);
    border-radius: 10px;
    color: #92400E;
    font-size: 0.92rem;
    font-weight: 500;
    border-left: 4px solid #F59E0B;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.incubation-note strong {
    color: #D97706;
    font-weight: 700;
}

/* Mid-Program Break */
.break-week {
    margin: 3rem 0;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.break-content {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px dashed var(--primary);
    position: relative;
}

.break-content i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.break-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.break-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i{ 
    font-size: 3rem;
    color: #1E40AF; 
    margin-bottom: 1rem;
}

.feature h4 {
    color: var(--text);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(247, 250, 252, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    background: linear-gradient(to bottom right, #eff6ff, #ffffff);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.4);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content h3 i {
    font-size: 2.5rem;
    margin-right: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--primary);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta,.page-header{
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}

.cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Footer */
.footer{ 
    position: relative;
    background: var(--primary); 
    color: var(--white);
    padding: 60px 0 20px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='dots' x='0' y='0' width='10' height='10' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23ffffff' opacity='0.06' /%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23dots)' /%3E%3C/svg%3E") repeat;
    opacity: 0.2;
    pointer-events: none;
}

.footer > .container,
.footer-content {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.footer-section h3,
.footer-section h4 {
    color: #9CA3AF;
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.footer-section p {
    color: rgba(249, 250, 251, 0.8);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(249, 250, 251, 0.9);
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section ul li a:hover{ 
    color:var(--accent); 
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
}

.social-links a:hover{ 
    background:var(--accent); 
    transform: translateY(-2px);
}

/* Ensure X (Twitter) SVG icon is white in footer */
.social-links a svg {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: var(--accent) !important;
    transition: fill 0.3s ease;
}

/* Article Image Styles */
.article-hero-image {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: block;
}

.article-body-image {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid #e5e7eb;
    display: block;
}

.image-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.newsletter-form {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(156, 163, 175, 0.9);
    margin-bottom: 0.5rem;
}

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

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.9rem;
}

.newsletter-input-group input[type="email"]::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.newsletter-input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.newsletter-input-group .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    background: #3B82F6;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input-group .btn:hover {
    background: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-input-group .btn {
        width: 100%;
    }
}

/* Page Header */
.page-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Mentor Page Styles */
.mentor-content {
    padding: 80px 0;
    background: var(--bg-light);
}

.mentor-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.mentor-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mentor-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.responsibility-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.responsibility-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.responsibility-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.responsibility-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.expectations-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.expectation-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.expectation-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.expectation-item i {
    font-size: 2rem;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.expectation-item h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.expectation-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.mentor-highlight {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    border: 2px solid var(--primary-light);
}

.highlight-quote {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text);
    font-style: italic;
    margin: 0;
}

.highlight-quote em {
    color: var(--primary);
    font-weight: 600;
    font-style: normal;
}

.mentor-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 0;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .mentor-content {
        padding: 60px 0;
    }

    .mentor-section {
        padding: 2rem 1.5rem;
    }

    .mentor-section h2 {
        font-size: 1.75rem;
    }

    .responsibilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expectation-item {
        flex-direction: column;
        text-align: center;
    }

    .expectation-item i {
        margin: 0 auto;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Mobile Menu Backdrop Overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(6px);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        pointer-events: none;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: #ffffff;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 70px);
        text-align: left;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
        padding: 0.75rem 0 1.5rem 0;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.5rem;
        z-index: 999;
        transform: translateX(-100%);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu .nav-item {
        width: 100%;
        margin: 0;
        padding: 0 1rem;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.08s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.11s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.14s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.17s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.23s; }
    .nav-menu.active .nav-item:nth-child(8) { transition-delay: 0.26s; }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        padding: 0.875rem 1rem;
        width: 100%;
        text-align: left;
        color: var(--text);
        font-weight: 500;
        font-size: 0.95rem;
        letter-spacing: 0.01em;
        position: relative;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        background: transparent;
        border-radius: 8px;
        margin-bottom: 0.25rem;
        border: 1px solid transparent;
    }

    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, var(--primary-light) 0%, var(--accent-2) 100%);
        border-radius: 0 2px 2px 0;
        transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        color: var(--primary);
        background: rgba(79, 172, 254, 0.08);
        border-color: rgba(79, 172, 254, 0.2);
        transform: translateX(4px);
    }

    .nav-menu .nav-link:hover::before,
    .nav-menu .nav-link:active::before {
        height: 60%;
    }

    .nav-menu .nav-link.active {
        color: var(--primary);
        font-weight: 600;
        background: linear-gradient(90deg, rgba(79, 172, 254, 0.12) 0%, rgba(79, 172, 254, 0.04) 100%);
        border-color: rgba(79, 172, 254, 0.3);
        box-shadow: 0 2px 8px rgba(79, 172, 254, 0.15);
    }

    .nav-menu .nav-link.active::before {
        height: 70%;
        background: linear-gradient(180deg, var(--primary-light) 0%, var(--accent-2) 100%);
    }

    .nav-menu .nav-link.apply-btn {
        margin: 1rem 1rem 0;
        width: calc(100% - 2rem);
        border-radius: 12px;
        background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
        color: #ffffff;
        font-weight: 600;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0.875rem 1.5rem;
        box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
        border: none;
        justify-content: center;
        text-align: center;
        transform: scale(0.98);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu .nav-link.apply-btn:hover,
    .nav-menu .nav-link.apply-btn:active {
        transform: scale(1) translateY(-1px);
        box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
        background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    }

    .nav-menu .nav-link.apply-btn::before {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

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

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

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .about-grid,
    .weeks-grid,
    .program-features,
    .testimonials-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        gap: 2rem;
    }
    
    .partner-logo i {
        font-size: 2rem;
    }

    .partners-content-section {
        padding: 60px 0;
    }

    .partners-content-main {
        padding: 2rem 1.5rem;
    }

    .partners-lead {
        font-size: 1.05rem;
    }

    .partners-content-main h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1.25rem 0;
    }

    .partners-content-main p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .logo-mark { height: 24px; }
    .nav-logo h2 { font-size: 1.4rem; }
}

@media (max-width: 1200px) {
    .weeks-grid {
        padding-left: 2.25rem;
    }
}

@media (max-width: 900px) {
    .weeks-grid {
        padding-left: 2rem;
    }

    .phase-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .weeks-grid {
        padding-left: 1.75rem;
    }
    .break-content {
        padding: 2rem 1.5rem;
    }
    
    .break-content i {
        font-size: 2.5rem;
    }
    
    .break-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        display: none;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary);
}

.toast.visible {
    transform: translateX(0);
}

.toast-success { border-left-color: #10B981; }
.toast-error { border-left-color: #EF4444; }

.toast-icon {
    font-size: 1.25rem;
}

.toast-success .toast-icon { color: #10B981; }
.toast-error .toast-icon { color: #EF4444; }

.toast-content {
    color: var(--text);
    font-weight: 500;
}

/* Newsletter success state */
.btn-success {
    background: #10B981 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

@media (max-width: 768px) {
    .toast-container {
        top: 20px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes partnerFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}



@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 172, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideInUp 0.8s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* If logo image fails to load, keep layout stable */
.logo-mark[onerror] { display: block; }

/* Partners Section */
.partners-section {
    padding: 1.25rem 0;
    background: var(--bg-light);
}

/* Partners Content Section */
.partners-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-light) 100%);
}

.partners-content-grid {
    max-width: 900px;
    margin: 0 auto;
}

.partners-content-main {
    background: var(--surface);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.partners-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 2rem;
    font-weight: 500;
}

.partners-content-main h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
}

.partners-content-main p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.partners-cta {
    margin-top: 2.5rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.partners-tagline {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo:nth-child(1) {
    animation-delay: 0s;
}

.partner-logo:nth-child(2) {
    animation-delay: 1s;
}

.partner-logo:nth-child(3) {
    animation-delay: 2s;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--text-light);
}

.partner-logo img {
    width: 60px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.partner-logo span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Our Partners (bottom section) */
.our-partners-section {
    padding: 4rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border-light);
}

.our-partners-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.our-partners-lead {
    text-align: center;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.our-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.our-partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.our-partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.our-partner-logo:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

.our-partner-logo img {
    width: 140px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.our-partner-logo span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Student Success Stories Section */
.success-stories {
    padding: 80px 0;
    background: var(--bg);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.story-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin: 0;
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: Georgia, serif;
}

.story-author h4 {
    color: var(--primary);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.story-author p {
    color: var(--text-light);
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Community Updates Section */
.community-updates {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.update-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.update-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.update-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.update-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Team Page Styles */
.team-page {
    padding: 60px 0;
    background: var(--bg-light);
}

.team-section {
    margin-bottom: 60px;
}

.team-section:last-child {
    margin-bottom: 0;
}

/* Leadership & Governance Section */
.leadership-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid var(--border-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.leadership-category {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
}

.leadership-category .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.leadership-category h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.leadership-category h3 i {
    color: var(--accent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    border-color: var(--primary);
}

.member-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.member-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

.team-member h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.member-role {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    margin-top: 0;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.team-member p:not(.member-role):not(.member-bio) {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Social hover overlay (LinkedIn/Twitter icons) */
.team-member::after {
    content: '\f0e1  \f099';
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translate(-50%, 120%);
    font-family: "Font Awesome 5 Brands";
    font-size: 1.1rem;
    color: #0ea5e9;
    opacity: 0;
    display: inline-flex;
    gap: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Week Description in Curriculum */
.week-description {
    background: #f0f4ff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.6;
    border-left: 3px solid var(--primary);
}

.week-description strong {
    color: var(--primary);
    font-weight: 600;
}

/* Stats Section - Text-only stat item */
.stats-grid .stat-item:last-child .stat-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-top: 0.5rem;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        flex-wrap: wrap;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .stats-section {
        padding: 30px 0 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }

    .stats-grid .stat-item:last-child .stat-label {
        font-size: 1rem;
    }

    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leadership-category .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .member-image {
        width: 120px;
        height: 120px;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 25px 0 35px;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1.25rem 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.03em;
    }

    .stats-grid .stat-item:last-child .stat-label {
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 110px;
        height: 110px;
    }
    
    .member-avatar {
        width: 110px;
        height: 110px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 110px;
        height: 110px;
    }
    
    .member-avatar {
        width: 110px;
        height: 110px;
        font-size: 2rem;
    }
    
    .team-member {
        padding: 1.5rem 1rem;
    }
    
    .member-bio {
        font-size: 0.8rem;
    }
    
    .update-card,
    .leadership-category {
        padding: 1.5rem;
    }
    
    .story-card {
        padding: 2rem 1.5rem;
    }
    
    .story-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}
