:root {

    /* Colour palette */

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --navy: #0f172a;
    --dark: #111827;
    --text: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);


    /* Typography */

    --heading-font: "Space Grotesk", sans-serif;
    --body-font: "Inter", sans-serif;


    /* Layout */

    --max-width: 1200px;

}


/* ==========================
   RESET & BASE STYLES
   ========================== */


*,
*::before,
*::after {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    font-family: var(--body-font);

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    font-size: 16px;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


ul {

    padding: 0;

    margin: 0;

    list-style: none;

}


/* ==========================
   TYPOGRAPHY
   ========================== */


h1,
h2,
h3,
h4 {

    font-family: var(--heading-font);

    color: var(--navy);

    line-height: 1.2;

    margin-top: 0;

}


h1 {

    font-size: clamp(2.5rem, 5vw, 4.2rem);

    font-weight: 700;

    letter-spacing: -0.04em;

    margin-bottom: 1.25rem;

}


h2 {

    font-size: clamp(2rem, 4vw, 3rem);

    letter-spacing: -0.03em;

    margin-bottom: 1rem;

}


h3 {

    font-size: 1.35rem;

    margin-bottom: 0.75rem;

}


p {

    margin-top: 0;

}


/* ==========================
   LAYOUT
   ========================== */


.container {

    width: min(
        calc(100% - 3rem),
        var(--max-width)
    );

    margin-inline: auto;

}


.narrow {

    max-width: 850px;

}


section {

    padding: 6rem 0;

}



/* ==========================
   SECTION HEADERS
   ========================== */


.section-header {

    max-width: 760px;

    margin-bottom: 3rem;

}


.section-label {

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    margin-bottom: 1rem;

}



/* ==========================
   BUTTONS
   ========================== */


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    padding: 0.85rem 1.75rem;

    border-radius: 0.5rem;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    cursor: pointer;

}


.button:hover {

    transform: translateY(-2px);

}



.button.primary {

    background: var(--primary);

    color: var(--white);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);

}


.button.primary:hover {

    background: var(--primary-dark);

}



.button.secondary {

    border: 2px solid var(--border);

    color: var(--navy);

    background: var(--white);

}


.button.secondary:hover {

    border-color: var(--primary);

    color: var(--primary);

}



.full-width {

    width: 100%;

}


/* ==========================
   HEADER / NAVIGATION
   ========================== */


.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255,255,255,0.92);

    backdrop-filter: blur(12px);

    border-bottom:
        1px solid var(--border);

}


.site-header .container {

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

}



.logo {

    display: flex;

    flex-direction: column;

    font-family: var(--heading-font);

    font-weight: 700;

    line-height: 1;

}


.logo-primary {

    font-size: 1.3rem;

    color: var(--navy);

}


.logo-secondary {

    font-size: 0.8rem;

    color: var(--primary);

    letter-spacing: 0.08em;

    text-transform: uppercase;

}



.nav-menu {

    display: flex;

    align-items: center;

    gap: 2rem;

}



.nav-menu a {

    color: var(--text);

    font-size: 0.95rem;

    font-weight: 500;

    transition: color 0.2s ease;

}



.nav-menu a:hover {

    color: var(--primary);

}
 
/* ==========================
   HERO SECTION
   ========================== */


.hero {

    padding-top: 5rem;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );

}


.hero-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(320px, 0.8fr);

    gap: 4rem;

    align-items: center;

}


.hero-label {

    display: inline-flex;

    align-items: center;

    padding: 0.45rem 0.9rem;

    border-radius: 999px;

    background: #dbeafe;

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    margin-bottom: 1.5rem;

}


.hero h1 {

    max-width: 850px;

}



.hero h2 {

    color: var(--primary);

    font-size: clamp(
        1.3rem,
        2.5vw,
        1.75rem
    );

    font-weight: 600;

    margin-bottom: 1rem;

}



.hero-subtitle {

    font-size: 1.1rem;

    font-weight: 600;

    color: var(--navy);

    margin-bottom: 1.5rem;

}



.hero-text {

    max-width: 760px;

    font-size: 1.1rem;

    color: var(--text);

    margin-bottom: 2rem;

}



.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;

    margin-bottom: 3rem;

}



/* ==========================
   HERO METRICS
   ========================== */


.hero-metrics {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1.5rem;

    padding-top: 2rem;

    border-top:
        1px solid var(--border);

}



.metric {

    display: flex;

    flex-direction: column;

}



.metric-number {

    font-family: var(--heading-font);

    font-size: 2rem;

    font-weight: 700;

    color: var(--navy);

    line-height: 1.2;

}



.metric-label {

    color: var(--muted);

    font-size: 0.9rem;

}



/* ==========================
   HERO CARD
   ========================== */


.hero-card {

    background: var(--white);

    border-radius: 1rem;

    padding: 2rem;

    box-shadow:
        var(--card-shadow);

    border:
        1px solid var(--border);

}



.availability-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.5rem 0.85rem;

    background: #dcfce7;

    color: #166534;

    border-radius: 999px;

    font-size: 0.85rem;

    font-weight: 600;

    margin-bottom: 1.5rem;

}



