@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* 2026 Cross-Document View Transitions (SPA-like page blending) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  
  /* Custom smooth blend animation */
  ::view-transition-old(root) {
    animation: 0.3s cubic-bezier(0.25, 1, 0.5, 1) both fade-out;
  }
  ::view-transition-new(root) {
    animation: 0.3s cubic-bezier(0.25, 1, 0.5, 1) both fade-in;
  }
}

@keyframes fade-out {
  to { opacity: 0; }
}
@keyframes fade-in {
  from { opacity: 0; }
}


/* ==========================================================================
   Dr. Kareena Ooi Branding - Custom CSS
   Style: Serene Luxury (静奢风) - Premium, Clean, Authoritative, Organic
   ========================================================================== */

/* Design Tokens & Custom Variables */
:root {
  /* Premium Palette */
  --primary-color: #1b3b2b;       /* Deep Emerald / Safe Natural Healing */
  --primary-light: #2c543f;
  --primary-dark: #0e2017;
  
  --accent-color: #c9a054;        /* Brushed Champagne Gold / Soul & Light */
  --accent-light: #e0be7d;
  --accent-dark: #997433;
  --accent-text: #886326;         /* High-contrast bronze-gold for WCAG compliance */
  --accent-rgb: 201, 160, 84;
  
  --text-dark: #121814;           /* Editorial Charcoal */
  --text-muted: #3c473e;          /* Enhanced contrast Muted Sage for WCAG AA readability */
  --text-light: #ffffff;
  
  --bg-warm: #fbfaf8;             /* Warm Ivory / Human & Natural */
  --bg-white: #ffffff;
  --bg-dark: #0e120f;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 20px 50px rgba(27, 59, 43, 0.05);
  --glass-blur: 16px;

  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
  --font-sans: 'Montserrat', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: #fbfaf8;
  background-image: 
    radial-gradient(at 0% 0%, rgba(224, 233, 227, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(245, 239, 228, 0.45) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(224, 233, 227, 0.2) 0px, transparent 50%);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}

/* Luxury Editorial Fine Matte Paper Grain Texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Fluid Canvas Positioning */
#flowCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Typography Helper Utilities */
.font-sans {
  font-family: var(--font-sans) !important;
}

.font-serif {
  font-family: var(--font-serif) !important;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 6px;
  font-weight: 400;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-align: center;
}

.sub-btn {
  font-size: 9px;
  opacity: 0.75;
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 300;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-warm);
  border: 1px solid var(--primary-color);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-warm);
}

.btn-nav {
  padding: 10px 24px;
  background-color: var(--primary-color);
  color: var(--bg-warm);
  font-size: 11px;
  letter-spacing: 0.15em;
  border-radius: 2px;
  border: 1px solid var(--primary-color);
}

.btn-nav:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-whatsapp-large {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: var(--primary-color);
  color: var(--bg-warm);
  border-radius: 2px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--primary-color);
}

.btn-whatsapp-large:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-whatsapp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 30px;
  background-color: var(--primary-color);
  color: var(--bg-warm);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--primary-color);
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(27, 59, 43, 0.1);
}

.btn-whatsapp-submit:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(27, 59, 43, 0.15);
}

.btn-secondary-plain {
  background: transparent;
  color: var(--text-muted);
  border: none;
  box-shadow: none;
  text-decoration: underline;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.btn-secondary-plain:hover {
  color: var(--primary-color);
  background: transparent;
}

/* Glassmorphism Panel base */
.glass-panel {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

/* Section Title Component */
.section-header {
  margin-bottom: 60px;
}

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

.section-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}



.accent-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-text);
  font-family: var(--font-sans);
  font-weight: 400;
}

