/* ------------------ General CSS ------------------ */
body {
    color: #656565;
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
}

a {
    color: #1dbf73;
    transition: 0.3s;
}

a:hover,
a:active,
a:focus {
    color: #353535;
    outline: none;
    text-decoration: none;
}

p {
    color: #656565;
    padding: 0;
    margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #353535;
    margin: 0 0 15px 0;
    padding: 0;
}

h4,
h5,
h6 {
    font-weight: 400;
}


/* ------------------ Back to Top ------------------ */
.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #bfa71d;
    color: #fff;
    text-align: center;
    font-size: 22px;
    line-height: 45px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    opacity: 0;
    pointer-events: none; /* Empêche le clic quand caché */
    z-index: 999;
}

/* Quand affiché */
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Animation d’apparition (slide + fade-in) */
.back-to-top {
    transform: translateY(15px);
}

.back-to-top:hover {
    background: #a29017;
    transform: translateY(-3px);
}

.back-to-top i {
    line-height: 45px;
}
/* ------------------ Header CSS ------------------- */
.header {
    padding: 30px 0;
    height: 92px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.3s;
    z-index: 997;
}

.header.header-scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    height: 72px;
    transition: all 0.3s;
}



/* structure flex entre logo et menu */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 30px;
}

/* logo avec taille contrôlée */
.header--logo {
    display: flex;
    align-items: center;
    height: 100%;
}
/* --- Logo --- */
.header--logo img {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 0px 6px rgba(255,255,255,0.9)) 
          drop-shadow(0px 0px 2px rgba(0,0,0,0.8)); /* Glow clair + ombre */
}


/* ----------------- Intro Section ----------------- */
/* ================================================= */
.carousel-wc {
  position: relative;
  background: #f9fbfd;
  padding: 0;
  direction: rtl; /* RTL support */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* --- Slide --- */
.carousel-item {
  display: none;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.carousel-item.active {
  display: block;
}

/* --- Images --- */
.carousel-item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s ease-in-out;
}

/*.carousel-item:hover img {
  transform: scale(1.04);
}

/* --- Légendes --- */
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
      background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    
    border-radius: 0 0 16px 16px;
}

/*.carousel-caption {
  position: absolute;
  bottom: 0;
  /*left: 50%;*/
  /*transform: translateX(0%);
  width: 100%;
  max-width: 900px;
  padding: 60px 30px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  text-align: center;
  border-radius: 0 0 16px 16px;*/


.carousel-caption h3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-shadow: 0px 4px 12px rgba(0,0,0,0.8);
}

.carousel-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #f1f1f1;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0px 3px 8px rgba(0,0,0,0.7);
}

/* --- Boutons de navigation --- */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 25px;
  box-sizing: border-box;
}

.carousel-controls button {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: 200%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.carousel-controls button:hover {
  background: rgba(255,255,255,0.4);
  border-color: #fff;
  transform: scale(1.1);
}

/* --- Animation --- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
/* ------------------ Menu Style ------------------- */
/* ========================
   NAVIGATION - DESKTOP
======================== */
#nav-menu-container {
  float: right;
  margin: 0;
  flex: 1;
}

.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
  margin-left: 10px;
}

/* liens desktop */
.nav-menu a {
  display: inline-block;
  padding: 10px 12px;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s;
  filter: drop-shadow(0px 0px 6px rgba(255,255,255,0.9))
          drop-shadow(0px 0px 2px rgba(0,0,0,0.8));
}

.nav-menu li:hover > a,
.nav-menu > .menu-active > a {
  color: #bfa71d;
  background: #eef6ff;
}

/* sous-menus desktop */
.nav-menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  margin: 4px 0 0;
  padding: 10px;
  min-width: 180px;
  background: #ffffff;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.25);
  z-index: 99;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li a {
  display: block;
  padding: 5px 10px;
  font-size: 14px;
  text-transform: none;
  color: #353535;
  transition: color 0.3s;
}

.nav-menu ul li:hover > a {
  color: #bfa71d;
}

/* ========================
   HEADER
======================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  min-height: 72px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.48);
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  z-index: 1200;
}

/* ========================
   LANGUAGE SWITCHER
======================== */
.language-switcher {
  margin-left: auto;
  position: relative;
}

#lang-toggle {
  filter: drop-shadow(0px 0px 6px rgba(255,255,255,0.9)) 
          drop-shadow(0px 0px 8px rgba(0,0,0,0.8)); /* Glow clair + ombre */
  background: var(--accent);
  color: #bfa71d;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(2,6,23,0.12);
  overflow: hidden;
  z-index: 2000;
}

