/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: #f1f5f9;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e2a47;
  padding: 20px 40px;
  z-index: 100;
  transition: all 0.3s ease-in-out;
  flex-direction: row;
  padding: 20px;
}

/* Hamburger Menu Positioning */
.hamburger {
  position: absolute;
  top: 20px; /* Distance from the top */
  right: 20px; /* Distance from the right */
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.navbar:hover {
  background-color: #182240;
}

.navbar .logo a {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li {
  margin: 0 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f6a500;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
  }

  .hamburger div {
    width: 25px;
    height: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .cta-button {
    font-size: 1.2rem;
    padding: 12px 25px;
  }
}

/* Hamburger Menu Active */
.nav-links.active {
  display: flex;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 6px;
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -6px;
}

.cta-button {
  background-color: #f6a500;
  color: white;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #f5b40f;
  transform: scale(1.05);
}

/* Hero Section Style */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the video covers the whole section */
  z-index: -1; /* Place the video behind the content */
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#video-hero {
  object-fit: cover; /* Ensures the video covers the screen */
  width: 100%;
  height: 100%;
}

/* Hero Content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the content */
  text-align: center;
  color: white; /* Text color */
  z-index: 1; /* Make sure text is above the video */
  padding: 20px;
  width: 100%;
  max-width: 800px; /* Limit the width of the content */
}

/* Heading */
.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Add text shadow for better visibility */
}

/* Paragraph Text */
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Add text shadow for readability */
}

/* Mobile-friendly Adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Call to Action Button */
.cta-button {
  padding: 10px 20px;
  background-color: #f3a847; /* Button background color */
  color: #fff; /* Button text color */
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #e69536; /* Slightly darker shade on hover */
}

/* General Section Styles */
.section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

h2 {
  font-size: 2.5rem;
  color: #1e2a47;
  margin-bottom: 40px;
}

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(
    135deg,
    rgba(173, 216, 230, 0.6),
    rgba(240, 248, 255, 0.7)
  );
  background-size: 200% 200%;
  animation: backgroundShift 5s ease infinite;
  position: relative;
}

.why-choose-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 calc(25% - 20px);
  transition: transform 0.3s ease;
  z-index: 1;
}

.feature h3 {
  font-size: 1.8rem;
  color: #1e2a47;
  margin-top: 20px;
}

.feature p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-top: 10px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

.feature:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .feature {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .feature {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .feature {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .feature {
    flex: 1 1 100%;
  }
}

/* Background animation */
@keyframes backgroundShift {
  0% {
    background-position: 100% 100%;
  }
  50% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Bouncing Icons */
.background-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none; /* Prevents icons from interfering with clicks */
  z-index: 0; /* Icons are behind the content */
}

.icon {
  position: absolute;
  width: 50px; /* Adjust size of the image */
  height: 50px; /* Adjust size of the image */
  background-size: contain; /* Make sure the image is resized properly */
  background-repeat: no-repeat;
  animation: bounce 5s infinite ease-in-out;
}

/* Individual icon positions with random movements */
.icon:nth-child(1) {
  animation-delay: 0s;
}

.icon:nth-child(2) {
  animation-delay: 1s;
}

.icon:nth-child(3) {
  animation-delay: 2s;
}

.icon:nth-child(4) {
  animation-delay: 3s;
}

.icon:nth-child(5) {
  animation-delay: 4s;
}

/* Bouncing animation */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Bounce height */
  }
}

/* Cleanliness Guarantee Section */
.cleanliness-guarantee {
  background-color: #f6f6f6;
  border-top: 5px solid #f6a500;
  padding: 60px 20px;
}

.cleanliness-guarantee .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.cleanliness-guarantee .icon-container {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cleanliness-guarantee .icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.cleanliness-guarantee .text-content {
  max-width: 600px;
}

.cleanliness-guarantee h2 {
  font-size: 2.5rem;
  color: #f6a500;
  margin-bottom: 20px;
}

.cleanliness-guarantee p {
  color: #333;
}

/* Sustainability Promise Section */
.sustainability {
  background-color: #e0f7fa;
  border-top: 5px solid #1e2a47;
}

.sustainability .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.sustainability .icon-container {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sustainability .icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.sustainability .text-content {
  max-width: 700px;
}

.sustainability h2 {
  font-size: 2.5rem;
  color: #1e2a47;
  margin-bottom: 20px;
}

.sustainability p {
  color: #555;
}
/* Services Section */
.services {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #1e2a47;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; /* No gap between cards */
  justify-items: stretch; /* Stretch the cards to fit the available space */
}

/* Service Card Styling */
.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 25px 20px; /* Reduced padding to make the cards smaller */
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  width: 100%;
  height: 100%; /* Makes the cards stretch fully inside the grid cells */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Service Icon */
.service-icon img {
  width: 70px; /* Reduced icon size */
  height: 70px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* Service Card Title */
.service-card h3 {
  font-size: 1.6rem; /* Reduced heading size */
  margin-bottom: 15px;
  color: #1e2a47;
}

/* Service Card Description */
.service-card p {
  font-size: 1rem; /* Slightly smaller font size for description */
  margin-bottom: 20px;
  color: #555;
  line-height: 1.5;
}

/* Call to Action Button */
.service-card .cta-button {
  padding: 10px 20px; /* Reduced button padding */
  background-color: #f6a500;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card .cta-button:hover {
  background-color: #f5b40f;
  transform: scale(1.05);
}

/* Call to Action Button */
.service-card .cta-button {
  padding: 12px 25px;
  background-color: #f6a500;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-card .cta-button:hover {
  background-color: #f5b40f;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr; /* Stack items on smaller screens */
  }
}

/* Cleanliness Guarantee Section */
.cleanliness {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.cleanliness .section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e2a47;
}

.cleanliness p {
  font-size: 1.2em;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Sustainability Promise Section */
.sustainability {
  background-color: #e9f5e1;
  padding: 60px 20px;
}

.sustainability .section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e2a47;
}

.sustainability p {
  font-size: 1.2em;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Before and After Gallery Section */
#before-after-gallery {
  background-color: #fff;
  padding: 60px 20px;
}

#before-after-gallery h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e2a47;
  text-align: center; /* Center the title */
}

/* Gallery container holding all examples */
.gallery {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  align-items: center; /* Vertically center the gallery items */
}

/* Slider container for each before/after example */
.slider-container {
  position: relative;
  width: 32%; /* 3 items per row */
  height: 400px; /* Adjust height as needed */
  overflow: hidden;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better visual depth */
  transition: transform 0.3s ease;
}

.slider-container:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  user-select: none;
}

