:root {
    --apid-dark: #222222;
    --apid-amber: #E5A100;
    --apid-blue: #A8CDEE;
    --apid-light: #F8F9FA;
    --apid-white: #FFFFFF;
    }
    body 
        {
            background-color: var(--apid-white);
            color: var(--apid-dark);
        }
        /*==========================================
                NAVBAR
==========================================*/

.apid-navbar{

    background:#ffffff;

    padding:12px 0;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

    transition:.35s ease;

}

.apid-navbar .navbar-brand img{

    height:75px;

    width:auto;

    transition:.35s;

}

.apid-navbar .navbar-nav{

    gap:3px;

}

.apid-navbar .nav-link{

    position:relative;

    color:#222;

    font-size:18px;

    font-weight:600;

    padding:10px 16px;

    transition:.3s;

}

.apid-navbar .nav-link:hover{

    color:var(--apid-amber);

}

.apid-navbar .nav-link::after{

    content:"";

    position:absolute;

    left:18px;

    bottom:6px;

    width:0;

    height:2px;

    background:var(--apid-amber);

    transition:.35s;

}

.apid-navbar .nav-link:hover::after{

    width:calc(100% - 36px);

}

.btn-apid{

    background:var(--apid-amber);

    color:#fff;

    border-radius:50px;

    padding:10px 22px;

    font-size:16px;

    font-weight:600;

    text-decoration:none;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.35s;

}

.btn-apid:hover{

    background:#c78e00;

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(229,161,0,.35);

}
/* ==========================
   SECTIONS
========================== */

.services{
    padding:100px 0;
    background:#ffffff;
}

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

.section-title h2{

    font-size:48px;
    font-weight:700;
    color:#222222;

    margin-bottom:20px;
}

.section-title p{

    max-width:750px;

    margin:auto;

    color:#666666;

    font-size:20px;

    line-height:1.8;
}
/* ==========================
   CARTES SERVICES
========================== */

.service-card{
    background:#ffffff;
    border:1px solid #f2f2f2;
    border-radius:8px;
    padding:40px;
    height:100%;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:all .35s ease;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
    border-top:4px solid var(--apid-amber);
    overflow:hidden;
}

.service-card h3{
    display:flex;
    align-items:flex-start;
    gap:18px;
    font-size:28px;
    font-weight:700;
    line-height:1.3;
    margin-bottom:20px;
    min-height:120px;
    color:#222;
}

.service-card h3 i{
    font-size:32px;
    color:var(--apid-amber);
    flex-shrink:0;
    margin-top:4px;
    transition:.3s;
}

.service-card:hover h3 i{
    transform:scale(1.15);
}

.service-card p{
    color:#666;
    line-height:1.8;
}

/* ==========================
   ICÔNES DES SERVICES
========================== */

.service-card i{
    font-size:32px;
    color:var(--apid-amber);
    margin-right:12px;
}

.service-card h3{
    display:flex;
    align-items:center;
    gap:15px;
}
/* ==========================
   STATISTIQUES
========================== */

.statistics{
    padding:120px 0;
    position:relative;
    background-image:url("../images/Slider/slide1.jpg");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    overflow:hidden;
}

.stat-card{
    background:#ffffff;
    padding:30px 20px;
    border-radius:8px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.stat-card i{
    font-size:48px;
    color:var(--apid-amber);
    margin-bottom:20px;
}

.stat-card h3{
    font-size:48px;
    font-weight:700;
    color:#222;
    margin:15px 0 5px;
}

.stat-card p{
    color:#666;
    font-size:18px;
    margin:0;
}
.statistics::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.70);
}
.statistics .container{
    position:relative;
    z-index:2;
}
/* ==========================
   TEXTE SECTION IMPACT
========================== */

.statistics .section-title h2{
    color:#ffffff;
}

.statistics .section-title p{
    color:rgba(255,255,255,.9);
}
/* ==========================
   POURQUOI CHOISIR APID
========================== */

