/* =================================================================== */
/* ========================= GLOBAL SETUP ============================ */
/* =================================================================== */

/* ----- Import Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

/* ----- CSS Variables ----- */
:root {
    /* === Colors === */
    --color-primary: #c084fc; /* Soft Magenta */
    --color-primary-dark: #9333ea; /* Deep Purple */
    --color-secondary: #f472b6; /* Pink Accent */
    --color-background: #0b0b12; /* True dark with purple hue */
    --color-surface: #18122b; /* Dark purple-gray surface */
    --color-border: #2a1f3d; /* Subtle purple border */
    --color-text-primary: #f5f3ff; /* Very light lavender-white */
    --color-text-secondary: #d8b4fe; /* Muted light purple */
    --color-text-muted: #9f7aea; /* Muted violet for secondary info */

    /* === Typography === */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* === Layout === */
    --header-height: 80px;

    /* === Radius & Shadows === */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --box-shadow-sm: 0 4px 8px -2px rgba(147, 51, 234, 0.25), 0 2px 6px -2px rgba(0, 0, 0, 0.4);
    --box-shadow-md: 0 10px 20px -5px rgba(147, 51, 234, 0.35), 0 4px 8px -4px rgba(0, 0, 0, 0.5);

    /* === Transitions === */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
}


/* ----- Base Styles & Resets ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

/* ----- Custom Cursor ----- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

body:hover .custom-cursor {
    opacity: 1;
}

.custom-cursor.hovered {
    width: 40px;
    height: 40px;
    background-color: rgba(34, 211, 238, 0.2);
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3.8rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ----- Layout & Helpers ----- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: none; /* Use custom cursor */
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(34, 211, 238, 0.1);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* =================================================================== */
/* ======================== HEADER / NAVIGATION ====================== */
/* =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: all var(--transition-medium);
}

.site-header.scrolled {
    padding: 15px 0;
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-md);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    color: var(--color-text-primary);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo-img {
    height: 50px;
    margin-right: 12px;
    transition: transform var(--transition-medium);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--color-text-primary);
    border-radius: 3px;
    transition: all var(--transition-medium);
}

/* =================================================================== */
/* ========================== HERO SECTION =========================== */
/* =================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, var(--color-surface) 0%, var(--color-background) 70%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}
.shape-1 { background-color: var(--color-primary); width: 400px; height: 400px; top: 10%; left: 20%; animation: moveShape 15s infinite alternate; }
.shape-2 { background-color: var(--color-secondary); width: 500px; height: 500px; top: 50%; right: 15%; animation: moveShape 20s infinite alternate-reverse; }
.shape-3 { background-color: var(--color-primary-dark); width: 300px; height: 300px; bottom: 5%; left: 30%; animation: moveShape 18s infinite alternate; }

@keyframes moveShape {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, -30px) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-tagline {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: block;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* =================================================================== */
/* ==================== STATS COUNTER SECTION ======================== */
/* =================================================================== */
.stats-section {
    padding: 80px 0;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: var(--color-border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-value, .stat-unit {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-block;
}
.stat-unit {
    margin-left: 2px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* =================================================================== */
/* ====================== PROCESS TIMELINE SECTION =================== */
/* =================================================================== */
.process-section {
    background-color: var(--color-background);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--color-border);
}

.timeline-item {
    padding: 40px 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border: 4px solid var(--color-primary);
    background-color: var(--color-background);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: transform var(--transition-medium);
}
.timeline-item.visible .timeline-dot {
    transform: translateY(-50%) scale(1.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: var(--border-radius-md);
    position: relative;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
}
.timeline-content:hover {
    transform: scale(1.03);
    border-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.1);
}

.timeline-step {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-border);
    position: absolute;
    top: 15px;
}
.timeline-item:nth-child(odd) .timeline-step { left: 20px; }
.timeline-item:nth-child(even) .timeline-step { right: 20px; }

.timeline-title {
    margin-bottom: 10px;
    color: var(--color-primary);
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* =================================================================== */
/* ======================== SERVICES SECTION ========================= */
/* =================================================================== */
.services-section {
    background-color: var(--color-surface);
}

.services-interactive-wrapper {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.services-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.service-tab-button {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 20px 30px;
    cursor: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: color var(--transition-fast);
}
.service-tab-button svg {
    width: 24px;
    height: 24px;
}
.service-tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.service-tab-button:hover,
.service-tab-button.active {
    color: var(--color-primary);
}
.service-tab-button.active::after {
    transform: scaleX(1);
}

.service-content-pane {
    display: none;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInPane 0.6s forwards;
}
.service-content-pane.active {
    display: grid;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-content-pane img {
    border-radius: var(--border-radius-md);
    object-fit: cover;
    height: 100%;
    max-height: 350px;
}

.pane-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.pane-text p {
    margin-bottom: 25px;
}
.pane-text ul {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.pane-text li {
    position: relative;
    padding-left: 25px;
}
.pane-text li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* =================================================================== */
/* ========================== WHY US SECTION ========================= */
/* =================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.why-us-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--box-shadow-md);
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0, rgba(34, 211, 238, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}
.why-us-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background-color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.card-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* =================================================================== */
/* ===================== TESTIMONIALS SECTION ======================== */
/* =================================================================== */
.testimonials-section {
    background-color: var(--color-surface);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.testimonial-slider {
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    animation: fadeInTestimonial 0.6s forwards;
}
.testimonial-slide.active {
    display: flex;
}

@keyframes fadeInTestimonial {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 30px;
    position: relative;
}
.testimonial-text::before, .testimonial-text::after {
    content: '“';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
}
.testimonial-text::before { top: -20px; left: -40px; }
.testimonial-text::after { content: '”'; bottom: -40px; right: -40px; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-border);
}

.author-info {
    text-align: left;
}
.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
}
.author-title {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: -80px;
    right: -80px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 2rem;
    line-height: 1;
    cursor: none;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

/* =================================================================== */
/* =========================== CTA SECTION =========================== */
/* =================================================================== */
.cta-section {
    background: linear-gradient(to right, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.9)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=1484') no-repeat center center/cover;
}

.cta-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.cta-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* =================================================================== */
/* ============================= FOOTER ============================== */
/* =================================================================== */
.site-footer {
    background-color: var(--color-surface);
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-about {
    max-width: 300px;
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.footer-links-group {
    display: flex;
    gap: 80px;
}

.footer-links-column h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}
.footer-links-column ul a, .footer-links-column ul span {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}
.footer-links-column ul a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 30px 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =================================================================== */
/* ========================= CONTACT PAGE ============================ */
/* =================================================================== */
.contact-page-section {
    padding-top: calc(var(--header-height) + 80px);
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
}
.page-title { font-size: 3.5rem; }
.page-subtitle {
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: 50px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
}
.form-title {
    font-size: 2rem;
    margin-bottom: 30px;
}
.contact-form { display: flex; flex-direction: column; gap: 25px; }
.form-group-row { display: flex; gap: 25px; }
.form-group { width: 100%; }
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}
.contact-form textarea { resize: vertical; }

.btn-submit { align-self: flex-start; }

#form-status { margin-top: 15px; }
#form-status.success { color: #4ade80; }
#form-status.error { color: #f87171; }

.contact-info-card {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
}
.info-title { margin-bottom: 15px; }
.info-description { color: var(--color-text-muted); margin-bottom: 30px; }
.info-list { display: flex; flex-direction: column; gap: 25px; }
.info-list li { display: flex; align-items: center; gap: 15px; }
.info-list svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.info-list a, .info-list span { color: var(--color-text-secondary); }

/* =================================================================== */
/* ========================== LEGAL PAGES ============================ */
/* =================================================================== */
.legal-page-section {
    padding-top: calc(var(--header-height) + 80px);
}
.legal-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-surface);
    padding: 60px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
}
.legal-content-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.legal-content-wrapper h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}
.legal-content-wrapper p, .legal-content-wrapper li {
    line-height: 1.8;
}
.legal-content-wrapper ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 1.25rem;
}
.legal-content-wrapper ul li {
    margin-bottom: 10px;
}

/* =================================================================== */
/* ====================== ANIMATIONS ON SCROLL ======================= */
/* =================================================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in { transform: translateY(20px); }
.fade-in-up { transform: translateY(50px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: var(--delay, 0s);
}

/* =================================================================== */
/* ======================== RESPONSIVE DESIGN ======================== */
/* =================================================================== */

@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .hero-title { font-size: 3.5rem; }

    .nav-links { gap: 30px; }
    .btn-header { display: none; }
    
    .process-timeline::before { left: 30px; }
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) { padding-right: 0; text-align: left; }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
    .timeline-item:nth-child(odd) .timeline-dot { right: auto; left: 20px; }
    .timeline-item:nth-child(even) .timeline-step { right: auto; left: 20px; }

    .why-us-grid { grid-template-columns: 1fr; }
    .slider-nav { left: -20px; right: -20px; }
    .footer-main, .footer-links-group { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.8rem; }
    .custom-cursor { display: none; }
    body { cursor: auto; }
    a, button { cursor: pointer; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(75vw, 400px);
        height: 100vh;
        background-color: var(--color-surface);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: right var(--transition-medium);
    }
    .nav-links.active { right: 0; }
    .nav-link { font-size: 1.2rem; }
    
    .hamburger { display: block; }
    .hamburger.active .hamburger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .hamburger-bar:nth-child(2) { opacity: 0; }
    .hamburger.active .hamburger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    .stat-item:nth-child(2n)::after { display: none; }
    
    .services-tabs { flex-wrap: wrap; }
    .service-content-pane { grid-template-columns: 1fr; }
    .service-content-pane img { max-height: 250px; }
    .pane-text ul { grid-template-columns: 1fr; }

    .slider-nav { display: none; } /* Could be replaced with dots */
    .cta-content-wrapper { flex-direction: column; text-align: center; }
    .form-group-row { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item::after { display: none; }
    .legal-content-wrapper { padding: 30px; }
}