/*
Template Name: Academy
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>

CORRECTIONS APPLIQUÉES:
- Prévention du débordement horizontal sur mobile
- Système de grille Bootstrap préservé
- Règles overflow-x cohérentes sur tous les éléments
- Images responsive sur tous les écrans
*/
body{
font-family: 'Poppins', sans-serif;
color: #1a2844;
overflow-x: hidden;
}

/* Wrapper principal pour centrer le contenu */
.site-wrapper {
    max-width: 90%;
    margin: 0 auto;
    width: 100%;
}

/* Classe pour limiter la largeur du contenu principal seulement */
.main-content {
    max-width: 90%;
    margin: 0 auto;
}

/* Les sections de contenu principal avec cette classe seront limitées */
.main-content .container {
    max-width: 100%;
}

html {
overflow-x: hidden;
max-width: 100%;
}

/* Empêcher le débordement horizontal sur tous les conteneurs */
.main-content .container {
    max-width: 90%;
}

/* Garder les conteneurs fluides en pleine largeur pour les bannières */
.container-fluid {
    max-width: 100%;
}

/* Les conteneurs normaux restent à 100% par défaut */
.container {
    max-width: 100%;
}

/* S'assurer que les rows ne dépassent pas */
.row {
    max-width: 100%;
}

/* S'assurer que les colonnes ne dépassent pas dans le contenu principal */
.main-content [class*="col-"] {
    max-width: 100%;
}

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

/* Les images de bannière et de fond restent en pleine largeur */
.full-width-image {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}

/* S'assurer que les sections de contenu respectent la largeur du wrapper */
.content-section {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Les sections de navigation et les barres supérieures restent en pleine largeur */
.navbar,
.navbar-expand-lg,
.bg-light,
.full-width-section {
    max-width: 100% !important;
    width: 100% !important;
}

/* Design moderne pour la galerie de vidéos */
.modern-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.video-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.video-info {
    padding: 1.25rem;
    text-align: center;
}

.video-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2844;
    margin: 0;
    line-height: 1.4;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .modern-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .video-container {
        height: 180px;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-info h4 {
        font-size: 0.9rem;
        min-height: 2.4rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .modern-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Design moderne pour la galerie d'images */
.modern-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.image-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
}

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

.image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-card:hover .image-container img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.image-card:hover .image-overlay i {
    transform: scale(1.1);
}

/* Responsive design pour la galerie d'images */
@media (max-width: 768px) {
    .modern-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .image-container {
        height: 180px;
    }
    
    .image-overlay i {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .modern-image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1025px) {
    .modern-image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

ul{
list-style:none;
padding:0;
 }
h1{
font-size:50px; 
 }
h2{
font-size:42px; 
 }
h3{
font-size:34px; 
 }
h1,h2,h3,h4,h5{
font-weight:bold;
 }

h6{
font-weight:normal;
 }
p{
color:#666; 
 }

a{
color: #1a2844;
text-decoration:none;
 }
a:hover{
text-decoration:none;
color: #a61d37;
 }
a:focus{
text-decoration:none;
color: #a61d37;
 }

.button{
background:#88001b;
color:#fff;
display: inline-block;
transition: 0.3s;
padding:1rem 2rem;
font-weight:bold;
border-radius:5px;
 }
.button:hover{
background:#1a2844;
color:#fff;
 }

.button_1{
background:#1a2844;
color:#fff;
display: inline-block;
transition: 0.3s;
padding:1rem 2rem;
font-weight:bold;
border-radius:5px;
 }
.button_1:hover{
background:#a61d37;
color:#fff;
 }


.grid figure {
position: relative;
float: left;
overflow: visible;
width: 100%;
text-align: center;
cursor: pointer;
}
figure.effect-jazz figcaption::after,
figure.effect-jazz img
{
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
transition: opacity 0.35s, transform 0.35s;
}

figure.effect-jazz:hover img {
-webkit-transform: scale3d(1.05,1.05,1);
transform: scale3d(1.05,1.05,1);
}

.col_brown{
color: #ffffff!important; 
 }
.col_yell {
color: #fdc800!important;
}
.bg_light{
background:#fdfafb; 
 }
.bg_dark{
background:#88001b; 
 }
 .bg_white{
    background:#126cfd; 
     }
.bg_brown{
background:#88001b; 
 }
.bg_moctar{
background:#ffffff;
 }
.BordeauB{
    color:#a60223;
     }
.bg_karim{
background:#fff;
 }

hr{
opacity:1;
background-color:#a61d372b; 
 }
.font_14{
font-size:14px; 
 }
.font_12{
font-size:12px; 
 }
.font_8{
font-size:8px; 
 }
.font_60{
font-size:60px; 
 }

.line {
height: 5px!important;
width: 50px;
background-color: #a61d37;
}
.p_3{
padding-top:30px;
padding-bottom:30px; 
 }
.radius_10{
border-radius:10px; 
 }
.radius_30{
border-radius:30px; 
 }  
.border_1{
border:1px solid #a61d372b; 
 }


/*********************top****************/
.top_1l h4 .span_2{
margin-left:48px; 
 }
.top_1l h4 {
line-height:0;
 }
.top_1ri1 .span_1{
width:40px;
height:40px;
line-height:40px; 
 }
/*********************top_end****************/

/*********************header****************/
.navbar-brand{
line-height:0;
font-size: 1.5rem;
display:none;
margin-bottom:5px;
}
.navbar-brand .span_2{
margin-left:48px; 
 }

#header .nav-link{
color:#1a2844;
padding:18px 22px 18px 22px;
font-weight:bold;
 }
#header .nav-link:hover{
background:#4299f0;
color:#fff;
 }
#header .nav-link:focus{
background:#4299f0;
color:#fff;
 }
#header .active{
background:#4299f0;
color:#fff;
 }

