body {
  background-color: #f5f8fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
/* Top info bar */
.top-info-bar {
  background-image: linear-gradient(to right, #fc9048, #fd5e15 , #ff6600, #ff3300); 
  color: white;
  font-size: 0.9rem;
  padding: 2px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-height: 32px; /* Add this line or reduce further if needed */
  margin: 0 auto;
  /* Removed flex-wrap to prevent wrapping on smaller screens */
}
.top-info-bar .contact-info {
  display: flex;
  gap: 20px;
}
.top-info-bar .contact-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-info-bar .social-icons a {
  color: white;
  margin-left: 10px;
  font-size: 1.1rem;
  text-decoration: none;
}
.top-info-bar .social-icons a:hover {
  color: #333;
}
header, section {
  padding: 60px 15px;
}
.hero {
  position: relative;
  color: white;
  text-align: center;
  padding: 120px 15px 80px 15px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 50, 0.6); /* Use 0.3 instead of 0.6 for more visibility */
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  border-radius: 15px;
  display: inline-block;
  max-width: 700px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
}
.hero-logo {
  max-width: 200px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.hero-buttons .btn-primary {
  background-color: #ffcc00;
  border: none;
  color: #333;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}
.hero-buttons .btn-primary:hover {
  background-color: #e6b800;
  color: #000;
}
.hero-buttons .btn-secondary {
  background-color: #4a90e2;
  border: none;
  color: white;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}
.hero-buttons .btn-secondary:hover {
  background-color: #357abd;
}
.section-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #333;
}
.service-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.service-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 15px;
}

/* Additional styles for service cards */
#servicesContainer .col-md-4 {
  display: flex;
  margin-bottom: 2rem;
}

#servicesContainer .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
}

#servicesContainer .service-card .btn {
  margin-top: auto;
}

@media (max-width: 768px) {
  #servicesContainer .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.gallery-img {
  border-radius: 15px;
  object-fit: cover;
  width: 100%;
  height: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.gallery-img:hover {
  transform: scale(1.05);
}
.testimonial {
  background-color: #e9f0ff;
  border-left: 5px solid #007bff;
  padding: 20px;
  font-style: italic;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.google-rating {
  text-align: center;
  margin-top: 30px;
}
.google-rating a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
}
.google-rating a:hover {
  text-decoration: underline;
}
footer {
  background-image: linear-gradient(to bottom right, #004080, #0c3985, #5088e9, #97c0f0);
  color: white;
  text-align: center;
  padding: 20px 15px;
}

/* Enhanced Select Styling */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 200px;
}

.custom-select {
  appearance: none;
  background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
  border: 2px solid transparent;
  border-radius: 25px;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 35px 8px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.2);
  width: 100%;
}

.custom-select:hover {
 background: linear-gradient(135deg, #ffd633 0%, #ffaa00 100%);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  transform: translateY(-1px);
}

.custom-select:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.custom-select::after {
  content: '\f107';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-size: 14px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.custom-select.open::after {
  transform: translateY(-50%) rotate(180deg);
}

    /* Enhanced language selector styling */
    #languageSelector {
      border: none;
      border-radius: 24px;
      background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
      color: #333;
      font-weight: 600;
      font-size: 1rem;
      padding: 8px 20px 8px 20px;
      box-shadow: 0 2px 8px rgba(255, 153, 0, 0.15);
      outline: none;
      cursor: pointer;
      margin-left: 10px;
      appearance: none;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 16px center;
      background-size: 18px 14px;
      transition: box-shadow 0.2s, background 0.2s;
    }

    #languageSelector:focus {
      box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
      background: linear-gradient(135deg, #ffd633 0%, #ffaa00 100%);
    }

    #languageSelector option {
      font-size: 1rem;
      padding: 8px 0;
    }

    /* Optional: Add a flag emoji to each option for visual effect 
    #languageSelector option[value="nl"]::before {
      content: "🇳🇱";
      margin-right: 8px;
    }
    #languageSelector option[value="en"]::before {
      content: "🇬🇧";
      margin-right: 8px;
    }
    #languageSelector option[value="fr"]::before {
      content: "🇫🇷";
      margin-right: 8px;
    }*/

/* Additional styles for booking process */
#booking-process .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
#booking-process .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 10;
}
#booking-process .badge {
  border-radius: 50%;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  line-height: 1.8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Additional styles for electrical experts section */
#electrical-experts .btn-primary:hover {
  background-color: #004080;
  box-shadow: 0 6px 15px rgba(7, 1, 44, 0.3);
}
#electrical-experts .stats-bar .stat-item i {
  color: #ffcc00;
  transition: transform 0.3s ease;
}
#electrical-experts .stats-bar .stat-item:hover i {
  transform: scale(1.2);
  color: #ffd633;
}

/* Image stack styles */
.image-stack {
  position: relative;
}
.image-stack img {
  border: 5px solid white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* Navbar styles */
.navbar {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand img {
  height: 50px;
  max-height: 50px;
  max-width: 230px;
  object-fit: contain;*
  border: none;
  border-radius: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  /* Removed flex-direction column and related styles to prevent wrapping */
  .top-info-bar {
    padding: 2px 15px;
    max-height: 32px;
  }
  .top-info-bar .social-icons {
    overflow-x: auto;
    flex-wrap: nowrap; /* Prevent wrapping of social icons */
    display: flex; /* Ensure flex display */
  }
  /* Add background color for navbar on small screens */
  /* Add this at the end of your CSS file */

}

/* Utility classes */
.text-justify {
  text-align: justify;
}
  #electrical-experts .btn-primary:hover {
      background-color: #004080;
      box-shadow: 0 6px 15px rgba(7, 1, 44, 0.3);
    }
    #electrical-experts .stats-bar .stat-item i {
      color: #ffcc00;
      transition: transform 0.3s ease;
    }
    #electrical-experts .stats-bar .stat-item:hover i {
      transform: scale(1.2);
      color: #ffd633;
    }
      #booking-process .card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: default;
    }
    #booking-process .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      z-index: 10;
    }
    #booking-process .badge {
      border-radius: 50%;
      font-size: 1rem;
      width: 30px;
      height: 30px;
      line-height: 1.8;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
  
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.navbar :hover,
.navbar :focus {
  background-color: #000000 !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  color: #fff !important;
  border-radius: 20px;
  transition: background 0.2s;
}
@media (max-width: 992px) {
  .hero-content {
    padding-top: 80px; /* Adjust this value to match your navbar height */
  }
}