html, body {
    overflow-x: hidden;
}

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

/* conteneur global propre */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* éviter débordements flex */
.flex {
    flex-wrap: wrap;
}

@media (max-width: 992px){

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

    .logo{
        flex:1;
    }

    .menu-toggle{
        flex:0;
    }

}

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

body{
    background:#f5f5f5;
}

/* TOPBAR */
.topbar{
    background:#ff8c00;
    color:white;
    display:flex;
    justify-content:space-between;
    padding:5px 100px;
    font-size:14px;
}

/* ITEM FLEX */
.topbar-item{
    display:flex;
    align-items:center;
    gap:8px;
}

/* ICON STYLE */
.topbar-item i{
    font-size:14px;
}
/* HEADER GLOBAL */
.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    transition:0.3s ease;
}

/* TOPBAR */
.topbar{
    background:#ff8c00;
    color:white;
    display:flex;
    justify-content:space-between;
    padding:5px 100px;
    font-size:14px;

    transition:0.3s ease;
}

/* ITEM */
.topbar-item{
    display:flex;
    align-items:center;
    gap:8px;
}

/* ICON */
.topbar-item i{
    font-size:14px;
}

/* NAVBAR */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 80px;
    background:#fff;

    transition:0.3s ease;
}

/* SCROLL STATE */
.header.scrolled .topbar{
    opacity:0;
    visibility:hidden;
    transform:translateY(-100%);
    height:0;
    padding:0;
}

.header.scrolled .navbar{
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    backdrop-filter:blur(10px);
}


/* ===============================
   LOGO
================================ */

.logo img{
    height:45px;
}


/* ===============================
   NAV LINKS (CENTRAGE CLEAN)
================================ */

.nav-links{
    display:flex;
    align-items:center;
    list-style:none;
    gap:28px;
    margin:0 auto;
}

/* MOBILE MENU */
@media (max-width:992px){

    .nav-links{
        position:fixed;
        top:0;
        left:-100%;
        width:85%;
        height:100vh;
        background:#fff;

        flex-direction:column;
        justify-content:center;
        align-items:center;

        gap:20px;
        padding:40px 20px;

        transition:0.4s ease;
        z-index:2000;
    }

    .nav-links.active{
        left:0;
    }
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    font-size:15px;

    position:relative;
    transition:0.3s ease;
}

/* hover moderne vert */
.nav-links a:hover{
    color:#008000;
}

/* underline animé */
.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0%;
    height:2px;
    background:#008000;
    transition:0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after{
    width:100%;
}


/* ===============================
   ACTION BUTTONS
================================ */

.nav-actions{
    display:flex;
    align-items:center;
    gap:12px;
}


/* bouton principal */
.btn-primary{
    background:#ff8c00;
    color:#fff;
    padding:10px 18px;
    border-radius:30px; /* 🔥 plus moderne */
    text-decoration:none;
    font-weight:600;
    font-size:14px;

    transition:0.3s ease;
}

.btn-primary:hover{
    background:#e67600;
    transform:translateY(-2px);
}


/* bouton secondaire */
.btn-outline{
    border:1px solid #ddd;
    padding:10px 18px;
    border-radius:30px;
    text-decoration:none;
    color:#333;
    font-weight:500;
    font-size:14px;

    transition:0.3s ease;
}

.btn-outline:hover{
    border-color:#008000;
    color:#008000;
    background:rgba(0,128,0,0.05);
    transform:translateY(-2px);
}


/* ===============================
   UX MOBILE (RESPONSIVE BASE)
================================ */

@media (max-width:992px){

    .navbar{
        padding:12px 25px;
    }

    .nav-links{
        display:none; /* à remplacer par burger menu si tu veux */
    }

}

/* ===============================
   HERO PREMIUM (UX/UI CLEAN)
================================ */
.hero{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    padding:0 80px;
    overflow:hidden;
}

/* ===============================
   VIDEO BACKGROUND
================================ */
.hero-video{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
}

.hero-video video{
    width:100%;
    height:100%;
    object-fit:cover;

    /* option UX premium (léger assombrissement) */
    filter: contrast(1.1) brightness(0.85);
}

/* ===============================
   OVERLAY GREEN GRADIENT
================================ */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;

    background:linear-gradient(
        90deg,
        rgba(0,130,0,0.92) 0%,
        rgba(0,130,0,0.75) 45%,
        rgba(0,0,0,0.15) 70%,
        rgba(0,0,0,0.05) 100%
    );
}

/* ===============================
   CONTENT LEFT
================================ */
.hero-content{
    position:relative;
    z-index:2;
    max-width:650px;
    color:white;
}

/* TITRE PRINCIPAL */
.hero h1{
    font-size:56px;
    line-height:1.15;
    font-weight:300;
    letter-spacing:-0.5px;
}

/* emphasis strong */
.hero h1 strong{
    font-weight:700;
    color:#ffffff;
}

/* accent vert */
.hero h1 span{
    font-weight:600;
}

/* DESCRIPTION */
.hero p{
    margin-top:20px;
    font-size:16px;
    line-height:1.6;
    font-weight:300;
    opacity:0.95;
    max-width:520px;
}

/* ===============================
   BUTTON CTA
================================ */

.btn-white{
    display:inline-block;
    margin-top:28px;

    background:#fff;
    color:#008000;

    padding:14px 30px;
    border-radius:30px;

    font-weight:600;
    text-decoration:none;

    transition:0.3s ease;
}

/* hover premium */
.btn-white:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}


/* ===============================
   HERO TYPOGRAPHY SYSTEM (Figma style)
================================ */

.hero-content h1{
    font-size:56px;
    line-height:1.15;
    letter-spacing:-0.8px;
    color:white;
}