.main-title {
  font-size: 38px;
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.en-title {
  font-size: 10px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-desc {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.8;
  font-weight: 300;
}

/* Premium Header Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

/* Sticky Shrinking Header (Fallback for JS trigger) */
.main-header.scrolled {
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid rgba(27, 59, 43, 0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.02);
}

/* 2026 Native Scroll-Driven Animation (SDA) for ultra-smooth transition */
@keyframes header-scroll-anim {
  to {
    background: rgba(251, 250, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    border-bottom: 1px solid rgba(27, 59, 43, 0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.02);
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .main-header {
      animation: header-scroll-anim auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 100px;
    }
  }
}

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

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-zh {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.logo-en {
  font-size: 10px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-text);
}

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

.nav-link {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

/* Hero Section Styling */
.hero-section {
  position: relative;
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-warm);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-spacer {
  display: block;
  height: 100%;
  pointer-events: none;
}

/* Background Portrait Container (Desktop) */
.hero-portrait-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  
  /* Premium Slow Entrance Animation Override */
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-portrait-bg.active-reveal {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradients blending the portrait into warm ivory */
.hero-portrait-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Horizontal fade from solid ivory (left) to transparent (right) */
    linear-gradient(
      to right,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0.95) 20%,
      rgba(251, 250, 248, 0.4) 60%,
      rgba(251, 250, 248, 0) 100%
    ),
    /* Vertical fade to blend bottom of image with background */
    linear-gradient(
      to top,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 8%
    );
  z-index: 2;
  pointer-events: none;
}

/* Typographic Caption (Desktop Overlay) */
.hero-portrait-bg .hero-image-caption {
  position: absolute;
  bottom: 80px;
  left: 48px;
  z-index: 3;
  max-width: 320px;
  text-align: left;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 160, 84, 0.08);
  border: 1px solid rgba(201, 160, 84, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-dark);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.editorial-hero-title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--primary-color);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.editorial-hero-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 16px;
  font-family: var(--font-sans);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.font-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent-color);
  font-style: normal;
  border-left: 2px solid var(--accent-color);
  padding-left: 18px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.quote-sub {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: normal;
  display: block;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.hero-desc-sub {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.caption-quote {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--primary-color);
  line-height: 1.6;
  margin-bottom: 8px;
  font-weight: 400;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.caption-author {
  font-size: 10px;
  color: var(--accent-dark);
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-sans);
  display: block;
}

.hero-desc-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
  opacity: 0.95;
}

.desc-en {
  font-family: var(--font-sans);
  font-size: 13px;
  display: block;
  margin-top: 8px;
  opacity: 0.85;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* Old Hero Visual containers removed */



/* Credentials Bar */
.credentials-bar {
  padding: 48px 0;
  background: transparent;
  border: none;
  margin-top: 0;
}

.credentials-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.cred-num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--accent-text);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.cred-text h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cred-text p {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.credential-divider {
  display: none;
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-warm);
  min-height: 640px; /* Tall minimum height to show her body and white jacket */
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.about-spacer {
  display: block;
  height: 100%;
  pointer-events: none;
}

/* Background Portrait Container (Desktop) */
.about-portrait-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  
  /* Premium Slow Entrance Animation Override */
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.about-portrait-bg.active-reveal {
  opacity: 1;
  transform: scale(1);
}

.about-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-portrait-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Horizontal fade from solid ivory (right) to transparent (left) */
    linear-gradient(
      to left,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0.95) 20%,
      rgba(251, 250, 248, 0.4) 60%,
      rgba(251, 250, 248, 0) 100%
    ),
    /* Vertical fades to blend top and bottom of image (longer multi-stop top fade for the dark backdrop) */
    linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0.95) 8%,
      rgba(251, 250, 248, 0.6) 22%,
      rgba(251, 250, 248, 0) 45%
    ),
    linear-gradient(
      to top,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0.8) 5%,
      rgba(251, 250, 248, 0) 20%
    );
  z-index: 2;
  pointer-events: none;
}



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

.about-intro {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-story {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

.about-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
}

.cred-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cred-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.cred-list-item strong {
  font-size: 14.5px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--primary-color);
}

.cred-list-item p {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--primary-color);
  background: rgba(27, 59, 43, 0.05);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.philosophy-section {
  background: transparent;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pillar-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(27, 59, 43, 0.05);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.pillar-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.pillar-en {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.pillar-list {
  list-style: none;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(27, 59, 43, 0.08);
  padding-top: 24px;
}

.pillar-list li {
  font-size: 13.5px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-list li i {
  font-size: 12px;
  color: var(--accent-color);
}

/* Highlighted central card */
.highlighted-pillar {
  border-color: rgba(201, 160, 84, 0.35);
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.08);
  transform: translateY(-8px);
}

.highlighted-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
}

.highlighted-pillar .pillar-icon-wrapper {
  background-color: var(--primary-color);
  color: var(--accent-light);
}

.pillar-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 160, 84, 0.3);
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.08);
}

/* Classes Section */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.class-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.class-img-holder {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background-color: rgba(27, 59, 43, 0.03);
  border: 1px solid rgba(201, 160, 84, 0.15);
  border-radius: 16px;
}

.class-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 16px;
}

.class-card:hover .class-image {
  transform: scale(1.05);
}

.class-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary-color);
  color: var(--bg-warm);
  font-size: 9px;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.class-info {
  padding: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.class-info h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.class-en {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--accent-dark);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: block;
}

.class-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.class-details {
  display: flex;
  gap: 16px;
  margin-top: auto;
  margin-bottom: 20px;
  border-top: 1px solid rgba(201, 160, 84, 0.15);
  padding-top: 16px;
}

.class-details span {
  font-size: 11.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: max-content;
  padding: 6px 0;
  background-color: transparent;
  color: var(--primary-color);
  border: none;
  border-bottom: 1px solid rgba(201, 160, 84, 0.5);
  border-radius: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-card-cta i {
  color: var(--accent-color);
  font-size: 13px;
}

.class-card:hover .btn-card-cta {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
  padding-left: 5px;
}

/* Life Flow Assessment Interactive Quiz */
.quiz-section {
  background: transparent;
}

.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
  border-radius: 16px;
  border: 1px solid rgba(201, 160, 84, 0.2);
  background-color: rgba(255, 255, 255, 0.45);
}

