/**
 * @file custom.min.css
 * @brief Feuille de style personnalisée pour le site
 * @details Contient tous les styles personnalisés organisés par sections
 */

/* ========================================
   SECTION : Global
   ======================================== */
.blue-subtitle {
  color: #00a7b7;
}

.green-subtitle {
  color: #06a473;
}

.form-control:focus {
  color: black;
  opacity: 1;
}

.form-group {
  margin-bottom: 0;
  font-weight: bold;
}

h2:not(
    .expertise-title,
    .single-expertise h2,
    .contact-cta-container h2,
    footer h2
  ) {
  color: #00a7b7 !important;
}
@media (min-width: 768px) {
  .container {
    max-width: 1320px;
    padding-left: 25px;
    padding-right: 25px;
  }
}

/* ========================================
   SECTION : Buttons
   ======================================== */
.btn-primary,
.slide-btn-wrapper .btn,
.nav-cta {
  background-color: #00a7b7 !important;
  border-color: #00a7b7 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  border-radius: 30px !important;
}

.btn-primary:hover,
.slide-btn-wrapper .btn:hover,
.nav-cta:hover {
  background-color: white !important;
  color: #00a7b7 !important;
  transition: all 0.3s ease;
}

/* ========================================
   SECTION : Links
   ======================================== */
#main
  a:not(.btn):not(.sub-title-tag):not(.social-btn-link):not(
    .offer-item-btn
  ):not(#breadcrumbs a) {
  color: #06a473;
}

#main
  a:not(.btn):hover:not(.sub-title-tag):not(.social-btn-link):not(
    .offer-item-btn
  ):not(#breadcrumbs a) {
  color: #045a3f;
}

.page #breadcrumbs,
.single-expertise #breadcrumbs,
.single-post #breadcrumbs {
  margin-top: 3.4em;
}
/* ========================================
   SECTION : Header
   ======================================== */
header .navbar {
  background-color: #f0f0f0;
}

#header-desktop #menu-menu-header .menu-item {
  display: flex;
  align-items: center;
}

#header-desktop #menu-menu-header .menu-item.menu-item-has-children > a {
  display: flex;
  align-items: center;
  min-width: 185px;
  justify-content: space-between;
}

#header-desktop #menu-menu-header .menu-item.menu-item-has-children > a::after {
  content: url(../images/chevron-down-solid.svg);
  font-size: 0.8em;
  transition: transform 0.3s ease;
  display: inline-block;
  color: black;
  height: 15px;
  width: 15px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.nav-cta {
  margin-left: 15px;
}

#header-desktop #menu-menu-header .menu-item:not(.nav-cta) a:hover,
#header-desktop #menu-menu-header .menu-item:hover,
#header-desktop
  #menu-menu-header
  .menu-item.menu-item-has-children.sub-menu
  .menu-item:hover {
  color: black;
}

#header-desktop #menu-menu-header .menu-item:not(.nav-cta) a {
  display: block;
  width: 100%;
}

#header-desktop
  #menu-menu-header
  .menu-item.menu-item-has-children.sub-menu-open
  > a::after {
  color: white;
  margin-left: 10px;
  content: url(../images/chevron-up-solid.svg);
}

#header-desktop
  #menu-menu-header
  .menu-item.menu-item-has-children.sub-menu-open
  > .sub-menu {
  display: block;
}

#header-desktop #menu-menu-header .menu-item:hover,
#header-desktop
  #menu-menu-header
  .menu-item.menu-item-has-children.sub-menu-open {
}

#header-desktop
  #menu-menu-header
  .menu-item.menu-item-has-children.sub-menu-open
  > a {
}

#header-desktop #menu-menu-header .sub-menu {
  background-color: white;
  top: 97%;

  display: none;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border: 0;
  min-width: 500px;
}

#header-desktop #menu-menu-header .sub-menu .menu-item:not(.nav-cta) a {
  color: black !important;
  transition: all 0.3s ease;
  font-weight: 400;
}

