:root {
    --bg: #06110f;
    --dark: #020706;
    --green: #20c997;
    --mint: #7fffd4;
    --teal: #2dd4bf;
    --text: #f0fff9;
    --muted: #8fa8a0;
    --white: #ffffff;
    --border: rgba(32, 201, 151, 0.20);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

section {
    scroll-margin-top: 90px;
}

.navbar {
    width: 100%;
    padding: 24px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 17, 15, 0.88);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(32, 201, 151, 0.08);
}

.logo {
    color: var(--white);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--green);
}

.navbar nav {
    display: flex;
    gap: 34px;
}

.navbar nav a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s ease;
    position: relative;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--mint);
}

.navbar nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 1px;
    background: var(--green);
}

.nav-button {
    border: 1px solid rgba(32, 201, 151, 0.4);
    padding: 10px 18px;
    color: var(--mint);
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.nav-button:hover {
    background: var(--green);
    color: var(--dark);
    transform: translateY(-2px);
}

.hero {
    min-height: 90vh;
    padding: 90px 8% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(32, 201, 151, 0.06);
    border-radius: 50%;
    filter: blur(80px);
    top: 100px;
    left: -150px;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.availability {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(32, 201, 151, 0.8);
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(55px, 8vw, 100px);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--green);
}

.hero-text {
    max-width: 500px;
    color: var(--muted);
    font-size: 15px;
    margin-top: 30px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 35px;
}

.button {
    padding: 13px 20px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.main-button {
    background: var(--green);
    color: var(--dark);
}

.main-button:hover {
    background: var(--mint);
    transform: translateY(-3px);
}

.main-button span {
    margin-left: 8px;
}

.outline-button {
    border: 1px solid rgba(32, 201, 151, 0.35);
    color: var(--mint);
}

.outline-button:hover {
    border-color: var(--green);
    background: rgba(32, 201, 151, 0.06);
    transform: translateY(-3px);
}

.hero-image {
    width: 390px;
    height: 390px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(127, 255, 212, 0.4);
    box-shadow: 0 0 60px rgba(32, 201, 151, 0.10);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(32, 201, 151, 0.22);
    animation: rotateCircle 18s linear infinite;
}

.circle-one {
    width: 330px;
    height: 330px;
}

.circle-two {
    width: 370px;
    height: 370px;
    border-style: dashed;
    animation-duration: 28s;
    animation-direction: reverse;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.floating-note {
    position: absolute;
    bottom: 20px;
    left: -25px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    background: rgba(2, 7, 6, 0.94);
    border: 1px solid rgba(32, 201, 151, 0.2);
    backdrop-filter: blur(10px);
}

.floating-note > span {
    color: var(--green);
    font-size: 18px;
}

.floating-note strong {
    display: block;
    color: var(--white);
    font-size: 11px;
}

.floating-note small {
    color: var(--muted);
    font-size: 9px;
}

.section {
    padding: 120px 8%;
}

.section-title {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 70px;
}

.section-title > span {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding-top: 7px;
}

.section-title p {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 5vw, 58px);
    font-weight: 500;
    margin-top: 3px;
}

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    max-width: 1100px;
    margin: auto;
    align-items: center;
}

.about-intro h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.1;
}

.about-intro h3 span {
    color: var(--green);
}

.about-short {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    max-width: 430px;
    margin-top: 20px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: rgba(2, 7, 6, 0.55);
    border: 1px solid rgba(32, 201, 151, 0.15);
    border-radius: 12px;
    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 201, 151, 0.55);
    background: rgba(32, 201, 151, 0.06);
    box-shadow: 0 12px 35px rgba(32, 201, 151, 0.08);
}

.about-card > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(32, 201, 151, 0.08);
    font-size: 19px;
}

.about-card small {
    display: block;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-card h4 {
    color: var(--white);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 600;
}

@media (max-width: 850px) {

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 18px;
    }
}

.education {
    border-left: 2px solid var(--green);
    padding-left: 18px;
    margin-top: 35px;
}

.education span {
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.education h4 {
    color: var(--white);
    font-size: 15px;
    margin-top: 5px;
}

.skills {
    position: relative;
}

.skills-showcase {
    position: relative;
    max-width: 1000px;
    height: 520px;
    margin: 80px auto 0;
}

.skills-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.center-ring {
    width: 190px;
    height: 190px;
    border: 1px solid rgba(32, 201, 151, 0.45);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle,
            rgba(32, 201, 151, 0.14),
            rgba(2, 7, 6, 0.95) 65%
        );
    box-shadow:
        0 0 50px rgba(32, 201, 151, 0.08),
        inset 0 0 35px rgba(32, 201, 151, 0.05);
    position: relative;
}

.center-ring::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 1px dashed rgba(45, 212, 191, 0.25);
    border-radius: 50%;
    animation: rotateRing 18s linear infinite;
}

.center-ring span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 700;
}

.center-ring strong {
    color: var(--mint);
    font-family: "Playfair Display", serif;
    font-size: 25px;
    letter-spacing: 2px;
    margin-top: 4px;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.skill-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 2;
}

.skill-orb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #06110f;
    border: 1px solid rgba(32, 201, 151, 0.5);
    box-shadow: 0 0 25px rgba(32, 201, 151, 0.08);
    transition: 0.35s ease;
}

.skill-orb span {
    color: var(--mint);
    font-size: 20px;
    font-weight: 700;
}

.skill-node:hover .skill-orb {
    transform: scale(1.12);
    border-color: var(--mint);
    box-shadow: 0 0 30px rgba(32, 201, 151, 0.25);
}

.skill-info {
    min-width: 150px;
}

