/* ===============================
   Google Font & Reset
================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#08121f;
    color:#ffffff;
}

/* ===============================
   Navigation
================================= */

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    background:rgba(8,18,31,.85);
    backdrop-filter:blur(12px);
}

nav{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 25px;
}

.logo{
    color:#38bdf8;
    font-size:30px;
    font-weight:700;
}

nav ul{
    display:flex;
    list-style:none;
    gap:28px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav ul li a:hover{
    color:#38bdf8;
}

/* ===============================
   Hero
================================= */

.hero{
    min-height:100vh;
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    padding:120px 25px 60px;
}

.hero-text{
    flex:1;
}

.hero-text h3{
    color:#38bdf8;
    margin-bottom:10px;
}

.hero-text h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:15px;
}

.hero-text h2{
    color:#93c5fd;
    margin-bottom:20px;
}

.hero-text p{
    color:#d1d5db;
    line-height:1.8;
    max-width:600px;
}

.buttons{
    margin-top:35px;
}

.btn{
    display:inline-block;
    padding:14px 28px;
    background:#38bdf8;
    color:#08121f;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    margin-right:15px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(56,189,248,.4);
}

.btn2{
    background:transparent;
    border:2px solid #38bdf8;
    color:white;
}

/* ===============================
   Profile Image
================================= */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:360px;
    height:360px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #38bdf8;
    box-shadow:0 0 40px rgba(56,189,248,.5);
    transition:.4s;
}

.hero-image img:hover{
    transform:scale(1.05);
}

/* ===============================
   Sections
================================= */

section{
    max-width:1200px;
    margin:auto;
    padding:90px 25px;
}

section h2{
    text-align:center;
    font-size:38px;
    color:#38bdf8;
    margin-bottom:50px;
}

/* ===============================
   About
================================= */

.about p{
    max-width:900px;
    margin:auto;
    text-align:center;
    line-height:2;
    color:#d1d5db;
    font-size:18px;
}

/* ===============================
   Skills
================================= */

.skill-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
}

.card{
    background:rgba(255,255,255,.06);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:40px;
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(56,189,248,.25);
}

.card i{
    font-size:48px;
    color:#38bdf8;
    margin-bottom:15px;
}

.card h3{
    font-size:22px;
}

/* ===============================
   Projects
================================= */

.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project{
    background:rgba(255,255,255,.05);
    border-radius:18px;
    padding:30px;
    transition:.3s;
    border-left:5px solid #38bdf8;
}

.project:hover{
    transform:translateY(-10px);
}

.project h3{
    margin-bottom:15px;
    color:#38bdf8;
}

.project p{
    color:#d1d5db;
    line-height:1.8;
}

/* ===============================
   Contact
================================= */

.contact-box{
    max-width:700px;
    margin:auto;
    background:rgba(255,255,255,.05);
    padding:35px;
    border-radius:18px;
}

.contact-box p{
    margin:18px 0;
    font-size:18px;
}

.contact-box i{
    color:#38bdf8;
    margin-right:12px;
}

.contact-box a{
    color:white;
    text-decoration:none;
}

.contact-box a:hover{
    color:#38bdf8;
}

/* ===============================
   Footer
================================= */

footer{
    background:#050b14;
    text-align:center;
    padding:25px;
    color:#9ca3af;
}

/* ===============================
   Responsive
================================= */

@media(max-width:900px){

.hero{
    flex-direction:column-reverse;
    text-align:center;
}

.hero-text h1{
    font-size:42px;
}

.hero-image img{
    width:260px;
    height:260px;
}

nav{
    flex-direction:column;
    gap:15px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

.buttons .btn{
    margin-bottom:15px;
}

}