/* General styles */
html {
  scroll-behavior: smooth;
}

/* ── Custom Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #f0eeec;
}

::-webkit-scrollbar-thumb {
  background-color: #4F1713;
  border-radius: 10px;
  border: 2px solid #f0eeec;
  transition: backgnround-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #3a100e;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #4F1713 #f0eeec;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mobile hero styles → responsive.css */

body {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-color: #F5F4F3;
}

.main-placeholder {
  /* old .main block moved to footer section above */
}





.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Animatable background layer */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140%;
  background-image: url('hero-1920.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  /* NO CSS animation — JS controls transform to avoid conflict with parallax */
  will-change: transform;
  z-index: 0;
}

/* Responsive hero images */
@media (min-width: 1920px) {
  .hero-bg {
    background-image: url('hero-1920.png');
  }
}

@media (min-width: 2560px) {
  .hero-bg {
    background-image: url('hero-2560.png');
  }
}

@keyframes heroZoomOut {
  from { transform: scale(1.08); }
  to   { transform: scale(1);    }
}

.logo-container {
  position: absolute;
  top: 43px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo {
  width: 255px;
  height: 143px;
  object-fit: cover;
}

/* Content Positioning */
.hero-content {
  color: white;
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: max-content;
  max-width: 90%;
}

/* Hero entrance — staggered on page load */
.hero-content h1 {
  opacity: 0;
  animation: headingSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.hero-content p {
  opacity: 0;
  animation: headingSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
.hero-content .cta-button {
  opacity: 0;
  animation: headingSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.hero h1 {
  font-family: 'Libre Baskerville', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.3;

  margin-bottom: 20px;
  color: #FFF;
  font-family: "Libre Baskerville", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.96px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 60px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;

  color: #FFF;
  font-family: "Work Sans";
  font-size: 16px;
  letter-spacing: -0.48px;
}

/* Button Styling */
.cta-button {
  /* padding: 15px 90px; */
  background-color: #F5F4F3;
  width: 447px;
  padding: 15px 24px;
  /* height: 43px; */
  font-family: 'Work Sans', sans-serif;
  border: 1.5px solid #000000;
  color: #1C1B1B;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  display: flex;
  margin: 0 auto;
}

.cta-button:hover {
  background-color: #CCC4C4;
  color: #602622;
  border-color: #602622;
}

.cta-button:active,
.cta-button.selected {
  background-color: #602622;
  color: #F5F4F3;
  border-color: #602622;
}

/* Custom Hamburger Menu Icon */
.menu-icon {
  position: absolute;
  top: 50px;
  left: 50px;
  cursor: pointer;
  z-index: 11;
  width: 35px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 4px;
  background-color: #602622;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-icon:hover .hamburger-line {
  background-color: #602622;
}

/* Sticky Header */
.sticky-header {
  position: fixed;
  top: -200px;
  height: 60px;
  left: 0;
  width: 100%;
  background-color: #ebebeb;
  z-index: 999;
  transition: top 0.3s ease-in-out;
  padding: 11px 22px 11px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-header.visible {
  top: 0;
}

.sticky-header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sticky-menu-icon {
  cursor: pointer;
  width: 35px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sticky-hamburger-line {
  width: 100%;
  height: 4px;
  background-color: #4F1713;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sticky-menu-icon:hover .sticky-hamburger-line {
  background-color: #3d1210;
}

.sticky-logo {
  width: 78px;
  height: 78px;
  object-fit: cover;
}

.sticky-header-right {
  display: flex;
  gap: 15px;
  align-items: center;
  /* margin-right: 30px; */
}

/* Desktop only */
.sticky-button {
  padding: 10px 25px;
  background-color: transparent;
  border: 2px solid #4F1713;
  color: #333;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.prescription-title br{
  display: none;
}

.sticky-button:hover {
  background-color: #4F1713;
  color: white;
  border-color: #4F1713;
}

/* Mobile sticky header → responsive.css */


/* Sub Menu - Light Gray Background */
.submenu {
  position: fixed;
  top: 0;
  left: -300px;
  background-color: #e8e3e3;
  color: #602622;
  width: 300px;
  height: 100vh;
  transition: left 0.3s ease-in-out;
  padding-top: 20px;
  z-index: 1000;
}

/* Mobile submenu → responsive.css */

.submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu ul li {
  padding: 10px;
  text-align: left;
    font-size: 14px;
  /* border-bottom: 1px solid #d0c9c9; */
}

.submenu ul li a {
  color: #4F1713;
  text-decoration: none;
  display: block;
  padding: 20px 10px;
  font-family: 'Libre Baskerville', sans-serif;
  transition: background-color 0.2s ease;
}

.submenu ul li a:hover {
  background-color: #d8d3d3;
}

/* How Your Prescription Is Personalised Section */
.prescription-personalised {
  background-color: #f5f4f3;
  padding: 54px 0 0px;
  height: min(100vh, 800px);
  min-height: min(0vh, 800px);
  max-height: min(100vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prescription-container {
  width: 100%;
  margin: 0 auto;
}

.prescription-title {
  margin-top: 0px;
  font-size: 24px;
  color: #602622;
  margin-bottom: 50px;
  font-weight: 400;
  font-family: 'Libre Baskerville', sans-serif;
  letter-spacing: -0.72px;
  line-height: 1.3;
  text-align: center;
}

.prescription-content {
  position: relative;
}


/* Horizontal Timeline */
.prescription-timeline {
  position: relative;
  width: 100%;
  height: 4px;
  margin-bottom: 10px;
}

/* Segmented dotted lines */
.prescription-seg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background-image: radial-gradient(circle, #BEBEBE 1px, transparent 1px);
  background-size: 6px 3px;
  background-repeat: repeat-x;
  background-position: 0 center;
  z-index: 0;
}

/* Full-width grey base */
.prescription-seg-full {
  left: 0;
  width: 100%;
}

/* Red fill — width driven by JS scroll progress */
.prescription-fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 3px;
  transform: translateY(-50%);
  background-image: radial-gradient(circle, #80130B 1px, transparent 1px);
  background-size: 6px 3px;
  background-repeat: repeat-x;
  background-position: 0 center;
  z-index: 1;
  pointer-events: none;
}

/* Dots */
.prescription-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background-color: #BEBEBE;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: all 0.3s ease;
}

/* Previously visited dot — solid red, no blur, no animation */
.prescription-dot.visited {
  background-color: #80130B;
  box-shadow: none;
  filter: none;
  width: 18px;
  height: 18px;
  animation: none;
}

.prescription-dot-left {
  left: 32%;
  transform: translate(-50%, -50%);
}

.prescription-dot-right {
  left: 70%;
  transform: translate(-50%, -50%);
}

.prescription-dot.active {
  background-color: #80130B;
  box-shadow: 0 0 10px rgba(128, 19, 11, 0.6);
  filter: blur(3px);
  width: 28px;
  height: 28px;
  animation: pulseDot 1.5s infinite;
}

/* ── Heading entrance animation ───────────────────────────── */
@keyframes headingSlideUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.heading-hidden {
  opacity: 0;
  transform: translateY(36px);
}

.heading-visible {
  animation: headingSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
/* ────────────────────────────────────────────────────────── */

/* ── Character split animation ───────────────────────────────────────────── */
.char-wrap {
  display: inline-block;
  overflow: visible;
  vertical-align: bottom;
  padding: 0 2px;
  margin: 0 -2px;
}

.char-space {
  display: inline-block;
  width: 0.3em;
}

.char {
  display: inline-block;
  opacity: 0;
  transform: none;
  transition: opacity 0.6s ease;
}

.split-heading.in-view .char {
  opacity: 1;
  transform: none;
}

.split-heading .char {
  opacity: 0;
  transform: none;
}
/* ─────────────────────────────────────────────────────────────────────────── */

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(128, 19, 11, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(128, 19, 11, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(128, 19, 11, 0);
  }
}



/* Titles below dots */
.prescription-dot-title {
  position: absolute;
  top: 30px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  /* opacity: 0.4; */
  transition: opacity 0.3s ease;
  color: #1C1B1B;
  text-align: center;
  font-family: "Work Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 1.8px;
}

.prescription-item.prescription-text-1.active, .prescription-item.prescription-text-2.active{
  font-size: 18px;
}

.prescription-dot-title-left {
  left: 32%;
}

.prescription-dot-title-right {
  left: 70%;
}

/* Two Column Layout */
.prescription-columns {
  /* display: grid; */
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  /* Original gap for mobile/base */
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0 10px;
}

@media (min-width: 769px) {
  .prescription-columns {
    gap: 50px;
    /* Desktop only gap */
  }

  /* Specific properties for Titles (Desktop) */
  .prescription-dot-title-left {
    width: 301px;
    height: 19px;
    opacity: 1;
  }

  .prescription-dot-title-right {
    width: 263px;
    height: 19px;
    opacity: 1;
  }

  /* Specific properties for Core Prescription Text (Desktop) */
  .prescription-text-1 p:nth-child(1) {
    width: 337px;
    height: 50px;
    opacity: 1;
    margin-right: 70px;
    margin-left: 3%;
  }

  .prescription-text-1 p:nth-child(2) {
    width: 337px;
    height: 50px;
    opacity: 1;
    margin-right: 70px;
    margin-left: 3%;
  }
}

/* Mobile prescription columns → responsive.css */

.prescription-column {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
}

/* Right column alignment - push images to the right */
.prescription-right-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* With flex-direction: row-reverse, right-col appears on LEFT side visually */
/* State 1: text-1 should appear on LEFT side (visually left, so inside right-col) */
.prescription-right-col .prescription-text-1 {
  right: 0;
  left: auto;
}

/* State 2: img-2 should appear on LEFT side (visually left, so inside right-col) */
.prescription-right-col .prescription-img-2 {
  right: 0;
  left: auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .prescription-columns {
    gap: 20px;
    /* Reduced gap for tablet to fit content */
    padding: 0 10px;
  }

  /* Override large margins that cause overflow on tablet */
  .prescription-text-1 p:nth-child(1),
  .prescription-text-1 p:nth-child(2) {
    margin-right: 10px;
    margin-left: 0;
  }

  .prescription-left-col .prescription-text-2 {
    margin-left: 01px;
  }
}

.prescription-left-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* With flex-direction: row-reverse on parent, left-col appears on RIGHT side */
/* State 1: img-1 should appear on RIGHT side (visually right, so inside left-col) */
/* State 2: text-2 should appear on RIGHT side (visually right, so inside left-col) */
.prescription-left-col .prescription-img-1 {
  left: 0;
  right: auto;
}

.prescription-left-col .prescription-text-2 {
  left: 0;
  right: auto;
  margin-left: 100px;

}

.prescription-left-col .prescription-item {
  left: 0;
  right: auto;
}

@media (max-width: 1200px) {
  .hero {
    height: 543px;
  }
}



/* Mobile timeline dot → responsive.css */

/* Prescription Items (Text & Images) */
.prescription-item {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
  pointer-events: none;
}

.prescription-item.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
  pointer-events: auto;
}

/* Text Styling */
.prescription-item p {
  font-size: 14px;
  color: #333;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.03em;
  margin-bottom: 50px;
  text-align: justify;
  width: 100%;
}

.prescription-item p:last-child {
  margin-bottom: 0;
}

.prescription-item strong {
  color: #80130B;
  font-weight: 600;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.03em;
}

/* Set specific widths and center the text items */
.prescription-item.prescription-text-1,
.prescription-item.prescription-text-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  width: 400px;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.prescription-item.prescription-text-1.active,
.prescription-item.prescription-text-2.active {
  transform: translateY(-50%);
}

.prescription-item.prescription-text-2.active{
  margin-left: 50px !important;
}

/* .prescription-item.prescription-text-1 p {
  width: 400px;
}

.prescription-item.prescription-text-2 p {
  width: 400px;
} */

/* Image Styling */
.prescription-item img {
  width: 406px;
  height: 239px;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  opacity: 1;
  /* Explicitly set opacity as requested */
}

/* Mobile prescription item img → responsive.css */

.prescription-item.prescription-img-1,
.prescription-item.prescription-img-2 {
  top: 50%;
  transform: translateY(-50%);
}

.prescription-item.prescription-img-1.active,
.prescription-item.prescription-img-2.active {
  transform: translateY(-50%);
}

/* Our Approach Section */
.our-approach {
  background-color: #4F1713;
  padding: 50px 50px 60px;
  /* min-height: 100vh; */
  display: flex;
  /* align-items: center; */
  justify-content: center;
}

.approach-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.approach-title {
  font-size: 24px;
  color: white;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Libre Baskerville', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1;
}

.approach-subtitle {
  font-size: 1.1rem;
  color: white;
  font-weight: 300;
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
}

/* Timeline Content */
.approach-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 50px;
}

/* Vertical Line Container */
.timeline-line-container {
  position: absolute;
  left: 50%;
  top: 50px;
  transform: translateX(-50%);
  height: 245px;
  width: 1px;
  overflow: visible;
  background-color: rgba(255, 255, 255, 0.2);
}

.timeline-line {
  width: 1px;
  height: 0%;
  background-color: rgba(255, 255, 255, 0.8);
  transition: height 0.1s linear;
}

/* Timeline Items */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 30px;
  position: relative;
}

/* Timeline Dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
}

/* Pulsing animation for active dot */
@keyframes pulse-dot {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.7;
  }
}

.timeline-item.active .timeline-dot {
  animation: pulse-dot 2s ease-in-out infinite;
  opacity: 1;
  background-color: #80130B;
  box-shadow: 0 0 10px rgba(128, 19, 11, 0.6);
}

/* Left Side - Labels */
.timeline-left {
  text-align: right;
  padding-right: 50px;
  display: flex;
  justify-content: flex-end;
}

.timeline-label {
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0;
  color: #FFF;
  font-family: "Work Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1.6px;
}

/* Right Side - Descriptions */
.timeline-right {
  text-align: left;
  padding-left: 50px;
  display: flex;
  align-items: center;
}

.timeline-description {
  line-height: 1.2;
  font-weight: 400;
  opacity: 0;
  text-align: justify;


  color: #FFF;
  text-align: justify;
  font-family: "Work Sans";
  font-size: 14px;
  font-style: normal;
  letter-spacing: -0.42px;
  max-width: 299px;
}

/* Treatment Options Section */
.treatment-options {
  background-color: #f5f4f3;
  padding: 80px 0 40px;
  min-height: 600px;
}

.treatment-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.treatment-title {
  font-size: 24px;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 400;
  font-family: 'Libre Baskerville', sans-serif;
}

/* Slider Container */
.slider-container {
  overflow: hidden;
  position: relative;
  padding: 0 50px;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}

/* Fixed First Card Container */
.fixed-first-card-container {
  flex-shrink: 0;
  width: 258px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  z-index: 10;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(79, 23, 19, 0.8);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background-color: #4F1713;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
  left: 10px;
  z-index: 11;
}

.slider-arrow-right {
  right: 10px;
}

/* Mobile slider arrows → responsive.css */

.slider-wrapper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

/* Treatment Cards */
.treatment-card {
  min-width: 258px;
  width: 258px;
  max-width: 258px;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* Card Image Area */
.card-image-area {
  height: 258px;
  width: 258px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #e8e3e3;
  position: relative;
  flex-shrink: 0;
}

.card-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* First Card Image Area (Maroon) */
.first-card-image {
  background-color: #4F1713;
  cursor: pointer;
  position: relative;
  transition: background-color 0.5s ease;
  padding: 0px !important;
  height: 258px;
  width: 258px;
}

.first-card-image .image-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.first-card-image .image-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  box-sizing: border-box;
}

.first-card-image:hover {
  background-color: #E8E3E3;
}

.first-card-image:hover .image-default {
  opacity: 0;
}

.first-card-image:hover .image-hover {
  opacity: 1;
}

.first-card-image .image-title {
  font-size: 16px;
  color: white;
  font-family: 'Libre Baskerville', sans-serif;
  line-height: 1.4;
  text-align: center;
  font-weight: 400;
}

.first-card-image .hover-title {
  width: 100%;
  max-width: 197px;
  color: #602622;
  text-align: center;
  font-family: "Libre Baskerville";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  /* 19.5px */
  letter-spacing: -0.45px;
  margin-bottom: 12px;
}

.first-card-image .hover-text {
  width: 100%;

  color: #1C1B1B;
  text-align: justify;
  font-family: "Work Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  /* 18.2px */
  letter-spacing: -0.42px;
}

/* Card Info - Transparent Background */
.card-info {
  padding: 25px;
  text-align: center;
  background-color: transparent;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-label {
  color: #1C1B1B;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: center;
  font-family: "Work Sans";
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
}

.card-title {
  color: #1C1B1B;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Work Sans";
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.3px;
}

.card-button {
  padding: 10px 40px;
  background-color: transparent;
  border: 1px solid #1C1B1B;
  /* box-shadow: inset 0 0 0 0.5px #1C1B1B; */
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1C1B1B;
  text-align: center;
  font-family: "Work Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 14.4px */
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  width: 100%;
  text-transform: uppercase;
}

.card-button:hover {
  background-color: #4F1713;
  color: white;
  box-shadow: inset 0 0 0 0.5px #4F1713;
}

/* Fixed Compare Treatments Button Wrapper */
/* Compare Treatments Button - Fixed Wrapper (stays visible on screen) */
.compare-wrapper-fixed {
  position: absolute;
  /* Position will be calculated by JavaScript to align with first card */
  top: 0;
  left: 0;
  width: 258px;
  z-index: 100;
  padding: 0 25px; /* Match card-info padding for same button width */
  box-sizing: border-box;
}

/* Compare Treatments Button - Styling */
.compare-treatments-btn {
  padding: 10px 18px;
  background-color: #ccc4c4;
  border: 1px solid #602622;
  /* box-shadow: inset 0 0 0 0.5px #602622; */
  -webkit-appearance: none;
  color: #1C1B1B;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  width: 100%;
  line-height: 120%;
}

.compare-treatments-btn:hover {
  background-color: #4F1713;
  color: white;
  box-shadow: inset 0 0 0 0.5px #4F1713;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #80130B;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #4F1713;
}

/* ============================================
   COMPARE TREATMENTS TIMELINE SECTION (3 Columns)
   ============================================ */

.compare-timeline-section {
  background-color: #f5f4f3;
  padding: 40px 0;
  overflow: hidden;
  position: relative;
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease,
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.5s ease;
}

/* Hidden state — collapses smoothly, no jarring display:none */
.compare-timeline-section.hidden-section {
  max-height: 0;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  padding: 0;
}

/* Close Button for Compare Section */
.compare-close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  width: 24px;
  height: 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 0;
}

.compare-close-btn:hover {
  background-color: transparent;
  border: none;
  transform: rotate(90deg);
}

.compare-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: #1C1B1B;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

.compare-close-btn:hover svg {
  stroke: #4F1713;
}

.compare-timeline-container {
  /* max-width: 1100px; */
  /* margin: 0 auto; */
  /* padding: 0 60px; */
  position: relative;
}

.compare-timeline-title {
  font-size: 28px;
  color: #602622;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 400;
  font-family: 'Libre Baskerville', sans-serif;
  letter-spacing: -0.72px;
  line-height: 1.3;
  padding: 0 100px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.compare-timeline-content {
  position: relative;
  max-width: 100%;
}

/* Horizontal Timeline */
.compare-timeline-track {
  position: relative;
  width: 100%;
  height: 4px;
  margin-bottom: 0;
  z-index: 1;
  overflow: visible;
}

/* Segmented dotted lines — compare section */
.compare-seg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background-image: radial-gradient(circle, #BEBEBE 1px, transparent 1px);
  background-size: 6px 3px;
  background-repeat: repeat-x;
  background-position: 0 center;
  z-index: 0;
  transition: background-image 0.4s ease;
}

/* Seg 1: 0% → 32% (before dot 1) — red by default */
.compare-seg-1 {
  left: 0%;
  width: 32%;
  background-image: radial-gradient(circle, #80130B 1px, transparent 1px);
}

/* Seg 2: 32% → 70% (dot 1 → dot 2) */
.compare-seg-2 {
  left: 32%;
  width: 38%;
}

/* Seg 3: 70% → 100% (after dot 2) */
.compare-seg-3 {
  left: 70%;
  width: 30%;
}

/* Seg 4: hidden — only 2 dots now */
.compare-seg-4 {
  display: none;
}

/* Timeline Dots */
.compare-dot {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background-color: #BEBEBE;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: background-color 0.35s ease, width 0.3s ease, height 0.3s ease,
              box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: none;
  filter: none;
  animation: none;
}

/* Visited — solid red, same size as default, no pulse/blur */
.compare-dot.visited {
  background-color: #80130B;
  box-shadow: none;
  filter: none;
  width: 18px;
  height: 18px;
  animation: none !important;
}

.compare-dot-1 {
  left: 32%;
}

.compare-dot-2 {
  left: 70%;
}

.compare-dot-3 {
  left: 80%;
}

.compare-dot.active {
  background-color: #80130B;
  box-shadow: 0 0 10px rgba(128, 19, 11, 0.6);
  filter: blur(3px);
  width: 28px;
  height: 28px;
  animation: pulseDot 1.5s infinite;
}

/* Dot Titles */
.compare-dot-titles-row {
  position: relative;
  width: 100%;
  height: 55px;
  margin-top: 16px;   /* gap between track line and titles */
}

.compare-dot-title {
  padding-top: 5px;
  position: absolute;
  top: 0;
  letter-spacing: 0.1em;
  line-height: 120%;
  font-size: 13px;
  color: #1C1B1B;
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  width: max-content;
  max-width: 180px;
}


.compare-dot-title.active {
  font-size: 15px !important;
}




.compare-dot-title-1 {
  left: 32%;
}

.compare-dot-title-2 {
  left: 70%;
}

.compare-dot-title-3 {
  left: 80%;
}

/* Three Column Layout */
.compare-columns-wrapper {
  position: relative;
  width: 100%;
  padding: 0 0 40px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 30% 40% 30%;
  align-items: start;
  max-width: 1000px;
  padding-top: 20px;
  padding-bottom: 0px !important;
}


.compare-item.compare-text-1-left, .compare-item.compare-text-2-left, .compare-item.compare-text-3-left {
    margin-left: 30px;
}

.compare-right-col{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    text-align: end;
}



.compare-column {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.compare-left-col {
  padding-left: 10px;
}

/* Center column with vertical line */
.compare-center-col {
  --line-opacity: 0;
  padding: 0 10px;
  align-items: center;
}

/* Vertical solid line through center column */
.compare-center-col::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  height: 75%;
  width: 1px;
  transform: translate(-50%, -50%);
  background: #D9D9D9;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show line on all 3 states */
.compare-center-col:has(.compare-item.active)::before {
  opacity: 1;
}

/* State 3 only — vertically center the image */
.compare-columns-wrapper:has(.compare-img-3.active) {
  align-items: stretch;
}
.compare-columns-wrapper:has(.compare-img-3.active) .compare-center-col {
  justify-content: center;
  display: flex;
}

.compare-right-col {
  padding-right: 10px;
}

/* Compare Items */
.compare-item {
  display: none;
  width: 100%;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.compare-item.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Compare Content Styling */
.compare-content-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #80130B;
  margin-bottom: 6px;
  margin-top: 34px;
  font-family: 'Work Sans', sans-serif;
  line-height: 120%;
}

.compare-content-title:first-child {
  margin-top: 0;
}

.compare-content-text {
  font-size: 13px;
  line-height: 1.5;
  color: #1C1B1B;
  margin-bottom: 8px;
  font-family: 'Work Sans', sans-serif;
  letter-spacing: -0.03em;
}

.compare-content-list {
  list-style: none;
  padding-left: 0;
  margin: 6px 0 0;
}

.compare-content-list li {
  font-size: 13px;
  line-height: 1.5;
  color: #1C1B1B;
  margin-bottom: 6px;
  padding-left: 0px;
  position: relative;
  font-family: 'Work Sans', sans-serif;
  letter-spacing: -0.03em;
}


.compare-content-list i{
  color: #4F1713;
  font-weight: 300px;
  padding-right: 20px;
}

.compare-item.compare-text-1-right, .compare-item.compare-text-2-right, .compare-item.compare-text-3-right {
    padding-right: 32px;
}


/* .compare-content-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4F1713;
  font-weight: bold;
} */

.compare-image {
  width: 350px;
  height: 300px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Care Designed to Evolve Section */
.care-evolve {
  background-color: #f0ecea;
  padding: 70px 100px 80px;
}

.care-container {
  max-width: 1400px;
  margin: 0 auto;
}

.care-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: center;
  margin-bottom: 70px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Left Side */
.care-left {
  position: relative;
  padding-right: 50px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.care-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  color: #1C1B1B;
  text-align: center;
  font-family: "Libre Baskerville";
  letter-spacing: -0.9px;
}

.care-title em {
  font-style: italic;
  font-weight: 400;
  display: block;
}

/* Vertical Line Container - Longer and Centered */
.care-line-container {
  position: relative;
  width: 0.5px;
  height: 173px;
  overflow: hidden;
  margin: 0 auto 30px auto;
  left: 0;
  transform: none;
}

.care-line {
  width: 100%;
  height: 0%;
  background-color: #333;
}

.care-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
  max-width: 337px;
  color: #1C1B1B;
  text-align: justify;
  font-family: "Work Sans";
  letter-spacing: -0.48px;
}

/* Right Side */
.care-right {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.care-image {
  width: 85%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  transform: scale(1.08);
  transition: transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  object-position: -150px;
}
.care-image.img-zoomed {
  transform: scale(1);
}

/* Features Section */
.care-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  height: 80px;
}

.feature-icon img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #1C1B1B;
  text-align: center;
  font-family: "Work Sans";
  letter-spacing: 1.5px;
}

.feature-description {
  font-size: 14px;
  color: #666;
  font-weight: 400;
  line-height: 1.3;
  color: #1C1B1B;
  text-align: justify;
  font-family: "Work Sans";
  letter-spacing: -0.42px;
  max-width: 156px;
}

/* Your Treatment Journey Section */
.treatment-journey {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.journey-container {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 636px;
  max-width: 100%;
}

/* Left Side - Full Height Image with No Spacing */
.journey-left {
  position: relative;
  overflow: hidden;
}

.journey-image {
  width: 100%;
  height: 103%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.08);
  transition: transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.journey-image.img-zoomed {
  transform: scale(1);
}

/* Right Side - Content */
.journey-right {
  padding: 64px 60px 90px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f5f4f3;
}

.journey-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  color: #602622;
  font-family: "Libre Baskerville";
  letter-spacing: -1.05px;
}


.journey-title-your {
  font-style: italic;
}

.journey-title-rest {
  /* default inline in other contexts */
}

/* Inside journey-title flex container, each span is its own line */
.journey-title .journey-title-your,
.journey-title .journey-title-rest {
  display: block;
}

.journey-title em {
  font-style: italic;
  font-weight: 400;
}

/* Timeline Container */
.journey-timeline {
  position: relative;
  padding-left: 30px;
}

/* Vertical Line */
.journey-line-container {
  position: absolute;
  left: 0;
  top: 10px;
  width: 0.5px;
  height: calc(100% - 70px);
  overflow: hidden;
}

.journey-line {
  width: 100%;
  height: 0%;
  background-color: #4F1713;
}

/* Timeline Items */
.journey-item {
  position: relative;
  margin-bottom: 60px;
  opacity: 0;
}

.journey-item:last-child {
  margin-bottom: 0;
}

/* Dot/Circle */
.journey-dot {
  position: absolute;
  left: -41px;
  top: 5px;
  width: 24px;
  height: 24px;
  background-color: #4F1713;
  border-radius: 50%;
  z-index: 2;
}

/* Pulsing animation for active journey dot */
@keyframes pulse-journey-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.journey-item.active .journey-dot {
  background-color: #80130B;
  filter: blur(3px);
  animation: pulseDot 1.5s infinite;
}

/* Content */
.journey-content {
  padding-left: 0;
}

.journey-step-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #602622;
  font-family: "Work Sans";
  letter-spacing: 2px;
}

.journey-step-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: justify;
  max-width: 500px;
  color: #1C1B1B;
  text-align: justify;
  font-family: "Work Sans";
  letter-spacing: -0.42px;
  max-width: 335px;
}

.non-prescription {
  padding: 220px 0 80px;
  margin-top: 0px;
  position: relative;
  z-index: 2;
  background: #F5F4F3;
}

/* Title */
.np-title {
  font-size: 24px;
  color: #333;
  padding: 30px;
  font-weight: 400;
  font-family: 'Libre Baskerville', serif;
  text-align: center;
  margin: 0 0 5px; /* FIXED */
}

/* Subtitle */
.np-subtitle {
  font-family: 'Work Sans', sans-serif; /* FIXED FONT */
  font-size: 16px; /* CLEAN SYSTEM SIZE */
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;

  text-align: center;
  margin: 0 0 60px; /* FIXED SPACING */
}

/* === GRID (NOT SLIDER ON DESKTOP) === */
.np-slider-container {
  max-width: 1200px;
  margin: 0 auto;
}

.np-slider-wrapper {
  overflow: visible;
}

.np-slider-track {
display: grid;
  grid-template-columns: repeat(3, 320px); /* match card max-width */
  justify-content: center; /* centers whole row */
  gap: 40px;
}

/* === CARD === */
.np-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  flex-direction: column;
   align-items: center; /* key fix */
   display: flex;
}

/* IMAGE */
.np-card-image {
  height: 258px;
  width: 258px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #e8e3e3;
  position: relative;
  flex-shrink: 0;
  margin: 0 auto;
}

.np-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.np-card-info {
  padding-top: 20px;
}

.np-label {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: -0.72px;
  text-transform: uppercase;
  color: #1C1B1B;
  margin-bottom: 6px;
  text-align: center;
}

.np-card-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #1C1B1B;
  text-align: center;
}

/* BUTTON */
.np-btn {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 40px;
  border: 1px solid #1C1B1B;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 300px;
}

.np-btn:hover {
  background: #4F1713;
  color: #fff;
}

/* === DOTS (HIDDEN ON DESKTOP) === */
.np-dots {
  display: none;
}

/* FAQ Section */
.faq-section {
  background-color: #f0ecea;
  padding: 100px 50px;
}

.faq-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  align-items: start;
}

/* Left Side - Title */
.faq-left {
  position: sticky;
  top: 100px;
  padding-top: 70px;
}

.faq-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  color: #602622;
  font-family: "Libre Baskerville";
  letter-spacing: -1.44px;
  padding-left: 30px;
}