.quiz-screen {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-icon-large {
  font-size: 56px;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.quiz-icon-success {
  font-size: 56px;
  color: #25d366;
  margin-bottom: 24px;
}

.quiz-screen h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.quiz-screen p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(27, 59, 43, 0.08);
  border-radius: 50px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.question-number {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.question-text {
  font-size: 20px;
  margin-bottom: 32px;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.option-btn {
  width: 100%;
  padding: 16px 24px;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(201, 160, 84, 0.25);
  border-radius: 8px;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
}

.option-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-warm);
  border-color: var(--primary-color);
  transform: translateX(4px);
  box-shadow: none;
}

.result-box {
  background: rgba(201, 160, 84, 0.05);
  border: 1px solid rgba(201, 160, 84, 0.3);
  border-radius: 2px;
  padding: 24px;
  width: 100%;
  margin-bottom: 24px;
  text-align: left;
}

.result-box h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.result-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.result-tip {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.quiz-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.d-none {
  display: none !important;
}

/* Testimonials Section */
.testimonial-slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.testimonial-item-slide {
  width: 100%;
  display: none;
  text-align: center;
  animation: slideFade 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-item-slide.active {
  display: block;
}

@keyframes slideFade {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.testimonial-rating {
  color: var(--accent-color);
  font-size: 16px;
  margin-bottom: 20px;
}

.testimonial-content {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--primary-color);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 32px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.user-avatar-placeholder {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--bg-warm);
  font-family: var(--font-serif);
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  text-align: left;
}

.user-info h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.user-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 160, 84, 0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--primary-color);
  color: var(--bg-warm);
  border-color: var(--primary-color);
}

.slider-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.slider-dot {
  width: 16px;
  height: 2px;
  background-color: rgba(201, 160, 84, 0.25);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 32px;
  background-color: var(--accent-color);
  border-radius: 0;
}

/* Contact & Inquiry Section */
.contact-glass-card {
  width: 100%;
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.03);
  overflow: hidden;
  padding: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
}

.contact-left-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-left-col .accent-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.contact-left-col .main-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.contact-left-col .en-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.contact-lead-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-minimal-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform var(--transition-smooth);
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(201, 160, 84, 0.08);
  color: var(--accent-color);
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
  background-color: var(--primary-color);
  color: var(--bg-warm);
}

.contact-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.item-link {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.item-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.item-link:hover {
  color: var(--accent-text);
}

.item-link:hover::after {
  transform: scaleX(1);
}

.item-text {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--primary-color);
  font-weight: 500;
}

.contact-right-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-right-col h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.form-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  font-weight: 600;
}

.required {
  color: var(--accent-dark);
  margin-left: 2px;
}

.form-input-wrapper {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(27, 59, 43, 0.15);
  background-color: transparent;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-dark);
  transition: border-color 0.4s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a3ada5;
  font-size: 13.5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
}

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.form-group input:focus ~ .focus-border,
.form-group select:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
  transform: scaleX(1);
}

.form-group textarea {
  resize: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 24px;
}

.select-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 11px;
  pointer-events: none;
  transition: color 0.3s;
}

.select-wrapper select:focus + .select-chevron {
  color: var(--accent-color);
}

/* Premium Footer */
.main-footer {
  background-color: transparent;
  color: var(--text-muted);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(201, 160, 84, 0.2);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.footer-brand h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-kkm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  background-color: rgba(201, 160, 84, 0.05);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4 {
  color: var(--primary-color);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

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

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

.footer-legal {
  grid-column: span 2;
  border-top: 1px solid rgba(201, 160, 84, 0.2);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.disclaimer {
  line-height: 1.6;
}

/* Dual-Track Specialties Section */
.specialties-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.comparison-guide-box {
  padding: 24px 30px;
  border: 1px solid rgba(224, 233, 227, 0.85);
  background-color: rgba(224, 233, 227, 0.35); /* sage tint */
  border-radius: 16px;
  text-align: left;
}

.highlighted-guide {
  background-color: rgba(245, 239, 228, 0.45); /* champagne tint */
  border: 1px solid rgba(201, 160, 84, 0.3);
}

.guide-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-tag {
  font-size: 9px;
  font-family: var(--font-sans);
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 2px 8px;
  border: 1px solid rgba(201, 160, 84, 0.3);
  border-radius: 1px;
}

.guide-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 768px) {
  .specialties-comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Specialties Section Redesign Styles */
.specialties-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: stretch;
  margin-top: 60px;
}

.specialty-block {
  padding: 56px 48px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.94); /* High opacity to block out background texture show-through */
  border: 1px solid rgba(27, 59, 43, 0.06);
  box-shadow: 0 20px 45px rgba(27, 59, 43, 0.02);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.specialty-block.highlighted-track {
  background: rgba(245, 248, 246, 0.95); /* Pure high-opacity light sage-white */
  border-color: rgba(27, 59, 43, 0.08);
}

.specialty-block:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 160, 84, 0.35);
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.06);
  background: #ffffff; /* Solid white on hover */
}

.specialty-block.highlighted-track:hover {
  background: rgba(245, 248, 246, 0.98);
}

