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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #ffffff;
}

/* =========================
   NAVIGATION
========================= */

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

    padding: 18px 8%;

    background: #0f172a;
    border-bottom: 1px solid #1e293b;

    position: relative;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
}

.logo span {
    color: #38bdf8;
}

.navlink {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navlink a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navlink a:hover {
    color: #38bdf8;
}

/* Hamburger button */

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}


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

.about-section {
    min-height: calc(100vh - 73px);

    display: grid;
    grid-template-columns: 350px 1fr;

    gap: 70px;

    align-items: center;

    max-width: 1100px;
    margin: auto;

    padding: 80px 30px;
}


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

.profile {
    width: 300px;
    height: 350px;

    margin: auto;

    overflow: hidden;

    border-radius: 15px;

    border: 2px solid #38bdf8;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: 0.4s;

    opacity:0;
    transform:translateY(40px);
    filter:blur(20px);
    animation:intro 4s forwards;
}

@keyframes intro{
    to{
        opacity:1;
        transform:translateY(0);
        filter:blur(0);
    }
}

      
.profile:hover img {
    transform: scale(1.05);
}


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

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

.section-label {
    color: #38bdf8;

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

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.about-content h1 {
    font-size: clamp(38px, 5vw, 60px);

    margin-bottom: 10px;

    line-height: 1.1;
}

.about-content h2 {
    color: #94a3b8;

    font-size: 22px;
    font-weight: normal;

    margin-bottom: 25px;
}

.about-content > p {
    color: #cbd5e1;

    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 15px;
}


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

.skills {
    margin-top: 30px;
    margin-bottom: 30px;
}

.skills h3 {
    font-size: 20px;

    margin-bottom: 15px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-list span {
    padding: 10px 14px;

    background: #1e293b;

    border: 1px solid #334155;

    border-radius: 6px;

    color: #cbd5e1;

    font-size: 14px;

    transition: 0.3s;
}

.skill-list span:hover {
    color: #38bdf8;
    border-color: #38bdf8;

    transform: translateY(-2px);
}


/* =========================
   BUTTON
========================= */

.about-btn {
    display: inline-block;

    padding: 14px 22px;

    background: #38bdf8;

    color: #0f172a;

    text-decoration: none;

    font-weight: bold;

    border-radius: 8px;

    transition: 0.3s;
}

.about-btn:hover {
    background: #7dd3fc;

    transform: translateY(-3px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .nav {
        padding: 15px 6%;
    }

    .menu-btn {
        display: block;
    }

    .navlink {
        display: none;

        position: absolute;

        top: 100%;
        right: 0;

        width: 220px;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        padding: 25px;

        background: #1e293b;

        border-left: 1px solid #334155;
        border-bottom: 1px solid #334155;

        z-index: 10;
    }

    .navlink.active {
        display: flex;
    }


    /* About layout */

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

        gap: 40px;

        text-align: center;

        padding: 60px 20px;
    }

    .profile {
        width: 230px;
        height: 280px;
    }

    .about-content {
        margin: auto;
    }

    .skill-list {
        justify-content: center;
    }

}