/* =========================================================
   BLACK + PURPLE PORTFOLIO THEME
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #f5f3ff;

    background: #070509;

    line-height: 1.6;

    overflow-x: hidden;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black: #070509;

    --black-2: #0d0912;

    --black-3: #120c18;

    --purple: #8b5cf6;

    --purple-light: #a78bfa;

    --purple-dark: #6d28d9;

    --purple-glow:
        rgba(139, 92, 246, 0.35);

    --text: #f5f3ff;

    --text-muted: #aaa3b8;

    --border:
        rgba(167, 139, 250, 0.18);

}


/* =========================================================
   GENERAL
========================================================= */

.container {

    width: 90%;

    max-width: 1100px;

    margin: auto;

}

h1,
h2,
h3,
h4 {

    line-height: 1.2;

}

h2 {

    font-size: 42px;

    margin-top: 0;

    color: #ffffff;

}

p {

    color: var(--text-muted);

}


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

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(7, 5, 9, 0.85);

    backdrop-filter: blur(15px);

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

}

.navbar {

    width: 90%;

    max-width: 1100px;

    height: 70px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    color: white;

    font-size: 20px;

    font-weight: bold;

    text-decoration: none;

}

.logo:hover {

    color: var(--purple-light);

}

.nav-links {

    display: flex;

    gap: 25px;

}

.nav-links a {

    color: #b8b0c5;

    text-decoration: none;

    font-size: 14px;

    transition: 0.25s;

}

.nav-links a:hover {

    color: var(--purple-light);

}


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

.hero {

    position: relative;

    min-height: 720px;

    padding:
        120px 5%
        130px;

    display: grid;

    grid-template-columns:
        1.7fr
        1fr;

    gap: 70px;

    align-items: center;

    background:

        radial-gradient(
            circle at 15% 20%,
            rgba(139, 92, 246, 0.20),
            transparent 35%
        ),

        radial-gradient(
            circle at 85% 30%,
            rgba(109, 40, 217, 0.16),
            transparent 35%
        ),

        #070509;

}


/* Purple glow behind hero */

.hero::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    right: -180px;

    top: 80px;

    border-radius: 50%;

    background:
        rgba(139, 92, 246, 0.12);

    filter: blur(100px);

    pointer-events: none;

}


/* =========================================================
   CURVED HERO BOTTOM
========================================================= */

.hero::after {

    content: "";

    position: absolute;

    left: -10%;

    bottom: -100px;

    width: 120%;

    height: 180px;

    background: var(--black-2);

    border-radius: 50% 50% 0 0 / 100% 100% 0 0;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

}

.small-title {

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;

    color: var(--purple-light);

}

.hero h1 {

    margin:
        10px 0;

    font-size:
        clamp(
            55px,
            8vw,
            90px
        );

    line-height: 0.95;

    background:

        linear-gradient(
            90deg,
            #ffffff,
            #c4b5fd,
            #8b5cf6
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}

.hero h2 {

    font-size: 25px;

    color: #d8d0e4;

}

.intro {

    font-size: 18px;

    max-width: 650px;

}


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

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

.buttons {
    display: flex;

    gap: 14px;

    margin-top: 30px;

    flex-wrap: wrap;
}


.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;

    font-size: 14px;

    color: #071017;

    background: #67e8f9;

    border: 1px solid #67e8f9;

    box-shadow:
        0 8px 25px rgba(103, 232, 249, 0.12);

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


.button:hover {
    transform: translateY(-3px);

    background: #67e8f9;

    box-shadow:
        0 12px 30px rgba(103, 232, 249, 0.22);
}

.button span,
.button-outline span {
    display: inline-block;

    transition:
        transform 0.25s ease;
}


.button:hover span,
.button-outline:hover span {
    transform: translate(3px, -2px);
}

.button-outline {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;

    font-size: 14px;

    color: #071017;

    background: #67e8f9;

    border: 1px solid #67e8f9;

    box-shadow:
        0 8px 25px rgba(103, 232, 249, 0.12);

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


.button-outline:hover {
    transform: translateY(-3px);

    background: #67e8f9;

    border-color: #67e8f9;

    box-shadow:
        0 12px 30px rgba(103, 232, 249, 0.22);
}



/* =========================================================
   PROFILE CARD
========================================================= */

.profile-box {

    position: relative;

    z-index: 2;

    padding: 35px;

    background:

        linear-gradient(
            145deg,
            rgba(25, 18, 34, 0.95),
            rgba(12, 8, 16, 0.95)
        );

    border:
        1px solid
        rgba(167, 139, 250, 0.25);

    border-radius: 22px;

    box-shadow:

        0 20px 70px
        rgba(0, 0, 0, 0.5),

        0 0 45px
        rgba(139, 92, 246, 0.12);

}


/* Purple glow around card */

.profile-box::before {

    content: "";

    position: absolute;

    inset: -1px;

    border-radius: 22px;

    background:

        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.35),
            transparent 40%,
            rgba(109, 40, 217, 0.25)
        );

    z-index: -1;

    filter: blur(8px);

}

.profile-circle {

    width: 100px;

    height: 100px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 25px;

    font-weight: bold;

    margin-bottom: 25px;

    background:

        linear-gradient(
            135deg,
            #8b5cf6,
            #4c1d95
        );

    box-shadow:

        0 0 35px
        rgba(139, 92, 246, 0.5);

}

.profile-box h3 {

    color: white;

}

.profile-box hr {

    border: none;

    border-top:
        1px solid
        rgba(167, 139, 250, 0.15);

    margin:
        25px 0;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    position: relative;

    padding:
        80px 0;

    background:
        var(--black-2);

}

.section.gray {

    background:
        var(--black-3);

}


/* =========================================================
   CURVED SECTION TOP
========================================================= */

.section.gray::before {

    content: "";

    position: absolute;

    top: -70px;

    left: -5%;

    width: 110%;

    height: 130px;

    background:
        var(--black-3);

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;

}