.drop_1{
min-width:220px;
padding:0;
margin-top:0!important;
border:none;
background:#fff;
border-radius:5px;
border:1px solid #a61d372b;
 }
.drop_1 a{
padding-top:15px;
padding-bottom:15px;
border-bottom:1px solid #a61d372b;
color:#1a2844;
font-weight:bold;
 }
.drop_1 a:hover{
color:#88001b;
background:none;
 }

.sticky {
position: fixed;
top: 0;
width: 100%;
z-index:3;
}
.sticky .navbar-brand{
display:block;
}

#header .button_1{
padding:10px 22px 10px 22px;
margin-top:2px;
 }
/*********************header_end****************/


/*********************common****************/
.pages ul li{
 display:inline-block;
 }
.pages ul li a{
display:block;
color: #111;
 margin: 0 2px;
 width:40px;
 height:40px;
 line-height:40px;
 text-align:center;
 border:1px solid #a61d372b;
 border-radius:50%;
 }
.pages ul li a:hover{
 background: #a61d37;
 border:1px solid #a61d37;
 }
.pages ul li a:hover{
 color: #fff!important;
 }
.act{
background:#a61d37!important;
border:1px solid #a61d37!important;
color:#fff!important;
 }

 /* footer social icons */
ul.social-network {
list-style: none;
display: block;
margin-left:0 !important;
padding: 0;
}
ul.social-network li {
display: inline-block;
}

/* footer social icons */
.social-network a.icoRss:hover {
background-color: #F56505;
}
.social-network a.icoFacebook:hover {
background-color:#3B5998;
}
.social-network a.icoTwitter:hover {
background-color:#33ccff;
}
.social-network a.icoGoogle:hover {
background-color:#BD3518;
}
.social-network a.icoVimeo:hover {
background-color:#0590B8;
}
.social-network a.icoLinkedin:hover {
background-color:#007bb7;
}
.social-network a.icoRss:hover i, .social-network a.icoFacebook:hover i, .social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i, .social-network a.icoVimeo:hover i, .social-network a.icoLinkedin:hover i {
color:#fff;
}
a.socialIcon:hover, .socialHoverClass {
color:#44BCDD;
}

.social-circle li a {
display:inline-block;
position:relative;
margin:0 auto 0 auto;
-moz-border-radius:50%;
-webkit-border-radius:50%;
border-radius:50%;
text-align:center;
width: 40px;
height: 40px;
}
.social-circle li i {
margin:0;
line-height:40px;
text-align: center;
}

