* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #08080d;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* BACKGROUND */

.background span {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .12;
    background: #9d4edd;
    pointer-events: none;
}

.background span:nth-child(1) {
    top: 10%;
    left: -150px;
}

.background span:nth-child(2) {
    right: -150px;
    top: 45%;
}

.background span:nth-child(3) {
    bottom: -150px;
    left: 35%;
}


/* NAVBAR */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8,8,13,.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

nav {
    width: min(1150px, 92%);
    margin: auto;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 45px;
    height: 45px;

    border: 1px solid #a855f7;
    border-radius: 12px;

    display: grid;
    place-items: center;

    font-size: 18px;
    font-weight: 800;

    box-shadow: 0 0 25px rgba(168,85,247,.25);
}

.logo span {
    color: #b968ff;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul a {
    color: #aaa;
    font-size: 13px;
    transition: .3s;
}

nav ul a:hover {
    color: #c084fc;
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 22px;
}


/* HERO */

.hero {
    width: min(1150px, 92%);
    min-height: 100vh;
    margin: auto;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;

    padding-top: 100px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    border: 1px solid #28232f;
    border-radius: 50px;

    padding: 9px 15px;

    font-size: 10px;
    letter-spacing: 1.5px;
    color: #aaa;
}

.availability span {
    width: 7px;
    height: 7px;
    background: #72f1a3;
    border-radius: 50%;
    box-shadow: 0 0 10px #72f1a3;
}

.small-title {
    margin-top: 30px;
    color: #b968ff;
    font-size: 13px;
    letter-spacing: 5px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 100px);
    line-height: .95;
    margin: 12px 0;

    letter-spacing: -5px;
}

.hero h1 span {
    color: #a855f7;
}

.hero h2 {
    color: #aaa;
    font-size: 27px;
    font-weight: 400;
}

.hero h2 strong {
    color: white;
}

.intro {
    max-width: 580px;
    color: #888;
    line-height: 1.8;
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.resume-btn {
    background: #a855f7;
    padding: 14px 22px;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;

    transition: .3s;
}

.resume-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(168,85,247,.35);
}

.project-btn {
    border: 1px solid #302938;
    padding: 14px 22px;
    border-radius: 8px;

    font-size: 12px;
    color: #aaa;

    transition: .3s;
}

.project-btn:hover {
    border-color: #a855f7;
    color: white;
}

.project-btn i {
    margin-left: 8px;
}

.quick-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.quick-links a {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid #28232f;
    border-radius: 50%;

    color: #aaa;
    transition: .3s;
}

.quick-links a:hover {
    color: white;
    background: #a855f7;
    transform: translateY(-4px);
}


/* PROFILE */

.profile-area {
    position: relative;
    height: 520px;

    display: grid;
    place-items: center;
}

.profile-card {
    position: relative;
    z-index: 5;
    text-align: center;
}

.profile-image {
    width: 310px;
    height: 310px;
    position: relative;

    border-radius: 50%;
    padding: 8px;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #f5d0fe,
        #a855f7,
        #6d28d9
    );

    box-shadow:
        0 0 50px rgba(168,85,247,.3),
        0 0 100px rgba(168,85,247,.12);
    border: 3px solid rgba(255,255,255,0.18);
}

.profile-image img,
.profile-icon {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;

    border-radius: 50%;
    overflow: hidden;

    object-fit: cover;
    object-position: center top;

    background: #15121b;
    display: block;
}

.profile-icon {
    display: none;
    align-items: center;
    justify-content: center;

    font-size: 80px;
    color: #a855f7;
}

.profile-label {
    margin: 18px auto 0;

    width: fit-content;

    border: 1px solid #302938;
    border-radius: 50px;

    padding: 9px 16px;

    color: #aaa;
    font-size: 10px;
    letter-spacing: 2px;
}

.profile-label i {
    color: #a855f7;
    margin-right: 7px;
}


/* ORBITS */

.orbit {
    position: absolute;
    border: 1px solid rgba(168,85,247,.15);
    border-radius: 50%;
}

.orbit-one {
    width: 410px;
    height: 410px;
}

.orbit-two {
    width: 500px;
    height: 500px;
}


/* FLOATING CARDS */

.floating-card {
    position: absolute;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 17px;

    background: rgba(18,15,25,.9);
    border: 1px solid #302938;
    border-radius: 12px;

    backdrop-filter: blur(10px);

    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    color: #b968ff;
    font-size: 18px;
}

.floating-card b,
.floating-card small {
    display: block;
}

.floating-card b {
    font-size: 12px;
}

.floating-card small {
    color: #777;
    margin-top: 3px;
}

.card-one {
    top: 100px;
    right: 0;
}

.card-two {
    bottom: 100px;
    left: 0;
    animation-delay: 1s;
}

@keyframes float {
    50% {
        transform: translateY(-12px);
    }
}


/* SECTIONS */

.section {
    width: min(1150px, 92%);
    margin: auto;
    padding: 120px 0;
}