/* =========================================================
   TEXT
========================================================= */

.large-text {

    max-width: 800px;

    font-size: 18px;

    color: #aaa3b8;

}


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

.experience {

    display: flex;

    flex-direction: column;

    gap: 40px;

}

.experience-item {

    display: grid;

    grid-template-columns:
        170px
        1fr;

    gap: 30px;

}

.date {

    color:
        #9f8bb8;

    font-weight:
        bold;

}

.experience-content {

    position: relative;

    padding: 30px;

    background:

        linear-gradient(
            145deg,
            #16101d,
            #0d0912
        );

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

    border-radius: 18px;

    transition:
        0.3s;

}

.experience-content:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(
            167,
            139,
            250,
            0.45
        );

    box-shadow:

        0 15px 45px
        rgba(
            139,
            92,
            246,
            0.12
        );

}

.experience-content h3 {

    color: white;

    margin-top: 0;

}

.experience-content h4 {

    color:
        var(--purple-light);

    font-weight:
        normal;

}


/* =========================================================
   CARDS
========================================================= */

.cards {

    display: grid;

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

    gap: 20px;

}

.card {

    padding: 30px;

    background:

        linear-gradient(
            145deg,
            #16101d,
            #0c0810
        );

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

    border-radius: 18px;

    transition:
        0.3s;

}

.card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(
            167,
            139,
            250,
            0.45
        );

    box-shadow:

        0 15px 40px
        rgba(
            139,
            92,
            246,
            0.12
        );

}

.card h3 {

    color:
        white;

}

.card h4 {

    color:
        var(--purple-light);

    font-weight:
        normal;

}


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

.skills {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.skills span {

    padding:
        9px 17px;

    border:
        1px solid
        rgba(
            167,
            139,
            250,
            0.25
        );

    border-radius:
        30px;

    background:
        rgba(
            139,
            92,
            246,
            0.07
        );

    color:
        #c4b5fd;

    font-size:
        14px;

    transition:
        0.25s;

}

.skills span:hover {

    background:
        rgba(
            139,
            92,
            246,
            0.2
        );

    border-color:
        #8b5cf6;

    box-shadow:
        0 0 20px
        rgba(
            139,
            92,
            246,
            0.2
        );

}


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

.projects {

    display: grid;

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

    gap: 20px;

}

.project {

    position: relative;

    padding: 30px;

    background:

        linear-gradient(
            145deg,
            #16101d,
            #0c0810
        );

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

    border-radius: 18px;

    overflow:
        hidden;

    transition:
        0.3s;

}

.project::before {

    content: "";

    position: absolute;

    width: 150px;

    height: 150px;

    right: -80px;

    top: -80px;

    border-radius: 50%;

    background:
        rgba(
            139,
            92,
            246,
            0.15
        );

    filter:
        blur(20px);

}

.project:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(
            167,
            139,
            250,
            0.45
        );

    box-shadow:

        0 20px 50px
        rgba(
            139,
            92,
            246,
            0.15
        );

}

.project-number {

    color:
        #8b5cf6;

    font-weight:
        bold;

    margin-bottom:
        25px;

}

.project h3 {

    color:
        white;

}

.tags {

    display:
        flex;

    gap:
        7px;

    flex-wrap:
        wrap;

    margin-top:
        10px;

}

.tags span {

    padding:
        5px 10px;

    border-radius:
        20px;

    background:
        rgba(
            139,
            92,
            246,
            0.1
        );

    color:
        #c4b5fd;

    font-size:
        12px;

}


/* =========================================================
   CV SECTION
========================================================= */

.cv-section {

    position: relative;

    padding:
        90px 0;

    background:

        radial-gradient(
            circle at 50% 50%,
            rgba(
                139,
                92,
                246,
                0.22
            ),
            transparent 60%
        ),

        #0b0710;

}

.cv {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

}

.cv h2 {

    margin-bottom:
        10px;

}

.cv p {

    color:
        #aaa3b8;

}

.cv-button {

    background:

        linear-gradient(
            135deg,
            #a78bfa,
            #7c3aed
        );

}


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

.contact {

    display:
        grid;

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

    gap:
        20px;

}

.contact .card {

    text-align:
        center;

}

.contact a {

    color:
        #c4b5fd;

    text-decoration:
        none;

}

.contact a:hover {

    color:
        #ffffff;

}


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

footer {

    padding:
        35px 0;

    background:
        #050407;

    border-top:
        1px solid
        rgba(
            167,
            139,
            250,
            0.15
        );

}

.footer {

    display:
        flex;

    justify-content:
        space-between;

    color:
        #746b80;

    font-size:
        14px;

}


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

@media (max-width: 750px) {

    .navbar {
        height: auto;
        min-height: 70px;

        padding: 12px 0;
    }

    .nav-links {
        display: flex;

        max-width: 75vw;

        overflow-x: auto;

        gap: 16px;

        padding-bottom: 3px;

        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        white-space: nowrap;

        font-size: 12px;
    }

    .language-toggle {
        flex-shrink: 0;
    }

    .hero {

        grid-template-columns:
            1fr;

        padding:
            80px 5%
            120px;

    }

    .hero h1 {

        font-size:
            55px;

    }

    .experience-item {

        grid-template-columns:
            1fr;

        gap:
            5px;

    }

    .cards,
    .projects,
    .contact {

        grid-template-columns:
            1fr;

    }

    .cv {

        flex-direction:
            column;

        align-items:
            flex-start;

    }

    .footer {

        flex-direction:
            column;

        gap:
            10px;

    }

}

/* =========================================
   HERO KEYWORDS
========================================= */

.hero-keywords {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 24px;
}


