/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color:#0c3224;
  --secondary-color: #0c3224;
  --section-bg-color: #f5f5f5;
  --dark-color: #000000;
  --light-color: #ba9419;
  --p-color: #717275;
  --body-font-family: 'DM Sans', sans-serif;
  --h1-font-size: 50px;
  --h2-font-size: 42px;
  --h3-font-size: 25px;
  --h4-font-size: 32px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 18px;
  --menu-font-size: 17px;
  --copyright-text-font-size: 16px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

body {
  background: var(--white-color);
  font-family: var(--body-font-family);
}
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  height: 100% !important;
}

#footer, #extra-container { /* Adjust for any specific container creating space */
  margin: 0 !important;
  padding: 0 !important;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/
h2,
h5 {
  color: var(--light-color);
}

h3,
h4,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  letter-spacing: -2px;
}

h2 {
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
  text-align: center;
}

h3 {
  font-size: var(--h3-font-size);
  line-height: inherit;
}

h4 {
  font-size: var(--h4-font-size);
  line-height: inherit;
}

h5 {
  font-size: var(--h5-font-size);
  line-height: normal;
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--primary-color);
  color: var(--white-color);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--white-color);
}

.section-hero ::selection,
.bg-warning ::selection {
  background: #f9d55c;
}

.section-padding {
  padding-top: 120px;
  /*padding-bottom: 120px;*/
}

.custom-border-radius {
  border-radius: 20px;
}

b,
strong {
  font-weight: var(--font-weight-bold);
  color: var(--light-color );
 
}

.small-title {
  text-transform: uppercase;
}


/*---------------------------------------
  CUSTOM ICON               
-----------------------------------------*/
.custom-icon {
  display: inline-block;
  height: 45px;
  width: 45px;
  line-height: 45px;
  border: 3px solid var(--white-color);
  text-align: center;
  border-radius: 50%;
  font-size: 20px;
  position: relative;
}

.custom-icon::before,
.custom-icon::after {
  box-sizing: inherit;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
}

.custom-icon::before {
  border: 3px solid transparent;
}

.custom-icon::after {
  border: 0 solid transparent;
}

.custom-icon:hover {
  border-color: transparent;
}

.custom-icon:hover::before {
  border-top-color: var(--primary-color);
  border-right-color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  transition: border-top-color .15s linear, border-right-color .15s linear .1s, border-bottom-color .15s linear .2s;
}

.custom-icon:hover::after {
  border-top: 3px solid var(--primary-color);
  border-left-width: 3px;
  border-right-width: 3px;
  transform: rotate(270deg);
  transition: transform .4s linear 0s, border-left-width 0s linear .35s;
}

.play-icon::before {
  position: relative;
  left: 1px;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border-radius: 100px;
  color: var(--white-color);
  font-size: var(--copyright-text-font-size);
  font-weight: var(--font-weight-bold);
  padding: 12px 24px;
}

.custom-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.custom-bg-primary {
  background: var(--primary-color);
}

.custom-bg-primary:hover {
  background: var(--white-color);
  color: var(--dark-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  position: relative;
}

.navbar-brand {
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
}

.LOGO {
  width: 80px;
  margin-left: -6px;
}


.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 25px;
  padding-left: 25px;
}

.nav-tabs .nav-link {
  width: 88% !important;
  height: 90px !important;
}


.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  padding-top: 15px;
  padding-bottom: 15px;
}
.nav-item.active .nav-link {
  color: var(--light-color ) !important; 
  font-weight: bold;
}


.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.projects-detail-page .navbar-nav .nav-link.active:hover {
  color: var(--secondary-color);
}

.projects-detail-page .navbar-nav .nav-link.active {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

.breadcrumb-item.active {
  color: var(--primary-color);
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: var(--primary-color);
  padding-top: 10px;
  padding-bottom: 10px;
  position: sticky !important;
  
}

.site-header-icon {
  color: var(--dark-color);
}

.site-header .social-icon {
  text-align: right;
}


/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  height: calc(100vh - 133px);
}

