*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Custon Properties */

:root {
    --ff-primary:'Inter', system-ui, -apple-system, sans-serif;
    --ff-secondary: 'Space Mono', 'JetBrains Mono', monospace;

    --fw-bold: 800;
    --fw-reg: 400;

    --clr-bg: #0b1224;
    --clr-surface: #0f172a;
    --clr-card: rgba(255, 255, 255, 0.04);
    --clr-border: rgba(255, 255, 255, 0.08);
    --clr-light: #e5e7eb;
    --clr-muted: #94a3b8;
    --clr-accent: #22d3ee;

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;

    --bs: 0 18px 45px rgba(0, 0, 0, 0.35);
    --radius-lg: 18px;
    --radius-md: 12px;
}

@media (min-width: 800px) {
    :root {
        --fs-h1: 4.5rem;
        --fs-h2: 3.75rem;
        --fs-h3: 1.5rem;
        --fs-body: 1.125rem;
    }
}

/* General Styles */

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 25%),
                radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.12), transparent 22%),
                var(--clr-bg);
    color: var(--clr-light);
    margin: 0;
    font-family: var(--ff-primary);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

section {
    padding: 5em 1.5em;
    scroll-margin-top: 90px;
}
.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}


:focus {
    outline: 3px solid var(--clr-accent);
    outline-offset: 2px;
}

/* Buttom */

.btn {
    display: inline-block;
    padding: 0.8em 1.9em;
    background: linear-gradient(120deg, #22d3ee, #67e8f9);
    color: #0b1224;
    text-decoration: none;
    cursor: pointer;
    font-size: .95rem;
    letter-spacing: .4px;
    font-weight: var(--fw-bold);
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(34, 211, 238, 0.4);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(34, 211, 238, 0.5);
}

/* Typography */

strong {
    font-weight: var(--fw-bold);
}


h1,
h2,
h3 {
    line-height: 1;
    margin: 0;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

.section__subtitle--work {
    color: var(--clr-muted);
    font-weight: var(--fw-bold);
    margin: 1em auto 2.5em;
    max-width: 50ch;
}

/* Styling the titles and sections */

.section__title{
    margin-bottom: .25em;
}

.section__title--intro {
    font-weight: var(--fw-reg);
}


.section__title--intro strong {
    display: block;
}

.section__subtitle {
    margin: 0;
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
}

.section__subtitle--intro,
.section__subtitle--about {
    background: linear-gradient(120deg, rgba(34, 211, 238, 0.2), rgba(99, 102, 241, 0.18));
    padding: .3em 1.1em;
    font-family: var(--ff-secondary);
    margin-bottom: 1em;
    color: var(--clr-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.section__subtitle--contact {
    color: var(--clr-muted);
    margin-top: .6em;
    max-width: 48ch;
}

p {
    color: var(--clr-muted);
    max-width: 70ch;
}

a {
    color: var(--clr-accent);
}

a:hover {
    color: #7ce7fb;
}


/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(12, 18, 36, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.logo {
    max-width: 100px;
}
.nav {
    position: fixed;
    background: rgba(12, 18, 36, 0.95);
    color: var(--clr-light);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(.5, 0, .5, 1);
}


.nav__list {
    list-style: none;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    padding: 0;
}


.nav__link {
    color: inherit;
    font-weight: var(--fw-bold);
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}


.nav__link:hover {
    color: var(--clr-accent);
    transform: translateY(-2px);
}

.nav__link.active {
    color: var(--clr-accent);
}

.nav__link.active::after {
    content: "";
    display: block;
    width: 60%;
    height: 2px;
    margin: 0.2em auto 0;
    background: var(--clr-accent);
    border-radius: 999px;
}

.nav-toggle {
    padding: .55em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    right: 0;
    z-index: 1000;
    color: var(--clr-accent);
    transition: transform 160ms ease;
}

.nav-toggle:hover {
    transform: translateY(-2px);
}


.nav-open .nav {
    transform: translateX(0);
}

.nav-open .nav-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

.nav-open .hamburguer {
    transform: rotate(.625turn);
}

.nav-open .hamburguer::before {
    transform: rotate(90deg) translateX(-6px);
}

.nav-open .hamburguer::after {
    opacity: 0;
}


/* Styling the Hamburguer, i mean button */

.hamburguer {
    display: block;
    position: relative;

}

.hamburguer,
.hamburguer::before,
.hamburguer::after {
    background: var(--clr-accent);
    width: 2.4em;
    height: 3px;
    border-radius: 1em;
    transition: transform 250ms ease-in-out;

}


.hamburguer::before,
.hamburguer::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
}

.hamburguer::before { top: 6px;}
.hamburguer:after { bottom: 6px;}

@media (min-width: 960px) {
    .nav {
        position: static;
        background: transparent;
        transform: none;
        height: auto;
    }

    .nav__list {
        flex-direction: row;
        height: auto;
        gap: 1.25em;
    }

    .nav__link {
        font-size: 1rem;
    }

    .nav-toggle {
        display: none;
    }
}

/* Reveal animation */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 420ms ease, transform 420ms ease;
    will-change: opacity, transform;
}

.reveal--visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}





/* Intro Section  */

.intro {
    position: relative;
    padding-top: 6em;
}

.intro__inner {
    display: grid;
    gap: 1em;
    align-items: center;
}

.intro__inner .btn {
    grid-column: 1 / -1;
    margin: 0;
    justify-self: center;
}

.intro__img {
    box-shadow: var(--bs);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
}

.section__subtitle--intro {
    display: inline-block;
    letter-spacing: .4px;
}


@media (min-width: 600px) {
    .intro__inner {
        grid-template-areas:
        "title img"
        "subtitle img"
        "button button";
        grid-template-columns: minmax(280px, 1fr) minmax(240px, 320px);
        column-gap: 2.25em;
    }

    .intro__img {
        grid-area: img;
        min-width: 240px;
        position: relative;
        z-index: 2;
    }

    .section__subtitle--intro {
        align-self: start;
        grid-column: 1 / 2;
        grid-row: 2;
        text-align: left;
        position: relative;
        left: 0;
        width: auto;
    }

    .intro__inner .btn {
        grid-area: button;
        margin-top: 0.5rem;
    }
}


/* My services section */

.my-services {
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.08), rgba(99, 102, 241, 0.08));
    color: var(--clr-light);
    text-align: center;
}