.hero-keywords span {
    display: inline-flex;

    align-items: center;

    padding: 7px 12px;

    border-radius: 8px;

    border: 1px solid rgba(103, 232, 249, 0.16);

    background: rgba(103, 232, 249, 0.035);

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.72rem;

    font-weight: 600;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/*.hero-keywords span:hover {
    transform: translateY(-2px);

    border-color: rgba(103, 232, 249, 0.4);

    background: rgba(103, 232, 249, 0.08);

    color: #67e8f9;
} */

/* =========================================================
   PURPLE FLOATING GLOW
========================================================= */

.hero::before {

    animation:
        purpleFloat 8s ease-in-out infinite;

}

@keyframes purpleFloat {

    0% {

        transform:
            translate(
                0px,
                0px
            )
            scale(1);

        opacity: 0.7;

    }

    50% {

        transform:
            translate(
                -30px,
                25px
            )
            scale(1.15);

        opacity: 1;

    }

    100% {

        transform:
            translate(
                0px,
                0px
            )
            scale(1);

        opacity: 0.7;

    }

}

.section h2 {

    position: relative;

    display: inline-block;

    padding-bottom: 14px;

}

.section h2::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 55px;

    height: 3px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #8b5cf6,
            #6d28d9
        );

    box-shadow:
        0 0 12px
        rgba(
            139,
            92,
            246,
            0.7
        );

}

/* =========================================================
   LANGUAGE TOGGLE
========================================================= */

.language-toggle {

    padding: 7px 13px;

    border-radius: 20px;

    border:
        1px solid
        rgba(167, 139, 250, 0.45);

    background:
        rgba(139, 92, 246, 0.10);

    color:
        #c4b5fd;

    font-size: 12px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.25s;

}

.language-toggle:hover {

    background:
        rgba(139, 92, 246, 0.25);

    border-color:
        #8b5cf6;

    color:
        white;

    box-shadow:
        0 0 15px
        rgba(
            139,
            92,
            246,
            0.35
        );

}

/* =========================
   CASE STUDY
========================= */

.case-study {
    display: none;
    margin-top: 50px;
    padding: 45px;
    border: 1px solid rgba(150, 70, 255, 0.25);
    border-radius: 20px;
    background: rgba(20, 10, 30, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.case-study.active {
    display: block;
    animation: caseStudyFade 0.4s ease;
}

@keyframes caseStudyFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.case-study-header {
    margin-bottom: 40px;
}

.case-study-header h3 {
    font-size: 2rem;
    margin-top: 10px;
}


.case-study-section {
    margin-bottom: 35px;
}

.case-study-section h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}


.case-study-section p {
    line-height: 1.8;
    max-width: 850px;
}


/* TECHNOLOGY / SKILL BADGES */

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    margin-bottom: 10px;
}

.project-skills span {
    padding: 7px 13px;
    border-radius: 20px;
    border: 1px solid rgba(150, 70, 255, 0.35);
    background: rgba(120, 40, 200, 0.08);
    font-size: 0.82rem;
}

.project-skills.large {
    gap: 10px;
}


/* ARCHITECTURE */

.architecture {
    margin-top: 30px;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(150, 70, 255, 0.15);
    text-align: center;
}

.architecture-node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    min-width: 180px;
    padding: 15px 25px;

    border: 1px solid rgba(150, 70, 255, 0.35);
    border-radius: 14px;

    background: rgba(120, 40, 200, 0.06);

    transition: 0.3s ease;
}

.architecture-node:hover {
    transform: translateY(-3px);
    border-color: rgba(170, 80, 255, 0.7);
    box-shadow: 0 8px 25px rgba(120, 40, 200, 0.15);
}

.architecture-icon {
    font-size: 1.5rem;
}

.architecture-line {
    width: 2px;
    height: 35px;
    margin: auto;

    background: rgba(150, 70, 255, 0.4);
}

.architecture-main-node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    padding: 20px 35px;

    border: 1px solid rgba(170, 80, 255, 0.6);
    border-radius: 16px;

    background: rgba(120, 40, 200, 0.1);

    box-shadow: 0 0 25px rgba(120, 40, 200, 0.08);
}

.architecture-main-node small,
.architecture-service small {
    opacity: 0.65;
    font-size: 0.78rem;
}

.architecture-services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.architecture-service {
    min-width: 150px;

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 16px 20px;

    border: 1px solid rgba(150, 70, 255, 0.25);
    border-radius: 12px;

    background: rgba(120, 40, 200, 0.04);

    transition: 0.3s ease;
}

.architecture-service:hover {
    transform: translateY(-3px);
    border-color: rgba(170, 80, 255, 0.6);
}


/* =========================
   TECHNOLOGY BADGES
========================= */

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tech-badge {
    display: inline-block;

    padding: 7px 14px;

    border-radius: 20px;

    border: 1px solid rgba(150, 70, 255, 0.45);

    background: rgba(120, 40, 200, 0.08);

    color: #d8b4ff;

    font-size: 0.82rem;
    font-weight: 500;

    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-2px);

    border-color: rgba(180, 100, 255, 0.8);

    background: rgba(120, 40, 200, 0.18);

    box-shadow: 0 5px 20px rgba(120, 40, 200, 0.15);
}

/* =========================
   CASE STUDY IMAGES
========================= */

.case-study-image {
    margin: 30px 0;
    text-align: center;
}

