.nav-item {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  box-shadow: 2px 1px 5px;
  border-radius: 5%;
  margin: 20px;
}

.call-btn {
  position: absolute;
  right: 4rem;
}

/* Add hover effect for navigation links */
.navbar-nav .nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for navigation links */
.navbar-nav .nav-link:hover {
  color: #ff6347; /* Change to a color of your choice, e.g., Tomato */
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Hover effect for the buttons */
.call-btn, .email-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect for the buttons */
.call-btn:hover, .email-btn:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Ensuring both buttons are spaced out in mobile view */
.d-flex {
  gap: 15px;
}

html,
body {
  background-color: #000000;
  color: white;
  font-family: "Roboto", sans-serif;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.top-title {
  font-weight: bolder;
  font-size: 3rem;
}

#top {
  background-image: url(images/chat.optician.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  text-align: center;
  position: relative;
  padding: 50px 20px;
  min-height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile: Make the image contain and keep content inside nicely */
@media (max-width: 768px) {
  #top {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 20px;
    min-height: 500px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  #transparent-carousel {
    margin-top: auto;
    margin-bottom: 10px;
    width: 90%;
  }
  .oval-container {
    margin-top: auto;
    padding: 10px;
    width: 90%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
  }
  .oval-container p {
    font-size: 0.9rem;
  }
}
.carousel-inner .carousel-item h3,
.carousel-inner .carousel-item h4,
.carousel-inner .carousel-item p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-inner .carousel-item.active h3,
.carousel-inner .carousel-item.active h4,
.carousel-inner .carousel-item.active p {
  opacity: 1;
  transform: translateY(0);
}

.carousel-inner .carousel-item h3,
.carousel-inner .carousel-item h4 {
  transition-delay: 0.2s;
}

.carousel-inner .carousel-item p {
  transition-delay: 0.4s;
}

#transparent-carousel {
  width: 75%;
  max-width: 100%;
  overflow: hidden;
}

.carousel-inner {
  max-height: 550px; /* Adjust the height as needed */
}

/* Media query for mobile devices in portrait orientation */
@media (max-width: 576px) {
  .carousel-inner {
    max-height: 300px; /* Adjust the height as needed for mobile */
  }
  .top-title {
    font-size: 25px; /* Adjust the font size for mobile */
  }
  .text-white {
    font-size: 15px; /* Adjust the font size for mobile */
  }
}
.service-card {
  background-color: #438fe6;
  padding: 10px;
  margin-top: 3rem;
  border-radius: 10px;
  height: 600px; /* Set a fixed height for all service cards */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures proper distribution of space between the image and the text */
}

.image-container {
  height: 60%; /* Ensures the image container takes up 50% of the service card's height */
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures the image fills the container without distorting */
  border-radius: 5px; /* Optional: adds rounded corners */
}

.service-description {
  font-size: 1rem;
}

/* Adjust the height slightly for smaller screens */
@media (max-width: 768px) {
  .service-card {
    height: 500px; /* Reduces height for smaller screens */
  }
  .service-image {
    height: 80%; /* Adjust image height for smaller screens */
  }
}
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for scale and shadow */
}

.card:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Add a larger shadow when hovering */
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}
.service-image {
  width: 100%;
  height: auto;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

main {
  background-color: #dad8d8;
  color: black;
}

.container {
  background-color: #000000;
}

.pricing-header {
  max-width: 700px;
}

.oval-container {
  background-color: rgba(238, 241, 9, 0.61);
  border-radius: 25%;
  padding-top: 10px;
  text-align: center;
  width: 280px;
  height: 40px;
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  color: white;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.pr {
  margin: 0;
  padding: 0;
}

#carouselExampleCaptions img {
  max-height: 750px;
  -o-object-fit: contain;
     object-fit: contain;
  max-width: 100%;
}

.card-header {
  background-color: #438fe6;
  color: white;
}

.card-text {
  color: #000000;
}

.footer-image {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  overflow: hidden;
}
.footer-image .footer-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.footer-image .container {
  position: relative;
  z-index: 2;
}
.footer-image h5 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-image .footer-list {
  padding: 0;
}
.footer-image .footer-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.footer-image .footer-list a {
  text-decoration: none;
}
.footer-image .footer-list a:hover {
  text-decoration: underline;
  color: #ddd;
}

iframe[src^="https://www.google.com/maps"] {
  display: block;
  margin: 0 auto;
}

div.copyright {
  text-align: center;
}

ol {
  list-style-position: inside;
  padding-left: 0;
}/*# sourceMappingURL=main.css.map */