/* Before and After Images */
.image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Before Image */
.image.before {
  width: 50%; /* Start with 50% visibility of the 'before' image */
  overflow: hidden;
  z-index: 1;
  transition: width 0.1s ease-out;
}

/* After Image */
.image.after {
  width: 100%; /* Full width of the container */
  z-index: 0; /* Ensure the 'after' image stays in the background */
}

/* Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: ew-resize;
  z-index: 10;
  border-radius: 50%;
  transform: translateX(-50%); /* Ensure it’s perfectly centered */
  transition: background-color 0.3s ease;
  transition: left 0.1s ease-out, background-color 0.3s ease;
}

.slider-handle:hover {
  background-color: rgba(255, 255, 255, 1); /* Slightly darker when hovered */
}

/* Mobile and Tablet Styles */
@media (max-width: 1024px) {
  .slider-container {
    width: 48%; /* 2 items per row on tablets */
  }
}

@media (max-width: 768px) {
  .slider-container {
    width: 48%; /* 2 items per row on smaller devices */
    height: 350px; /* Adjust height for smaller devices */
  }
}

@media (max-width: 480px) {
  .slider-container {
    width: 100%; /* 1 item per row on mobile devices */
    height: 300px; /* Adjust height for mobile */
  }

  .gallery {
    flex-direction: column; /* Stack the gallery items vertically */
    gap: 30px;
  }

  #before-after-gallery h2 {
    font-size: 2rem; /* Reduce font size for mobile */
    margin-bottom: 20px;
  }
}

/* FAQ Section Styling */
.faq-section {
  padding: 50px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  background-color: #00bcd4;
  color: white;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.answer {
  display: none;
  font-size: 1rem;
  margin-top: 10px;
  padding-left: 20px;
}

.faq-item.open .answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg); /* Rotate the plus to a cross */
}
@media (max-width: 768px) {
  .faq-item {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .faq-item {
    padding: 8px;
  }
}
/* Testimonials Section Styling */
.testimonials {
  background-color: #f0f5f9; /* Lichte achtergrondkleur */
  padding: 80px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #333;
}

.testimonial-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 45%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 90%;
    margin-bottom: 20px;
    margin-left: 40px;
  }

  .testimonial-card h3 {
    font-size: 1.4rem;
  }

  .testimonial-card p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 100%;
    margin-bottom: 15px;
  }

  .testimonial-card h3 {
    font-size: 1.3rem;
  }

  .testimonial-card p {
    font-size: 1rem;
  }
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.stars {
  color: #f39c12;
}

.star {
  font-size: 1.4rem;
}

.testimonial-footer span {
  font-weight: bold;
  color: #333;
}

/* Responsiveness */
@media (max-width: 768px) {
  .testimonial-cards {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-card {
    width: 100%;
  }
}

/* Contact Section Styling */
.contact {
  background: linear-gradient(
    135deg,
    rgba(173, 216, 230, 0.6),
    rgba(240, 248, 255, 0.7)
  );
  background-size: 200% 200%;
  animation: backgroundShift 5s ease infinite; /* Add the background animation */
  color: #333;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Background Animation */
@keyframes backgroundShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Form Styling */
.contact-form {
  background-color: #fff;
  padding: 40px 30px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  position: relative;
  z-index: 10;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

/* Input Group Styling */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #333;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
  color: #333;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #27ae60;
  outline: none;
}

.contact-form button {
  background-color: #00bcd4;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background-color: #2ecc71;
}

/* Contact Info Cards Styling */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-item {
  background-color: #fff;
  padding: 25px;
  width: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-item i {
  font-size: 2.5rem;
  color: #fff;
  background-color: #00bcd4;
  padding: 10px;
  border-radius: 50%;
  margin-right: 15px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item strong {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 1rem;
  color: #777;
}

.contact-item a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 25px;
    margin-left: 40px;
  }

  .contact-form {
    width: 90%;
    margin-top: 40px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 25px;
  }

  .contact-form {
    width: 90%;
    margin-top: 40px;
  }
}

/* Background Animation */
.contact::after {
  content: "";
  background-image: url("images/contact-bg-pattern.png"); /* Your image here */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 400px 400px;
  opacity: 0.15;
  animation: moveBackground 20s infinite linear;
  z-index: 0; /* Keeps the background behind the form */
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 300px 300px;
  }
}

/* Animation for Sections */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .services .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .services .card {
    width: 80%;
  }

  .testimonials .testimonial-card {
    width: 80%;
  }

  .gallery {
    flex-direction: column;
  }
}
