/* ============================================
   CAUSE DONATION SLIDER (CRY-style)
   Left Text + Right Card Carousel
   ============================================ */

.cause-donate-slider {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #FFFDF7 0%, #FFF9EE 100%);
  overflow: hidden;
}

/* Main split layout */
.cds-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* =====================
   LEFT: Heading + CTA
   ===================== */
.cds-left {
  padding-right: 16px;
}

.cds-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 20px;
}

.cds-heading em {
  font-style: normal;
  color: #E8A523;
  text-decoration: underline;
  text-decoration-color: #E8A523;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
  text-decoration-style: wavy;
}

.cds-para {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cds-donate-btn {
  display: inline-block;
  padding: 16px 32px;
  background: #E8A523;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 24px rgba(232, 165, 35, 0.3);
}

.cds-donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(232, 165, 35, 0.45);
  background: #d4950e;
}

/* =====================
   RIGHT: Card Carousel
   ===================== */
.cds-right {
  position: relative;
  overflow: hidden;
}

.cds-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 4px 20px;
}

.cds-track::-webkit-scrollbar {
  display: none;
}

/* Each card */
.cds-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cds-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
}

/* Card image */
.cds-card-img {
  height: 260px;
  overflow: hidden;
}

.cds-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cds-card:hover .cds-card-img img {
  transform: scale(1.05);
}

/* Card body */
.cds-card-body {
  padding: 24px 24px 28px;
  text-align: center;
}

.cds-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cds-card-desc {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.5;
}

/* Yellow bar at bottom of card */
.cds-card::after {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #E8A523, #F0C850);
  border-radius: 0 0 20px 20px;
}

/* =====================
   NAVIGATION ARROWS
   ===================== */
.cds-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #E8A523;
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  line-height: 1;
}

.cds-arrow:hover {
  background: #d4950e;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(232, 165, 35, 0.4);
}

.cds-prev {
  left: 0;
  transform: translateY(-50%);
}

.cds-next {
  right: 0;
  transform: translateY(-50%);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .cds-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 6%;
  }

  .cds-left {
    text-align: center;
    padding-right: 0;
  }

  .cds-heading {
    font-size: 1.8rem;
  }

  .cds-card {
    flex: 0 0 280px;
  }

  .cds-card-img {
    height: 220px;
  }

  .cds-arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .cause-donate-slider {
    padding: 48px 0 40px;
  }

  .cds-heading {
    font-size: 1.5rem;
  }

  .cds-para {
    font-size: 0.9rem;
  }

  .cds-donate-btn {
    padding: 14px 28px;
    font-size: 0.88rem;
  }

  .cds-card {
    flex: 0 0 260px;
  }

  .cds-card-img {
    height: 200px;
  }

  .cds-card-body {
    padding: 20px 18px 24px;
  }

  .cds-card-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .cds-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}