.section__title--services {
    color: var(--clr-accent);
    position: relative;
}

.section__title--services::after {
    content: "";
    display: block;
    width:2.5em;
    height: 1px;
    margin: 0.5em auto 1em;
    background: currentColor;
    opacity: 0.3;
}

.services {
    display: grid;
    gap: 1.5em;
    margin: 2.5em 0 3em;
}

.service {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.75em;
    text-align: left;
    box-shadow: var(--bs);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service h3 {
    margin-top: 0;
    margin-bottom: .6em;
}

.service:hover,
.service:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.2);
}

.pill-list {
    list-style: none;
    padding: 0;
    margin: 1em 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6em;
}

.pill-list li {
    padding: .45em .9em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--clr-border);
    border-radius: 999px;
    color: var(--clr-light);
    font-weight: 600;
    letter-spacing: .2px;
}

@media (min-width: 800px) {
    .services {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}


/*About me Section  */

.about-me__inner {
    display: grid;
    gap: 1.5em;
    align-items: center;
}

.about-me__img {
    box-shadow: var(--bs);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
}

@media (min-width: 600px) {
    .about-me__inner {
        grid-template-columns: 1.1fr 280px;
        grid-template-areas:
            "title img"
            "subtitle img"
            "text img";
        column-gap: 2em;
    }

    .section__title--about {
        grid-area: title;
    }

    .section__subtitle--about {
        grid-area: subtitle;
        justify-self: start;
    }

    .about-me__body {
        grid-area: text;
    }

    .about-me__img {
        grid-area: img;
        position: relative;
        z-index: 2;
    }
}


/* My Work */

.my-work {
    background: linear-gradient(200deg, rgba(34, 211, 238, 0.08), rgba(15, 23, 42, 0.95));
    color: var(--clr-light);
    text-align: center;
}

.section__subtitle--work {
    margin: 3em auto;
}


.portfolio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Portfolio Button */

.btn_portfolio {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: 0.85em 1.85em;
    background: linear-gradient(120deg, #22d3ee, #7c3aed);
    color: #0b1224;
    text-decoration: none;
    cursor: pointer;
    font-size: .95rem;
    letter-spacing: .5px;
    font-weight: var(--fw-bold);
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(124, 58, 237, 0.35);
    transition: transform 200ms ease, box-shadow 200ms ease, filter 180ms ease;
}

.btn_portfolio:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 65px rgba(124, 58, 237, 0.45);
    filter: saturate(1.1);
}



/*
.section__title--about,
.section__subtitle--about {
    grid-column: 1;
}

*/


/* Schooling and Training */

.training {
    background-color: var(--clr-surface);
    color: var(--clr-light);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section__title--training {
    color: var(--clr-light);
    position: relative;
}

.section__title--training::after {
    content: "";
    display: block;
    width:3.5em;
    height: 1px;
    margin: .15em auto 1em;
    background: currentColor;
    opacity: 0.3;
}

.educations {
    margin: 3em auto 4em;
    display: grid;
    gap: 1.25em;
}

.education {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5em;
    text-align: left;
    box-shadow: var(--bs);
}

.training .btn {
    margin-top: 1em;
}

@media (min-width: 800px) {
    .educations {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* End of Education and Training */


/* Contact */

.contact {
    background: var(--clr-surface);
    color: var(--clr-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__inner {
    display: grid;
    gap: 2em;
}

.contact__header {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.contact__form {
    display: grid;
    gap: 1.1em;
    grid-template-columns: 1fr;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.6em;
    box-shadow: var(--bs);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .35em;
}

.form-field label {
    font-weight: 600;
    color: var(--clr-light);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: .85em 1em;
    color: var(--clr-light);
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.contact__note {
    color: var(--clr-muted);
}

@media (min-width: 720px) {
    .contact__form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-field--full {
        grid-column: 1 / 3;
    }
}


/* Formal Experience */

.formal-experience {
    background: radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.08), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.12), transparent 28%),
                var(--clr-surface);
    color: var(--clr-light);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section__title--experiences {
    color: var(--clr-accent);
    position: relative;
    margin-bottom: 1em;
}



.experiences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5em;
    max-width: 1200px;
    margin: 0 auto 4em;
    align-items: start;
}

.experience {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5em;
    box-shadow: var(--bs);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1em;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.experience:hover,
.experience:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

.experience__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
    border-radius: 10px;
}

.experience__header:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 4px;
}

.experience__heading h3 {
    margin: 0 0 .1em;
}

.experience__heading i {
    color: #cfcfcf;
    font-style: italic;
    font-size: .95em;
}

.experience__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75em;
    height: 1.75em;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 200ms ease;
    font-weight: var(--fw-bold);
}

.experience__details {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    will-change: max-height, opacity, transform;
    transition: max-height 250ms ease, opacity 220ms ease, transform 220ms ease;
}

.experience--open .experience__details {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
}

.experience--open .experience__chevron {
    transform: rotate(90deg);
}

.ex_lists {
    text-align: left;
    padding-left: 1.25em;
    margin: 0;
    display: grid;
    gap: .35em;
}

.ex_lists li::marker {
    color: var(--clr-accent);
}

@media (prefers-reduced-motion: reduce) {
    .experience,
    .experience__details {
        transition: none;
        transform: none !important;
    }
}

/* End of formal experience  */



/*  Footer  */

.footer {
    background: #0a0f1f;
    color: var(--clr-light);
    text-align: center;
    padding: 2.8em 0;
    font-size: 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.footer a {
    color: inherit;
    text-decoration: none;
}

.footer__link {
    font-weight: var(--fw-bold);
    display: inline-block;
    margin-bottom: 1em;
}



.footer__link:hover,
.social-list__link:hover {
    opacity: .7;
}

.footer__link:hover {
    text-decoration: underline;
}


.social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 2em 0 0;
    padding: 0;
}


.social-list__item {
    margin: 0 .5em;
}


.social-list__link {
    padding: .5em;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 160ms ease, border-color 160ms ease;
}

.social-list__link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}






/* The other part or page of the site */

/* individual portfolio item styles  */

.portfolio-item-individual {
    padding: 0 2em 2em;
    max-width: 1000px;
    margin: 0 auto;
}


.portfolio-item-individual p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.project {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
}

#projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    gap: 2em;
    margin-bottom: 2em;
}

/* Portfolio Projects Accordion */

.portfolio-projects {
    background: var(--clr-surface);
    padding: var(--sp-xl) 0;
}

.portfolio-card {
    background: var(--clr-card);
    border-radius: var(--br-lg);
    margin-bottom: var(--sp-xl);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
}

.portfolio-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.portfolio-card__header {
    width: 100%;
    background: transparent;
    border: none;
    padding: var(--sp-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.portfolio-card__header:hover {
    background: rgba(34, 211, 238, 0.05);
}

.portfolio-card__title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    flex: 1;
}

.portfolio-card__thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--br-md);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-card__title-content {
    flex: 1;
}

.portfolio-card__title {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--clr-light);
    margin: 0 0 0.25rem 0;
}