.social-circle li a:hover i, .triggeredHover {
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-ms--transform: rotate(360deg);
transform: rotate(360deg);
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
transition: all 0.2s;
}
.social-circle i {
color: #fff;
-webkit-transition: all 0.8s;
-moz-transition: all 0.8s;
-o-transition: all 0.8s;
-ms-transition: all 0.8s;
transition: all 0.8s;
}
.form-control:focus{
 box-shadow:none;
 border-color:#a61d372b; 
 }
.form-select:focus{
 box-shadow:none;
 border-color:#a61d372b;  
 }
.form-control{
border-color:#a61d372b;
box-shadow:none;
border-radius:0;
height:50px;
 }
.form-select{
border-color:#a61d372b;
box-shadow:none; 
border-radius:0;
height:50px;
 }

.shadow_box{
box-shadow: 0px 4px 20px -3px rgb(22 36 62 / 15%);
 }
.carousel-indicators [data-bs-target] {
 background-color: #a61d37;
}

.input-group .form-control{
height:auto; 
 }
.center_om {
padding-top:90px;
padding-bottom:90px;
background: #000000d9;
}
.about_h2r .progress-bar {
background:#f5eaee; 
border-radius: 5px;
}
.about_h2r .progress {
background-color:#a61d37;
height: 10px;
overflow: hidden;
border-radius: 5px;
}
.blog_dt1r5i .form_text{
height:120px; 
 }
.blog_dt1r5i .form-control:focus{
background:#fdfafb;
 }
.blog_dt1l1 .social-circle li a{
background:#1a2844;  
 }
/*********************common_end****************/

/*********************team****************/
.team_1i2{
width:90%;
left:5%;
bottom:15px;
display:none; 
 }
.team_1i:hover .team_1i2{
display:block; 
 }
/*********************team_end****************/


/*********************footer****************/
#footer {
background-image: url(../img/fer.jpg);
background-position: center;
}
.footer_m{
background:#fff;
padding-top:90px;
 }
.footer_moc{
background:#585858;
padding-top:20px;
 }
 .footer_moctar{
background:#585858;
padding-top:70px;
 }
.footer_1i ul li a{
background:#2f4674;
border-radius:5px;
 }
.footer_1i ul li {
margin:0px 4px 0px 0px;
 }
#footer_b{
padding-top:13px;
padding-bottom:10px; 
 }
.subs_1r{
margin-top:13px; 
 }
.main_1{
top:-110px; 
 }
.main{
margin-top:60px; 
 }
 .colore{
    text-decoration-color: #88001b; 
     }
/*********************footer_end****************/

@media (max-width: 768px) {  
    .menu-accueil {  
        font-size: 17px;  /* Définissez la taille de la police souhaitée */  
        padding: 10px;     /* Ajoutez du padding si nécessaire */  
        color: red;        /* Vous pouvez tester une couleur différente pour voir les changements */  
    }  
}  
/* Styles pour le menu déroulant */

#social-links {
    display: none;
}

