/* =========================
   RESET
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #0f172a;
    background: #ffffff;

    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

img {

    display: block;
    max-width: 100%;
    height: auto;

}

a {

    color: inherit;
    text-decoration: none;

}

ul,
ol {
    list-style: none;
}


/* =========================
   VARIABLES
========================= */

:root {

    --primary: #10b981;
    --primary-dark: #059669;

    --dark: #0f172a;
    --gray: #64748b;

    --border: #e2e8f0;
    --bg-light: #f8fafc;

    --radius: 16px;

    --container: 1200px;

    --shadow:
        0 10px 30px rgba(15, 23, 42, 0.06);

}


/* =========================
   GLOBAL
========================= */

.container {

    width: min(100% - 40px, var(--container));
    margin-inline: auto;

}

section {

    padding: 100px 0;

}

h1,
h2,
h3 {

    line-height: 1.15;
    font-weight: 800;
    color: var(--dark);

}

h1 {

    font-size: clamp(
        2.5rem,
        5vw,
        4.5rem
    );

}

h2 {

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    margin-bottom: 24px;

}

h3 {

    font-size: 1.25rem;
    margin-bottom: 12px;

}

p {

    color: var(--gray);

}


/* =========================
   HEADER
========================= */

.site-header {

    position: sticky;
    top: 0;

    z-index: 999;

    background: rgba(
        255,
        255,
        255,
        0.9
    );

    backdrop-filter: blur(10px);

    border-bottom:
        1px solid rgba(
            226,
            232,
            240,
            0.7
        );

}

.site-header .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 80px;

}

.logo {

    font-size: 1.5rem;
    font-weight: 800;

}

.logo:hover {

    color: var(--primary);

}

nav ul {

    display: flex;
    gap: 32px;

}

nav a {

    color: var(--gray);
    font-weight: 500;

    transition: .2s;

}

nav a:hover {

    color: var(--primary);

}


/* =========================
   HERO
========================= */

.hero {

    padding-top: 120px;

}

.hero .container {

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;

    align-items: center;

}

.eyebrow {

    display: inline-flex;

    padding: 8px 14px;

    background: #ecfdf5;

    color: var(--primary-dark);

    border-radius: 999px;

    font-weight: 600;
    font-size: .9rem;

    margin-bottom: 24px;

}

.hero-description {

    max-width: 650px;

    margin-top: 24px;
    margin-bottom: 36px;

    font-size: 1.1rem;

}

.hero-cta {

    display: flex;
    gap: 16px;

    margin-bottom: 48px;

}

.btn-primary,
.btn-secondary {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding:
        0 24px;

    border-radius: 12px;

    font-weight: 600;

    transition: .25s;

}

.btn-primary {

    background: var(--primary);
    color: white;

}

.btn-primary:hover {

    background: var(--primary-dark);

}

.btn-secondary {

    border: 1px solid var(--border);

}

.btn-secondary:hover {

    background: var(--bg-light);

}

.hero-stats {

    display: flex;
    gap: 40px;

    flex-wrap: wrap;

}

.hero-stats li {

    display: flex;
    flex-direction: column;

}

.hero-stats strong {

    color: var(--dark);
    font-size: 1.2rem;

}

.hero-image {

    position: relative;

}

.hero-image img {

    border-radius: 24px;

}


/* =========================
   ABOUT
========================= */

#about {

    background: var(--bg-light);

}

.skill-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 24px;

    margin-top: 48px;

}

.skill-grid article {

    background: white;

    padding: 32px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


/* =========================
   EXPERTISE
========================= */

.expertise-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 24px;

    margin-top: 48px;

}

.expertise-grid article {

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 32px;

    transition: .25s;

}

.expertise-grid article:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}

.expertise-grid ul {

    list-style: disc;
    padding-left: 18px;

}

.expertise-grid li {

    margin-bottom: 8px;
    color: var(--gray);

}


/* =========================
   TIMELINE
========================= */

#experience {

    background: #081224;

    color: white;

}

#experience h2,
#experience h3 {

    color: white;

}

.timeline {

    margin-top: 60px;

    display: grid;
    gap: 24px;

}

.timeline li {

    padding: 32px;

    background: rgba(
        255,
        255,
        255,
        .05
    );

    border-radius: 16px;

}


/* =========================
   CASE STUDIES
========================= */

.case-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 24px;

    margin-top: 48px;

}

.case-grid article {

    padding: 32px;

    border-radius: 16px;

    border: 1px solid var(--border);

    transition: .25s;

}

.case-grid article:hover {

    box-shadow: var(--shadow);

}


/* =========================
   CONTACT
========================= */

#contact {

    background: var(--bg-light);

}

form {

    margin-top: 40px;

    max-width: 800px;

}

label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

}

input,
textarea {

    width: 100%;

    border:
        1px solid var(--border);

    border-radius: 12px;

    padding: 16px;

    margin-bottom: 24px;

    font: inherit;

}

textarea {

    min-height: 180px;
    resize: vertical;

}

button {

    cursor: pointer;

    border: none;

    background: var(--primary);

    color: white;

    padding:
        16px 28px;

    border-radius: 12px;

    font-weight: 600;

}

button:hover {

    background: var(--primary-dark);

}


/* =========================
   FOOTER
========================= */

footer {

    padding: 40px 0;

    border-top:
        1px solid var(--border);

}

footer .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

}


/* =========================
   MOBILE
========================= */

@media (max-width: 992px) {

    .hero .container,
    .skill-grid,
    .expertise-grid,
    .case-grid {

        grid-template-columns: 1fr;

    }

    .hero {

        text-align: center;

    }

    .hero-cta {

        justify-content: center;

    }

    .hero-stats {

        justify-content: center;

    }

}

@media (max-width: 768px) {

    nav {

        display: none;

    }

    section {

        padding: 72px 0;

    }

    .hero {

        padding-top: 80px;

    }

    h1 {

        font-size: 2.5rem;

    }

}