* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  font-size: 1.2rem; 
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}


body {
  background: linear-gradient(
    to bottom,
    white 0%,
    #e0f0ff 50%,
    #afd1f4 100%
  );
  padding-top: 2rem; /* same as navbar height */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

h1 {
  font-size: 2rem;
}

h2, h3 {
  text-align: center;
}

.box {
 padding-top:3rem;
}

.heading {
  margin: 0px 0;
}

.heading_line {
  width: 320px;
  height: 2px;
  background-color: #0077cc;
  border: none;
  margin: 0 0 0.5rem 0; 
}

.heading_line_long {
  width: 13rem;
  height: 0.1rem;
  background-color: #0077cc;
  border: none;
  margin: 0 0 0.5rem 0; 
}

.heading_title {
  margin: 0;
  text-align: center;
}

.heading_title_offerte {
  margin: 0;
  text-align: left;
}

.heading_subtitle {
  font-size: 1rem;
  color: #0077cc;
  margin-top: 0.5rem;
}

.container-row {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.container {
  width:100%;
  margin: 0 auto;       /* Centers the container */
  padding: 0 6rem;       /* Adds horizontal padding */
  padding-top:3rem; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 0;         /* <--- CRITICAL */
  overflow: hidden; 
}

.container_left {
  width:100%;
  margin: 0 auto;       /* Centers the container */
  padding: 0 6rem;       /* Adds horizontal padding */
  padding-top: 3rem; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.centered {
  text-align: center;
}

.nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  padding: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 25px;
  flex-shrink: 1;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  white-space: nowrap;
}

.nav-links li a:hover{
  color: #006aff;  
}

.logo img {
  height: 3rem;  /* Adjust logo size */
  width: auto;
}

/* Mobile Styles */
@media (max-width: 600px) {
  h1 {
  font-size: 1rem;
}

h2,h3 {
  font-size: 0.6rem;
}
.container-row {
    justify-content: space-between;
    max-width: 100%;
    padding: 0 0.1rem; 
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
  }

 .logo img{
    height: 2rem;
    font-size: 0.5rem;
  }

  .nav-links a {
    font-size: 0.6rem;
    padding: 0px 0px;
  }
  .container_left {
    font-size: 0.6rem;
    justify-content: space-between;
    max-width: 100%;
    padding: 0 0.5rem; 
  }
  .container{
    font-size: 0.6rem;
    padding: 0 2rem;       /* Adds horizontal padding */
    padding-top:1rem; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .heading_subtitle {
  font-size: 0.5rem;
  color: #0077cc;
  margin-top: 0rem;
}

.heading_title {
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

.heading_title_offerte {
  margin: 0;
  text-align: left;
}
.heading_line {
  width: 3rem;
  height: 2px;
  background-color: #0077cc;
  border: none;
  margin: 0 0 0.5rem 0; 
}
.centered {
  font-size: 0.6rem;
}
  }

.afb-text-wrap {
  display: flex;
  align-items: center;
  gap: 4rem;  
}

.afb-text-wrap .text{
  flex: 1;
}

.afb-text-wrap .image img{
  max-width: 18rem;
  height: auto;
  display: block;
  border-radius: 0.5rem; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1rem auto;
}

.text-box {
  border: 1px solid #ccc;
  background-color:#ffffff; 
  padding: 0.6rem 1rem;  
  border-radius: 0.5rem;  
  display: inline-block; 
  padding-bottom: 35px;
}
@media (max-width: 768px) {
  .afb-text-wrap {
    display: flex;
    flex-direction: column; /* Stack text & image vertically */
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .afb-text-wrap .image img {
    max-width: 10rem;
    margin-top: 1rem;
  }

  .text-box {
    padding: 1rem;
    font-size: 0.9rem;
  }
}


.slideshow {
  position: relative;
  overflow: hidden;
  margin: auto;
  z-index: 1;
  width: 100%;
  height: 85vh;
}

/* 👇 Two-image layout */
.slide.two-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1vw; /* space between images */
}

.slide.two-images img {
  width: 48%; /* two images side by side */
  height: auto;
  object-fit: contain;
}

/* Optional background for consistency */
.slideshow {
  background-color: #ffffff;
}


@media only screen and (max-width: 768px) {
  .slideshow {
    height: 60vh;
    width:100%;
  }
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;
}

.slide.active {
  opacity: 1;
}

form {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  margin-top: 15px;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1em;
  font-family: inherit;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  margin-top: 20px;
  background-color: #0077cc;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


form button:hover {
  background-color: #005fa3;
}

.whatsapp-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 20px;
  width: 260px;
  display: none;
  animation: fadeIn 0.5s ease;
  z-index: 9999;
}

.popup-content {
  text-align: center;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 0;
  right: 8px;
  cursor: pointer;
  font-size: 20px;
  color: white;
}

.whatsapp-btn {
  display: inline-block;
  background: #128C7E;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #0b6453;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}



