/* ============================================================
   iTUKcare — Wills Page Specific Stylesheet (wills.css)
   Contains ONLY unique components specific to the Wills page.
   Hero banner layout/typography live in style.css.
   ============================================================ */

.decor-wills-hero-bottom-left {
  position: absolute;
  bottom: 25px;
  left: -15px;
  width: 130px;
  max-width: 15vw;
  z-index: 1;
  pointer-events: none;
}

.decor-wills-hero-bottom-left .decor-img {
  animation: floatLeafServicesLeft 5s ease-in-out infinite alternate;
  will-change: transform;
}

/* ============================================================
   2. HIGHLIGHT CARDS SECTION (4 Cards - Unified with .feature-card from style.css)
   ============================================================ */
.wills-highlights-section {
  background: var(--cream);
  padding: 55px 0 35px;
}

.feature-card-icon .wills-card-icon-img {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain;
  transition: transform var(--transition);
}

.feature-card:hover .wills-card-icon-img {
  transform: scale(1.08);
}

/* ============================================================
   3. WHAT IS WILL SECTION
   ============================================================ */
.wills-about-section {
  background: var(--cream);
  padding: 30px 0 35px;
}

.wills-definition-card {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0px 0px 11.52px 0.48px rgba(0, 0, 0, 0.08);
  padding: 36px 44px;
  max-width: 1040px;
  margin: 36px auto 0;
  text-align: left;
}

.wills-definition-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
}

/* ============================================================
   4. PLAN DETAILS SECTION
   ============================================================ */
.wills-plans-section {
  background: var(--cream);
  padding: 25px 0 50px;
}

.wills-plans-wrapper {
  max-width: 880px;
  margin: 0 auto;
}

.wills-plans-title {
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--teal);
  text-align: left;
  margin: 0 0 14px 4px;
  letter-spacing: -0.3px;
}

.wills-plan-table-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.04);
  border: 1.5px solid var(--sand-border);
  background: #faefe2;
}

.wills-plan-header {
  display: flex;
  background: var(--teal);
  color: #ffffff;
}

.wills-plan-header-col {
  flex: 1;
  text-align: center;
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.wills-plan-header-col:first-child {
  border-right: 1.5px solid rgba(255, 255, 255, 0.2);
}

.wills-plan-body {
  display: flex;
  background: #faefe2;
}

.wills-plan-body-col {
  flex: 1;
  text-align: center;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.wills-plan-body-col:first-child {
  border-right: 1.5px solid var(--sand-border);
}

.wills-plan-tier {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.wills-plan-buy-link {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--coral);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color var(--transition), transform var(--transition);
}

.wills-plan-buy-link:hover {
  color: var(--teal);
  transform: translateY(-1px);
}

.wills-plan-buy-link.disabled,
.wills-plan-buy-link[aria-disabled="true"] {
  cursor: not-allowed;
  pointer-events: none;
  color: #6c6c6c;
  transform: none !important;
}

/* ============================================================
   5. WHAT INFORMATION DO YOU NEED SECTION
   ============================================================ */
.wills-info-section {
  background: var(--cream);
  padding: 30px 0 60px;
  position: relative;
  overflow: hidden;
}

.decor-wills-info-right {
  position: absolute;
  top: 120px;
  right: -15px;
  width: 140px;
  max-width: 14vw;
  z-index: 1;
  pointer-events: none;
}

.decor-wills-info-right .decor-img {
  animation: floatLeafAbout 5.6s ease-in-out infinite alternate;
  will-change: transform;
}

.wills-info-grid {
  margin-top: 36px;
  position: relative;
  z-index: 2;
}

.wills-info-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0px 0px 11.52px 0.48px rgba(0, 0, 0, 0.08);
  padding: 32px 28px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wills-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(17, 88, 88, 0.12);
}

.wills-info-icon-badge {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.wills-info-icon-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform var(--transition);
}

.wills-info-card:hover .wills-info-icon-img {
  transform: scale(1.06);
}

.wills-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.wills-info-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: #ffffff;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.wills-info-title {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--teal);
  margin: 0;
  line-height: 1.3;
}

.wills-info-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  margin: 0 0 16px;
  line-height: 1.4;
}

.wills-info-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wills-info-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 10px;
}

.wills-info-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75;
}

.wills-info-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 3px;
}

.wills-info-list li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--text-dark);
  font-size: 14px;
}

.wills-info-callout {
  margin-top: 18px;
  background: rgba(17, 88, 88, 0.08);
  border-left: 3.5px solid var(--teal);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}