#header-desktop #menu-menu-header .sub-menu .menu-item:not(.nav-cta) a:hover {
  color: #00a7b7 !important;
}

#header-desktop #menu-menu-header .sub-menu a {
  font-size: 1em;
}

#header-desktop #menu-menu-header,
#header-desktop .menu-menu-header-container {
  gap: 0px !important ;
}

@media (max-width: 992px) {
  #header-desktop #menu-menu-header,
  #header-desktop .menu-menu-header-container {
    display: flex;
    flex-direction: column;
    gap: 0px !important;
  }
}

.menu-item a,
.site-header .navbar {
  font-weight: 500;
}

.main-slider .slick-dots button {
  background-color: transparent !important;
  border-color: white !important;
}

.main-slider .slick-dots li.slick-active button {
  background-color: white !important;
}

.slick-slide {
  padding: 70px 0 !important;
}

.main-slider .slide-link-wrapper .slide-link {
  height: 200px;
}

.slide-btn-wrapper {
  display: flex;
  justify-content: end;
  align-items: center;
}

.main-slider .slide-btn-wrapper .btn {
  position: static;
  transform: none;
  margin-bottom: 20px;
}

.main-slider .slide-link-wrapper .slide-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========================================
   SECTION : Search
   ======================================== */
.search-form {
  background-color: white;
}

.search-form label {
  margin: 0;
}

.search-form .search-submit {
  background-color: transparent !important;
  border: none !important;
}

.search-form .search-submit svg {
  width: 20px;
  height: 20px;
}

.search-form label,
.search-form input {
  max-width: 120px;
  text-align: right;
}

/* ========================================
   SECTION : Images
   ======================================== */
.caption-image {
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 3em;
  margin-bottom: 3.875em;
}

.caption-image img {
  width: 80%;
  height: auto;
}

.caption-image figcaption {
  position: absolute;
  background: #fff;
  color: #666;
  width: 30%;
  font-family: Nunito, sans;
  padding: 15px;
}

.caption-image figcaption strong {
  font-size: 1.33333em;
}

.caption-image figcaption p {
  font-size: 12px;
  margin: 0;
}

.caption-image.right {
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.caption-image.right figcaption {
  left: 0;
  padding-top: 0;
}

.caption-image.left figcaption {
  bottom: 0;
  right: 0;
  padding-bottom: 0;
}

/* ========================================
   SECTION : Templates
   ======================================== */
.full-screen-post-thumbnail img,
.page-template-private-access .main-image,
.single-expertise .main-image,
.single-project .main-image {
  object-fit: cover;
  object-position: center;
}
/* ========================================
   SECTION : Projects
   ======================================== */

.projects-cta {
  margin-bottom: 100px !important;
}
/* ========================================
   SECTION : Expertises
   ======================================== */
.single-expertise .entry-title {
  font-size: 3rem;
}

.single-expertise .site-content-contain {
  margin-top: 45px;
}

.expertise-item {
  height: 100%;
  background-color: white;
  position: relative;
  color: #000;
}

.expertise-icon {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  background: #fff;
  height: 120px;
  width: 120px;
  padding: 1.5em;
  border: 2px solid #61c3d9;
  border-radius: 100%;
}

.expertise-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entry-content .expertise-title {
  color: #000;
  font-size: 1.25em;
  font-weight: 600;
  padding-top: 60px;
}

.expertise-btn {
  border-radius: 7.2em;
  color: #fff;
  font-weight: 600;
  font-size: 0.875em;
  text-transform: uppercase;
  position: absolute;
  bottom: 16px;
  background-color: #61c3d9;
  border: 2px solid #61c3d9;
}

.expertise-btn:hover {
  background-color: #fff;
  color: #61c3d9;
  border-color: #61c3d9;
}

.page:not(.page-template-private-access):not(.single-project) .entry-title,
.single:not(.page-template-private-access):not(.single-project) .entry-title {
  margin-bottom: 1em;
}

/* @media (min-width: 768px) {
  .single-expertise .content-sidebar {
    position: absolute;
    top: 150%;
    right: 15%;
    width: 250px;
    background-color: white;
  }
} */

/* .single-expertise .content-sidebar .sidebar-block {
  position: absolute;
  right: -100px;
  top: 0;
} */

/* ========================================
   SECTION : Offers
   ======================================== */
.single-offer .entry-title {
  font-size: 3rem;
}

#filter-offers {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  background-color: #f8f9fa;
  padding: 20px;
}