/* Large Roman Numeral Watermark */
.track-watermark-num {
  position: absolute;
  top: -10px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: 130px;
  font-weight: 300;
  color: rgba(201, 160, 84, 0.08); /* faint gold */
  line-height: 1;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.specialty-block:hover .track-watermark-num {
  color: rgba(201, 160, 84, 0.18);
  transform: scale(1.08) translateY(-4px);
}

.specialty-title-group h3 {
  font-size: 24px;
  font-family: var(--font-serif);
  color: var(--primary-color);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.specialty-subtitle {
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  text-transform: uppercase;
  opacity: 0.85;
}

.track-desc-lead {
  font-size: 14.5px;
  font-weight: 300; /* Light weight to establish a clean supporting role below the title */
  color: var(--text-muted); /* Soft gray to recede text importance */
  margin-top: 12px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.track-desc-story {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Horizontal Tag Groups */
.track-focus-section {
  border-top: 1px solid rgba(27, 59, 43, 0.06);
  padding-top: 24px;
  margin-top: auto;
  text-align: left;
}

.focus-title {
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.track-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-tags-group span {
  font-size: 11.5px;
  color: var(--primary-color);
  background-color: rgba(27, 59, 43, 0.04);
  border: 1px solid rgba(27, 59, 43, 0.06);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 400;
  transition: all 0.3s;
}

.specialty-block:hover .track-tags-group span {
  background-color: rgba(201, 160, 84, 0.06);
  border-color: rgba(201, 160, 84, 0.25);
  color: var(--accent-dark);
}

/* Signature Course / Workshop Integrations inside Specialty blocks */
.track-course-link {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(27, 59, 43, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.course-label {
  font-size: 10px;
  font-family: var(--font-sans);
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.course-cta {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.4s ease;
  display: inline-block;
}

.course-cta:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

/* Specific custom tag overrides for class tags */
.class-tag.green-tag {
  background-color: rgba(27, 59, 43, 0.08);
  color: var(--primary-light);
  border: 1px solid rgba(27, 59, 43, 0.15);
}

.class-tag.gold-tag {
  background-color: rgba(201, 160, 84, 0.08);
  color: var(--accent-dark);
  border: 1px solid rgba(201, 160, 84, 0.15);
}

/* Homoeopathy Educational Section */
.education-section {
  padding: 120px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Background Hairline Grid Backdrop */
.education-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(27, 59, 43, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 59, 43, 0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Vertical Watermark text */
.bg-watermark-vertical {
  position: absolute;
  left: -20px;
  top: 25%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif);
  font-size: 150px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(27, 59, 43, 0.018); /* ultra-faint green */
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Reusable Section Background Photo Styles */
.philosophy-section,
.classes-section,
.quiz-section,
.testimonials-section {
  position: relative;
  overflow: hidden;
}

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

.section-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.14; /* Increased global opacity so textures are actually visible */
  filter: grayscale(5%) contrast(100%) brightness(98%);
  transition: transform 12s ease-out;
}

/* Specific section overrides to match light density */
#family-constellation .section-bg-photo {
  opacity: 0.20; /* Make raked sand ripples clearly visible to enhance narrative flow */
}

#classes .section-bg-photo {
  opacity: 0.16;
}

#quiz .section-bg-photo {
  opacity: 0.16;
}

#testimonials .section-bg-photo {
  opacity: 0.16;
}

/* Slowly zoom background image on scroll reveal */
.reveal-on-scroll.active-reveal .section-bg-photo {
  transform: scale(1.05);
}

/* 4-Way Gradient Edge Blending Overlay */
.section-bg-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Vertical edge fade (top and bottom) */
    linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 12%,
      rgba(251, 250, 248, 0) 88%,
      var(--bg-warm) 100%
    ),
    /* Horizontal edge fade (left and right) */
    linear-gradient(
      to right,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 12%,
      rgba(251, 250, 248, 0) 88%,
      var(--bg-warm) 100%
    );
  z-index: 1;
}

/* Background Botanical Photo Watermark */
.education-bg-photo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.education-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.07; /* Very subtle texture to prevent legibility issues */
  filter: grayscale(10%) contrast(95%);
  transition: transform 12s ease-out;
}

/* Slowly zoom background image on scroll/reveal */
.education-section.active-reveal .education-bg-photo {
  transform: scale(1.06);
}

/* 4-Way Gradient Edge Blending Overlay */
.education-bg-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Vertical edge fade (top and bottom) */
    linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 12%,
      rgba(251, 250, 248, 0) 88%,
      var(--bg-warm) 100%
    ),
    /* Horizontal edge fade (left and right) */
    linear-gradient(
      to right,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 12%,
      rgba(251, 250, 248, 0) 88%,
      var(--bg-warm) 100%
    );
  z-index: 1;
}

.education-split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}

.edu-nav-panel {
  position: sticky;
  top: 120px;
}

.edu-tab-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.edu-tab-btn {
  background: rgba(255, 255, 255, 0.25); /* Soft white-glass background for inactive state */
  border: 1px solid rgba(27, 59, 43, 0.03); /* Delicate border */
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
}

.edu-tab-btn:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(201, 160, 84, 0.2);
  transform: translateX(4px);
  box-shadow: 0 10px 25px rgba(27, 59, 43, 0.02);
}

.edu-tab-btn.active {
  background: #ffffff; /* Solid pure white */
  border-color: rgba(201, 160, 84, 0.35); /* Gold active border */
  box-shadow: 0 12px 30px rgba(27, 59, 43, 0.03);
  transform: translateX(6px); /* Active list lift transition */
}

.edu-tab-btn .tab-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 84, 0.3); /* Delicate circular badge */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--accent-dark);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  flex-shrink: 0;
}

.edu-tab-btn.active .tab-num {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff; /* Solid color pop on active */
}

.edu-tab-btn .tab-label-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-tab-btn .tab-label-group strong {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.4s;
}

.edu-tab-btn.active .tab-label-group strong {
  color: var(--accent-dark);
}

.edu-tab-btn .tab-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.edu-canvas-panel {
  position: relative;
  width: 100%;
}

.showcase-canvas {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88); /* Increased opacity to prevent background texture show-through */
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 70px rgba(27, 59, 43, 0.04);
}

.canvas-glass-frame {
  position: relative;
  z-index: 5;
  width: 100%;
}

.canvas-slide {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.canvas-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.slide-tag {
  font-size: 10px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  border: 1px solid rgba(201, 160, 84, 0.4);
  background-color: rgba(201, 160, 84, 0.05);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 24px;
}

.canvas-slide h3 {
  font-size: 26px;
  font-family: var(--font-serif);
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.slide-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 30px;
}

.slide-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-left: 3px solid var(--accent-color);
  background: rgba(245, 239, 228, 0.35); /* Warm soft champagne */
  border-radius: 0 12px 12px 0;
}

