* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    background: #fff;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* TOP BAR */

.top-bar {
    background: #07192D;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-item strong {
    color: #D90429;
    display: block;
    /* font-size: 14px; */
}

/* HEADER */

header {
    background: #D90429;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(217, 4, 41, .25);
}

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

.logo img {
    height: 42px;

}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
    border-radius:6px;
    padding:5px 5px;
}

nav a:hover{
    color: #07192D;
}

nav a.active {
    color: #07192D;
    background:white;
    color:#D90429;
    font-weight:600;
}

.btn-contact {
    background: white;
    color: #D90429;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-contact:hover {
    background: #07192D;
    color: white;
}
.btn-contactwh {
    background: rgb(255, 255, 255);
    color: #35b216;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-contactwh:hover {
    background: #0f2d07;
    color: #35b216;
}






/* ======================================
   HAMBURGER MENU
====================================== */

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    z-index:1001;
}

.hamburger span{
    width:28px;
    height:3px;
    background:white;
    border-radius:2px;
    transition:.4s;
}

/* Animation hamburger */

.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(6px,6px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
}

/* ======================================
   TABLETTE
====================================== */

@media(max-width:992px){

    /* TOP BAR */

    .top-content{
        flex-wrap:wrap;
        justify-content:center;
        text-align:center;
        gap:15px;
    }

    .top-item{
        width:45%;
        justify-content:center;
    }

    /* HEADER */

    .hamburger{
        display:flex;
    }

    .navbar{
        height:70px;
        width:95%;
        position:relative;
    }

    .main-nav{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#D90429;
        max-height:0;
        overflow:hidden;
        transition:max-height .4s ease;
        box-shadow:0 10px 25px rgba(0,0,0,.15);
    }

    .main-nav.active{
        max-height:600px;
    }

    .main-nav ul{
        flex-direction:column;
        align-items:center;
        gap:0;
        padding:20px 0;
    }

    .main-nav li{
        width:100%;
    }

    .main-nav a{
        display:block;
        width:100%;
        text-align:center;
        padding:15px;
    }

    .btn-contactwh{
        display:inline-block;
        width:auto !important;
        margin-top:10px;
    }

    /* HERO */

    .hero-slider{
        height:70vh;
    }

    .hero-content{
        padding:50px 30px;
    }

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

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

    /* SERVICES */

    .service-item{
        flex-direction:column;
        gap:25px;
    }

    .service-item:nth-child(even){
        flex-direction:column;
    }

    /* FOOTER */

    .footer-content{
        grid-template-columns:1fr 1fr;
    }
}

/* ======================================
   MOBILE
====================================== */

