/* ... (existing CSS styles) */

/* Add your custom CSS styles here */


/* Hero Carousel */




/* Service Cards */
.service-card {
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

/* #carouselExampleIndicators {
    height: 400px; /* Adjust the height as needed */

*/

/* ... (other CSS styles) */
/* Global Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Hero Section */
/* .hero {
    height: 600px;
    background-color: #f8f9fa;
    background-image: url('images/hero-background.jpg'); /* Replace with your background image */
/* background-size: cover;
    background-position: center;
  } */

/* Set carousel height for different screen sizes */
.hero {
  margin-top: 70px;
  height: 60vh;
  /* Desktop default height */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image fills the container */
  animation: zoomEffect 6s ease-in-out infinite;
  /* Smooth zoom in/out */
}

@keyframes zoomEffect {

  0%,
  100% {
    transform: scale(1);
    /* Default scale */
  }

  50% {
    transform: scale(1.1);
    /* Slight zoom */
  }
}

@media (min-width: 768px) {

  /* For desktops */
  .carousel-item img {
    height: 60vh;
    /* Set height to 50% of viewport */
  }
}

@media (max-width: 768px) {

  /* For mobile */
  .carousel-item img {
    height: 50vh;
    /* Use full height for smaller screens */
    object-fit: contain;
    /* Avoid cropping portrait images */
  }

  .hero {
    height: 50vh;
    /* Adjusted height for mobile */
  }
}

@media (max-width: 768px) {
  .carousel-caption {
    font-size: 10px;
    /* Smaller font for mobile */
    background-color: rgba(80, 80, 80, 0.432);
    /* Dark background for contrast */
    padding: 5px;
  }
}


.dropdown-menu {
  background-color: #f8f9fa;
  /* Light background for dropdown */
  border-radius: 5px;
}

.dropdown-item:hover {
  background-color: #007bff;
  /* Highlight on hover */
  color: white;
}

.nav-link.active {
  color: #fff;
  /* White text for active link */
  background-color: #007bff;
  /* Blue background for emphasis */
  border-radius: 5px;
  /* Optional for rounded edges */
}


.carousel-item img:hover {
  transform: scale(1.05);
  /* Applies the zoom effect on hover */
  transition: transform 0.3s ease-in-out;
}

.carousel-caption {
  position: absolute;
  z-index: 10;
  /* Ensures captions appear above images */
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  /* Makes text visible */
}

.carousel-item {
  z-index: 1;
  /* Ensures images are behind the captions */
}


/* Navbar */
.navbar {
  background-color: #212529;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  height: auto;
}

.navbar-brand {
  font-weight: bold;
  color: #fff;
}

.navbar-nav .nav-link {
  color: #fff;
}

.navbar-nav .nav-link:hover {
  color: #f0f0f0;
}

/* Services Section */
.services-overview {
  padding: 80px 0;
}

.service-card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  color: #333;
  font-weight: bold;
}

/* Call-to-Action */
.call-to-action {
  background-color: #007bff;
  color: #fff;
}

/* Footer */
footer {
  background-color: #212529;
  color: #fff;
  padding: 50px 0;
}
.px-50 {
  padding-left: 50px;
}
.contact {
  padding-left: Auto;
}
.image-container {
  width: 100%;
  /* Adjust width as needed */
  height: 300px;
  /* Adjust height as needed */
}

/* .image-container img {
    object-fit: cover; /* Ensures image fills container without distortion */
/* width: 100%;
    height: 100%;
  } */
/* header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; Ensure it's above other content
  } */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100 !important;
  /* Ensure it's above other content */
}

/* Default styling for captions (applies to mobile by default) */
.carousel-caption h5 {
  font-size: 20px;
  /* Slightly larger font size on mobile */
}

.carousel-caption p {
  font-size: 16px;
}

/* Larger screens (tablets and desktops) */
@media (min-width: 768px) {
  .carousel-caption h5 {
    font-size: 14px;
    /* Larger size for larger screens */
  }

  .carousel-caption p {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .carousel-caption h5 {
    font-size: 36px;
    /* Even larger for extra-large screens */
  }

  .carousel-caption p {
    font-size: 24px;
  }
}