/* ============================================
   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;
}

.why-section.is-visible .why-section__label {
  animation: whyFadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0s forwards;
}

/* --- Torn Paper Cards --- */
.wcu-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: stretch;
  position: relative;
  margin-top: 40px;
  opacity: 0;
}

.why-section.is-visible .wcu-wrap {
  animation: whyFadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}
.paper {
  width: 550px;
  background-size: 1100px 100%;
  padding: 24px 28px 28px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.paper-left {
  clip-path: polygon(
    0 0, 100% 0, 100% 0,
    97% 2%, 100% 4%, 96% 6%, 100% 8%, 95% 10%,
    100% 12%, 96% 14%, 100% 16%, 95% 18%, 99% 20%,
    96% 22%, 100% 24%, 95% 26%, 99% 28%, 96% 30%,
    100% 32%, 95% 34%, 99% 36%, 96% 38%, 100% 40%,
    95% 42%, 99% 44%, 96% 46%, 100% 48%, 95% 50%,
    99% 52%, 96% 54%, 100% 56%, 95% 58%, 99% 60%,
    96% 62%, 100% 64%, 95% 66%, 99% 68%, 96% 70%,
    100% 72%, 95% 74%, 99% 76%, 96% 78%, 100% 80%,
    95% 82%, 99% 84%, 96% 86%, 100% 88%, 95% 90%,
    99% 92%, 96% 94%, 100% 96%, 95% 98%, 100% 100%,
    0 100%
  );
  transform: translateX(30px) rotate(0deg);
  filter: drop-shadow(-4px 6px 12px rgba(0,0,0,0.15));
  z-index: 2;
  background-position: left center;
}

.why-section.is-visible .paper-left {
  animation: tearLeft 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}
.paper-right {
  clip-path: polygon(
    0 0, 100% 0, 100% 100%, 0 100%,
    3% 98%, 0 96%, 4% 94%, 0 92%, 5% 90%,
    0 88%, 4% 86%, 0 84%, 5% 82%, 1% 80%,
    4% 78%, 0 76%, 5% 74%, 1% 72%, 4% 70%,
    0 68%, 5% 66%, 1% 64%, 4% 62%, 0 60%,
    5% 58%, 1% 56%, 4% 54%, 0 52%, 5% 50%,
    1% 48%, 4% 46%, 0 44%, 5% 42%, 1% 40%,
    4% 38%, 0 36%, 5% 34%, 1% 32%, 4% 30%,
    0 28%, 5% 26%, 1% 24%, 4% 22%, 0 20%,
    5% 18%, 1% 16%, 4% 14%, 0 12%, 5% 10%,
    1% 8%, 4% 6%, 0 4%, 5% 2%, 0 0
  );
  transform: translateX(-30px) rotate(0deg);
  filter: drop-shadow(4px 6px 12px rgba(0,0,0,0.15));
  z-index: 1;
  background-position: right center;
}

.why-section.is-visible .paper-right {
  animation: tearRight 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}
.paper-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.tag-gold { background: #E2B95E; color: #3a2800; }
.tag-green { background: #2a6b4a; color: #e8f5ee; }
.paper h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}
.paper-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 20px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.9);
}
.paper-right .paper-desc {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}
.paper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.paper ul li {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 5px rgba(0,0,0,0.9);
}
.paper-right ul li {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.paper ul li:last-child { border-bottom: none; }
.paper ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.paper-left ul li::before { background: #E2B95E; }
.paper-right ul li::before { background: #2a6b4a; }
.paper-stamp {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,0.9);
}
.paper-left .paper-stamp { border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.85); }
.paper-right .paper-stamp { border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.85); }

@keyframes tearLeft {
  0% { transform: translateX(30px) rotate(0deg); }
  25% { transform: translateX(30px) rotate(0deg); }
  100% { transform: rotate(-2deg) translateX(-5px); }
}

@keyframes tearRight {
  0% { transform: translateX(-30px) rotate(0deg); }
  25% { transform: translateX(-30px) rotate(0deg); }
  100% { transform: rotate(2deg) translateX(5px); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1250px) {
  .paper {
    width: 450px;
    background-size: 900px 100%;
    padding: 24px;
  }
  .wcu-wrap { gap: 30px; }
  .paper h3 { font-size: 22px; }
  .paper-desc, .paper ul li { font-size: 15px; }
}

@media (max-width: 1024px) {
  .paper {
    width: 360px;
    background-size: 720px 100%;
    padding: 20px;
  }
  .wcu-wrap { gap: 20px; }
  .paper-tag { font-size: 12px; margin-bottom: 14px; }
  .paper h3 { font-size: 20px; margin-bottom: 10px; }
  .paper-desc { font-size: 14px; margin-bottom: 14px; padding-bottom: 14px; }
  .paper ul li { font-size: 14px; padding: 8px 0 8px 18px; }
  .paper-stamp { font-size: 13px; padding-top: 12px; }
}

@media (max-width: 900px) {
  .wcu-wrap {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .paper-left, .paper-right {
    transform: none !important;
    clip-path: none;
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    animation: none !important;
  }
  .paper-desc, .paper ul li { font-size: 15px; }
  .paper h3 { font-size: 22px; }
}