/* LIGHT */
.hero-content .light{
    font-weight:300;
    opacity:0.95;
}

/* NORMAL */
.hero-content .regular{
    font-weight:400;
}

/* BOLD */
.hero-content .bold{
    font-weight:700;
}

/* ACCENT GREEN (mot clé) */
.hero-content .highlight{
    font-weight:600;

}


/* spacing line control */
.hero-content h1 span{
    display:inline-block;
    margin-right:6px;
}


/* paragraphe clean */
.hero-content p{
    margin-top:22px;
    font-size:16px;
    line-height:1.65;
    font-weight:300;
    opacity:0.95;
    max-width:520px;
}


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

@media (max-width:992px){

    .hero{
        padding:0 40px;
    }

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

}

@media (max-width:768px){

    .hero{
        padding:0 25px;
        height:520px;
    }

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

    .hero p{
        font-size:15px;
    }
}
/* ===============================
   HERO ANIMATIONS (UX MODERNE)
================================ */

/* animation globale fade */
@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* slide up doux */
@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero{
    animation: heroFadeIn 1s ease-out forwards;
}
.hero-content{
    animation: heroSlideUp 1s ease-out 0.2s both;
}
.hero h1{
    animation: heroSlideUp 1s ease-out 0.35s both;
}
.hero p{
    animation: heroSlideUp 1s ease-out 0.5s both;
}
.btn-white{
    animation: heroSlideUp 1s ease-out 0.7s both;
}

/* FEATURES */
/* ===== SECTION ===== */
.features{
    background:#f3f3f3;
    padding:60px 20px;
}

/* ===== BOX ORANGE CENTRÉE ===== */
.features-box{
    max-width:1300px;
    margin:0 auto;
    background:#ff8c00;
    padding:10px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-radius:6px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    position: relative;
    margin-top: -100px;
}

/* ===== ITEM ===== */
.feature{
    text-align:center;
    flex:1;
}

/* ===== CERCLE ===== */
.circle{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 10px;
    box-shadow:0 5px 10px rgba(0,0,0,0.1);
}

/* ===== ICÔNE ===== */
.circle i{
    font-size:20px;
    color:#000;
}

/* ===== TEXTE ===== */
.feature p{
    font-size:14px;
    font-weight:500;
    color:#000;
}
/* ===== SERVICES ===== */
.services{
    background:#f3f3f3;
    padding-top:80px;
    position:relative;
}

/* ===== BANDE ORANGE ===== */
.services-top{
    background:#ff8c00;
    height:220px;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    position: relative;
    margin-top: -50px;
    
}

/* bouton centré PARFAITEMENT */
.services-title{
    position:absolute;
    top:-20px;
}

.services-title h2{
    background:#0a8f2f;
    color:#fff;
    padding:10px 40px;
    border-radius:6px;
    font-size:18px;
    font-weight:600;
    margin-top: -10px;
}

/* ===== CARDS CONTAINER ===== */
.services-cards{
    max-width:1100px;
    margin:-100px auto 80px; /* 🔥 overlap parfait */
    display:flex;
    justify-content:center;
    gap:30px;
    margin-top: -5px;
}

/* ===== CARD ===== */
.card{
    width:330px;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    transition:0.3s;
    position: relative;
    z-index: 2;
    top: -150px;
}

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

/* IMAGE */
.card img{
    width:100%;
    height:210px;
    object-fit:cover;
}

/* BODY */
.card-body{
    padding:25px 20px 25px;
    position:relative;
}

/* ICON */
.card-icon{
    position:absolute;
    top:-30px;
    left:20px;
    width:60px;
    height:60px;
    background:#fff;
    border-radius:50%;
    border:3px solid #ff8c00;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    box-shadow:0 5px 10px rgba(0,0,0,0.1);
}

/* TITRE */
.card h3{
    margin-top:40px;
    font-size:20px;
    font-weight:700;
    line-height:1.2;
    color:#000;
}

/* TEXTE */
.card p{
    margin-top:10px;
    font-size:14px;
    color:#555;
    line-height:1.5;
}

/* WHY */
/* WHY */
.why{
    position:relative;
    padding:100px 40px;
    background:url('/static/images/bg-map.jpg') center/cover;
    text-align:center;
    color:white;
    margin-top: -150px;
}

/* overlay */
.why .overlay{
    position:absolute;
    inset:0;
    background:rgba(0,130,0,0.9);
    z-index:0;
}

/* contenu au-dessus overlay */
.why h2,
.why-items{
    position:relative;
    z-index:1;
}

/* titre */
.why h2{
    margin-bottom:50px;
}

/* layout desktop */
.why-items{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:60px;
    flex-wrap:wrap; /* important pour éviter débordement */
}

/* box */
.why-box{
    max-width:220px;
    text-align:center;
}

/* icône */
.why-box .icon{
    width:65px;
    height:65px;
    background:white;
    color:#008000;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 15px;
}

