/* ==========================================================================
   HEALEN HOME-03 SECTIONS: STORIES-02 (TESTIMONIALS/REVIEWS), FAQS-02, CTA
   Exact visual match, eagle-eye animations, responsive layout & hover effects
   Unified in crisp "Logo White" (#ffffff) background matching DR. AK CLINIC
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTS & ROOT TOKENS SCOPE (LOGO WHITE THEME)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Helveticanowdisplay';
  src: url('../fonts/HelveticaNowDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helveticanowdisplay';
  src: url('../fonts/HelveticaNowDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helveticanowdisplay';
  src: url('../fonts/HelveticaNowDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --healen-bg: #ffffff;
  --healen-dawn-pink: #ffffff;
  --healen-black: #020202;
  --healen-grey: #64748b;
  --healen-primary: #e4ff60;
  --healen-white: #ffffff;
  --healen-black-10: rgba(2, 2, 2, 0.08);
  --healen-black-20: rgba(2, 2, 2, 0.16);
  --healen-border-light: #e2e8f0;
  --healen-font: 'Helveticanowdisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   1. BUTTON-01 WITH ROLLING TEXT HOVER EFFECT
   -------------------------------------------------------------------------- */
.healen-btn-01 {
  background-color: var(--healen-primary) !important;
  font-family: var(--healen-font) !important;
  color: var(--healen-black) !important;
  font-size: 16px !important;
  line-height: 140% !important;
  font-weight: 500 !important;
  letter-spacing: -0.32px !important;
  border-radius: 50px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 18px 44px !important;
  text-decoration: none !important;
  transition: color 0.35s ease, background-color 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  display: inline-flex !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
}