.portfolio-card__tech {
    font-size: 0.9rem;
    font-family: var(--ff-mono);
    color: var(--clr-accent);
    margin: 0;
}

.portfolio-card__icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--clr-accent);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.portfolio-card--open .portfolio-card__icon {
    transform: rotate(45deg);
}

.portfolio-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-expand);
}

.portfolio-card__content {
    padding: 0 var(--sp-lg) var(--sp-lg);
}

.portfolio-card__image {
    width: 100%;
    border-radius: var(--br-md);
    margin-bottom: var(--sp-md);
}

.portfolio-card__content h4 {
    font-size: 1.25rem;
    color: var(--clr-accent);
    margin-bottom: var(--sp-sm);
}

.portfolio-card__content p {
    color: var(--clr-text);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.portfolio-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-sm);
}

.portfolio-card__iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 62.25%; /* 16:10 aspect ratio for Power BI */
    margin-bottom: var(--sp-md);
    border-radius: var(--br-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.portfolio-card__iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.btn--secondary {
    background: transparent;
    border: 2px solid var(--clr-accent);
    color: var(--clr-accent);
}

.btn--secondary:hover {
    background: var(--clr-accent);
    color: var(--clr-dark);
}

@media (max-width: 720px) {
    .portfolio-card__thumb {
        width: 60px;
        height: 60px;
    }

    .portfolio-card__title {
        font-size: 1.25rem;
    }

    .portfolio-card__tech {
        font-size: 0.8rem;
    }

    .portfolio-card__links {
        flex-direction: column;
    }

    .portfolio-card__links .btn {
        width: 100%;
        text-align: center;
    }
}

/* Portfolio Hero Section */

.portfolio-hero {
    background: linear-gradient(135deg, var(--clr-dark) 0%, #0a1428 50%, var(--clr-dark) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-hero__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.portfolio-hero__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--clr-accent);
    border-radius: 50px;
    color: var(--clr-accent);
    font-family: var(--ff-mono);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

.portfolio-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--fw-black);
    color: var(--clr-light);
    margin: 0 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.portfolio-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--clr-text);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.portfolio-hero__stats {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeInUp 0.8s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.6s; }
.stat-item:nth-child(2) { animation-delay: 0.7s; }
.stat-item:nth-child(3) { animation-delay: 0.8s; }

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-black);
    color: var(--clr-accent);
    font-family: var(--ff-mono);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--clr-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Enhanced Portfolio Cards */

