/* 
 * Dermalux Skincare - Main Stylesheet
 * Premium Dermatology Theme
 */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  /* Colors */
  --color-primary: #116A58;
  /* Deep Medical Green */
  --color-primary-dark: #0d5244;
  --color-primary-light: #e6f2ef;
  /* Subtle tint */
  --color-secondary: #1F2937;
  /* Charcoal Black */
  --color-text: #4B5563;
  /* Dark Grey for body */
  --color-text-light: #9CA3AF;
  /* Light Grey */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  /* Light Grey Section BG */
  --color-border: #E5E7EB;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition: all 0.3s ease;
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 2.5rem;
    /* ~40px */
    --spacing-xl: 3rem;
    /* ~48px */
  }
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-secondary);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* =========================================
   2. UTILITIES & COMPONENTS
   ========================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}


.section-bg {
  background-color: var(--color-bg-alt);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Section Headings */
.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-secondary);
}

.section-subtitle {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  display: block;
}

/* =========================================
   3. HEADER & NAVBAR
   ========================================= */
.header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  max-height: 60px;
  /* Constrain height within navbar */
  width: auto;
}

.logo-wrap img {
  height: 100%;
  width: auto;
  object-fit: contain;
  max-height: 55px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 1rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  min-width: 200px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--color-secondary);
}

/* ===============================
   MOBILE RESPONSIVE OVERRIDES
   (Keeps existing styling)
================================ */

@media (max-width: 991px) {

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 14px 24px;
  }

  /* Dropdown mobile behavior */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 12px 40px;
  }

  .nav-menu .btn {
    margin: 12px 24px 0;
    width: calc(100% - 48px);
    text-align: center;
  }
}

@media (max-width: 991px) {

  .nav-menu {
    height: calc(100vh - 80px);
    justify-content: space-between;
  }

  .nav-menu>a,
  .nav-menu>.dropdown {
    width: 100%;
  }

  /* Menu links block */
  .nav-menu {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  /* Stack menu items nicely */
  .nav-menu .nav-link {
    font-size: 1.05rem;
  }

  /* Push CTA to bottom */
  .nav-menu .btn {
    margin-top: auto;
    border-radius: 999px;
    padding: 14px;
    font-size: 1rem;
  }
}

@media (max-width: 991px) {



  /* Mobile dropdown default */
  .dropdown-menu {
    position: static;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    padding-top: 8px;
  }

  /* Show ONLY when active */
  .dropdown.active .dropdown-menu {
    display: block !important;
  }

  /* Prevent text flicker */
  .dropdown>.nav-link {
    pointer-events: auto;
  }
}



/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
  height: 100vh;
  min-height: 600px;
  margin-top: 80px;
  /* Offset for fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  /* Light overlay for dark text */
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Reduce bottom space of first section */
.section-bg {
  padding-bottom: 40px;
}

/* Reduce top space of video section */
.video-overview-section {
  padding-top: 40px;
}


/* =========================================
   5. FEATURED SECTIONS
   ========================================= */
/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: var(--spacing-md);
}

.badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: var(--spacing-md);
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-img {
  height: 200px;
  background-color: #eee;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-info {
  padding: 25px;
}

.service-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
}

.service-link {
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
  font-size: 0.95rem;
}

/* =========================================
   6. FOOTER
   ========================================= */
.footer {
  background-color: var(--color-secondary);
  color: white;
  padding-top: var(--spacing-lg);
  padding-bottom: 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #9CA3AF;
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #9CA3AF;
  font-size: 0.9rem;
}

/* =========================================
   7. WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================================
   8. MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

.map-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.service-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.service-link {
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
}

/* ===============================
   OUR CLINIC SECTION – MOBILE FIRST
================================ */

/* Mobile (default) */
.our-clinic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.our-clinic-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

/* Tablet (≥ 600px) */
@media (min-width: 600px) {
  .our-clinic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .our-clinic-grid img {
    height: 260px;
  }
}

