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

:root {
    /* Harmonized Palette with styles.css */
    --primary: #1a365d;
    /* Deep Royal Blue */
    --secondary: #2c5282;
    /* Lighter Royal Blue */
    --accent: #475569;
    /* Slate 600 - Visible on white */
    --dark: #111111;
    --light: #f9f9f9;
    --gray: #555555;

    /* Functional Colors - Muted */
    --success: #065f46;
    /* Darker green */
    --warning: #92400e;
    /* Darker orange */
    --danger: #991b1b;
    /* Darker red */

    /* Removed loud gradient, replaced with subtle professional gradient or solid */
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Navigation Fallback */
.global-nav-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background: white;
    flex-wrap: wrap;
}

.global-nav-fallback a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.global-nav-fallback a:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.media-wrapper,
.sketch-item img,
.design-col img,
.sketch-image-placeholder {
    background: #ffffff;
}

/* Navigation - Removed position:fixed since header already handles positioning */
nav {
    /* position: fixed; - REMOVED - conflicts with header positioning */
    /* top: 0; - REMOVED */
    width: 100%;
    /* background removed - header has background */
    /* backdrop-filter removed - header has it */
    padding: 0;
    /* box-shadow removed - header has it */
    z-index: 1000;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem;
    background: var(--primary);
    /* Solid professional blue */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100px);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero .meta {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-item span:first-child {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.meta-item span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Removed 4rem top padding that was causing white space in hero */
}

/* Content sections get top/bottom padding (not hero) */
section:not(.hero) .container {
    padding: 3rem 2rem;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    /* Solid color instead of gradient */
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 4rem 0 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    /* Shorter, more minimal */
    height: 4px;
    background: var(--primary);
    /* Solid color */
    border-radius: 2px;
}

/* Cards */
.card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

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

/* Research Methodology Section */
.research-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.phase-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary);
    /* Consistent border */
    transition: all 0.3s;
}

/* Removed colorful nth-child borders for consistency */

.phase-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.phase-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.phase-card h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.phase-card ul {
    list-style: none;
    margin-top: 1rem;
}

.phase-card li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--dark);
}

.phase-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Research Stats */
.research-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.research-stat {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s;
    border-bottom: 3px solid var(--primary);
}

.research-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.research-stat .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.research-stat .label {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Personas */
.personas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.persona {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 5px solid var(--primary);
    /* Consistent border */
}

/* Removed individual colors for personas */

.persona:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.persona h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.persona .persona-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.persona-attribute {
    display: flex;
    flex-direction: column;
}

.persona-attribute strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.persona-attribute span {
    color: var(--dark);
    font-size: 1rem;
}

.persona-quote {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Models Comparison */
.models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.model {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-top: 5px solid #ef4444;
    transition: all 0.3s;
}

.model.selected-model {
    border-top-color: var(--success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
}

.model:hover {
    transform: translateY(-5px);
}

.model h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.model-status {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.selected {
    background: #d1fae5;
    color: #065f46;
}

/* User Journey Map */
.journey-map {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 3rem 0;
}

.journey-stages {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.journey-stage {
    background: var(--light);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.journey-stage:hover {
    border-left-width: 8px;
    transform: translateX(5px);
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stage-number {
    background: var(--primary);
    /* Solid professional color */
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.stage-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.stage-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stage-detail {
    background: white;
    padding: 1rem;
    border-radius: 12px;
}

.stage-detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.stage-detail-content {
    color: var(--dark);
    font-size: 0.95rem;
}

/* Sketch Gallery Styles */
.sketch-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 3rem 0;
}

.sketch-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.sketch-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.sketch-image-placeholder {
    width: 100%;
    max-height: 500px;
    min-height: 250px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid var(--light);
    position: relative;
}

.sketch-image-placeholder img,
.sketch-image-placeholder svg {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.sketch-image-placeholder svg image {
    width: 100%;
    height: auto;
    max-height: 500px;
}



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

.sketch-caption h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.sketch-caption p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.sketch-caption strong {
    color: var(--dark);
}

.sketch-insights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.insight-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Pillars Grid */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pillar-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    /* Consistent border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

/* Removed individual colors for pillars */

.pillar-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pillar-card h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.pillar-card p {
    color: var(--gray);
    line-height: 1.7;
}

.pillar-insight {
    background: var(--light);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-style: italic;
    color: var(--dark);
    font-weight: 500;
}

/* Insights */
.insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.insight-column {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.insight-column h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--success);
}

.insight-column.improvements h4 {
    color: var(--warning);
}

.insight-column ul {
    list-style: none;
}

.insight-column li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--dark);
    line-height: 1.6;
    border-bottom: 1px solid var(--light);
}

.insight-column li:last-child {
    border-bottom: none;
}

.insight-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.3rem;
}

.insight-column.improvements li::before {
    content: '→';
    color: var(--warning);
}

/* Pivot Section */
.pivot-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pivot-before,
.pivot-after {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
}

.pivot-before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border: 2px solid #fee2e2;
}

.pivot-after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid #d1fae5;
}

.pivot-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 1rem;
}

.pivot-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.pivot-arrow {
    font-size: 3rem;
    color: var(--primary);
}

.pivot-impact {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light);
    border-radius: 16px;
}