.healen-btn-01:hover {
  background-color: var(--healen-black) !important;
  color: var(--healen-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.healen-btn-outside {
  height: 22px;
  overflow: hidden;
  position: relative;
  display: block;
}

.healen-btn-inside {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.healen-btn-01:hover .healen-btn-inside {
  transform: translateY(-22px);
}

.healen-btn-text {
  height: 22px;
  line-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. STORIES-02 (TESTIMONIALS / REVIEWS SLIDER) - WHITE BACKGROUND
   -------------------------------------------------------------------------- */
.stories-02.container-full {
  padding-top: 110px;
  padding-bottom: 110px;
  background-color: #ffffff !important;
  position: relative;
  width: 100%;
  overflow: hidden;
  scroll-margin-top: 100px;
  box-sizing: border-box;
  border-top: 1px solid #f1f5f9;
}

.stories-02 .container-fluid.for-works {
  width: 100%;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.stories-content-02 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
}

.stories-title-02 {
  width: 100%;
  max-width: 320px;
  font-family: var(--healen-font);
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.96px;
  font-weight: 500;
  color: var(--healen-black);
  margin: 0;
  opacity: 1;
}

.stories-slider-02 {
  width: 100%;
  max-width: 764px;
  background-color: #ffffff;
  position: relative;
  opacity: 1;
}

.stories-slides-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 440px;
}

.stories-slide-track {
  display: block;
  position: relative;
  width: 100%;
  min-height: 440px;
}

.stories-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
}

.stories-slide-item.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

.stories-item-02 {
  display: flex;
  flex-direction: column;
  gap: 36px;
  background-color: #ffffff !important;
  width: 100%;
}

.stories-item-head-02 {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: #ffffff !important;
  width: 100%;
}

.stories-item-thumb {
  width: 100%;
  max-width: 302px;
  height: 254px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.stories-item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.stories-item-02:hover .stories-item-thumb-img {
  transform: scale(1.05);
}

.stories-item-text-02 {
  font-family: var(--healen-font);
  font-size: 32px;
  line-height: 125%;
  letter-spacing: -0.64px;
  font-weight: 500;
  color: var(--healen-black);
  max-width: 720px;
  margin: 0;
}

.stories-item-info-02 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
}

.stories-item-info-title-02 {
  font-family: var(--healen-font);
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.48px;
  font-weight: 500;
  color: var(--healen-black);
  margin: 0;
}

.stories-item-info-text-02 {
  font-family: var(--healen-font);
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.32px;
  font-weight: 400;
  color: var(--healen-grey);
}

/* Slider Controls (Bottom Right Circles) */
.stories-slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
}

.stories-arrow {
  border: 1px solid rgba(2, 2, 2, 0.15);
  border-radius: 50px;
  width: 46px;
  height: 46px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  user-select: none;
  outline: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stories-arrow:hover {
  background-color: #f1f5f9;
  border-color: rgba(2, 2, 2, 0.35);
  transform: scale(1.06);
}

.stories-arrow:active {
  transform: scale(0.96);
}

.stories-arrow img,
.works-arrow-ico {
  width: 14px;
  height: 14px;
  display: block;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. FAQS-02 (FREQUENTLY ASKED QUESTIONS ACCORDION) - WHITE BACKGROUND
   -------------------------------------------------------------------------- */
.faqs-02.container-full {
  padding-top: 110px;
  padding-bottom: 110px;
  background-color: #ffffff !important;
  position: relative;
  width: 100%;
  scroll-margin-top: 100px;
  box-sizing: border-box;
  border-top: 1px solid #f1f5f9;
}

.faqs-02 .container-fluid {
  width: 100%;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.faqs-content {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
}

.support-title.heading-01 {
  font-family: var(--healen-font);
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.96px;
  font-weight: 500;
  color: var(--healen-black);
  text-align: center;
  margin: 0 0 56px 0;
  opacity: 1;
}

.faqs-list-wrapper {
  width: 100%;
  max-width: 1064px;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
}

.faqs-list._02 {
  display: flex;
  flex-flow: column;
  gap: 16px;
  width: 100%;
}

.faq-body {
  width: 100%;
}

.faq-qa._02 {
  width: 100%;
  padding: 30px 36px;
  border: 1px solid var(--healen-border-light) !important;
  border-radius: 20px;
  background-color: #ffffff !important;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.25s ease;
}

.faq-qa._02 {
  cursor: pointer;
}

.faq-qa._02:hover {
  border-color: #94a3b8 !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.faq-qa._02.is-open {
  border-color: var(--healen-black) !important;
  background-color: #ffffff !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
}

.faqs-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  user-select: none;
  outline: none;
}

.faqs-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.faq-question-right.heading-05 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--healen-black);
}

.faq-question-text {
  font-family: var(--healen-font);
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.48px;
  font-weight: 500;
  color: var(--healen-black);
  transition: color 0.3s ease;
}

.faq-qa._02:hover .faq-question-text {
  color: #000000;
}

.plus-minus-wrap {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.faq-plus,
.faq-minus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq-minus {
  opacity: 0;
  transform: rotate(0deg);
}

.faq-qa._02.is-open .faq-plus {
  opacity: 0 !important;
  transform: rotate(180deg) !important;
}

.faq-qa._02.is-open .faq-minus {
  opacity: 1 !important;
  transform: rotate(180deg) !important;
}

.faq-answers-wrap {
  width: 100% !important;
  max-height: 0px !important;
  height: 0px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.faq-qa._02.is-open .faq-answers-wrap {
  max-height: 500px !important;
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.faq-anwer-thumb-wrap.p1-regular {
  padding-top: 18px;
  font-family: var(--healen-font);
  font-size: 18px;
  line-height: 155%;
  letter-spacing: -0.36px;
  color: var(--healen-grey);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   4. CTA SECTION - RESTORED FULL-CONTRAST CINEMATIC PHOTO BACKGROUND
   -------------------------------------------------------------------------- */
.cta.container-full {
  height: auto;
  min-height: 580px;
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #090d10 !important;
  scroll-margin-top: 80px;
  box-sizing: border-box;
  border-top: none;
}

.cta .container-fluid {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.cta-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

/* Online Video Consultation Availability Badge */
.cta-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  padding: 8px 22px;
  font-family: var(--healen-font);
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.cta-tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e4ff60;
  box-shadow: 0 0 10px #e4ff60;
  display: inline-block;
  animation: cta-pulse 2s infinite ease-in-out;
}

@keyframes cta-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.65; }
}

.cta-title.heading-01 {
  font-family: var(--healen-font);
  font-size: 52px;
  line-height: 118%;
  letter-spacing: -1.04px;
  font-weight: 500;
  color: #ffffff !important;
  text-align: center;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75) !important;
  opacity: 1;
}

.cta-subtitle {
  font-family: var(--healen-font);
  font-size: 19px;
  line-height: 155%;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: -8px 0 0;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

/* Dual-Action Buttons: In-Clinic Appointment & Video Consultation */
.cta-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 8px;
}

/* Secondary Button: Book a Video Call */
.healen-btn-video {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  font-family: var(--healen-font) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 140% !important;
  font-weight: 500 !important;
  letter-spacing: -0.32px !important;
  border-radius: 50px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 17px 36px !important;
  text-decoration: none !important;
  transition: all 0.35s ease !important;
  display: inline-flex !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  gap: 12px !important;
}

.healen-btn-video svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.healen-btn-video:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #020202 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;
}

.healen-btn-video:hover svg {
  transform: scale(1.1);
}

.healen-btn-video svg path {
  stroke: currentColor;
}

.healen-btn-video:hover svg path {
  stroke: #020202;
}

/* Eagle-Eye Zoom Out & Parallax Effect for CTA Background */
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  transform: scale(1.15);
  filter: blur(0px) contrast(106%) brightness(0.85);
  opacity: 0.88;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease, opacity 1s ease;
  will-change: transform, filter, opacity;
  pointer-events: none;
}

