
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navtitle{
  color: #2e2f8b;
  font-size: x-large;
}

/* Target the active nav link */
/* Target the active nav link */
.nav-link.active {
    text-decoration: underline;          /* Adds underline */
    text-decoration-color: red;          /* Red underline */
    text-decoration-thickness: 2px;      /* Thickness of underline */
    text-underline-offset: 15px;          /* Space between text and underline */
    font-weight: 900;
}


.navbar-brand img {
  max-width: 100px;
  margin: 0px 0px 0px -20px;
}

.donate-btn {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    transition: 0.3s;
}

.donate-btn:hover {
    background-color: #c70000;
}

/* Hero Section */
/* Hero Carousel Section */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 80vh;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 0 20px;
  text-align: center;
  background-blend-mode: overlay;
  background-color: rgba(60, 32, 5, 0.4);
  margin-top: 100px;
}

.hero-slide h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

.hero-slide p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 15px auto 30px;
}

.btn-learn {
  background-color: #e63946;
  color: #fff;
  border-radius: 25px;
  padding: 10px 25px;
  transition: 0.3s;
  text-decoration: none;
}

.btn-learn:hover {
  background-color: #c70000;
}



/* About Section */
.about {
    padding: 80px 20px;
    background-color: #fffdf8;
}

.about h2 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #c70000;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}


    /* Service cards layout */
.services-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap; /* keep in one row */
  gap: 15px;
  flex-wrap: wrap; /* allows small shrink if screen is smaller */
}

.service-card {
  flex: 1 1 180px; /* smaller card width */
  max-width: 200px; /* limits max width */
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

.service-card img {
  width: 100%;
  height: 180px; /* adjust height as you like */
  object-fit: cover; /* ensures image fills without distortion */
  border-bottom: 1px solid #ddd;
  display: block;
}

    .service-texts {
      padding: 10px 20px 20px;
    }

    .service-texts h5 {
      color: #dc3545;
      font-weight: 600;
      margin-bottom: 10px;
      font-size: 1.1rem;
    }

    .service-texts p {
      font-size: 14px;
      color: #444;
      min-height: 60px;
    }

    .service-texts button {
      border: none;
      padding: 6px 18px;
      background: #566270;
      color: #fff;
      font-weight: 600;
      border-radius: 4px;
      transition: all 0.3s ease-in-out;
    }

    .service-texts button:hover {
      background: #E0E3DA;
      color: #566270;
      cursor: pointer;
    }


.divider {
    width: 70px;
    height: 4px;
    background-color: #ff3b3b;
    border-radius: 5px;
    margin: 15px auto 30px;
}

/* Footer */
footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
/* Mobile view */
@media screen and (max-width: 769px) {
  .navtitle {
    color: #2e2f8b;
    font-size: medium;
  }
}