.navbar-brand img {
  height: 40px;
}
.hero-section {
  background: url("../img/main-slider-2-3.jpg") no-repeat center center/cover;
  color: white;
  padding: 200px 0;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity as needed */
  z-index: 1; /* Ensures the overlay is above the background but below text */
}

.hero-section > * {
  position: relative;
  z-index: 2; /* Ensures the text/content stays above the overlay */
}

.service-card {
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  text-align: center;
}

.service-card svg {
  --size: 60px;
  width: var(--size);
  height: var(--size);
}

.service-card:hover {
  transform: translateY(-10px);
}
footer {
  background-color: #f8f9fa;
  padding: 20px 0;
}

.nav-item {
  transition: all 0.3s;
  border-radius: 12px;
  overflow: hidden !important;
  padding: 4px 8px;
}

.nav-item:hover a:not(.active),
.nav-link.active {
  background-color: var(--bs-primary);
  color: white !important;
  border-radius: 12px;
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 30px 0;
  }
}