.language-dropdown button {
  display: block;
  width: 160px;
  padding: 10px 12px;
  border: 0;
  background: white;
  text-align: left;
  cursor: pointer;
}

.language-dropdown button:hover {
  background: #f3f6fb;
}

/* RTL */
body.is-rtl { direction: rtl; }
body.is-rtl .nav-menu { direction: rtl; }
body.is-rtl .language-dropdown { right: auto; left: 0; }

/* ========================
   NAVIGATION - MOBILE
======================== */
/* Toggle hidden par défaut */
#mobile-carousel-caption h3 {
  font-size: 1rem;
  
}

#mobile-carousel-caption p {
  font-size: 0.6rem;
 
}


#mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 999;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

/* Menu mobile */
#mobile-nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #222;
  overflow-y: auto;
  transition: 0.4s;
  padding-top: 60px;
  z-index: 998;
}

#mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-nav ul li {
  border-bottom: 1px solid #333;
}

#mobile-nav ul li a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}

#mobile-nav ul li a:hover {
  background: #444;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(0,0,0,0.7);
  display: none;
}

/* Actif */
body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-body-overly {
  display: block;
}

/* Responsive */
@media (max-width: 991px) {
  #mobile-nav-toggle {
    display: block !important;
    color: #333;
  }
  #nav-menu-container {
    display: none;
  }
}

/* Assure que le bouton et le menu passent AU-DESSUS du header */
#mobile-body-overly { z-index: 3000; }
#mobile-nav        { z-index: 3001; }
#mobile-nav-toggle { z-index: 3002; }

/* Afficher le toggle uniquement en mobile */
@media (max-width: 991px) {
  #mobile-nav-toggle { display: block; }
}
/* ---------------- Banner Section ----------------- */
.banner {
    background: url("../img/banner.jpg") center top no-repeat;
    background-size: cover;
    padding: 150px 0 60px 0;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(000, 000, 000, 0.6);
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 10;
}

.banner .banner-nav {
    text-align: center;
}

.banner .banner-box {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ffffff;
}

.banner .banner-box a {
    color: #ffffff;
}

.banner .banner-box a:hover {
    color: #bfa71d;
}

.banner .banner-box a:first-child {
    padding-right: 15px;
    border-right: 1px solid #ffffff;
}

.banner .banner-box a:last-child {
    padding-left: 15px;
}


/* ------------- Section Header Style -------------- */
.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.section-header h3 {
    font-size: 32px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-header h3::before {
    content: '';
    position: absolute;
    display: block;
    width: 100px;
    height: 0;
    border-bottom: 4px dashed #353535;
    bottom: 0;
    left: calc(50% - 50px);
}

.section-header p {
    text-align: center;
    padding-bottom: 30px;
}


/* ---------------- About Us Style ----------------- */
.about {
    position: relative;
    padding: 60px 0 40px 0;
    background: #f2f2f2;
}

.about .about-row {
    margin-bottom: 30px;
}

.about .about-col {
    background: #ffffff;
    margin-bottom: 20px;
}

.about .about-col:hover {
    box-shadow: 0px 2px 10px #dddddd;
}

.about .about-col .img {
    position: relative;
}

.about .about-col .icon {
    width: 64px;
    height: 64px;
    padding-top: 10px;
    padding-left: 1px;
    text-align: center;
    position: absolute;
    background-color: #bfa71d;
    border-radius: 50%;
    text-align: center;
    border: 4px solid #ffffff;
    left: calc( 50% - 32px);
    bottom: -30px;
    transition: 0.3s;
}

.about .about-col i {
    font-size: 36px;
    line-height: 1;
    color: #ffffff;
    transition: 0.3s;
}

.about .about-col:hover .icon {
    background-color: #ffffff;
}

.about .about-col:hover i {
    color: #bfa71d;
}

.about .about-col h2 {
    color: #353535;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    padding: 0;
    margin: 40px 0 12px 0;
}

.about .about-col h2 a {
    color: #353535;
}

.about .about-col h2 a:hover {
    color: #bfa71d;
}

.about .about-col p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #353535;
    margin-bottom: 0;
    padding: 0 30px;
}

.about .read-more {
    width: 100%;
    text-align: center;
}

.about .read-more a {
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 15px;
    transition: 0.3s;
    margin: 15px 30px 30px 30px;
    color: #ffffff;
    background: #bfa71d;
     border-radius: 8px;
}

.about .about-col:hover .read-more a,
.about .read-more a:hover {
    background: #353535;
    color: #ffffff;
}

.about .about-row .read-more {
    text-align: left;
}