.case-study-image img {
    display: block;

    width: 100%;
    max-width: 900px;

    height: auto;

    margin: 0 auto;

    border-radius: 15px;

    border: 1px solid rgba(150, 70, 255, 0.25);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(120, 40, 200, 0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.case-study-image img:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(120, 40, 200, 0.15);
}

.case-study-image p {
    margin-top: 12px;

    font-size: 0.82rem;

    opacity: 0.65;
}

/* =========================
   KEY TAKEAWAYS
========================= */

.key-takeaways {
    margin-top: 45px;
    padding: 30px;

    border-radius: 18px;

    border: 1px solid rgba(150, 70, 255, 0.3);

    background:
        linear-gradient(
            135deg,
            rgba(120, 40, 200, 0.08),
            rgba(0, 0, 0, 0.15)
        );
}

.key-takeaways h4 {
    margin-bottom: 20px;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.key-takeaways li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* =========================
   ANALYTICS CASE STUDY
========================= */

.analysis-question-group {
    margin: 25px 0;
}

.analysis-question-group h5 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.analysis-question-group ul {
    padding-left: 20px;
}

.analysis-question-group li {
    margin-bottom: 8px;
    line-height: 1.6;
}


/* METRICS */

.analysis-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.metric-card {
    padding: 22px 15px;
    text-align: center;

    border-radius: 15px;

    border: 1px solid rgba(150, 70, 255, 0.25);

    background: rgba(120, 40, 200, 0.05);

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-card strong {
    font-size: 1.7rem;
}

.metric-card span {
    font-size: 0.78rem;
    opacity: 0.65;
}


/* CHART PLACEHOLDER */

.chart-placeholder {
    min-height: 280px;

    margin: 25px 0;

    border-radius: 16px;

    border: 1px dashed rgba(150, 70, 255, 0.35);

    background: rgba(0, 0, 0, 0.15);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 8px;

    text-align: center;
}

.chart-placeholder span {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.75;
}

.chart-placeholder small {
    opacity: 0.45;
}


/* ANALYSIS RESULT */

.analysis-result {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 20px;
    padding: 15px 18px;

    border-left: 3px solid rgba(150, 70, 255, 0.6);

    background: rgba(120, 40, 200, 0.05);

    border-radius: 8px;
}


/* FINDINGS */

.finding-list,
.recommendation-list {
    padding-left: 22px;
}

.finding-list li,
.recommendation-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* =========================================
   ANALYTICS VISUALIZATIONS
========================================= */

.analytics-chart {
    margin-top: 30px;
    padding: 25px;

    border-radius: 18px;

    border: 1px solid rgba(150, 70, 255, 0.22);

    background: rgba(120, 40, 200, 0.035);

    overflow-x: auto;
}


.chart-heading {
    margin-bottom: 25px;
}

.chart-heading h5 {
    margin: 0 0 7px;
    font-size: 1rem;
}

.chart-heading p {
    margin: 0;
    opacity: 0.55;
    font-size: 0.82rem;
}


.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;

    min-width: 620px;
}


.chart-row {
    display: grid;

    grid-template-columns: 55px 1fr 80px;

    align-items: center;

    gap: 10px;
}


.chart-label {
    font-size: 0.72rem;
    opacity: 0.55;
}


.chart-track {
    height: 22px;

    overflow: hidden;

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.045);
}


.chart-bar {
    height: 100%;

    border-radius: 6px;

    background:
        linear-gradient(
            90deg,
            rgba(120, 40, 200, 0.45),
            rgba(170, 80, 255, 0.9)
        );

    transition: width 0.8s ease;
}


.chart-value {
    font-size: 0.72rem;

    text-align: right;

    opacity: 0.65;

    white-space: nowrap;
}


/* =========================================
   FILE TYPE BREAKDOWN
========================================= */

.bandwidth-breakdown {
    margin-top: 30px;
    padding: 28px;

    border-radius: 18px;

    border: 1px solid rgba(150, 70, 255, 0.18);

    background: rgba(255, 255, 255, 0.02);
}


.breakdown-header h5 {
    margin: 0 0 8px;
}

.breakdown-header p {
    margin: 0 0 28px;

    font-size: 0.85rem;

    line-height: 1.6;

    opacity: 0.6;
}


.filetype-row {
    margin-bottom: 20px;
}

.filetype-row:last-child {
    margin-bottom: 0;
}


.filetype-info {
    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 0.82rem;
}


.filetype-info strong {
    opacity: 0.7;
}


.filetype-bar {
    height: 9px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
}


.filetype-bar span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            rgba(120, 40, 200, 0.45),
            rgba(170, 80, 255, 0.85)
        );
}


.filetype-row small {
    display: block;

    margin-top: 5px;

    font-size: 0.7rem;

    opacity: 0.5;
}


/* =========================================
   DOCUMENT IMPACT
========================================= */

.document-impact {
    margin-top: 30px;

    padding: 28px;

    border-radius: 18px;

    border: 1px solid rgba(150, 70, 255, 0.18);

    background: rgba(255, 255, 255, 0.02);
}


.document-impact-header {
    margin-bottom: 22px;
}


.document-impact-header h5 {
    margin: 0 0 8px;
}


.document-impact-header p {
    margin: 0;

    font-size: 0.85rem;

    line-height: 1.6;

    opacity: 0.6;
}