.portfolio-card__thumb-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--br-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 211, 238, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.portfolio-card__overlay i {
    color: var(--clr-dark);
    font-size: 1.5rem;
}

.portfolio-card__thumb-container:hover .portfolio-card__overlay {
    opacity: 1;
}

.portfolio-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--sp-md);
}

.tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    color: var(--clr-accent);
    font-size: 0.85rem;
    font-family: var(--ff-mono);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: rgba(34, 211, 238, 0.2);
    border-color: var(--clr-accent);
}

.portfolio-card__highlights {
    display: grid;
    gap: 0.75rem;
    margin: var(--sp-md) 0;
    padding: var(--sp-md);
    background: rgba(34, 211, 238, 0.05);
    border-left: 3px solid var(--clr-accent);
    border-radius: var(--br-sm);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-text);
}

.highlight-item i {
    color: var(--clr-accent);
    font-size: 1.1rem;
}

.portfolio-card__links .btn i {
    margin-right: 0.5rem;
}

/* Portfolio CTA Section */

.portfolio-cta {
    background: linear-gradient(135deg, #0a1428 0%, var(--clr-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.portfolio-cta__content {
    position: relative;
    z-index: 1;
}

.portfolio-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--clr-light);
    margin-bottom: 1rem;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: var(--clr-text);
    margin-bottom: 2rem;
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn--large i {
    margin-right: 0.75rem;
}

/* Animations */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */

@media (max-width: 720px) {
    .portfolio-hero {
        padding: 5rem 0 4rem;
    }

    .portfolio-hero__stats {
        gap: 1.5rem;
    }

    .portfolio-card__thumb-container {
        width: 60px;
        height: 60px;
    }

    .portfolio-cta {
        padding: 3rem 0;
    }
}