.hero-card h3 {

    font-size: 1.5rem;

}



.hero-card p {

    color: var(--muted);

    margin-bottom: 1.5rem;

}



.hero-services {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

    margin-bottom: 2rem;

}



.hero-services li {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    color: var(--text);

}



.hero-services i {

    color: var(--primary);

    font-size: 0.9rem;

}





/* ==========================
   TRUSTED SECTION
   ========================== */


.trusted {

    padding: 3rem 0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

}



.trusted-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 2rem;

    align-items: center;

}



.trusted-company {

    text-align: center;

    font-family: var(--heading-font);

    font-weight: 700;

    font-size: 1.15rem;

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: 0.05em;

}





/* ==========================
   INTRO SECTION
   ========================== */


.intro {

    background: var(--light);

}



.intro-text {

    font-size: 1.15rem;

    color: var(--text);

    margin-bottom: 3rem;

}



.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1.5rem;

}



.feature-card {

    background: var(--white);

    padding: 2rem;

    border-radius: 1rem;

    border:
        1px solid var(--border);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}



.feature-card:hover {

    transform: translateY(-5px);

    box-shadow:
        var(--card-shadow);

}



.feature-card i {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 3rem;

    height: 3rem;

    border-radius: 0.75rem;

    background: #dbeafe;

    color: var(--primary);

    font-size: 1.25rem;

    margin-bottom: 1.25rem;

}



.feature-card p {

    color: var(--muted);

    font-size: 0.95rem;

}
 
/* ==========================
   PUBLISHED DOCUMENTATION
   ========================== */


.portfolio {

    background: var(--white);

}



.documentation-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1.5rem;

}



.documentation-card {

    display: flex;

    flex-direction: column;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 1rem;

    padding: 2rem;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}



.documentation-card:hover {

    transform: translateY(-5px);

    box-shadow:
        var(--card-shadow);

}



.documentation-type {

    display: inline-block;

    width: fit-content;

    padding: 0.35rem 0.75rem;

    background: #dbeafe;

    color: var(--primary);

    border-radius: 999px;

    font-size: 0.75rem;

    font-weight: 700;

    margin-bottom: 1rem;

}



.documentation-card h3 {

    font-size: 1.2rem;

}



.documentation-card p {

    color: var(--muted);

    flex-grow: 1;

}



.documentation-card a {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    color: var(--primary);

    font-weight: 600;

    margin-top: 1.25rem;

}



.documentation-card a:hover {

    text-decoration: underline;

}





/* ==========================
   SERVICES
   ========================== */


.services {

    background: var(--light);

}



.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1.5rem;

}



.service-card {

    background: var(--white);

    padding: 2rem;

    border-radius: 1rem;

    border:
        1px solid var(--border);

    transition:
        transform 0.25s ease;

}



.service-card:hover {

    transform: translateY(-5px);

}



.service-card i {

    font-size: 1.75rem;

    color: var(--primary);

    margin-bottom: 1.25rem;

}



.service-card p {

    color: var(--muted);

    font-size: 0.95rem;

}





/* ==========================
   INDUSTRIES
   ========================== */


.industries {

    background: var(--white);

}



.industry-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.industry-tags span {

    padding: 0.65rem 1rem;

    border-radius: 999px;

    background: var(--light);

    border:
        1px solid var(--border);

    color: var(--text);

    font-size: 0.9rem;

    font-weight: 500;

}





/* ==========================
   EXPERIENCE TIMELINE
   ========================== */


.experience {

    background: var(--light);

}



.timeline {

    position: relative;

    max-width: 900px;

}



.timeline::before {

    content: "";

    position: absolute;

    left: 130px;

    top: 0;

    bottom: 0;

    width: 2px;

    background:
        var(--border);

}



.timeline-item {

    display: grid;

    grid-template-columns:
        110px 1fr;

    gap: 2rem;

    position: relative;

    margin-bottom: 3rem;

}



.timeline-date {

    font-weight: 700;

    color: var(--primary);

    font-size: 0.95rem;

}



.timeline-content {

    background: var(--white);

    padding: 2rem;

    border-radius: 1rem;

    border:
        1px solid var(--border);

}



.timeline-content h3 {

    margin-bottom: 0.25rem;

}



.timeline-content h4 {

    color: var(--primary);

    font-size: 1rem;

    margin-bottom: 0.75rem;

}



.timeline-content p {

    color: var(--muted);

}



.timeline-content ul {

    list-style: disc;

    padding-left: 1.25rem;

}



.timeline-content li {

    margin-bottom: 0.5rem;

}



.featured-role .timeline-content {

    border-left:

        4px solid var(--primary);

}





/* ==========================
   PROJECTS
   ========================== */


.projects {

    background: var(--white);

}



.project-grid {

    display: grid;

    grid-template-columns:

        repeat(4, 1fr);

    gap: 1.5rem;

}



.project-card {

    padding: 2rem;

    border-radius: 1rem;

    background: var(--light);

    border:
        1px solid var(--border);

}



