/* ================================================================
   AutoStar — Main Website Stylesheet
   ================================================================ */

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
    --primary:       #1e40af;
    --primary-light: #3b82f6;
    --primary-dark:  #1e3a8a;
    --primary-50:    #eff6ff;
    --primary-100:   #dbeafe;
    --secondary:     #0891b2;
    --secondary-light:#06b6d4;
    --accent:        #f59e0b;
    --accent-hover:  #d97706;
    --success:       #10b981;
    --danger:        #ef4444;

    --dark:      #0f172a;
    --gray-900:  #1e293b;
    --gray-800:  #1e293b;
    --gray-700:  #334155;
    --gray-600:  #475569;
    --gray-500:  #64748b;
    --gray-400:  #94a3b8;
    --gray-300:  #cbd5e1;
    --gray-200:  #e2e8f0;
    --gray-100:  #f1f5f9;
    --gray-50:   #f8fafc;
    --white:     #ffffff;

    --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:    12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.06);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.08);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { color: var(--gray-900); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* ── Layout ────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 96px 0;
}
.section-alt {
    background: var(--gray-50);
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.section-header h2 {
    margin-bottom: 16px;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}
.section-badge {
    display: inline-block;
    background: var(--primary-50);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: .95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30,64,175,.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(30,64,175,.45);
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--dark);
    box-shadow: 0 6px 20px rgba(245,158,11,.45);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 10px 20px;
    font-size: .85rem;
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ── Header / Navigation ──────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}
.header.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}
.header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.header.scrolled .logo-icon {
    background: var(--primary);
}
.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    transition: color var(--transition);
}
.header.scrolled .logo-text {
    color: var(--gray-900);
}

/* Nav menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.12);
}
.header.scrolled .nav-link {
    color: var(--gray-600);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.header.scrolled .lang-switcher {
    background: var(--gray-100);
}
.lang-switcher a {
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    transition: all var(--transition);
}
.lang-switcher a.active {
    background: rgba(255,255,255,.2);
    color: var(--white);
}
.header.scrolled .lang-switcher a {
    color: var(--gray-500);
}
.header.scrolled .lang-switcher a.active {
    background: var(--primary);
    color: var(--white);
}
.nav-actions .btn-primary {
    padding: 10px 20px;
    font-size: .85rem;
}
.header:not(.scrolled) .nav-actions .btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.header:not(.scrolled) .nav-actions .btn-primary:hover {
    background: var(--accent-hover);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1010;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.header.scrolled .hamburger span {
    background: var(--gray-700);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 10%, rgba(59,130,246,.25) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 90%, rgba(6,182,212,.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(30,64,175,.1) 0%, transparent 60%),
        linear-gradient(160deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
}
.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.06);
    top: -250px;
    right: -200px;
    animation: heroFloat 20s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.04);
    bottom: -150px;
    left: -150px;
    animation: heroFloat 25s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

/* Decorative shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-shapes span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
}
.hero-shapes span:nth-child(1) { width: 300px; height: 300px; top: 10%; left: 60%; animation: shapeDrift 18s ease-in-out infinite; }
.hero-shapes span:nth-child(2) { width: 200px; height: 200px; top: 60%; left: 10%; animation: shapeDrift 22s ease-in-out infinite reverse; }
.hero-shapes span:nth-child(3) { width: 150px; height: 150px; top: 30%; left: 35%; animation: shapeDrift 15s ease-in-out infinite 5s; }
@keyframes shapeDrift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 120px 0 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero-badge::before {
    content: '★';
    color: var(--accent);
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.02em;
}
.hero p {
    color: rgba(255,255,255,.75);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat {
    text-align: left;
}
.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.hero-stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    margin-top: 4px;
}

/* ── Stats Bar ─────────────────────────────────────────────────── */
.stats-bar {
    background: var(--dark);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30,64,175,.2) 0%, rgba(8,145,178,.15) 50%, rgba(30,64,175,.2) 100%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.stat-number .stat-suffix {
    font-size: 1.5rem;
    color: var(--accent);
}
.stat-label {
    font-size: .95rem;
    color: var(--gray-400);
    margin-top: 6px;
}

