
:root {
    --bg: #f5f5f3;
    --surface: #ffffff;
    --text: #111111;
    --muted: #666666;
    --border: rgba(0, 0, 0, 0.1);
    --black: #111111;
    --white: #ffffff;
    --accent: #00c96b;

    --container: 1180px;
    --radius: 24px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}


/* =========================================
   ANIMATED BACKGROUND
========================================= */

.background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 201, 107, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(100, 100, 255, 0.08),
            transparent 30%
        ),
        #f5f5f3;
}

.background-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.035) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 85%
    );
}

.background-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    animation: floatingGlow 10s ease-in-out infinite;
}

.glow-one {
    top: -150px;
    left: -100px;
    background: #00c96b;
}

.glow-two {
    right: -150px;
    bottom: -100px;
    background: #8b5cf6;
    animation-delay: -5s;
}

@keyframes floatingGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(80px, 50px);
    }
}


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

.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    z-index: 1000;

    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

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

    border-radius: 18px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06);
}

.header-container {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;
}


/* Logo */

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}


/* Desktop Navigation */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    position: relative;

    font-size: 13px;
    font-weight: 500;

    color: #444;

    transition: 0.3s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: 0.3s ease;
}

.desktop-nav a:hover {
    color: #000;
}

.desktop-nav a:hover::after {
    width: 100%;
}


/* Header Button */

.header-button {
    display: flex;
    align-items: center;
    gap: 8px;

    background: var(--black);
    color: white;

    padding: 12px 20px;

    border-radius: 100px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s ease;
}

.header-button span {
    font-size: 16px;
}

.header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* Mobile Menu */

.mobile-menu-button {
    display: none;

    border: none;
    background: transparent;

    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
}


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

.hero-section {
    min-height: 100vh;

    padding:
        130px 20px
        40px;

    display: flex;
    align-items: center;
}

.hero-container {
    width: min(
        100%,
        var(--container)
    );

    min-height: 720px;

    margin: auto;

    position: relative;

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

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

    border-radius: 32px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.08);
}


/* Status */

.availability-badge {
    position: absolute;

    top: 30px;
    left: 35px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 16px;

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

    border-radius: 100px;

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

    font-size: 12px;
    font-weight: 500;

    z-index: 5;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: var(--accent);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(0, 201, 107, 0.12);

    animation: pulse 2s infinite;
}

@keyframes pulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(0, 201, 107, 0.4);
    }

    70% {
        box-shadow:
            0 0 0 8px rgba(0, 201, 107, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(0, 201, 107, 0);
    }
}


/* Mini nav */

.hero-mini-nav {
    position: absolute;

    top: 35px;
    right: 35px;

    display: flex;
    gap: 12px;

    color: #777;

    font-size: 12px;
}


/* Hero Content */

.hero-content {
    position: relative;

    min-height: 720px;

    display: grid;

    grid-template-columns:
        1fr 1fr 150px;

    align-items: center;

    padding:
        90px 50px
        60px;
}


/* Hero Text */

.hero-text {
    position: relative;
    z-index: 5;
}

.hero-small-text {
    margin-bottom: 10px;

    color: #666;

    font-size: 15px;
}

.hero-title {
    font-size: clamp(
        65px,
        8vw,
        125px
    );

    line-height: 0.83;

    letter-spacing: -7px;

    font-weight: 800;
}

.hero-title span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        2px #222;
}


/* Role */

.hero-role {
    display: flex;

    gap: 16px;

    margin-top: 45px;
}

.role-line {
    width: 3px;

    min-height: 65px;

    background: var(--accent);

    border-radius: 10px;
}

.hero-role h2 {
    font-size: 20px;

    margin-bottom: 7px;
}

.hero-role p {
    max-width: 340px;

    color: #666;

    font-size: 13px;

    line-height: 1.7;
}


/* Buttons */

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 30px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 22px;

    border-radius: 100px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s ease;
}

.primary-button {
    background: #111;
    color: white;
}

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

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.2);
}

.secondary-button {
    border: 1px solid var(--border);

    background: white;
}