.pivot-impact .impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.next-project {
    display: inline-block;
    background: var(--primary);
    /* Solid professional color */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.next-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

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

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

    .pivot-comparison {
        grid-template-columns: 1fr;
    }

    .pivot-arrow {
        transform: rotate(90deg);
        margin: 2rem 0;
    }

    .design-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

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

/* Four Pillars Grid */
.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Design Phases Grid */
.design-phases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

    .design-phases {
        grid-template-columns: 1fr;
    }

    /* Ensure stats stack on very small screens */
    .research-stats {
        grid-template-columns: 1fr;
    }

    /* Utility Grids Mobile Stack */
    .grid-2-col,
    .grid-3-col,
    .grid-split-7-5 {
        grid-template-columns: 1fr !important;
    }
}

/* responsive utility grids */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.grid-split-7-5 {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    gap: 1rem;
    align-items: start;
}

.image-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card img {
    border-radius: 4px;
    box-shadow: none !important;
}

/* =====================================================
   CONVERSATION TIMELINE FLOW - NYC Tour AI Chatbot
   ===================================================== */

.conversation-timeline {
    position: relative;
    padding: 3rem 0;
    margin-top: 2rem;
}

/* Center vertical line - HIDDEN */
.timeline-line {
    display: none;
    /* Removed as per user request */
}

/* Step 1 Hero Style - Full Width */
.timeline-step-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
}

.timeline-step-hero .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.35);
}

.timeline-step-hero .step-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-step-hero .step-description {
    font-size: 1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.timeline-image-hero {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-image-hero img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-image-hero img:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Each timeline step */
.timeline-step {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.timeline-step:last-of-type {
    margin-bottom: 0;
}

/* Left-aligned step (content left, image right) */
.timeline-left {
    flex-direction: row;
}

.timeline-left .timeline-content {
    flex: 1;
    text-align: right;
    padding-right: 2rem;
}

.timeline-left .timeline-image {
    flex: 1;
    padding-left: 2rem;
}

/* Right-aligned step (image left, content right) */
.timeline-right {
    flex-direction: row;
}

.timeline-right .timeline-content {
    flex: 1;
    text-align: left;
    padding-left: 2rem;
}

.timeline-right .timeline-image {
    flex: 1;
    padding-right: 2rem;
}

/* Timeline content styling */
.timeline-content {
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    position: relative;
    z-index: 2;
}

/* Position the number circles at center for timeline effect */
.timeline-left .step-number {
    margin-left: auto;
    margin-right: -24px;
    transform: translateX(50%);
}

.timeline-right .step-number {
    margin-right: auto;
    margin-left: -24px;
    transform: translateX(-50%);
}

.step-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Timeline image styling */
.timeline-image {
    position: relative;
}

.timeline-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
}

.timeline-left .timeline-image img {
    margin-left: 0;
}

.timeline-right .timeline-image img {
    margin-left: auto;
}

.timeline-image img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .timeline-line {
        left: 24px;
    }

    .timeline-step {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
        gap: 1.5rem;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: left;
        padding: 0;
        order: 1;
    }

    .timeline-left .timeline-image,
    .timeline-right .timeline-image {
        padding: 0;
        order: 2;
    }

    .timeline-left .step-number,
    .timeline-right .step-number {
        position: absolute;
        left: -60px;
        margin: 0;
        transform: translateX(0);
    }

    .timeline-image img {
        max-width: 100%;
    }

    .timeline-right .timeline-image img {
        margin-left: 0;
    }
}