:root {
  --bg-green: #e9f5e9;
  --dark-green: #67a36d;
  --gold: #dfba69;
}

body {
  background-color: var(--bg-green);
  margin: 0;
  color: #333;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../images/our work images/Refugees.png") center/cover no-repeat;

  color: white;
  text-align: center;
}

/* IMPACT CIRCLES */
.impact-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 40px 0;
  flex-wrap: wrap; /* ✅ responsive */
}

/* CIRCLE DESIGN */
.circle {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px); /* ✨ modern glass effect */
  border-radius: 50%;
  border: 5px solid;
  color: #333;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 13px;
  font-weight: 500;
  text-align: center;

  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.circle:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* COLORS */
.circle.orange { border-color: orange; }
.circle.green { border-color: var(--dark-green); }
.circle.yellow { border-color: gold; }

/* BUTTONS */
.btn-gold,
.btn-light {
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* GOLD */
.btn-gold {
  background: var(--gold);
  color: #000;
}

/* LIGHT */
.btn-light {
  background: #a5cfa7;
  color: #fff;
}

/* BUTTON HOVER */
.btn-gold:hover,
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ========================= */
/* 📱 RESPONSIVENESS */
/* ========================= */

/* TABLET */
@media (max-width: 992px) {
  .hero {
    padding: 80px 20px;
  }

  .circle {
    width: 130px;
    height: 130px;
    font-size: 12px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 70px 20px;
  }

  .impact-circles {
    gap: 15px;
  }

  .circle {
    width: 110px;
    height: 110px;
    font-size: 11px;
  }

  .btn-gold,
  .btn-light {
    width: 100%;
    max-width: 280px;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .circle {
    width: 95px;
    height: 95px;
    font-size: 10px;
  }

  .hero {
    padding: 60px 15px;
  }
}

/* =========================
   SUCCESS STORIES SECTION
========================= */

/* HEADING */
/* =========================
   SUCCESS HEADER
========================= */

.success-header {
  text-align: center;
  margin: 80px auto 50px;
  padding: 0 20px;
  max-width: 800px;
}

/* TITLE */
.success-header h2 {
  font-size: 3rem;
  color: #2f4f3f;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
}

/* ✨ UNDERLINE EFFECT */
.success-header h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--gold);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* LINK */
.success-header a {
  display: inline-block;
  margin-top: 15px;
  color: var(--dark-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.success-header a:hover {
  color: #1f3d2b;
  transform: translateX(5px);
}

/* =========================
   📱 RESPONSIVE
========================= */

@media (max-width: 768px) {
  .success-header h2 {
    font-size: 2rem;
  }

  .success-header {
    margin: 60px auto 40px;
  }
}

@media (max-width: 480px) {
  .success-header h2 {
    font-size: 1.6rem;
  }

  .success-header a {
    font-size: 0.9rem;
  }
}

/* =========================
   CAROUSEL
========================= */

.carousel {
  display: flex;
  align-items: center;
  position: relative;
  padding: 20px 60px;
}

/* WRAPPER */
.cards-wrapper {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* 🔥 modern scroll snap */
  padding: 25px;
  width: 100%;
}

.cards-wrapper::-webkit-scrollbar {
  display: none;
}

/* =========================
   STORY CARD
========================= */

.story-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  min-width: 260px;
  height: 360px;
  border-radius: 20px;
  padding: 25px 20px;
  flex-shrink: 0;
  scroll-snap-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

/* HOVER */
.story-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* IMAGE */
.round-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  margin-bottom: 20px;
  transition: 0.3s ease;
}

/* subtle zoom on hover */
.story-card:hover .round-img {
  transform: scale(1.05);
}

/* TEXT */
.story-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  text-align: center;
  width: 100%;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* =========================
   NAV ARROWS (OPTIONAL)
========================= */

.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--dark-green);
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.carousel .arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.carousel .fa-chevron-left { left: 10px; }
.carousel .fa-chevron-right { right: 10px; }

/* =========================
   📱 RESPONSIVENESS
========================= */

/* TABLET */
@media (max-width: 992px) {
  .success-heading h2 {
    font-size: 2.5rem;
  }

  .carousel {
    padding: 20px 30px;
  }

  .story-card {
    min-width: 240px;
    height: 340px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .success-heading {
    margin: 70px auto 50px;
  }

  .success-heading h2 {
    font-size: 2rem;
  }

  .cards-wrapper {
    gap: 18px;
    padding: 15px;
  }

  .story-card {
    min-width: 220px;
    height: 320px;
  }

  .round-img {
    width: 95px;
    height: 95px;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .success-heading h2 {
    font-size: 1.6rem;
  }

  .story-card {
    min-width: 200px;
    height: 300px;
  }

  .round-img {
    width: 85px;
    height: 85px;
  }

  .story-text {
    font-size: 13px;
  }
}

/* =========================
   PROGRESS IMAGE SECTION
========================= */

/* IMAGE GRID */
.image-grid {
  display: flex;
  gap: 25px;
  padding: 30px 5%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* 🔥 modern scroll snapping */
}

.image-grid::-webkit-scrollbar {
  display: none;
}

/* IMAGE CARD */
.progress-img {
  width: 420px;
  height: 280px;
  border-radius: 22px;
  flex-shrink: 0;
  scroll-snap-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;
  cursor: pointer;

  transition: all 0.4s ease;
}

/* OVERLAY EFFECT */
.progress-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.4),
    transparent
  );
  opacity: 0;
  transition: 0.3s ease;
}