.wills-callout-icon {
  font-size: 17px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   6. WHY IS IT IMPORTANT TO HAVE A WILL SECTION
   ============================================================ */
.wills-why-section {
  background: var(--cream);
  padding: 35px 0 60px;
  position: relative;
  overflow: hidden;
}

.decor-wills-why-left {
  position: absolute;
  top: 160px;
  left: -15px;
  width: 140px;
  max-width: 15vw;
  z-index: 1;
  pointer-events: none;
}

.decor-wills-why-left .decor-img {
  animation: floatLeafServicesLeft 5.2s ease-in-out infinite alternate;
  will-change: transform;
}

.wills-why-list {
  max-width: 1120px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.wills-why-item {
  background: #faefe2;
  border-radius: 22px;
  border: 1.5px solid rgba(226, 210, 193, 0.7);
  padding: 14px 28px 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.wills-why-item:hover {
  background: #fbf3e9;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(17, 88, 88, 0.08);
}

.wills-why-left-col {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.wills-why-icon-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wills-why-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform var(--transition);
}

.wills-why-item:hover .wills-why-icon-img {
  transform: scale(1.08);
}

.wills-why-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--teal);
  color: #ffffff;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.wills-why-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--teal);
  margin: 0;
  line-height: 1.35;
}

.wills-why-divider {
  width: 1.5px;
  align-self: stretch;
  background: #dfcfbc;
  flex-shrink: 0;
  min-height: 44px;
}

.wills-why-right-col {
  flex: 1;
  display: flex;
  align-items: center;
}

.wills-why-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2c2c2c;
  line-height: 1.55;
  margin: 0;
}

.wills-highlight-coral {
  color: var(--coral);
  font-weight: 700;
}

/* ============================================================
   7. HOW IT WORKS SECTION
   ============================================================ */
.wills-how-section {
  background: var(--cream);
  padding: 40px 0 70px;
  position: relative;
}

.decor-wills-how-right {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 140px;
  max-width: 15vw;
  z-index: 1;
  pointer-events: none;
}

.decor-wills-how-right .decor-img {
  animation: floatLeafPartner 5.4s ease-in-out infinite alternate;
  will-change: transform;
}

.wills-how-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  max-width: 1140px;
  margin: 50px auto 0;
  position: relative;
  z-index: 2;
}

.wills-how-item {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wills-how-icon-wrapper {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wills-how-icon-circle {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  overflow: hidden;
  background: #faefe2;
  box-shadow: 0 6px 20px rgba(17, 88, 88, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wills-how-item:hover .wills-how-icon-circle {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 88, 88, 0.12);
}

.wills-how-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.wills-how-item:hover .wills-how-icon-img {
  transform: scale(1.05);
}

.wills-how-num {
  position: absolute;
  top: 0px;
  left: -20px;
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(17, 88, 88, 0.25);
}

.wills-how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 52px;
  flex-shrink: 0;
  color: #718096;
}

.wills-how-title {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 10px;
  line-height: 1.3;
}

.wills-how-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* ==========================================================================
   Section 8: CTA Banner ("A small step today can secure your loved ones")
   ========================================================================== */
.wills-banner-section {
  padding: 30px 0 60px;
  position: relative;
  z-index: 2;
}

.decor-wills-banner-left {
  position: absolute;
  top: -30px;
  left: -20px;
  width: 140px;
  pointer-events: none;
  z-index: 2;
  transform: rotate(240deg) !important;
  transform-origin: center center;
}

.decor-wills-banner-left .decor-img {
  animation: floatLeafBannerLeft 5.5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatLeafBannerLeft {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(3deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.wills-journey-card {
  background: #faefe2;
  border: 1.5px solid var(--sand-border);
  border-radius: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(17, 88, 88, 0.06);
  z-index: 2;
  min-height: 320px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wills-journey-card:hover {
  box-shadow: 0 12px 36px rgba(17, 88, 88, 0.1);
}

.wills-journey-photo-col {
  flex: 0 0 40%;
  max-width: 440px;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  display: flex;
}

.wills-journey-family-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wills-journey-content {
  flex: 1;
  padding: 40px 50px 40px 36px;
  position: relative;
  z-index: 2;
}

.wills-journey-title {
  font-family: 'Effra Trial', 'Effra', 'Poppins', sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.22;
}

.wills-journey-sub {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-dark);
  margin-bottom: 26px;
  font-weight: 500;
  line-height: 1.5;
}

.wills-journey-actions {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Section 9: Frequently Asked Questions for Wills
   ========================================================================== */
.wills-faq-section {
  padding: 40px 0 80px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.wills-faq-wrapper {
  margin: 36px auto 0;
  position: relative;
  z-index: 2;
}

.wills-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wills-faq-item {
  background: #ffffff;
  border: 1.5px solid #dedede;
  border-top: 1.5px solid #dedede !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wills-faq-item:hover {
  border-color: #c0c0c0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.wills-faq-item .accordion-button {
  background: #ffffff !important;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  padding: 20px 28px;
  border-radius: 16px !important;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wills-faq-item .accordion-button:not(.collapsed) {
  background: #ffffff !important;
  color: #1a1a1a !important;
  box-shadow: none;
  padding-bottom: 10px;
}

.wills-faq-item .accordion-button .faq-num {
  font-weight: 700;
  color: #1a1a1a;
}

.wills-faq-item .accordion-button .faq-question {
  flex: 1;
}

.wills-faq-body {
  padding: 0 28px 22px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: #333333;
  line-height: 1.65;
  background: #ffffff;
}

.wills-faq-prefix {
  color: var(--coral);
  font-weight: 800;
  margin-right: 4px;
}

.wills-faq-highlight {
  color: var(--teal);
  font-weight: 700;
}

.wills-faq-sublist {
  margin-top: 6px;
  padding-left: 18px;
  line-height: 1.65;
}