/* ============================================
   CodeCraft Institute — Main Stylesheet
   ============================================ */

:root {
    --bg: #0a0a0f;
    --bg2: #111118;
    --bg3: #16161f;
    --surface: #1c1c28;
    --border: #2a2a3a;
    --accent: #00e5a0;
    --accent2: #7c3aed;
    --text: #f0f0f8;
    --text2: #a0a0b8;
    --text3: #606078;
    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 16px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ---- UTILITIES ---- */
.section-container { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    background: rgba(0,229,160,0.1);
    color: var(--accent);
    border: 1px solid rgba(0,229,160,0.3);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
}
.accent { color: var(--accent); }

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #0a0a0f;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}
.btn-primary:hover { background: #00c88a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,229,160,0.3); }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text2);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 18px 40px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-logo {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-right: auto;
    letter-spacing: -0.02em;
}
.logo-bracket { color: var(--accent); }
.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text2);
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.2s;
    border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}
.hero-bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(0,229,160,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,160,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
.hero-container { flex: 1; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(0,229,160,0.1);
    color: var(--accent);
    border: 1px solid rgba(0,229,160,0.25);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease both;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-sub {
    font-size: 18px;
    color: var(--text2);
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeInUp 0.7s ease 0.2s both;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    animation: fadeInUp 0.7s ease 0.4s both;
}
.stat { padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text3); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* ---- CODE WINDOW ---- */
.hero-visual {
    flex: 1;
    max-width: 480px;
    position: relative;
    z-index: 1;
    animation: fadeInRight 0.8s ease 0.3s both;
}
.code-window {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 60px rgba(0,229,160,0.05);
}
.window-bar {
    background: var(--bg3);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.window-title { margin-left: auto; font-size: 13px; color: var(--text3); }
.code-body { padding: 24px; }
.code-line {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 2;
    opacity: 0;
    animation: typeLine 0.3s ease forwards;
}
.code-line.c2 { animation-delay: 0.2s; }
.code-line.c3 { animation-delay: 0.4s; }
.code-line.c4 { animation-delay: 0.6s; }
.code-line.c5 { animation-delay: 0.8s; }
.code-line.c6 { animation-delay: 1.0s; }
.code-line.c7 { animation-delay: 1.2s; }
.code-line.c8 { animation-delay: 1.4s; }
.code-line.c9 { animation-delay: 1.6s; }
.c-kw { color: #ff79c6; }
.c-cls { color: #8be9fd; }
.c-fn { color: #50fa7b; }
.c-method { color: #ffb86c; }
.c-str { color: #f1fa8c; }
.c-cm { color: #6272a4; }

/* ---- MARQUEE ---- */
.marquee-strip {
    background: var(--accent);
    overflow: hidden;
    padding: 14px 0;
}
.marquee-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: marquee 25s linear infinite;
}
.marquee-track span {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: #0a0a0f;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- WHY SECTION ---- */
.why-section { background: var(--bg2); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}
.why-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,229,160,0.08); }
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.why-card p { color: var(--text2); font-size: 15px; }

/* ---- COURSES PREVIEW ---- */
.courses-preview { background: var(--bg); }
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card-top {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.course-icon { font-size: 2.5rem; }
.course-level {
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.course-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-card-body h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.course-card-body p { color: var(--text2); font-size: 14px; flex: 1; }
.course-meta {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    font-size: 13px;
    color: var(--text3);
}
.course-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.2s;
}
.course-link:hover { text-decoration: underline; }
.courses-cta { text-align: center; margin-top: 48px; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--bg2); }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
}
.testi-quote {
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: -10px;
}
.testi-card p {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testi-person { display: flex; gap: 14px; align-items: center; }
.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0f;
    font-family: var(--font-head);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 15px; }
.testi-role { font-size: 13px; color: var(--text3); }

/* ---- CTA BANNER ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--bg3) 0%, #12122a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 24px;
}
.cta-inner h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-inner p { color: var(--text2); font-size: 17px; margin-bottom: 36px; }

/* ---- PAGE HERO ---- */
.page-hero {
    padding: 160px 24px 80px;
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(0,229,160,0.06) 0%, transparent 60%);
}
.page-hero-container { max-width: 800px; margin: 0 auto; }
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 16px 0 20px;
    line-height: 1.1;
}
.page-hero p { font-size: 18px; color: var(--text2); font-weight: 300; }

/* ---- COURSES PAGE ---- */
.all-courses { background: var(--bg); }
.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.tab {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
    padding: 10px 24px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.tab:hover, .tab.active { background: var(--accent); color: #0a0a0f; border-color: var(--accent); font-weight: 700; }
.full-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.full-course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    flex-direction: column;
    transition: all 0.3s ease;
    display: flex;
}
.full-course-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,0.3); box-shadow: var(--shadow); }
.fcc-header {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fcc-icon { font-size: 3rem; }
.fcc-badge {
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.fcc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.fcc-body h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.fcc-body > p { color: var(--text2); font-size: 14px; margin-bottom: 20px; }
.fcc-syllabus { flex: 1; }
.fcc-syllabus li {
    font-size: 14px;
    color: var(--text2);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.fcc-syllabus li:last-child { border-bottom: none; }
.fcc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.fcc-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text3); }

/* ---- ABOUT PAGE ---- */
.about-story { background: var(--bg); }
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.story-text h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}
.story-text p { color: var(--text2); margin-bottom: 16px; font-size: 16px; line-height: 1.8; }
.story-image { display: flex; justify-content: center; }
.story-img-box {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.story-img-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    z-index: -1;
}
.story-img-inner { text-align: center; }
.story-number {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 800;
    color: #0a0a0f;
    line-height: 1;
}
.story-label { font-size: 14px; font-weight: 600; color: rgba(0,0,0,0.7); }

.team-section { background: var(--bg2); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,0.3); }
.team-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.team-role { font-size: 13px; color: var(--accent); font-weight: 600; margin: 6px 0 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.team-card p { color: var(--text2); font-size: 14px; margin-bottom: 16px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.skill-tag {
    background: rgba(0,229,160,0.1);
    color: var(--accent);
    border: 1px solid rgba(0,229,160,0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.milestones { background: var(--bg); }
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: 74px;
    top: 8px;
    width: 14px; height: 14px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg);
    z-index: 1;
}
.tl-year {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    padding-top: 4px;
    text-align: right;
}
.tl-content h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.tl-content p { color: var(--text2); font-size: 14px; }

/* ---- CONTACT PAGE ---- */
.contact-section { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-form-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.contact-form-box h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
}
.alert-success {
    background: rgba(0,229,160,0.1);
    border: 1px solid rgba(0,229,160,0.3);
    color: var(--accent);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}
.alert-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,229,160,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg3); }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.info-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
}
.info-card p { color: var(--text2); font-size: 14px; line-height: 1.8; }
.map-placeholder {
    background: var(--bg3);
    border-radius: 12px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text3);
    font-size: 14px;
    border: 2px dashed var(--border);
}
.map-placeholder span { font-size: 24px; }

/* ---- FOOTER ---- */
.footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-logo {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}
.footer-brand p { color: var(--text2); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent); color: #0a0a0f; border-color: var(--accent); }
.footer-links h4 {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text3);
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links li { font-size: 14px; color: var(--text2); cursor: default; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text3);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes typeLine {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero { flex-direction: column; padding-top: 100px; min-height: auto; }
    .hero-visual { max-width: 100%; width: 100%; }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .story-image { order: -1; }
    .story-img-box { width: 200px; height: 200px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
    .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 32px; z-index: 999; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 24px; }
    .hamburger { display: flex; z-index: 1000; position: relative; }
    .nav-cta { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .timeline::before { left: 60px; }
    .timeline-item { grid-template-columns: 60px 1fr; gap: 24px; }
    .timeline-item::after { left: 54px; }
}
