/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

/* SLIDER IMAGES */
.slider {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* DARK OVERLAY */
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
  z-index: 1;
}

/* TEXT ON IMAGE */
.hero-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;

  animation: heroFadeZoom 1.2s ease forwards;
}

/* MAIN HEADING */
.hero-text h1 {
  font-size: 46px;
  margin-bottom: 15px;
  opacity: 0;
  animation: slideGlowDown 1.2s ease forwards;
  animation-delay: 0.3s;
  text-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* SUB TEXT */
.hero-text p {
  font-size: 20px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.8s;
  color: #e0f2fe;
}

/* ✨ GLOW ON HOVER */
.hero-text:hover h1 {
  text-shadow:
    0 0 10px rgba(255,255,255,0.6),
    0 0 25px rgba(0,180,216,0.8);
  transform: scale(1.03);
}

/* ================= ANIMATIONS ================= */

/* Container zoom fade */
@keyframes heroFadeZoom {
  from {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Heading slide + glow */
@keyframes slideGlowDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
    text-shadow: none;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Paragraph fade up */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 16px;
  }
}


/* STATS SECTION */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 50px 20px;
  background: white;
}

.stats div h2 {
  color: #0a2a40; /* DARK BLUE - was #16a34a (green) */
  font-size: 36px;
}

.stats div p {
  color: #475569;
  font-size: 16px;
}

/* INFO CARDS SECTION */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 90px 60px;
  background: #f8fafc;
}

/* CARD */
.card {
  background: #ffffff;
  padding: 55px 40px;
  border-radius: 22px;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  transition: 
    transform 0.45s ease,
    box-shadow 0.45s ease;
  position: relative;
  overflow: hidden;
}

/* ICON CIRCLE - DARK BLUE THEME */
.icon-circle {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #1e40af, #0a2a40); /* BLUE GRADIENT - was #22c55e, #16a34a */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: transform 0.45s ease;
  box-shadow: 0 10px 25px rgba(10, 42, 64, 0.3); /* DARK BLUE SHADOW - was rgba(34, 197, 94, 0.3) */
}

.icon-circle img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* White icons */
}

/* TOP GLOW EFFECT - DARK BLUE */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(10, 42, 64, 0.12), /* DARK BLUE GLOW - was rgba(22, 163, 74, 0.12) */
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-18px) scale(1.03);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.card:hover::before {
  opacity: 1;
}

.card:hover .icon-circle {
  transform: rotate(8deg) scale(1.08);
}

/* TEXT */
.card h3 {
  font-size: 26px;
  color: #0a2a40; /* DARK BLUE for headings - was #0f172a */
  margin-bottom: 18px;
  flex-grow: 0;
}

.card p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CARD BUTTON - DARK BLUE */
.card-button {
  background: #0a2a40; /* DARK BLUE - was #16a34a */
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  text-decoration: none;
  display: inline-block;
}

.card-button:hover {
  background: #1e40af; /* ROYAL BLUE - was #22c55e */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(10, 42, 64, 0.2); /* DARK BLUE SHADOW */
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 70px 40px;
  }
}

@media (max-width: 900px) {
  .info-cards {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
  }

  .card {
    min-height: auto;
    padding: 45px 30px;
  }
  
  .icon-circle {
    width: 130px;
    height: 130px;
    margin-bottom: 25px;
  }
  
  .icon-circle img {
    width: 70px;
    height: 70px;
  }
}

/* ANIMATIONS */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .stats {
    flex-direction: column;
    gap: 25px;
  }
  
  .card h3 {
    font-size: 22px;
  }
  
  .card p {
    font-size: 15px;
  }
}
/* FEATURE SECTIONS */
.feature-section {
  padding: 90px 60px;
  background: #ffffff;
}

.feature-section:nth-child(even) {
  background: #eaf5ff;
}

.feature-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.feature-content.reverse {
  flex-direction: row-reverse;
}

/* TEXT */
.feature-content .text h2 {
  font-size: 34px;
  color: #0a2a40;
  margin-bottom: 15px;
}

.feature-content .text p {
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
}

/* IMAGE SIZES */
.small-img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.large-img {
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* HOVER EFFECT */
.feature-content img {
  transition: transform 0.4s ease;
}

.feature-content img:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .feature-content {
    flex-direction: column;
    text-align: center;
  }

  .feature-content.reverse {
    flex-direction: column;
  }

  .large-img {
    width: 100%;
    height: auto;
  }

  .small-img {
    width: 280px;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .feature-section {
    padding: 60px 20px;
  }

  .feature-content .text h2 {
    font-size: 28px;
  }

  .feature-content .text p {
    font-size: 15px;
  }
}
/* ADVANCED STATS SECTION */
.animated-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 90px 60px;
  position: relative;
  overflow: hidden;
 
}

/* FLOATING LIGHT EFFECT */
.animated-stats::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.08),
    transparent 60%
  );
  animation: moveGlow 10s linear infinite;
}

@keyframes moveGlow {
  from { transform: translate(-20%, -20%); }
  to   { transform: translate(20%, 20%); }
}

/* STAT BOX */
.stat-box {
  position: relative;
  text-align: center;
  padding: 45px 35px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
  min-width: 220px;
}

.stat-box:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}

/* NUMBER */
.stat-box h2 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* TEXT */
.stat-box p {
  font-size: 16px;
  letter-spacing: 1px;
  color: #e5e7eb;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .animated-stats {
    flex-direction: column;
    gap: 35px;
    padding: 70px 20px;
  }

  .stat-box {
    width: 100%;
    max-width: 360px;
  }
}
