/* ============================================================
   WHY QUBOOLHAI — GSAP Stacked Cards Section
   Standalone CSS — Default: Maroon #701528 | Hover: Blue #00308f (buttons only)
   ============================================================ */

/* ── Root tokens ─────────────────────────────────────────── */
:root {
  --wq-maroon:         #701528;
  --wq-maroon-dark:    #4D0E1B;
  --wq-maroon-light:   #8E2036;
  --wq-blue:           #00308f;
  --wq-blue-dark:      #002070;
  --wq-bg:             #fdf6f8;
  --wq-card-bg:        #ffffff;
  --wq-card-border:    rgba(112, 21, 40, 0.09);
  --wq-card-shadow:    0 28px 64px -18px rgba(80, 10, 20, 0.12),
                       0 0 0 1px rgba(112, 21, 40, 0.05);
  --wq-radius:         24px;
  --wq-badge-radius:   50px;
}

/* ── Section wrapper ─────────────────────────────────────── */
#wq-why-section {
  background: var(--wq-bg);
  padding: 100px 0 0;
  overflow: hidden;
  position: relative;
}

#wq-why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%,
              rgba(112, 21, 40, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Section header ─────────────────────────────────────── */
.wq-header {
  text-align: center;
  margin-bottom: 64px;
}

.wq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(112, 21, 40, 0.07);
  color: var(--wq-maroon);
  border: 1px solid rgba(112, 21, 40, 0.2);
  border-radius: var(--wq-badge-radius);
  padding: 6px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.wq-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--wq-maroon-dark);
  line-height: 1.18;
  margin-bottom: 16px;
}

.wq-title span {
  background: linear-gradient(135deg, #701528 0%, #8E2036 60%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wq-subtitle {
  font-size: 1.05rem;
  color: #000000;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 600;
}

/* ── Cards container ─────────────────────────────────────── */
.wq-cards-container {
  position: relative;
}

/* ── Single card — NO hover effects on the card itself ───── */
.wq-card {
  background: var(--wq-card-bg);
  border: 1px solid var(--wq-card-border);
  border-radius: var(--wq-radius);
  box-shadow: var(--wq-card-shadow);
  padding: 55px 65px;
  margin-bottom: 0;
  will-change: transform;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ── Card top accent stripe — removed ───── */
.wq-card::before {
  display: none !important;
}

@media (max-width: 1199px) {
  .wq-card {
    padding: 44px 40px;
  }
}

@media (max-width: 767px) {
  .wq-card {
    padding: 36px 24px;
  }
}

/* ── Image pane — no hover zoom ─────────────────────────── */
.wq-card-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9.2;
}

.wq-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Badge on image — static maroon */
.wq-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(112, 21, 40, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ── Info pane ───────────────────────────────────────────── */
.wq-card-info {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 991px) {
  .wq-card-info {
    padding-left: 0;
    margin-top: 28px;
  }
}

/* Label — static maroon */
.wq-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wq-maroon);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Card heading — static maroon */
.wq-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--wq-maroon-dark);
  line-height: 1.22;
  margin-bottom: 16px;
}

.wq-card-title strong {
  color: var(--wq-maroon);
}

.wq-card-desc {
  font-size: 0.97rem;
  color: #000000;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Feature chips — static maroon tint */
.wq-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.wq-card-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(112, 21, 40, 0.05);
  border: 1px solid rgba(112, 21, 40, 0.16);
  color: var(--wq-maroon-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.wq-card-features span i {
  color: #22c55e;
  font-size: 0.85rem;
}

/* ── CTA Button — ONLY element with hover effect ─────────── */
.wq-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wq-maroon) 0%, var(--wq-maroon-light) 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(112, 21, 40, 0.3);
  width: fit-content;
}

/* Button hover → Blue */
.wq-card-btn:hover {
  background: linear-gradient(135deg, var(--wq-blue) 0%, var(--wq-blue-dark) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 48, 143, 0.36) !important;
  color: #fff !important;
  border-color: #00308f !important;
}

.wq-card-btn i {
  transition: transform 0.25s ease;
}

.wq-card-btn:hover i {
  transform: translateX(4px);
}

/* ── Number accent — static maroon ghost ─────────────────── */
.wq-card-number {
  position: absolute;
  top: -18px;
  right: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(112, 21, 40, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Mobile stacking tweaks ─────────────────────────────── */
@media (max-width: 991px) {
  #wq-why-section {
    padding: 40px 0 10px !important;
  }

  .wq-cards-bottom-spacer {
    height: 0 !important;
    display: none !important;
  }

  .wq-card {
    margin-bottom: 20px;
    border-radius: 18px;
  }

  .wq-card:last-child {
    margin-bottom: 10px;
  }

  .wq-card-img-wrap {
    aspect-ratio: 16 / 9;
  }
}