.progress-img:hover::after {
  opacity: 1;
}

/* HOVER */
.progress-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* =========================
   STATS SECTION
========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px auto;
  padding: 0 8%;
}

.stat-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

.stat-card i {
  font-size: 40px;
  color: var(--dark-green);
  margin-bottom: 15px;
}

.read-more {
  background: var(--dark-green);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.read-more:hover {
  background: #4f8c56;
}

/* =========================
   CAROUSEL CONTROLS
========================= */

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 60px;
}

/* ARROWS */
.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--dark-green);
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.carousel .arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.carousel .fa-chevron-left { left: 10px; }
.carousel .fa-chevron-right { right: 10px; }

/* =========================
   DOT INDICATORS
========================= */

.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.dots span {
  width: 40px;
  height: 6px;
  background: #d0e0d0;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  background: #a5cfa7;
  transform: scaleX(1.2);
}

/* =========================
   SECTION DIVIDERS
========================= */

.arrow-down,
.arrow-down-divider {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  margin: 25px 0;
  color: var(--dark-green);
  cursor: pointer;
  transition: 0.3s;
}

.arrow-down:hover {
  transform: translateY(6px);
}

/* =========================
   PROGRESS BAR
========================= */

.progress-bar-container {
  width: 60%;
  max-width: 500px;
  background: #d0e0d0;
  height: 10px;
  border-radius: 10px;
  margin: 40px auto 10px;
}

.progress-fill {
  width: 70%;
  height: 100%;
  background: orange;
  border-radius: 10px;
}

/* =========================
   SOCIALS
========================= */

.socials {
  padding: 50px 0;
  text-align: center;
  color: #888;
  font-size: 24px;
}

.socials i {
  margin: 0 12px;
  cursor: pointer;
  transition: 0.3s;
}

.socials i:hover {
  color: var(--dark-green);
  transform: scale(1.2);
}

/* =========================
   📱 RESPONSIVENESS
========================= */

/* TABLET */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .progress-img {
    width: 320px;
    height: 220px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .image-grid {
    padding: 20px;
    gap: 15px;
  }

  .progress-img {
    width: 260px;
    height: 180px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    padding: 0 20px;
  }

  .progress-bar-container {
    width: 90%;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .progress-img {
    width: 220px;
    height: 160px;
  }

  .dots span {
    width: 30px;
  }
}