/* =========================
   TABLETTE
========================= */
@media (max-width: 992px){
    .why{
        padding:80px 25px;
    }

    .why-items{
        gap:40px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){
    .why{
        padding:70px 20px;
    }

    .why-items{
        flex-direction:column;
        align-items:center;
        gap:35px;
    }

    .why-box{
        max-width:280px;
    }

    .why h2{
        margin-bottom:35px;
        font-size:22px;
    }
}

/* =========================
   PETITS MOBILES
========================= */
@media (max-width: 480px){
    .why{
        padding:60px 15px;
    }

    .why-box{
        max-width:100%;
    }

    .why-box p{
        font-size:14px;
    }
}

/* CTA */
.cta{
    background:#ff8c00;
    padding:80px 60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position: relative;
    top: -25px;
}

.cta-text{
    color:white;
    max-width:500px;
}

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

.btn-blue{
    background:white;
    color:#2d3cff;
    padding:14px 30px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
}

.cta-img{
    width:420px;
}

.footer{
    background:#0a8f1f;
    color:white;
    padding:60px 40px 20px;
}

/* CONTAINER */
.footer-container{
    display:flex;
    justify-content:space-between;
    gap:40px;
    max-width:1200px;
    margin:auto;
}

/* COLONNES */
.footer-col{
    flex:1;
}

/* LOGO IMAGE */
.footer-logo{
    height: 20px;
}

/* TEXTE */
.footer-text{
    font-size:14px;
    line-height:1.6;
    margin-bottom:15px;
    opacity:0.9;
}

/* SOCIALS */
.socials{
    display:flex;
    gap:12px;
}

/* ICONS SOCIAUX */
.social-icon{
    width:38px;
    height:38px;
    background:white;
    color:#0a8f1f;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:16px;
    transition:0.3s;
    text-decoration:none;
}

/* HOVER SOCIAL */
.social-icon:hover{
    background:#ff8c00;
    color:white;
    transform:translateY(-3px);
}

/* TITRES */
.footer h4{
    margin-bottom:15px;
    font-size:16px;
}

/* LIENS */
.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:8px;
}

.footer-links a{
    color:white;
    text-decoration:none;
    font-size:14px;
    opacity:0.9;
    transition:0.3s;
}

.footer-links a:hover{
    opacity:1;
    padding-left:5px;
}

/* NEWSLETTER */
.newsletter-input{
    width:100%;
    padding:12px;
    border:none;
    margin-bottom:10px;
    background:#f1f1f1;
    border-radius:5px;
    outline:none;
}

.newsletter-btn{
    width:100%;
    height:42px;
    background:#ff8c00;
    border:none;
    color:white;
    font-weight:600;
    border-radius:5px;
    cursor:pointer;
    transition:0.3s;
}

.newsletter-btn:hover{
    background:#e67e00;
}

/* BAS FOOTER */
.footer-bottom{
    margin-top:40px;
    text-align:center;
}

.footer-bottom hr{
    border:0;
    border-top:1px solid rgba(255,255,255,0.3);
    margin-bottom:15px;
}

.footer-bottom p{
    font-size:13px;
    opacity:0.8;
}

/* ===============================
   GLOBAL FIX (IMPORTANT UX/UI)
================================ */

*{
    box-sizing:border-box;
}

.container{
    width:100%;
    max-width:1200px;
    margin:0 auto; /* ✅ CENTRAGE PROPRE */
    padding:0 20px; /* ✅ RESPIRATION LATÉRALE */
}


/* ===============================
   ABOUT PAGE (DESIGN CLEAN)
================================ */


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

.about-hero{
    position:relative;
    padding:140px 20px 120px;
    text-align:center;
    background:url('/static/images/hero.jpg') center/cover no-repeat;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;
    min-height:10vh; /* UX moderne */
}

.about-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, rgba(0,130,0,0.85), rgba(0,0,0,0.4));
}

.about-hero .container{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:0 auto;
}

/* TITRE */
.about-hero h1{
    font-size:42px;
    margin-bottom:12px;
    font-weight:700;
}

/* TEXTE */
.about-hero p{
    font-size:17px;
    opacity:0.9;
    line-height:1.7;
    max-width:700px;
    margin:0 auto;
}


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

.about-section{
    padding:120px 20px;
    background:#f5f5f5;
    display:flex;
    justify-content:center;
}

.about-section .container{
    width:100%;
}


/* GRID */
.about-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:80px;
    align-items:center;
    width:100%;
}

/* TEXTE */
.about-text{
    max-width:520px;
    margin:0 auto; /* ✅ CENTRAGE PROPRE */
}

.about-text h2{
    font-size:30px;
    margin-bottom:20px;
    color:#008000;
}

.about-text p{
    margin-bottom:15px;
    color:#555;
    line-height:1.7;
    font-size:15px;
}

/* IMAGE */
.about-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.about-image img{
    width:100%;
    max-width:500px;
    border-radius:12px;
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
    transition:0.3s ease;
}

.about-image img:hover{
    transform:scale(1.03);
}


/* ===============================
   VALEURS
================================ */

.about-values{
    padding:120px 20px;
    background:#fff;
}

.about-values .container{
    max-width:1200px;
    margin:0 auto;
}

.about-text p{
    margin-bottom:15px;
    line-height:1.7;
    font-weight:300;
}

.about-text strong{
    color:#1a7f37;
    font-weight:600;
}


/* HEADER */
.section-header{
    text-align:center;
    margin-bottom:60px;
    max-width:650px;
    margin-left:auto;
    margin-right:auto;
}

.section-header h2{
    font-size:30px;
    color:#008000;
    margin-bottom:10px;
}

.section-header p{
    color:#777;
    font-size:15px;
    line-height:1.6;
}


/* GRID VALUES */
.values-grid{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    max-width:1100px;
    margin:0 auto; /* ✅ CENTRAGE GLOBAL */
}


