/* Fonts */
:root {
    --default-font: "Montserrat", sans-serif;
    --heading-font: "Montserrat", sans-serif;
    --nav-font: "Montserrat", sans-serif;
  }
  
  /* Global Colors*/
  :root { 
    --background-color: #f3f6f8; /* Background color for the entire website, including individual sections */
    --default-color: #666666; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #333333; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #00aaff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  }
  
  /* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
  :root {
    --nav-color: #ffffff;  /* The default color of the main navmenu links */
    --nav-hover-color: #00aaff; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #666666; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #00aaff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }
  
  /* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
  
  .light-background {
    --background-color: #f7f7f7;
    --surface-color: #ffffff;
  }
  
  .dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
  }
  
  /* Smooth scroll */
  :root {
    scroll-behavior: smooth;
  }
  
  /*--------------------------------------------------------------
  # General Styling & Shared Classes
  --------------------------------------------------------------*/
  body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
  }
  
  a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
  }
  
  a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
  }
  
  
  /*--------------------------------------------------------------
  # Global Header
  --------------------------------------------------------------*/
  .header {
    --default-color: #ffffff;
    --heading-color: #ffffff;
    color: var(--default-color);
    background: #000000; /* Ajout de cette ligne pour rendre le header noir dès le départ */
    padding: 8px 0;
    transition: all 0.5s;
    z-index: 997;
    position: fixed;

  }
  
  @media (max-width: 1199px) {
    #header {
      padding: 18px 0;
    }
  
  }
  
  .header .logo {
    line-height: 1;
  }
  @media (min-width: 1200px) {
    #header #logo {
      padding-left: 10px;
    }
  }
  
  .header .logo img {
    max-height: 32px;
    margin-right: 8px;
  }
  
  .header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    letter-spacing: 3px;
  
  }
  @media (max-width: 1199px) {
  .header .logo h1 {
    font-size: 20px;
  }
}
  
  .scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
    
  }
  
  /* Global Header on Scroll
  ------------------------------*/
  .scrolled .header {
    --background-color: rgba(0, 0, 0, 0.9);
  }
  
  /*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
  /* Navmenu - Desktop */
  @media (min-width: 1200px) {
    .navmenu {
      padding: 0;
    }
  
    .navmenu ul {
      margin: 0;
      padding: 0;
      display: flex;
      list-style: none;
      align-items: center;
    }
  
    .navmenu li {
      position: relative;
    }
    .navmenu .menu-active a {
      color: #00aaff;
    }
  
    .navmenu a,
    .navmenu a:focus {
      color: var(--nav-color);
      padding: 18px 15px;
      font-size: 13px;
      font-family: var(--nav-font);
      font-weight: 600;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
    }
  
    .navmenu a i,
    .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      transition: 0.3s;
    }
  
    .navmenu li:last-child a {
      padding-right: 0;
    }
  
    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
      color: var(--nav-hover-color);
    }
  
    .navmenu .dropdown ul {
      margin: 0;
      padding: 10px 0;
      background: var(--nav-dropdown-background-color);
      display: block;
      position: absolute;
      visibility: hidden;
      left: 14px;
      top: 130%;
      opacity: 0;
      transition: 0.3s;
      border-radius: 4px;
      z-index: 99;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }
  
    .navmenu .dropdown ul li {
      min-width: 200px;
    }
  
    .navmenu .dropdown ul a {
      padding: 10px 20px;
      font-size: 15px;
      text-transform: none;
      color: var(--nav-dropdown-color);
    }
  
    .navmenu .dropdown ul a i {
      font-size: 12px;
    }
  
    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
      color: var(--nav-dropdown-hover-color);
    }
  
    .navmenu .dropdown:hover>ul {
      opacity: 1;
      top: 100%;
      visibility: visible;
    }
  
    .navmenu .dropdown .dropdown ul {
      top: 0;
      left: -90%;
      visibility: hidden;
    }
  
    .navmenu .dropdown .dropdown:hover>ul {
      opacity: 1;
      top: 0;
      left: -100%;
      visibility: visible;
    }
  }
  /* Navmenu - Mobile */
  @media (max-width: 1199px) {
    .mobile-nav-toggle {
      position: fixed;
      top: 8px;
      right: 15px;
      font-size: 28px;
      color: #fff;
      cursor: pointer;
      z-index: 9999;
      transition: 0.4s;
    }
  
    .navmenu {
      position: fixed;
      top: 0;
      right: -260px; /* changed from left */
      left: auto;    /* reset left */
      bottom: 0;
      width: 260px;
      background: rgba(0, 0, 0, 0.8);
      overflow-y: auto;
      z-index: 998;
      padding-top: 18px;
      transition: 0.4s;
      font-family: "Montserrat", sans-serif;
    }
  
    .navmenu ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
  
    .navmenu ul li {
      position: relative;
    }
  
    .navmenu a,
    .navmenu a:focus {
      display: block;
      padding: 10px 22px 10px 15px;
      font-size: 13px;
      text-transform: uppercase;
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      transition: 0.3s;
    }
  
    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
      color: #00aaff;
    }
  
    .navmenu ul li li {
      padding-left: 30px;
    }
  
    .navmenu .dropdown i {
      position: absolute;
      right: 0;
      padding: 15px;
      cursor: pointer;
      color: #fff;
    }
  
    .navmenu .dropdown i.fa-chevron-up {
      color: #00aaff;
    }
  
    .navmenu .dropdown ul {
      position: static;
      display: none;
      margin: 0;
      padding: 0;
      background: none;
      border: none;
      box-shadow: none;
    }
  
    .navmenu .dropdown .dropdown-active {
      display: block;
    }
  
    .mobile-nav-active {
      overflow: hidden;
    }
  
    .mobile-nav-active .navmenu {
      right: 0;       /* changed from left */
      left: auto;  }
  
    .mobile-nav-active .mobile-nav-toggle {
      color: #fff;
    }
  
    #mobile-body-overly {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 997;
      background: rgba(0, 0, 0, 0.7);
      display: none;
    }
  
    .mobile-nav-active #mobile-body-overly {
      display: block;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Footer
  --------------------------------------------------------------*/
  #footer {
    background: #000;
    padding: 0 0 30px 0;
    color: #eee;
    font-size: 14px;
  }
  
  #footer .footer-top {
    background: #111;
    padding: 60px 0 30px 0;
  }
  
  #footer .footer-top .footer-info {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-info h3 {
    font-size: 34px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 10px;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    border-left: 4px solid #00aaff;
    color: #ffffff;
  
    
  }
  
  #footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
  }
  
  #footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #333;
    color: #eee;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #footer .footer-top .social-links a:hover {
    background: #00aaff;
    color: #fff;
  }
  
  #footer .footer-top h4 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
  }
  
  #footer .footer-top h4::before, #footer .footer-top h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
  }
  
  #footer .footer-top h4::before {
    right: 0;
    background: #555;
  }
  
  #footer .footer-top h4::after {
    background: #00aaff;
    width: 60px;
  }
  
  #footer .footer-top .footer-links {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ddd;
  }
  
  #footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #333;
    padding: 10px 0;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
    color: #eee;
  }
  
  #footer .footer-top .footer-links ul a:hover {
    color: #00aaff;
  }
  
  #footer .footer-top .footer-contact {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-contact p {
    line-height: 26px;
  }
  
  #footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
  }
  
  #footer .footer-top .footer-newsletter input[type="email"] {
    border: 0;
    padding: 6px 8px;
    width: 65%;
  }
  
  #footer .footer-top .footer-newsletter input[type="submit"] {
    background: #00aaff;
    border: 0;
    width: 35%;
    padding: 6px 0;
    text-align: center;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
  }
  
  #footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: #00aaff;
  }
  
  #footer .copyright {
    text-align: center;
    padding-top: 30px;
  }
  
  #footer .credits {
    text-align: center;
    font-size: 13px;
    color: #ddd;
  }
  
  
  
  /*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
  }
  
  .scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
  }
  
  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
  }
  
  /*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }
  
  
  /*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
  section,
  .section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 85px;
    overflow: clip;
  }
  
  @media (max-width: 1199px) {
  
    section,
    .section {
      scroll-margin-top: 66px;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
  .section {
    padding-top: 100px;
  }
  .section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
  }
  
  .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
  }
  
  .section-title h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
  }
  
  .section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
  
  .section-title p {
    margin-bottom: 0;
  }
  
  /*--------------------------------------------------------------
  # Contact Section
  --------------------------------------------------------------*/
  .contact .info-item i {
    font-size: 20px;
    color: var(--accent-color);
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
  }
  
  .contact .info-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
  }
  
  .contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
    text-align: center;
  }
  
  @media (min-width: 992px) {
    .contact .info-item.info-item-borders {
      border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
      border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    }
  }
  
  .contact .php-email-form {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
  }
  
  @media (max-width: 575px) {
    .contact .php-email-form {
      padding: 20px;
    }
  }
  
  .contact .php-email-form input[type=text],
  .contact .php-email-form input[type=email],
  .contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  }
  
  .contact .php-email-form input[type=text]:focus,
  .contact .php-email-form input[type=email]:focus,
  .contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
  }
  
  .contact .php-email-form input[type=text]::placeholder,
  .contact .php-email-form input[type=email]::placeholder,
  .contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
  }
  
  .contact .php-email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
  }
  
  .contact .php-email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
  }
  /*--------------------------------------------------------------
# departements Section
--------------------------------------------------------------*/
.departements .departements-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departements .departements-item+.departements-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .departements .departements-item+.departements-item {
    margin-top: 40px;
  }
}