/* Desktop (≥ 992px) */
@media (min-width: 992px) {
  .our-clinic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .our-clinic-grid img {
    height: 280px;
  }
}

/* ===============================
   BEFORE / AFTER RESULTS
   MOBILE FIRST
================================ */

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.before-after-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ba-item {
  position: relative;
}

.ba-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.ba-title {
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
}

/* Tablet */
@media (min-width: 600px) {
  .ba-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 992px) {
  .before-after-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-item img {
    height: 200px;
  }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.result-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-6px);
}

.result-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.result-title {
  padding: 14px;
  font-weight: 600;
  text-align: center;
  color: #116A58;
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.modal-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
}

/* ================================
   Past Treatment Videos Section
================================ */

.video-section {
  padding: 70px 0;
  background: #fafafa;
}

.video-section .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 600;
}

/* Grid layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Video card */
.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Video styling */
.video-card video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Mobile spacing */
@media (max-width: 576px) {
  .video-section {
    padding: 50px 0;
  }

  .video-section .section-title {
    font-size: 26px;
  }
}

/* ================================
   Treatment Overview Video
================================ */

.video-overview-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff, #f6f7f9);
}

.video-container {
  max-width: 900px;
  text-align: center;
}

/* Video card */
.video-wrapper {
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Subtle lift on hover */
.video-wrapper:hover {
  transform: translateY(-4px);
}

/* Video itself */
.video-wrapper video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Title refinement */
.video-overview-section .section-title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .video-overview-section {
    padding: 55px 0;
  }

  .video-overview-section .section-title {
    font-size: 26px;
  }
}


.faq-section {
  padding: 90px 0;
}

.faq-section {
  padding: var(--spacing-xl) 0;
}


.faq-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1f2937;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 400;
  color: #111827;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 22px;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  /* + becomes × */
}

/* Mobile */
@media (max-width: 576px) {
  .faq-title {
    font-size: 30px;
  }

  .faq-question {
    font-size: 16px;
  }
}


/* ================================
   Treatment Info Section
================================ */

.treatment-section {
  padding: 80px 0;
  background: #fff;
}

.treatment-section .container {
  max-width: 1000px;
}

/* About text */
.treatment-about {
  margin-bottom: 60px;
}

.treatment-about p {
  margin-top: 15px;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
}

/* ================================
   Enhanced Treatment Details
================================ */

.treatment-details {
  margin-top: 40px;
}

.details-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.detail-card {
  background: #fafafa;
  padding: 28px;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.detail-card .icon {
  font-size: 26px;
  display: inline-block;
  margin-bottom: 12px;
}

.detail-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 576px) {

  .details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
}



/* Mobile */
@media (max-width: 576px) {
  .treatment-section {
    padding: 55px 0;
  }

  .treatment-details {
    padding: 25px;
  }
}

.section-title {
  margin-bottom: 32px;
}


/* ================================
   Gallery Section
================================ */

.gallery-section {
  padding: 90px 0;
  background: #fafafa;
}

.gallery-section .section-title {
  text-align: center;
  margin-bottom: 10px;
}

.gallery-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Image card */
.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  background: #e5e7eb;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover zoom (subtle) */
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Mobile */
@media (max-width: 576px) {
  .gallery-section {
    padding: 60px 0;
  }
}


/* ================================
   Benefits Section
================================ */

.benefits-section {
  background: #fff;
  padding-top: 10px;
  /* reduced space from previous section */
  padding-bottom: 60px;
  /* comfortable exit space */
}

.benefits-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.benefit-card {
  background: #fafafa;
  padding: 30px;
  border-radius: 16px;
}

.benefit-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.08);
}

.benefit-card .icon {
  font-size: 26px;
  margin-bottom: 12px;
  display: inline-block;
}

.benefit-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .details-grid .detail-card:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .benefits-section .section-title {
    margin-top: 0;
    margin-bottom: 20px;
  }
}



/* ================================
   Who Should Section (Premium)
================================ */

.who-section {
  padding: 90px 0;
  background: #fff;
}