.offer-item {
  font-size: 0.8rem;
  word-break: break-word;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition: all 0.3s ease;
}

.offer-item h3 {
  font-size: 1.3rem;
  font-weight: 400;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-icon-container {
  gap: 10px;
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  height: 110px;
  width: 110px;
  background: #fff;
  border-radius: 100%;
  padding: 1.5em;
}

.offer-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offer-select {
  color: black;
}

.offer-select::placeholder {
  color: black;
}

.offer-item:hover {
  transform: translateY(-5px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.offer-item .offer-item-btn:hover {
  background-color: #098692 !important;
  color: white;
}

.offer-item-btn {
  font-size: 0.8rem !important;
}

.sub-title-tag {
  color: #a2dae7;
  font-size: 0.7rem;
  border: 1px solid #a2dae7;
  border-radius: 20px;
  font-weight: 600;
  padding: 0.5em 0.7857142857em;
}

.sub-title-tag:hover {
  color: #fff !important;
  background-color: #6cb1c1;
}

.sub-title-tag img {
  width: 30px;
  height: 30px;
}

.offer-thumbnail,
.offer-item-container-no-thumbnail {
  height: 150px;
  background-color: #00a7b7;
}

.offer-thumbnail img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.offer-icon-container-no-thumbnail {
  border: 1px solid #00a7b7;
}

/* ========================================
   SECTION : Social
   ======================================== */
.social-links-list {
  gap: 1rem;
}

.social-links-list h2 {
  font-weight: 600;
}

.footer-link-to-btn-container a:not([target="_blank"]) {
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5em 0.7857142857em;
  color: var(--button-color, currentcolor);
  background-color: transparent;
  border: 2px solid hsla(0, 0%, 100%, 0.3);
  border-radius: 7.1428571429em;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8285714286;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.social-btn-link:hover,
.footer-link-to-btn-container a:hover {
  border-color: hsla(0, 0%, 100%, 1);
}

.social-btn-link img {
  width: 18px;
  height: 18px;
}

/* ========================================
   SECTION : Contact
   ======================================== */
.contact-cta-container {
  background-color: #ebebeb;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: black;
}

/* ========================================
   SECTION : Pagination
   ======================================== */
.page-item.active .page-link {
  background-color: #02a7b8;
  border-color: #02a7b8;
}

.page-item.active .page-link {
  color: white !important;
}

/* ========================================
   SECTION : Single Offer
   ======================================== */
.sub-title-tag {
  color: #02a7b8;
  font-size: 0.7rem;
  border: 1px solid #d7eef1;
  border-radius: 20px;
  font-weight: 600;
  background-color: #d7eef1;
  transition: all 0.3s ease;
}

.sub-title-tag img {
  width: 30px;
  height: 30px;
}

.offre-main-image {
  height: 500px;
}

.offre-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ========================================
   SECTION : Print
   ======================================== */
.print-page-btn {
  position: fixed;
  top: 40%;
  left: 2%;
  cursor: pointer;
}

@media print {
  img {
    display: none !important;
  }

  * {
    background-image: none !important;
  }
}

/* ========================================
   SECTION : Actus
   ======================================== */
.actu-item {
  padding: 10px;
}
.actu-image {
  height: 200px;
  background-color: #00a7b7;
}

.actu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.actu-info {
  padding: 10px;
}

/* ========================================
   SECTION : Index Page
   ======================================== */
.post-page-post-thumbnail {
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
}

.post-page-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   SECTION : Footer
   ======================================== */
footer {
  font-size: 16px;
}

footer h3,
.social-links-title {
  font-size: 20px;
}

footer a {
  color: white;
  display: flex;
  align-items: center;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-link-to-btn-container a:hover {
  text-decoration: none;
}

footer a[target="_blank"]::after {
  content: "";
  background-image: url("../images/arrow-up-right-from-square-solid-white.svg");
  margin-left: 5px;
  width: 15px;
  height: 15px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
}

.footer-bloc-bg {
  background-color: #162542;
  border-radius: 15px;
}

.footer-bloc-bg a {
  color: white;
}

.footer-bg-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 40%;
  object-fit: contain;
  object-position: right;
}

.sub-footer {
  background-color: #162542;
  color: white;
}

.footer-link-confidentiality {
  text-decoration: underline;
}

/* ========================================
   SECTION : Mobile Menu - Modern Design
   ======================================== */

/* Burger Menu Toggle Button */
.navbar-toggler {
  border: none !important;
  padding: 8px !important;
  background: #00a7b7 !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 167, 183, 0.3) !important;
  position: relative !important;
  z-index: 10000 !important;
}

/* Ensure burger button is visible on mobile */
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
}

.navbar-toggler:hover {
  background: #098692 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 6px 16px rgba(0, 167, 183, 0.4) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 167, 183, 0.25) !important;
}

.navbar-toggler-icon {
  background-image: none !important;
  width: 20px !important;
  height: 20px !important;
  position: relative !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background: white !important;
  border-radius: 1px !important;
  transition: all 0.3s ease !important;
  position: absolute !important;
}

.navbar-toggler-icon::before {
  top: -6px !important;
}

.navbar-toggler-icon::after {
  top: 6px !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg) !important;
  top: 0 !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg) !important;
  top: 0 !important;
}

/* Mobile Menu Container */
#burger-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(5px) !important;
  display: none !important;
}