/* ── Feature Cards ─────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.feature-icon.cyan   { background: #cffafe; color: #0e7490; }
.feature-icon.green  { background: #d1fae5; color: #059669; }
.feature-icon.amber  { background: #fef3c7; color: #b45309; }
.feature-icon.purple { background: #ede9fe; color: #6d28d9; }
.feature-icon.rose   { background: #ffe4e6; color: #be123c; }
.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}
.feature-card p {
    color: var(--gray-500);
    font-size: .95rem;
    line-height: 1.65;
}

/* ── Course Cards ──────────────────────────────────────────────── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.course-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--primary-100);
}
.course-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--dark);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .03em;
    z-index: 2;
}
.course-header {
    padding: 32px 28px 24px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.course-header::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    top: -40px;
    right: -40px;
}
.course-category {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.7);
    margin-bottom: 8px;
}
.course-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.course-header .course-sub {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
}
.course-body {
    padding: 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.course-body p {
    color: var(--gray-500);
    font-size: .9rem;
    margin-bottom: 20px;
    line-height: 1.65;
}
.course-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.course-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--gray-600);
}
.course-meta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-light);
}
.course-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.course-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.course-price small {
    font-size: .75rem;
    font-weight: 500;
    color: var(--gray-400);
    display: block;
}

/* ── Process / Timeline ────────────────────────────────────────── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: var(--gray-200);
}
.process-step {
    text-align: center;
    position: relative;
}
.process-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}
.process-step h4 {
    margin-bottom: 8px;
}
.process-step p {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Exam CTA Section ──────────────────────────────────────────── */
.exam-cta {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark) 0%, #1e3a8a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.exam-cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.05);
    top: -150px;
    right: -100px;
}
.exam-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.exam-cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.exam-cta p {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.testimonial-quote {
    font-size: 2rem;
    color: var(--primary-100);
    line-height: 1;
    margin-bottom: 16px;
}
.testimonial-text {
    font-size: .95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: .95rem;
}
.testimonial-stars {
    color: var(--accent);
    font-size: .85rem;
    margin-top: 2px;
    letter-spacing: 2px;
}

/* ── FAQ Accordion ─────────────────────────────────────────────── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-50);
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--white);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}
.faq-question:hover {
    background: var(--gray-50);
}
.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition), color var(--transition);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: .95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ── CTA Section ───────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    top: -200px;
    left: -100px;
}
.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.cta-section p {
    color: rgba(255,255,255,.8);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ── Page Hero (inner pages) ───────────────────────────────────── */
.page-hero {
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.05);
    top: -200px;
    right: -150px;
}
.page-hero-content {
    position: relative;
    z-index: 1;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: rgba(255,255,255,.6);
}
.breadcrumb a:hover {
    color: var(--white);
}
.breadcrumb .sep {
    color: rgba(255,255,255,.3);
}
.breadcrumb .current {
    color: rgba(255,255,255,.9);
}
.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}
.page-hero p {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ── About Page ────────────────────────────────────────────────── */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-story-text h2 {
    margin-bottom: 20px;
}
.about-story-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}
.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    border: 2px dashed var(--primary-100);
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    transition: all var(--transition);
}
.value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.value-card h3 {
    margin-bottom: 10px;
}
.value-card p {
    color: var(--gray-500);
    font-size: .9rem;
    line-height: 1.65;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}
.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}
.team-card h4 {
    margin-bottom: 4px;
}
.team-role {
    color: var(--primary-light);
    font-size: .9rem;
    font-weight: 500;
}
.team-exp {
    color: var(--gray-400);
    font-size: .85rem;
    margin-top: 4px;
}

