html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "manrope", sans-serif;
  }

  html {
    font-size: 62.5%;
    scroll-behavior: smooth;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  #accueil{
    body {
        background: url('/img/smaller-blue2.png') no-repeat center center fixed;
        background-size: cover;
      }
  }

  #services {
      background: url('/img/services-blue2.png') no-repeat center center fixed;
      background-size: cover;
  
  }

h1,h2,h3,h4,h5,h6{
  margin: 0;
}

/* ---------------------------------------------------------------------
   Accessibility enhancements
   These styles ensure keyboard and screen reader users can navigate
   efficiently and that links are visually distinguishable without
   relying solely on color.
-----------------------------------------------------------------------*/
/* Skip link: visually hidden until focused */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #ffffff;
  color: #000;
  padding: 0.8rem 1.6rem;
  font-size: 1.6rem;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0;
}

/* Underline all links to distinguish them from surrounding text */
a {
  text-decoration: underline;
}

/* Remove underlines on navigation and button-style links */
.nav-links a,
.mobile-nav li a,
.footer-nav ul li a,
.button-primary,
.button-secondary,
.cta-button {
  text-decoration: none;
}

/* Always underline legal links in footer bottom for clarity */
/* Always underline and slightly bold legal links in the footer bottom for clarity */
.footer-bottom a {
  text-decoration: underline;
}

/* Provide additional emphasis (bold) for legal links to ensure they are distinguishable without relying on color */
.legal-link {
  font-weight: 600;
}


  /* Sticky Header */
  .site-header {

    background: #020a2665; /* Semi-transparent */
    /* backdrop-filter: blur(4.199999809265137px); Optional: Glassmorphism effect */
    
    z-index: 1000; /* Ensures it stays above other elements */
    transition: background 0.3s ease; /* Smooth transition effect */
    display: flex;
  }
  
