/* ============================================
   Why Choose Us Section — Lanka Tour Driver
   ============================================ */

/* --- Keyframes --- */
@keyframes whyFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section --- */
.why-section {
  background: #F2F8FA;
  padding: 70px 0 80px;
  position: relative;
}

/* Decorative top separator line */
.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 139, 139, 0.15), transparent);
}

/* --- Container --- */
.why-section__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

/* --- Section Label --- */
.why-section__label {
  display: block;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #008B8B;
  margin-bottom: 36px;
  opacity: 0;
  animation: whyFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0s forwards;
}

/* --- Grid --- */
.why-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* --- Card Base --- */
.why-section__card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: whyFadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-section__card:nth-child(1) {
  animation-delay: 0.1s;
}

.why-section__card:nth-child(2) {
  animation-delay: 0.25s;
}

/* Top accent strip */
.why-section__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.why-section__card--teal::before {
  background: linear-gradient(135deg, #008B8B, #20B2AA);
}

.why-section__card--coral::before {
  background: linear-gradient(135deg, #FF7F50, #FF9A76);
}

/* Card hover */
.why-section__card--teal:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 139, 139, 0.08);
}

.why-section__card--coral:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 127, 80, 0.08);
}

.why-section__card:hover .why-section__icon {
  transform: scale(1.1);
}

/* --- Card Title --- */
.why-section__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1A3A52;
  line-height: 1.35;
  margin: 0 0 10px;
}

/* --- Card Subtitle --- */
.why-section__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(74, 106, 122, 0.75);
  margin: 0 0 22px;
}

/* --- List --- */
.why-section__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-section__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.why-section__list-item:last-child {
  border-bottom: none;
}

/* --- Icon --- */
.why-section__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-section__icon--teal {
  background: rgba(0, 139, 139, 0.07);
  color: #008B8B;
}

.why-section__icon--coral {
  background: rgba(255, 127, 80, 0.07);
  color: #FF7F50;
}

.why-section__icon svg {
  width: 14px;
  height: 14px;
}

/* --- List Text --- */
.why-section__list-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1A3A52;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
  .why-section__container {
    padding: 0 40px;
  }

  .why-section__card {
    padding: 28px 24px;
  }
}

@media (max-width: 900px) {
  .why-section__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .why-section {
    padding: 50px 0;
  }

  .why-section__container {
    padding: 0 24px;
  }

  .why-section__card {
    padding: 24px 20px;
  }

  .why-section__title {
    font-size: 18px;
  }

  .why-section__subtitle {
    font-size: 12.5px;
  }

  .why-section__list-text {
    font-size: 13px;
  }

  .why-section__list-item {
    min-height: 44px;
  }
}