.slide-highlight i {
  font-size: 18px;
  color: var(--accent-color);
  margin-top: 4px;
}

.slide-highlight span {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--primary-color);
}

/* Breathing Vital Force Sphere */
.vital-force-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px); /* Deep blur for smooth aura transition */
  transform: translate(-50%, -50%);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.vital-force-sphere.glow-state-1 {
  background: radial-gradient(circle, rgba(201, 160, 84, 0.85) 0%, transparent 70%);
  animation: breatheGlow 8s infinite alternate ease-in-out;
}

.vital-force-sphere.glow-state-2 {
  background: radial-gradient(circle, rgba(142, 192, 172, 0.85) 0%, transparent 70%);
  animation: breatheGlow 8s infinite alternate ease-in-out;
}

.vital-force-sphere.glow-state-3 {
  background: radial-gradient(circle, rgba(27, 59, 43, 0.70) 0%, transparent 70%);
  animation: breatheGlow 8s infinite alternate ease-in-out;
}

@keyframes breatheGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.28;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.45;
  }
}

/* Circular Constellation Layout for Homoeopathy Principles */
.edu-circles-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin-top: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.edu-circle-card-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-circle-card {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); /* High opacity to block background photos */
  border: 1px solid rgba(27, 59, 43, 0.05);
  box-shadow: 0 15px 35px rgba(27, 59, 43, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px;
  position: relative;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.edu-circle-card-wrapper:hover .edu-circle-card {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(201, 160, 84, 0.35);
  box-shadow: 0 25px 50px rgba(27, 59, 43, 0.06);
  background: #ffffff;
}

.circle-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--accent-color);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1;
}

.edu-circle-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.3;
}

.circle-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  opacity: 0.85;
}

.circle-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
}

/* Background Glowing Aura Spheres */
.circle-glow-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.22;
  z-index: 1;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glow palette per wrapper */
.aura-color-1 {
  background: radial-gradient(circle, rgba(201, 160, 84, 0.85) 0%, transparent 70%);
}

.aura-color-2 {
  background: radial-gradient(circle, rgba(142, 192, 172, 0.85) 0%, transparent 70%);
}

.aura-color-3 {
  background: radial-gradient(circle, rgba(27, 59, 43, 0.70) 0%, transparent 70%);
}

/* Breathe effect on hover */
.edu-circle-card-wrapper:hover .circle-glow-aura {
  width: 320px;
  height: 320px;
  opacity: 0.38;
}

/* Luxury Educational Banner */
.education-banner {
  padding: 48px 56px;
  background: linear-gradient(135deg, rgba(224, 233, 227, 0.45) 0%, rgba(245, 239, 228, 0.28) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--accent-color);
  border-radius: var(--border-radius-md);
  margin-top: 80px;
  box-shadow: 0 25px 55px rgba(27, 59, 43, 0.03);
  position: relative;
  overflow: hidden;
}

