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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#222;
    line-height:1.6;
}

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

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#0f172a;
    z-index:1000;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    color:#fff;
    font-size:28px;
    font-weight:700;
	weight: 100px;
	height:100px;
}

.logo i{
    color:#0ea5e9;
    margin-right:8px;
}

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

nav a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
    font-weight:500;
}

nav a:hover{
    color:#38bdf8;
}

.btn{
    display:inline-block;
    background:#0ea5e9;
    color:#fff;
    padding:14px 28px;
    border-radius:30px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

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

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

.hero{
    height:100vh;
    background:linear-gradient(rgba(15,23,42,.80),rgba(15,23,42,.80)),
    url(images/hero.jpg) center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
    padding:20px;
}

.hero-content{
    max-width:900px;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:35px;
}

/* ==========================
   TITRES
========================== */

section{
    padding:90px 10%;
}

section h2{
    text-align:center;
    margin-bottom:60px;
    font-size:40px;
    color:#0f172a;
}

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

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

.card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 30px rgba(0,0,0,.08);
    transition:.4s;
}

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

.card i{
    font-size:60px;
    color:#0ea5e9;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

/* ==========================
   STATS
========================== */

.stats{
    background:#0f172a;
    color:#fff;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
}

.stat h2{
    color:#38bdf8;
    font-size:48px;
}

.stat p{
    margin-top:10px;
}

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

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about img{
    width:100%;
    border-radius:20px;
}

.about ul{
    margin:25px 0;
}

.about li{
    list-style:none;
    margin-bottom:12px;
}

/* ==========================
   PORTFOLIO
========================== */

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

.gallery img{
    width:100%;
    border-radius:15px;
    transition:.4s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* ==========================
   AVANTAGES
========================== */

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

.advantages-grid div{
    background:white;
    padding:35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.advantages-grid i{
    font-size:45px;
    color:#0ea5e9;
    margin-bottom:20px;
}

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

.contact{
    background:#eef4fa;
}

form{
    max-width:700px;
    margin:auto;
}

form input,
form textarea{
    width:100%;
    padding:16px;
    margin-bottom:20px;
    border:none;
    border-radius:10px;
    font-size:16px;
}

form textarea{
    resize:none;
}

form button{
    width:100%;
    padding:18px;
    background:#0ea5e9;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:18px;
    transition:.3s;
}

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

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

footer{
    background:#0f172a;
    color:white;
    padding:60px 10%;
}

.footer-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-content h3{
    margin-bottom:20px;
    color:#38bdf8;
}

.footer-content ul{
    list-style:none;
}

.footer-content li{
    margin-bottom:10px;
}

.footer-content p{
    margin-bottom:10px;
}

.copyright{
    text-align:center;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.2);
    padding-top:20px;
    font-size:14px;
}

/* ==========================
   ANIMATIONS
========================== */

.card,
.advantages-grid div,
.gallery img{
    transition:.4s;
}

.card:hover,
.advantages-grid div:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 40px rgba(14,165,233,.25);
}

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

@media(max-width:992px){

.hero h1{
    font-size:42px;
}

.about{
    grid-template-columns:1fr;
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.container{
    flex-direction:column;
    height:auto;
    padding:20px 0;
}

nav ul{
    flex-direction:column;
    text-align:center;
    margin:20px 0;
    gap:15px;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:18px;
}

.stats{
    grid-template-columns:1fr;
}

section h2{
    font-size:32px;
}

.btn{
    padding:12px 24px;
}

}

@media(max-width:480px){

.hero h1{
    font-size:28px;
}

.hero p{
    font-size:16px;
}

.logo{
    font-size:22px;
}

section{
    padding:70px 20px;
}

}