.departements .departements-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.departements .departements-item ul {
  list-style: none;
  padding: 0;
}

.departements .departements-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.departements .departements-item ul li:last-child {
  padding-bottom: 0;
}

.departements .departements-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.departements .departements-item p:last-child {
  margin-bottom: 0;
}

/* galerie Section
--------------------------------*/
#galerie {
  padding: 60px 0;
  margin-top: 40px;

}


#galerie #galerie-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#galerie #galerie-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #666666;
  border-radius: 4px;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#galerie #galerie-flters li:hover, #galerie #galerie-flters li.filter-active {
  background: #00aaff;
  color: #fff;
}

#galerie #galerie-flters li:last-child {
  margin-right: 0;
}

#galerie .galerie-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

#galerie .galerie-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

#galerie .galerie-item {
  position: relative;
  height: 360px;
  overflow: hidden;
}

#galerie .galerie-item figure {
  background: #000;
  overflow: hidden;
  height: 240px;
  position: relative;
  border-radius: 4px 4px 0 0;
  margin: 0;
}

#galerie .galerie-item figure:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#galerie .galerie-item figure .link-preview, #galerie .galerie-item figure .link-details {
  position: absolute;
  display: inline-block;
  visibility: hidden;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

#galerie .galerie-item figure .link-preview i, #galerie .galerie-item figure .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #333;
}

