:root{
/*--primary:#43A842;*/
--primary:#23abff;
--secondary:#1DA1F2;
/*--dark:#0F172A;*/
--dark:#1105b0;
--bg:#F4F6F9;
--white:#fff;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:var(--bg);
overflow-x:hidden;
}

.loader{
position:fixed;
inset:0;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

.spinner{
width:60px;
height:60px;
border:6px solid #ddd;
border-top:6px solid var(--primary);
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{
100%{transform:rotate(360deg);}
}

.hero{
min-height:100vh;
background:linear-gradient(135deg,#23abff,#1DA1F2);
/*background:linear-gradient(135deg,#43A842,#1DA1F2);*/
color:white;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
}

.logo{
font-size:2rem;
font-weight:800;
}

.nav-links{
display:flex;
gap:20px;
list-style:none;
}

.nav-links a{
color:white;
text-decoration:none;
}


.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    position:relative;
}

.menu-btn{
    display:none;
    background:none;
    border:none;
    font-size:2rem;
    color:white;
    cursor:pointer;
}

/* Desktop */
.nav-links{
    display:flex;
    gap:20px;
    list-style:none;
}

/* Mobile */
@media(max-width:768px){

    .menu-btn{
        display:block;
        z-index:1002;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;
        right:0;

        flex-direction:column;
        gap:0;

        background:white;

        max-height:0;
        overflow:hidden;

        transition:max-height .4s ease;

        box-shadow:0 10px 30px rgba(0,0,0,.12);
        border-radius:0 0 15px 15px;
    }

    .nav-links.show{
    max-height:500px;
    opacity:1;
    transform:translateY(0);
    z-index:999;
}
.navbar{
    position:relative;
    z-index:1000;
}
    .nav-links li{
        width:100%;
    }

    .nav-links a{
        display:block;
        color:#434343;
        padding:18px 25px;
        border-bottom:1px solid #eee;
    }

    .nav-links a:hover{
        background:#f4f6f9;
        color:#1DA1F2;
    }
}

@media(max-width:768px){

    .nav-links{
        opacity:0;
        transform:translateY(-15px);
        transition:
            max-height .4s ease,
            opacity .3s ease,
            transform .3s ease;
    }

    .nav-links.show{
        opacity:1;
        transform:translateY(0);
    }

}



.menu-btn{
display:none;
}

.hero-content{
max-width:800px;
margin:auto;
text-align:center;
padding-top:120px;
}

.hero-content h1{
font-size:3rem;
margin-bottom:20px;
}

.hero-content p{
font-size:1.1rem;
margin-bottom:30px;
}



.btn{
background:white;
color:var(--primary);
padding:15px 30px;
border-radius:50px;
text-decoration:none;
font-weight:600;
display:inline-block;
transition:.3s;
}

.btn:hover{
transform:translateY(-4px);
}



.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
padding:60px 8%;
}

.stat-card{
background:white;
padding:30px;
border-radius:15px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.stat-card h2{
color:var(--primary);
font-size:2.5rem;
}

.services,
.why{
padding:80px 8%;
}

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
font-size:2.4rem;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.service-card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.08);
transition:.4s;
}

.service-card:hover{
transform:translateY(-10px);
}

.icon{
font-size:3rem;
margin-bottom:15px;
}

.service-card h3{
margin-bottom:10px;
}

.why-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.why-card{
background:white;
padding:25px;
border-radius:15px;
font-weight:600;
}

.cta{
padding:100px 8%;
text-align:center; 
/*background:linear-gradient(135deg,#1DA1F2,#43A842);*/
background:linear-gradient(135deg,#1DA1F2,#23abff);
color:white;
}

.cta h2{
font-size:2.5rem;
margin-bottom:20px;
}

footer{
background:var(--dark);
color:white;
padding:60px 8%;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.footer-grid a{
display:block;
color:#ccc;
text-decoration:none;
margin-top:10px;
}

.footer-grid a:hover{
color:white;
}

.copyright{
text-align:center;
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.15);
}

.reveal{
opacity:0;
transform:translateY(50px);
transition:1s;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}


@media(max-width:768px){

    .menu-btn{
        display:block;
        background:none;
        border:none;
        font-size:2rem;
        color:white;
        cursor:pointer;
    }

    .hero-content h1{
        font-size:2rem;
    }

}
/* Apparition douce */
@keyframes fadeUp {
    from{
        opacity:0;
        transform:translateY(60px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeLeft {
    from{
        opacity:0;
        transform:translateX(-80px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes fadeRight {
    from{
        opacity:0;
        transform:translateX(80px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes zoomIn {
    from{
        opacity:0;
        transform:scale(.7);
    }
    to{opacity:1;
        transform:scale(1);
    }

}