.why-card{
    background:#fff;
    padding:35px 25px;
    border-radius:8px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.why-card i{
    font-size:42px;
    color:var(--apid-amber);
    margin-bottom:20px;
    display:block;
}

.why-card h4{
    font-size:24px;
    font-weight:700;
    margin-bottom:18px;
    color:#222;
}

.why-card p{
    color:#666;
    line-height:1.8;
    margin:0;
}
/*==============================
            FOOTER
===============================*/

.footer-apid{

    background:#1f1f1f;
    color:#fff;
    padding:30px 0 20px;

}

.footer-logo{

    height:65px;
    background: #F8F9FA;

}

.footer-apid h5{

    margin-bottom:25px;
    font-weight:700;
    color:var(--apid-amber);

}

.footer-links{

    list-style:none;
    padding:0;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#ddd;
    text-decoration:none;
    transition:.3s;

}

.footer-links a:hover{

    color:var(--apid-amber);

}

.footer-social{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    margin-top:20px;

}

.footer-social a{

    width:45px;
    height:45px;

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

    border-radius:50%;
    background:#333;

    color:#fff;
    font-size:20px;

    transition:.3s;

}

.footer-social a:hover{

    background:var(--apid-amber);

}

.footer-bottom{

    text-align:center;
    padding-top:20px;
    color:#bbb;
    font-size:15px;

}
.apid-navbar{

    position:sticky;

    top:0;

    z-index:999;

    background:#fff;

    box-shadow:0 2px 15px rgba(0,0,0,.06);

}
/*==========================================
            MENU ACTIF
==========================================*/

.apid-navbar .nav-link.active{

    color: var(--apid-amber);

    font-weight:700;

}

.apid-navbar .nav-link.active::after{

    content:"";

    position:absolute;

    left:18px;

    bottom:6px;

    width:calc(100% - 36px);

    height:2px;

    background:var(--apid-amber);

}
.footer-network{
    text-align:right;
}

.language-switcher{
    align-items:center;
    border:1px solid #edf0f2;
    border-radius:999px;
    display:flex;
    gap:8px;
    padding:6px 10px;
}

.language-switcher a{
    color:#666;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
}

.language-switcher a.active,
.language-switcher a:hover{
    color:var(--apid-amber);
}

.language-switcher span{
    background:#d9dee3;
    display:block;
    height:16px;
    width:1px;
}

.footer-network .footer-social{
    justify-content:flex-end;
}

.footer-contact{
    text-align:center;
}

.footer-contact a{
    color:#ddd;
    text-decoration:none;
    transition:.3s;
}

.footer-contact a:hover{
    color:var(--apid-amber);
}

.message-container{
    margin-top:20px;
}

.empty-state{
    background:#f8f9fa;
    border:1px dashed #d9dee3;
    border-radius:8px;
    color:#666;
    margin:0;
    padding:24px;
    text-align:center;
}

.empty-state-dark{
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.35);
    color:#fff;
}

/* ==========================
   PAGES INTERNES
========================== */

.about-hero,
.projects-hero,
.news-hero,
.partners-hero,
.contact-hero{
    min-height:430px;
    position:relative;
    display:flex;
    align-items:center;
    color:#fff;
    background-size:cover;
    background-position:center;
    overflow:hidden;
}

.about-hero{ background-image:url("../images/about/history.jpg"); }
.projects-hero{ background-image:url("../images/projects/project4.jpg"); }
.news-hero{ background-image:url("../images/news/news1.jpg"); }
.partners-hero{ background-image:url("../images/Slider/slide2.jpg"); }
.contact-hero{ background-image:url("../images/contact/contact.png"); }

.about-overlay,
.projects-overlay,
.news-overlay,
.partners-overlay,
.contact-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.about-hero .container,
.projects-hero .container,
.news-hero .container,
.partners-hero .container,
.contact-hero .container{
    position:relative;
    z-index:2;
}

.about-hero h1,
.projects-hero h1,
.news-hero h1,
.partners-hero h1,
.contact-hero h1{
    font-size:56px;
    font-weight:800;
    margin-bottom:20px;
}

.about-hero p,
.projects-hero p,
.news-hero p,
.partners-hero p,
.contact-hero p{
    font-size:22px;
    line-height:1.7;
}

