body {
     &:before {
        content: '';
        background-image: url(../resource/Hero/bandeau1.webp );
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        
        background-position: top;
        width: 100%;
        height: 100%;
        opacity: 0.2;
        z-index: -2;
        filter:blur(5px);
    }
        }
        
        
    .button-img {
        position: absolute;
        bottom: 2em;
        left: 50%;
        transform: translateX(-50%);
    }


iframe {
    border: 0;
}

body {
        
            counter-reset: marker-counter; /* Resets counter to 0 by default */
        }
        
        .map-container {
            position: relative;
                width: 100%;
            height: auto;
            aspect-ratio: 1;
            background-image: url(../resource/map/map.svg);
            background-size: contain;
            background-repeat: no-repeat;
            border: 0px solid #ccc;
            background-color: transparent;
            margin: auto;
            padding: 2em;
            z-index:0;
            
        }
        
        .marker {
          position: absolute;
          width: 0.5em;
          height: 0.5em;
          background-color: red;
          border-radius: 50%;
          transform: translate(-50%, -50%);
          cursor: pointer;
          counter-increment: marker-counter; /* Increment counter for each marker */
          z-index:1;
          
          p {
              filter: invert(1);
              font-weight: 700;
          }
        }
        
        .marker::before {
          content: ''; /* Display the counter number */
          position: absolute;
          color: white; /* Make text visible on red background */
          font-size: 0.6em; /* Adjust size to fit inside the circle */
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          text-align: center;
          line-height: 1;
          z-index:2;
        }
        
        
        
        .marker:hover .tooltip {
            display: block;
        }
        
        .tooltip {
            display: none;
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            padding: 10px;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 100;
            
            p {
              filter: none !important;
          }
        }
        
        .tooltip img {
            width: 100%;
            height: auto;
        }
        
        .tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: white transparent transparent transparent;
        }

.content-top {
    .hero {
		display: none;
}
}


/* Form element styling */
#contactForm {
    display: flex;
    flex-direction: column;
}

#contactForm label {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 95%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 0rem;
    transition: border-color 0.3s;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#contactForm textarea {
    min-height: 120px;
    resize: vertical;
}

/* Button styling */
#form-submit {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#form-submit:hover {
    background-color: #2980b9;
}



.carousel-container {
            width: 100%;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            height:100%;
        }
        
        .carousel-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }
        
        .carousel-slide {
            min-width: 100%;
            box-sizing: border-box;
            height: 100%;
        }
        
        .carousel-slide img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .carousel-nav {
            text-align: center;
            margin-top: 10px;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .carousel-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #bbb;
            margin: 0 5px;
            cursor: pointer;
        }
        
        .carousel-dot.active {
            background-color: var(--lead-surface-2);
        }