/* Basic Styling */
nav.primary-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 19rem;
    width: 100%;
  }

  .primary-nav img{
    max-width: 6.6rem;
  }


  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links li {
    display: inline;
  }
  
  .nav-links a {
    font-family: "manrope", sans-serif;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.7rem;
    font-weight: 500;
    padding: 1rem .5rem;
    opacity: 1;
    transition: .3s;
    letter-spacing: .06rem;
    border-bottom:  .15rem solid #fff7b000;
  }
  .nav-links a:hover{
    opacity: 1;
    transition: .3s;
     color: #fff7b0;
     border-bottom:  .15rem solid #fff7b0;
  }

   a.active-nav{
    border-bottom: .15rem solid #FFF;
  }


  /* Mobile Navigation - Hidden by Default */
  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-nav a {
    display: block;
    padding: 10px;
  }
  .mobile-nav {
    display: none;
    position: fixed;        /* Fixed so it covers entire screen */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;          /* Full screen */
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    flex-direction: column; /* So items stack vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .mobile-nav.open {
    display: flex;          /* Show when toggled */
  }
  
  .mobile-nav li {
    margin: 1rem 0;
  }







  /* Hide Desktop Menu on Mobile */
  .menu-toggle {
    display: none;
    color: #ffffff;
    z-index: 9999;
  }

  
  
  .mobile-nav.open {
    display: block; /* Show when toggled */
  }





  .mobile-nav {
    /* Hidden by default */
    display: none;
  
    /* Full-screen overlay */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;  
    height: 100vh; 
    z-index: 9998;
  
    /* Appearance */
    background-color: rgba(25, 23, 44, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  /* Show when .open is applied */
  .mobile-nav.open {
    display: flex;
  }
  
  /* Basic styling for menu items */
  .mobile-nav li {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  .mobile-nav li a{
    color: hsla(0, 0%, 100%, 0.85);
    font-size: 3.2rem;
    text-decoration: none;
    transition: .3s;
  }

  .mobile-nav li a:active{
    text-decoration: none;
  }

  .mobile-nav li a:hover{
    color: hsla(0, 0%, 100%, 1);
    transition: .3s;
  }

  .mobile-nav li a:focus{
    color: rgb(255, 179, 65);
    transition: .3s;
  }
  
  /* Style the toggle button */
  .menu-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    /* Add any padding/margins you like */
  }









  
  /* Hero Section */
  .hero, .services-hero {
    height: 95vh; /* Full viewport height */
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: left;
    padding-top: 6rem; /* Prevent content from being covered by header */
    font-family: "manrope", sans-serif;
    }

  .services-hero{
    text-align: center;
    flex-direction: column;
  }

    .hero::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: url('/img/smaller-blue.png') center/cover no-repeat;
        z-index: -2;
      }

      .hero-main{
        padding: 0rem 20rem;
        display: flex;
        flex-direction: row;
        align-items: center ;
        justify-content: space-between;
      }

      .hero-text{
        display: flex;
        flex-direction: column;
        font-family: "manrope", sans-serif;
        max-width: 55%;
        gap:4rem;
      }

      .hero-text h1{
        font-size: 13.5rem;
        line-height: 12.5rem;
        margin: 0;
        font-family: "kanit", sans-serif;
        letter-spacing: .1rem;
      }

      .hero-text p{
        font-size: 2.4rem;
        font-weight: 400;
        letter-spacing: .25rem;
        margin: 0;
        /* max-width: 80%; */
        line-height: 3rem;
      }

      /* HERO CONTACT FORM *//* HERO CONTACT FORM *//* HERO CONTACT FORM */
      .hero-form-label {
        display: block;
        margin: 2rem 0 1rem .2rem;
        font-size: 1.6rem;
    }

      form.hero-form{
        width: 35%;
      }

      .hero-form-input{
        font-family: "manrope" , sans-serif;
      }

    

    .hero-form-button {
        margin-top: 2.2rem;
        padding: 1.2rem;
        font-size: 1.6rem;
        cursor: pointer;
        background-color: #FFC23D;
        color: #0C3173;
        font-weight: 700;
        border: none;
        border-radius: 5px;
        transition: .4s;
        position: relative;
        overflow: hidden; /* Ensure the pseudo-element doesn't spill outside */
        transition: background-color 0.4s;
        font-family: "kanit", sans-serif;
        letter-spacing: 0.12rem;
        font-size: 2rem;
        
    }

    .hero-form-button::after {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
      transform: skewX(-25deg);
  }
    

    /* On hover, trigger the animation */
.hero-form-button:hover::after {
  animation: shine 0.75s;
}

@keyframes shine {
  0% {
      left: -100%;
  }
  100% {
      left: 100%;
  }
}

    .hero-form-input {
      width: 100%;
      padding: 1rem;
      font-size: 1.6rem;
      border: 1px solid #d4d4d4;
      border-radius: .5rem;
      outline: none;
      background-color: #ffffffd6;
      height: 4.6rem;
  }

  .large-input{
    height: 8rem;
  }
  
  .hero-form-input:focus {
      border-color: #ffffff; /* Change border color when focused */
  }


  .product-overview{
    background: #F8FBFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12rem 20rem;
    gap: 4rem;
  }

  .features{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-around;
    gap: 2rem;
    width: 100%;
  }

  .feature{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-around;
    gap: 2rem;
    flex: 1;
  }

  .feature img{
    max-width: 9rem;
  }

  /* Apply styling to any element with the .feature-title class rather than a specific heading level */
  .feature-title{
    font-size: 1.6rem;
    font-weight: 600;
    color: #0C3173;
    text-transform: uppercase;
    text-align: center;
  }

  .dashed-line{
    align-self: center;
  }

  .dashed-line img{
    max-width: 7.2rem;
  }


  img.swiss-bubble{
    max-width: 80%;
  }

  img.swiss-bubble2{
    display: none;
  }

  .product-description{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 70%;
    color: #0C3173;
    gap: 2.5rem;
  }
  
  .product-description h1{
    font-size: 4.8rem;
    text-align: center;
  }

  .product-description p{
    font-size: 1.7rem;
    text-align: center;
  }

  .buttons-holder{
    display: flex;
    max-width: 50%;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    gap: 2rem; /* Adds spacing between buttons */
    text-decoration: none;
  }

  .button-primary, 
.button-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 3.2rem; /* Adds padding to make buttons bigger */
    font-family: sans-serif; /* Adjust according to your design */
    border-radius: .5rem;
    font-weight: 700;
    text-transform: uppercase; /* Matches the uppercase style */
    text-decoration: none;
    transition: .4s;
        position: relative;
        overflow: hidden; /* Ensure the pseudo-element doesn't spill outside */
        transition: background-color 0.4s;
}