/* CARD */
.value-card{
    width:300px;
    background:#fff;
    padding:35px 28px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

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


/* ICON */
.value-card .icon{
    width:70px;
    height:70px;
    margin:0 auto 15px;
    border-radius:50%;
    border:3px solid #ff8c00;
    display:flex;
    align-items:center;
    justify-content:center;
}

.value-card .icon i{
    font-size:26px;
    color:#ff8c00;
}


/* TITRE */
.value-card h3{
    margin-bottom:10px;
    font-size:20px;
    font-weight:600;
}

/* TEXTE */
.value-card p{
    font-size:14px;
    color:#555;
    line-height:1.6;
}


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

@media (max-width:992px){

    .about-grid{
        grid-template-columns:1fr;
        gap:50px;
        text-align:center;
    }

    .about-text{
        max-width:100%;
    }

    .about-image img{
        max-width:380px;
    }
}

@media (max-width:768px){

    .about-hero h1{
        font-size:30px;
    }

    .about-hero p{
        font-size:15px;
    }
}


/* ===============================
   CTA (IDENTITÉ TRFS)
================================ */

.about-cta{
    background:#ff8c00;
    padding:80px 20px;
    text-align:center;
    color:white;
}

.about-cta h2{
    font-size:32px;
    margin-bottom:10px;
}

.about-cta p{
    margin-bottom:20px;
    font-size:16px;
}

/* BOUTON CTA */
.about-cta .btn-primary{
    background:white;
    color:#008000;
    padding:14px 30px;
    border-radius:30px;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}

.about-cta .btn-primary:hover{
    background:#f1f1f1;
}


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

@media (max-width: 992px){

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

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

    .about-text h2{
        font-size:26px;
    }

}

@media (max-width: 768px){

    .values-grid{
        flex-direction:column;
        align-items:center;
    }

}

/* ===============================
   SERVICES PAGE (DESIGN PROPRE)
================================ */

/* HERO */
.services-hero{
    position:relative;
    padding:140px 20px 120px;
    text-align:center;
    background:url('/static/images/hero.jpg') center/cover no-repeat;
    color:white;
    min-height:10vh;
}

.services-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(0,130,0,0.9), rgba(0,0,0,0.3));
}

.services-hero .container{
    position:relative;
    z-index:2;
}

.services-hero h1{
    font-size:44px;
    margin-bottom:10px;
    font-weight:700;
}

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


/* SECTION SERVICES */
.services-section{
    padding:100px 0;
    background:#f5f5f5;
}

/* HEADER */
.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:30px;
    color:#008000;
    margin-bottom:10px;
}

.section-header p{
    color:#777;
}


/* GRID */
.services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
}


/* CARD */
.service-card{
    background:#fff;
    padding:35px 25px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
    position:relative;
}

/* HOVER */
.service-card:hover{
    transform:translateY(-8px);
}


/* ICON (style identique à homepage) */
.service-card .icon{
    width:70px;
    height:70px;
    margin:0 auto 15px;
    background:#fff;
    border-radius:50%;
    border:3px solid #ff8c00;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    box-shadow:0 5px 10px rgba(0,0,0,0.1);
}


/* TITRE */
.service-card h3{
    margin-bottom:10px;
    font-size:20px;
    font-weight:700;
    color:#000;
}

/* TEXTE */
.service-card p{
    font-size:14px;
    color:#555;
    line-height:1.6;
}


/* ===============================
   CTA (IDENTITÉ TRFS)
================================ */

.services-cta{
    background:#ff8c00;
    padding:80px 20px;
    text-align:center;
    color:white;
}

.services-cta h2{
    font-size:32px;
    margin-bottom:10px;
}

.services-cta p{
    margin-bottom:20px;
    font-size:16px;
}

/* BOUTON */
.services-cta .btn-primary{
    background:white;
    color:#008000;
    padding:14px 30px;
    border-radius:30px;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}

.services-cta .btn-primary:hover{
    background:#f1f1f1;
}


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

@media (max-width: 992px){

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

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

}

@media (max-width: 768px){

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

}
/* ===============================
   CONTACT PAGE (UX/UI PRO CLEAN)
================================ */


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

.contact-hero{
    position:relative;
    padding:140px 20px 120px;
    text-align:center;
    background:url('/static/images/hero.jpg') center/cover no-repeat;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;
    min-height:10vh;
}

.contact-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, rgba(0,130,0,0.85), rgba(0,0,0,0.4));
}

.contact-hero .container{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:0 auto;
}

.contact-hero h1{
    font-size:44px;
    margin-bottom:10px;
    font-weight:700;
}

.contact-hero p{
    font-size:18px;
    opacity:0.9;
    line-height:1.6;
}


/* ===============================
   SECTION CONTACT (UI CLEAN PRO)
================================ */

.contact-section{
    padding:120px 20px;
    background:#f5f5f5;
    display:flex;
    justify-content:center;
}

.contact-section .container{
    width:100%;
    max-width:1100px;
    display:flex;
    flex-direction:column;
    gap:60px;
}


/* ===============================
   CONTACT INFO (BLOCK PREMIUM)
================================ */

.contact-info{
    background:#fff;
    padding:45px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
    text-align:center;
}

.contact-info h2{
    color:#008000;
    font-size:28px;
    margin-bottom:10px;
    font-weight:700;
}

.info-subtitle{
    font-size:14px;
    color:#666;
    max-width:520px;
    margin:0 auto 30px;
    line-height:1.6;
}


/* ===============================
   INFO GRID (4 CARDS MODERNES)
================================ */

.info-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    margin-top:20px;
}


/* CARD */
.info-card{
    background:#f7f7f7;
    border-radius:16px;
    padding:22px 18px;
    transition:0.3s ease;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    cursor:pointer;
}

/* HOVER PREMIUM */
.info-card:hover{
    transform:translateY(-6px);
    background:#fff;
    box-shadow:0 15px 30px rgba(0,0,0,0.10);
}


/* ICON */
.info-card i{
    font-size:20px;
    color:#008000;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#eaf5ea;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s ease;
}

.info-card:hover i{
    background:#008000;
    color:#fff;
    transform:scale(1.05);
}


/* TITLE */
.info-card h4{
    font-size:14px;
    margin:0;
    color:#333;
    font-weight:600;
}

