/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0f19;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #6c63ff;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #b8bdc9;
    font-size: 15px;
    transition: 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #ffffff;
}

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 27px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: #6c63ff;
    filter: blur(150px);
    opacity: 0.25;
    top: 80px;
    left: -100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.small-title {
    color: #8d85ff;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #6c63ff;
}

.hero-description {
    max-width: 550px;
    color: #aeb4c2;
    font-size: 17px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn {
    background: #6c63ff;
    color: white;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.35);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================
   PROFILE CARD
========================= */

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 320px;
    height: 350px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(15px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4);

    animation: floating 4s ease-in-out infinite;
}

.profile-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 55px;

    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);

    margin-bottom: 25px;
}

.profile-card h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-card p {
    color: #9fa6b5;
}


/* =========================
   SECTION TITLE
========================= */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p {
    color: #6c63ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 38px;
}


/* =========================
   SKILLS
========================= */

.skills {
    padding: 100px 0;
    background: #0f1420;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.skill-card {
    padding: 35px 25px;
    text-align: center;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 99, 255, 0.5);
}

.skill-card span {
    font-size: 40px;
}

.skill-card h3 {
    margin: 15px 0 8px;
}

.skill-card p {
    color: #9fa6b5;
}


/* =========================
   PROJECTS
========================= */

.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    overflow: hidden;

    background: #111724;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 65px;

    background: #171d2c;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 10px;
}

.project-content p {
    color: #9fa6b5;
    margin-bottom: 15px;
}

.project-content a {
    color: #8d85ff;
    font-weight: 600;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 100px 0;
    text-align: center;
    background: #0f1420;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.cta p {
    color: #9fa6b5;
    margin-bottom: 25px;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
    color: #777f91;
    font-size: 14px;
}


/* =========================
   ANIMATION
========================= */

@keyframes floating {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;

        flex-direction: column;
        gap: 0;

        background: #0b0f19;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav.show {
        display: flex;
    }

    .nav a {
        padding: 15px 5%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .menu-btn {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .profile-card {
        width: 280px;
        height: 310px;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .cta h2 {
        font-size: 30px;
    }

}