.button-primary {
  color: #FFC23D;
  background: #0C3173;
  border: none;
  flex: 1;
  white-space: nowrap; /* Ensures text stays in one line */
}

.button-secondary {
  color: #0C3173;
  background: #ffffff;
  border: 0.2rem solid #0C3173;
  flex: 1;
  white-space: nowrap; /* Ensures text stays in one line */
}

.button-primary::after, .button-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
}

/* Blueish-grey shine effect for the secondary button */
.button-secondary::after {
  background: linear-gradient(120deg, rgba(142, 212, 255, 0.027) 9.22%, rgba(99, 198, 255, 0.196) 47.91%, rgba(147, 214, 255, 0.032) 94.24%);
}


/* On hover, trigger the animation */
.button-primary:hover::after, .button-secondary:hover::after {
animation: shine 0.75s;
}


.reviews-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 6rem;
  text-align: center;
  background-color: #fff;
}
.product-overview h2,
h2.reviews-title {
  color:#0C3173;
  font-size: 4.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.product-overview h2{
  margin-bottom: 4rem;
}

p.reviews-subtitle {
  font-size: 1.7rem;
  color:#1f365e;
  margin-bottom: 2rem;
  
}



/* --- Carousel Container --- */
.reviews-carousel-container {
  min-height: 52rem;
  margin: 4rem 6rem;
  padding: 2rem 0;
  position: relative; /* If you want absolutely-positioned arrows */
  overflow: hidden; /* hide cards outside the frame */
}

.reviews-carousel-inner{
  display: flex;
  width: 110rem;
  align-items: stretch;
  justify-content: center;
 
  min-height: 52rem;
  margin: 4rem 6rem;
  padding: 2rem 0;
  position: relative; /* If you want absolutely-positioned arrows */
  overflow: hidden; /* hide cards outside the frame */
  transition: transform 0.5s ease;
}

 /* Arrows */
 .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #999;
  width: 4rem;
  height: 4rem;
  line-height: 3.8rem;
  text-align: center;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}
.arrow:hover {
  color: #585858;
}
.arrow-left {
  left: 1rem; /* adjust as needed */
}
.arrow-right {
  right: 1rem; /* adjust as needed */
}

/* --- Review Cards --- */
.review-card {
  background-color: #fff;
  border-radius: 1rem;
  width: 30rem;
  min-height: 32rem;
  padding: 3rem 2rem;
  box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.15);
  flex-shrink: 0; /* Prevent cards from shrinking in the flex container */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;   /* don't shrink below 300px */
}

