/* Logo adjustable */
.logo {
  height: 40px;
  width: auto;
}

/* Navbar link hover */
.navbar .nav-link {
  font-weight: 500;
  color: #000000;
}
.navbar .nav-link:hover {
  color: #9ea0a1;
}

/* Dropdown menu styling */
.dropdown-menu {
  border-radius: 0.5rem;
  padding: 0.5rem;
}
.dropdown-menu .dropdown-item {
  transition: background 0.2s ease-in-out;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Submenu */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-top: -0.5rem;
}

/* Footer Sticky */
.footer {
 
  bottom: 0;
  width: 100%;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 20px;
  display: none;
  border-radius: 50%;
  padding: 0.5rem 0.75rem;
}

/* Fix navbar collapse overlay on mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Better text shadow for readability on bright images */
.carousel-caption h2,
.carousel-caption h4,
.carousel-caption h5,
.carousel-caption p {
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Adjust mobile caption placement */
@media (max-width: 767.98px) {
  .carousel-caption {
    bottom: 20px;
  }
}

h2 {font-family: 'Comfortaa', cursive; }

    .card {
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: #013117; /* Change this color theme */
    }
    .card h5 {
        font-weight: 600;
        margin-top: 5px;
    }
    .card p {
        font-size: 1.2rem;
     /*    font-weight: bold;*/
        margin: 0;
    }

/* Custom card shadow & hover */
.custom-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: none;
  border-radius: 12px;
}

/* Hover effect */
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Optional: hover effect */
.img-fluid.rounded-3 {
  transition: transform 0.3s ease;
}
.img-fluid.rounded-3:hover {
  transform: scale(1.03);
}

/* Enhanced list styling */
.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.feature-list li:hover {
  transform: translateX(5px);
}

/* Icon circle */
.feature-list .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 12px;
  border-radius: 50%;
  background: #e8f5e9; /* light green background */
  color: #198754; /* Bootstrap success green */
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Text */
.feature-list span:last-child {
  flex: 1;
}

/* Base card styling */
.feature-card {
  border: none;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Icon circle */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Different color schemes */
.bg-light-primary {
  background: #eaf2ff;
  color: #0d47a1;
}
.bg-light-primary .icon-circle {
  background: #d6e4ff;
  color: #0d47a1;
}

.bg-light-success {
  background: #e8f5e9;
  color: #1b5e20;
}
.bg-light-success .icon-circle {
  background: #c8e6c9;
  color: #1b5e20;
}

.bg-light-warning {
  background: #fff8e1;
  color: #e65100;
}
.bg-light-warning .icon-circle {
  background: #ffe0b2;
  color: #e65100;
}

.bg-light-info {
  background: #e0f7fa;
  color: #006064;
}
.bg-light-info .icon-circle {
  background: #b2ebf2;
  color: #006064;
}

.bg-light-danger {
  background: #ffebee;
  color: #b71c1c;
}
.bg-light-danger .icon-circle {
  background: #ffcdd2;
  color: #b71c1c;
}

.feature-card {
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 120px;   /* Wider look */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(0,0,0,0.08);
}