/* TEXT */
.info-card span{
    font-size:13px;
    color:#666;
}


/* ===============================
   FORMULAIRE (BLOCK BAS)
================================ */

.contact-form{
    background:#fff;
    padding:45px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);

    max-width:700px;
    margin:0 auto;
    width:100%;
}

.contact-form h2{
    margin-bottom:25px;
    color:#008000;
    text-align:center;
    font-size:26px;
    font-weight:700;
}


/* FORM GROUP */
.form-group{
    margin-bottom:16px;
}

/* INPUTS CLEAN UI */
.form-group input,
.form-group textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
    font-size:14px;
    transition:0.3s ease;
    background:#fff;
}

/* FOCUS UX PRO */
.form-group input:focus,
.form-group textarea:focus{
    border-color:#ff8c00;
    box-shadow:0 0 0 3px rgba(255,140,0,0.12);
}

/* TEXTAREA */
.form-group textarea{
    height:140px;
    resize:none;
}


/* BUTTON */
.contact-form .btn-primary{
    width:100%;
    margin-top:10px;
    background:#ff8c00;
    color:#fff;
    padding:15px;
    border:none;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
}

.contact-form .btn-primary:hover{
    background:#e67600;
    transform:translateY(-2px);
}


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

@media (max-width:992px){

    .contact-info,
    .contact-form{
        padding:30px;
    }

}

@media (max-width:768px){

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

    .contact-form{
        padding:25px;
    }
}

/* ===============================
   BUTTON SEND (CONTACT FORM)
================================ */

.contact-form .btn-send,
.contact-form .btn-primary{
    width:100%;
    margin-top:10px;
    background:#ff8c00;
    color:#fff;
    padding:15px;
    border:none;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
    transition:0.25s ease;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:14px;
}

/* HOVER */
.contact-form .btn-send:hover,
.contact-form .btn-primary:hover{
    background:#e67600;
    transform:translateY(-2px);
}

/* ACTIVE */
.contact-form .btn-send:active,
.contact-form .btn-primary:active{
    transform:translateY(0);
}

/* FOCUS (accessibilité propre) */
.contact-form .btn-send:focus,
.contact-form .btn-primary:focus{
    outline:none;
    box-shadow:0 0 0 3px rgba(255,140,0,0.25);
}

/* ===============================
   AUTH GLOBAL (LOGIN + REGISTER)
================================ */

.auth-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f5f5;
    padding:60px 20px;
}

.auth-container{
    width:100%;
    max-width:420px;
}

.auth-card{
    background:#fff;
    padding:45px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
    text-align:center;
}

/* TITRE */
.auth-card h2{
    color:#008000;
    font-size:26px;
    margin-bottom:8px;
    font-weight:700;
}

/* DESCRIPTION */
.auth-card p{
    font-size:14px;
    color:#666;
    margin-bottom:25px;
    line-height:1.5;
}

/* INPUTS */
.form-group{
    margin-bottom:15px;
}

.form-group input{
    width:100%;
    padding:14px 16px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:14px;
    outline:none;
    transition:0.3s ease;
}

.form-group input:focus{
    border-color:#ff8c00;
    box-shadow:0 0 0 3px rgba(255,140,0,0.12);
}

/* BUTTON */
.btn-auth{
    width:100%;
    padding:14px;
    background:#ff8c00;
    border:none;
    border-radius:30px;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
}

.btn-auth:hover{
    background:#e67600;
    transform:translateY(-2px);
}

/* LINK */
.auth-link{
    margin-top:15px;
    font-size:13px;
    color:#666;
}

.auth-link a{
    color:#008000;
    font-weight:600;
    text-decoration:none;
}

/* ===============================
   REGISTER (reuse AUTH STYLE)
================================ */

.auth-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f5f5;
    padding:60px 20px;
}

.auth-container{
    width:100%;
    max-width:440px;
}

.auth-card{
    background:#fff;
    padding:45px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
    text-align:center;
}

/* TITRE */
.auth-card h2{
    color:#008000;
    font-size:26px;
    margin-bottom:8px;
    font-weight:700;
}

/* TEXT */
.auth-card p{
    font-size:14px;
    color:#666;
    margin-bottom:25px;
    line-height:1.5;
}

/* INPUT */
.form-group{
    margin-bottom:15px;
}

.form-group input{
    width:100%;
    padding:14px 16px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:14px;
    outline:none;
    transition:0.3s ease;
}

.form-group input:focus{
    border-color:#ff8c00;
    box-shadow:0 0 0 3px rgba(255,140,0,0.12);
}

/* BUTTON */
.btn-auth{
    width:100%;
    padding:14px;
    background:#ff8c00;
    border:none;
    border-radius:30px;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
}

.btn-auth:hover{
    background:#e67600;
    transform:translateY(-2px);
}

/* LINK */
.auth-link{
    margin-top:15px;
    font-size:13px;
    color:#666;
}

.auth-link a{
    color:#008000;
    font-weight:600;
    text-decoration:none;
}


/* ===============================
   RESPONSIVE GLOBAL UX/UI CLEAN
================================ */

/* ===== TABLETTES + PETITS ÉCRANS ===== */
@media (max-width: 1200px){

    .topbar{
        padding:10px 60px;
    }

    .navbar{
        padding:14px 40px;
    }

    .hero{
        padding:0 50px;
    }

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

    .features-box{
        max-width:95%;
    }

    .services-cards{
        flex-wrap:wrap;
        gap:20px;
    }

    .card{
        width:300px;
    }
}


