body {
    scroll-behavior: smooth;
  }
  
/* Services */
  .service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto; /* center the image horizontally */
    display: block;
  }
  
  /* Make sure card content takes full height */
  .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  
  /* Make the text area flexible */
  .card-text {
    flex-grow: 1;
    margin-bottom: 20px;
  }
  
  /* Align buttons neatly */
  .d-flex.justify-content-center.gap-2.mt-3 {
    margin-top: auto;
  }
    
  .service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
  }
  
  .btn-primary i {
    margin-right: 5px;
  }
   
  /* Services */
  .card {
    min-height: 180px;
  }

  p,li{
    font-size: 20px;
  }

  h2 {
    position: relative;
    padding-bottom: 8px; /* space between text and underline */
    margin-bottom: 16px; /* space between h2 and next element */
  }

  .h3-title {
    display: inline-block;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 5px; /* optional: adds a little space between text and underline */
    margin: 0 auto 20px auto; /* centers the inline-block inside the parent */
    text-align: center; /* just in case */
}
  
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: var(--underline-color, white); /* default black */
}
  

  .testimonial-img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px; /* Optional: adds soft rounded corners */
  }


  .brand-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 1px solid #ccc;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth transition */
  }

  .brand-logo:hover {
    transform: scale(1.05); /* scale up slightly */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* subtle shadow */
  }

  .hover-shadow {
    transition: all 0.3s ease-in-out;
  }
  .hover-shadow:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
  }

  /* Caorusel */

  /* Custom styles for carousel buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: gray; /* Gray background for better visibility */
  background-size: 100%, 100%;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* Optional: add a slight shadow to make them pop */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.bg-grey {
  background: rgba(128, 128, 128, 0.7); /* grey color with 40% transparency */
}

  
/* HERO SECTION */
.hero {
  background: url('../images/hero.jpg') no-repeat center center / cover;
  height: 65vh; /* 65% of viewport height */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Center the hero content */
.hero-content {
  padding: 20px;
}

.hero-content .tagline {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
  color: white; /* text color */
  -webkit-text-stroke: 1px black; /* black border around letters */
}

/* Tagline below main heading */
/* .tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: #f8f9fa;
  margin-top: 10px;
} */

/* Circles section below hero */
.circle-icons {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Circle styles */
.circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.circle img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-bottom: 8px;
  border-radius: 10px;
}

/* Responsive for tablets */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 60px 20px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .circle-icons {
    padding: 30px 15px;
    gap: 20px;
  }

  .circle {
    width: 90px;
    height: 90px;
    font-size: 0.75rem;
  }

  .circle img {
    width: 50px;
    height: 50px;
  }
}

/* Responsive for mobile phones */
@media (max-width: 480px) {
  .hero {
    padding: 40px 10px;
  }

  /* .tagline {
    font-size: 1rem;
  } */

  .circle-icons {
    padding: 20px 10px;
    gap: 15px;
  }

  .circle {
    width: 70px;
    height: 70px;
    font-size: 0.65rem;
  }

  .circle img {
    width: 40px;
    height: 40px;
  }
}

/*Contact Us */

.contact-section {
  min-height: 50vh;
}
.form-control {
  margin-bottom: 15px;
}
/* Control tab content height */
.tab-content iframe {
  width: 100%;
  height: 40vh;
  border: 0;
}
@media (max-width: 992px) {
  .tab-content iframe {
    height: 70vh;
  }
}
@media (max-width: 768px) {
  .tab-content iframe {
    height: 100vh;
  }
}
#street-tab {
  background-color: #6c757d; /* Bootstrap grey color */
  color: white;
}

#street-tab.active {
  background-color: #495057; /* Darker grey for active state */
  color: white;
}

#map-tab {
  background-color: white; /* White background */
  color: black;
  border: 1px solid #dee2e6; /* Light border to separate nicely */
}

#map-tab.active {
  background-color: #f8f9fa; /* Slightly light grey when active */
  color: black;
}

/* FAQ */

.faq-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.faq-item:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

.error-message {
  color: red;
  font-size: 0.875em;
  margin-top: 0.25rem;
}
.error-border {
  border-color: red !important;
}

html {
  scroll-behavior: smooth;
}
/* Scroll-to-top button custom styles (if any) */
#scrollTopBtn {
  z-index: 1000; /* Ensure the button is on top of other elements */
  /* (display: none is already set inline or via script) */
}