.section-hero {
  background-image: url('<?php echo get_template_directory_uri(); ?>/images/Ager Expert Consulting.png.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  height: auto;
  padding-top: 180px;
  padding-bottom: 180px;
}

.section-hero::before {
  content: "";
  background: linear-gradient(to top, var(--dark-color), transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.section-hero-text {
  position: relative;
}

.carousel {
  padding-right: 0;
  padding-left: 0;
}

.hero-carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-image-wrap::before {
  content: "";
  background: linear-gradient(to top, var(--dark-color), transparent 90%);
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.carousel-caption {
  z-index: 9;
  top: 32%;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 50%;
  margin-right: 12px;
  margin-left: 12px;
}

.carousel-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin-left: auto;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control-next,
.carousel-control-prev {
  top: auto;
  bottom: 50px;
  opacity: 1;
  margin-right: 40%;
}

.carousel-control-prev {
  left: auto;
  right: 70px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {

  width: 29px;
  height: 22px;
  margin-top: 92px;
  margin-right: 45%;
}

/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-image-wrap {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.about-image-info {
  background: linear-gradient(to top, var(--dark-color), transparent 90%);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 40px;
}

.about-image {
  border-radius: 20px;
  width: 101%;
  object-fit: cover;
  height: 852px;
  margin-top: -343px;
  margin-bottom: 51px;
}

.about-thumb {
  background: var(--primary-color);
  border-radius: 20px;
 /* margin-bottom: -57px; */
  padding: 40px;
  flex-grow: 1;  
  margin-top: -2px;
  
}

/*---------------------------------------
  SERVICES              
-----------------------------------------*/
.services {
  background: var(--section-bg-color);
}

.nav-tabs {
  border-bottom: 0;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link span {
  color: var(--p-color);
  display: block;
  text-align: left;
}

.nav-tabs .nav-link {
  width: 88% !important;
  height: 227px !important;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border: 0;
  border-left: 7px solid var(--p-color);
  margin-right: 30px;
  margin-left: 30px;
  margin-bottom: 30px;
  padding: 30px;
  transition: all 0.3s ease-in-out;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-left-color: var(--secondary-color);
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.nav-tabs .nav-link.active h3,
.nav-tabs .nav-link:focus h3,
.nav-tabs .nav-link:hover h3 {
  color: var(--primary-color);
}


/*---------------------------------------
  Nos expert           
-----------------------------------------*/
/* General padding and margin adjustments */
/* General padding and margin adjustments */
.projects {
  padding: 30px 0;
}

/* Expert card styling */
.expert-card {
  padding: 20px;
  border: 1px solid #7f976e;
  /* Soft green border */
  border-radius: 8px;
  background-color: #ffffff;
  /* White background for contrast */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.9;
}

.expert-card-header {
  background-size: cover;
  background-position: center;
  height: 200px;
  opacity: 1;
}

.expert-card img {
  max-width: 133%;
  height: auto;
  border-radius: 8px;
  margin-top: -146px;
  width: 154px;
}

.expert-card p {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.expert-card ul {
  list-style: none;
  padding-left: 0;
}

.expert-card ul li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

/* Adjust the row to ensure it splits into two equal columns */
.row {
  display: flex;
  justify-content: space-between;
}

/* Mobile responsive: Stack columns on smaller screens @media (max-width: 767px) {
  .row {
    flex-direction: column;
  }
}

*/


/*---------------------------------------
  NOS PARTENAIRE            
-----------------------------------------*/
/* Styling for the entire section */
.partners-section {
  padding: 50px 0;
  background-color: #f8f9fa;
  /* Light background color */
}

.contact-thumb {
  margin-top: 30px;
}

.contact-info {
  padding: -29px;
  border-radius: 8px;
  background-color: white;
  height: 296px;
}

.small-title2 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

.partner-icon {
  width: 38%;

}

.carousel-inner {
  margin-bottom: 30px;
}

/* Fix carousel control buttons within the carousel section */
.contact-thumb .carousel-control-prev2, 
.contact-thumb .carousel-control-next2 {
  position: absolute;
  top: 50%;
  /* transform: translateY(11%); */
  z-index: 10;
  /* background-color: rgba(0,0,0,.2); */
  /* border: none; */
  padding: 10px;
  width: 34px;
  height: 34px;
  border-radius: 76%;
}

/* Position the "Previous" button on the left */
.contact-thumb .carousel-control-prev2 {
  left: 10px;
}

/* Position the "Next" button on the right */
.contact-thumb .carousel-control-next2 {
  right: 10px;
}

/* Style the icons inside the buttons */
.contact-thumb .carousel-control-prev-icon2, 
.contact-thumb .carousel-control-next-icon2 {
  width: 20px;         /* Icon width */
  height: 20px;        /* Icon height */
  background-color: white; /* Icon color */
  border-radius: 50%;  /* Round the icon */
}

/* Hover effect for the buttons */
.contact-thumb .carousel-control-prev2:hover, 
.contact-thumb .carousel-control-next2:hover {
  background-color: rgba(0, 0, 0, 0.7); /* Darken the background on hover */
}

/* For smaller screens (Mobile or Tablets) */
@media screen and (max-width: 768px) {
  .partner-icon {
      width: 100%;        /* Adjust the width to 80% for mobile */
      height: auto;      /* Keep aspect ratio intact */
      max-width: 100px;  /* Optionally set a max width to avoid icons growing too large */
      margin: 0 10px;    /* Adjust margins if needed */
  }
}

/* For larger screens (Above 768px) */
@media screen and (min-width: 769px) {
  .partner-icon {
      height: 100%;
      margin: 0 20px;  /* Adjust margin for larger screens */
  }
}



/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-container-wrap {
 
  padding-bottom: 14px;
}
/*iframe {
  display: none;
}
/*#map-container {
  display: none;
}
/*#map { height: 300; width: 340; }


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
/* Footer Background and Text */
.site-footer {
  background-color: #0c3224;
  padding-bottom: 0px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-logo {
  max-width: 180px;
  margin-right: 4px;
  height: auto;
  margin-left: 43px;
}
iframe {
  pointer-events: none !important;
}
iframe::-webkit-scrollbar {
  display: none !important;
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
/* Social Icons */
.social-icon2 {
  padding-left: 3px;
  margin-left: 215px !important;
  list-style: none;
  margin-bottom: auto;
}


.social-icon2 li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon2 a {
  font-size: 20px;
  color: #fff;
  padding-right: 5px;
}

.social-icon2 a:hover {
  color: #f8b400; /* Change to desired hover color */
}
.social-icon3 {
  padding-left: 3px;
  margin-left: 105px;
  list-style: none;
  margin-bottom: auto;
}


.social-icon3 li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon3 a {
  font-size: 20px;
  color: #fff;
  padding-right: 5px;
}

.social-icon3 a:hover {
  color: #f8b400; /* Change to desired hover color */
}



 .logo-wrapper {
 /*background-color: white; /* White background for the logo */
  padding: 10px; /* Padding around the logo */
  border-radius: 8px; /* Rounded corners (optional) */
  display: flex; /* Flexbox to center the logo */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically*/
  width: fit-content; /* Fit the container around the logo */
  margin-left: 50px;
  margin-top: 33px;
}
.footer-logo {
  max-width: 128px; /* Adjust the size of the logo */
  height: auto;
}
#scrollToTop {
  display: none; /* Hide by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 1000;
  cursor: pointer;
  background: transparent; /* Remove background color */
  padding: 0;
}

#scrollToTop img {
  width: 100%; /* Ensure the image fills the button */
  height: 100%;
  border-radius: 50%; /* Make the image circular like the button */
}
/*---------------------------------------
            
-----------------------------------------*/

.opening-hours-list li .underline {
  background-color: rgba(255, 255, 255, 0.75);
  width: 35%;
  height: 1px;
  margin: auto 15px 0 15px;
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .projects-thumb-large {
    min-height: 416px;
  }
}

@media screen and (max-width: 1280px) {
  .contact svg {
    bottom: 0;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .custom-btn {
    font-size: var(--copyright-text-font-size);
    padding: 8px 16px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0;
  }

  .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-header {
    background: var(--primary-color);
    
  }

  .carousel-caption {
    width: 100%;
  }

  .about-thumb {
    padding: 30px;
  }

  .about-image {
    height: auto;
    margin-bottom: 24px;
  }

  .contact-container-wrap {
    padding-bottom: 50px;
  }

  .contact-form {
    margin-right: 0;
    margin-top: 80px;
    margin-bottom: 50px;
  }

  .contact-thumb {
    bottom: 0;
    margin-bottom: 0;
  }

}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  .contact-icon {
    font-size: 24px;
  }

  .site-header p {
    font-size: 14px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    bottom: 20px;
  }


  .nav-tabs .nav-link {
    margin-right: 0;
    margin-left: 0;
    padding: 15px;
  }

  .contact-info {
    padding: 30px 25px;
  }

   


}
@media screen and (max-width: 768px) {
  body {
      font-size: 14px;
  }
}
/* Responsive footer */
@media (max-width: 768px) {
  .logo-wrapper {
    margin: -22px 3px;
    margin-bottom: 20px;
    background-color: #ffffff00;
  }

  .site-footer .row {

      text-align: left !important;
  }
  .social-icon3 {
    padding-left: 1px;
    margin-left: 6px;
    list-style: none;
    margin-bottom: auto;
}
  }

  .site-footer .col-lg-3 {
    margin-bottom: 20px; /* Add spacing between sections */
  }

  .footer-logo {
    max-width: 100px; /* Adjust the size for smaller screens */
    margin: 0 auto; /* Center the logo */
  }

  .social-icon2 li {
    margin-right: 5px; /* Reduce spacing between social icons */
  }




@media (max-width: 576px) {
  .site-footer {
    padding: 15px 5px; /* Further reduce padding for very small screens */
  }

  .footer-logo {
    max-width: 80px; /* Further scale down the logo size */
  }

  .social-icon2 a {
    font-size: 16px; /* Smaller icon size for compact view */
  }

  .google-map {
    height: 150px; /* Adjust map height for very small screens */
  }
}

/*---------------------------------------
  404 page               
-----------------------------------------*/
/* General Styles */
.error-404 {
  text-align: center;
  padding: 50px;
}

.error-404 .page-title {
  font-size: 13em;
  color: #6c757d;
}
.error1-404 {
  text-align: center;
  padding: 50px;
  
}

.error1-404 .page-title {
  font-size: 13em;
  color: #6c757d;
}



/* Media Queries for Mobile and Tablets */

/* For tablets and smaller devices (max-width: 768px) */
@media screen and (max-width: 768px) {
  .error-404 {
      padding: 30px; /* Reduce padding for smaller screens */
  }

  .error-404 .page-title {
      font-size: 1.5em; /* Smaller title on mobile */
  }

  .error-404 .search-form input[type="text"] {
      width: 200px; /* Adjust input width for smaller screens */
  }

  .error-404 ul li {
      margin: 8px 0; /* Reduce margin for smaller screens */
  }
}

/* For smaller mobile devices (max-width: 480px) */
@media screen and (max-width: 480px) {
  .error-404 .page-title {
      font-size: 1.2em; /* Further reduce title size */
  }

  .error-404 .search-form input[type="text"] {
      width: 100%; /* Make input field full width on very small screens */
  }

  .error-404 ul li a {
      font-size: 14px; /* Adjust font size for links */
  }
}