.secondary-button:hover {
    background: #111;
    color: white;
}


/* =========================================
   PROFILE IMAGE
========================================= */

.hero-profile {
    position: relative;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    height: 100%;
}

.profile-image-container {
    position: relative;

    z-index: 3;

    width: 430px;
    height: 520px;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    overflow: hidden;

    border-radius: 50% 50% 0 0;

    background:
        linear-gradient(
            180deg,
            #eeeeee,
            #d6d6d6
        );

    box-shadow:
        inset 0 0 80px
        rgba(255, 255, 255, 0.7);
}

.profile-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    filter: grayscale(100%);

    mix-blend-mode: multiply;

    transition: 0.6s ease;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.04);

    filter: grayscale(0%);
}


/* Profile rings */

.profile-ring {
    position: absolute;

    border: 1px solid
        rgba(0, 0, 0, 0.12);

    border-radius: 50%;

    z-index: 1;
}

.ring-one {
    width: 500px;
    height: 500px;

    animation: rotateRing 20s linear infinite;
}

.ring-two {
    width: 620px;
    height: 620px;

    animation:
        rotateRing 30s linear infinite reverse;
}

@keyframes rotateRing {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Social */

.hero-socials {
    display: flex;

    flex-direction: column;

    gap: 12px;

    align-items: flex-end;
}

.hero-socials a {
    padding:
        10px 15px;

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

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

    border-radius: 100px;

    font-size: 12px;

    transition: 0.3s ease;
}

.hero-socials a:hover {
    background: #111;
    color: white;

    transform: translateX(-5px);
}


/* Bottom */

.hero-bottom {
    position: absolute;

    left: 40px;
    right: 40px;
    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 20px;

    color: #888;

    font-size: 11px;
}

.scroll-line {
    flex: 1;

    height: 1px;

    background:
        rgba(0, 0, 0, 0.12);
}


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

.section {
    padding:
        120px 20px;
}

.section-container {
    width: min(
        100%,
        var(--container)
    );

    margin: auto;
}

.section-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 60px;
}

.section-heading span {
    color: var(--accent);

    font-size: 13px;

    font-weight: 700;
}

.section-heading h2 {
    font-size: 45px;

    letter-spacing: -2px;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    height: 520px;

    overflow: hidden;

    border-radius: 25px;

    background: #ddd;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    transition: 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);

    filter: grayscale(0%);
}

.section-label {
    margin-bottom: 15px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.about-content h3,
.skills-intro h3,
.projects-intro h3 {
    max-width: 650px;

    margin-bottom: 25px;

    font-size: clamp(
        35px,
        5vw,
        65px
    );

    line-height: 1;

    letter-spacing: -3px;
}

.about-content h3 span,
.skills-intro h3 span,
.projects-intro h3 span,
.contact-content h2 span {
    color: #888;
}

.about-content p {
    max-width: 650px;

    margin-bottom: 18px;

    color: var(--muted);

    line-height: 1.8;

    font-size: 15px;
}


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

.skills-intro {
    margin-bottom: 60px;
}

.skills-intro > p:last-child {
    max-width: 600px;

    color: var(--muted);

    line-height: 1.7;
}

.skills-grid {
    display: grid;

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

    gap: 25px;
}

.skill-card {
    padding: 25px;

    background: white;

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

    border-radius: 18px;

    transition: 0.3s ease;
}

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

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.07);
}

.skill-top {
    display: flex;

    justify-content: space-between;

    margin-bottom: 15px;
}

.skill-top h4 {
    font-size: 15px;
}

.skill-top span {
    color: #888;

    font-size: 12px;
}

.skill-bar {
    width: 100%;

    height: 5px;

    overflow: hidden;

    border-radius: 20px;

    background: #e8e8e8;
}

.skill-progress {
    width: 0;

    height: 100%;

    border-radius: inherit;

    background: #111;

    transition:
        width 1.4s
        cubic-bezier(.17,.67,.3,1.2);
}


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

.projects-intro {
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;

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

    gap: 25px;
}

.project-card {
    overflow: hidden;

    background: white;

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

    border-radius: 20px;

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.1);
}

