
body {
    font-family: 'Segoe UI', sans-serif;
}
.hero {
    height: 60vh;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
}
.feature-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
}
.feature-box i {
    font-size: 24px;
    color: #0ea5e9;
    margin-bottom: 10px;
    display: block;
}
.carousel-item {
  position: relative;
}

.carousel-item .d-flex {
  background: rgba(0, 0, 0, 0.5); /* semi-transparent dark overlay */
  padding: 2rem;
}
.slider-bg {
  height: 50vh;
  background-size: cover;
  object-fit: contain;
  background-position: center;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
  padding: 0 15px;
}

.content h1 {
  font-size: 3rem;
}

.body-padding-top{
  padding-top: 60px;
}

@media (max-width: 768px) {
  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1rem;
  }

  .body-padding-top{
    padding-top: 70px;
  }

  .content h1 {
    font-size: 1rem;
  }

  .slider-bg {
    height: 60vh;
  }

}


.enhanced-slider-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 50vh;
  position: relative;
}

.overlay {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* subtle dark overlay */
}

.content h1 {
  font-size: 3rem;
  animation: fadeInDown 1s ease-in-out;
}

.content p {
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Smooth hover and active effect for nav links */

/* Standard hover underline animation */
.navbar-nav .nav-link {
    position: relative;
    padding: 8px 16px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    height: 2px;
    width: 0%;
    background-color: #0d6efd; /* Bootstrap primary blue */
    transition: width 0.3s ease-in-out;
}

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

.navbar-nav .nav-link:hover::after {
    width: 100%;
}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 16px;
  line-height: 0;
  padding: 0;
  background-color: #0d6efd;
  color: #fff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#backToTop:hover {
  background-color: #0056b3;
}