/* Right Side - FAQ Items */
.faq-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.faq-right .faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
}

.faq-question::after {
  content: '+';
  font-size: 1.8rem;
  color: #4F1713;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active .faq-question::after {
  content: '–';
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
  color: #602622;
  font-family: "Work Sans";
  letter-spacing: 1.6px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-top 0.4s ease;
}

.faq-answer p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  text-align: justify;
  color: #1C1B1B;
  text-align: justify;
  font-family: "Work Sans";
  letter-spacing: -0.42px;
  margin-bottom: 20px;
}

/* Active FAQ Item */
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 20px;
}

/* .faq-item.active{
  margin-bottom: 0;
} */

.faq-item:hover .faq-question h3 {
  color: #3d1210;
}

/* Mobile styles → responsive.css */

@media (min-width: 768px) and (max-width: 1024px) {
  .prescription-item.prescription-text-2.active{
  margin-left: 50px !important;
}


  .prescription-columns {
    display: flex !important;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding: 0 30px;
    max-width: 100%;
  }

  .prescription-column {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
  }

  .prescription-item {
    position: absolute;
    transition: all 0.5s ease;
  }

  .prescription-item img {
    width: 331px;
    max-width: 400px;
    height: 239px;
    object-fit: cover;
  }

  .prescription-item.prescription-text-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 310px;
    width: 100%;
    margin-top: 0;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
  }

  .prescription-item.prescription-text-1.active {
    transform: translate(-55%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .prescription-item.prescription-text-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 310px;
    width: 100%;
    margin-top: 0;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
  }

  .prescription-item.prescription-text-2.active {
    transform: translate(-72%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .prescription-item.prescription-img-1 {
    top: 50%;
    left: 50%;
    transform: translate(-25%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
  }

  .prescription-item.prescription-img-1.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .prescription-item.prescription-img-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
  }

  .prescription-item.prescription-img-2.active {
    transform: translate(-83%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

}

/* ── Footer (shared) ─────────────────────────────────────────── */
/* ── Footer curtain effect ────────────────────────────────────────────────
   Footer is sticky at the bottom. .main sits on top with z-index:1 and a
   solid background. As you scroll to the end of .main, its bottom edge
   travels upward, gradually revealing the sticky footer underneath —
   exactly like a curtain lifting.
────────────────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: #4F1713;
  width: 100%;
  position: sticky;
  bottom: 0;
  left: 0;
  z-index: 0;   /* behind .main */
}

/* .main sits above the sticky footer */
.main {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  background-color: #F5F4F3; /* solid — covers footer until scrolled past */
}

/* Each column starts invisible, slides up when footer is revealed */
.footer-col {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity   0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer.footer-revealed .footer-col:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.site-footer.footer-revealed .footer-col:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.30s; }
.site-footer.footer-revealed .footer-col:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.site-footer.footer-revealed .footer-col:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.60s; }

/* Map fades in last with a subtle scale */
.footer-map {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity   0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.85s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.85s;
}

.site-footer.footer-revealed .footer-map {
  opacity: 1;
  transform: scale(1);
}

/* Footer label — original style, no underlines */
.footer-label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.10em;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.footer-inner {
  display: grid;
  grid-template-columns: 180px 270px 270px 360px;
  gap: 40px;
  align-items: start;
  width: 1200px;
  height: 364px;
  margin: 0 auto;
  padding: 52px 0;
  box-sizing: border-box;
}

/* Col 1 — Logo */
.footer-col-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
    width: 306px;
    height: 173px;
    object-fit: contain;
}

.footer-brand-name {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* Groups inside cols */
.footer-group {
  margin-bottom: 28px;
}
.footer-group:last-child {
  margin-bottom: 0;
}

/* Small heading labels */
.footer-label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.10em;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

/* Body info text */
.footer-info {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  text-align: justify;
}

/* Footer links */
.footer-link,
.footer-nav-link,
.footer-social-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.footer-link:hover,
.footer-nav-link:hover {
  opacity: 0.7;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.footer-social-link:hover {
  opacity: 0.7;
}

/* Nav links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footer-nav-link {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  display: inline-block;
}

/* Map */
.footer-col-map {
  height: 100%;
}

.footer-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Footer responsive → responsive.css */

/* ── Scroll Entrance Animations ─────────────────────────────────────────────── */

/* styles.css mein .reveal-up class ko dhoond kar replace karein */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  /* Slower and smoother transition */
  transition: opacity 1.5s cubic-bezier(0.215, 0.61, 0.355, 1), 
              transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger only for feature icon boxes */
.care-features .feature-item:nth-child(1) { transition-delay: 0s; }
.care-features .feature-item:nth-child(2) { transition-delay: 0.10s; }
.care-features .feature-item:nth-child(3) { transition-delay: 0.20s; }
.care-features .feature-item:nth-child(4) { transition-delay: 0.30s; }
.care-features .feature-item:nth-child(5) { transition-delay: 0.40s; }

/* ── 2nd section columns — slide up together ── */
.prescription-columns {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.2s;
}
.prescription-columns.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Care section: text left side + feature items ── */

/* ── Our Approach — Mobile Accordion Override ───────────────── */
@media (max-width: 768px) {
  .timeline-item {
    display: block;
    grid-template-columns: unset;
    gap: 0;
    margin-bottom: 0;
    padding: 16px 0;
  }

  .timeline-left {
    display: block;
    text-align: center;
    padding: 0;
  }

  .timeline-label {
    display: block;
    opacity: 1;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-align: center;
    padding: 0;
  }

  /* Collapsed by default */
  .timeline-right {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease, margin-top 0.3s ease;
    padding: 0;
    margin-top: 0;
    overflow: hidden;
  }

  .timeline-right .timeline-description {
    min-height: 0;
    overflow: hidden;
  }

  /* Open state */
  .timeline-item.mob-open .timeline-right {
    grid-template-rows: 1fr;
    margin-top: 12px;
  }

  .timeline-description {
    opacity: 1;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
    padding-bottom: 4px;
  }

  /* Divider between items */
  .timeline-item + .timeline-item::before {
    content: '';
    display: block;
    width: 250px;
    height: 0.5px;
    background-color: #F5F4F3;
    margin: 0 auto 16px auto;
  }
} 