/* ===== TABLETTE ===== */
@media (max-width: 992px){

    .topbar{
        flex-direction:column;
        gap:8px;
        text-align:center;
        padding:10px 20px;
    }

    .navbar{
        padding:12px 25px;
    }

    .nav-links{
        display:none;
    }

    .hero{
        padding:0 30px;
        height:auto;
        min-height:500px;
    }

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

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

    .features-box{
        flex-wrap:wrap;
        gap:15px;
        padding:20px;
        top:-80px;
    }

    .feature{
        flex:1 1 45%;
    }

    .services-cards{
        flex-wrap:wrap;
        justify-content:center;
    }

    .card{
        width:45%;
        top:0;
    }

    .why-items{
        flex-wrap:wrap;
        gap:30px;
    }

    .cta{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .cta-img{
        width:100%;
        max-width:320px;
    }

    .footer-container{
        flex-wrap:wrap;
        gap:30px;
    }

    .footer-col{
        flex:1 1 45%;
    }

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

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


/* ===== MOBILE ===== */
@media (max-width: 768px){

    body{
        overflow-x:hidden;
    }

    .hero{
        padding:0 20px;
        min-height:480px;
    }

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

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

    .features-box{
        flex-direction:column;
        top:-60px;
    }

    .feature{
        width:100%;
    }

    .services-cards{
        flex-direction:column;
        align-items:center;
    }

    .card{
        width:100%;
        max-width:340px;
    }

    .why-items{
        flex-direction:column;
        gap:25px;
    }

    .cta-text h2{
        font-size:26px;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .socials{
        justify-content:center;
    }

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

    .about-text h2{
        font-size:24px;
    }

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

    .contact-section{
        padding:80px 15px;
    }

    .contact-form,
    .contact-info{
        padding:25px;
    }

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


/* ===== PETITS TÉLÉPHONES ===== */
@media (max-width: 480px){

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

    .btn-white,
    .btn-primary{
        width:100%;
        text-align:center;
    }

    .topbar{
        font-size:12px;
    }

    .navbar{
        padding:10px 15px;
    }

    .card{
        max-width:100%;
    }

    .cta{
        padding:50px 20px;
    }

    .cta-text h2{
        font-size:22px;
    }
}


/* ===============================
   MOBILE MENU (HAMBURGER UX PRO)
================================ */

.menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
    color:#333;
    z-index:3000;
}

/* MOBILE */
@media (max-width: 992px){

    .menu-toggle{
        display:block;
    }

    /* MENU PANEL */
    .nav-links{
        position:fixed;
        top:0;
        left:-100%;
        width:85%;
        height:100vh;
        background:#fff;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;

        gap:15px;
        padding:40px 20px;

        transition:0.45s ease;
        z-index:2000;

        box-shadow:12px 0 40px rgba(0,0,0,0.12);
    }

    /* OPEN STATE */
    .nav-links.active{
        left:0;
    }

    /* LIST RESET CLEAN */
    .nav-links li{
        width:100%;
        text-align:center;
        list-style:none;
    }

    /* LINKS UX MOBILE */
    .nav-links a{
        display:block;
        width:100%;
        padding:14px 20px;

        font-size:18px;
        font-weight:600;
        color:#333;

        border-radius:12px;

        transition:0.3s ease;
    }

    /* HOVER MOBILE */
    .nav-links a:hover{
        background:#f3f3f3;
        color:#008000;
    }

    /* ACTIVE LINK */
    .nav-links a.active{
        background:rgba(0,128,0,0.08);
        color:#008000;
    }

    /* ACTION BUTTONS HIDDEN (option UX propre) */
    .nav-actions{
        display:none;
    }
}


/* =======================================================
TESTIMONIALS PREMIUM
======================================================= */

.testimonials{
    position:relative;
    padding:120px 20px;
    background:
    linear-gradient(to bottom, #f8fbff, #ffffff);
    overflow:hidden;
}

/* CONTAINER */

.testimonials .container{
    position:relative;
    z-index:2;
}

/* SMALL TITLE */

.mini-title{
    display:inline-block;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    color:var(--primary);
    margin-bottom:20px;
    position:relative;
}

.mini-title::after{
    content:"";
    width:60px;
    height:3px;
    background:var(--primary);
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
    border-radius:20px;
}

/* HEADER */

.section-header{
    text-align:center;
    max-width:850px;
    margin:auto auto 80px;
}

.section-header h2{
    font-size:60px;
    line-height:1.1;
    font-weight:800;
    color:#0f172a;
    margin-bottom:25px;
}

.section-header p{
    font-size:20px;
    line-height:1.8;
    color:#64748b;
}

/* GRID */

.testimonials-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:35px;
}

/* CARD */

.testimonial-card{
    position:relative;
    background:rgba(255,255,255,0.85);
    border:1px solid rgba(255,255,255,0.5);
    backdrop-filter:blur(12px);

    border-radius:28px;
    padding:35px;

    box-shadow:
    0 10px 40px rgba(15,23,42,0.06);

    transition:0.45s ease;
    overflow:hidden;
}

/* PREMIUM HOVER */

.testimonial-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );

    transition:0.9s;
}

.testimonial-card:hover::before{
    left:120%;
}

.testimonial-card:hover{
    transform:translateY(-12px);
    box-shadow:
    0 25px 60px rgba(37,22,216,0.12);
}

/* TOP */

.testimonial-top{
    display:flex;
    align-items:flex-start;
    gap:28px;
}

/* IMAGE */

.testimonial-image{
    position:relative;
    flex-shrink:0;
}

.testimonial-image img{
    width:145px;
    height:145px;
    border-radius:24px;
    object-fit:cover;

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

/* BLUE BADGE */

.testimonial-image::after{
    content:"❝";
    position:absolute;
    bottom:-10px;
    left:-10px;

    width:45px;
    height:45px;

    background:linear-gradient(
        135deg,
        var(--primary),
        #4f46e5
    );

    color:white;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
    font-weight:bold;

    box-shadow:
    0 10px 25px rgba(37,22,216,0.25);
}

/* INFO */

.testimonial-info{
    flex:1;
}

/* STARS */

.stars{
    color:#f59e0b;
    font-size:24px;
    letter-spacing:4px;
    margin-bottom:20px;
}

/* TEXT */

.testimonial-info p{
    font-size:18px;
    line-height:1.9;
    color:#334155;
    margin-bottom:30px;
    position:relative;
}

/* SEPARATOR */

.testimonial-user{
    border-top:1px solid #e2e8f0;
    padding-top:20px;
}

.testimonial-user h4{
    font-size:28px;
    color:#0f172a;
    margin-bottom:8px;
    font-weight:800;
}

.testimonial-user span{
    color:#64748b;
    font-size:17px;
}

/* QUOTE ICON */

.quote-icon{
    position:absolute;
    top:25px;
    right:30px;
    font-size:60px;
    color:rgba(37,22,216,0.08);
}

/* PREMIUM BLUR EFFECTS */

.testimonial-blur{
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    z-index:1;
}

.blur-1{
    width:300px;
    height:300px;
    background:rgba(37,22,216,0.08);
    top:-100px;
    left:-100px;
}

.blur-2{
    width:300px;
    height:300px;
    background:rgba(255,116,38,0.10);
    bottom:-100px;
    right:-100px;
}

/* RESPONSIVE */

@media(max-width:1100px){

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

}

@media(max-width:768px){

    .section-header h2{
        font-size:42px;
    }

    .section-header p{
        font-size:17px;
    }

    .testimonial-top{
        flex-direction:column;
    }

    .testimonial-image img{
        width:120px;
        height:120px;
    }

    .testimonial-user h4{
        font-size:24px;
    }

}

@media(max-width:500px){

    .testimonials{
        padding:90px 15px;
    }

    .testimonial-card{
        padding:25px;
        border-radius:22px;
    }

    .section-header h2{
        font-size:34px;
    }

    .testimonial-info p{
        font-size:16px;
    }

}


/* =======================================================
PARTNERS PREMIUM
======================================================= */

.partners{
    position:relative;
    padding:120px 20px;
    overflow:hidden;

    background:
    linear-gradient(
        to bottom,
        #ffffff,
        #f8fbff
    );
}

/* CONTAINER */

.partners .container{
    position:relative;
    z-index:2;
}

/* HEADER */

.partners .section-header{
    text-align:center;
    max-width:850px;
    margin:auto auto 70px;
}

.partners .section-header h2{
    font-size:56px;
    font-weight:800;
    color:#0f172a;
    margin-bottom:20px;
}

.partners .section-header p{
    font-size:20px;
    color:#64748b;
    line-height:1.8;
}

/* SLIDER */

.partners-slider{
    position:relative;
    overflow:hidden;
    width:100%;
    padding:20px 0;
}

/* FADE LEFT RIGHT */

.partners-slider::before,
.partners-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:180px;
    height:100%;
    z-index:5;
}

.partners-slider::before{
    left:0;
    background:linear-gradient(
        to right,
        #f8fbff,
        transparent
    );
}

.partners-slider::after{
    right:0;
    background:linear-gradient(
        to left,
        #f8fbff,
        transparent
    );
}

/* TRACK */

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

    animation:
    scrollPartners 24s linear infinite;
}

