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

/* ===========================
   RESET
=========================== */

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

body{
    background:#0f172a;
    color:#fff;
    line-height:1.6;
}

/* ===========================
   HEADER
=========================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
    background:#111827;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.4);
}

.logo h2{
    color:#fff;
    font-size:32px;
    font-weight:700;
}

.logo span{
    color:#38bdf8;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-size:18px;
    transition:.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#38bdf8;
}

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

.hero{
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 10% 50px;
    gap:60px;
}

.hero-text{
    flex:1;
}

.hero-text h3{
    font-size:25px;
    color:#38bdf8;
}

.hero-text h1{
    font-size:60px;
    margin:15px 0;
}

.hero-text h2{
    font-size:30px;
    color:#cbd5e1;
}

.hero-text p{
    margin:25px 0;
    color:#94a3b8;
    max-width:600px;
}

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

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

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

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:350px;
    height:350px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid #38bdf8;
    box-shadow:0 0 40px rgba(56,189,248,.5);
}

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

section{
    padding:90px 10%;
}

.title{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
    color:#38bdf8;
}

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

.about-container{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
    color:#cbd5e1;
}

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

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

.card{
    background:#1e293b;
    padding:35px;
    border-radius:15px;
    text-align:center;
    transition:.4s;
}

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

.card i{
    font-size:55px;
    color:#38bdf8;
    margin-bottom:20px;
}

.card h3{
    font-size:22px;
}

/* ===========================
   PROJECTS
=========================== */

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.project-card{
    background:#1e293b;
    padding:30px;
    border-radius:15px;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-10px);
}

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

.project-card p{
    color:#cbd5e1;
}

.project-card button{
    margin-top:20px;
    padding:12px 25px;
    border:none;
    border-radius:30px;
    background:#38bdf8;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.project-card button:hover{
    background:#0284c7;
}

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

form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
}

form input,
form textarea{
    margin-bottom:20px;
    padding:15px;
    border:none;
    border-radius:8px;
    background:#1e293b;
    color:white;
    font-size:16px;
}

form textarea{
    resize:none;
}

form button{
    padding:15px;
    border:none;
    border-radius:30px;
    background:#38bdf8;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

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

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

footer{
    background:#111827;
    text-align:center;
    padding:40px 20px;
}

.social{
    margin-bottom:20px;
}

.social a{
    display:inline-block;
    width:50px;
    height:50px;
    line-height:50px;
    margin:0 10px;
    border-radius:50%;
    background:#1e293b;
    color:white;
    font-size:22px;
    transition:.3s;
}

.social a:hover{
    background:#38bdf8;
    transform:translateY(-5px);
}

footer p{
    color:#94a3b8;
}

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

@media(max-width:992px){

    header{
        padding:20px 5%;
    }

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        padding-top:150px;
    }

    .hero-text h1{
        font-size:45px;
    }

    .hero-image img{
        width:260px;
        height:260px;
    }

}

@media(max-width:768px){

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    nav ul li{
        margin:10px;
    }

    .title{
        font-size:32px;
    }

    .hero-text h1{
        font-size:36px;
    }

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

}