/* Show burger menu only on mobile */
@media (max-width: 991.98px) {
  #burger-menu {
    display: block !important;
  }
}

#burger-menu.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Menu Content */
#burger-menu .d-flex {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 400px !important;
  height: 100vh !important;
  background: white !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease !important;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
  flex-direction: column !important;
}

#burger-menu.visible .d-flex {
  transform: translateX(0) !important;
}

/* Menu Header */
#burger-menu .site-title-burger {
  padding: 20px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  margin: 0 !important;
  background: #f8f9fa !important;
  text-align: center !important;
  position: relative !important;
}

#burger-menu .site-title-burger img {
  max-width: 150px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

#burger-menu .site-title-burger a {
  display: block !important;
  text-decoration: none !important;
}

/* Menu Content */
#burger-menu .burger-content {
  flex: 1 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  background: white !important;
}

/* Menu List */
#burger-menu .menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#burger-menu .menu li {
  border-bottom: 1px solid #f0f0f0 !important;
  position: static !important;
}

#burger-menu .menu li:last-child {
  border-bottom: none !important;
}

#burger-menu .menu li.menu-item-has-children {
  position: static !important;
}

/* Menu Links */
#burger-menu .menu li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 20px !important;
  color: #333 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  background: white !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#burger-menu .menu li > a:hover {
  background: #f8f9fa !important;
  color: #00a7b7 !important;
  padding-left: 25px !important;
}

/* Submenu Indicators */
#burger-menu .menu li.menu-item-has-children > a::after {
  content: "▼" !important;
  font-family: Arial, sans-serif !important;
  font-weight: normal !important;
  color: #00a7b7 !important;
  font-size: 12px !important;
  transition: transform 0.3s ease !important;
  margin-left: 8px !important;
}

#burger-menu .menu li.menu-item-has-children.submenu-open > a::after {
  transform: rotate(180deg) !important;
}

/* Submenu - Mobile Standards */
#burger-menu .menu .sub-menu {
  background: #f8f9fa !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.3s ease !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
  width: 100% !important;
  box-shadow: none !important;
  border: none !important;
  display: block !important;
}

#burger-menu .menu .sub-menu.visible {
  max-height: 500px !important;
  overflow: visible !important;
}