.about .about-row .read-more a {
    margin: 0;
}


/* ---------------- Services Style ----------------- */
.services {
    background: #ffffff;
    padding: 60px 0 60px 0;
    text-align: center;
}

.services .single-service {
    background: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    transition: all 0.3s ease-in-out;
}

.services .single-service i {
    font-size: 32px;
    color: #c9a236; /* doré */
    margin-bottom: 15px;
    display: inline-block;
}

.services .single-service h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.services .single-service p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Effet hover */
.services .single-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.services .single-service:hover i {
    color: #a58525;
}
.btn-read-more {
    display: inline-block;
    padding: 10px 25px;
    background-color: #c9a236; /* doré */
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.btn-read-more:hover {
    background-color: #a58525;
}
/*.services {
    background: #ffffff;
    padding: 60px 0 60px 0;
    text-align: center;
}

.services .section-header p {
    margin:0;
    padding: 0;
}

.single-service {
    position: relative;
    text-align: center;
    color: #353535;
    font-weight: 400;
    margin:30px 0 0;
    transition: all 0.3s;
}

.single-service i {
    font-size: 64px;
    color: #bfa71d;
}

.single-service h4,
.single-service h4 a {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-transform: capitalize;
    color: #353535;
}

.single-service p {
    margin: 0;
}

/* ---------------- Our Skills Style --------------- */
/* Section skills */
.skills {
    padding: 60px 0;
    background: #f9f9f9; /* Fond doux */
}

.skills .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.skills .section-header h3 {
    font-size: 2rem;
    font-weight: 700;
    
    margin-bottom: 10px;
}

.skills .section-header p {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Conteneur des compteurs */
.skills .row.counters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 10px;
}

/* Chaque bloc compteur */
.skills .row.counters > div {
    flex: 1 1 220px;
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.skills .row.counters > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Icônes */
.skills .row.counters i {
    color: #bfa71d; /* Bleu cohérent avec le titre */
    margin-bottom: 15px;
    font-size: 32px;
}

/* Chiffres */
.skills .counter {
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

/* Titres */
.skills .row.counters h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
}

/* ----------------- Portfolio Style --------------- */
.portfolio {
    position: relative;
    padding: 60px 0 0 0;
    
}

.project-item {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
  text-align: center;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-item i {
  font-size: 40px;
  color: #bfa71d;
  margin-bottom: 15px;
}
.btn-btn-custom {
    display: inline-block;
    padding: 10px 25px;
    background-color: #c9a236; /* doré */
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    
}

.btn-btn-custom:hover {
    background-color: #a58525;
}

/* ------------------- Team Style ------------------ */
.team {
    background: #f2f2f2;
    padding: 60px 0 ;
    margin-top: 15px;
}

.team .section-header {
    margin-bottom: 15px;
}

.team .card {
    position: relative;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: 0.3s;
}

.team .card:hover {
    box-shadow: 0px 0px 10px #999999;
}

.team .card img {
    width: 100%;
}

.team .card-title-wrap {
    padding: 15px 25px;
    position: relative;
    background-color: #f2f2f2;
}

.team .card:hover .card-title-wrap {
    background: #bfa71d;
}

.team .card-title-wrap .card-title,
.team .card-title-wrap .card-text {
    display: block;
    margin: 0;
}

.team .card-title-wrap .card-title {
    text-align: center;
    font-size: 18px;
    color: #353535;
}

.team .card-title-wrap .card-text {
    text-align: center;
    font-size: 14px;
    color: #666666;
}

.team .card:hover .card-title-wrap .card-title,
.team .card:hover .card-title-wrap .card-text {
    color: #ffffff;
}

.team .card .social-nav {
    position: relative;
    text-align: center;
}

.team .card .social-nav a {
    display: inline-block;
    color: #353535;
    font-size: 18px;
    margin: 5px;
}

.team .card:hover .social-nav a {
    color: #ffffff;
}


/* ------------------ Clients Style ---------------- */
.clients {
    padding: 60px 0;
}

.clients .section-header p {
    padding-bottom: 10px;
}

.clients img {
    max-width: 100%;
    opacity: 1;
    transition: 0.3s;
    padding: 15px 0;
}

.clients img:hover {
    opacity: .5;
}

.clients .owl-nav,
.clients .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.clients .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.clients .owl-dot.active {
    background-color: #bfa71d;
}


/* ----------------- Contact Style ----------------- */
.contact {
    position: relative;
    padding: 60px 0;
    background: #f2f2f2;
}

.contact .container {
    max-width: 900px;
}

.contact .contact-info {
    margin-bottom: 30px;
    text-align: center;
}

.contact .contact-address,
.contact .contact-phone,
.contact .contact-email {
    background: #ffffff;
    padding: 15px 30px 25px 30px;
    text-align: center;
    color: #353535;
}

.contact .contact-address:hover,
.contact .contact-phone:hover,
.contact .contact-email:hover {
    box-shadow: 0 0 10px #dddddd;
}

.contact .contact-info i {
    font-size: 48px;
    display: inline-block;
    color: #bfa71d;
}

.contact .contact-info address,
.contact .contact-info p {
    margin-bottom: 0;
    font-size: 14px;
    color: #353535;
}

.contact .contact-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #353535;
}

.contact .contact-info a {
    color: #353535;
}

.contact .contact-info a:hover {
    color: #bfa71d;
}

.contact .map {
    position: relative;
    background: #ffffff;
}

.contact .map:hover {
    box-shadow: 0 0 10px #cccccc;
}

.contact .map iframe {
    width: 100%;
    height: 380px;
    margin-bottom: -7px;
}

.contact .form {
    background: #ffffff;
    padding: 30px;
    color: #353535;
}

.contact .form:hover {
    box-shadow: 0 0 10px #dddddd;
}

.contact .form input,
.contact .form textarea {
    padding: 10px 14px;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
}

.contact .form input:focus,
.contact .form textarea:focus {
    border-color: #bfa71d;
}

.contact .form button[type="submit"] {
    background: #bfa71d;
    border: 0;
    padding: 10px 30px;
    color: #ffffff;
    transition: 0.4s;
    cursor: pointer;
}

.contact .form button[type="submit"]:hover {
    background: #353535;
}

/* ----------------- Mentions Style ---------------- */

.legal-section {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #fbfaf7 0%, #f9f9ee 100%);
  margin: 0;
  padding: 0;
  color: #2c3e50;
}

.legal-section {
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.legal-section h2 {
  color: #71721e;
  font-size: 2em;
  margin-bottom: 20px;
  border-left: 6px solid #87982a;
  padding-left: 18px;
  font-weight: 700;
}

.legal-section p {
  line-height: 1.7;
  margin-bottom: 18px;
  color: #444;
}

.accordion {
  margin-top: 25px;
  border-top: 1px solid #e4e5d6;
}

.accordion-item {
  border-bottom: 1px solid #e2e5d6;
}

.accordion-title {
  cursor: pointer;
  padding: 18px;
  background: #fbfcf0;
  color: #71721e;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title:hover {
  background: #f8fadb;
  color: #92982a;
}

.accordion-content {
  display: none;
  padding: 18px;
  background-color: #fcfcfa;
  color: #555;
  border-left: 3px solid #98922a;
}

.active .accordion-content {
  display: block;
}

.active .accordion-title {
  background: #f9fadb;
  color: #98922a;
}

@media (max-width: 600px) {
  .legal-section {
    padding: 22px;
  }
  .legal-section h2 {
    font-size: 1.5em;
  }
  .accordion-title {
    font-size: 0.95em;
  }
}

/* ----------------- privacy policy ---------------- */
.privacy-policy {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #fbfaf7 0%, #f9f9ee 100%);
  margin: 0;
  padding: 0;
  color: #2c3e50;
}

.privacy-policy {
  max-width: 900px;
  margin: 50px auto;
  background-color: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-policy:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.privacy-policy h2 {
  color: #71721e;
  font-size: 2em;
  margin-bottom: 20px;
  border-left: 6px solid #87982a;
  padding-left: 18px;
  font-weight: 700;
}

.privacy-policy p {
  line-height: 1.7;
  margin-bottom: 18px;
  color: #444;
}

/* ---- ACCORDION STYLE (si utilisé) ---- */
.privacy-accordion {
  margin-top: 25px;
  border-top: 1px solid #e4e5d6;
}

.privacy-accordion-item {
  border-bottom: 1px solid #e2e5d6;
}

.privacy-accordion-title {
  cursor: pointer;
  padding: 18px;
  background: #fbfcf0;
  color: #71721e;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-accordion-title:hover {
  background: #f8fadb;
  color: #92982a;
}

.privacy-accordion-content {
  display: none;
  padding: 18px;
  background-color: #fcfcfa;
  color: #555;
  border-left: 3px solid #98922a;
}

.privacy-active .privacy-accordion-content {
  display: block;
}

.privacy-active .privacy-accordion-title {
  background: #f9fadb;
  color: #98922a;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .privacy-policy {
    padding: 22px;
  }
  .privacy-policy h2 {
    font-size: 1.5em;
  }
  .privacy-accordion-title {
    font-size: 0.95em;
  }
}

/* ----------------- certificates ------------------ */
.certificates-heading {
    background: linear-gradient(to right, #002e5f, #00bfff);
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
}

.certificates-heading .heading {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.certificates-heading p {
    font-size: 2rem;
    font-weight: 300;
}
.certificates-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

.pdf-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur desktop */
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pdf-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pdf-item iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Responsive : 2 colonnes sur tablette */
@media (max-width: 991px) {
  .pdf-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdf-item iframe {
    height: 300px;
  }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 576px) {
  .pdf-gallery {
    grid-template-columns: 1fr;
  }

  .pdf-item iframe {
    height: 250px;
  }
}




/* ----------------- Footer Style ------------------ */
.footer {
    position: relative;
    padding: 0 0 30px 0;
    background: linear-gradient(180deg, #000000, #1a1a1a); /* Dégradé noir vers gris très foncé */
}

.footer .footer-top {
    background: linear-gradient(90deg, #bfa71d, #d4be45); /* Dégradé or clair vers or foncé */
    padding: 60px 0 30px 0;
}

.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}
/* Logo */
.footer .footer-top img.logo {
    height: 50px; /* même hauteur que les icônes */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 0px 6px rgba(255,255,255,0.9))
            drop-shadow(0px 0px 2px rgba(0,0,0,0.8));
    transition: transform 0.3s ease-in-out;
}
.footer .footer-top img.logo:hover {
    transform: scale(1.05);
}

/* Image certification */
.footer .footer-top img.cert-icons {
    height: 60px; /* même taille que le logo et les icônes */
    width: auto;
    object-fit: contain;
    margin-top: -40px;
    margin-left: 10px; /* petit espace entre logo et certif */
    vertical-align:top; /* aligne au même niveau */
    filter: drop-shadow(0px 0px 4px rgba(255,255,255,0.8))
            drop-shadow(0px 0px 2px rgba(0,0,0,0.7));
    transition: transform 0.3s ease-in-out;
}

.footer .footer-top .footer-info h3 {
    font-size: 34px;
    padding: 2px 0 2px 0px;
    line-height: 1;
    color: #ffffff;
}

.footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    color: #ffffff;
}

.footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #ffffff;
    color: #bfa71d;
    line-height: 1;
    padding: 9px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s ease-in-out;
}

.footer .footer-top .social-links a:hover {
    background: linear-gradient(90deg, #bfa71d, #d4be45);
    color: #000000;
    transform: scale(1.1); /* Agrandissement léger */
}


.footer .footer-top h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100px;
    border-bottom: 3px dashed #ffffff;
    opacity: 0.8;
}

.footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ffffff;
    font-size: 16px;
}

.footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #ffffff;
    padding: 7px 0;
}

.footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-top .footer-links ul a {
    font-size: 14px;
    color: #ffffff;
}

.footer .footer-top .footer-links ul a:hover {
    color: #353535;
}

.footer .footer-top .footer-contact p {
    color: #ffffff;
    line-height: 26px;
}

.footer .footer-top .footer-newsletter input[type="email"] {
    border: 0;
    padding: 6px 8px;
    width: 60%;
}

.footer .footer-top .footer-newsletter input[type="submit"] {
    border: 0;
    width: 40%;
    padding: 6px 0;
    text-align: center;
    color: #ffffff;
    background: #353535;
    transition: 0.3s;
    cursor: pointer;
}

.footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: #000000;
}

.footer .footer-top .footer-newsletter p {
    color: #ffffff;
    font-size: 14px;
}



.footer .copyright {
    text-align: center;
    padding-top: 30px;
    color: #ffffff;
    font-size: 14px;
}

.footer .copyright a {
    text-align: center;
    padding-top: 30px;
    color: #bfa71d;
    
}



/* ---------------- Responsive Design -------------- */
@media (min-width: 1024px) {
    .header .logo {
        padding-left: 60px;
    }

    .slider p {
        width: 60%;
    }

    .slider .carousel-control-prev,
    .slider .carousel-control-next {
        width: 5%;
    }

    #nav-menu-container {
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
    }

    .header .logo h1 {
        font-size: 28px;
    }

    .header .logo img {
        max-height: 40px;
    }

    .slider h2 {
        font-size: 28px;
    }

    #nav-menu-container {
        display: none;
    }

    #mobile-nav-toggle {
        display: inline;
    }
}

@media (max-width: 61.9em) {
    .team .team-over {
        padding-top: 20px;
    }
    .team .card .social-nav {
        margin-bottom: 15px;
        padding: 0;
    }
}