.education-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201, 160, 84, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.banner-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-tag {
  display: inline-block;
  font-size: 9px;
  font-family: var(--font-sans);
  color: var(--accent-dark);
  border: 1px solid rgba(201, 160, 84, 0.35);
  background-color: rgba(201, 160, 84, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.education-banner h4 {
  font-size: 23px;
  color: var(--primary-color);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
}

.education-banner p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 991px) {
  .banner-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.banner-action .btn-secondary {
  border: 1px solid var(--accent-color);
  background-color: transparent;
  color: var(--primary-color);
  padding: 16px 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-action .btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-warm);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(27, 59, 43, 0.15);
}

/* ==========================================================================
   Responsive Styling (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align the text container to the bottom half */
    align-items: center;
    padding-top: calc(var(--header-height) + 120px); /* Leave top half empty to expose her face */
    padding-bottom: 30px;
    min-height: 100vh;
  }

  .hero-container {
    position: relative;
    z-index: 5;
    order: 2;
    grid-template-columns: 1fr;
    text-align: center;
    background: rgba(251, 250, 248, 0.85); /* Frosted warm ivory */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(27, 59, 43, 0.12);
    border-radius: 20px;
    padding: 28px 20px 24px 20px; /* Compact padding to keep card height inside the bottom half */
    width: calc(100% - 32px);
    max-width: 440px;
    margin: 0 auto;
  }
  
  .hero-content {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .hero-spacer {
    display: none;
  }
  
  /* Mobile Hero Portrait as Background */
  .hero-portrait-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: none;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.8s ease, transform 1.8s ease;
  }

  .hero-portrait-bg.active-reveal {
    opacity: 1; /* Fully visible background portrait */
    transform: scale(1);
  }

  .hero-portrait-bg .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Elegant vertical gradient to blend top/bottom of dark photo with warm ivory sections */
  .hero-portrait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 15%,
      rgba(251, 250, 248, 0) 85%,
      var(--bg-warm) 100%
    );
    z-index: 2;
    pointer-events: none;
    display: block;
  }

  .hero-portrait-bg .hero-image-caption {
    display: none; /* Hide quote caption on mobile background */
  }
  
  /* Hide non-essential content on mobile to keep the glass card extremely compact */
  .hero-section .badge-premium,
  .hero-section .hero-desc-sub,
  .hero-section .hero-desc .quote-sub {
    display: none !important;
  }
  
  .editorial-hero-title {
    font-size: 38px; /* Safe scaling to prevent overflow clipping on smaller displays */
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .editorial-hero-sub {
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
  }

  .main-title {
    font-size: 28px; /* Safe scaling for sub-sections */
    line-height: 1.35;
  }

  .section-desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin-top: 16px;
  }
  .about-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align the text container to the bottom half */
    align-items: center;
    padding-top: calc(var(--header-height) + 120px); /* Leave top half empty to expose her face */
    padding-bottom: 30px;
    min-height: 100vh;
  }

  .about-container {
    position: relative;
    z-index: 5;
    order: 2;
    grid-template-columns: 1fr;
    background: rgba(251, 250, 248, 0.85); /* Frosted warm ivory */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(27, 59, 43, 0.12);
    border-radius: 20px;
    padding: 28px 20px; /* Compact padding to keep card height inside the bottom half */
    width: calc(100% - 32px);
    max-width: 440px;
    margin: 0 auto;
  }
  
  .about-spacer {
    display: none;
  }

  /* About Portrait as Background */
  .about-portrait-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: none;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.8s ease, transform 1.8s ease;
  }
  
  .about-portrait-bg.active-reveal {
    opacity: 1; /* Fully visible background portrait */
    transform: scale(1);
  }
  
  .about-portrait-bg .about-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
  }
  
  /* Elegant vertical gradient to blend top/bottom of dark photo with warm ivory sections */
  .about-portrait-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      var(--bg-warm) 0%,
      rgba(251, 250, 248, 0) 15%,
      rgba(251, 250, 248, 0) 85%,
      var(--bg-warm) 100%
    );
    z-index: 2;
    pointer-events: none;
    display: block;
  }
  
  /* Hide non-essential content on mobile to keep the glass card extremely compact */
  .about-section .about-credentials-list,
  .about-section .about-badges,
  .about-section .accent-title {
    display: none !important;
  }



  .specialties-container {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .specialty-block {
    padding: 40px 30px;
  }
  
  .track-watermark-num {
    font-size: 100px;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .highlighted-pillar {
    transform: none;
  }
  
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-glass-card {
    padding: 40px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-minimal-list {
    margin-top: 40px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Circular Constellation overrides for Mobile/Tablet */
  .edu-circle-card-wrapper {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .edu-circle-card {
    padding: 24px;
  }

  .edu-circle-card h4 {
    font-size: 17px;
  }

  .circle-desc {
    font-size: 12.5px;
    max-width: 200px;
    line-height: 1.5;
  }

  .circle-glow-aura {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .hero-content h1 {
    font-size: 34px;
  }
  
  .credentials-container {
    justify-content: center;
  }
  
  .credential-item {
    min-width: 100%;
    justify-content: center;
  }
  
  .credential-divider {
    display: none;
  }
  

  
  /* Mobile Navigation Menu */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(251, 250, 248, 0.96); /* Elegant warm opacity overlay */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: -10px 10px 30px rgba(27, 59, 43, 0.05);
    border-top: 1px solid rgba(27, 59, 43, 0.05);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  /* Hamburger State */
  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .contact-glass-card {
    padding: 30px 16px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .about-portrait-bg {
    max-width: 100%;
    margin-bottom: 60px;
  }
}

/* ==========================================================================
   Million-Dollar Production Atmospheric Glow & Scroll Elevation
   ========================================================================== */

/* Drifting Cinematic Ambient Orbs */
.ambient-glow-orb {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  pointer-events: none;
  z-index: -2;
  animation: driftOrb 30s infinite alternate ease-in-out;
  will-change: transform;
}

.orb-1 {
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 75%);
  top: 15%;
  left: -15%;
}

.orb-2 {
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 75%);
  top: 45%;
  right: -15%;
  animation-delay: -7s;
  animation-duration: 35s;
}

.orb-3 {
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 75%);
  top: 80%;
  left: 20%;
  animation-delay: -15s;
  animation-duration: 40s;
}

@keyframes driftOrb {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(60px, -40px) scale(1.1) rotate(90deg);
  }
  100% {
    transform: translate(-40px, 60px) scale(0.9) rotate(180deg);
  }
}

/* Lenis Scroll Overrides for momentum fluidity */
html.lenis {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}

.lenis-smooth scroll-timeline {
  scroll-timeline: none;
}

/* Editorial Style Accents */
.editorial-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-color);
}