@media(max-width:768px){

    .top-bar{
        display:none;
    }

    .hero-slider{
        height:65vh;
    }

    .hero-content{
        padding:30px;
    }

    .hero-content h1{
        font-size:32px;
    }

    .hero-content p{
        font-size:15px;
        line-height:1.7;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .btn-red,
    .btn-outline{
        width:100%;
        text-align:center;
    }

    .section-title h2{
        font-size:30px;
    }

    .service-content{
        padding:25px;
    }

    .service-content h2{
        font-size:26px;
    }

    .partners-track img{
        height:70px;
    }

    .footer-content{
        grid-template-columns:1fr;
    }

    .social-links{
        justify-content:center;
    }
}

/* ======================================
   PETITS TELEPHONES
====================================== */

@media(max-width:480px){

    .hero-slider{
        height:60vh;
    }

    .hero-content h1{
        font-size:26px;
    }

    .hero-content p{
        font-size:14px;
    }

    .logo img{
        height:35px;
    }

    .partners-track img{
        height:55px;
    }

    .why-card{
        padding:20px;
        font-size:15px;
    }

    .service-content{
        padding:20px;
    }

    .service-content h2{
        font-size:22px;
    }

    .footer{
        text-align:center;
    }
}











/* HERO */

.hero {
    display: flex;
    min-height: 600px;
}

.hero-left {
    flex: 1;
    background: #082B61;
    color: white;
    padding: 50px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subtitle {
    color: #D90429;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.1;
    margin: 15px 0 20px;
    max-width: 700px;
}

.hero p {
    font-size: 17px;
    line-height: 1.8;
    opacity: .9;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-red {
    background: #D90429;
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .5);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stats h3 {
    color: #D90429;
    font-size: 32px;
}

.hero-stats span {
    font-size: 14px;
    opacity: .8;
}

.hero-right {
    flex: 1;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


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

.hero-slider{
    position:relative;
    height:85vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1s ease-in-out;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    animation:heroZoom 8s linear forwards;
}


@keyframes heroZoom{

    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.08);
    }
}


.slide.active{
    opacity:1;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(7,25,45,.70);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:800px;
    padding:50px 8%;
    color:#fff;
}

.hero-content .subtitle{
    color:#D90429;
    font-weight:700;
    letter-spacing:2px;
}

.hero-content h1{
    font-size:30px;
    line-height:1.1;
    margin:20px 0;
}

.hero-content p{
    font-size:18px;
    line-height:1.8;
    max-width:650px;
}

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:15px;
}

.btn-red{
    background:#D90429;
    color:#fff;
    text-decoration:none;
    padding:15px 30px;
    border-radius:8px;
    font-weight:600;
}

.btn-outline{
    border:1px solid #fff;
    color:#fff;
    text-decoration:none;
    padding:15px 30px;
    border-radius:8px;
}

.slider-indicators{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:5;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
}

.dot.active{
    background:#D90429;
}





/* FOOTER */

.footer {
    background: #07192D;
    color: white;
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-col p {
    line-height: 1.8;
    opacity: .85;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: #D90429;
}

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

.footer-col ul li {
    margin-bottom: 12px;
    opacity: .9;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

.footer-col a:hover {
    color: #D90429;
}

.footer-bottom {
    border-top: 1px solid rgba(5, 4, 20, 0.1);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    background-color: red;
    opacity: .8;
}

/* SOCIAL FOOTER */

.social-links{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.social-links a{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.08);
    color:white;
    border-radius:50%;
    text-decoration:none;
    transition:.3s;
    font-size:18px;
}

.social-links a:hover{
    background:#D90429;
    transform:translateY(-3px);
}

/* MOBILE */

@media(max-width:992px) {

    .top-content {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 5px;
    }

    .navbar {
        /* flex-direction: column; */
        height: auto;
        padding: 15px 0;
        gap: 10px;
    }

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

    .btn-contact {
        display: none;
    }


    .hero {
        flex-direction: column;
    }

    .hero-left {
        padding: 50px 25px;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}



/* HERO */

.page-header {
    background: linear-gradient(rgba(7, 25, 45, .92),
            rgba(7, 25, 45, .92)),
        url("images/services-banner.jpg");

    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.page-header h1 {
    font-size: 55px;
    margin-bottom: 10px;
}

.page-header p {
    max-width: 700px;
    margin: auto;
    opacity: .9;
    line-height: 1.8;
}

/* ==========================
   PARTENAIRES
========================== */

.partners-section{
    padding:100px 0;
    background:#fff;

}

.partners-section .section-title{
    text-align:center;
    margin-bottom:50px;
}

.partners-section .section-title h2{
    color:#07192D;
    margin:15px 0;
}

.partners-section .section-title p{
    max-width:700px;
    margin:auto;
    color:#666;
}

.partners-slider{
    overflow:hidden;
    position:relative;
        padding:25px 0;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;
}

.partners-track{
    display:flex;
    align-items:center;
    gap:50px;
    width:max-content;

    animation:scrollPartners 25s linear infinite;
}

.partners-track img{

    height:90px;
    width:auto;
    object-fit:contain;
    filter:grayscale(100%);
    opacity:.8;
    transition:.4s;
}

.partners-track img:hover{

    filter:none;

    opacity:1;

    transform:scale(1.08);
}

/* Animation */

@keyframes scrollPartners{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}



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

.why-section{
    padding:100px 0;
    background:#f8f9fb;
}

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

/* CARTE */

.why-card{

    background:#fff;

    padding:30px;

    border-radius:15px;

    position:relative;

    overflow:hidden;

    font-size:17px;

    font-weight:500;

    color:#07192D;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

    transition:all .4s ease;

    opacity:0;

    transform:translateY(40px);
}

/* Apparition */

.why-card.show{

    opacity:1;

    transform:translateY(0);
}

/* Bande lumineuse */

.why-card::before{

    content:'';

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(217,4,41,.15),
            transparent
        );

    transition:.8s;
}

/* Icône */

.why-card::after{

    content:'✓';

    position:absolute;

    right:20px;

    top:20px;

    font-size:28px;

    color:#D90429;

    opacity:.2;

    transition:.4s;
}

/* Hover */

.why-card:hover{

    transform:translateY(-10px);

    border:1px solid #D90429;

    box-shadow:
        0 0 15px rgba(217,4,41,.15),
        0 15px 40px rgba(0,0,0,.08);
}

.why-card:hover::before{

    left:100%;
}

.why-card:hover::after{

    opacity:1;

    transform:scale(1.2) rotate(10deg);
}














/* SERVICES */

.service-section {
    padding: 90px 0;
}

/* .service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-item:nth-child(even) {
    direction: rtl;
} */
 .service-item{
    display:flex;
    align-items:center;
    gap:50px;
    margin-bottom:80px;
}

.service-item:nth-child(even){
    flex-direction:row-reverse;
}


/* .service-item:nth-child(even) .service-content {
    direction: ltr;
} */

/* .service-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
} */
 .service-image{
    flex:1;
    overflow:hidden;
    border-radius:15px;
    position:relative;
}

.service-image img{
    width:100%;
    display:block;
    border-radius:15px;

    transform:scale(1);

    transition:
        transform .8s ease,
        filter .8s ease;
}

/* Zoom image */

.service-item:hover .service-image img{
    transform:scale(1.12);
    filter:brightness(1.05);
}

.service-content{
    flex:1;

    background:#fff;

    padding:35px;

    border-radius:15px;

    border:2px solid transparent;

    transition:all .4s ease;

    position:relative;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.service-content::before{

    content:'';

    position:absolute;

    top:-100%;

    left:-100%;

    width:250%;

    height:250%;

    background:
        linear-gradient(
            45deg,
            transparent,
            rgba(217,4,41,.25),
            transparent
        );

    transform:rotate(25deg);

    transition:all .8s ease;

    opacity:0;
}

.service-item:hover .service-content{

    border-color:#D90429;

    transform:translateY(-8px);

    box-shadow:
        0 0 15px rgba(217,4,41,.2),
        0 0 35px rgba(217,4,41,.15),
        0 15px 40px rgba(0,0,0,.08);
}

.service-item:hover .service-content::before{

    top:-50%;

    left:-30%;

    opacity:1;
}


/* .service-content h2 {
    color: #07192D;
    margin-bottom: 20px;
    font-size: 34px;
} */
.service-content h2{

    color:#07192D;

    margin-bottom:20px;

    font-size:30px;

    position:relative;

    z-index:2;
}

/* .service-content p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
} */
.service-content p{

    color:#555;
    line-height:1.8;
    margin-bottom:20px;
    position:relative;
    z-index:2;
}

/* .service-content ul {
    list-style: none;
} */
 .service-content ul{

    list-style:none;

    position:relative;

    z-index:2;
}

.service-content ul li{

    margin-bottom:12px;

    padding-left:25px;

    position:relative;
}

.service-content ul li::before{
    content:'✓';
    position:absolute;
    left:0;
    color:#D90429;
    font-weight:bold;
}
.service-item{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;
}

.service-item.show{

    opacity:1;

    transform:translateY(0);
}

/*
.service-content ul li {
    margin-bottom: 12px;
    padding-left: 10px;
    color: #444;
}

.service-content ul li::before {
    content: "✓ ";
    color: #D90429;
    font-weight: bold;
} */

/* WHY US */

.why-us {
    background: white;
    padding: 90px 0;
}

.why-title {
    text-align: center;
    margin-bottom: 50px;
}

.why-title h2 {
    color: #07192D;
    font-size: 40px;
}

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

.why-card {
    background: #f8f9fb;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid #D90429;
}

.why-card h3 {
    color: #07192D;
    margin-bottom: 10px;
}

/* CTA */

.cta {
    background: #D90429;
    color: white;
    text-align: center;
    padding: 90px 20px;
}

.cta h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: white;
    color: #D90429;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
}

/* MOBILE */

@media(max-width:992px) {

    .page-header h1 {
        font-size: 38px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .cta h2 {
        font-size: 32px;
    }
}