.review-photo img {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

h3.review-name {
  margin: 0.5rem 0;
  font-weight: bold;
  font-size: 2rem;
  color: #4079dc;
}

p.review-text {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: #333;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  line-height: 2.8rem; /* 182.353% */
  letter-spacing: 0.1rem;
  text-align: left;
}

.review-stars span {
  font-size: 2.4rem;
  color: #ffd500; /* star color */
  margin-right: 2px;
}


/* Services Hero */
.services-hero-container{
  max-width: 70%;
  display: flex;
  flex-direction: column;
}
.services-hero-text{
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.services-hero-text h1,
.services-hero-text h2{
  font-size: 6.4rem;
  line-height: 8rem;
}

  /* Style the secondary text in the services hero (e.g., paragraph) */
  .services-hero-secondary{
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2.6rem;
    padding: 0 6rem;
    letter-spacing: .1.5rem;
  }



/* Services Section */
.services-section {
  color: #222222;
  width: 100%;
  margin: 0 auto;
  padding: 8rem 10rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.services-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3.services-heading{
  font-size: 4.8rem;
  color:#0C3173;
}

/* Container: left menu + right content */
.services-container {
  display: flex;
  gap: 2rem;
  justify-content: space-around;
}

/* Left Menu / Submenu */
.services-menu {
  flex: 1 0 0; /* fixed width or % for the menu */
  /* border-right: 1px solid #ddd; */
  max-width: 20%;
  font-size: 1.7rem;
}

.services-menu h3{
  color: #939393;
}


.services-menu ul {
  list-style: none;
  padding: 0;
  color: #222222;
}

.services-menu li {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  letter-spacing: .08rem;
}

.service-tab {
  padding: 1rem;
  cursor: pointer;
  /* border-bottom: 1px solid #eee; */
  transition: background-color 0.2s;
}
.service-tab:hover {
  background-color: #f2f4fb;
}
.service-tab.active {
  background-color: #e6f4ff; /* highlight the active tab */
  font-weight: bold;
  color:#041d49;
}

/* Right Content */
.services-content {
  flex: 1; /* take remaining space */
  position: relative;
}

/* Service Panel */
.service-panel {
  /* only one panel is shown at a time, so stack them */
  padding: 1rem;
  display:flex ;
  flex-direction: column;
  border-radius: 2.7rem;
  border: 1.5px solid #ECECEC;
  padding: 8rem 4rem;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  max-width: 100%;
}

.panel-log-title{
  display: flex;
  align-items: center;
  gap: 2rem;
}

.service-panel-left{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40%;
  text-align: center;
  gap: 2rem;
}

.service-panel-whole{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;
}


.hidden {
  display: none;
}

/* Icon / Image */

.service-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Titles, text, etc. */
h3.service-title {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}
p.service-description {
  font-size:1.8rem;
  margin: 0;
  line-height: 1.7;
  letter-spacing: .08rem;
}
.service-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.service-coverage ul li {
  position: relative;
  padding-left: 3rem; /* Space for the icon */
  line-height: 2;
  font-size: 1.7rem;
  letter-spacing: .08rem;
}

ul.prise-en-charge{
  /* Remove default bullets and margin */
  list-style: none;
  padding-left: 0; /* Removes left padding */
  margin-left: 0;  /* Removes left margin */
}


.service-coverage h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}
.service-coverage li{
  margin-left: 0.5rem;
  line-height: 1.4;
  font-size: 1.7rem;
}

.service-coverage ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;  /* Adjust icon size */
  height: 1.8rem; /* Adjust icon size */
  background-image: url('/img/check-mark.png'); /* Use your correct image path */
  background-size: contain;
  background-repeat: no-repeat;
}

/* CTA Button */
.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: #0C3173;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 3.2rem; /* Adds padding to make buttons bigger */
  font-family: sans-serif; /* Adjust according to your design */
  border-radius: .5rem;
  font-weight: 600;
  text-transform: uppercase; /* Matches the uppercase style */
  text-decoration: none;
  transition: .4s;
  position: relative;
  overflow: hidden; /* Ensure the pseudo-element doesn't spill outside */
  transition: background-color 0.4s;
  letter-spacing: .1rem;
  font-size: 1.6rem;
}

/* On hover, trigger the animation */
.cta-button:hover::after {
  animation: shine 0.75s;
  }
  

.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
}

/* Legal Information Section */
  .legal-header{
    background-color: #041d49;
  }


.legal-info{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  padding: 12rem 24rem 16rem 24rem;
  gap: 6rem;
}

.legal-info h2{
  font-size: 3.8rem;
  color: #132442;
}

.legal-text-block{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: left;
}

.legal-text-block h4{
  font-size: 2.4rem;
  font-weight: 600;
  color: #132442;
  margin: 0;
  padding-bottom: 1.4rem;
}