/* Subtle mouse hover interactive lighting card glow */
.glass-panel {
  position: relative;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(201, 160, 84, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.glass-panel:hover::before {
  opacity: 1;
}

/* ==========================================================================
   Next-Level "Million-Dollar Production" Luxury Enhancements
   ========================================================================== */

/* Legacy hero image wrapper classes removed */

.hero-overlap-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  z-index: 3;
  padding: 20px 24px;
  max-width: 280px;
  border-radius: 16px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Flagship Curriculum Journey Section */
.blueprint-section {
  background: transparent;
  border-top: none;
}

.blueprint-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  align-items: stretch;
}

.timeline-day-card {
  padding: 40px;
  position: relative;
  background: rgba(224, 233, 227, 0.35); /* faint sage wash for Day 1 */
  border: 1px solid rgba(224, 233, 227, 0.85);
  border-radius: 16px;
  box-shadow: none;
}

.highlighted-day {
  background: rgba(245, 239, 228, 0.45); /* faint champagne wash for Day 2 */
  border: 1px solid rgba(201, 160, 84, 0.35);
}

.day-badge {
  display: inline-block;
  background: transparent !important;
  color: var(--accent-color) !important;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  padding: 0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(201, 160, 84, 0.4);
  padding-bottom: 4px;
}

.day-title {
  font-size: 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.day-subtitle {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--accent-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}

.day-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 35px;
  font-weight: 300;
}

.blueprint-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blueprint-list li {
  display: flex;
  gap: 20px;
}

.step-num {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  min-width: 30px;
  letter-spacing: 0.05em;
}

.step-content h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.step-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-blueprint-cta {
  padding: 16px 48px;
}

/* Diagnostic Consoles Pulsing Loader Ripple */
.quiz-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.loader-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-ripple::before, .loader-ripple::after {
  content: '';
  position: absolute;
  border: 4px solid var(--accent-color);
  opacity: 1;
  border-radius: 50%;
  animation: loader-ripple 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple::after {
  animation-delay: -0.5s;
}

@keyframes loader-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

/* Responsiveness overrides for the new elements */
@media (max-width: 992px) {
  .blueprint-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .highlighted-day {
    border-left: none;
    border-top: 1px solid rgba(201, 160, 84, 0.2);
    padding-left: 0;
    padding-top: 40px;
  }
  .hero-overlap-card {
    position: relative;
    left: 0;
    bottom: 0;
    margin: -20px auto 0;
    max-width: 100%;
  }
}

/* Bottleneck & Breakthrough Row Cards */
.blueprint-intro-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.intro-row-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 32px 40px;
  border: 1px solid rgba(201, 160, 84, 0.2);
  background-color: rgba(245, 239, 228, 0.3); /* faint champagne wash */
  border-radius: 16px;
  text-align: left;
}

.row-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(201, 160, 84, 0.15);
  padding-right: 20px;
  justify-content: center;
}

.row-category {
  font-size: 9px;
  font-family: var(--font-sans);
  color: var(--accent-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.row-heading {
  font-size: 22px;
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.split-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.col-label {
  font-size: 10px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.bottleneck-col .col-label {
  color: var(--text-muted);
}

.breakthrough-col .col-label {
  color: var(--accent-color);
}

.split-col p {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 992px) {
  .intro-row-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }
  .row-meta {
    border-right: none;
    border-bottom: 1px solid rgba(201, 160, 84, 0.15);
    padding-right: 0;
    padding-bottom: 15px;
    justify-content: flex-start;
  }
  .row-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   Million-Dollar Refinement Styles: Letter Reveals, Drop-caps & Typography
   ========================================================================== */

/* Drop-cap for Biography intros */
.drop-cap {
  float: left;
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1;
  margin-right: 8px;
  margin-top: 1px;
  color: var(--accent-color);
  font-weight: 400;
}

/* Staggered letter reveal active state */
.reveal-on-scroll.active-reveal .char-span {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Custom Premium Serene Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
  background: rgba(27, 59, 43, 0.15); /* Faint Emerald */
  border-radius: 4px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(27, 59, 43, 0.35);
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(27, 59, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease, background-color 0.3s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--primary-color);
  color: var(--bg-warm);
}

/* ==========================================================================
   Course Spotlight Highlight Card
   ========================================================================== */
.course-spotlight-card {
  margin: 60px auto 0 auto;
  max-width: 1000px;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.04);
  position: relative;
  z-index: 5;
  background: rgba(251, 250, 248, 0.92);
}

.course-spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.course-spotlight-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.spotlight-tag {
  display: block;
  font-size: 11px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 12px;
  font-weight: 500;
}

.course-spotlight-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

.course-desc-p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.course-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.course-highlights li i {
  color: var(--primary-color);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.course-spotlight-action {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  background-color: rgba(27, 59, 43, 0.02);
  border-left: 2px solid var(--accent-color);
  border-radius: 0 8px 8px 0;
  text-align: left;
}

.course-meta-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(27, 59, 43, 0.05);
  color: var(--primary-color);
  font-size: 14px;
  flex-shrink: 0;
}

.meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.meta-val {
  font-size: 13.5px;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-course-enroll {
  margin-top: 8px;
  text-align: center;
  width: 100%;
  display: block;
}

/* Course Spotlight Mobile Responsive Queries */
@media (max-width: 992px) {
  .course-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .course-spotlight-action {
    border-left: none;
    border-top: 2px solid var(--accent-color);
    border-radius: 0 0 8px 8px;
    padding: 24px 0 0 0;
  }
}

@media (max-width: 576px) {
  .course-spotlight-card {
    padding: 32px 24px;
    margin-top: 40px;
  }
  
  .course-spotlight-info h3 {
    font-size: 22px;
  }
}

/* ==========================================================================
   Specialty Focus Tags and Symmetrical Labels
   ========================================================================== */
.specialty-focus-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.specialty-focus-bar .focus-title {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-text);
  font-weight: 600;
}

/* ==========================================================================
   FAQ Accordion Section Styles
   ========================================================================== */
.faq-accordion-container {
  max-width: 900px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(27, 59, 43, 0.05);
}

.faq-item.active {
  background: #ffffff;
  border-color: rgba(201, 160, 84, 0.25);
  box-shadow: 0 20px 45px rgba(27, 59, 43, 0.03);
}

.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 32px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.faq-q-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-text);
  padding: 3px 8px;
  background: rgba(136, 99, 38, 0.08);
  border-radius: 4px;
  flex-shrink: 0;
}

.faq-icon {
  color: var(--primary-color);
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-text);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 32px 28px 32px;
  text-align: left;
}

