/* ==========================================================================
   KHEE KHEE - SECTION 11: WHY KHEE KHEE?
   Ultra-Compact 6-Pillar Operational Grid:
   Centered Header with Tagline Pill, 3x2 Compact Glassmorphic Cards,
   Micro-animations, Subtle Radial Glows, Tight Vertical Rhythm.
   ========================================================================== */

.why-kheekhee-section {
  position: relative;
  padding: 165px 0;
  background: linear-gradient(180deg, #07090E 0%, #0A0F1D 50%, #07090E 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Ambient Radial Glow */
.why-kheekhee-section::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 420px;
  background: radial-gradient(circle, rgba(26, 47, 160, 0.16) 0%, rgba(56, 189, 248, 0.04) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

/* ==========================================================================
   CENTERED SECTION HEADER
   ========================================================================== */
.why-kheekhee-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.why-kheekhee-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.why-kheekhee-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.why-kheekhee-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  max-width: 740px;
}

/* Floating Tagline Pill */
.why-kheekhee-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 20px;
  background: rgba(14, 21, 38, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--border-radius-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.1);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.why-kheekhee-tagline-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.18);
}

.why-kheekhee-tagline-pill .tagline-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  flex-shrink: 0;
  animation: whyPulseDot 2.2s infinite ease-in-out;
}

@keyframes whyPulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
    box-shadow: 0 0 14px #38BDF8;
  }
}

.why-kheekhee-tagline-pill .tagline-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: -0.01em;
}

.why-kheekhee-tagline-pill .tagline-text strong {
  color: #38BDF8;
  font-weight: 700;
}

/* ==========================================================================
   ELEGANT 3x2 PILLAR GRID
   ========================================================================== */
.why-kheekhee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.why-pillar-card {
  position: relative;
  background: rgba(14, 21, 38, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease;
  overflow: hidden;
}

.why-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.why-pillar-card:hover {
  transform: translateY(-3px);
  background: rgba(17, 26, 48, 0.88);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
}

.why-pillar-card:hover::before {
  opacity: 1;
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38BDF8;
  transition: transform 0.22s ease, background 0.22s ease;
}

.why-pillar-card:hover .pillar-icon-box {
  transform: scale(1.08);
  background: rgba(56, 189, 248, 0.2);
}

.pillar-index {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.04em;
}

.why-pillar-card:hover .pillar-index {
  color: #94A3B8;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin: 0;
}

.pillar-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SCROLL REVEAL & INTERACTIVE MOTION
   ========================================================================== */
.why-kheekhee-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-kheekhee-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile Stacking & Sizing Parity)
   ========================================================================== */
@media (max-width: 1024px) {
  .why-kheekhee-section {
    padding: 120px 0;
  }

  .why-kheekhee-header {
    margin-bottom: 48px;
  }

  .why-kheekhee-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .why-kheekhee-section {
    padding: 95px 0;
  }

  .why-kheekhee-header {
    margin-bottom: 38px;
    gap: 6px;
  }

  .why-kheekhee-title {
    font-size: 1.85rem;
  }

  .why-kheekhee-desc {
    font-size: 0.92rem;
  }

  .why-kheekhee-tagline-pill {
    padding: 8px 16px;
  }

  .why-kheekhee-tagline-pill .tagline-text {
    font-size: 0.82rem;
  }

  .why-kheekhee-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-pillar-card {
    padding: 22px 20px 20px;
    gap: 10px;
  }

  .pillar-title {
    font-size: 1.05rem;
  }

  .pillar-desc {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-kheekhee-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .why-kheekhee-tagline-pill .tagline-pulse-dot {
    animation: none !important;
  }

  .why-pillar-card {
    transition: none !important;
    transform: none !important;
  }
}