.legal-text-block p{
  font-size: 1.4rem;
  letter-spacing: .15rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.secondary-legal-block{
  padding: 0rem 0 4.5rem 4rem;
}

.secondary-legal-block h6{
  font-size: 1.7rem;
  letter-spacing: .15rem;
  color: #132442;
  font-weight: 600;
  margin: 0;
  padding-bottom: .6rem;
}

.secondary-legal-block ul{
  padding: .8rem 0 0 1.4rem;
  margin: 0;
}

div.secondary-block-one{
  padding-top: 4.5rem;
}

.secondary-legal-block ul li{
  font-size: 1.5rem;
  letter-spacing: .1rem;
  color: #232323;
  font-weight: 400;
  margin: 0;
  padding-bottom: .6rem;
}


/* Footer styles */
.footer {
  background-color: #132442; /* Dark blue background */
  color: white;
  padding: 2rem 0;
  font-family: sans-serif;
  width: 100%;
}

.footer-elements {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 4rem 19rem;
}

.footer-upper{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer-upper-left{
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  
}

.logo-title{
  display: flex;
  align-items: center; /* Prevents children from stretching */
  gap: 1.4rem; /* Optional: Adds space between the logo and title */
}

.logo-title img {
  width: 10rem;  /* Ensures the logo doesn't exceed this size */
  height: auto;        /* Maintains the correct aspect ratio */
  display: block;      /* Removes extra spacing issues */
}

/* Apply styling to any element with the footer-logo-title class */
.footer-logo-title{
  font-family: "kanit", sans-serif;
  font-size: 3.8rem;
  line-height: 3.4rem;
  color: #FFF;
}


/* Logo & tagline */
.footer-upper-left h6 {
  font-size: 1.7rem;
  font-weight: 400;
  font-family: "kanit", sans-serif;
  color: #ffffffeb;
  margin: 0;
  padding: 0 .4rem;
  display: flex;
  
}


/* Navigation */
.footer-nav{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
}

/* Style the heading within the footer navigation regardless of the heading level */
.footer-nav h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: white;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex: 0;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a {
  text-decoration: none;
  font-size: 1.7rem;
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s;
  padding: 1.2rem 2.4rem;
  text-align: right;
}

.footer-nav ul li a:last-child {
  padding-right: 0;
}


.footer-nav ul li a:hover {
  opacity: 1;
}

/* Footer bottom */
.footer-bottom {
  text-align: right;
  font-size: 1.4rem;
  opacity: 0.8;
  width: 100%;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.4rem;
  align-self: flex-end;
}

.footer-bottom a, .footer-bottom p {
  color: white;
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-bottom a:hover {
  opacity: 1;
  color: white;
}

.footer-bottom a:active {
  opacity: 1;
  color: white;
}


  
 /* Responsive Media Query */
 @media (max-width: 1400px){

  h1.hero-title{
    font-size: 11.5rem;
    line-height: 10.5rem;
  }

  p.hero-secondary{
    font-size: 2.4rem;
    max-width: 100%;
  }

  .product-overview{
    padding: 12rem 12rem;
  }

  .reviews-section{
    padding: 6rem 2rem
  }

  .reviews-carousel-container{
    margin:0;
  }

  .services-section{
    padding: 6rem;
  }


  .footer-elements{
    padding: 4rem 12rem;
  }

} 
 

 /* Responsive Media Query */
 @media (max-width: 1250px){
  p.hero-secondary{
    max-width: 80%;
  }

  nav.primary-nav{
    padding: 1.4rem 11rem;
  }

  .hero-main{
    padding: 0 12rem
  }

  .product-overview{
    padding: 8rem 8rem;
  } 

  .features{
    gap: .5rem
  }

  .feature img{
    max-width: 6.5rem;
  }

  .dashed-line img{
    max-width: 5rem;
  }

  .buttons-holder{
    max-width: 70%;
  }


  .reviews-carousel-inner{
    width: 42rem;
  }


  .services-section{
    padding: 4rem;
  }

  .services-container{
    gap: 6rem;
  }

  nav.services-menu{
    max-width: 15%;
  }

  .services-menu h3,
  .services-menu ul li{
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .service-panel-whole p,
  .service-panel-whole ul li{
    font-size: 1.6rem;
  }


  .service-coverage{
    max-width: 50%;
  }

  .footer-elements{
    padding: 4rem 10rem;
  }

} 





/* Responsive Media Query */
@media (max-width: 1050px){
  nav.primary-nav{
    padding: 1.4rem 5rem;
  }

  .hero-main{
    padding: 0 6rem
  }

  .hero-text h1{
    font-size: 8.6rem;
  }

  form.hero-form{
    width: 45%;
  }



  .product-overview{
    padding: 6rem 4rem;
  } 

  h2.reviews-title,
  .product-description h1,
  .product-overview h2{
    font-size: 3.8rem;
  } 

  .features{
    gap: .5rem
  }

  .feature img{
    max-width: 6.5rem;
  }

  .dashed-line img{
    max-width: 5rem;
  }

  .features .feature-title{
    font-size: 1.4rem;
  }

  .reviews-carousel-container{
    max-width: 100rem;
  }

  .reviews-carousel-inner{
    width: 42rem;
  }

  .services-hero{
    justify-content: start;
    height: 60vh;
  }

  .services-hero-container{
    max-width: 90%;
    padding-top: 10rem;
    gap: 4rem;
  }
    
  .services-content{
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }


  .services-hero-text h1,
  .services-hero-text h2{
    font-size: 4.8rem;
    line-height: 5.6rem;
  }

  nav.services-menu{
    display: none;
  }

  #service-auto,
  #service-maladie,
  #service-vie,
  #service-fiscale,
  #service-patrimoine{
    display: flex;
  }

  .legal-info{
    padding: 8rem 12rem;
  }

  .footer-elements{
    padding: 4rem 8rem;
  }
}

@media (max-width: 950px){
  nav.primary-nav{
    padding: 1.4rem 3rem;
  }

  .hero-main{
    padding: 0 4rem
  }

  .hero-text h1{
    font-size: 6.8rem;
    line-height: 6.2rem;
  }


  .buttons-holder{
    max-width: 80%;
  }

  .reviews-carousel-container{
    max-width: 90rem;
  }

  .reviews-carousel-inner{
    max-width: 35rem;
  }
}



/* Responsive Media Query */
@media (max-width: 860px){
  .product-overview{
    padding: 6rem 2rem;
  } 

  .features{
    gap: 0rem
  }

  .feature img{
    max-width: 6rem;
  }

  .dashed-line img{
    max-width: 3rem;
  }

  .features .feature-title{
    font-size: 1.2rem;
  }


  .footer-elements{
    padding: 4rem 4rem;
  }

  .footer-nav ul{
    flex-wrap: wrap;
  }

}






  /* Responsive Media Query */
  @media (max-width: 768px) {

    #accueil{
          background: url('/img/smaller-blue-mobile.png') no-repeat center center fixed;
          background-size: cover;
        
    }

    #services {
      background: url('/img/services-blue-mobile2.png') no-repeat center center fixed;
      background-size: cover;
  
  }

    .nav-links {
      display: none; /* Hide desktop nav */
    }
    
    .menu-toggle {
      display: block; /* Show mobile menu button */
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
    }

    .hero{
      height: fit-content;
      padding: 0;
    }

    .hero-main{
      flex-direction: column;
      gap: 6rem;
      padding: 6rem 0 12rem 0;
    }

    .hero-text{
      max-width: 80%;
      text-align: center;
      align-items: center;
    }

    .hero-text h1{
      font-size: 10.2rem;
      line-height: 9.6rem;
    }

    form.hero-form{
      width: 80%;
    }
  
  

    .service-panel-whole {
      flex-direction: column;
    }

    .service-panel-left,
    .service-coverage{
      max-width: 100%;
    }

    .services-menu {
      flex: 0 0 auto;
      border-right: none;
      border-bottom: 1px solid #ddd;
    }
    .service-tab {
      border-bottom: 1px solid #ddd;
    }
    .service-details {
      flex-direction: column;
    }

    .buttons-holder{
      max-width: 100%;
    }


    .legal-info{
      padding: 6rem 6rem;
    }
  


    .footer-container {
      flex-direction: column;
      text-align: center;
  }

  .footer-logo h2 {
      justify-content: center;
  }

  .footer-logo-title {
    font-size: 2.4rem;
    line-height: 2rem;
  }

.logo-title img{
  width: 6.4rem
}

/* Apply styling to any element with the .logo-second-title class */
.logo-second-title {
  font-size: 1.4rem;
}

  .footer-nav {
      margin-top: 1rem;
      align-items: center;
  }

  /* Style the footer nav heading regardless of the heading level used */
  .footer-nav h3 {
    padding-bottom: 1.4rem;
    font-size: 1.3rem;
  }

  .footer-nav ul {
      display: flex;
      justify-content: center;
      gap: 1.4rem;
  }

  .footer-nav ul li {
      margin-bottom: 0;
      
  }

  .footer-nav ul li a{
    font-size: 1.2rem;
  }

  
}

@media (max-width: 690px){
  

  .dashed-line img{
    max-width: 3rem;
  }

  .features .feature-title{
    font-size: 1.2rem;
  }

  .services-hero{
    height: 50vh;
  }


  .services-hero-container{
    max-width: 95%;
  }


  .services-section h2,
  .services-section h3,
  .services-hero-text h1,
  .services-hero-text h2{
    font-size: 3.8rem;
    line-height: 4.2rem;
  }

  .services-hero-secondary {
    display: none;
  }

}
  

@media (max-width: 620px){
  .hero-text h1{
    font-size: 8.6rem;
    line-height: 8.2rem;
  }

  button.hero-form-button {
    width: 100%;
  
  }

  .features{
    flex-wrap: wrap;
    gap: 3rem;
  }

  .feature{
    flex: 1;
  }

  .feature .feature-title{
    text-wrap: wrap;
    max-width: 80%;
  }

  .feature img{
    max-width: 8rem;
  }

  .feature{
    padding-bottom: 3rem;
  }

  .dashed-line{
    display: none;
  }

  img.swiss-bubble{
    display: none;
  }

  img.swiss-bubble2{
    display: block;
    max-width: 90%;
  }


  .reviews-carousel-inner{
    width: 38rem;
  }


}

@media (max-width: 500px){
  .hero-text h1{
    font-size: 6.8rem;
    line-height: 6.2rem;
    text-align: left;
  }

  .hero-text p{
    font-size: 1.7rem;
    text-align: left;
    max-width: 100%;
  }

  


  .buttons-holder{
    flex-direction: column;
  }


  .reviews-carousel-inner{
    width: 31rem;
  }

  .panel-log-title img{
    width: 4.6rem;
  }
  .panel-log-title h3{
    font-size: 3.2rem;
  }


  .legal-info{
    padding: 6rem 3rem;
  }

}

@media (max-width: 410px){
  .reviews-section{
    display: none;
  }

  h2.reviews-title,
  .product-description h1,
  .product-overview h2{
    font-size: 3.2rem;
  } 

  .services-section{
    padding: 4rem 2rem
  }

  .services-section h2,
  .services-section h3,
  .services-hero-text h1,
  .services-hero-text h2{
    font-size: 3.2rem;
    line-height: 3.8rem;
  }


  .panel-log-title h3{
    font-size: 2.8rem;
  }

  .service-panel{
    padding: 4rem 2rem;
  }

}

@media (max-width: 380px){
  .hero-text h1{
    font-size: 5.2rem;
    line-height: 4.8rem;
  }
}

@media (max-width: 290px){
  .hero-text h1{
    font-size: 3.8rem;
    line-height: 3.4rem;
  }
}