/* ==========================================================================
   COMPONENT STYLES - WHY CHOOSE FIRSTADS (PREMIUM SPLIT COMPOSITION)
   ========================================================================== */

.fda-why-section {
  position: relative;
  padding: var(--spacing-section) 0;
  background-color: var(--color-bg-dark);
  overflow: hidden;
  z-index: 10;
}

/* Left Column Styling */
.fda-why-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background-color: rgba(108, 93, 211, 0.08);
  border: 1px solid var(--color-border-glow);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.fda-why-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.fda-why-badge-text {
  color: var(--color-text-light);
  font-size: var(--fs-xs);
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}

.fda-why-title {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  line-height: var(--lh-heading);
  color: var(--color-text-light);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
}

@media (min-width: 992px) {
  .fda-why-title {
    font-size: var(--fs-4xl);
  }
}

.fda-why-desc {
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
  margin-bottom: 0;
}

/* Right Column: Premium Feature Cards (Bento/Grid Style) */
.fda-why-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-smooth);
  overflow: hidden;
  height: 100%;
}

.fda-why-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-bg-panel-hover);
  border: 1px solid var(--color-border-glow);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 1;
  pointer-events: none;
}

.fda-why-card:hover {
  transform: translateY(-4px);
}

.fda-why-card:hover .fda-why-card-hover-overlay {
  opacity: 1;
}

/* Inner Card Container */
.fda-why-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  height: 100%;
}

/* Custom Elegant Icon Box (60x60px) */
.fda-why-card-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(108, 93, 211, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.fda-why-card-icon-wrapper-hover-bg {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 1;
}

.fda-why-card-icon-wrapper svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.fda-why-card:hover .fda-why-card-icon-wrapper-hover-bg {
  opacity: 1;
}

.fda-why-card:hover .fda-why-card-icon-wrapper {
  color: var(--color-always-light);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(108, 93, 211, 0.4);
}

/* Card Content Typography */
.fda-why-card-title {
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xs);
  letter-spacing: -0.01em;
}

.fda-why-card-desc {
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .fda-why-card {
    min-height: 0;
  }


  .fda-why-card-inner {
    gap: 16px;
    padding: 20px 24px;
    align-items: center;
  }

  .fda-why-card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 11px;
  }

  .fda-why-card-icon-wrapper svg {
    width: 21px;
    height: 21px;
  }

  .fda-why-card-title {
    font-size: clamp(1rem, 0.92rem + 0.25vw, 1.125rem);
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .fda-why-card-desc {
    font-size: clamp(0.92rem, 0.88rem + 0.12vw, 0.98rem);
    line-height: 1.45;
  }

  .fda-why-card:hover {
    transform: translateY(-3px);
  }
}

/* Hide chevron arrow on desktop viewports to keep desktop 100% untouched */
.fda-why-card-arrow {
  display: none;
}

/* Mobile Feature Card Layout Overrides (Aligned to Reference Mockup) */
@media (max-width: 991.98px) {
  .fda-why-card-inner {
    align-items: center !important; /* Vertically center icon, content, and arrow */
    padding: var(--spacing-xs) !important; /* More compact padding on mobile */
  }
.fda-why-card-title{
  font-size: var(--fs-sm);
}
.fda-why-card-desc{
  font-size: var(--fs-xs);

}
  .fda-why-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8C7CFF; /* Elegant purple arrow color */
    width: 24px;
    height: 24px;
    margin-left: auto; /* Push arrow to the far right */
    align-self: center;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .fda-why-card-arrow svg {
    width: 14px;
    height: 14px;
  }

  /* Highlight Card 6 style (Long-Term Growth Partnership) */
  .fda-why-card-highlight {
    border-color: #6C5DD3 !important; /* Solid purple border */
    box-shadow: 0 0 15px rgba(108, 93, 211, 0.15) !important;
  }

  .fda-why-card-highlight .fda-why-card-icon-wrapper {
    background-color: #6C5DD3 !important; /* Solid purple background for icon wrapper */
    color: #FFF !important; /* White icon color */
    border-color: #6C5DD3 !important;
    box-shadow: 0 0 15px rgba(108, 93, 211, 0.4) !important;
  }

  .fda-why-card-highlight .fda-why-card-arrow {
    background-color: #6C5DD3 !important; /* Solid purple background for circular button */
    color: #FFF !important; /* White chevron */
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
  }

  .fda-why-card-highlight .fda-why-card-arrow svg {
    width: 12px !important;
    height: 12px !important;
  }
}