.cta.is-zoomed .cta-bg {
  transform: scale(1);
  filter: blur(0px) contrast(106%) brightness(0.85);
  opacity: 0.94;
}

/* Deep cinematic vignette overlay ensuring ultra-crisp white text readability */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(12, 17, 23, 0.48) 0%, rgba(6, 9, 13, 0.82) 100%);
  z-index: 2;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .stories-content-02 {
    flex-direction: column;
    gap: 40px;
  }

  .stories-title-02 {
    max-width: 100%;
    font-size: 38px;
  }

  .stories-slider-02 {
    max-width: 100%;
  }

  .stories-item-text-02 {
    font-size: 26px;
  }

  .faq-qa._02 {
    padding: 24px 28px;
  }

  .faq-question-text {
    font-size: 20px;
  }

  .cta.container-full {
    min-height: 480px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta-title.heading-01 {
    font-size: 38px;
  }
}

@media screen and (max-width: 767px) {
  .stories-02.container-full,
  .faqs-02.container-full,
  .cta.container-full {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .stories-title-02,
  .support-title.heading-01,
  .cta-title.heading-01 {
    font-size: 32px;
  }

  .stories-item-thumb {
    max-width: 100%;
    height: 220px;
  }

  .stories-item-text-02 {
    font-size: 20px;
  }

  .stories-slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    position: static;
    margin-top: 24px;
    width: 100%;
  }

  .stories-slider-controls .stories-arrow {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
  }

  .faq-qa._02 {
    padding: 20px 20px;
    border-radius: 14px;
  }

  .faq-question-text {
    font-size: 17px;
  }

  .faq-anwer-thumb-wrap.p1-regular {
    font-size: 15px;
  }

  .cta-content {
    gap: 24px;
  }

  .cta-tag-badge {
    font-size: 13px;
    padding: 7px 16px;
    line-height: 1.4;
  }

  .cta-actions-group {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .cta-actions-group .healen-btn-01,
  .cta-actions-group .healen-btn-video {
    width: 100% !important;
    max-width: 340px;
    box-sizing: border-box !important;
  }
}
