/**
 * Core Advantages / Why Choose Us Section Styles — Web Techiq Official
 * Developed by MH Badhon Ahmed (Web Techiq)
 */

.web-techiq-why-choose-section {
  padding: var(--wt-why-pad-top, 80px) 0 var(--wt-why-pad-bottom, 80px);
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Perfect Section Finishing Top & Bottom Dividers */
.web-techiq-why-choose-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 107, 0, 0.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.web-techiq-why-choose-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(226, 232, 240, 0.85) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* Header */
.why-choose-header {
  text-align: center;
  margin-bottom: 50px;
}

.why-pill-badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.1);
  color: #d97706;
  border: 1px solid rgba(255, 152, 0, 0.25);
  border-radius: 50px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  margin-bottom: 16px;
}

.why-choose-title {
  font-family: var(--wt-heading-font-family, 'Outfit', sans-serif);
  font-size: 38px;
  font-weight: 800;
  color: var(--wt-heading-color, #0d1b2a);
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.why-choose-title .title-highlight {
  color: var(--wt-primary-color, #ff6b00);
  background: linear-gradient(135deg, #ff6b00 0%, #ff9f00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-choose-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wt-body-color, #64748b);
  max-width: 680px;
  margin: 0 auto;
}

/* Feature Cards Grid Layout */
.why-cards-grid {
  display: grid;
  column-gap: var(--why-gap-h-desktop, 28px);
  row-gap: var(--why-gap-v-desktop, 28px);
}

/* Desktop Grid Columns */
.web-techiq-why-choose-section[data-cols-desktop="1"] .why-cards-grid { grid-template-columns: 1fr; }
.web-techiq-why-choose-section[data-cols-desktop="2"] .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
.web-techiq-why-choose-section[data-cols-desktop="3"] .why-cards-grid { grid-template-columns: repeat(3, 1fr); }
.web-techiq-why-choose-section[data-cols-desktop="4"] .why-cards-grid { grid-template-columns: repeat(4, 1fr); }
.web-techiq-why-choose-section[data-cols-desktop="5"] .why-cards-grid { grid-template-columns: repeat(5, 1fr); }
.web-techiq-why-choose-section[data-cols-desktop="6"] .why-cards-grid { grid-template-columns: repeat(6, 1fr); }

/* Feature Card Item */
.why-card-item {
  border-radius: 20px;
  padding: 30px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Card Style 1: Clean White Card */
.why-card-item.style-white {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.why-card-item.style-white:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(255, 107, 0, 0.18);
}

/* Card Style 2: Warm Gold Highlighted Card */
.why-card-item.style-gold {
  background: rgba(255, 253, 245, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(253, 230, 138, 0.9);
  box-shadow: 0 12px 35px -10px rgba(245, 158, 11, 0.16);
}

.why-card-item.style-gold:hover {
  background: #fffdf5;
  border-color: #f59e0b;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(245, 158, 11, 0.28);
}

/* Card Icon Box */
.why-card-icon-wrap {
  margin-bottom: 20px;
}

.why-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.why-card-item:hover .why-card-icon {
  background: linear-gradient(135deg, #ff6b00 0%, #f59e0b 100%);
  color: #ffffff;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

/* Card Typography */
.why-card-title {
  font-family: var(--wt-heading-font-family, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.why-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ── Responsive Layout Queries ─────────────────────────────────────── */
@media (max-width: 1199px) {
  .why-cards-grid {
    column-gap: var(--why-gap-h-tablet, 20px);
    row-gap: var(--why-gap-v-tablet, 20px);
  }

  .web-techiq-why-choose-section[data-cols-tablet="1"] .why-cards-grid { grid-template-columns: 1fr; }
  .web-techiq-why-choose-section[data-cols-tablet="2"] .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .web-techiq-why-choose-section[data-cols-tablet="3"] .why-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .web-techiq-why-choose-section[data-cols-tablet="4"] .why-cards-grid { grid-template-columns: repeat(4, 1fr); }
  
  .why-choose-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .why-choose-header {
    margin-bottom: 35px;
  }

  .why-choose-title {
    font-size: 26px;
  }

  .why-choose-subtitle {
    font-size: 14px;
  }

  .web-techiq-why-choose-section[data-cols-mobile="1"] .why-cards-grid { grid-template-columns: 1fr; }
  .web-techiq-why-choose-section[data-cols-mobile="2"] .why-cards-grid { grid-template-columns: repeat(2, 1fr); }

  .why-cards-grid {
    column-gap: var(--why-gap-h-mobile, 16px);
    row-gap: var(--why-gap-v-mobile, 16px);
  }

  .why-card-item {
    padding: 24px 18px;
  }

  .why-card-title {
    font-size: 16px;
  }

  .why-card-desc {
    font-size: 13px;
  }
}