@media screen and (max-width: 767px) {
    /* Empêcher le débordement horizontal sur mobile */
    body, html {
        overflow-x: hidden !important;
        position: relative;
    }

    /* Les conteneurs principaux restent dans l'écran */
    .main-content .container {
        max-width: 95vw !important;
    }
    
    /* Garder les conteneurs fluides en pleine largeur */
    .container-fluid {
        max-width: 100vw !important;
    }
    
    /* Ajuster le wrapper pour les petits écrans */
    .site-wrapper {
        max-width: 95vw !important;
    }
    
    .navbar-collapse {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        overflow-x: hidden;
        border-top: 1px solid #a61d372b;
        margin-top: 15px;
        -webkit-overflow-scrolling: touch;
    }
    #social-links  {
        display: block;
        text-align: center;
    }
    
    /* Corriger les rows Bootstrap sur mobile */
    .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
    
    /* S'assurer que les images ne dépassent pas */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    #header .nav-link {
        font-size: 16px;
        border-bottom: 1px solid #a61d372b;
        padding-top: 10px;
        padding-bottom: 10px;
        margin: 0 !important;
    }
    .navbar .navbar-toggler {
        box-shadow: none !important;
        background: #fff;
        border: none;
        border-radius: 0;
        margin-top: -1px;
    }
    .drop_1 {
        margin-top: 0 !important;
    }
    .drop_1 a {
        font-size: 24px;
    }
    .sticky .drop_1 {
        margin-top: 0 !important;
    }
    .line {
        margin-left: auto;
        margin-right: auto;
    }
    #top {
        display: none;
    }
    .navbar-brand {
        display: block;
        font-size: 1.5rem;
    }
    .navbar-brand .fs-2 {
        font-size: 2rem !important;
    }
    .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    #header .button_1 {
        margin-top: 15px;
    }
    .course_3im,
    .learn_2i,
    .team_1i,
    .blog_h1i,
    .blog_h1i p,
    .main_1,
    .main,
    #subs,
    .subs_1l h3,
    .footer_m,
    .top_1l h4,
    .top_1l .fs-2,
    .footer_1i h4,
    .footer_1i,
    .footer_1i ul,
    .footer_1i h5,
    .footer_1ism h6,
    .footer_b1,
    .learn_1 p,
    .pages ul li,
    .blog_dt1r5il,
    .blog_dt1r5il h6,
    .center_o1 h1,
    .event_1rir,
    .event_1rir p,
    .blog_dt1l1 h4,
    .blog_dt1l1 .social-circle,
    .spec_1i i.fa-user,
    .spec_1i i.fa-book,
    .spec_1i i.fa-building,
    .spec_1i i.fa-flask,
    .spec_1i i.fa-pencil,
    .spec_1i i.fa-university {
        margin-top: 8px;
        margin-bottom: 8px;
        font-size: 24px;
    }
    
   
    
    
}

@media (min-width:576px) and (max-width:767px) {


 }
@media (min-width:768px) and (max-width:991px) {
.top_1ri1 .span_1 {
width: 30px;
height: 30px;
line-height: 30px;
font-size:12px;
margin-right:5px!important;
}
.top_1ri1 h6 {
font-size:12px!important;
}
.navbar-brand{
margin-right:20px!important; 
 }
#header .nav-link {
padding: 18px 8px 18px 8px;
font-size:12px;
}
#header .button_1 {
font-size:12px;
padding: 10px 8px 10px 8px;
}
.event_1ril img{
min-height:210px; 
 }
.team_1i2 p{
font-size:12px; 
 }
.subs_1l p{
font-size:14px; 
 }
.top_1l h4 .span_2 {
margin-left: 44px;
}
.footer_1i h4 {
font-size:18px;
 }
.footer_1i p {
font-size:14px;
 }
.footer_1i h6 {
font-size:13px;
 }
 }
@media (min-width:871px) and (max-width:991px) {
.navbar-brand{
margin-right:30px!important; 
 }
#header .nav-link {
padding: 18px 15px 18px 15px;
}
#header .button_1 {
padding: 10px 15px 10px 15px;
}

 }
@media (min-width:992px) and (max-width:1200px) {
.navbar-expand-md {
flex-wrap:wrap!important;
}
#header .nav-link {
padding: 18px 12px 18px 12px;
}

 }