.document-row {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 17px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.document-rank {
    min-width: 30px;

    font-size: 0.75rem;

    font-weight: 700;

    opacity: 0.3;
}


.document-details {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.document-details strong {
    font-size: 0.85rem;

    line-height: 1.5;

    word-break: break-word;
}


.document-details span {
    font-size: 0.75rem;

    opacity: 0.55;
}


/* =========================================
   MAJOR FINDINGS
========================================= */

.major-finding {
    margin-top: 30px;

    padding: 32px;

    border-radius: 20px;

    border: 1px solid rgba(170, 80, 255, 0.35);

    background:
        linear-gradient(
            135deg,
            rgba(120, 40, 200, 0.10),
            rgba(120, 40, 200, 0.025)
        );
}


.major-finding strong {
    display: block;

    margin: 8px 0;

    font-size: 3rem;

    line-height: 1;

    background:
        linear-gradient(
            135deg,
            #d8b4ff,
            #8b5cf6
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.major-finding p {
    margin: 0;

    max-width: 700px;

    line-height: 1.7;

    opacity: 0.75;
}


.major-finding small {
    display: block;

    margin-top: 14px;

    max-width: 750px;

    font-size: 0.72rem;

    line-height: 1.6;

    opacity: 0.45;
}


.major-finding.secondary {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025),
            rgba(120, 40, 200, 0.04)
        );
}


/* MOBILE */

@media (max-width: 700px) {

    .analytics-chart,
    .bandwidth-breakdown,
    .document-impact,
    .major-finding {
        padding: 20px;
    }

    .major-finding strong {
        font-size: 2.4rem;
    }

}


/* =========================================
   SEARCH BEHAVIOR
========================================= */

.search-comparison {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;

    margin-top: 30px;
}

.search-period {
    flex: 1;

    max-width: 330px;

    padding: 30px;

    border-radius: 20px;

    border: 1px solid rgba(150, 70, 255, 0.20);

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

    text-align: center;
}

.search-period.highlight {
    border-color: rgba(170, 80, 255, 0.55);

    background:
        linear-gradient(
            145deg,
            rgba(120, 40, 200, 0.11),
            rgba(120, 40, 200, 0.025)
        );
}

.search-period > span {
    display: block;

    font-size: 0.78rem;

    letter-spacing: 0.1em;

    opacity: 0.55;
}

.search-period strong {
    display: block;

    margin: 15px 0;

    font-size: 3rem;

    background:
        linear-gradient(
            135deg,
            #d8b4ff,
            #8b5cf6
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-period p {
    margin: 0;

    font-size: 0.82rem;

    line-height: 1.6;

    opacity: 0.6;
}

.search-arrow {
    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    opacity: 0.35;
}

.search-result {
    margin-top: 20px;
}

.search-insight {
    margin-top: 25px;

    padding: 22px 25px;

    border-left: 3px solid rgba(170, 80, 255, 0.55);

    border-radius: 0 12px 12px 0;

    background: rgba(120, 40, 200, 0.045);
}

.search-insight p {
    margin: 10px 0 0;

    line-height: 1.7;

    opacity: 0.72;
}


@media (max-width: 650px) {

    .search-comparison {
        flex-direction: column;
        align-items: center;
    }

    .search-period {
        width: 100%;
        max-width: none;
    }

    .search-arrow {
        transform: rotate(90deg);
    }

}

/* =========================================
   COUNTRY BANDWIDTH
========================================= */

.country-bandwidth-chart {
    margin-top: 30px;

    padding: 28px;

    border-radius: 18px;

    border: 1px solid rgba(150, 70, 255, 0.18);

    background: rgba(255, 255, 255, 0.02);
}

.country-row {
    margin-bottom: 22px;
}

.country-row:last-child {
    margin-bottom: 0;
}

.country-info {
    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 0.82rem;
}

.country-info strong {
    opacity: 0.7;
}

.country-bar {
    height: 10px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
}

.country-bar span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            rgba(120, 40, 200, 0.45),
            rgba(170, 80, 255, 0.85)
        );
}

.country-row small {
    display: block;

    margin-top: 5px;

    font-size: 0.7rem;

    opacity: 0.45;
}

/* =========================================
   DOCUMENT BANDWIDTH BREAKDOWN
========================================= */

.doc-bandwidth-breakdown {
    display: grid;

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

    gap: 15px;

    margin-top: 25px;
}


.doc-breakdown-card {
    padding: 20px;

    border-radius: 15px;

    border: 1px solid rgba(150, 70, 255, 0.20);

    background: rgba(255, 255, 255, 0.025);
}


.doc-breakdown-card.bot {
    border-color: rgba(170, 80, 255, 0.35);

    background: rgba(120, 40, 200, 0.06);
}


.doc-breakdown-card > span {
    display: block;

    margin-bottom: 8px;

    font-size: 0.75rem;

    font-weight: 600;

    opacity: 0.65;
}


.doc-breakdown-card strong {
    display: block;

    margin: 5px 0;

    font-size: 1.8rem;

    background:
        linear-gradient(
            135deg,
            #d8b4ff,
            #8b5cf6
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.doc-breakdown-card small {
    display: block;

    font-size: 0.7rem;

    line-height: 1.5;

    opacity: 0.5;
}


.analysis-footnote {
    display: block;

    margin-top: 18px;

    max-width: 800px;

    font-size: 0.72rem;

    line-height: 1.6;

    opacity: 0.42;
}


@media (max-width: 650px) {

    .doc-bandwidth-breakdown {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   BOT MINI BREAKDOWN
========================================= */

.bot-breakdown {
    margin-top: 25px;
}


.bot-breakdown-row {
    margin-bottom: 20px;
}


.bot-breakdown-row:last-child {
    margin-bottom: 0;
}


.bot-breakdown-info {
    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 0.78rem;
}


.bot-breakdown-info strong {
    font-size: 0.8rem;

    background: none;

    -webkit-text-fill-color: inherit;

    opacity: 0.65;
}


.bot-breakdown-bar {
    height: 9px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
}


.bot-breakdown-bar span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            rgba(120, 40, 200, 0.45),
            rgba(170, 80, 255, 0.85)
        );
}


.bot-breakdown-row small {
    display: block;

    margin-top: 5px;

    font-size: 0.68rem;

    opacity: 0.45;
}

/* =========================================
   ANALYSIS NOTE
========================================= */

.analysis-note {
    margin: 25px 0 45px;

    padding: 16px 20px;

    border-left: 2px solid rgba(168, 85, 247, 0.4);

    background: rgba(168, 85, 247, 0.035);

    border-radius: 0 10px 10px 0;
}


.analysis-note span {
    display: block;

    margin-bottom: 6px;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    opacity: 0.6;
}


.analysis-note p {
    margin: 0;

    font-size: 0.76rem;

    line-height: 1.6;

    opacity: 0.6;
}


/* Case STudy Button */
.case-study-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 20px;

    padding: 11px 18px;

    border: 1px solid rgba(103, 232, 249, 0.6);
    border-radius: 999px;

    background: rgba(103, 232, 249, 0.10);

    color: #67e8f9;

    font-weight: 700;

    cursor: pointer;

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

.case-study-button:hover {
    transform: translateY(-3px);

    background: rgba(103, 232, 249, 0.18);

    box-shadow:
        0 8px 25px rgba(103, 232, 249, 0.12);
}

.case-study-button::after {
    content: "↗";
    transition: transform 0.25s ease;
}

.case-study-button:hover::after {
    transform: translate(3px, -3px);
}


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

.skills-wrapper {
    display: grid;

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

    gap: 20px;

    margin-top: 40px;
}


.skill-group {
    position: relative;

    padding: 30px;

    min-height: 250px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.02)
        );

    border: 1px solid rgba(168, 85, 247, 0.16);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


.skill-group::after {
    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -100px;

    bottom: -110px;

    border-radius: 50%;

    border: 1px solid rgba(103, 232, 249, 0.12);
}


.skill-group:hover {
    transform: translateY(-5px);

    border-color: rgba(103, 232, 249, 0.28);

    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.10),
            rgba(103, 232, 249, 0.025)
        );
}


.skill-group-header {
    display: flex;

    align-items: center;

    gap: 14px;
}


.skill-group-header > span {
    font-size: 0.72rem;

    font-weight: 700;

    color: #67e8f9;

    opacity: 0.8;
}


.skill-group-header h3 {
    margin: 0;

    font-size: 1.35rem;
}


.skill-group > p {
    margin: 17px 0 22px;

    max-width: 500px;

    font-size: 0.88rem;

    line-height: 1.65;

    opacity: 0.58;
}


.skill-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
    
    letter-spacing: 0.01em;
}