/* Alternative display method for submenus */
#burger-menu .menu li.submenu-open .sub-menu {
  max-height: 500px !important;
  overflow: visible !important;
  display: block !important;
}

/* Force display for debugging - all possible submenu classes */
#burger-menu .menu .sub-menu.visible,
#burger-menu .menu li.submenu-open .sub-menu,
#burger-menu .menu .children.visible,
#burger-menu .menu li.menu-item-has-children.submenu-open .sub-menu,
#burger-menu .menu li.menu-item-has-children.submenu-open .children {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: 500px !important;
  overflow: visible !important;
}

/* Ensure all submenu types are styled */
#burger-menu .menu .sub-menu,
#burger-menu .menu .children {
  background: #f8f9fa !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.3s ease !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
  width: 100% !important;
  box-shadow: none !important;
  border: none !important;
  display: block !important;
}

#burger-menu .menu .sub-menu li {
  border-bottom: 1px solid #e9ecef !important;
  position: static !important;
}

#burger-menu .menu .sub-menu li:last-child {
  border-bottom: none !important;
}

#burger-menu .menu .sub-menu li > a {
  padding: 15px 20px 15px 40px !important;
  font-size: 14px !important;
  color: #666 !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#burger-menu .menu .sub-menu li > a::before {
  content: "•" !important;
  position: absolute !important;
  left: 25px !important;
  color: #00a7b7 !important;
  font-size: 16px !important;
}

#burger-menu .menu .sub-menu li > a:hover {
  background: #e9ecef !important;
  color: #00a7b7 !important;
  padding-left: 45px !important;
}

/* Contact Button in Mobile Menu */
#burger-menu .menu .nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  border: none !important;
}
#burger-menu .menu .nav-cta a {
  background-color: #00a7b7 !important;
  border-color: #00a7b7 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  padding: 0 !important;
  background-color: #00a7b7 !important;
  border-color: #00a7b7 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  border-radius: 30px !important;
  padding: 8px 15px !important;
  text-align: center;
  color: white !important;
  max-width: 200px !important;
  margin-top: 40px;
}

#burger-menu .menu .nav-cta:hover {
  background: #098692 !important;
  color: white !important;
  transform: none !important;
}
#burger-menu .menu .nav-cta > a {
  justify-content: center !important;
}
/* Other buttons in mobile menu */
#burger-menu .menu .btn,
#burger-menu .menu .btn-primary {
  width: 100% !important;
  margin: 20px 0 !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  border-radius: 8px !important;
  background: #00a7b7 !important;
  color: white !important;
  border: none !important;
  text-decoration: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

#burger-menu .menu .btn:hover,
#burger-menu .menu .btn-primary:hover {
  background: #098692 !important;
  color: white !important;
  transform: none !important;
}

/* Close Button */
#burger-menu .menu-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  background: #f8f9fa !important;
  border: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
}

#burger-menu .menu-close:hover {
  background: #e9ecef !important;
  transform: scale(1.1) !important;
}

#burger-menu .menu-close::before,
#burger-menu .menu-close::after {
  content: "" !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  background: #666 !important;
  border-radius: 1px !important;
}

#burger-menu .menu-close::before {
  transform: rotate(45deg) !important;
}

#burger-menu .menu-close::after {
  transform: rotate(-45deg) !important;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  #burger-menu .d-flex {
    width: 100vw !important;
  }

  #burger-menu .menu li > a {
    padding: 20px !important;
    font-size: 18px !important;
  }

  #burger-menu .menu .sub-menu li > a {
    padding: 18px 20px 18px 40px !important;
    font-size: 16px !important;
  }
}

/* Ensure proper mobile menu behavior */
@media (max-width: 991.98px) {
  /* Hide desktop menu on mobile */
  #header-desktop .navbar-collapse {
    display: none !important;
  }

  /* Ensure burger menu is properly positioned */
  #burger-menu {
    display: block !important;
  }

  /* Make sure submenus don't use absolute positioning */
  #burger-menu .menu .sub-menu,
  #burger-menu .menu .sub-menu li,
  #burger-menu .menu li {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
  }
}

