/* ============================================================
   EWAS PAGE — Immersive Storytelling Styles
   Energizing Women & Youths in Agri-Food Systems
   ============================================================ */

/* ---- Scroll-Driven Reveal Animations ---- */
.ewas-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.ewas-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ewas-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.ewas-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.ewas-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.ewas-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.ewas-reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ewas-reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay utility classes */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ============================================================
   1. CINEMATIC HERO
   ============================================================ */
.ewas-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a1f12;
}

.ewas-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  animation: heroZoomIn 20s ease-out forwards;
}

@keyframes heroZoomIn {
  0% { transform: scale(1.15); }
  100% { transform: scale(1.05); }
}

.ewas-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 18, 0.75) 0%,
    rgba(10, 31, 18, 0.6) 40%,
    rgba(10, 31, 18, 0.85) 100%
  );
  z-index: 1;
}

/* Animated grain texture */
.ewas-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  animation: grainMove 4s steps(5) infinite;
}

@keyframes grainMove {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -1%); }
  60% { transform: translate(-1%, -3%); }
  80% { transform: translate(2%, 1%); }
}

.ewas-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  animation: heroContentFadeIn 1.5s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes heroContentFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.ewas-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.ewas-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.ewas-hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.ewas-hero h1 .ewas-highlight {
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ewas-hero-sub {
  color: #e2e8f0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats Bar */
.ewas-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.ewas-hero-stat {
  text-align: center;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  min-width: 130px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.ewas-hero-stat:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}

.ewas-hero-stat .stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.2;
}

.ewas-hero-stat .stat-label {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.ewas-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #2B5C3A, #3a7a4e);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(43, 92, 58, 0.4);
}

.ewas-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(43, 92, 58, 0.5);
  background: linear-gradient(135deg, #3a7a4e, #4a9460);
}

.ewas-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceDown 2s infinite;
}

.ewas-hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.ewas-hero-scroll span::after {
  content: '';
  width: 4px;
  height: 8px;
  background: #4ade80;
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

/* ============================================================
   2. SECTION SHARED STYLES
   ============================================================ */
.ewas-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ewas-section-dark {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0a1f12 0%, #122a1a 100%);
  color: #fff;
}

.ewas-section-accent {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
}

.ewas-section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.ewas-section-title .section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-green-mid);
  margin-bottom: 0.75rem;
}

.ewas-section-dark .ewas-section-title .section-label {
  color: #4ade80;
}

.ewas-section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

.ewas-section-dark .ewas-section-title h2 {
  color: #fff;
}

.ewas-section-title .section-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.ewas-section-dark .ewas-section-title .section-desc {
  color: #94a3b8;
}

/* ============================================================
   3. ORIGIN STORY — TIMELINE
   ============================================================ */
.ewas-timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding-left: 3rem;
}

.ewas-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4ade80 0%, var(--primary-green) 50%, #FACC15 100%);
  border-radius: 3px;
}

.ewas-timeline-item {
  position: relative;
  padding-bottom: 3.5rem;
}

.ewas-timeline-item:last-child {
  padding-bottom: 0;
}

.ewas-timeline-marker {
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-green);
  border: 4px solid var(--bg-gray);
  box-shadow: 0 0 0 3px var(--primary-green);
  z-index: 1;
  transform: translateX(calc(-50% + 1.5px));
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ewas-timeline-item.visible .ewas-timeline-marker {
  box-shadow: 0 0 0 3px var(--primary-green), 0 0 20px rgba(74, 222, 128, 0.4);
}

.ewas-timeline-item:last-child .ewas-timeline-marker {
  background: #FACC15;
  box-shadow: 0 0 0 3px #FACC15;
}

.ewas-timeline-phase {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-green-mid);
  margin-bottom: 0.5rem;
}

.ewas-timeline-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.ewas-timeline-item p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
}

.ewas-timeline-img {
  width: 100%;
  border-radius: 12px;
  margin-top: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.5s ease;
}

.ewas-timeline-img:hover {
  transform: scale(1.02);
}

/* ============================================================
   4. IMPACT METRICS — ANIMATED COUNTERS
   ============================================================ */
.ewas-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 3.5rem auto 0;
}