#galerie .galerie-item figure .link-preview:hover, #galerie .galerie-item figure .link-details:hover {
  background: #00aaff;
  
}

#galerie .galerie-item figure .link-preview:hover i, #galerie .galerie-item figure .link-details:hover i {
  color: #fff;
  
}

#galerie .galerie-item figure .link-preview {
  left: calc(50% - 38px);
  top: calc(50% - 18px);
}

#galerie .galerie-item figure .link-details {
  right: calc(50% - 38px);
  top: calc(50% - 18px);
}

#galerie .galerie-item figure:hover .link-preview {
  visibility: visible;
  left: calc(50% - 44px);
}

#galerie .galerie-item figure:hover .link-details {
  visibility: visible;
  right: calc(50% - 44px);
}

#galerie .galerie-item .galerie-info {
  background: #fff;
  text-align: center;
  padding: 30px;
  height: 90px;
  border-radius: 0 0 3px 3px;
}

#galerie .galerie-item .galerie-info h4 {
  font-size: 18px;
  line-height: 1px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 0;
}

#galerie .galerie-item .galerie-info h4 a {
  color: #333;
}

#galerie .galerie-item .galerie-info h4 a:hover {
  color: #00aaff;
}

#galerie .galerie-item .galerie-info p {
  padding: 0;
  margin: 0;
  color: #b8b8b8;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: #00aaff;
  color: #fff;
  display: inline-block;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

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