:root {
  --primary-color: #0056b3;
  --secondary-color: #f7f7f7;
  --accent-color: #ff8c00;
  --text-color: #333;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
}

.navbar {
  background-color: var(--primary-color) !important;
}

.nav-link,
.navbar-brand {
  color: var(--secondary-color) !important;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-accent:hover {
  background-color: darken(var(--accent-color), 10%);
  border-color: darken(var(--accent-color), 10%);
}

.container,
.navbar,
.footer {
  padding: 0px;
}

a,
a:hover,
a:focus {
  color: var(--accent-color);
  text-decoration: none;
}

input,
textarea,
select {
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

body,
button,
input,
select,
textarea {
  font-family: 'Roboto', sans-serif;
}

.faucet-icon {
  height: 40px;
  margin-right: 15px;
}

.brand-lg {
  font-size: 1.5rem;
  font-weight: 900;
}

.brand-sm {
  font-size: 1rem;
  font-weight: 900;
}

.location-and-contact > span {
  font-size: 1.1rem;
  font-weight: 400;
}

.navbar-brand svg {
  width: 45px;
  height: auto;
}

.navbar-brand > .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbar svg {
  display: block;
  margin-top: -2px;
}

.navbar .ms-2 {
  margin-left: 0.5rem;
}

.feather {
  fill: #ffffff;
  stroke: #ffffff;
}

.feather-map-pin {
  margin-right: 8px;
}

.header-info {
  justify-content: space-around;
}

/* Hide the mobile header on desktop */
.desktop-header {
  display: block;
}

.mobile-header {
  display: none;
}

.carousel-custom .carousel-item img {
  max-height: 400px; /* Set a max-height that works for your design */
  object-fit: cover; /* Ensures the images cover the area without stretching */
  width: auto;
  margin-left: auto; /* Center the image horizontally if it's smaller than the container */
  margin-right: auto;
}

/* Mobile styles */
@media screen and (max-width: 992px) {
  /* Hide the desktop header on mobile */
  .desktop-header {
    display: none;
  }

  .overflow-x-hidden {
    overflow-x: hidden;
  }

  /* Show the mobile header on mobile */
  .mobile-header {
    display: block;
  }

  /* Invert the order of the brand text and the SVG on mobile */
  .mobile-header .navbar-brand {
    display: flex;
    flex-direction: row; /* Align items in a row */
    justify-content: center;
    align-items: center;
  }

  .mobile-header .brand-lg {
    order: -1; /* Place brand text before the SVG in the source order */
    display: inline; /* Changed to inline for alignment with faucet icon */
    text-align: left; /* Align text to the left for horizontal alignment */
    padding-bottom: 0; /* Remove padding-bottom for alignment purposes */
    font-size: 1.25rem; /* Adjust font-size as needed */
    line-height: 1.2; /* Adjust line height for better appearance */
  }

  .mobile-header .faucet-icon {
    order: 1; /* SVG comes after the text */
    margin-left: 10px; /* Adjust spacing to the right of text */
    margin-right: 0; /* Ensure there is no right margin on the icon */
    height: 30px; /* Adjust the icon size to fit your design */
  }

  /* Adjust logo and text alignment */
  .location-and-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .location-and-contact svg {
    height: 24px;
  }

  .location-and-contact span {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  .location-and-contact a {
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  /* Adjust the navbar-nav style for horizontal alignment */
  .mobile-header .navbar-nav {
    flex-direction: row; /* Change to row for horizontal alignment */
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  /* Style nav links for horizontal layout with even spacing */
  .mobile-header .navbar-nav .nav-link {
    padding: 0.5rem; /* Adjust padding to even out spacing */
  }

  /* Ensure text under the brand aligns correctly */
  .mobile-header > nav > div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Adjust stacked text and icon spacing */
  .mobile-header > nav > div > span,
  .mobile-header > nav > div > a,
  .mobile-header > nav > div > svg {
    margin-bottom: 0.25rem;
  }

  .carousel-custom .carousel-item img {
    max-height: 250px; /* Usually, a smaller max-height for mobile view */
  }
}

.yelp-rating .stars {
  display: flex; /* Arranges the SVG stars in a row */
}

.call-to-action a {
  /* Styling for the call-to-action button */
  display: inline-block; /* For proper spacing around the button */
  margin-top: 1rem; /* Space above the button */
  padding: 0.75rem 1.5rem; /* Adjust button size */
  background-color: var(--primary-color); /* Use your primary color variable */
  color: var(--secondary-color); /* Use your secondary color variable */
  text-align: center;
  text-decoration: none;
}

.expertise h3 {
  /* Styles for the EXPERTS header */
}

.expertise p {
  /* Styles for subtext */
}

.testimonials .testimonial {
  background-color: #f8f9fa; /* Light grey background */
  border-radius: 0.25rem; /* Slightly rounded corners for aesthetics */
  padding: 1rem; /* Padding inside each testimonial block */
  margin: 0.5rem; /* Margin between testimonial blocks */
}

.testimonials blockquote {
  position: relative; /* Allows absolute positioning for elements inside */
}

.testimonials .blockquote-footer {
  position: absolute; /* Position the footer at the bottom of the block */
  bottom: -1rem; /* Lower it down to create separation from blockquote text */
  right: 1rem; /* Align to the right within the padding of the testimonial */
  font-weight: bold; /* Optionally bold the attributing footer to stand out */
}

.why-choose-us ul {
  padding-left: 0;
  list-style-type: none; /* Removes default list bullet */
}

.why-choose-us ul li {
  padding: 0.5em 0; /* Adds some vertical padding between items */
}

.why-choose-us a.btn {
  display: inline-block; /* Wraps the inline anchor element as a block for proper spacing */
  margin-top: 1em; /* Adds some vertical space above the "Learn more" button */
}

.services-offered .services-list li {
  position: relative;
  padding-left: 1.5rem; /* Provides space for the pseudo-element */
  margin-bottom: 0.5rem; /* Space between services */
  font-family: 'Arial', sans-serif; /* Specify a font that supports the bullet character */
}

.services-offered .services-list li::before {
  content: '\2022'; /* CSS Unicode equivalent for &bullet; */
  color: var(--primary-color); /* Bullet color */
  position: absolute;
  left: 0;
  top: 50%; /* Center the bullet vertically */
  transform: translate(0, -50%);
  font-size: 1rem; /* Bullet size */
  font-family: 'Arial', sans-serif; /* Again, specify a font that supports the bullet character */
}

@media screen and (max-width: 768px) {
  /* Stack service lists on smaller screens for better readability */
  .services-offered .row .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

footer {
  background-color: #f8f9fa; /* Light gray, or choose another color that fits your design */
  border-top: 1px solid #eaeaea; /* Adds a line at the top of the footer for visual separation */
}

footer a {
  color: #0056b3; /* Primary link color */
  text-decoration: none; /* Removes underline from links */
}

footer a:hover {
  text-decoration: underline; /* Adds an underline on hover for better interaction indication */
}

footer p {
  color: #333; /* Footer text color */
  font-size: 0.8rem; /* Smaller font size */
  margin-bottom: 0; /* If needed to remove extra space */
}

.carousel-image-container img {
  width: 100%; /* Maintain full width */
  height: auto; /* Height is auto to maintain aspect ratio */
  object-fit: cover; /* Adjusts the image to cover the area without stretching */
}

.carousel-caption {
  position: absolute;
  top: 0; /* Moves the caption to the top */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

.caption-background {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
}

.bg-gray {
  background-color: #292929 !important;
}

/* Larger devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .carousel-image-container img {
    max-height: 1200px; /* Limits the height on larger screens */
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .carousel-image-container img {
    max-height: 800px; /* Adjust as needed */
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .carousel-image-container img {
    max-height: 700px; /* Adjust as needed */
  }
}

/* Extra small devices (portrait phones) */
@media (max-width: 576px) {
  .carousel-image-container img {
    max-height: 500px; /* Adjust as needed */
  }
}
