/* ===== GLOBAL RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme (default) */
    --bg: #ffffff;
    --card-bg: #f9fafb;
    --text: #111827;
    --text-secondary: #4b5563;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --border: #e5e7eb;
    --navbar-bg: rgba(255,255,255,0.95);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    /* Fog color matching the image sequence background */
    --fog-color: #c8cacd;
}

.dark {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --accent: #60a5fa;
    --accent-dark: #3b82f6;
    --border: #334155;
    --navbar-bg: rgba(15,23,42,0.95);
    --fog-color: #1a1f2e;
}

html {
    scroll-behavior: auto; /* We want precise scroll — no smooth */
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.2s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--fog-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.08);
    border-top-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(0,0,0,0.5);
}

.loading-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(0,0,0,0.08);
    border-radius: 99px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: rgba(0,0,0,0.35);
    border-radius: 99px;
    transition: width 0.15s ease;
}

.loading-percent {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0,0,0,0.35);
    font-variant-numeric: tabular-nums;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: transparent;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ===== SCROLLYTELLING HERO ===== */
.scrollytelling-hero {
    background: var(--fog-color);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.scroll-runway {
    height: 900vh; /* Extra-long scroll for slower, cinematic playback */
    position: relative;
}

.canvas-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#heroCanvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== SCROLL TEXT OVERLAYS ===== */
.scroll-overlay {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.05s ease, transform 0.05s ease;
    pointer-events: none;
    z-index: 10;
    max-width: 520px;
}

.scroll-overlay.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.overlay-heading {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: rgba(0, 0, 0, 0.88);
    margin-bottom: 0.5rem;
}

.overlay-sub {
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.55);
    letter-spacing: 0.01em;
}

/* Positions */
.overlay-center {
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    max-width: 600px;
    width: 90%;
}
.overlay-center.visible {
    transform: translate(-50%, -50%) translateY(0);
}

.overlay-left {
    text-align: left;
    top: 50%;
    left: 5%;
    transform: translateY(calc(-50% + 20px));
}
.overlay-left.visible {
    transform: translateY(-50%);
}

.overlay-right {
    text-align: right;
    top: 50%;
    right: 5%;
    left: auto;
    transform: translateY(calc(-50% + 20px));
}
.overlay-right.visible {
    transform: translateY(-50%);
}

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

/* ===== SCROLL HINT ===== */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-hint span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.35);
}