.skill-tags span {
    padding: 7px 11px;

    border-radius: 9px;

    font-size: 0.73rem;

    font-weight: 600;

    border: 1px solid rgba(255, 255, 255, 0.08);

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

    color: rgba(255, 255, 255, 0.70);
}


/* Mobile */

@media (max-width: 750px) {

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   PROJECT QUICK HIGHLIGHTS
========================================= */

.project-highlights {
    display: grid;

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

    gap: 10px;

    margin-top: 10px;
    margin-bottom: 10px;
}


.project-highlights > div {
    padding: 15px;

    border-radius: 13px;

    border: 1px solid rgba(103, 232, 249, 0.12);

    background: rgba(103, 232, 249, 0.025);
}


.project-highlights strong {
    display: block;

    font-size: 1.25rem;

    margin-bottom: 4px;

    color: #67e8f9;
}


.project-highlights span {
    display: block;

    font-size: 0.68rem;

    line-height: 1.4;

    opacity: 0.55;
}


@media (max-width: 500px) {

    .project-highlights {
        grid-template-columns: 1fr;
    }

}

/* Stronger project case-study action */

.case-study-button {
    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 22px;

    padding: 12px 19px;

    border: 1px solid rgba(103, 232, 249, 0.55);

    border-radius: 12px;

    background: rgba(103, 232, 249, 0.08);

    color: #67e8f9;

    font-family: inherit;

    font-weight: 750;

    font-size: 0.78rem;

    cursor: pointer;

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


.case-study-button:hover {
    transform: translateY(-3px);

    background: rgba(103, 232, 249, 0.15);

    box-shadow:
        0 8px 25px rgba(103, 232, 249, 0.12);
}


.case-study-button::after {
    content: "↗";

    font-size: 1rem;

    transition:
        transform 0.25s ease;
}


.case-study-button:hover::after {
    transform: translate(3px, -3px);
}

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

.site-footer {
    position: relative;

    margin-top: 100px;

    padding: 70px 20px 25px;

    border-top: 1px solid rgba(168, 85, 247, 0.15);

    overflow: hidden;
}


.site-footer::before {
    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    left: -220px;

    bottom: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168, 85, 247, 0.12),
            transparent 70%
        );
}


.footer-main {
    position: relative;

    z-index: 1;

    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

    padding-bottom: 50px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


.footer-label {
    display: block;

    margin-bottom: 12px;

    color: #67e8f9;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.footer-message h2 {
    max-width: 600px;

    margin: 0;

    font-size: clamp(1.7rem, 3vw, 2.8rem);

    line-height: 1.15;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 18px;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.55);

    text-decoration: none;

    font-size: 0.78rem;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-links a:hover {
    color: #67e8f9;

    transform: translateY(-2px);
}


.footer-bottom {
    position: relative;

    z-index: 1;

    max-width: 1100px;

    margin: 20px auto 0;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 0.68rem;

    opacity: 0.4;
}


@media (max-width: 700px) {

    .footer-main {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }

}

section {
    scroll-margin-top: 80px;
}

.case-study-section > h4,
section > h2 {
    letter-spacing: -0.02em;
}

a {
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

a:hover {
    color: #67e8f9;
}

.positive-metric {
    color: #86efac;
}

.positive-metric strong {
    color: #86efac;
}

.chart-bar,
.filetype-bar span,
.country-bar span,
.bot-breakdown-bar span {
    background:
        linear-gradient(
            90deg,
            rgba(103, 232, 249, 0.45),
            rgba(103, 232, 249, 0.90)
        );
}

/* =========================================
   SECTION LABEL
========================================= */

.section-label {
    display: inline-flex;

    align-items: center;

    margin-bottom: 12px;

    font-size: 0.68rem;

    font-weight: 750;

    letter-spacing: 0.14em;

    color: #67e8f9;

    opacity: 0.85;
}

.section-label::before {
    content: "";

    width: 22px;

    height: 1px;

    margin-right: 9px;

    background: #67e8f9;

    opacity: 0.6;
}

/* =========================================================
   FINAL PORTFOLIO POLISH
   Sections: About / Experience / Education / Projects /
             Contact / CV / Hero actions
========================================================= */

/* ---------------------------------------------------------
   HERO ACTIONS
--------------------------------------------------------- */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-actions .button,
.hero-actions .button-outline {
    min-width: 190px;
}

/* Keep the CV action as strong as the Projects action */
.hero-actions .button-outline {
    color: #071017;
    background: #67e8f9;
    border-color: #67e8f9;
    box-shadow: 0 8px 25px rgba(103, 232, 249, 0.12);
}

.hero-actions .button-outline:hover {
    color: #071017;
    background: #67e8f9;
    border-color: #67e8f9;
    box-shadow: 0 12px 30px rgba(103, 232, 249, 0.22);
}

button.button,
button.button-outline {
    font-family: inherit;
    cursor: pointer;
}

/* ---------------------------------------------------------
   ABOUT
--------------------------------------------------------- */

#about .container {
    position: relative;
    padding: 45px;
    border: 1px solid rgba(168, 85, 247, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.02)
        );
    overflow: hidden;
    
    
}

