/* ============================================================
   WhyUsSection.module.css — Keunggulan Kami / Mengapa PPT Adventure?
   Modern, Editorial Outdoor Adventure Design System
   ============================================================ */

.section {
  position: relative;
  background-color: #FFFFFF;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(38, 148, 54, 0.04), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAF7 100%);
  padding-top: 88px;
  padding-bottom: 92px;
  overflow: hidden;
}

/* ── Subtle Pure SVG Accents ───────────────────────────────── */

.bgTopoWrap {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 480px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.bgTopoPattern {
  width: 100%;
  height: 100%;
}

.bgMountainWrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 320px;
  height: 160px;
  pointer-events: none;
  z-index: 0;
}

.bgMountainSvg {
  width: 100%;
  height: 100%;
}

.bgLeafWrap {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 180px;
  height: 150px;
  pointer-events: none;
  z-index: 0;
}

.bgLeafSvg {
  width: 100%;
  height: 100%;
}

/* ── Container ─────────────────────────────────────────────── */

.container {
  position: relative;
  z-index: 1;
}

/* ── Top Header Area & Script Accents ──────────────────────── */

.headerArea {
  position: relative;
  margin-bottom: 48px;
}

.header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.eyebrowText {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ppt-primary, #269436);
}

.eyebrowLine {
  width: 36px;
  height: 1.5px;
  background-color: var(--ppt-primary, #269436);
  opacity: 0.7;
}

.heading {
  font-size: clamp(2.8rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #17232F;
  margin: 0 0 14px 0;
}

.headingAccent {
  color: var(--ppt-primary, #269436);
}

.description {
  font-size: 17.5px;
  line-height: 1.65;
  color: #667085;
  max-width: 660px;
  margin: 0 auto;
}

/* Top-Left Handwritten Script Accent */
.leftAccent {
  position: absolute;
  left: 0;
  top: 6px;
  text-align: left;
  user-select: none;
  pointer-events: none;
}

.leftAccentText {
  font-family: var(--font-family-handwritten, 'Caveat', cursive, sans-serif);
  font-size: 23px;
  font-weight: 700;
  color: #4B5563;
  line-height: 1.15;
  display: block;
}

.leftAccentCurve {
  width: 150px;
  height: 52px;
  margin-top: 4px;
  display: block;
}

/* Top-Right Handwritten Script Accent */
.rightAccent {
  position: absolute;
  right: 0;
  top: 10px;
  text-align: right;
  user-select: none;
  pointer-events: none;
  transform: rotate(-3deg);
}

.rightAccentText {
  font-family: var(--font-family-handwritten, 'Caveat', cursive, sans-serif);
  font-size: 27px;
  font-weight: 700;
  color: #17232F;
  line-height: 1.15;
  display: block;
}

.rightAccentUnderline {
  width: 136px;
  height: 16px;
  margin-left: auto;
  margin-top: -2px;
  display: block;
}

/* ── 4 Feature Cards Grid ──────────────────────────────────── */

.cardsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 0;
}

.card {
  background-color: #FFFFFF;
  border-radius: 18px;
  border: 1px solid rgba(23, 35, 47, 0.08);
  box-shadow: 0 8px 24px rgba(20, 30, 25, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 30, 25, 0.09);
  border-color: rgba(23, 35, 47, 0.14);
}

.cardContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.iconWrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: #EEF8EF;
  color: var(--ppt-primary, #269436);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(38, 148, 54, 0.08);
}

.cardTitle {
  font-size: 19px;
  font-weight: 700;
  color: #17232F;
  margin: 0 0 10px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cardDesc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #667085;
  margin: 0;
}

.imageWrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background-color: #E5E7EB;
}

.cardImage {
  object-fit: cover;
  transition: transform 320ms ease;
}

.card:hover .cardImage {
  transform: scale(1.02);
}

/* ── Responsive Media Queries ──────────────────────────────── */

/* Large screens / Tablet (768px – 1199px) */
@media (max-width: 1199px) {
  .section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .heading {
    font-size: clamp(2.4rem, 3.6vw, 2.9rem);
  }

  .leftAccent {
    display: none;
  }

  .rightAccent {
    transform: scale(0.85) rotate(-3deg);
    top: 0;
  }

  .cardsGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Medium Tablet / Small screens (< 960px) */
@media (max-width: 960px) {
  .rightAccent {
    display: none;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .bgTopoWrap,
  .bgMountainWrap,
  .bgLeafWrap,
  .leftAccent,
  .rightAccent {
    display: none;
  }

  .headerArea {
    margin-bottom: 32px;
  }

  .heading {
    font-size: clamp(2rem, 6.2vw, 2.4rem);
    line-height: 1.18;
  }

  .description {
    font-size: 15.5px;
  }

  .cardsGrid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
  }

  .card {
    padding: 18px;
    border-radius: 16px;
  }

  .cardContent {
    margin-bottom: 16px;
  }

  .iconWrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 14px;
  }

  .cardTitle {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .cardDesc {
    font-size: 14px;
  }
}