.skill-info > span {
    color: var(--teal);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.skill-info h3 {
    color: var(--white);
    font-size: 19px;
    margin: 4px 0;
}

.skill-info p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.node-line {
    position: absolute;
    width: 80px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(32, 201, 151, 0.5)
        );
}

.skill-one {
    top: 30px;
    left: 50px;
}

.skill-one .node-line {
    right: -90px;
    top: 35px;
    transform: rotate(28deg);
    transform-origin: left;
}

.skill-two {
    top: 30px;
    right: 50px;
    flex-direction: row-reverse;
    text-align: right;
}

.skill-two .node-line {
    left: -90px;
    top: 35px;
    transform: rotate(-28deg);
    transform-origin: right;
}

.skill-three {
    bottom: 30px;
    left: 50px;
}

.skill-three .node-line {
    right: -90px;
    top: 35px;
    transform: rotate(-28deg);
    transform-origin: left;
}

.skill-four {
    bottom: 30px;
    right: 50px;
    flex-direction: row-reverse;
    text-align: right;
}

.skill-four .node-line {
    left: -90px;
    top: 35px;
    transform: rotate(28deg);
    transform-origin: right;
}

.skills-showcase::before,
.skills-showcase::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 15px var(--green);
}

.skills-showcase::before {
    top: 20px;
    left: 50%;
}

.skills-showcase::after {
    bottom: 20px;
    left: 50%;
}

.project-list {
    max-width: 1100px;
    margin: auto;
}

.project {
    display: grid;
    grid-template-columns: 70px 1fr 50px;
    gap: 30px;
    align-items: start;
    padding: 38px 0;
    border-top: 1px solid var(--border);
    transition: 0.3s ease;
}

.project:last-child {
    border-bottom: 1px solid var(--border);
}

.project:hover {
    padding-left: 12px;
}

.project-number {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-category {
    color: var(--teal);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project h3 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 500;
    margin: 7px 0;
}

.project p {
    max-width: 650px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.technology {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.technology span {
    padding: 5px 10px;
    border: 1px solid rgba(32, 201, 151, 0.2);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.project-link {
    color: var(--green);
    font-size: 25px;
    transition: 0.3s ease;
}

.project-link:hover {
    color: var(--mint);
    transform: translate(4px, -4px);
}

.contact {
    padding: 130px 8%;
    background:
        linear-gradient(
            180deg,
            var(--bg),
            #020706
        );
    text-align: center;
}

.contact-inner {
    max-width: 800px;
    margin: auto;
}

.contact-small {
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.contact h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 7vw, 75px);
    line-height: 1;
    font-weight: 500;
}

.contact h2 span {
    color: var(--green);
}

.contact-description {
    max-width: 500px;
    margin: 25px auto;
    color: var(--muted);
    font-size: 13px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 14px 24px;
    background: var(--green);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.contact-button:hover {
    background: var(--mint);
    transform: translateY(-3px);
}

.contact-button span {
    font-size: 18px;
}

footer {
    padding: 35px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(32, 201, 151, 0.12);
    background: var(--dark);
}

footer strong {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 2px;
}

footer p {
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px;
}

.footer-right {
    text-align: right;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.social-links a {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: var(--green);
    transform: translateY(-2px);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 950px) {

    .navbar {
        padding: 20px 5%;
    }

    .hero {
        padding: 80px 6%;
        gap: 30px;
    }

    .hero-image {
        width: 320px;
        height: 320px;
    }

    .image-wrapper {
        width: 230px;
        height: 230px;
    }

    .circle-one {
        width: 280px;
        height: 280px;
    }

    .circle-two {
        width: 310px;
        height: 310px;
    }

    .floating-note {
        left: -10px;
    }
}

@media (max-width: 850px) {

    .navbar nav {
        gap: 18px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 70px;
    }

    .hero-content {
        max-width: 700px;
    }

    .availability {
        justify-content: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-showcase {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 20px 0;
    }

    .skills-center {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .skill-node {
        position: relative;
        inset: auto !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px;
    }

    .skill-node .node-line {
        display: none;
    }

    .skill-info {
        min-width: auto;
    }

    footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {

    .navbar {
        padding: 18px 5%;
    }

    .navbar nav {
        display: none;
    }

    .logo {
        font-size: 17px;
    }

    .hero {
        padding: 65px 6% 90px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        text-align: center;
    }

    .hero-image {
        width: 280px;
        height: 280px;
        margin-top: 25px;
    }

    .image-wrapper {
        width: 200px;
        height: 200px;
    }

    .circle-one {
        width: 240px;
        height: 240px;
    }

    .circle-two {
        width: 265px;
        height: 265px;
    }

    .floating-note {
        left: -5px;
        bottom: 0;
        padding: 10px 12px;
    }

    .floating-note small {
        display: none;
    }

    .section {
        padding: 90px 6%;
    }

    .section-title {
        margin-bottom: 45px;
    }

    .section-title h2 {
        font-size: 40px;
    }

    .skills-showcase {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-top: 50px;
    }

    .skills-center {
        grid-column: auto;
    }

    .center-ring {
        width: 150px;
        height: 150px;
    }

    .center-ring strong {
        font-size: 21px;
    }

    .skill-orb {
        width: 62px;
        height: 62px;
    }

    .skill-info h3 {
        font-size: 18px;
    }

    .project {
        grid-template-columns: 35px 1fr 25px;
        gap: 12px;
        padding: 30px 0;
    }

    .project h3 {
        font-size: 27px;
    }

    .project p {
        font-size: 12px;
    }

    .project-link {
        font-size: 20px;
    }

    .contact {
        padding: 100px 6%;
    }

    .contact h2 {
        font-size: 45px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .social-links {
        order: 2;
        margin: 5px 0;
    }
}