/* === Fade-in Animation === */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Zoom-in Animation === */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animation to hero text */
.hero .col-md-6 h1,
.hero .col-md-6 p,
.hero .stats-container,
.hero .btn {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

/* Staggered delay */
.hero .col-md-6 h1 {
  animation-delay: 0.2s;
}
.hero .col-md-6 p {
  animation-delay: 0.4s;
}
.hero .stats-container {
  animation-delay: 0.6s;
}
.hero .btn {
  animation-delay: 0.8s;
}

/* Animate the right side circles */
.hero .col-md-6.d-none.d-md-flex img {
  animation: zoomIn 1s ease forwards;
  opacity: 0;
}
.hero .col-md-6.d-none.d-md-flex img:nth-child(1) { animation-delay: 0.5s; }
.hero .col-md-6.d-none.d-md-flex img:nth-child(2) { animation-delay: 0.7s; }
.hero .col-md-6.d-none.d-md-flex img:nth-child(3) { animation-delay: 0.9s; }
/* etc., or just apply general class to all */



 .feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa; /* subtle background change */
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-box {
  background: #fff;
  padding: 30px 20px;
  width: 90%;
  max-width: 450px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Form Inputs */
.modal-box form input,
.modal-box form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}