.project-image,
.project-placeholder {
    height: 260px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #e5e5e5;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-placeholder {
    font-size: 30px;

    font-weight: 800;

    letter-spacing: -1px;

    color: #aaa;
}

.project-info {
    padding: 25px;
}

.project-info > span {
    color: var(--accent);

    font-size: 12px;
}

.project-info h4 {
    margin:
        10px 0;

    font-size: 20px;
}

.project-info p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.project-info a {
    font-size: 13px;

    font-weight: 600;
}


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

.education-card {
    display: grid;

    grid-template-columns:
        2fr 1fr;

    gap: 40px;

    padding: 45px;

    background: #111;

    color: white;

    border-radius: 25px;
}

.education-year {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--accent);

    font-size: 12px;
}

.education-card h3 {
    margin-bottom: 10px;

    font-size: 30px;
}

.education-card p {
    color: #aaa;

    font-size: 14px;
}

.education-card h4 {
    margin-bottom: 8px;

    font-size: 18px;
}


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

.contact-section {
    padding-bottom: 150px;
}

.contact-section
.section-container {
    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 100px;

    align-items: end;
}

.contact-content h2 {
    max-width: 750px;

    margin-bottom: 25px;

    font-size: clamp(
        45px,
        7vw,
        85px
    );

    line-height: 0.95;

    letter-spacing: -5px;
}

.contact-content > p {
    max-width: 500px;

    margin-bottom: 30px;

    color: var(--muted);

    line-height: 1.7;
}

.contact-details {
    border-top: 1px solid var(--border);
}

.contact-item {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

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

    font-size: 13px;
}

.contact-item span {
    color: #888;
}

.contact-item a {
    font-weight: 600;
}


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

.footer {
    padding:
        35px 20px;

    background: #111;

    color: white;
}

.footer-container {
    width: min(
        100%,
        var(--container)
    );

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.footer h3 {
    font-size: 22px;
}

.footer h3 span {
    color: var(--accent);
}

.footer p {
    color: #888;

    font-size: 12px;
}


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

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;

        padding: 100px 35px 60px;
    }

    .hero-socials {
        display: none;
    }

    .profile-image-container {
        width: 350px;
        height: 450px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

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

    .contact-section
    .section-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }
}


@media (max-width: 700px) {

    .site-header {
        top: 10px;

        width:
            calc(100% - 20px);
    }

    .header-container {
        height: 62px;
    }

    .header-button {
        display: none;
    }

    .mobile-nav {
        padding: 15px 22px 25px;

        flex-direction: column;

        gap: 20px;

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

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        font-size: 14px;

        color: #555;
    }


    /* Hero */

    .hero-section {
        padding:
            90px 10px 20px;
    }

    .hero-container {
        min-height: 850px;

        border-radius: 22px;
    }

    .hero-mini-nav {
        display: none;
    }

    .availability-badge {
        top: 25px;
        left: 20px;
    }

    .hero-content {
        min-height: 850px;

        display: flex;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding: 100px 20px 80px;
    }

    .hero-title {
        font-size: 62px;

        letter-spacing: -4px;
    }

    .hero-role {
        justify-content: center;

        text-align: left;

        margin-top: 30px;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-profile {
        order: -1;

        height: 270px;

        width: 100%;
    }

    .profile-image-container {
        width: 220px;
        height: 280px;
    }

    .profile-ring {
        display: none;
    }

    .hero-bottom {
        left: 20px;
        right: 20px;
    }


    /* Sections */

    .section {
        padding:
            80px 20px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 35px;
    }


    /* Skills */

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


    /* Projects */

    .projects-grid {
        grid-template-columns: 1fr;
    }


    /* Education */

    .education-card {
        grid-template-columns: 1fr;

        padding: 30px;
    }

    .education-card h3 {
        font-size: 25px;
    }


    /* Contact */

    .contact-content h2 {
        font-size: 50px;

        letter-spacing: -3px;
    }

    .contact-item {
        flex-direction: column;

        gap: 8px;
    }


    /* Footer */

    .footer-container {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }
}