@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:#f8fafc;
    line-height:1.7;
}


header{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(15,23,42,.95);
    backdrop-filter:blur(10px);
    z-index:1000;
    box-shadow:0 3px 10px rgba(0,0,0,.3);
}

nav{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    color:#38bdf8;
    font-size:28px;
    font-weight:700;
}

.nav-links{
    display:flex;
    list-style:none;
}

.nav-links li{
    margin-left:30px;
}

.nav-links a{
    text-decoration:none;
    color:#fff;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#38bdf8;
}

#theme-toggle{
    background:#38bdf8;
    color:#fff;
    border:none;
    border-radius:50%;
    width:42px;
    height:42px;
    cursor:pointer;
    font-size:18px;
}


.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px 80px;
    background:linear-gradient(135deg,#1e293b,#0f172a);
}

.hero-content{
    max-width:700px;
}

.profile-img{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #38bdf8;
    margin-bottom:25px;
    box-shadow:0 0 30px rgba(56,189,248,.4);
}

.hero h1{
    font-size:3rem;
    margin-bottom:10px;
}

.hero span{
    color:#38bdf8;
}

.hero h3{
    color:#94a3b8;
    margin-bottom:20px;
}

.hero p{
    margin-bottom:35px;
    color:#cbd5e1;
}

.btn{
    display:inline-block;
    padding:14px 35px;
    background:#38bdf8;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#0284c7;
    transform:translateY(-4px);
}


section{
    width:90%;
    max-width:1100px;
    margin:auto;
    padding:90px 0;
}

section h2{
    text-align:center;
    font-size:2.3rem;
    color:#38bdf8;
    margin-bottom:40px;
}

section p{
    color:#cbd5e1;
    text-align:center;
}


.skills-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.skill{
    background:#1e293b;
    padding:25px;
    border-radius:15px;
    text-align:center;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.skill:hover{
    transform:translateY(-8px);
    background:#334155;
}

.skill h3{
    color:#38bdf8;
    margin-bottom:10px;
}


.achievement-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#1e293b;
    padding:30px;
    border-radius:15px;
    text-align:center;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

.card:hover{
    transform:translateY(-10px);
    background:#334155;
}

.card h3{
    color:#38bdf8;
    margin-bottom:15px;
}


.hobbies-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.hobby{
    background:#1e293b;
    padding:20px;
    border-radius:12px;
    text-align:center;
    font-weight:500;
    transition:.3s;
}

.hobby:hover{
    background:#38bdf8;
    color:white;
    transform:scale(1.05);
}


form{
    max-width:700px;
    margin:40px auto 0;
}

input,
textarea{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:none;
    border-radius:10px;
    background:#1e293b;
    color:white;
    outline:none;
    font-size:15px;
}

input::placeholder,
textarea::placeholder{
    color:#94a3b8;
}

form button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#38bdf8;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

form button:hover{
    background:#0284c7;
}

/* ==========================
   Footer
========================== */

footer{
    background:#020617;
    text-align:center;
    padding:25px;
    color:#94a3b8;
}


.dark{
    background:#f8fafc;
    color:#111827;
}

.dark header{
    background:white;
}

.dark .logo{
    color:#0284c7;
}

.dark .nav-links a{
    color:#111827;
}

.dark .hero{
    background:linear-gradient(135deg,#e2e8f0,#ffffff);
}

.dark .hero h3,
.dark p{
    color:#374151;
}

.dark .skill,
.dark .card,
.dark .hobby{
    background:white;
    color:#111827;
}

.dark input,
.dark textarea{
    background:#e5e7eb;
    color:#111827;
}

.dark footer{
    background:#dbeafe;
    color:#111827;
}


@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .nav-links li{
        margin:10px;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .profile-img{
        width:150px;
        height:150px;
    }

    section{
        padding:70px 0;
    }

}


