/* SERVICES */

.services {
    padding: 80px 5%;
    background: #fff;
}

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

.title span {
    color: #D90429;
    font-weight: 700;
}

.title h2 {
    font-size: 32px;
    color: #07192D;
    margin-top: 10px;
}

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

.card {
    border: 1px solid #eee;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: .3s;
}

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

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

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

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



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

.page-banner{
    background:linear-gradient(
        rgba(7,25,45,.90),
        rgba(7,25,45,.90)
    );
    color:white;
    text-align:center;
    padding:25px 20px;
}

.page-banner .section-tag{
    color:#D90429;
    font-weight:700;
    letter-spacing:2px;
    display:block;
    margin-bottom:15px;
}

.page-banner h1{
    font-size:55px;
    margin-bottom:20px;
}

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

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

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

.section-title h2{
    color:#07192D;
    font-size:32px;
}

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

.about-section{
    padding:100px 0;
}

.about-text{
    max-width:900px;
    margin:auto;
}

.about-text p{
    margin-bottom:20px;
    line-height:1.9;
    color:#555;
    font-size:17px;
}

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

.about-section{
    padding:120px 0;
}

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

/* IMAGE */

.about-image{
    position:relative;
    overflow:hidden;
    border-radius:20px;
}

.about-image img{
    width:100%;
    display:block;
    border-radius:20px;
    transition:transform .8s ease;
}

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

/* EXPERIENCE BOX */