.scroll-hint-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-hint-wheel {
    width: 3px;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.4; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== HERO (legacy — kept for other pages if needed) ===== */
.hero {
    padding: 4rem 0 2rem;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.badge {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.accent {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
    max-width: 90%;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, background 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== SERVICES SECTION ===== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 3rem 0 2rem;
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SOPs PREVIEW ===== */
.sops-preview {
    margin: 3rem auto;
}

.sops-card {
    background: var(--card-bg);
    border-radius: 2rem;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.sops-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.sop-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0;
}

.sop-tag {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    margin: 4rem auto;
}

.cta-inner {
    background: linear-gradient(135deg, var(--accent-dark), #4f46e5);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.cta-inner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-inner p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-inner .btn-primary {
    background: white;
    color: #1e293b;
}

.cta-inner .btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-description {
        max-width: 100%;
    }
    .btn-group {
        justify-content: center;
    }
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .cta-inner h2 {
        font-size: 1.5rem;
    }

    /* Scrollytelling mobile */
    .overlay-left,
    .overlay-right {
        text-align: center;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%) translateY(20px);
        width: 90%;
    }
    .overlay-left.visible,
    .overlay-right.visible {
        transform: translate(-50%, -50%) translateY(0);
    }

    .overlay-heading {
        font-size: 1.6rem;
    }
    .overlay-sub {
        font-size: 0.9rem;
    }
}

/* ===== NEW SERVICES PAGE STYLES (grid cards, testimonials) ===== */
.page-header {
    text-align: center;
    padding: 3rem 0 1rem;
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.header-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Cards Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1280px;
    padding: 0 1.5rem;
}
.service-card-new {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 1.8rem;
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card-new:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.service-card-new h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.service-card-new p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.sop-details {
    margin-top: 1rem;
    cursor: pointer;
}
.sop-details summary {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    list-style: none;
    display: inline-block;
}
.sop-details summary::-webkit-details-marker {
    display: none;
}
.sop-details summary::before {
    content: "📘 ";
}
.sop-details ul {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
}
.sop-details li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials {
    margin: 4rem auto;
    padding: 0 1.5rem;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.testimonial-card:hover {
    transform: scale(1.02);
}
.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.client {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Compact process (horizontal steps) */
.process-compact {
    margin: 3rem auto;
    padding: 0 1.5rem;
}
.process-steps-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border-radius: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.step-compact {
    background: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}
.step-arrow {
    color: var(--accent);
    font-weight: bold;
}
@media (max-width: 700px) {
    .process-steps-compact {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* Center icons on homepage service cards */
.service-card .service-icon {
    text-align: center;
    display: block;
    width: 100%;
}

/* Center icons on services page cards */
.service-card-new .card-icon {
    text-align: center;
    display: block;
    width: 100%;
}
/* Fix for back-home link in dark mode */
.dark .back-home a {
    color: var(--accent); /* or any light color like #cbd5e1 */
}
.dark .back-home a:hover {
    color: white;
}

/* Dark mode overlay text */
.dark .overlay-heading {
    color: rgba(255, 255, 255, 0.92);
}
.dark .overlay-sub {
    color: rgba(255, 255, 255, 0.55);
}
.dark .scroll-hint span {
    color: rgba(255,255,255,0.35);
}
.dark .scroll-hint-mouse {
    border-color: rgba(255,255,255,0.25);
}
.dark .scroll-hint-wheel {
    background: rgba(255,255,255,0.3);
}
.dark .loading-spinner {
    border-color: rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.5);
}
.dark .loading-text {
    color: rgba(255,255,255,0.5);
}
.dark .loading-bar-track {
    background: rgba(255,255,255,0.08);
}
.dark .loading-bar-fill {
    background: rgba(255,255,255,0.35);
}
.dark .loading-percent {
    color: rgba(255,255,255,0.35);
}

/* ===================================================================
   SERVICES PAGE — PREMIUM REDESIGN
   =================================================================== */

/* Hero */
.svc-hero {
    padding: 7rem 0 3.5rem;
    text-align: center;
    background: var(--bg);
}

.svc-hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.1);
    color: var(--accent);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.svc-hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 720px;
    margin: 0 auto 1.25rem;
}

.svc-hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Cards Grid */
.svc-grid-section {
    padding: 2rem 0 4rem;
    background: var(--bg);
}

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

.svc-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.1);
}

.svc-card-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(59,130,246,0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-card-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.svc-card-body {
    flex: 1;
    min-width: 0;
}

.svc-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.svc-card-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.svc-card-sops {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.svc-sop-chip {
    display: inline-block;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Process Timeline */
.svc-process-section {
    padding: 4rem 0;
    background: var(--card-bg);
}

.svc-section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.svc-section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.svc-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

.svc-timeline-step {
    text-align: center;
    flex: 1;
    max-width: 220px;
    padding: 0 0.75rem;
}

.svc-timeline-number {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.svc-timeline-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.svc-timeline-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.svc-timeline-connector {
    width: 48px;
    height: 2px;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 22px; /* Vertically center with the number circles */
}

/* Testimonials */
.svc-testimonials-section {
    padding: 4rem 0;
    background: var(--bg);
}

.svc-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.svc-testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.svc-testimonial-card:hover {
    transform: translateY(-3px);
}

.svc-testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.svc-testimonial-card blockquote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.svc-testimonial-card cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* ===== SERVICES PAGE RESPONSIVE ===== */
@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-testimonial-grid {
        grid-template-columns: 1fr;
    }
    .svc-timeline {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .svc-timeline-connector {
        width: 2px;
        height: 32px;
        margin: 0 auto;
    }
    .svc-timeline-step {
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .svc-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .svc-card-sops {
        justify-content: center;
    }
}

/* ===== BOOKING PAGE STYLES ===== */
.booking-main {
    padding-top: 5rem;
}

.booking-header {
    text-align: center;
    padding: 2rem 0 1rem;
}

.booking-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.booking-header p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 1rem;
}

.back-home {
    margin-top: 0.5rem;
}

.back-home a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.back-home a:hover {
    text-decoration: underline;
}

.calendly-embed {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.booking-note {
    text-align: center;
    padding: 1rem 0 3rem;
    max-width: 500px;
    margin: 0 auto;
}

.booking-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}