/* ==========================================================================
   TRAIN WITH MUNEEB - SPECIALIZED COMPONENTS & SECTIONS
   ========================================================================== */

/* Faded Matching Subject Background System */
.section-with-bg {
  position: relative;
  overflow: hidden;
}

.section-faded-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.section-faded-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: brightness(1.0) contrast(1.1);
  transition: transform 12s ease, opacity 0.6s ease, filter 0.6s ease;
}

.section-with-bg:hover .section-faded-bg img {
  transform: scale(1.04);
  opacity: 0.50;
  filter: brightness(1.1) contrast(1.15);
}

.section-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(15,15,16,0.45) 50%, var(--color-bg-dark) 100%),
              radial-gradient(circle at 50% 40%, rgba(200, 169, 106, 0.12) 0%, transparent 70%);
  z-index: 1;
}

.section-content-relative {
  position: relative;
  z-index: 2;
}

/* 1. Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2.0s cubic-bezier(0.4, 0, 0.2, 1), visibility 2.0s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  filter: brightness(0.98) contrast(1.08);
  transform: scale(1.08);
  transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1), opacity 2.0s ease;
}

.hero-slide.active .hero-bg-image {
  transform: scale(1.0);
}

.hero-gradient {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(15,15,16,0.35) 0%, rgba(15,15,16,0.75) 70%, #0F0F10 100%),
              radial-gradient(circle at 80% 20%, rgba(200, 169, 106, 0.2) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* Slider Controls */
.hero-slider-dots {
  position: absolute;
  bottom: 30px; right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid var(--color-gold-primary);
  cursor: pointer;
  padding: 0;
  transition: all 0.4s ease;
}

.slider-dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--color-gold-primary);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(200, 169, 106, 0.1);
  border: 1px solid rgba(200, 169, 106, 0.3);
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--color-glass-border);
}

.hero-stat-item h3 {
  font-size: 2.8rem;
  color: var(--color-gold-primary);
  font-family: var(--font-serif);
}

.hero-stat-item p {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* 2. Editorial Layouts (About / Founder / Residential) */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.editorial-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid var(--color-glass-border);
}

.editorial-img-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--transition-smooth);
}

.editorial-img-wrapper:hover img {
  transform: scale(1.04);
}

.editorial-card-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 24px;
  background: rgba(15, 15, 16, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
}