.who-grid {
  margin-top: 40px;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.who-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f6f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle i {
  font-size: 18px;
  color: #d97706;
  /* premium accent */
}

.who-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}



/* ================================
   Expert / Cosmetologist Section
================================ */

.expert-section {
  padding: 90px 0;
  background: #fff;
}

.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.expert-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.expert-content h4 {
  margin: 10px 0 20px;
  color: #6b7280;
  font-weight: 500;
}

.expert-content p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .expert-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .expert-image img {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Mobile order fix */
@media (max-width: 768px) {
  .expert-grid {
    flex-direction: column;
    text-align: center;
  }

  .expert-content {
    order: 1;
    /* title & text first */
  }

  .expert-image {
    order: 2;
    /* image after */
    margin-top: 20px;
  }
}

/* ================================
   About Hair Care & Scalp Therapy
================================ */

.about-treatment {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  max-width: 900px;
}

.about-content p {
  margin-top: 16px;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* Mobile */
@media (max-width: 576px) {
  .about-treatment {
    padding: 60px 0;
  }
}

/* Tighten About section bottom space */
.treatment-about {
  margin-bottom: 40px;
}

/* Reduce top padding of expert section */
.expert-section {
  padding-top: 30px;
}

.treatment-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 40px;
}



.who-section {
  padding-top: 40px;
}

.faq-section {
  padding-top: 20px;
}

.premium-details {
  padding: 80px 20px;
  background: #fff;
}

.details-timeline {
  max-width: 900px;
  margin: 50px auto 0;
  position: relative;
}

.details-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #d4af37, transparent);
}

.timeline-item {
  display: flex;
  gap: 25px;
  padding-bottom: 45px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-icon {
  width: 38px;
  height: 38px;
  background: #fff;
  border: 2px solid #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.timeline-content h4 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 600;
}

.timeline-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.treatment-details,
.premium-details {
  padding-bottom: 30px;
  /* reduce from 80px or similar */
  margin-bottom: 0;
}



/* ===============================
   SINGLE REEL CARD (SCROLLABLE)
================================ */

.reel-card-container {
    width: 100%;
    max-width: 360px;
    height: 520px;                 /* card height */
    margin: 0 auto 60px;

    border-radius: 18px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;

    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Hide scrollbar */
.reel-card-container::-webkit-scrollbar {
    display: none;
}

/* Each reel inside card */
.reel-item {
    position: relative;
    height: 100%;
    scroll-snap-align: start;
}

/* Video */
.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title overlay */
.reel-title {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    font-size: 14px;
    color: #111;
}

/* Play Button */
.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    cursor: pointer;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide play button when video is playing */
.reel-item.playing .reel-play-btn {
    display: none;
}

/* ===============================
   SCROLL HINT (OPTION 1)
================================ */
.scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    color: rgba(8, 0, 0, 0.795);
    font-size: 12px;
    letter-spacing: 0.5px;

    z-index: 10;
    pointer-events: none;

    animation: scrollPulse 1.8s infinite;
}

.scroll-hint i {
    font-size: 14px;
}

@keyframes scrollPulse {
    0% {
        opacity: 0.4;
        transform: translate(-50%, 0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -6px);
    }
    100% {
        opacity: 0.4;
        transform: translate(-50%, 0);
    }
}

/* ===============================
   EDGE FADE (OPTION 3)
================================ */
.reel-card-container {
    position: relative; /* REQUIRED for ::before & ::after */
}

.reel-card-container::before,
.reel-card-container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 4;
    pointer-events: none;
}

.reel-card-container::before {
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55),
        transparent
    );
}

.reel-card-container::after {
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        transparent
    );
}

/* ===============================
   MUTE / UNMUTE BUTTON
================================ */

.reel-mute-btn {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 16px;

    z-index: 6;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover (desktop only) */
@media (hover: hover) {
    .reel-mute-btn:hover {
        background: rgba(0,0,0,0.8);
    }
}

.benefit-card .icon i {
  font-size: 26px;
  color: #d4af37; /* soft luxury gold */
}