.about-history,
.projects-domains,
.featured-projects,
.news-section,
.press-release,
.partners-logos{
    padding:90px 0;
}

.subtitle{
    color:var(--apid-amber);
    display:inline-block;
    font-weight:700;
    margin-bottom:15px;
    text-transform:uppercase;
}

.about-history h2{
    font-size:42px;
    font-weight:800;
    margin-bottom:24px;
}

.about-history-media{
    display:flex;
}

.about-history-media img{
    height:100%;
    min-height:430px;
    object-fit:cover;
    width:100%;
}

.about-history-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.about-history p,
.article-content p{
    color:#555;
    font-size:18px;
    line-height:1.85;
}

.about-history p{
    text-align:justify;
    text-justify:inter-word;
}

.mission-section{
    background:#f8f9fa;
    padding:90px 0;
}

.mission-card,
.project-domain-card,
.project-card,
.news-card,
.partner-card,
.partner-type-card,
.contact-card{
    background:#fff;
    border:1px solid #edf0f2;
    border-radius:8px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    height:100%;
}

.mission-card,
.project-domain-card,
.partner-type-card,
.contact-card{
    padding:35px;
}

.mission-card i,
.project-domain-card i,
.partner-type-card i,
.contact-card i{
    color:var(--apid-amber);
    display:block;
    font-size:42px;
    margin-bottom:20px;
}

.mission-card h3,
.project-domain-card h3,
.partner-type-card h3,
.contact-card h3{
    font-size:24px;
    font-weight:800;
    margin-bottom:15px;
}

.project-card,
.news-card{
    overflow:hidden;
}

.project-card img,
.news-card img{
    aspect-ratio:16/10;
    object-fit:cover;
    width:100%;
}

.project-content,
.news-content{
    padding:28px;
}

.project-content h3,
.news-content h3{
    font-size:24px;
    font-weight:800;
    margin:16px 0;
}

.project-content p,
.news-content p,
.project-domain-card p,
.mission-card p,
.partner-type-card p,
.contact-card p{
    color:#666;
    line-height:1.75;
}

.contact-card a{
    color:#666;
    text-decoration:none;
}

.contact-card a:hover{
    color:var(--apid-amber);
}

.project-meta{
    font-size:15px;
    margin-top:16px;
}

.news-date{
    color:var(--apid-amber);
    font-weight:700;
}

.news-content a{
    color:var(--apid-amber);
    font-weight:700;
    text-decoration:none;
}

.newsletter{
    background:#222;
    color:#fff;
    padding:70px 0;
}

.partner-card{
    align-items:center;
    display:flex;
    justify-content:center;
    min-height:150px;
    padding:24px;
    text-align:center;
}

.partner-card img{
    max-height:85px;
    object-fit:contain;
}

.partner-card span{
    color:#444;
    font-weight:700;
}

.partner-cta{
    background:#f8f9fa;
}

.contact-form-section .form-control{
    border-radius:8px;
    min-height:54px;
}

.contact-form-section textarea.form-control{
    min-height:160px;
}

.errorlist{
    color:#b00020;
    list-style:none;
    margin:8px 0 0;
    padding:0;
}

.article-content{
    font-size:18px;
}

@media(max-width:992px){
    .footer-network,
    .footer-contact{
        text-align:left;
    }

    .footer-network .footer-social{
        justify-content:flex-start;
    }

    .about-hero h1,
    .projects-hero h1,
    .news-hero h1,
    .partners-hero h1,
    .contact-hero h1{
        font-size:42px;
    }

    .about-history-media img{
        height:auto;
        min-height:0;
        max-height:460px;
    }
}

@media(max-width:768px){
    .section-title h2{
        font-size:34px;
    }

    .section-title p,
    .about-hero p,
    .projects-hero p,
    .news-hero p,
    .partners-hero p,
    .contact-hero p{
        font-size:18px;
    }

    .about-history,
    .projects-domains,
    .featured-projects,
    .news-section,
    .press-release,
    .partners-logos{
        padding:60px 0;
    }

    .about-history p{
        text-align:left;
    }
}