.ewas-metric-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.ewas-metric-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.ewas-metric-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.ewas-metric-number {
  font-size: 3rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.1;
  display: block;
}

.ewas-metric-label {
  font-size: 0.9rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.5rem;
  display: block;
}

/* ============================================================
   5. COOPERATIVES SHOWCASE
   ============================================================ */
.ewas-section-light-cinematic {
  position: relative;
  padding: 6rem 2rem;
  background: #f8fafc;
  overflow: hidden;
  z-index: 1;
}

.ewas-section-light-cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

.coop-light-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}

.coop-light-blob-1 {
  width: 600px;
  height: 600px;
  background: #dcfce7;
  top: -150px;
  left: -200px;
}

.coop-light-blob-2 {
  width: 500px;
  height: 500px;
  background: #e0f2fe;
  bottom: -100px;
  right: -100px;
}

.ewas-coop-parent {
  text-align: center;
  max-width: 800px;
  margin: 3rem auto 4rem;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  position: relative;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.05);
  z-index: 2;
}

.ewas-coop-parent h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-green-dark);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 0.5rem;
}

.ewas-coop-parent p {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.ewas-coop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ewas-coop-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: default;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.ewas-coop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 211, 238, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 16px;
}

.ewas-coop-card:hover::before {
  opacity: 1;
}

.ewas-coop-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08), 0 0 0 1px rgba(74, 222, 128, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.ewas-coop-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #f0fdf4;
  color: var(--primary-green-dark);
  border: 1px solid rgba(74, 222, 128, 0.3);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.ewas-coop-card:hover .ewas-coop-number {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.ewas-coop-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.ewas-coop-members {
  font-size: 0.85rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ewas-coop-card-placeholder {
  padding: 1.75rem 1.5rem;
  background: rgba(250, 204, 21, 0.04);
  border: 2px dashed rgba(250, 204, 21, 0.4);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  transition: all 0.4s ease;
}

.ewas-coop-card-placeholder:hover {
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.6);
  transform: translateY(-4px);
}

.ewas-coop-card-placeholder .placeholder-icon {
  margin-bottom: 0.5rem;
}

.ewas-coop-card-placeholder p {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================================
   6. VIDEO SHOWCASE
   ============================================================ */
.ewas-video-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
}

.ewas-video-wrapper {
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  position: relative;
}

.ewas-video-wrapper video {
  width: 100%;
  display: block;
}

.ewas-video-caption {
  text-align: center;
  padding: 1.5rem 2rem;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.ewas-video-caption strong {
  color: var(--primary-green-dark);
}

/* ============================================================
   7. LEASE-TO-OWN VISUAL FLOW
   ============================================================ */
.ewas-lto-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 3.5rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.ewas-lto-step {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.ewas-lto-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(34, 211, 238, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  border: 2px solid rgba(74, 222, 128, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ewas-lto-step:hover .ewas-lto-step-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.2);
}

.ewas-lto-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.ewas-lto-step p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

.ewas-lto-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(74, 222, 128, 0.5);
  min-width: 30px;
  padding-bottom: 2.5rem;
}

/* ============================================================
   8. FUTURE VISION
   ============================================================ */
.ewas-future {
  position: relative;
  padding: 7rem 2rem;
  background: linear-gradient(135deg, #0a1f12 0%, #132a1a 50%, #0d2416 100%);
  overflow: hidden;
}

.ewas-future-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.ewas-future-glow-1 {
  background: #4ade80;
  top: -100px;
  right: -100px;
}

.ewas-future-glow-2 {
  background: #22d3ee;
  bottom: -100px;
  left: -100px;
}

.ewas-future-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.ewas-future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.ewas-future-card {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.ewas-future-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.ewas-future-card .future-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.ewas-future-card h3 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ewas-future-card p {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 1rem;
}

.ewas-future-card .future-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #4ade80;
  display: block;
  margin-top: 0.5rem;
}

/* ============================================================
   9. PHOTO GALLERY
   ============================================================ */
.ewas-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  border-radius: 20px;
  overflow: hidden;
}

.ewas-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ewas-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.ewas-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ewas-gallery-item:hover img {
  transform: scale(1.08);
}

.ewas-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 18, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.ewas-gallery-item:hover .ewas-gallery-item-overlay {
  opacity: 1;
}

.ewas-gallery-item-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   10. CTA SECTION
   ============================================================ */
.ewas-cta {
  position: relative;
  padding: 7rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 50%, var(--primary-green-mid) 100%);
  overflow: hidden;
}

.ewas-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ewas-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.ewas-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.ewas-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 3rem;
  background: #fff;
  color: var(--primary-green-dark);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ewas-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

/* ============================================================
   11. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .ewas-hero-stats {
    gap: 1rem;
  }

  .ewas-hero-stat {
    min-width: 100px;
    padding: 0.75rem 1rem;
  }

  .ewas-hero-stat .stat-number {
    font-size: 1.6rem;
  }

  .ewas-timeline {
    padding-left: 2.25rem;
  }

  .ewas-timeline-marker {
    left: -2.25rem;
    width: 18px;
    height: 18px;
  }

  .ewas-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .ewas-metric-number {
    font-size: 2.2rem;
  }

  .ewas-coop-grid {
    grid-template-columns: 1fr;
  }

  .ewas-lto-flow {
    flex-direction: column;
    align-items: center;
  }

  .ewas-lto-arrow {
    transform: rotate(90deg);
    padding: 0;
    min-width: auto;
    min-height: 30px;
  }

  .ewas-lto-step {
    max-width: 100%;
  }

  .ewas-future-grid {
    grid-template-columns: 1fr;
  }

  .ewas-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .ewas-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  .ewas-section, .ewas-section-dark, .ewas-section-accent {
    padding: 4rem 1.25rem;
  }

  .ewas-hero-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .ewas-hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .ewas-hero-stat {
    width: 100%;
    max-width: 200px;
  }

  .ewas-metrics {
    grid-template-columns: 1fr;
  }

  .ewas-gallery {
    grid-template-columns: 1fr;
  }

  .ewas-gallery-item:first-child {
    grid-column: span 1;
  }
}

/* -----------------------------------------
   CYCLE TIMELINE (Lease to Own vertical)
   ----------------------------------------- */
.ewas-cycle-timeline {
  position: relative;
  max-width: 600px;
  margin: 3.5rem auto 0;
  padding-left: 2rem; 
}
@media (min-width: 768px) {
  .ewas-cycle-timeline {
    padding-left: 4rem;
  }
}

.ewas-cycle-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 120px; /* Leave space for the cycle block */
  width: 2px;
  background: var(--primary-green);
  border-radius: 2px;
}
@media (min-width: 768px) {
  .ewas-cycle-timeline::before {
    left: 2rem;
  }
}

.ewas-cycle-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.ewas-cycle-marker {
  position: absolute;
  left: -2rem; 
  top: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-gray);
  border: 2px solid var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .ewas-cycle-marker {
    left: -4rem;
  }
}