.experience-box{

    position:absolute;

    bottom:25px;
    right:25px;

    background:#D90429;

    color:white;

    padding:20px 30px;

    border-radius:15px;

    text-align:center;

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

.experience-box h3{
    font-size:36px;
    margin-bottom:5px;
}

/* TEXTE */

.about-content h3{

    font-size:36px;

    color:#07192D;

    margin-bottom:25px;
}

.about-content p{

    color:#555;

    line-height:1.9;

    margin-bottom:20px;
}

/* FEATURES */

.about-features{

    margin-top:30px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;
}

.feature-item{

    background:#f8f9fb;

    padding:15px;

    border-radius:10px;

    font-weight:500;

    transition:.3s;
}

.feature-item:hover{

    background:#D90429;

    color:white;

    transform:translateY(-5px);
}

@media(max-width:992px){

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

    .about-content{
        text-align:center;
    }

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

}

/* ===========================
   MISSION VISION VALEURS
=========================== */

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

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

.mvv-card{
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.mvv-card h3{
    color:#07192D;
    margin-bottom:20px;
}

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

.mvv-card ul{
    list-style:none;
}

.mvv-card li{
    margin-bottom:10px;
}

.mvv-card li::before{
    content:"✓ ";
    color:#D90429;
    font-weight:bold;
}

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

.stats-section{
    background:#07192D;
    padding:90px 0;
}

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

.stat-item{
    text-align:center;
    color:white;
}

.stat-item h3{
    font-size:50px;
    color:#D90429;
}

.stat-item span{
    font-size:16px;
}

/* ===========================
   WHY US
=========================== */
/*
.why-section{
    padding:100px 0;
}

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

.why-card{
    background:white;
    border-left:4px solid #D90429;
    padding:25px;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    color:#444;
} */

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

.contact-section{
    padding:100px 0;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:50px;
}

.contact-info{
    background:#07192D;
    color:white;
    padding:40px;
    border-radius:15px;
}

.contact-info h2{
    margin-bottom:30px;
}

.info-item{
    margin-bottom:25px;
}

.info-item strong{
    display:block;
    margin-bottom:10px;
    color:#D90429;
}

.contact-form{
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-form h2{
    margin-bottom:25px;
    color:#07192D;
}

.form-group{
    margin-bottom:20px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:#D90429;
}

/* ===========================
   BOUTON
=========================== */

.btn-primary{
    background:#D90429;
    color:white;
    padding:15px 35px;
    border:none;
    border-radius:8px;
    text-decoration:none;
    display:inline-block;
    cursor:pointer;
    transition:.3s;
}

.btn-primary:hover{
    background:#07192D;
}

/* ===========================
   MAP
=========================== */

.map-section{
    margin-top:80px;
}

.map-section iframe{
    display:block;
    width:100%;
}

/* ===========================
   SOCIAL
=========================== */

.social-section{
    text-align:center;
    padding:80px 0;
}

.social-section h2{
    color:#07192D;
    margin-bottom:30px;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:15px;
}

.social-icons a{
    width:55px;
    height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#07192D;
    color:white;
    border-radius:50%;
    font-size:20px;
    transition:.3s;
}

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

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

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

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

.cta-section p{
    margin-bottom:30px;
}

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

@media(max-width:992px){

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

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

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

}

@media(max-width:768px){

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

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

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

}

/* ==========================
    NEWS and events
========================== */

.news-section{
    padding:100px 0;
}

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

.news-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

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

.news-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.news-content{
    padding:25px;
}

.news-date{
    color:#D90429;
    font-weight:600;
    font-size:14px;
}

.news-content h3{
    margin:15px 0;
    color:#07192D;
}

.news-content p{
    line-height:1.8;
    color:#666;
}

.news-content a{
    display:inline-block;
    margin-top:15px;
    color:#D90429;
    text-decoration:none;
    font-weight:600;
}


/* ==========================
   FEATURED NEWS
========================== */

.featured-news{
    padding:100px 0;
}

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

.featured-image img{
    width:100%;
    border-radius:15px;
}

.badge-news{
    background:#D90429;
    color:#fff;
    padding:8px 15px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.featured-content h2{
    margin:20px 0;
    color:#07192D;
}

.featured-content p{
    line-height:1.8;
    margin-bottom:25px;
}

/* ==========================
   FILTER
========================== */

.news-filter{
    padding-bottom:50px;
}

.filter-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.filter-buttons button{
    padding:12px 25px;
    border:none;
    border-radius:30px;
    cursor:pointer;
    background:#f3f3f3;
}

.filter-buttons .active{
    background:#D90429;
    color:#fff;
}

/* ==========================
   EVENTS
========================== */

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

.event-list{
    max-width:900px;
    margin:auto;
}

.event-item{
    background:#fff;
    display:flex;
    gap:25px;
    align-items:center;
    padding:20px;
    border-radius:12px;
    margin-bottom:20px;
}

.event-date{
    width:90px;
    min-width:90px;
    text-align:center;
    background:#D90429;
    color:#fff;
    border-radius:10px;
    padding:15px;
    font-weight:bold;
}

.event-date span{
    display:block;
    font-size:28px;
}

/* ==========================
   GALLERY
========================== */

.gallery-section{
    padding:100px 0;
}

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

.gallery-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

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

@media(max-width:992px){

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

    .event-item{
        flex-direction:column;
        text-align:center;
    }

}


/* ==========================
   MODAL NEWS
========================== */

.news-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
    background:rgba(0,0,0,0);

    padding:30px;

    transition:background .35s ease;
}

.news-modal.active{
    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.75);
}

.news-modal-content{

    background:#fff;

    width:100%;
    max-width:1100px;

    max-height:90vh;

    overflow-y:auto;

    border-radius:18px;

    position:relative;

    opacity:0;

    transform:
        translateY(50px)
        scale(.92);

    transition:
        opacity .45s ease,
        transform .45s ease;
}

.news-modal.active .news-modal-content{

    opacity:1;

    transform:
        translateY(0)
        scale(1);
}


@keyframes modalFade{

    from{
        opacity:0;
        transform:translateY(-20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}
.close-modal{

    position:absolute;

    top:20px;
    right:25px;

    font-size:34px;

    color:#D90429;

    cursor:pointer;

    transition:.3s ease;

    z-index:10;
}

.close-modal:hover{

    transform:rotate(90deg);

    color:#07192D;
}



.modal-body-content{

    padding:40px;

    animation:contentFade .7s ease;
}

.modal-body-content h2{

    margin:20px 0;

    color:#07192D;
}

.modal-body-content p{

    line-height:1.9;

    margin-bottom:20px;
}



.news-gallery{

    display:flex;

    gap:15px;

    overflow-x:auto;

    padding:25px;

    border-bottom:1px solid #eee;

    scroll-behavior:smooth;
}

.news-gallery::-webkit-scrollbar{
    height:8px;
}

.news-gallery::-webkit-scrollbar-thumb{
    background:#D90429;
    border-radius:20px;
}

.news-gallery img{

    width:320px;

    height:220px;

    object-fit:cover;

    border-radius:10px;

    flex-shrink:0;
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.news-gallery img:hover{

    transform:scale(1.05);

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);
}


.news-gallery img:nth-child(1){
    animation-delay:.1s;
}

.news-gallery img:nth-child(2){
    animation-delay:.2s;
}

.news-gallery img:nth-child(3){
    animation-delay:.3s;
}

.news-gallery img:nth-child(4){
    animation-delay:.4s;
}

.news-gallery img:nth-child(5){
    animation-delay:.5s;
}
@keyframes galleryFade{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}
@keyframes contentFade{

    from{
        opacity:0;
        transform:translateY(20px);
    }

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