/* 3. Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(200, 169, 106, 0.1);
  border: 1px solid rgba(200, 169, 106, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-primary);
  margin-bottom: 32px;
}

.service-card h3 {
  font-size: 1.6rem;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

/* 4. Industries Icon Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.industry-card {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.industry-card i, .industry-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-gold-primary);
  margin-bottom: 20px;
}

.industry-card h4 {
  font-size: 1.25rem;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.85rem;
}

/* 5. Animated 7-Step Wellness Method */
.method-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.method-timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--color-gold-primary) 15%, var(--color-gold-primary) 85%, transparent 100%);
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-content {
  width: 45%;
  padding: 32px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  border: 2px solid var(--color-gold-primary);
  color: var(--color-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 20px var(--color-gold-glow);
}

.step-content h3 {
  font-size: 1.5rem;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

/* 6. Developer ROI Dashboard */
.roi-calculator-card {
  padding: 48px;
  background: linear-gradient(135deg, rgba(22,22,24,0.95) 0%, rgba(15,15,16,0.98) 100%);
  border: 1px solid var(--color-gold-primary);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 40px var(--color-gold-glow);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.calculator-grid h3 {
  font-size: clamp(1.25rem, 4vw, 1.6rem) !important;
}

.input-group {
  margin-bottom: 24px;
}

.input-group > div {
  flex-wrap: wrap;
  gap: 6px;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.range-slider {
  width: 100%;
  accent-color: var(--color-gold-primary);
  height: 6px;
  background: #2D2D2D;
  border-radius: 3px;
  cursor: pointer;
}

.roi-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-box {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
  text-align: center;
}

.metric-box .metric-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-gold-primary);
  margin-bottom: 4px;
}

.metric-box .metric-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* 7. Partnership Models Cards */
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.partner-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.partner-card.featured {
  border-color: var(--color-gold-primary);
  background: linear-gradient(180deg, rgba(200, 169, 106, 0.06) 0%, rgba(15,15,16,0.6) 100%);
}

.badge-featured {
  position: absolute;
  top: 24px; right: 24px;
  padding: 6px 14px;
  background: var(--color-gold-primary);
  color: var(--color-bg-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 20px;
}

.partner-features-list {
  list-style: none;
  margin: 32px 0;
}

.partner-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.partner-features-list li svg {
  color: var(--color-gold-primary);
  flex-shrink: 0;
}

/* 8. Real Transformations (Before / After Sliders & Modal) */
.tf-section-header {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.tf-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
}

.tf-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.tf-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tf-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .tf-carousel-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tf-carousel-slide {
    grid-template-columns: 1fr;
  }
}

.tf-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.88);
  border: 1px solid var(--color-gold-primary, #C8A96A);
  color: var(--color-gold-primary, #C8A96A);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 15px rgba(200, 169, 106, 0.3);
  transition: all 0.35s ease;
}

.tf-nav-btn:hover {
  background: var(--color-gold-primary, #C8A96A);
  color: #0F0F10;
  box-shadow: 0 10px 30px rgba(200, 169, 106, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.tf-prev-btn {
  left: -24px;
}

.tf-next-btn {
  right: -24px;
}

@media (max-width: 768px) {
  .tf-prev-btn { left: 4px; }
  .tf-next-btn { right: 4px; }
}

.tf-card {
  position: relative;
  background: var(--color-bg-card, #161618);
  border: 1px solid var(--color-glass-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.tf-card:hover {
  border-color: var(--color-gold-primary, #C8A96A);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(200, 169, 106, 0.2);
  transform: translateY(-4px);
}

.tf-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 460px;
  max-height: 540px;
  overflow: hidden;
  background: #0A0A0B;
  user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tf-image-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
}

.tf-image-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.tf-badge {
  position: absolute;
  top: 16px;
  z-index: 10;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tf-badge-before {
  left: 16px;
  background: rgba(35, 35, 38, 0.85);
  color: #B0B0B8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tf-badge-after {
  right: 16px;
  background: rgba(200, 169, 106, 0.25);
  color: #C8A96A;
  border: 1px solid #C8A96A;
  box-shadow: 0 0 12px rgba(200, 169, 106, 0.35);
}

.tf-slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--color-gold-primary, #C8A96A);
  z-index: 15;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px var(--color-gold-glow, rgba(200, 169, 106, 0.4));
}

.tf-handle-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #161618;
  border: 2px solid #C8A96A;
  color: #C8A96A;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px rgba(0,0,0,0.85), 0 0 14px rgba(200, 169, 106, 0.5);
}

.tf-handle-button svg {
  width: 18px; height: 18px;
}

.tf-range-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0; padding: 0;
}

.tf-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tf-client-name {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-style: italic;
  font-weight: 900;
  font-size: 1.65rem;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  line-height: 1.1;
}

.tf-client-result {
  color: #C8A96A;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tf-client-tagline {
  color: #A0A0A5;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tf-client-tagline svg {
  color: #C8A96A;
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tf-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.tf-tap-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #A0A0A5;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.tf-card-footer:hover .tf-tap-text {
  color: #C8A96A;
}

.tf-plus-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.15);
  border: 1px solid #C8A96A;
  color: #C8A96A;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tf-card-footer:hover .tf-plus-btn {
  background: #C8A96A;
  color: #0F0F10;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(200, 169, 106, 0.5);
}

.tf-pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.tf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tf-dot.active {
  background: #C8A96A;
  box-shadow: 0 0 10px rgba(200, 169, 106, 0.5);
}

.tf-dot.bar {
  width: 30px;
  border-radius: 6px;
  background: #C8A96A;
  box-shadow: 0 0 10px rgba(200, 169, 106, 0.5);
}

/* Transformation Review Modal Details */
.transformation-modal-container {
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  overflow-y: auto;
  background: #121214;
  border: 1px solid #C8A96A;
  border-radius: 16px;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 50px rgba(200, 169, 106, 0.25);
  color: #E0E0E6;
}

.tf-modal-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 900;
  color: #C8A96A;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(200, 169, 106, 0.3);
  padding-bottom: 12px;
}

.tf-modal-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.tf-modal-img-card {
  display: flex;
  flex-direction: column;
}

.tf-modal-img-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A0A0A5;
  margin-bottom: 8px;
}

.tf-modal-img-box {
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 106, 0.25);
  background: #050506;
}

.tf-modal-img-box img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #050506;
  object-position: center center;
}

.tf-modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.tf-meta-box {
  background: #18181B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 18px;
}

.tf-meta-box.full-width {
  grid-column: 1 / -1;
}

.tf-meta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A0A0A5;
  margin-bottom: 4px;
}