.faq-content-inner p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.faq-content-inner p:last-child {
  margin-bottom: 0;
}

.faq-content-inner strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Watermark Right align adjustment */
.right-watermark {
  right: 5% !important;
  left: auto !important;
}

/* FAQ Mobile Overrides */
@media (max-width: 768px) {
  .faq-trigger {
    padding: 20px 24px;
  }
  
  .faq-question {
    font-size: 16px;
  }
  
  .faq-content-inner {
    padding: 0 24px 20px 24px;
  }
  
  .faq-content-inner p {
    font-size: 13.5px;
  }
}

/* ==========================================================================
   3-Step Alignment Journey Flow (Timeline)
   ========================================================================== */
.journey-flow-wrapper {
  margin: 60px auto;
  max-width: 1000px;
  text-align: center;
}

.journey-flow-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 32px;
  font-weight: 600;
  letter-spacing: 1px;
}

.journey-flow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.journey-step {
  flex: 1;
  background: rgba(251, 250, 248, 0.6);
  border: 1px solid rgba(27, 59, 43, 0.04);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: left;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-step:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(201, 160, 84, 0.2);
  box-shadow: 0 15px 30px rgba(27, 59, 43, 0.03);
}

.step-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
  letter-spacing: 0.1em;
  background: rgba(136, 99, 38, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.journey-step h5 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.journey-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.step-arrow {
  color: var(--accent-color);
  font-size: 18px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* ==========================================================================
   Dual Pathway Alignment Matrix Styles
   ========================================================================== */
.matrix-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.matrix-table-wrapper {
  max-width: 1000px;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.03);
  background: rgba(251, 250, 248, 0.94);
}

.matrix-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.matrix-row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  border-bottom: 1px solid rgba(27, 59, 43, 0.05);
}

.matrix-row:last-child {
  border-bottom: none;
}

.matrix-header-row {
  background-color: rgba(27, 59, 43, 0.03);
  border-bottom: 2px solid rgba(27, 59, 43, 0.08);
}

.matrix-cell {
  padding: 24px 32px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.matrix-header-row .matrix-cell {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

.cell-dimension {
  border-right: 1px solid rgba(27, 59, 43, 0.05);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.cell-body {
  border-right: 1px solid rgba(27, 59, 43, 0.05);
}

.dim-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-text);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.matrix-cell strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 6px;
  font-weight: 600;
}

.matrix-cell p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.matrix-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.matrix-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 14px;
}

.goal-highlight {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 600;
}

.matrix-link {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.matrix-link:hover {
  color: var(--primary-color);
  padding-left: 4px;
}

/* ==========================================================================
   Pathway Mobile Overrides
   ========================================================================== */
@media (max-width: 992px) {
  .journey-flow-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
  
  .matrix-row {
    grid-template-columns: 1fr;
  }
  
  .cell-dimension, .cell-body {
    border-right: none;
    border-bottom: 1px solid rgba(27, 59, 43, 0.03);
  }
  
  .matrix-header-row {
    display: none; /* Hide header row on stack layout mobile view */
  }
  
  .cell-dimension {
    background-color: rgba(27, 59, 43, 0.02);
    padding: 12px 24px;
  }
  
  .matrix-cell {
    padding: 20px 24px;
  }
  
  .matrix-action-row {
    background: rgba(27, 59, 43, 0.01);
  }
}

/* ==========================================================================
   Clinical Intake Process Timeline (body.html)
   ========================================================================== */
.clinic-timeline {
  position: relative;
}

.clinic-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  width: 2px;
  height: calc(100% - 80px);
  background: rgba(201, 160, 84, 0.15); /* Brushed Gold line */
  z-index: 1;
}

.clinic-timeline-item {
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.clinic-timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(27, 59, 43, 0.05);
  border-color: rgba(201, 160, 84, 0.2);
}

@media (max-width: 768px) {
  .clinic-timeline::before {
    display: none;
  }
  .clinic-timeline-item {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .clinic-timeline-item div:first-child {
    font-size: 24px !important;
    border-bottom: 1px solid rgba(27, 59, 43, 0.1);
    padding-bottom: 8px;
  }
}

/* ==========================================================================
   Homepage Dedicated Pathway Sections (Full-bleed Backgrounds)
   ========================================================================== */
.homepage-pathway-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-warm);
}

.pathway-content-wrapper {
  position: relative;
  z-index: 5;
  max-width: 680px;
}

.pathway-content-wrapper.offset-right {
  margin-left: auto;
}

.pathway-details h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.35;
}

.pathway-text-p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pathway-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.pathway-feature-item {
  display: flex;
  gap: 16px;
  align-items: start;
}

.feature-icon-wrapper {
  font-size: 20px;
  color: var(--accent-text);
  margin-top: 3px;
}

.feature-text-group h5 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.feature-text-group p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .homepage-pathway-section {
    padding: 80px 0;
  }
}

/* Unique ambient background watermark (Homepage) */
.ambient-watermark-bg {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-watermark-bg.align-right {
  right: 0;
}

.ambient-watermark-bg.align-left {
  left: 0;
}

.ambient-watermark-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Soft watermark opacity */
  filter: grayscale(10%) contrast(90%);
}

/* Use CSS Mask-Image to fade the image pixels directly, preventing any sharp cutoff lines */
.ambient-watermark-bg.align-right img {
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

.ambient-watermark-bg.align-left img {
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}





