*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#333;
    line-height:1.7;
}

/* ================= NAVBAR ================= */

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.logo h2{
    color:#2563eb;
    font-size:30px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
    flex-wrap:wrap;
}

nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:600;
    font-size:16px;
    transition:.3s;
}

nav ul li a:hover{
    color:#2563eb;
}

/* ================= HERO ================= */

header{
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:white;
    padding:160px 8% 100px;
}

.hero{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-text{
    max-width:800px;
}

.hero-text h1{
    font-size:60px;
    margin-bottom:15px;
}

.hero-text span{
    color:#38bdf8;
}

.hero-text h2{
    font-size:28px;
    margin-bottom:25px;
    font-weight:500;
}

.hero-text p{
    font-size:18px;
    margin-bottom:40px;
}

.buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.btn,
.btn2{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn{
    background:white;
    color:#2563eb;
}

.btn:hover{
    transform:translateY(-4px);
}

.btn2{
    border:2px solid white;
    color:white;
}

.btn2:hover{
    background:white;
    color:#2563eb;
}

/* ================= SECTIONS ================= */

section{
    padding:90px 8%;
}

section h2{
    text-align:center;
    color:#2563eb;
    margin-bottom:45px;
    font-size:38px;
}

/* ================= ABOUT ================= */

#about p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
}

/* ================= STATS ================= */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stats div{
    background:white;
    border-radius:15px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.stats div:hover{
    transform:translateY(-8px);
}

.stats h2{
    color:#2563eb;
    margin-bottom:10px;
}

/* ================= SKILLS ================= */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.skill-card{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-8px);
}

.skill-card h3{
    color:#2563eb;
    margin-bottom:15px;
}

/* ================= PROJECTS ================= */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,420px));
    justify-content:center;
    gap:35px;
}

.project{
    background:white;
    border-radius:15px;
    padding:35px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.3s;
}
.project img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:20px;
    border:1px solid #ddd;
}

.project:hover{
    transform:translateY(-10px);
}

.project h3{
    color:#2563eb;
    margin-bottom:20px;
}

.project p{
    margin-bottom:20px;
}

.tech{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.tech span{
    background:#2563eb;
    color:white;
    padding:8px 16px;
    border-radius:30px;
    font-size:14px;
}

.project-btn{
    display:inline-block;
    background:#2563eb;
    color:white;
    text-decoration:none;
    padding:12px 22px;
    border-radius:8px;
    transition:.3s;
}

.project-btn:hover{
    background:#1d4ed8;
}

/* ================= CONTACT ================= */

#contact{
    background:#0f172a;
    color:white;
    text-align:center;
}

#contact h2{
    color:white;
}

#contact p{
    margin:15px 0;
    font-size:18px;
}

#contact a{
    color:#38bdf8;
    text-decoration:none;
    font-weight:600;
}

#contact a:hover{
    text-decoration:underline;
}

/* ================= FOOTER ================= */

footer{
    background:#020617;
    color:white;
    text-align:center;
    padding:25px;
}

footer p{
    margin:5px 0;
}

/* ================= MOBILE ================= */

@media(max-width:900px){

nav{
    flex-direction:column;
    padding:15px;
}

nav ul{
    margin-top:15px;
    justify-content:center;
    gap:18px;
}

.hero-text h1{
    font-size:45px;
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.hero-text h1{
    font-size:34px;
}

.hero-text h2{
    font-size:22px;
}

.stats{
    grid-template-columns:1fr;
}

.buttons{
    flex-direction:column;
    align-items:center;
}

section{
    padding:70px 25px;
}

.projects-grid{
    grid-template-columns:1fr;
}

}

/* ================= AVAILABILITY ================= */

.availability{
    background:#ffffff;
    text-align:center;
    padding:80px 8%;
}

.availability h2{
    color:#2563eb;
    font-size:38px;
    margin-bottom:20px;
}

.availability p{
    max-width:700px;
    margin:0 auto 30px;
    font-size:18px;
}

.availability .btn{
    display:inline-block;
}