/* ══════════════════════════════════════
       SECTION
    ══════════════════════════════════════ */
    .teamHome-homepage__why {
      background: #fff;
      padding: 40px 40px 45px;
      position: relative;
      overflow: hidden;
      margin: 0 auto;
      max-width: 1200px;
    }

    /* large faint circle decoration */
    .teamHome-homepage__why::before {
      content: '';
      position: absolute;
      top: -120px; right: -120px;
      width: 500px; height: 500px;
      border-radius: 50%;
      border: 60px solid var(--th-light);
      pointer-events: none;
      z-index: 0;
    }
    .teamHome-homepage__why::after {
      content: '';
      position: absolute;
      bottom: -80px; left: -80px;
      width: 300px; height: 300px;
      border-radius: 50%;
      border: 40px solid var(--th-light);
      pointer-events: none;
      z-index: 0;
    }

    /* ══════════════════════════════════════
       HEADING
    ══════════════════════════════════════ */
    .teamHome-homepage__why-title {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 2.2rem;
      font-weight: 600;
      text-align: center;
      color: var(--th-dark);
      position: relative;
      z-index: 1;
      margin-bottom: 14px;
      letter-spacing: -.5px;
    }
    .teamHome-homepage__why-title span {
      color: var(--th-red);
    }

    /* subtitle line */
    .teamHome-homepage__why-sub {
      text-align: center;
      color: var(--th-gray);
      font-size: .97rem;
      position: relative;
      z-index: 1;
      margin-bottom: 30px;
    }
    

    /* ══════════════════════════════════════
       DESKTOP GRID
    ══════════════════════════════════════ */
    .teamHome-homepage__why-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    /* ── DESKTOP CARD ── */
    .teamHome-homepage__why-card {
      background: #fff;
      /* border-radius: 18px; */
      padding: 36px 28px 34px;
      position: relative;
      overflow: hidden;
      border: 1.5px solid #f5e8e8;
      box-shadow: 0 4px 24px rgba(240,92,98,.07);
      transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
      cursor: default;
    }

    /* top accent bar */
    .teamHome-homepage__why-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: var(--th-red);
      /* border-radius: 18px 18px 0 0; */
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .4s ease;
    }

    /* large number watermark */
    .teamHome-homepage__why-card::after {
      content: attr(data-num);
      position: absolute;
      bottom: -10px; right: 14px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 6rem;
      font-weight: 900;
      color: rgba(240,92,98,.06);
      line-height: 1;
      pointer-events: none;
      transition: color .35s;
    }

    .teamHome-homepage__why-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 48px rgba(240,92,98,.15);
      border-color: var(--th-red);
    }
    .teamHome-homepage__why-card:hover::before { transform: scaleX(1); }
    .teamHome-homepage__why-card:hover::after  { color: rgba(240,92,98,.12); }

    .teamHome-homepage__why-card-icon {
      width: 62px; height: 62px;
      border-radius: 16px;
      background: var(--th-light);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 22px;
      transition: background .35s, transform .35s;
    }
    .teamHome-homepage__why-card-icon i {
      font-size: 1.6rem !important;
      color: var(--th-red) !important;
      transition: color .35s;
    }

    .teamHome-homepage__why-card:hover .teamHome-homepage__why-card-icon {
      background: var(--th-red);
      transform: rotate(-6deg) scale(1.08);
    }
    .teamHome-homepage__why-card:hover .teamHome-homepage__why-card-icon i {
      color: #fff !important;
    }

    .teamHome-homepage__why-card h3 {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--th-dark);
      margin-bottom: 12px;
      line-height: 1.35;
    }
    .teamHome-homepage__why-card p {
      font-size: .7777rem;
      line-height: 1.75;
      color: var(--th-gray);
    }

    /* ══════════════════════════════════════
       MOBILE CARD STACK / FLIP SWIPE
    ══════════════════════════════════════ */
    .teamHome-homepage__why-mobile {
      display: none;
      position: relative;
      z-index: 1;
      max-width: 380px;
      margin: 0 auto;
    }

    /* stack area */
    .teamHome-homepage__why-stack {
      position: relative;
      height: 340px;
      perspective: 1000px;
    }

    /* individual mobile card */
    .teamHome-homepage__why-mcard {
      position: absolute;
      inset: 0;
      border-radius: 20px;
      background: #fff;
      border: 1.5px solid #f0d0d1;
      box-shadow: 0 8px 32px rgba(240,92,98,.12);
      padding: 32px 26px 28px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      transform-origin: center bottom;
      transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s, box-shadow .45s;
      backface-visibility: hidden;
      overflow: hidden;
    }

    /* stacking shadows behind active card */
    .teamHome-homepage__why-mcard[data-pos="1"] {
      transform: translateY(0) scale(1);
      z-index: 4;
      opacity: 1;
      box-shadow: 0 12px 40px rgba(240,92,98,.18);
    }
    .teamHome-homepage__why-mcard[data-pos="2"] {
      transform: translateY(10px) scale(.96);
      z-index: 3;
      opacity: 1;
    }
    .teamHome-homepage__why-mcard[data-pos="3"] {
      transform: translateY(18px) scale(.92);
      z-index: 2;
      opacity: .7;
    }
    .teamHome-homepage__why-mcard[data-pos="4"] {
      transform: translateY(24px) scale(.88);
      z-index: 1;
      opacity: .4;
    }

    /* red top strip on mobile cards */
    .teamHome-homepage__why-mcard::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: var(--th-red);
      border-radius: 20px 20px 0 0;
    }

    /* exit animations */
    .teamHome-homepage__why-mcard.exit-left {
      transform: translateX(-120%) rotate(-18deg) !important;
      opacity: 0 !important;
      transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s !important;
    }
    .teamHome-homepage__why-mcard.exit-right {
      transform: translateX(120%) rotate(18deg) !important;
      opacity: 0 !important;
      transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s !important;
    }

    .teamHome-homepage__why-mcard-icon {
      width: 52px; height: 52px;
      border-radius: 14px;
      background: var(--th-light);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 16px;
      flex-shrink: 0;
    }
    .teamHome-homepage__why-mcard-icon i {
      font-size: 1.4rem;
      color: var(--th-red);
    }

    .teamHome-homepage__why-mcard h3 {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--th-dark);
      margin-bottom: 10px;
      line-height: 1.3;
    }
    .teamHome-homepage__why-mcard p {
      font-size: .83rem;
      line-height: 1.7;
      color: var(--th-gray);
      flex: 1;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;
    }

    /* step counter badge top-right */
    .teamHome-homepage__why-mcard-num {
      position: absolute;
      top: 16px; right: 18px;
      font-family: Arial, Helvetica, sans-serif;
      font-size: .75rem;
      font-weight: 700;
      color: var(--th-red);
      opacity: .5;
    }

    /* ── SWIPE CONTROLS ── */
    .teamHome-homepage__why-controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-top: 28px;
    }

    .teamHome-homepage__why-ctrl-btn {
      width: 48px; height: 48px;
      border-radius: 50%;
      border: 2px solid var(--th-red);
      background: #fff;
      color: var(--th-red);
      font-size: 1.1rem;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: background .25s, color .25s, transform .2s;
      flex-shrink: 0;
    }
    .teamHome-homepage__why-ctrl-btn:hover,
    .teamHome-homepage__why-ctrl-btn:active {
      background: var(--th-red);
      color: #fff;
      transform: scale(1.1);
    }

    /* dots */
    .teamHome-homepage__why-dots {
      display: flex;
      gap: 7px;
    }
    .teamHome-homepage__why-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #f0d0d1;
      transition: background .3s, transform .3s, width .3s;
    }
    .teamHome-homepage__why-dot.wh-active {
      background: var(--th-red);
      width: 22px;
      border-radius: 4px;
      transform: none;
    }

    /* ══════════════════════════════════════
       RESPONSIVE BREAKPOINTS
    ══════════════════════════════════════ */
    @media (max-width: 1100px) {
      .teamHome-homepage__why-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 767px) {
      .teamHome-homepage__why {
        padding: 56px 20px 64px;
      }
      /* hide desktop grid, show mobile stack */
      .teamHome-homepage__why-grid   { display: none; }
      .teamHome-homepage__why-mobile { display: block; }

      .teamHome-homepage__why-title  { font-size: 2rem; }
      .teamHome-homepage__why-sub    { margin-bottom: 36px; }
    }