#about .container::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -130px;
    bottom: -150px;
    border: 1px solid rgba(103, 232, 249, 0.12);
    border-radius: 50%;
}

#about .container > * {
    position: relative;
    z-index: 1;
}

#about .large-text,
#about p[data-i18n="about-text"] {
    max-width: 820px;
    font-size: 1rem;
    line-height: 1.8;
}

#about .large-text {
    margin-top: 18px;
}

/* ---------------------------------------------------------
   EXPERIENCE
--------------------------------------------------------- */

#experience .container > h2 {
    margin-bottom: 40px;
}

.experience {
    gap: 24px;
}

.experience-item {
    position: relative;
}

.experience-item .date {
    padding-top: 18px;
    color: #67e8f9;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.experience-content {
    position: relative;
    padding: 30px 32px;
    border-radius: 22px;
    border: 1px solid rgba(168, 85, 247, 0.16);
    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.02)
        );
    overflow: hidden;
}

.experience-content::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -100px;
    top: -110px;
    border: 1px solid rgba(103, 232, 249, 0.10);
    border-radius: 50%;
}

.experience-content > * {
    position: relative;
    z-index: 1;
}

.experience-content h3 {
    margin-bottom: 5px;
    font-size: 1.35rem;
}

.experience-content h4 {
    margin-top: 0;
    color: #c4b5fd;
}

.experience-content p {
    max-width: 850px;
    line-height: 1.75;
}

.experience-content ul {
    margin: 18px 0 0;
    padding-left: 20px;
}

.experience-content li {
    margin-bottom: 9px;
    line-height: 1.65;
}

.experience-content li::marker {
    color: #67e8f9;
}

.experience-content:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 232, 249, 0.25);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

/* ---------------------------------------------------------
   EDUCATION
--------------------------------------------------------- */

#education .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

#education .card {
    position: relative;
    min-height: 220px;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(168, 85, 247, 0.16);
    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.02)
        );
    overflow: hidden;
}

#education .card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -90px;
    bottom: -90px;
    border: 1px solid rgba(103, 232, 249, 0.11);
    border-radius: 50%;
}

#education .card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(103, 232, 249, 0.25);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.22);
}

#education .card > * {
    position: relative;
    z-index: 1;
}

#education .card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

#education .card h4 {
    margin-top: 0;
    color: #c4b5fd;
}

#education .card .date {
    color: #67e8f9;
    font-size: 0.78rem;
}

/* ---------------------------------------------------------
   PROJECTS
--------------------------------------------------------- */

.projects {
    gap: 22px;
}

.project {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(168, 85, 247, 0.16);
    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.02)
        );
}

.project > .project-skills,
.project > .project-highlights,
.project > .case-study-button {
    margin-top: auto;
}

.project > .project-skills {
    margin-top: 20px;
}

.project-number {
    color: #67e8f9;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.project h3 {
    margin-bottom: 10px;
}

.project p {
    line-height: 1.72;
}

.tags span {
    border: 1px solid rgba(103, 232, 249, 0.10);
    background: rgba(103, 232, 249, 0.035);
    color: #bdeef5;
}

.project:hover {
    border-color: rgba(103, 232, 249, 0.24);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
}

.project-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.project-highlights > div {
    padding: 14px;
    border-radius: 13px;
    border: 1px solid rgba(103, 232, 249, 0.12);
    background: rgba(103, 232, 249, 0.025);
}

.project-highlights strong {
    display: block;
    margin-bottom: 4px;
    color: #67e8f9;
    font-size: 1.2rem;
}

.project-highlights span {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   CONTACT
--------------------------------------------------------- */

#contact .contact {
    grid-template-columns: 1fr;
    max-width: 620px;
}

#contact .card {
    position: relative;
    padding: 28px 30px;
    text-align: left;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.16);
    background:
        linear-gradient(
            145deg,
            rgba(168, 85, 247, 0.07),
            rgba(255, 255, 255, 0.02)
        );
    overflow: hidden;
}

#contact .card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -65px;
    top: -65px;
    border: 1px solid rgba(103, 232, 249, 0.11);
    border-radius: 50%;
}

#contact .card h3,
#contact .card a {
    position: relative;
    z-index: 1;
}

#contact .card h3 {
    margin-top: 0;
    color: #ffffff;
}

#contact .card a {
    color: #67e8f9;
    font-weight: 600;
}

#contact .card:hover {
    border-color: rgba(103, 232, 249, 0.25);
    transform: translateY(-4px);
}

/* ---------------------------------------------------------
   CV SECTION
--------------------------------------------------------- */

.cv-section {
    border-top: 1px solid rgba(168, 85, 247, 0.12);
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.cv .button {
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.site-footer {
    margin-top: 0;
}

/* ---------------------------------------------------------
   CASE STUDY BUTTON
--------------------------------------------------------- */

.case-study-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    padding: 12px 19px;
    border: 1px solid rgba(103, 232, 249, 0.55);
    border-radius: 12px;
    background: rgba(103, 232, 249, 0.08);
    color: #67e8f9;
    font-family: inherit;
    font-weight: 750;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.case-study-button:hover {
    transform: translateY(-3px);
    background: rgba(103, 232, 249, 0.15);
    box-shadow: 0 8px 25px rgba(103, 232, 249, 0.12);
}

/* ---------------------------------------------------------
   ANALYTICS: USE CYAN AS THE DATA COLOR
--------------------------------------------------------- */

.chart-bar,
.filetype-bar span,
.country-bar span,
.bot-breakdown-bar span {
    background:
        linear-gradient(
            90deg,
            rgba(103, 232, 249, 0.45),
            rgba(103, 232, 249, 0.90)
        );
}

/* ---------------------------------------------------------
   RESPONSIVE POLISH
--------------------------------------------------------- */

@media (max-width: 900px) {

    .projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .profile-box {
        max-width: 520px;
    }
}

@media (max-width: 750px) {

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button,
    .hero-actions .button-outline {
        width: 100%;
        min-width: 0;
    }

    #about .container {
        padding: 30px 24px;
    }

    #education .cards,
    .projects {
        grid-template-columns: 1fr;
    }

    .experience-content {
        padding: 25px 22px;
    }

    .project {
        padding: 26px;
    }

    #contact .contact {
        max-width: none;
    }

}

