:root {
    /* Colors */
    --bg: #F5F8FB;
    --surface: #FFFFFF;
    --ink: #061428;
    --muted: #6B7A8A;
    --primary-1: #0F63B3;
    --primary-2: #062A4F;
    --accent: #00C4B4;
    --success: #16A34A;
    --error: #E02424;
    --divider: #E6EEF6;

    /* Gradients */
    --main-gradient: linear-gradient(135deg, var(--primary-1), var(--primary-2));

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-unit: 8px;
    --radius-lg: 12px;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 20px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--accent);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-1);
    color: var(--primary-1);
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--surface);
    height: var(--header-height);
    transition: height 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--divider);
}

.site-header.scrolled {
    height: calc(var(--header-height) - 8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}



.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    color: var(--ink);
}

.main-nav a:hover {
    color: var(--primary-1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-box {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--primary-2);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--bg);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 16px;
    color: var(--primary-2);
}

.hero-content .subline {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.hero-image img,
.hero-image div {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 300px;
        height: 100vh;
        background: var(--surface);
        padding: 80px 24px 40px;
        flex-direction: column;
        border-right: none;
        border-left: 1px solid var(--divider);
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 990;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions .btn {
        display: none;
        /* Hide Hire Talent button on mobile to save space, or keep? User said 'header available'. kept simple */
    }

    /* Show Hire Talent in menu instead? No, let's keep it but maybe smaller or relying on menu */
    /* Reverting hide, just styling toggle */
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
        /* Hide CTA in header on small mobile to make room for logo and burger */
    }

    section {
        padding: 40px 0;
        /* Reduce section padding */
    }

    .hero {
        padding: 40px 0;
    }

    h1 {
        font-size: 32px;
        /* Adjust from 28px/40px */
    }

    h2 {
        font-size: 24px;
    }

    /* Mobile Menu adjustments */
    .main-nav {
        /* Keep side drawer style */
        height: 100vh;
    }
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--divider);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-1);
}

.card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.card ul {
    margin-bottom: 24px;
}

.card li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
}

.card li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

/* Feature Cards */
.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--divider);
}

.feature-icon {
    color: var(--accent);
    flex-shrink: 0;
}

/* Job Cards */
.job-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--bg);
    color: var(--muted);
    font-weight: 600;
}

.job-card h3 {
    margin-bottom: 8px;
}

.job-location {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    color: var(--primary-2);
}

.section-header p {
    color: var(--muted);
    font-size: 18px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Timeline (How It Works) */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--divider);
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 16px;
    min-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
    color: var(--accent);
    font-size: 20px;
}

.timeline-step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 14px;
    color: var(--muted);
}

/* Testimonials Carousel */
.testimonials-section {
    background: var(--surface);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    text-align: center;
    max-width: 600px;
    padding: 32px;
    border: none;
    box-shadow: none;
}

.quote {
    font-size: 24px;
    font-style: italic;
    color: var(--primary-2);
    margin-bottom: 32px;
    line-height: 1.4;
}

.author-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--ink);
    display: block;
}

.author-role {
    color: var(--muted);
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-1);
    font-size: 24px;
    padding: 10px;
    z-index: 10;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--divider);
    border: none;
    cursor: pointer;
}

.dot.active {
    background: var(--accent);
}

/* Footer */
.site-footer {
    background: var(--primary-2);
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: #FFFFFF;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}