/* CARD */

.partner-card{
    width:220px;
    height:140px;

    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(12px);

    border-radius:28px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,0.6);

    box-shadow:
    0 10px 35px rgba(15,23,42,0.06);

    transition:0.45s ease;

    position:relative;
    overflow:hidden;
}

/* SHINE EFFECT */

.partner-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;

    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.8),
        transparent
    );

    transition:0.8s;
}

.partner-card:hover::before{
    left:120%;
}

/* HOVER */

.partner-card:hover{
    transform:
    translateY(-10px)
    scale(1.03);

    box-shadow:
    0 25px 50px rgba(37,22,216,0.12);
}

/* IMAGE */

.partner-card img{
    width:120px;
    max-height:70px;
    object-fit:contain;

    opacity:0.9;

    transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* HOVER */

.partner-card:hover img{
    opacity:1;
    transform:scale(1.08);
}

/* ANIMATION */

@keyframes scrollPartners{

    0%{
        transform:translateX(0);
    }

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

}

.partners-track:hover{
    animation-play-state:paused;
}

/* PREMIUM BLUR */

.partners-blur{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
    z-index:1;
}

.blur-left{
    width:320px;
    height:320px;
    background:rgba(37,22,216,0.08);

    left:-100px;
    top:50px;
}

.blur-right{
    width:320px;
    height:320px;
    background:rgba(255,116,38,0.10);

    right:-100px;
    bottom:0;
}

/* RESPONSIVE */

@media(max-width:768px){

    .partners{
        padding:90px 15px;
    }

    .partners .section-header h2{
        font-size:40px;
    }

    .partners .section-header p{
        font-size:17px;
    }

    .partner-card{
        width:180px;
        height:120px;
        border-radius:22px;
    }

    .partner-card img{
        width:100px;
    }

}




/* FLASH MESSAGE */

.flash-wrapper{
    position:fixed;
    top:30px;
    right:30px;
    z-index:99999;
}

.flash-message{
    padding:16px 22px;
    margin-bottom:15px;
    border-radius:14px;
    color:white;
    font-weight:600;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.15);

    animation:slideIn 0.4s ease;
}

.flash-message.success{
    background:#16a34a;
}

.flash-message.warning{
    background:#f59e0b;
}

.flash-message.error{
    background:#dc2626;
}