.gallery {
      padding: 0px;
    }

    .filter-buttons {
      margin-bottom: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn {
      padding: 10px 20px;
      border: none;
      background-color: #ddd;
      cursor: pointer;
      flex: 1 1 auto;
    }

    .btn.active {
      background-color: #555;
      color: white;
    }

    .image-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    

    

    .image-item {
      flex: 1 1 calc(33.33% - 10px);
      max-width: calc(33.33% - 10px);
      overflow: hidden;
      cursor: pointer;
    }

    .image-item img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.3s ease;
    }

    .image-item img:hover {
      transform: scale(1.1);
    }

    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .popup.active {
      display: flex;
    }

    .popup-img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      color: white;
      font-size: 30px;
      cursor: pointer;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .image-item {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
      }
      .marker {
          
          p {
    font-size: xx-small;
}
        }
    }

    @media (max-width: 480px) {
      .image-item {
        flex: 1 1 100%;
        max-width: 100%;
      }
      
      .button-img {
        position: absolute;
        bottom: -5em;
        left: 50%;
        transform: translateX(-50%);
    }

      .btn {
        flex: 1 1 100%;
      }
      .section-cta {
            gap: 2em;
        }
      .benefits {
          .card {
              border-right: none;
              border-bottom: 1px solid var(--surface4);
          }
      }
      .navbar {
          .menu-mobile {
              span.btn-txt{
                  display:none;
              }
          }
      }
      
      .map-container {
            
            padding: 0em !important;
            
            
        }

    }
    
    .temp {
    position: relative;
    
    &:before {
    content: '';
        background-color: var(--lead-color);
        position: absolute;
        width: 30em;
        height: 30em;
        top: -9em;
        left: -15em;
        border-radius: 100vmax;
        opacity: 0.2;
        z-index: -5;
    }
    }
    

    h1 {
         position:relative;
        &:before {
            content:'';
            background-color: var(--accent-surface-1);
            width: 1em;
            height: 3.6px;
            position: absolute;
            bottom: -0.2em;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 100vmax;
        }
    }
    
    h2 {
         position:relative;
        &:before {
            content:'';
            background-color: var(--brand-color);
            width: 1em;
            height: 3.6px;
            position: absolute;
            bottom: 0;
            left: 0;
            border-radius: 100vmax;
            z-index: 0;
        }
    }
    
    .content-center {
        h2 {
         position:relative;
        &:before {
            content:'';
            background-color: var(--brand-color);
            width: 1em;
            height: 3.6px;
            position: absolute;
            bottom: -0.2em;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 100vmax;
            z-index: 0;
        }
    }
    }
    
    
    
    
    
    .category-sec { 
        /* Category buttons */
        .category-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }

        .category-btn {
            padding: 10px 20px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: #555;
        }

        .category-btn:hover {
            background-color: #f0f0f0;
        }

        .category-btn.active {
            background-color: #4CAF50;
            color: white;
            border-color: #4CAF50;
        }

        /* Cards container */
        .cards-container {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 25px;
            margin-top: 20px;
        }

        /* Individual card */
        .card {
			padding: 1em;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            display: none; /* Hidden by default, shown by JS */
                grid-column: span 3;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card-header {
            padding: 15px 0 0 0;
            border-bottom: 1px solid #eee;
        }

        .card-title {
            margin: 0;
            color: #333;
        }

        .card-body {
            padding: 15px;
        }

        .card-description {
            color: #666;
            margin-bottom: 15px;
            font-size: 14px;
        }

        /* Main card image */
        .card-main-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 5px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .card-main-image:hover {
            transform: scale(1.02);
        }

        /* Image counter */
        .image-counter {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 12px;
        }

        .image-container {
            position: relative;
        }

        /* Image viewer modal */
        .image-viewer {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .image-viewer.active {
            display: flex;
        }

        .viewer-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .main-image {
            max-width: 100%;
            max-height: 80vh;
            display: block;
            margin: 0 auto;
        }

        .thumbnail-container {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            overflow-x: auto;
            padding: 10px 0;
        }

        .thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        .thumbnail:hover, .thumbnail.active {
            opacity: 1;
        }

        .close-btn {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 30px;
            cursor: pointer;
        }

        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 30px;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            user-select: none;
        }

        .prev-btn {
            left: 20px;
        }

        .next-btn {
            right: 20px;
        }

        /* Responsive adjustments */
        @media (max-width: 1225px) {
            .cards-container {
            .cards {
                background-color: red !important;
                grid-column: span 8 ;
            }
            }
            
            .card {
                
                grid-column: span 6 !important ;
            }
            .sm-show {
              display:none;
          }
          .sm-hide {
              display:contents;
          }
        }
        @media (max-width: 575px) {
            .cards-container {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
    }
    
    .hide {
        display: none;
    }
    
      
    
    .sidenav {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    width: 40%;
    height: 100%;
    background-color: white;
    z-index: 999;
    padding: 3em;
    transform: translateX(100%);
    
  
    
    .blk-button {
        top: 2em;
        right: 0em;
        display: block;
        justify-self: end;
    }
}

@media (max-width: 1225px) {
            .sidenav {
                width: 70%;
                height: 100%;
            }
        }

.sidenav.active {
    transform: translateX(0%);
}
    
    /* Style for the language selector */
        #google_translate_element {
           
            background: white;
            padding: 5px;
            border-radius: 4px;
            margin-top: 3em;
        }
        
        /* Hide Google's branding */
        .goog-te-banner-frame {
            display: none !important;
        }
        
        body {
            top: 0 !important;
        }
        
        /* Style the dropdown */
        .goog-te-combo {
            padding: 8px 12px;
            border-radius: 4px;
            border: 1px solid #ddd;
            background-color: #f8f8f8;
            font-size: 14px;
            cursor: pointer;
        }
        
        /* Page content styling */
        .content {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            padding-top: 60px; /* Make space for the selector */
        }
        
        
        
        .skiptranslate {
           .skiptranslate {
             display: none;
        }
        }
        
        .navbar {
            .blk-button {
                font-size: var(--font-size-0) !important;
            }
            
            .menu a {
                text-decoration: none;
                color: var(--text-color-nav);
                font-size: var(--font-size-0);
            }
        }
        
        
        @media (max-width: 1025px) {
            .navbar {
            .blk-button {
                font-size: var(--font-size-02) !important;
            }
        }
        .navbar {
            .menu a {
                text-decoration: none;
                color: var(--text-color);
            }
        }
        }

            .sm {
                     display: none;
             }

         @media (max-width: 1560px) {
             .lg {
                        display: none;
                    }
                    
            .sm {
                     display: block;
             }
    }

    @media (max-width: 525px) {
                    
    }
    

.card-body {
    .blk-button--acc-prime {
        position: absolute;
    bottom: 1em;
    }

}
    