.tf-meta-value {
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 600;
}

.tf-meta-value.gold-text {
  color: #C8A96A;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tf-modal-subheading {
  margin: 28px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 169, 106, 0.2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #C8A96A;
  text-transform: uppercase;
}

.tf-modal-phases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.tf-modal-text-box {
  background: #18181B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px 20px;
}

.tf-box-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8A96A;
  margin-bottom: 8px;
}

.tf-modal-text-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #D1D1D6;
  margin: 0;
}

.tf-modal-review-section {
  background: #18181B;
  border: 1px solid rgba(200, 169, 106, 0.25);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.tf-review-heading {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.tf-review-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #E0E0E6;
  font-style: italic;
}

.tf-modal-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .tf-modal-images-grid, .tf-modal-meta-grid, .tf-modal-phases-grid, .tf-modal-three-col {
    grid-template-columns: 1fr;
  }
  .tf-slider-container {
    height: 480px;
    max-height: 75vh;
  }
  .tf-modal-img-box {
    height: 380px;
  }
}

/* 9. Lightbox Modal */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-container {
  width: 100%;
  max-width: 650px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-primary);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 50px var(--color-gold-glow);
}

.modal-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--color-gold-primary);
}

/* 10. Credentials Badges Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.credential-card {
  padding: 24px;
  text-align: center;
  border: 1px solid var(--color-glass-border);
  border-radius: 8px;
}

.credential-badge-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px auto;
  color: var(--color-gold-primary);
}

/* 11. Mega Footer */
.mega-footer {
  background: #080809;
  border-top: 1px solid var(--color-glass-border);
  padding: 100px 0 40px 0;
  position: relative;
}

.section-padding {
  padding: var(--section-padding-y) 0;
  position: relative;
}

/* Section Background Alternating System */
.section-alt {
  background-color: #0B0B0C;
}

[data-theme="light"] .section-alt {
  background-color: #F4F2EC !important;
}