/* Animation for menu items */
#burger-menu .menu li {
  opacity: 0 !important;
  transform: translateX(20px) !important;
  transition: all 0.3s ease !important;
}

#burger-menu.visible .menu li {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

#burger-menu.visible .menu li:nth-child(1) {
  transition-delay: 0.1s !important;
}
#burger-menu.visible .menu li:nth-child(2) {
  transition-delay: 0.15s !important;
}
#burger-menu.visible .menu li:nth-child(3) {
  transition-delay: 0.2s !important;
}
#burger-menu.visible .menu li:nth-child(4) {
  transition-delay: 0.25s !important;
}
#burger-menu.visible .menu li:nth-child(5) {
  transition-delay: 0.3s !important;
}
#burger-menu.visible .menu li:nth-child(6) {
  transition-delay: 0.35s !important;
}

/* ========================================
   SECTION : Responsive
   ======================================== */
@media (min-width: 768px) {
  .main-slider {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .footer-bg-image {
    width: 100%;
    height: 100%;
    object-position: bottom;
  }
  header .navbar-brand img {
    width: 100px;
  }
  .main-slider .slide-link-wrapper .slide-link {
    height: 150px;
  }
  .main-slider .slide-link-wrapper .slide-link .slide-title {
    font-size: 1rem !important;
  }
  .main-slider .slide-link-wrapper .slide-link .slide-content {
    font-size: 0.8rem !important;
  }
  .btn-primary,
  .slide-btn-wrapper .btn,
  .nav-cta {
    font-size: 0.8rem !important;
  }
  .main-slider .slide {
    background-size: cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* ========================================
   SECTION : Leaflet
   ======================================== */
@media (min-width: 768px) {
  .leaflet-popup-content {
    min-width: 800px !important;
  }
}

/* ========================================
   SECTION : Realisations
   ======================================== */
.flexbin > * {
  height: auto;
}
.photo-mosaic li {
  width: 22%;
}
.photo-mosaic li:hover {
  overflow: hidden;
  height: 200px;
}
.photo-caption {
  position: absolute;
  bottom: 0px;
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
  padding: 5px;
  width: 100%;
  text-align: center;
}

/* ========================================
   SECTION : REFERENCES
   ======================================== */
.project-map-popup .project-image img,
.project-image img {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (min-width: 576px) {
  .project-map-popup .project-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* ========================================
   SECTION : Pagination
   ======================================== */
#navigation {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.page-nav {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.pagination {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

/* ========================================
   SECTION : Archive Cards Harmonization
   ======================================== */
.card-title {
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
}

.expertise-title,
.project-title,
.post-title {
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  margin-bottom: 0.75rem !important;
}

.expertise-excerpt,
.project-city,
.post-excerpt {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  color: #666 !important;
}

/* Masquer les icônes d'expertise dans les blocs d'archives */
.archive .expertise-icon {
  display: none !important;
}

/* ========================================
   SECTION : Archive Page Titles
   ======================================== */
.entry-title {
  font-weight: 600 !important;
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  color: #00a7b7 !important;
}

.entry-intro {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #666 !important;
  margin-bottom: 2rem !important;
}

/* ========================================
   SECTION : Archive Pagination Styling
   ======================================== */
#navigation .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #00a7b7;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

#navigation .page-numbers:hover,
#navigation .page-numbers:focus {
  background-color: #00a7b7;
  color: white;
  border-color: #00a7b7;
}

#navigation .page-numbers.current {
  background-color: #00a7b7;
  color: white;
  border-color: #00a7b7;
}

#navigation .page-numbers.prev,
#navigation .page-numbers.next {
  font-weight: 600;
}

/* ========================================
   SECTION : Project Map
   ======================================== */
@media (min-width: 768px) {
  .project-detail {
    height: 300px !important;
  }
  .project-detail .project-image {
    width: 30% !important;
    height: 300px !important;
  }
  .project-detail .project-description {
    width: 70% !important;
  }
}