/* Achievements */
.achievements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.achievement-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: all var(--transition);
}
.achievement-item:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow);
}
.achievement-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--success);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.achievement-item span {
    font-size: .95rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ── Gallery Page ──────────────────────────────────────────────── */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.gallery-filter {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition);
}
.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-100);
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-400);
    font-size: 2.5rem;
    transition: all var(--transition);
}
.gallery-placeholder span {
    font-size: .8rem;
    font-weight: 500;
    margin-top: 8px;
    color: var(--gray-400);
}
.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--primary);
}
.gallery-item:hover .gallery-placeholder span {
    color: var(--primary);
}
/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
    overflow: hidden;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Contact Page ──────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all var(--transition);
}
.contact-info-card:hover {
    border-color: var(--primary-100);
    box-shadow: var(--shadow);
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-card h4 {
    font-size: .85rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 4px;
}
.contact-info-card p,
.contact-info-card a {
    font-size: .95rem;
    color: var(--gray-700);
    font-weight: 500;
}
.contact-info-card a:hover {
    color: var(--primary);
}

/* Contact form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-form-wrap h3 {
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    color: var(--gray-900);
    background: var(--white);
    transition: all var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-50);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Map */
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    aspect-ratio: 16/9;
    background: var(--gray-100);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 500;
    color: var(--white);
    z-index: 9999;
    box-shadow: var(--shadow-xl);
    transform: translateY(120%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    max-width: 400px;
}
.toast.show { transform: translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
    background: var(--dark);
    padding: 72px 0 0;
    color: var(--gray-400);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}
.footer-logo .logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}
.footer-col p {
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: .9rem;
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
}
.footer-col h4 {
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 20px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    font-size: .9rem;
    color: var(--gray-400);
    transition: color var(--transition);
}
.footer-col ul a:hover {
    color: var(--white);
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .9rem;
}
.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item a {
    color: var(--gray-400);
}
.footer-contact-item a:hover {
    color: var(--white);
}
.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
}
.footer-bottom a {
    color: var(--gray-500);
}
.footer-bottom a:hover {
    color: var(--white);
}

/* ── Floating Phone Button ─────────────────────────────────────── */
.floating-phone {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--success);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(16,185,129,.4);
    z-index: 999;
    transition: all var(--transition);
    animation: phonePulse 2s ease-in-out infinite;
}
.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(16,185,129,.5);
    color: var(--white);
    animation: none;
}
.floating-phone svg {
    width: 24px;
    height: 24px;
}
@keyframes phonePulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(16,185,129,.4); }
    50% { box-shadow: 0 4px 24px rgba(16,185,129,.6), 0 0 0 8px rgba(16,185,129,.1); }
}

/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ── Scroll Animations ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Includes list ──────────────────────────────────────────────── */
.includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
    max-width: 600px;
}
.includes-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--gray-700);
    padding: 10px 0;
}
.includes-item svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .process-grid::before { display: none; }
    .achievements-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }

    /* Header mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        box-shadow: -4px 0 16px rgba(0,0,0,.1);
        transition: right var(--transition);
        z-index: 1005;
        gap: 0;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu .nav-link {
        width: 100%;
        color: var(--gray-700);
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-50);
        color: var(--primary);
    }
    .hamburger { display: flex; }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.4);
        z-index: 1004;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hide desktop enroll button */
    .nav-actions .btn-primary { display: none; }

    /* Hero */
    .hero-content { padding: 100px 0 64px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
    .hero-stats { gap: 24px; flex-wrap: wrap; }

    /* Stats bar */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 2rem; }

    /* Courses */
    .courses-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Values */
    .values-grid { grid-template-columns: 1fr; }

    /* Team */
    .team-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* Contact */
    .contact-info-cards { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }

    /* Page hero */
    .page-hero { padding: 120px 0 56px; }

    /* Process */
    .process-grid { grid-template-columns: 1fr 1fr; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    /* Includes */
    .includes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-stats { gap: 20px; }
    .hero-stat-number { font-size: 1.4rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
}