.ewas-cycle-marker svg {
  width: 20px;
  height: 20px;
}

.ewas-cycle-number {
  position: absolute;
  right: -6px;
  bottom: -4px;
  background: var(--primary-green);
  color: var(--bg-gray);
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-gray);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ewas-cycle-content {
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  margin-left: 1rem;
}

.ewas-cycle-content h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ewas-cycle-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.ewas-cycle-note {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--primary-green);
  background: rgba(74, 222, 128, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-flex;
}

/* Loop block */
.ewas-cycle-item .loop-marker {
  border: none;
  background: transparent;
  color: var(--primary-green);
  box-shadow: none;
  top: 1.5rem;
}
.ewas-cycle-item .loop-marker svg {
  width: 24px;
  height: 24px;
}
.ewas-cycle-content.loop-content {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.2);
  border-left: 4px solid var(--primary-green);
}
.ewas-cycle-content.loop-content h4 {
  color: var(--primary-green);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.ewas-cycle-conclusion {
  text-align: center;
  color: var(--primary-green);
  font-weight: 500;
  font-size: 1.15rem;
  margin-top: 3.5rem;
  line-height: 1.6;
  margin-left: -2rem; /* offset the padding-left */
}
@media (min-width: 768px) {
  .ewas-cycle-conclusion {
    margin-left: -4rem;
  }
}