@keyframes slideIn{

    from{
        opacity:0;
        transform:translateX(40px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}


/* =========================================================
FLASH MESSAGE
========================================================= */

.flash-wrapper{
    position:fixed;
    top:30px;
    right:30px;
    z-index:99999;
}

.flash-message{
    min-width:320px;

    padding:18px 22px;

    border-radius:18px;

    color:white;
    font-weight:600;

    backdrop-filter:blur(12px);

    box-shadow:
    0 20px 40px rgba(0,0,0,0.15);

    margin-bottom:15px;

    animation:slideFlash 0.45s ease;
}

/* SUCCESS */

.flash-message.success{
    background:
    linear-gradient(
        135deg,
        #16a34a,
        #22c55e
    );
}

/* ERROR */

.flash-message.error{
    background:
    linear-gradient(
        135deg,
        #dc2626,
        #ef4444
    );
}

@keyframes slideFlash{

    from{
        opacity:0;
        transform:
        translateX(40px)
        translateY(-10px);
    }

    to{
        opacity:1;
        transform:
        translateX(0)
        translateY(0);
    }

}


/* =========================================================
GLOBAL RESPONSIVE FIX PRO
========================================================= */

/* Évite tous débordements */
html,
body{
    overflow-x:hidden;
    width:100%;
}

/* Images */
img{
    max-width:100%;
    height:auto;
    display:block;
}

/* Container global */
.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding-left:20px;
    padding-right:20px;
}

/* FLEX SAFE */
.features-box,
.services-cards,
.footer-container,
.why-items,
.cta,
.testimonial-top{
    flex-wrap:wrap;
}

/* GRID SAFE */
.services-grid,
.values-grid,
.info-grid,
.testimonials-grid{
    width:100%;
}

/* TYPO SAFE */
h1,
h2,
h3,
h4,
p{
    word-wrap:break-word;
}

/* BUTTON SAFE */
.btn-primary,
.btn-white,
.btn-outline,
.btn-blue{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

/* =========================================================
LARGE TABLET
========================================================= */

@media(max-width:1200px){

    .hero{
        padding:0 40px;
    }

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

    .section-header h2{
        font-size:44px;
    }

    .partners .section-header h2{
        font-size:44px;
    }

    .testimonials .section-header h2{
        font-size:44px;
    }

}

/* =========================================================
TABLET
========================================================= */

@media(max-width:992px){

    /* NAVBAR */
    .navbar{
        padding:14px 20px;
    }

    .topbar{
        padding:10px 20px;
        flex-direction:column;
        gap:8px;
        text-align:center;
    }

    /* HERO */
    .hero{
        padding:120px 25px 80px;
        height:auto;
        min-height:650px;
    }

    .hero-content{
        max-width:100%;
    }

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

    /* FEATURES */
    .features-box{
        margin-top:-60px;
        gap:20px;
        padding:25px;
    }

    .feature{
        flex:1 1 45%;
    }

    /* SERVICES */
    .services-cards{
        justify-content:center;
        gap:25px;
    }

    .card{
        width:calc(50% - 20px);
        top:0;
    }

    /* ABOUT */
    .about-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    /* SERVICES PAGE */
    .services-grid{
        grid-template-columns:1fr 1fr;
    }

    /* TESTIMONIAL */
    .testimonials-grid{
        grid-template-columns:1fr;
    }

    /* CTA */
    .cta{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .cta-img{
        width:100%;
        max-width:350px;
    }

    /* FOOTER */
    .footer-container{
        gap:30px;
    }

}

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

@media(max-width:768px){

    /* HERO */
    .hero{
        padding:120px 20px 70px;
        min-height:auto;
    }

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

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

    /* FEATURES */
    .features-box{
        flex-direction:column;
        margin-top:-40px;
    }

    .feature{
        width:100%;
    }

    /* SERVICES */
    .services{
        padding-top:50px;
    }

    .services-cards{
        flex-direction:column;
        align-items:center;
    }

    .card{
        width:100%;
        max-width:360px;
    }

    /* WHY */
    .why{
        margin-top:0;
        padding:80px 20px;
    }

    .why-items{
        flex-direction:column;
    }

    /* CTA */
    .cta{
        padding:60px 20px;
    }

    .cta-text h2{
        font-size:28px;
    }

    /* FOOTER */
    .footer{
        padding:50px 20px 20px;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .socials{
        justify-content:center;
    }

    /* ABOUT */
    .about-section{
        padding:80px 20px;
    }

    .about-values{
        padding:80px 20px;
    }

    .values-grid{
        flex-direction:column;
        align-items:center;
    }

    .value-card{
        width:100%;
        max-width:350px;
    }

    /* SERVICES PAGE */
    .services-grid{
        grid-template-columns:1fr;
    }

    /* CONTACT */
    .contact-section{
        padding:80px 15px;
    }

    .contact-info,
    .contact-form{
        padding:25px;
    }

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

    /* TESTIMONIAL */
    .testimonial-top{
        flex-direction:column;
    }

    .testimonial-image img{
        width:100px;
        height:100px;
    }

    .testimonial-card{
        padding:25px;
    }

}

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

@media(max-width:480px){

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

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

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

    .partners .section-header h2,
    .testimonials .section-header h2{
        font-size:30px;
    }

    .about-hero h1,
    .services-hero h1,
    .contact-hero h1{
        font-size:28px;
    }

    .cta-text h2{
        font-size:24px;
    }

    .btn-primary,
    .btn-white,
    .btn-outline{
        width:100%;
    }

    .card,
    .value-card{
        max-width:100%;
    }

    .flash-wrapper{
        right:10px;
        left:10px;
        top:15px;
    }

    .flash-message{
        min-width:auto;
        width:100%;
    }

}