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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8fafc;
    color:#1f2937;
    line-height:1.7;
}

img{
    display:block;
    max-width:100%;
}

/* =======================
   NAVBAR
======================= */

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

nav{
    max-width:1200px;
    margin:auto;
    padding:18px 25px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav h2{
    color:#2563eb;
    font-size:28px;
}

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

nav a{
    text-decoration:none;
    color:#374151;
    transition:.3s;
}

nav a:hover{
    color:#2563eb;
}

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

section{
    max-width:1200px;
    margin:auto;
    padding:90px 25px;
}

section h2{
    font-size:38px;
    margin-bottom:35px;
}

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

#home h1{
    font-size:52px;
    margin-bottom:10px;
}

#home h2{
    color:#2563eb;
    margin-bottom:20px;
}

#home p{
    max-width:650px;
    color:#6b7280;
    margin-bottom:30px;
}

button{
    padding:14px 28px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:white;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#1d4ed8;
}

/* =======================
   PROJECT
======================= */

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

.card{
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

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

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h3{
    padding:20px 20px 10px;
    color:#2563eb;
}

.card p{
    padding:0 20px 20px;
    color:#555;
}

.tech{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:0 20px 20px;
}

.tech span{
    background:#eef4ff;
    color:#2563eb;
    padding:8px 14px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
}

.status{
    padding:0 20px 25px;
    font-weight:600;
}

.online{
    color:#10b981;
}

.dev{
    color:#f59e0b;
}

/* =======================
   SERVICES
======================= */

#services ul{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

#services li{
    list-style:none;
    background:white;
    padding:20px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

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

#contact p{
    margin:10px 0;
}

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

footer{
    margin-top:70px;
    background:#111827;
    color:white;
    text-align:center;
    padding:30px;
}

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

@media(max-width:768px){

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

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

#home h1{
    font-size:38px;
}

section h2{
    font-size:30px;
}

.portfolio-container{
    grid-template-columns:1fr;
}

}

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

.about-container{

display:grid;

grid-template-columns:2fr 1fr;

gap:40px;

align-items:center;

}

.about-text p{

margin-bottom:20px;

color:#555;

}

.about-info{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.info-card{

background:white;

padding:25px;

border-radius:15px;

text-align:center;

box-shadow:0 5px 20px rgba(0,0,0,.08);

transition:.3s;

}

.info-card:hover{

transform:translateY(-6px);

}

.info-card h3{

color:#2563eb;

margin-bottom:10px;

font-size:28px;

}

@media(max-width:768px){

.about-container{

grid-template-columns:1fr;

}

.about-info{

grid-template-columns:1fr 1fr;

}

}

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

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

.skill-card{
    background:#ffffff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.skill-card:hover{
    transform:translateY(-8px);
}

.skill-card h3{
    color:#2563eb;
    margin-bottom:12px;
}

.skill-card p{
    color:#555;
}

/* =======================
   HERO IMPROVEMENT
======================= */

#home{
    min-height:85vh;
    display:flex;
    align-items:center;
}

#home div{
    max-width:700px;
}

/* =======================
   PRICING
======================= */

#pricing{
    text-align:center;
}

#pricing h2{
    margin-bottom:40px;
}

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

.price-card{
    background:#ffffff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.price-card:hover{
    transform:translateY(-8px);
}

.price-card h3{
    color:#2563eb;
    margin-bottom:15px;
}

.price-card h1{
    font-size:42px;
    margin-bottom:20px;
}

.price-card p{
    color:#6b7280;
}

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

#contact{
    text-align:center;
}

#contact p{
    margin:18px 0;
    font-size:18px;
}

#contact a{
    text-decoration:none;
    color:#2563eb;
}

#contact a:hover{
    text-decoration:underline;
}

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

footer p{
    opacity:.85;
}

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

@media(max-width:768px){

    #home{
        min-height:auto;
        text-align:center;
    }

    button{
        width:100%;
    }

}

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

.project-button{
    display:flex;
    gap:12px;
    padding:0 20px 25px;
}

.project-button a{
    text-decoration:none;
    background:#2563eb;
    color:#ffffff;
    padding:10px 18px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.project-button a:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}
