* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

.navbar-brand {
  font-size: 25px;
  font-weight: 700;
  color: rgb(9, 92, 92);
  text-decoration: none;
}

.navbar {
  background-color: rgb(249, 244, 239);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  height: 70px;
  flex-wrap: wrap;
  gap: 20px;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.navbar-nav {
  margin: 0 10px;
  font-weight: 500;
  margin: auto;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: rgb(9, 92, 92);
  transition: color 0.3s ease-in;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px; /* distance below the text */
  left: 0;
  height: 1.5px;
  width: 0;
  background-color: rgb(9, 92, 92);
  transition: width 0.3s ease-in;
}

.nav-link:hover::after {
  width: 100%;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: 1.5px solid rgb(9, 92, 92);
  font-weight: 430;
}

.btn:hover {
  background-color: rgb(9, 92, 92);
  color: white;
}

.hero-img {
  transform: translateY(-15px);
}

.about-section {
  transform: translateY(-40px);
}

.testimonials-section .card {
  border: none;
  background-color: #f8f9fa;
}

.services-section h3 {
  color: rgb(9, 92, 92);
  font-weight: 900;
}

.card {
  border: none;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(to bottom right, #ffffff, #f1f1f1);
}

.card:hover {
  transform: translateY(-10px);
}

.card-title {
  color: rgb(9, 92, 92);
  font-weight: bold;
}

.card-text {
  color: #333;
  font-size: 15px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-body {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.mental-health-section {
  background: rgba(0, 0, 0, 0.1);
  color: #0b0b15;
  padding: 60px 0;
}

.section-title {
  font-weight: bold;
  color: rgb(9, 92, 92);
}

.progress-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.progress-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.progress-circle {
  margin: 15px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    rgb(101, 208, 208) calc(var(--value) * 1%),
    #ddd 0%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #093939;
}

/* On smaller screens, stack items and center them */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    z-index: 999;
    margin-top: 5px;
    background-color: #fff;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    padding: 10px 0;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 10px;
  }
}

.navbar-collapse {
  transition: all 0.3s ease;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

footer .quick-link {
  position: relative;
  color: #064747;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

footer .quick-link::after {
  content: "";
  position: absolute;
  bottom: -3px; /* distance below the text */
  left: 0;
  height: 1.5px;
  width: 0;
  background-color: rgb(9, 92, 92);
  transition: width 0.3s ease-in;
}

footer .quick-link:hover::after {
  width: 100%;
}

footer button {
  background-color: rgb(9, 92, 92);
  color: #fff;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px 20px;
  border-radius: 8px;
}

footer button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(24, 225, 217, 0.4);
}

footer:hover {
  box-shadow: 0 0 20px rgba(24, 225, 217, 0.2);
}

.follow-us-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: rgb(9, 92, 92);
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
}

.follow-us-icon:hover {
  background-color: #9ae0dd;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
