/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:#fff;
    overflow-x:hidden;
}

section{
    padding:90px 10%;
}

/* ===========================
   HEADER
=========================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 10%;
    background:rgba(15,23,42,.9);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#38bdf8;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:30px;
    font-size:16px;
    transition:.3s;
}

nav a:hover{
    color:#38bdf8;
}

/* ===========================
   HERO
=========================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    padding-top:140px;
}

.hero-content{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.hero-text{
    flex:1;
}

.hero-text h1{
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-text span{
    color:#38bdf8;
}

.hero-text p{
    color:#cbd5e1;
    font-size:20px;
    line-height:1.8;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#38bdf8;
    color:white;
    text-decoration:none;
    padding:15px 38px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#0ea5e9;
    transform:translateY(-5px);
}

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:300px;
    height:390px;
    object-fit:cover;
    border-radius:25px;
    border:4px solid #38bdf8;
    box-shadow:0 20px 40px rgba(56,189,248,.35);
    transition:.4s;
}

.hero-image img:hover{
    transform:scale(1.05);
}

/* ===========================
   ABOUT
=========================== */

.about{
    background:#111827;
}

.about h2{
    font-size:42px;
    color:#38bdf8;
    margin-bottom:25px;
}

.about p{
    color:#d1d5db;
    font-size:18px;
    line-height:1.9;
    margin-bottom:20px;
}

/* ===========================
   STATS
=========================== */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    background:#0f172a;
}

.stat-box{
    background:#1e293b;
    padding:35px;
    border-radius:20px;
    text-align:center;
    transition:.3s;
}

.stat-box:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(56,189,248,.2);
}

.stat-box h2{
    color:#38bdf8;
    font-size:42px;
    margin-bottom:10px;
}

.stat-box p{
    color:#cbd5e1;
}/* ===========================
   SERVICES
=========================== */

.services{
    background:#111827;
}

.services h2{
    text-align:center;
    font-size:42px;
    color:#38bdf8;
    margin-bottom:50px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:#1e293b;
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(56,189,248,.25);
}

.card h3{
    color:#38bdf8;
    margin-bottom:15px;
    font-size:22px;
}

.card p{
    color:#d1d5db;
    line-height:1.7;
}

/* ===========================
   PORTFOLIO
=========================== */

.portfolio{
    background:#0f172a;
}

.portfolio h2{
    text-align:center;
    font-size:42px;
    color:#38bdf8;
    margin-bottom:50px;
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.project{
    background:#1e293b;
    padding:35px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s;
}

.project:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(56,189,248,.25);
}

.project h3{
    color:#38bdf8;
    margin-bottom:15px;
}

.project p{
    color:#d1d5db;
    line-height:1.7;
}

/* ===========================
   CONTACT
=========================== */

#contact{
    background:#111827;
    text-align:center;
}

#contact h2{
    font-size:42px;
    color:#38bdf8;
    margin-bottom:20px;
}

#contact p{
    color:#d1d5db;
    font-size:18px;
    margin-bottom:10px;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#0b1120;
    text-align:center;
    padding:30px;
}

footer p{
    color:#94a3b8;
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */

@media (max-width:991px){

    header{
        padding:15px 6%;
        flex-direction:column;
        gap:15px;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    nav a{
        margin:10px;
    }

    .hero{
        padding-top:170px;
    }

    .hero-content{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-text h1{
        font-size:42px;
    }

    .hero-text p{
        font-size:18px;
    }

    .hero-image img{
        width:240px;
        height:320px;
    }

    .stats{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:600px){

    section{
        padding:70px 7%;
    }

    .hero-text h1{
        font-size:34px;
    }

    .hero-text p{
        font-size:16px;
    }

    .hero-image img{
        width:200px;
        height:270px;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .service-grid,
    .portfolio-grid{
        grid-template-columns:1fr;
    }

    .services h2,
    .portfolio h2,
    .about h2,
    #contact h2{
        font-size:34px;
    }

}