[data-theme="light"] section {
  background-color: #FAF9F5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-gold-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* Responsive Component Adjustments */
@media (max-width: 1024px) {
  .editorial-grid, .calculator-grid, .partnership-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .method-timeline::before {
    left: 24px;
  }
  .timeline-step, .timeline-step:nth-child(even) {
    flex-direction: row;
    padding-left: 64px;
  }
  .step-number {
    left: 24px;
  }
  .step-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .roi-calculator-card {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .calculator-grid {
    gap: 28px;
    margin-top: 20px;
  }
  .roi-metrics-grid {
    gap: 14px;
  }
  .metric-box {
    padding: 16px 12px;
  }
  .metric-box .metric-value {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }
  .partner-card {
    padding: 28px 18px;
    border-radius: 12px;
  }
  .service-card {
    padding: 28px 20px;
    min-height: auto;
  }
  .industry-card {
    padding: 24px 16px;
  }
  .roi-calculator-card .btn-primary,
  .calculator-grid .btn-primary {
    white-space: normal !important;
    line-height: 1.4 !important;
    padding: 14px 16px !important;
    font-size: 0.84rem !important;
    word-break: break-word;
    height: auto !important;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .roi-calculator-card {
    padding: 20px 14px;
  }
  .roi-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .metric-box {
    padding: 16px 14px;
    min-width: 0;
    overflow: hidden;
  }
  .metric-box .metric-value {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .metric-box .metric-label {
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.06em;
  }
  .badge-featured {
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    font-size: 0.65rem;
  }
}


/* ==========================================================================
   12. MOBILE APP BOTTOM NAVIGATION BAR & PWA BANNER
   ========================================================================== */

/* PWA App Install Banner */
.pwa-install-banner {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: linear-gradient(90deg, #161618 0%, #0F0F10 100%);
  border-bottom: 1px solid var(--color-gold-primary);
  padding: 12px 20px;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-app-icon {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-gold-primary);
  color: var(--color-gold-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
}

.pwa-app-info {
  display: flex; flex-direction: column;
}

.pwa-app-info strong {
  font-size: 0.85rem; color: var(--color-white);
}

.pwa-app-info span {
  font-size: 0.7rem; color: var(--color-gold-primary);
}

.pwa-banner-actions {
  display: flex; align-items: center; gap: 10px;
}

/* Mobile Bottom Navigation Bar (< 768px) */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Add padding to body so footer content isn't obscured by fixed bottom bar */
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 12px));
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    height: calc(68px + env(safe-area-inset-bottom, 12px));
    padding-bottom: env(safe-area-inset-bottom, 8px);
    background: rgba(15, 15, 16, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-glass-border);
    z-index: 1050;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.7);
  }

  .bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 6px 12px;
    min-width: 56px;
  }

  .bottom-bar-item svg, .bottom-bar-item i {
    width: 20px; height: 20px;
    color: var(--color-text-muted);
    transition: color 0.3s ease, transform 0.2s ease;
  }

  .bottom-bar-item:hover, .bottom-bar-item.active {
    color: var(--color-gold-primary);
  }

  .bottom-bar-item:hover svg, .bottom-bar-item.active svg {
    color: var(--color-gold-primary);
    transform: translateY(-2px);
  }

  /* Prominent Book Action Button on Mobile Bar */
  .bottom-bar-btn {
    background: linear-gradient(135deg, #C8A96A 0%, #A88644 100%);
    color: #0F0F10 !important;
    border-radius: 24px;
    padding: 8px 16px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(200, 169, 106, 0.35);
  }

  .bottom-bar-btn svg {
    color: #0F0F10 !important;
  }

  /* Touch Optimization */
  button, a, input, select, .filter-btn {
    min-height: 44px;
    touch-action: manipulation;
  }
}

/* ==========================================================================
   13. ULTRA-LUXURY LIGHT THEME OVERRIDES
   ========================================================================== */

/* Light Mode Header & Navbar */
[data-theme="light"] .header-nav.scrolled {
  background: rgba(250, 249, 245, 0.94);
  border-bottom: 1px solid rgba(184, 147, 74, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .brand-title {
  color: #141416;
}

[data-theme="light"] .nav-link {
  color: #4D4D54;
}

[data-theme="light"] .nav-link:hover {
  color: var(--color-gold-primary);
}

/* Light Mode Hero Section */
[data-theme="light"] .hero-section {
  background-color: #FAF9F5;
}

[data-theme="light"] .hero-gradient {
  background: linear-gradient(180deg, rgba(250,249,245,0.3) 0%, rgba(250,249,245,0.85) 70%, #FAF9F5 100%),
              radial-gradient(circle at 80% 20%, rgba(184, 147, 74, 0.2) 0%, transparent 60%);
}

[data-theme="light"] .hero-bg-image {
  opacity: 0.65;
  filter: brightness(0.92) contrast(1.05);
}

[data-theme="light"] .hero-title {
  color: #141416;
}

[data-theme="light"] .hero-subtitle {
  color: #4D4D54;
}

[data-theme="light"] .hero-badge {
  background: rgba(184, 147, 74, 0.1);
  border-color: rgba(184, 147, 74, 0.35);
  color: #8C6A28;
}

[data-theme="light"] .hero-stats-row {
  border-top-color: rgba(184, 147, 74, 0.25);
}

[data-theme="light"] .hero-stat-item h3 {
  color: var(--color-gold-primary);
}

[data-theme="light"] .hero-stat-item p {
  color: #6E6E75;
}

/* Light Mode Glass Panels & Cards */
[data-theme="light"] .glass-panel {
  background: #FFFFFF;
  border: 1px solid rgba(184, 147, 74, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 20px rgba(184, 147, 74, 0.08);
}

[data-theme="light"] .glass-panel:hover {
  border-color: var(--color-gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(184, 147, 74, 0.2);
  background: #FFFFFF;
}

[data-theme="light"] .service-card h3,
[data-theme="light"] .industry-card h4,
[data-theme="light"] .step-content h3,
[data-theme="light"] .section-title {
  color: #141416;
}

[data-theme="light"] .service-card p,
[data-theme="light"] .industry-card p,
[data-theme="light"] .step-content p,
[data-theme="light"] .section-desc {
  color: #4D4D54;
}

/* Light Mode Input Forms & Select Controls */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #F4F2EC !important;
  color: #141416 !important;
  border: 1px solid rgba(184, 147, 74, 0.3) !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #888890 !important;
}

/* Light Mode Timeline Line & Step Numbers */
[data-theme="light"] .method-timeline::before {
  background: linear-gradient(180deg, transparent 0%, var(--color-gold-primary) 15%, var(--color-gold-primary) 85%, transparent 100%);
}

[data-theme="light"] .step-number {
  background: #FAF9F5;
  border-color: var(--color-gold-primary);
  color: var(--color-gold-primary);
  box-shadow: 0 0 16px rgba(184, 147, 74, 0.3);
}

/* Light Mode ROI Calculator */
[data-theme="light"] .roi-calculator-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF9F5 100%);
  border-color: var(--color-gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 30px rgba(184, 147, 74, 0.15);
}

[data-theme="light"] .metric-box {
  background: #F4F2EC;
  border-color: rgba(184, 147, 74, 0.25);
}

[data-theme="light"] .metric-box .metric-value {
  color: var(--color-gold-primary);
}

[data-theme="light"] .metric-box .metric-label {
  color: #55555C;
}

/* Light Mode Mobile Bottom Navigation Bar */
[data-theme="light"] .mobile-bottom-bar {
  background: rgba(250, 249, 245, 0.94);
  border-top-color: rgba(184, 147, 74, 0.25);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .bottom-bar-item {
  color: #6E6E75;
}

[data-theme="light"] .bottom-bar-item svg {
  color: #6E6E75;
}

/* Light Mode Section Background Fades */
[data-theme="light"] .section-bg-overlay {
  background: linear-gradient(180deg, #FAF9F5 0%, rgba(250,249,245,0.45) 50%, #FAF9F5 100%),
              radial-gradient(circle at 50% 40%, rgba(184, 147, 74, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .section-faded-bg img {
  opacity: 0.38;
  filter: contrast(1.1) brightness(1.08);
}

/* ==========================================================================
   14. LUXURY WHATSAPP DIRECT BUTTONS (FOOTER & FLOATING)
   ========================================================================== */

/* Footer WhatsApp Button */
.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.35s var(--transition-smooth);
}

.footer-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #28E06C 0%, #15A090 100%);
}

.footer-whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

/* Footer Social Buttons */
.footer-social-btn {
  transition: all 0.35s var(--transition-smooth);
}

.footer-social-btn svg {
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.footer-social-btn:hover {
  background: rgba(200, 169, 106, 0.2) !important;
  border-color: #C8A96A !important;
  color: #FFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(200, 169, 106, 0.3);
}

.footer-social-btn:hover svg {
  stroke: #FFFFFF !important;
  transform: scale(1.1);
}

/* Floating Luxury Quick-Up Button */
.quick-up-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8A96A 0%, #A88644 100%);
  color: #0F0F10;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(200, 169, 106, 0.45), 0 0 20px rgba(200, 169, 106, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.quick-up-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

.quick-up-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.quick-up-btn:hover {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, #E0C895 0%, #C8A96A 100%);
  box-shadow: 0 14px 32px rgba(200, 169, 106, 0.65), 0 0 30px rgba(200, 169, 106, 0.4);
}

.quick-up-btn:hover svg {
  transform: translateY(-2px);
}

/* Light Theme Quick Up Button Adjustments */
[data-theme="light"] .quick-up-btn {
  background: linear-gradient(135deg, #B8934A 0%, #8C6A28 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(184, 147, 74, 0.35);
}

/* Mobile Placement above mobile bottom navigation bar */
@media (max-width: 768px) {
  .quick-up-btn {
    bottom: calc(76px + env(safe-area-inset-bottom, 8px));
    right: 16px;
    width: 42px;
    height: 42px;
    z-index: 1040;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5), 0 0 15px rgba(200, 169, 106, 0.3);
  }
  .quick-up-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================
   4 WELLNESS SOLUTIONS PILLARS STYLING
   ========================================== */
.solutions-four-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px;
}

@media (max-width: 992px) {
  .solutions-four-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

.solution-pillar-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  background: rgba(22, 22, 24, 0.85);
  border: 1px solid var(--color-glass-border);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.solution-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px var(--color-gold-glow);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(200, 169, 106, 0.12);
  border: 1px solid rgba(200, 169, 106, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-primary);
  flex-shrink: 0;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.pillar-list,
ul.pillar-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-list li,
ul.pillar-list li {
  list-style: none !important;
  list-style-type: none !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin: 0 !important;
  padding: 0 !important;
}

.pillar-list li i, 
.pillar-list li svg {
  color: var(--color-gold-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================
   FOUNDER PHOTO CONTAINER (CEO PRESENTATION)
   ========================================== */
.founder-photo-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  background: #161618;
}

.founder-main-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.founder-photo-container:hover .founder-main-img {
  transform: scale(1.03);
}

/* ==========================================
   FOOTER LEGAL INFO BOX
   ========================================== */
.footer-legal-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-glass-border);
  border-radius: 6px;
  padding: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-top: 16px;
}

/* About Section Side-by-Side Buttons */
.about-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

@media (max-width: 640px) {
  .about-action-buttons {
    grid-template-columns: 1fr !important;
  }
}