@media (max-width: 500px) {

    .project-highlights {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }

}


/* =========================================
   FINAL MOBILE EXPERIENCE FIX
========================================= */

@media (max-width: 750px) {

    .experience-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .experience-item .date {
        padding-top: 0;
        padding-left: 4px;
    }

}

/* =========================================
   PROJECT ACTION POLISH
========================================= */

.case-study-button:focus-visible,
.button:focus-visible,
.button-outline:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 4px;
}

/* =========================================================
   PROJECT 03 — RECEIPT TO INVENTORY & ANALYTICS
   Uses the existing black / purple / cyan portfolio system.
========================================================= */

.case-study {
    scroll-margin-top: 95px;
}

.project-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 5px 10px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.08);
    color: var(--purple-light);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.project-03 .project-status {
    margin-top: -2px;
}

.project03-case-study {
    overflow: hidden;
}

.project03-case-study h5 {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.35;
}

.project03-case-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
}

.project03-case-meta .project-status {
    margin: 0;
}

.project03-list {
    margin: 20px 0 0;
    padding-left: 22px;
}

.project03-list li {
    margin-bottom: 11px;
    color: var(--text-muted);
    line-height: 1.72;
}

/* Architecture image */

.project03-architecture-frame {
    margin-top: 26px;
    padding: 16px;
    border: 1px solid rgba(167, 139, 250, 0.19);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(139, 92, 246, 0.055),
            rgba(103, 232, 249, 0.018)
        );
}

.project03-architecture-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 13px;
    background: #050812;
    scrollbar-width: thin;
    scrollbar-color: rgba(103, 232, 249, 0.42) rgba(255, 255, 255, 0.04);
}

.project03-architecture-scroll:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 4px;
}

.project03-architecture-scroll img {
    display: block;
    width: 100%;
    min-width: 900px;
    height: auto;
    max-width: none;
    border-radius: 13px;
}

.project03-image-caption {
    margin: 12px 4px 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.76rem;
    line-height: 1.55;
}

/* Data flow */

.project03-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 25px;
}

.project03-flow-step {
    position: relative;
    min-width: 0;
    padding: 20px 18px;
    border: 1px solid rgba(103, 232, 249, 0.13);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(103, 232, 249, 0.035),
            rgba(139, 92, 246, 0.045)
        );
}

.project03-flow-step > span {
    display: block;
    margin-bottom: 12px;
    color: #67e8f9;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.project03-flow-step p {
    margin: 8px 0 0;
    font-size: 0.82rem;
    line-height: 1.62;
}

/* Database design */

.project03-database-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 13px;
    margin-top: 24px;
}

.project03-db-card {
    min-width: 0;
    padding: 19px;
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 15px;
    background: rgba(139, 92, 246, 0.035);
}

.project03-db-card code {
    display: inline-block;
    color: #67e8f9;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.86rem;
    font-weight: 700;
    word-break: break-word;
}

.project03-db-card p {
    margin: 10px 0 0;
    font-size: 0.82rem;
    line-height: 1.6;
}

/* Automation and business rules */

.project03-rule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 24px;
}

.project03-rule-card {
    padding: 20px;
    border: 1px solid rgba(167, 139, 250, 0.17);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            rgba(139, 92, 246, 0.045),
            rgba(255, 255, 255, 0.012)
        );
}

.project03-rule-card p {
    margin: 8px 0 0;
    font-size: 0.82rem;
    line-height: 1.62;
}

/* Data layers */

.project03-layers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.project03-layer {
    position: relative;
    min-width: 0;
    padding: 19px 17px;
    border: 1px solid rgba(167, 139, 250, 0.17);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.018);
    overflow: hidden;
}

.project03-layer::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--purple);
}

.project03-layer.raw::before {
    background: #67e8f9;
}

.project03-layer.staged::before {
    background: var(--purple-light);
}

.project03-layer.normalized::before {
    background: #4ade80;
}

.project03-layer.analytics::before {
    background:
        linear-gradient(
            #67e8f9,
            var(--purple-light)
        );
}

.project03-layer > span {
    display: block;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 750;
}

.project03-layer p {
    margin: 9px 0 0;
    font-size: 0.78rem;
    line-height: 1.6;
}

/* Analytics capabilities */

.project03-capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.project03-capability-grid span {
    padding: 13px 15px;
    border: 1px solid rgba(103, 232, 249, 0.13);
    border-radius: 12px;
    background: rgba(103, 232, 249, 0.027);
    color: #bdeef5;
    font-size: 0.78rem;
    line-height: 1.45;
}

.project03-privacy {
    padding: 24px;
    border: 1px solid rgba(74, 222, 128, 0.17);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            rgba(74, 222, 128, 0.035),
            rgba(139, 92, 246, 0.025)
        );
}

.project03-privacy h4 {
    color: #d9ffe5;
}

.project03-takeaways {
    margin-bottom: 35px;
}

/* Project 03 responsive behaviour */

@media (max-width: 900px) {
    .project03-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project03-layers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .project03-flow,
    .project03-rule-grid,
    .project03-layers {
        grid-template-columns: 1fr;
    }

    .project03-architecture-frame {
        padding: 10px;
    }

    .project03-architecture-scroll img {
        min-width: 820px;
    }

    .project03-case-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}


.case-study-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}