.section-heading span {
    color: #a855f7;
    font-size: 11px;
    letter-spacing: 3px;
}

.section-heading h2 {
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.05;
    margin-top: 15px;
    letter-spacing: -2px;
}

.section-heading em {
    color: #a855f7;
    font-style: normal;
}


/* ABOUT */

.about-grid {
    margin-top: 55px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text p {
    color: #888;
    line-height: 2;
    margin-bottom: 20px;
}

.about-text strong {
    color: #ddd;
}

.education-card {
    padding: 35px;

    border: 1px solid #29232f;
    border-radius: 20px;

    display: flex;
    gap: 25px;

    background: rgba(255,255,255,.015);
}

.edu-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(168,85,247,.1);
    color: #b968ff;
}

.education-card span {
    font-size: 10px;
    color: #888;
    letter-spacing: 2px;
}

.education-card h3 {
    font-size: 22px;
    margin: 10px 0;
}

.education-card p {
    color: #a855f7;
    font-size: 13px;
}


/* SKILLS */

.skills {
    margin-top: 55px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.skill {
    padding: 30px;

    border: 1px solid #29232f;
    border-radius: 16px;

    transition: .3s;
}

.skill:hover {
    transform: translateY(-7px);
    border-color: #a855f7;
    background: rgba(168,85,247,.04);
}

.skill i {
    color: #b968ff;
    font-size: 25px;
}

.skill h3 {
    margin-top: 20px;
}

.skill p {
    color: #777;
    font-size: 12px;
    margin-top: 5px;
}


/* PROJECTS */

.projects {
    margin-top: 55px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project {
    position: relative;

    padding: 32px;

    min-height: 330px;

    border: 1px solid #29232f;
    border-radius: 18px;

    transition: .3s;
}

.project:hover {
    transform: translateY(-8px);
    border-color: #a855f7;
}

.project-number {
    position: absolute;
    top: 25px;
    right: 25px;

    color: #444;
    font-size: 12px;
}

.project-icon {
    color: #b968ff;
    font-size: 28px;
}

.project h3 {
    margin-top: 35px;
    font-size: 20px;
}

.project p {
    color: #777;
    line-height: 1.7;
    font-size: 13px;
    margin-top: 15px;
}

.tags {
    position: absolute;
    bottom: 30px;
    left: 32px;

    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.tags span {
    padding: 6px 9px;
    border: 1px solid #302938;
    border-radius: 5px;

    color: #999;
    font-size: 9px;
}


/* RESUME */

.resume-section {
    width: min(1150px, 92%);
    margin: 40px auto 120px;

    border: 1px solid #3a2848;
    border-radius: 25px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(168,85,247,.15),
            transparent 40%
        ),
        #100c16;
}

.resume-content {
    padding: 70px;
}

.resume-content > span {
    color: #a855f7;
    font-size: 10px;
    letter-spacing: 3px;
}

.resume-content h2 {
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1;
    margin: 15px 0;
}

.resume-content em {
    color: #a855f7;
    font-style: normal;
}

.resume-content p {
    color: #777;
    margin-bottom: 30px;
}

.resume-content a {
    display: inline-block;

    background: #a855f7;

    padding: 14px 22px;
    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;

    transition: .3s;
}

.resume-content a:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(168,85,247,.3);
}


/* CONTACT */

.contact-grid {
    margin-top: 55px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.contact-card {
    padding: 25px;

    display: flex;
    align-items: center;
    gap: 18px;

    border: 1px solid #29232f;
    border-radius: 15px;

    transition: .3s;
}

.contact-card:hover {
    border-color: #a855f7;
    transform: translateY(-5px);
}

.contact-card > i {
    color: #b968ff;
    font-size: 22px;
}

.contact-card span {
    color: #666;
    font-size: 9px;
    letter-spacing: 2px;
}

.contact-card h3 {
    font-size: 14px;
    margin-top: 5px;
}


/* FOOTER */

footer {
    border-top: 1px solid #1d1922;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 12px;
}

.footer-logo {
    color: #a855f7;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 10px;
}

footer strong {
    color: white;
}

.copyright {
    margin-top: 10px;
    font-size: 10px;
}


/* MOBILE */

@media(max-width: 850px) {

    nav ul {
        display: none;

        position: absolute;
        top: 80px;
        right: 4%;

        flex-direction: column;

        background: #111018;
        border: 1px solid #302938;
        border-radius: 15px;

        padding: 25px;

        width: 200px;
    }

    nav ul.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
    }

    .intro {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .quick-links {
        justify-content: center;
    }

    .profile-area {
        height: 430px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .orbit-one {
        width: 330px;
        height: 330px;
    }

    .orbit-two {
        width: 390px;
        height: 390px;
    }

    .card-one {
        right: 5%;
    }

    .card-two {
        left: 5%;
    }

    .about-grid,
    .skills,
    .projects,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .resume-content {
        padding: 45px 25px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }
}
