.navbar {
  height: 70px;
  padding: 0; }
  @media (max-width: 991.98px) {
    .navbar {
      height: 60px; } }

.navbar-spacer {
  height: 70px; }
  @media (max-width: 991.98px) {
    .navbar-spacer {
      height: 60px; } }

.navbar-logo {
  height: 70px;
  width: auto; }
  @media (max-width: 991.98px) {
    .navbar-logo {
      height: 50px; } }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    padding: 1rem;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    border-top: 1px solid #dee2e6; } }

.nav-link {
  position: relative;
  transition: color 0.3s ease; }
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #008000;
    transition: all 0.3s ease;
    transform: translateX(-50%); }
  .nav-link:hover {
    color: #008000 !important; }
    .nav-link:hover::after {
      width: 100%; }
  .nav-link.active {
    color: #ff0000 !important;
    font-weight: bold; }
    .nav-link.active::after {
      width: 100%;
      background-color: #ff0000; }

/* Menu highlight effects */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link.current-page {
    color: #dc3545 !important; /* Red color for current page */
    font-weight: 500;
}

.nav-link:hover:not(.current-page) {
    color: #28a745 !important; /* Green color on hover */
}

footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 3rem; }

.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0; }




 
        #scrollToTopBtn {
          position: fixed;
          bottom: 20px;
          right: 20px;
          display: none;
          width: 40px;
          height: 40px;
          background-color: rgba(220, 53, 69, 0.8);
          color: white;
          border: none;
          border-radius: 5px;
          cursor: pointer;
          z-index: 1000;
          font-size: 24px;
          line-height: 1;
          transition: all 0.3s ease;
          box-shadow: 0 2px 5px rgba(0,0,0,0.2);
          display: flex;
          align-items: center;
          justify-content: center;
      }
      
      #scrollToTopBtn:hover {
          background-color: rgba(220, 53, 69, 1);
          transform: translateY(-2px);
          box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      }

      @media (max-width: 991.98px) {
        .navbar-collapse {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            padding: 1rem;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            min-width: 200px;
            max-width: 100vw;
        }

        .navbar-nav {
            width: auto;
            white-space: nowrap;
        }

        .nav-item {
            padding: 0.5rem 1rem;
        }

        .nav-link {
            display: block;
            padding: 0.5rem 0;
        }
      }

      /* Notre Metier Page Styles */
      .content-box {
        background-color: #f8f9fa;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }

      .content-box ul li {
        position: relative;
        padding-left: 20px;
      }

      .content-box ul li:before {
        content: "•";
        position: absolute;
        left: 0;
        color: #dc3545;
      }

      .partners-logo {
        padding: 2rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }

      @media (max-width: 768px) {
        .partners-logo {
          margin-top: 2rem;
        }
      }

      /* Nos Services Page Styles */
      .main-content h1 {
        color: #155c2a;
        font-weight: 500;
        margin-bottom: 1.5rem;
      }
      .main-content h2 {
        color: #155c2a;
        font-weight: 400;
        margin-bottom: 1.5rem;
      }

      .main-content h3 {
        color: #666;
        font-weight: 400;
      }

      .main-content .text-danger {
        color: #dc3545 !important;
      }

      .main-content ul li {
        margin-bottom: 0.5rem;
        color: #666;
      }

      .main-content ul li strong {
        color: #333;
      }

      .btn-danger {
        background-color: #dc3545;
        border-color: #dc3545;
        padding: 0.5rem 1.5rem;
      }

      .btn-danger:hover {
        background-color: #c82333;
        border-color: #bd2130;
      }

      .list-unstyled li {
        padding-left: 1.5rem;
        position: relative;
      }

      .list-unstyled li:before {
        content: "•";
        position: absolute;
        left: 0;
        color: #dc3545;
      }

      /* Service Boxes Styles */
      .service-title {
        color: #2c5234;
        font-size: 1.8rem;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 2rem;
      }

      .section-title {
        color: #2c5234;
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 2rem;
      }

      .service-box2 {
        height: 300px;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        cursor: pointer;
      }
	  
	  .service-box {
        height: 300px;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        background-size: cover;
        background-position: center;
		cursor: default;
      }


      .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44, 82, 52, 0.7);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transition: all 0.3s ease;
      }

      .service-overlay h3 {
        color: white;
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
      }

      .service-details {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        color: white;
        text-align: center;
        font-size: 1rem;
      }

      .service-box:hover .service-overlay {
        background: rgba(44, 82, 52, 0.9);
      }

      .service-box:hover .service-details {
        opacity: 1;
        transform: translateY(0);
      }

      .feature-box {
        padding: 2rem;
        background: #f8f9fa;
        border-radius: 8px;
        height: 100%;
      }

      .feature-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 1.5rem;
      }

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

      .feature-box h3 {
        color: #2c5234;
        font-size: 1.3rem;
        margin-bottom: 1rem;
        line-height: 1.4;
      }

      .feature-box p {
        color: #666;
        margin-bottom: 1rem;
      }

      .feature-arrow {
        margin-top: 1.5rem;
      }

      .feature-arrow img {
        width: 30px;
        height: auto;
      }

      .conclusion-text {
        color: #2c5234;
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
      }

      @media (max-width: 768px) {
        .service-box {
          height: 250px;
        }
        
        .service-overlay h3 {
          font-size: 1.3rem;
        }
        
        .service-details {
          font-size: 0.9rem;
        }
      }

      /* Hero Section Image Control */
      .hero-section {
        width: 100%;
        background-color: #f8f9fa;
        overflow: hidden;
        position: relative;

        align-items: center;
        justify-content: center;
        max-height: 45vh;
		min-height:178px;
      }
	  
	  


        .hero-section video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }
        .hero-section .content {
            position: relative;
            z-index: 1;
        }
		
      
      .hero-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
      
      /* Footer phone link styles */
      .footer-contact {
        margin: 1rem 0;
      }

      .show-phone {
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        transition: all 0.3s ease;
      }

      .show-phone:hover {
        color: #f8f9fa;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.1);
      }

      .me-2 {
        margin-right: 0.5rem;
      }

      /* Client Tabs Styling */
      .nav-tabs .nav-link.client-tab {
        color: #495057;
        background-color: transparent;
        border: 1px solid transparent;
        margin-right: 2px;
        transition: all 0.3s ease;
      }

      .nav-tabs .nav-link.client-tab:hover {
        color: #28a745;
        border-color: #e9ecef #e9ecef #dee2e6;
      }

      .nav-tabs .nav-link.client-tab.active {
        color: #dc3545;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
      }

      /* Feature Box Styling */
      .feature-box {
        background-color: #f8f9fa;
        border-radius: 8px;
        transition: all 0.3s ease;
      }

      .feature-box:hover {
        background-color: #e9ecef;
        transform: translateY(-5px);
      }

      /* Vision Section Styles */
      .vision-item {
        margin-bottom: 2rem;
      }

      .icon-circle {
        width: 80px;
        height: 80px;
        background-color: #bad1bb;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        transition: all 0.3s ease;
      }

      .icon-circle:hover {
        transform: translateY(-5px);
        background-color: #28a745;
      }

      .icon-circle:hover i {
        color: white !important;
      }

      .vision-item h3 {
        font-size: 1.2rem;
        margin-top: 1rem;
      }

      /* Scroll Button Styles */
      .scroll-button {
        display: none;
        position: fixed;
        right: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #28a745;
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      }

      .scroll-button:hover {
        background-color: #218838;
        transform: translateY(-2px);
      }

      #scroll-to-top {
        bottom: 80px;
      }

      #scroll-to-bottom {
        bottom: 20px;
      }

      .scroll-button i {
        line-height: 40px;
      }

      /* Expandable Content Styles */
      .expandable-content {
        margin-top: 1rem;
      }

      .expand-btn {
        background: none;
        border: none;
        color: #28a745;
        cursor: pointer;
        padding: 0.5rem;
        transition: all 0.3s ease;
      }

      .expand-btn:hover {
        transform: translateY(-2px);
      }

      .expand-btn i {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
      }

      .expand-btn[aria-expanded="true"] i {
        transform: rotate(180deg);
      }

      .content {
        margin-top: 1rem;
        padding: 1rem;
        background-color: #f8f9fa;
        border-radius: 0.5rem;
      }

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
      }