:root{
  --accent: #f7931e;
  --green: #28a745;
}
body { font-family: "Segoe UI", Roboto, Arial, sans-serif; }

/* --- Hero reduced height --- */
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
  width: 100%;
  height: 60vh;
  background-color: rgba(170, 19, 3, 0.5);
  overflow: hidden;
  position: relative;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item::before {
  content: "";
  background-color: rgba(170, 19, 3, 0.5);
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 50px;
  right: 50px;
}

#hero .container {
  text-align: center;
}

#hero h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
}

#hero p {
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #fff;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.1;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 100%;
  background: white;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  animation-delay: 0.8s;
  background: #5cb874;
}

#hero .btn-get-started:hover {
  background: #6ec083;
}

@media (max-width: 992px) {
  #hero {
    height: 100vh;
  }

  #hero .carousel-container {
    top: 66px;
  }
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}
#about{
  width:
}

/* --- feature Section (carousel-like) --- */
.features-section {
      background-color: #fff;
      border-radius: 12px;
      padding: 50px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

    .feature-item {
      display: flex;
      align-items: start;
      margin-bottom: 20px;
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

    .feature-item img {
      width: 32px;
      height: 32px;
      margin-right: 15px;
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

    .feature-item h6 {
      margin: 0;
      font-weight: 600;
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

    .feature-item p {
      margin: 0;
      font-size: 0.9rem;
      color: #666;
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

    .image-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

    .image-grid img {
      width: 100%;
      border-radius: 20px;
      object-fit: cover;
      aspect-ratio: 1/1;
      transition: transform 0.3s ease;
      transform: scale(1.05);
    }

/*------------------testimonials*/
    .testimonials {
      background-color: #070a5e;
      padding: 80px 20px;
      color: #fff;
      text-align: center;
      margin-bottom: 10px;
      margin-top: 50px;
    }

    .testimonials h2 {
      font-size: 2.5rem;
      margin-bottom: 40px;
      font-weight: 700;
      letter-spacing: 1px;
    }

    .testimonial-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .testimonial {
      background: #8a030e;
      color: #333;
      border-radius: 15px;
      padding: 30px 25px;
      width: 320px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .testimonial:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .testimonial img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      margin-bottom: 15px;
      object-fit: cover;
      border: 3px solid #e6d709;
    }

    .testimonial h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
      color: #008cff;
    }

    .testimonial span {
      font-size: 0.9rem;
      color: #777;
      display: block;
      margin-bottom: 15px;
    }

    .testimonial p {
      font-size: 0.95rem;
      line-height: 1.6;
      color: #fff;
    }

    .stars {
      color: #ffc107;
      margin-top: 10px;
      font-size: 1.1rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .testimonial {
        width: 90%;
      }
      .testimonials h2 {
        font-size: 2rem;
      }


      /* Gallery Styles */
    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      max-height: 250px; /* Fixed uniform height */
      cursor: pointer;
    }

    .gallery-item img {
      max-width: 250px;
      max-height: 300px;
      /*object-fit: cover;  Crop to fit container */
      display: block;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.1);
    }

    /* Modal Image Animation */
    #modalImage {
      animation: fadeIn 0.3s ease;
      width: 100%;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

      @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
      }

/* RESPONSIVE */
@media (max-width: 768px) {
  .gallery-section h2 {
    font-size: 2rem;
  }
/* responsive tweaks */
@media (max-width: 991px){
  .program-card img{ height:220px; }
  .scroller-arrow.left{ left:0; }
  .scroller-arrow.right{ right:0; }
}
@media (max-width: 576px){
  .program-card{ min-width: 180px; }
  .program-card img{ height:170px; }
}

/* small caption under cards */
.card-legend{ text-decoration:underline; font-size:0.9rem; color:#222; padding-top:10px; padding-bottom:16px; }
