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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #080808;
    color: #ffffff;
    line-height: 1.6;
}


/* =========================
   GLOBAL
========================= */

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

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

.section {
    max-width: 1100px;
    margin: auto;
    padding: 110px 25px;
}

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

.section-heading p,
.contact-small,
.intro,
.project-type {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #888;
}

.section-heading h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-top: 10px;
}

.section-heading h2 span,
.hero h1 span,
.hero h2 span,
.contact-section h2 span {
    color: #8b5cf6;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 75px;

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

    padding: 0 6%;

    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(15px);

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

.logo {
    font-size: 28px;
    font-weight: 800;
}

.logo span {
    color: #8b5cf6;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #999;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

.nav-btn {
    padding: 10px 18px;
    border: 1px solid #333;
    border-radius: 30px;
    font-size: 13px;

    transition: 0.3s;
}

.nav-btn:hover {
    background: white;
    color: black;
}


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

.hero {
    min-height: calc(100vh - 75px);

    max-width: 1200px;
    margin: auto;

    padding: 80px 30px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 50px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border: 1px solid #292929;
    border-radius: 30px;

    font-size: 12px;
    color: #aaa;

    margin-bottom: 30px;
}

.availability span {
    width: 7px;
    height: 7px;

    background: #22c55e;
    border-radius: 50%;

    box-shadow: 0 0 10px #22c55e;
}

.intro {
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 92px);
    line-height: 0.95;
    letter-spacing: -5px;
}

.hero h2 {
    font-size: 28px;
    color: #aaa;
    margin-top: 20px;
}

.hero-text {
    max-width: 550px;
    color: #888;
    margin-top: 25px;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn,
.btn-outline {
    padding: 14px 22px;

    border-radius: 8px;

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

    display: inline-flex;
    align-items: center;
    gap: 10px;

    transition: 0.3s;
}

.btn {
    background: #ffffff;
    color: #000;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.12);
}

.btn-outline {
    border: 1px solid #333;
    color: white;
}

.btn-outline:hover {
    border-color: #777;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.social-links a {
    color: #777;
    font-size: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}


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

.hero-image {
    position: relative;

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

    min-height: 500px;
}

.image-glow {
    position: absolute;

    width: 330px;
    height: 330px;

    background: #8b5cf6;

    border-radius: 50%;

    filter: blur(120px);
    opacity: 0.2;
}

.profile-card {
    width: 330px;
    height: 400px;

    position: relative;
    z-index: 2;

    overflow: hidden;

    border-radius: 180px 180px 30px 30px;

    border: 1px solid #333;

    background: #111;

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

.profile-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* Floating cards */

.floating-card {
    position: absolute;
    z-index: 5;

    padding: 12px 16px;

    background: rgba(20,20,20,0.85);

    border: 1px solid #333;

    border-radius: 10px;

    backdrop-filter: blur(10px);

    font-size: 12px;
    color: #ddd;

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

.floating-card i {
    margin-right: 7px;
}

.card-one {
    top: 80px;
    left: 5px;
}

.card-two {
    right: 0;
    top: 190px;
}

.card-three {
    bottom: 80px;
    left: 20px;
}


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

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

    gap: 70px;
}

.about-text p {
    color: #999;
    margin-bottom: 20px;
    font-size: 16px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-card {
    padding: 30px;

    background: #101010;

    border: 1px solid #222;
    border-radius: 15px;

    transition: 0.3s;
}

.stat-card:hover {
    border-color: #444;
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 35px;
}

.stat-card h3 span {
    color: #8b5cf6;
}

.stat-card p {
    color: #777;
    font-size: 13px;
}


/* =========================
   TIMELINE
========================= */

.timeline {
    position: relative;
    max-width: 800px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 7px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: #292929;
}

.timeline-item {
    position: relative;

    padding-left: 45px;

    margin-bottom: 45px;
}

.timeline-dot {
    position: absolute;

    left: 0;
    top: 6px;

    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: #8b5cf6;

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

.timeline-content span {
    color: #8b5cf6;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.timeline-content h3 {
    margin: 8px 0;
    font-size: 22px;
}

.timeline-content p {
    color: #777;
    max-width: 600px;
}


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

.skills-grid {
    display: grid;

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

    gap: 15px;
}

.skill-card {
    padding: 35px 25px;

    background: #101010;

    border: 1px solid #222;

    border-radius: 15px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-7px);
    border-color: #8b5cf6;
}

.skill-card i {
    font-size: 32px;
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 5px;
}

.skill-card p {
    font-size: 12px;
    color: #777;
}


/* =========================
   PROJECT
========================= */

.project-card {
    position: relative;

    display: grid;

    grid-template-columns: 120px 1fr;

    padding: 50px;

    border: 1px solid #292929;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #111,
            #0b0b0b
        );

    overflow: hidden;
}

.project-card::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background: #8b5cf6;

    right: -150px;
    bottom: -150px;

    filter: blur(120px);

    opacity: 0.12;
}

.project-number {
    font-size: 45px;
    font-weight: 800;
    color: #333;
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 35px;
    margin: 10px 0;
}

.project-info > p:not(.project-type) {
    color: #777;
    max-width: 600px;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin: 25px 0;
}

.project-tags span {
    padding: 6px 12px;

    border-radius: 20px;

    background: #191919;

    border: 1px solid #292929;

    font-size: 11px;
    color: #aaa;
}

.project-link {
    font-size: 13px;
    font-weight: 600;
}

.project-link i {
    margin-left: 5px;
}


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

.contact-section {
    text-align: center;

    max-width: 900px;

    margin: auto;

    padding: 130px 25px;
}

.contact-section h2 {
    font-size: clamp(45px, 7vw, 75px);

    line-height: 1;

    margin: 20px 0;
}

.contact-section > p:not(.contact-small) {
    color: #777;
    margin-bottom: 35px;
}


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

footer {
    max-width: 1100px;

    margin: auto;

    padding: 30px 25px;

    border-top: 1px solid #222;

    display: flex;

    justify-content: space-between;

    color: #555;

    font-size: 12px;
}


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

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        max-width: 600px;
    }

    .hero-image {
        min-height: 450px;
    }

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

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

    .project-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-number {
        font-size: 25px;
    }
}


@media (max-width: 600px) {

    .navbar {
        padding: 0 20px;
    }

    .nav-btn {
        display: none;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn,
    .btn-outline {
        justify-content: center;
    }

    .profile-card {
        width: 270px;
        height: 340px;
    }

    .floating-card {
        font-size: 10px;
    }

    .card-one {
        left: -5px;
    }

    .card-two {
        right: -5px;
    }

    .section {
        padding: 80px 20px;
    }

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

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

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

    .project-card {
        padding: 30px 25px;
    }

    .project-info h3 {
        font-size: 27px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}