/* Styles modernes pour la sidebar */
.modern-sidebar {
  background: #fff;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.modern-sidebar:hover {
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.sidebar-section {
  border-bottom: 1px solid #f8f9fa;
  padding-bottom: 1.5rem;
}

.sidebar-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-header {
  position: relative;
}

.section-title {
  color: #1a2844;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #a61d37, #88001b);
  border-radius: 1px;
}

.section-title i {
  color: #a61d37;
  margin-right: 0.5rem;
}

/* Styles pour les contacts */
.contact-info {
  padding-left: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #f8f9fa;
  border-radius: 5px;
  padding-left: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.contact-icon {
  color: #a61d37;
  font-size: 1.1rem;
  width: 20px;
  margin-right: 0.75rem;
  text-align: center;
}

.contact-text {
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Styles pour les heures d'ouverture */
.opening-hours {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e9ecef;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item:hover {
  background: #fff;
  border-radius: 5px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.hours-item.closed {
  opacity: 0.7;
}

.hours-item.closed .hours {
  color: #dc3545;
  font-weight: 600;
}

.day {
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.9rem;
}

.hours {
  color: #a61d37;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Styles pour les r�seaux sociaux */
.social-links {
  text-align: center;
}

.social-network li {
  margin: 0 0.25rem;
}

.social-circle li a {
  background: #1a2844;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-circle li a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-network a.icoFacebook:hover {
  background-color: #3B5998;
  border-color: #3B5998;
}

.social-network a.icoTwitter:hover {
  background-color: #1DA1F2;
  border-color: #1DA1F2;
}

.social-network a.icoLinkedin:hover {
  background-color: #0077B5;
  border-color: #0077B5;
}

.social-network a.icoYoutube:hover {
  background-color: #FF0000;
  border-color: #FF0000;
}

.social-network a.icoInstagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-color: #bc1888;
}

.social-network a.icoWhatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
}

/* Styles sp�cifiques pour �viter les conflits */
.modern-sidebar .contact-text {
  color: #333 !important;
}

.modern-sidebar .day {
  color: #2c3e50 !important;
}

.modern-sidebar .hours {
  color: #a61d37 !important;
}

.modern-sidebar .hours-item.closed .hours {
  color: #dc3545 !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .modern-sidebar {
    margin-top: 2rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .contact-item {
    padding: 0.75rem 0;
  }
  
  .hours-item {
    padding: 0.75rem 0;
  }
  
  .social-circle li a {
    width: 45px;
    height: 45px;
  }
  
  .social-circle li i {
    line-height: 45px;
    font-size: 1.1rem;
  }
}

/* Styles modernes pour le footer */
#footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: visible;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/fer.jpg') center/cover;
  opacity: 0.05;
  z-index: 1;
}

#footer .container-xl {
  position: relative;
  z-index: 2;
}

.footer-brand {
  padding-right: 2rem;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: left;
}

.footer-title i {
  color: #a61d37;
}

.footer-description {
  color: #e8f4f8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: left;
}

.social-section {
  margin-top: 1.5rem;
}

.social-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
}

.social-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
  background-color: #3b5998;
  color: white;
}

.social-btn.facebook:hover {
  background-color: #2d4373;
  border-color: #2d4373;
}

.social-btn.youtube {
  background-color: #FF0000;
  color: white;
}

.social-btn.youtube:hover {
  background-color: #cc0000;
  border-color: #cc0000;
}

.social-btn.whatsapp {
  background-color: #25D366;
  color: white;
}

.social-btn.whatsapp:hover {
  background-color: #1ea952;
  border-color: #1ea952;
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-section-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: left;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #a61d37, #88001b);
  border-radius: 1px;
}

.footer-section-title i {
  color: #a61d37;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #e8f4f8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: #a61d37;
  padding-left: 0.5rem;
}

.contact-info {
  margin-top: 0.5rem;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #e8f4f8;
}

.contact-item i {
  color: #a61d37;
  width: 20px;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.contact-item a {
  color: #e8f4f8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #a61d37;
}

.contact-item span {
  color: #e8f4f8;
}

/* Responsive design pour le footer */
@media (max-width: 992px) {
  .footer-brand {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .footer-title {
    font-size: 1.2rem;
  }
  
  .social-buttons {
    justify-content: left;
  }
}

@media (max-width: 768px) {
  .footer-title {
    font-size: 1.1rem;
    text-align: left;
  }
  
  .footer-description {
    text-align: left;
    font-size: 0.95rem;
  }
  
  .social-title {
    text-align: left;
  }
  
  .footer-section-title {
    font-size: 1rem;
    text-align: left;
  }
  
  .footer-section-title::after {
    left: 0;
    transform: none;
  }
  
  .footer-links {
    text-align: left;
  }
  
  .contact-info {
    text-align: left;
  }
  
  .contact-item {
    justify-content: flex-start;
  }
}

/* Am�lioration de la section copyright */
#footer_b {
  background: #88001b !important;
  padding: 1rem 0;
}

#footer_b .text-light {
  color: #ffffff !important;
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .social-btn {
    width: 40px;
    height: 40px;
  }
  
  .footer-section-title {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .contact-item {
    font-size: 0.9rem;
  }
  
  .social-buttons {
    gap: 0.5rem;
  }
}

/* Limiter la largeur maximale du site sur les très grands écrans */
@media (min-width: 1400px) {
    .main-content .container {
        max-width: 1260px;
    }
    
    /* Garder les conteneurs fluides en pleine largeur pour les bannières */
    .container-fluid {
        max-width: 100%;
    }
}