.project-card i {

    font-size: 2rem;

    color: var(--primary);

    margin-bottom: 1.25rem;

}



.project-card p {

    color: var(--muted);

}


/* ==========================
   SKILLS
   ========================== */


.skills {

    background: var(--light);

}



.skill-list {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.skill-list span {

    padding: 0.65rem 1rem;

    background: var(--white);

    border:

        1px solid var(--border);

    border-radius: 999px;

    font-size: 0.9rem;

    font-weight: 500;

    color: var(--text);

    transition:

        transform 0.2s ease,

        border-color 0.2s ease;

}



.skill-list span:hover {

    transform: translateY(-2px);

    border-color: var(--primary);

    color: var(--primary);

}





/* ==========================
   EDUCATION
   ========================== */


.education {

    background: var(--white);

}



.education-grid {

    display: grid;

    grid-template-columns:

        repeat(2, 1fr);

    gap: 2rem;

}



.education-grid article {

    padding: 2rem;

    background: var(--light);

    border-radius: 1rem;

    border:

        1px solid var(--border);

}



.education-grid p {

    color: var(--muted);

}



.education-grid ul {

    list-style: disc;

    padding-left: 1.25rem;

}



.education-grid li {

    margin-bottom: 0.5rem;

}





/* ==========================
   CONTACT
   ========================== */


.contact {

    background:

        linear-gradient(

            135deg,

            #0f172a,

            #1e3a8a

        );

    color: var(--white);

}



.contact-box {

    text-align: center;

    max-width: 800px;

}



.contact .section-label {

    color: #93c5fd;

}



.contact h2 {

    color: var(--white);

}



.contact p {

    color: #cbd5e1;

    font-size: 1.1rem;

}



.contact-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 1rem;

    margin-top: 2rem;

}



.contact .button.secondary {

    background: transparent;

    color: var(--white);

    border-color: rgba(255,255,255,0.4);

}



.contact .button.secondary:hover {

    border-color: var(--white);

    color: var(--white);

}





/* ==========================
   FOOTER
   ========================== */


.footer {

    padding: 2rem 0;

    background: #020617;

    color: #94a3b8;

    text-align: center;

    font-size: 0.9rem;

}







/* ==========================
   TABLET RESPONSIVE
   ========================== */


@media (max-width: 1024px) {


    .hero-layout {

        grid-template-columns:

            1fr;

    }



    .hero-card {

        max-width: 600px;

    }



    .hero-metrics {

        grid-template-columns:

            repeat(2, 1fr);

    }



    .feature-grid {

        grid-template-columns:

            repeat(2, 1fr);

    }



    .documentation-grid {

        grid-template-columns:

            repeat(2, 1fr);

    }



    .services-grid {

        grid-template-columns:

            repeat(2, 1fr);

    }



    .project-grid {

        grid-template-columns:

            repeat(2, 1fr);

    }



    .trusted-grid {

        grid-template-columns:

            repeat(2, 1fr);

    }



}





/* ==========================
   MOBILE RESPONSIVE
   ========================== */


@media (max-width: 768px) {


    section {

        padding:

            4rem 0;

    }



    .container {

        width:

            calc(100% - 2rem);

    }



    .site-header .container {

        height:

            auto;

        padding:

            1rem 0;

        flex-wrap:

            wrap;

    }



    .nav-menu {

        width:

            100%;

        order:

            3;

        justify-content:

            center;

        flex-wrap:

            wrap;

        gap:

            1rem;

    }



    .hero {

        padding-top:

            3rem;

    }



    .hero-buttons {

        flex-direction:

            column;

        align-items:

            stretch;

    }



    .button {

        width:

            100%;

    }



    .hero-metrics {

        grid-template-columns:

            1fr;

    }



    .feature-grid,

    .documentation-grid,

    .services-grid,

    .project-grid,

    .education-grid {

        grid-template-columns:

            1fr;

    }



    .trusted-grid {

        grid-template-columns:

            1fr;

    }



    .timeline::before {

        display:

            none;

    }



    .timeline-item {

        grid-template-columns:

            1fr;

        gap:

            0.5rem;

    }



    .timeline-content {

        padding:

            1.5rem;

    }



}





/* ==========================
   SMALL MOBILE
   ========================== */


@media (max-width: 480px) {


    h1 {

        font-size:

            2.3rem;

    }



    h2 {

        font-size:

            1.8rem;

    }



    .hero-card,

    .documentation-card,

    .service-card,

    .project-card {

        padding:

            1.5rem;

    }


}





/* ==========================
   PRINT STYLES
   ========================== */


@media print {


    .site-header,

    .hero-buttons,

    .contact-buttons {

        display:

            none;

    }



    body {

        color:

            #000;

        background:

            #fff;

    }



    section {

        padding:

            1.5rem 0;

    }



    .hero-card,

    .documentation-card,

    .service-card,

    .project-card,

    .timeline-content {

        box-shadow:

            none;

        border:

            1px solid #ccc;

    }


}
