@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@400;700&family=Noto+Sans+Malayalam:wght@300;400;500;600;700&display=swap');

/* --- COLOR & TYPOGRAPHY SYSTEM --- */
:root {
  --color-primary: #2b4f8d;
  /* Royal Blue from Logo */
  --color-secondary: #1a2536;
  /* Slate Navy */
  --color-accent: #6fa25f;
  /* Sage Green from Logo */
  --color-accent-peach: #8ba2c0;
  /* Cool Slate Blue */
  --color-bg-light: #080c14;
  /* Obsidian Dark Navy */
  --color-white: #121b2d;
  /* Deep Navy Glass Backdrop */

  --color-text-dark: #f0f4f8;
  /* Cool Off-White for High Contrast */
  --color-text-muted: #8ba2c0;
  /* Muted Slate-Blue Gray */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-solid: rgba(255, 255, 255, 0.18);

  --font-heading: Verdana, sans-serif;
  --font-body: Verdana, sans-serif;

  --font-ml-heading: 'Manjari', sans-serif;
  --font-ml-body: 'Noto Sans Malayalam', sans-serif;

  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: cubic-bezier(0.43, 0.13, 0.23, 0.96);

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 32px;
  --border-radius-capsule: 9999px;

  --container-padding: 3rem;
  --shadow-subtle: 0 20px 48px -20px rgba(79, 17, 11, 0.06);
}

/* --- RESET & BASICS --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: initial;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg-light);
  overflow-x: clip;
  width: 100%;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

p.lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
}

/* Malayalam Fonts */
[lang="ml"],
[lang="ml"] body {
  font-family: var(--font-ml-body);
  line-height: 1.9;
}

[lang="ml"] h1,
[lang="ml"] h2,
[lang="ml"] h3,
[lang="ml"] h4 {
  font-family: var(--font-ml-heading);
  font-weight: 700;
}

/* --- SCROLL PROGRESS --- */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1001;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
}

/* Hide default OS cursor on desktop — replaced by custom spinning logo cursor */
@media (min-width: 768px) {
  * {
    cursor: none !important;
  }
}

/* --- CUSTOM EXPENSIVE CURSOR --- */
.custom-cursor {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  /* Glowing Royal Blue cursor dot */
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px var(--color-primary), 0 0 20px rgba(43, 79, 141, 0.4);
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth), background-color 0.3s;
  opacity: 0;
}

.custom-cursor-follower {
  width: 44px;
  height: 44px;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth);
  opacity: 0;
}

.custom-cursor-follower-inner {
  position: absolute;
  inset: 0;
  background: url('../images/logo-no-bg-custom.png') no-repeat center/contain;
  filter: drop-shadow(0 0 8px rgba(255, 95, 83, 0.45));
  animation: cursor-logo-spin 10s linear infinite;
  transition: transform 0.3s var(--transition-smooth), filter 0.3s, background 0.3s;
}

.custom-cursor-text {
  position: relative;
  z-index: 2;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0B0504;
  /* Dark text for high contrast on active view mode */
  text-transform: uppercase;
  pointer-events: none;
  transition: font-size 0.3s var(--transition-smooth);
}

@keyframes cursor-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.custom-cursor.hovered {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
}

.custom-cursor-follower.hovered {
  width: 58px;
  height: 58px;
}

.custom-cursor-follower.hovered .custom-cursor-follower-inner {
  filter: drop-shadow(0 0 14px rgba(43, 79, 141, 0.8));
  transform: scale(1.1);
}

.custom-cursor-follower.lens-mode {
  width: 66px;
  height: 66px;
}

.custom-cursor-follower.lens-mode .custom-cursor-follower-inner {
  filter: drop-shadow(0 0 16px rgba(43, 79, 141, 0.9)) saturate(130%);
}

.custom-cursor-follower.view-mode {
  width: 70px;
  height: 70px;
}

.custom-cursor-follower.view-mode .custom-cursor-follower-inner {
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(111, 162, 95, 0.6);
  filter: none;
}

.custom-cursor-follower.view-mode .custom-cursor-text {
  font-size: 0.72rem;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  padding: 1rem 0;
  transition: padding 0.4s var(--transition-smooth), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 0.6rem 0;
  background-color: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(15px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Make header transparent and box-shadow free when mobile navigation is open */
header:has(~ .mobile-nav.open) {
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-symbol {
  width: 50px;
  height: 55px;
  background: url('../images/logo-no-bg-custom.png') no-repeat center/contain;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px rgba(255, 59, 48, 0.3));
}

.logo:hover .logo-symbol {
  transform: scale(1.08);
}

.logo span {
  display: inline;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem;
  border-radius: var(--border-radius-capsule);
  backdrop-filter: blur(15px);
  box-shadow: 0 12px 30px rgba(17, 27, 38, 0.08);
}

.nav-links a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 1.25rem;
  border-radius: var(--border-radius-capsule);
  transition: all 0.3s var(--transition-smooth);
  display: inline-block;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #ffffff;
  /* White text for readability on active blue background */
  background-color: var(--color-primary);
  /* Active tab is solid logo blue */
  box-shadow: 0 2px 10px rgba(43, 79, 141, 0.25);
}

/* Mobile navbar */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  width: 24px;
  height: 16px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-dark);
  position: absolute;
  left: 0;
  transition: transform 0.3s var(--transition-smooth), opacity 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 7px;
}

.menu-toggle span:nth-child(3) {
  top: 14px;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-light);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 9rem var(--container-padding) 4rem var(--container-padding);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--border-radius-capsule);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.header-support-btn {
  background-color: #ffffff;
  color: #16315b;
  border-color: rgba(22, 49, 91, 0.1);
  box-shadow: 0 12px 24px rgba(22, 49, 91, 0.08);
}

.header-support-btn:hover {
  background-color: #eef4ff;
  color: #16315b;
  transform: translateY(-2px);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--color-border-solid);
  color: var(--color-text-dark);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 0.2rem;
}

.text-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}

.text-btn:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

/* --- REBUILT IMMERSIVE HERO (LAKSHYA STYLE) --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* ============================================================
   REDESIGNED HERO SECTION (REFERENCE MATCH)
   ============================================================ */

/* Background layout for full-bleed counseling portrait */
.hero-sec-redesign {
  background: url('../images/hero-counseling.jpg') no-repeat center center/cover;
  padding: 0;
  height: 100vh;
  min-height: 780px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(8, 12, 20, 0.45) 0%,
      rgba(8, 12, 20, 0.6) 45%,
      rgba(8, 12, 20, 0.85) 100%);
  z-index: 1;
}

/* Deep blue wash — left side (top to bottom) */
.hero-sec-redesign::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(39, 69, 142, 0.85) 0%,
      rgba(29, 52, 107, 0.65) 40%,
      rgba(18, 33, 69, 0.35) 75%,
      transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Deep green wash — right side (full height) */
.hero-sec-redesign::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to left,
      rgba(132, 162, 118, 0.30) 0%,
      rgba(117, 148, 104, 0.20) 40%,
      rgba(93, 118, 84, 0.10) 75%,
      transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-container-redesign {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 9.5rem;
  padding-bottom: 3.5rem;
}

/* ─── DOODLE ANIMATIONS ─── */
@keyframes starburst-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes sparkle-pulse {
  0% {
    transform: scale(0.9) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1) rotate(15deg);
    opacity: 1;
  }

  100% {
    transform: scale(0.9) rotate(-15deg);
    opacity: 0.7;
  }
}

.hero-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.hero-content-left-wrapper {
  flex: 0 1 720px;
  position: relative;
}

.hero-title-redesign {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff !important;
  letter-spacing: -0.04em;
  margin: 0;
}

/* Floating right container for ratings card */
.hero-col-right-float {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 8;
}

/* --- Hero Bottom Row Elements --- */
.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
}

.hero-bottom-col-left {
  flex: 0 0 auto;
}

.hero-bottom-col-center {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 0 1 320px;
}

.large-number-accent {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.badge-text-desc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.badge-text-desc strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.badge-text-desc span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-bottom-col-right {
  flex: 0 1 420px;
}

.hero-bottom-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0;
}

/* --- Spinning Circular Play Badge --- */
.circular-play-badge {
  position: relative;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.circular-text-svg {
  width: 100%;
  height: 100%;
  animation: starburst-spin 20s linear infinite;
}

.play-icon-center {
  position: absolute;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s var(--transition-smooth);
}

.circular-play-badge:hover .play-icon-center {
  transform: scale(1.12);
}

.hero-ratings-card-redesign {
  background: rgba(18, 8, 8, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0;
  /* Padding moved to .rating-card-content */
  width: 260px;
  height: 190px;
  /* Fixed height so both states are identical */
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Theme overrides for active card state background colors */
.hero-ratings-card-redesign.theme-blue {
  background: #2a4d8d !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px rgba(28, 45, 79, 0.28) !important;
}

.hero-ratings-card-redesign.theme-blue .rating-stars {
  color: #9ec989 !important;
}

.hero-ratings-card-redesign.theme-blue .rating-title {
  color: #ffffff !important;
}

.hero-ratings-card-redesign.theme-blue .rating-subtitle {
  color: rgba(255, 255, 255, 0.82) !important;
}

.hero-ratings-card-redesign.theme-white {
  background: #edf3ea !important;
  border-color: rgba(20, 41, 30, 0.22) !important;
  box-shadow: 0 28px 60px rgba(14, 32, 19, 0.28), 0 0 0 2px rgba(255, 255, 255, 0.45) !important;
}

.hero-ratings-card-redesign.theme-white .rating-stars {
  color: #246a38 !important;
}

.hero-ratings-card-redesign.theme-white .rating-title {
  color: #123122 !important;
}

.hero-ratings-card-redesign.theme-white .rating-subtitle {
  color: rgba(18, 49, 34, 0.8) !important;
}

.rating-card-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
}

.rating-card-content.active {
  visibility: visible;
  opacity: 1;
}

/* Wrapper that stacks the card + the loading bar below it */
.hero-ratings-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 260px;
}

.rating-card-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0 0 8px 8px;
}

.rating-card-progress-fill {
  height: 100%;
  width: 0%;
  background: #ff3b30;
  /* Always brand red */
  border-radius: 0 0 8px 8px;
}

.rating-stars {
  font-size: 1.1rem;
  color: #ff3b30;
  /* Red stars from reference */
  margin-bottom: 0.75rem;
}

.rating-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem 0;
  line-height: 1;
}

.rating-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748B;
  margin: 0;
}

/* ─── Responsive adjustments ─── */
@media (max-width: 991px) {
  .hero-sec-redesign {
    height: auto;
    min-height: 100vh;
    padding-top: 8.5rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
  }

  .hero-container-redesign {
    height: auto;
    justify-content: flex-start;
    gap: 3.5rem;
  }

  .hero-main-row {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    width: 100%;
  }

  .hero-content-left-wrapper {
    flex: none;
    width: 100%;
  }

  .hero-col-right-float {
    justify-content: center;
    width: 100%;
    margin: 1.5rem 0 0 0;
  }

  .hero-ratings-card-redesign {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-bottom-row {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2rem 0 0 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
  }

  .hero-bottom-col-center {
    justify-content: center;
    flex: none;
    width: 100%;
  }

  .hero-bottom-col-right {
    flex: none;
    width: 100%;
  }

  .hero-bottom-desc {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title-redesign {
    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1.15;
  }
}

/* --- SECTION 2 — STATEMENT INTRO --- */
.intro-sec {
  background-color: #120808;
  padding: 8rem 0;
}

.intro-editorial-wrapper {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro-editorial-wrapper h2 {
  color: rgba(255, 255, 255, 0.92);
}

.statement-reveal-word {
  color: rgba(255, 255, 255, 0.92);
}

/* GSAP Split Text helper classes */
.split-line {
  display: block;
  overflow: hidden;
}

.split-word {
  display: inline-block;
  transform-origin: bottom center;
}

/* ============================================================
   SECTION 3 — 360° JOURNEY BENTO GRID
   Card-based layout with images, no scroll gimmick
   ============================================================ */

/* Eyebrow label (shared) */
.journey-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.journey-eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  display: inline-block;
  border-radius: 1px;
}

/* Section wrapper */
.journey-bento-sec {
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 48px;
  box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, 0.7);
}


.journey-bento-sec .container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* ─── Section header ─── */
.journey-bento-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.6rem;
}

.journey-bento-header-left {
  flex: 0 0 auto;
}

.journey-bento-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: #111c2e;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

.journey-bento-header-right {
  flex: 0 1 420px;
  padding-bottom: 0.4rem;
}

.journey-bento-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: #56657a;
  margin-bottom: 1.6rem;
}

.journey-bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 79, 141, 0.35);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}

.journey-bento-cta:hover {
  color: #111c2e;
  border-color: rgba(17, 28, 46, 0.55);
  gap: 0.7rem;
}

/* ─── Bento Grid ─── */
.journey-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

/* Card base */
.journey-bcard {
  position: relative;
  display: flex;
  border-radius: 28px;
  overflow: hidden;
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: default;
}

/* Card size variants */
.journey-bcard--tall {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 560px;
}

.journey-bcard--wide {
  grid-column: 2 / 4;
  grid-row: 1;
  min-height: 260px;
}

.journey-bcard--square {
  min-height: 380px;
}

.journey-bcard--square:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.journey-bcard--square:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

/* ─── Bento Grid Card Content ─── */
.journey-bcard-img-wrap,
.journey-bcard-img-wrap img {
  display: none !important;
}

.journey-bcard-content {
  position: relative;
  z-index: 3;
  flex: 1;
  min-width: 0;
  padding: 2.2rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
}

/* Eyebrow sits at the top; everything after it is pushed to the base of the card */
.journey-bcard-phase {
  margin-bottom: auto;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.journey-bcard-phase::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--card-accent, #fff);
  box-shadow: 0 0 12px var(--card-accent, rgba(255, 255, 255, 0.4));
  transition: box-shadow 0.4s ease;
}

.journey-bcard:hover .journey-bcard-phase::before {
  box-shadow: 0 0 20px 2px var(--card-accent, rgba(255, 255, 255, 0.6));
}

.journey-bcard-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 2.7vw, 3.1rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0;
}

.journey-bcard-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  max-width: 52ch;
}

.journey-bcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.journey-bcard-tags span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  white-space: nowrap;
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.journey-bcard:hover .journey-bcard-tags span {
  color: #ffffff;
  border-color: var(--card-accent, rgba(255, 255, 255, 0.3));
  background: rgba(255, 255, 255, 0.08);
}

/* Oversized tier numeral, bled off the corner so it reads as texture rather than a label */
.journey-bcard-num {
  position: absolute;
  bottom: -2.6rem;
  right: -0.6rem;
  font-family: var(--font-heading);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke-color 0.5s ease;
}

.journey-bcard:hover .journey-bcard-num {
  transform: translate(-6px, -8px);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.11);
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .journey-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .journey-bcard--tall {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 360px;
  }

  .journey-bcard--wide {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .journey-bcard--square:nth-child(3),
  .journey-bcard--square:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .journey-bento-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .journey-bento-header-right {
    flex: none;
  }
}

@media (max-width: 600px) {
  .journey-bento-grid {
    grid-template-columns: 1fr;
  }

  .journey-bcard--tall,
  .journey-bcard--wide,
  .journey-bcard--square:nth-child(3),
  .journey-bcard--square:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .journey-bento-sec {
    padding: 5rem 0 6rem;
  }
}

/* --- SERVICES INTERACTIVE PREVIEW LIST --- */
.services-interactive-sec {
  background-color: var(--color-white);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* Divider lines */
.services-divider-line-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  transform: scaleX(0);
  transform-origin: left;
}

.services-divider-line-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  transform: scaleX(0);
  transform-origin: right;
}

.services-panel-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6rem;
  align-items: start;
}

.services-sticky-col {
  position: sticky;
  top: 15vh;
}

/* Eyebrows & headings */
.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.services-eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

.services-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.services-main-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-bottom: 3rem;
}

/* Premium sticky image preview container */
.services-sticky-image-wrap {
  width: 100%;
  max-width: 460px;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background-color: #120808;
  box-shadow: 0 30px 70px rgba(18, 8, 8, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.services-dynamic-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-dynamic-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.services-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 8, 8, 0) 50%, rgba(18, 8, 8, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Accordion list container */
.services-list-container {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

/* Accordion rows */
.service-row-item {
  border-top: 1px solid var(--color-border);
  padding: 2.2rem 0;
  cursor: pointer;
  position: relative;
  transition: padding-left 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s;
}

.service-row-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.service-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.service-row-num {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.service-row-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 auto 0 1.5rem;
  /* pushes to left next to number */
  transition: color 0.3s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-arrow {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  opacity: 0.4;
  transform: translate(0, 0);
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover row states */
.service-row-item:hover .service-row-title {
  color: var(--color-primary);
  transform: translateX(6px);
}

.service-row-item:hover .service-row-arrow {
  opacity: 0.8;
  transform: translate(3px, -3px);
}

/* Active row states */
.service-row-item.active {
  padding-left: 1.5rem;
  border-color: var(--color-primary);
}

.service-row-item.active .service-row-num {
  opacity: 1;
}

.service-row-item.active .service-row-title {
  color: var(--color-primary);
  transform: translateX(10px);
}

.service-row-item.active .service-row-arrow {
  opacity: 1;
  color: var(--color-primary);
  transform: translate(4px, -4px) rotate(45deg);
}

/* Description block */
.service-row-description {
  margin-top: 1.25rem;
  padding-left: 2.85rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-item.active .service-row-description {
  max-height: 280px;
  opacity: 1;
}

.service-row-description p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

/* Accordion tag pills */
.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-row-tags span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: rgba(255, 59, 48, 0.06);
  border: 1px solid rgba(255, 59, 48, 0.14);
  border-radius: 40px;
  padding: 0.28rem 0.8rem;
  transition: background 0.3s, border-color 0.3s;
}

.service-row-item:hover .service-row-tags span {
  background-color: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.25);
}

/* Learn more button link */
.service-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 59, 48, 0.2);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}

.service-row-link span {
  transition: transform 0.3s;
}

.service-row-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.service-row-link:hover span {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .services-panel-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .services-sticky-col {
    position: static;
  }

  .services-sticky-image-wrap {
    height: 380px;
  }

  .services-interactive-sec {
    padding: 6rem 0;
  }
}

@media (max-width: 600px) {
  .service-row-title {
    font-size: 1.35rem;
    margin-left: 0.8rem;
  }

  .service-row-description {
    padding-left: 1.85rem;
  }

  .services-sticky-image-wrap {
    height: 300px;
  }
}

/* --- ABOUT CLINIC BLOCK (ORGANIC MASKS) --- */
.about-clinic-block {
  background-color: var(--color-bg-light);
  padding: 8rem 0 2rem;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 2.2rem 2rem 1.6rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card--burgundy {
  background: linear-gradient(135deg, rgba(117, 15, 44, 0.95), rgba(61, 10, 31, 1));
}

.feature-card--slate {
  background: linear-gradient(135deg, rgba(38, 42, 45, 0.95), rgba(20, 23, 27, 1));
}

.feature-card--charcoal {
  background: linear-gradient(135deg, rgba(35, 38, 41, 0.95), rgba(27, 29, 31, 1));
}

.feature-card--amber {
  background: linear-gradient(135deg, rgba(167, 93, 30, 0.96), rgba(122, 60, 17, 1));
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  min-height: 360px;
}

.feature-card h3 {
  font-size: clamp(2.1rem, 2.6vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin: 0 0 1.4rem;
  max-width: 420px;
  color: #f3f5f7;
}

.feature-card p {
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.feature-card:nth-child(1) p,
.feature-card:nth-child(2) p,
.feature-card:nth-child(3) p,
.feature-card:nth-child(4) p {
  max-width: 440px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card--slate .feature-icon,
.feature-card--charcoal .feature-icon {
  background: rgba(255, 255, 255, 0.06);
}

.feature-card--amber .feature-icon {
  background: rgba(255, 255, 255, 0.1);
}

.feature-card--burgundy::before,
.feature-card--slate::before,
.feature-card--charcoal::before,
.feature-card--amber::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 38%);
  pointer-events: none;
}

.feature-card--slate .feature-icon--globe,
.feature-card--charcoal .feature-icon--music,
.feature-card--amber .feature-icon--heart,
.feature-card--burgundy .feature-icon--circle {
  position: relative;
  z-index: 1;
}

@media (max-width: 800px) {
  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 260px;
  }
}

/* --- TEAM GRID CARDS --- */
.prof-listing-sec {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
}

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.prof-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.35s var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.prof-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.prof-avatar-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2rem;
  background-color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.prof-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-card-specialization {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.prof-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.prof-card-degree {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.prof-card p {
  font-size: 0.94rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* --- INSIGHTS / BLOG GRID CARDS --- */
/* --- SECTION 7 — INSIGHTS / BLOG CARD GRID --- */
.insights-listing-sec {
  background-color: var(--color-bg-light);
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
}

.insights-header-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.insights-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}

.insights-eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

.insights-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.insights-main-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Blog grid layout */
.blog-grid-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

/* Premium editorial blog card */
.blog-card-editorial {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s;
}

.blog-card-editorial:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(18, 8, 8, 0.08);
  border-color: var(--color-accent);
}

/* Card image wrap */
.blog-card-img-wrap {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  background-color: #120808;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-editorial:hover .blog-card-img-wrap img {
  transform: scale(1.06);
}

.blog-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 8, 8, 0) 60%, rgba(18, 8, 8, 0.15) 100%);
  pointer-events: none;
}

/* Card body details */
.blog-card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.8rem;
}

.blog-card-meta {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-dark);
  margin: 0;
  transition: color 0.3s;
}

.blog-card-editorial:hover .blog-card-title {
  color: var(--color-primary);
}

.blog-card-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 1rem 0;
  flex-grow: 1;
}

/* Custom premium link button */
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 59, 48, 0.2);
  padding-bottom: 3px;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.3s, border-color 0.3s;
}

.blog-card-link span {
  transition: transform 0.3s;
}

.blog-card-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.blog-card-link:hover span {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .blog-grid-editorial {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .blog-grid-editorial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-card-body {
    padding: 1.8rem;
  }

  .insights-listing-sec {
    padding: 6rem 0;
  }
}

/* --- FAQ ACCORDION --- */
.faq-sec-editorial {
  background-color: var(--color-bg-light);
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
}

.faq-editorial-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}

.faq-accordion-editorial {
  display: flex;
  flex-direction: column;
}

.faq-item-editorial {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item-editorial:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-header-editorial {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-header-editorial h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: 700;
}

.faq-arrow-icon {
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 0.4s var(--transition-smooth);
}

.faq-item-editorial.open .faq-arrow-icon {
  transform: rotate(45deg);
}

.faq-content-editorial {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth);
}

.faq-item-editorial.open .faq-content-editorial {
  opacity: 1;
  margin-top: 1rem;
}

/* --- CONTACT REDESIGN --- */
.contact-layout-editorial {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.form-group-editorial {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.form-group-editorial label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  display: block;
}

.form-control-editorial {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 1.025rem;
  color: var(--color-text-dark);
  outline: none;
}

textarea.form-control-editorial {
  min-height: 80px;
  resize: vertical;
}

/* --- FINAL CTA --- */
.final-cta-editorial {
  background-color: var(--color-primary);
  color: var(--color-bg-light);
  text-align: center;
  padding: 9rem 0;
  overflow: hidden;
  position: relative;
}

.final-cta-editorial h2 {
  color: var(--color-bg-light);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.final-cta-editorial p {
  color: rgba(216, 232, 225, 0.85);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 3rem auto;
}

/* Final CTA Backdrop ring */
.cta-backdrop-ring {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
}

.cta-backdrop-ring circle {
  stroke: var(--color-bg-light);
  stroke-width: 1.5;
  stroke-dasharray: 8 4;
}

/* --- MINIMAL FOOTER --- */
footer {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
  gap: 4rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-links-wrap {
  display: flex;
  gap: 6rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col ul a {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.footer-col ul a:hover {
  color: var(--color-accent);
}

.footer-bottom-row {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 991px) {
  :root {
    --container-padding: 2rem;
  }

  .hero-editorial-wrap,
  .services-panel-grid,
  .professionals-grid,
  .blog-grid-editorial,
  .faq-editorial-grid,
  .contact-layout-editorial,
  .about-clinic-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  .hero-sec {
    min-height: auto;
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }

  .hero-visual-composition {
    max-width: 100%;
    height: 440px;
  }

  .hero-portrait-mask {
    width: 80%;
    height: 100%;
  }

  .hero-bottom-strip {
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .services-sticky-col {
    position: relative;
    top: 0;
  }

  .services-sticky-image-wrap {
    max-width: 100%;
    height: 320px;
  }

  .about-organic-mask-container {
    width: 100%;
    height: 360px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-links-wrap {
    flex-wrap: wrap;
    gap: 3rem;
  }

  /* Disable heavy pinning on mobile */
  .journey-pinned-sec {
    height: auto;
  }

  .journey-pinned-wrap {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .journey-pinned-left {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    padding: 4rem 2rem 2rem 2rem;
    border-right: none;
  }

  .journey-category-indicator-wrap {
    display: none;
  }

  .journey-pinned-right {
    width: 100%;
  }

  .journey-card-pane {
    height: auto;
    padding: 2rem 0;
  }

  .journey-orbit-graphic-container {
    display: none;
  }

  .nav-links,
  .header-cta {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-choose-us .container {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  .scope-advantages .container {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

@media (max-width: 768px) {

  .professionals-grid,
  .blog-grid-editorial {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 4rem auto 0 auto;
  }
}

@media (max-width: 576px) {
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- REDUCED MOTION SAFEGUARDS --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  .custom-cursor-follower-inner {
    animation: cursor-logo-spin 10s linear infinite !important;
  }
}

/* ============================================================
   2026 PREMIUM REDESIGN EXTENSIONS
   ============================================================ */

/* Floating Mesh Gradients */
.mesh-gradients {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.7;
}

.mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.glow-1 {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, #4F1A0B 0%, transparent 75%);
  top: -10%;
  left: -10%;
}

.glow-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, #8B1A1A 0%, transparent 75%);
  bottom: -15%;
  right: -10%;
}

.glow-3 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #D4504A 0%, transparent 75%);
  top: 35%;
  left: 25%;
}

/* Glassmorphism Overrides */
.prof-card,
.blog-card-editorial,
.faq-item-editorial {
  position: relative;
  background: rgba(18, 8, 8, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Dedicated Journey Bento Card styling — layered light-source gradients per programme tier */
.journey-bcard {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 18px 44px -12px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease !important;
}

/* 01 — PG Diploma · royal blue */
.journey-bcard--accent-violet {
  background:
    radial-gradient(125% 85% at 88% -5%, rgba(74, 122, 205, 0.34) 0%, transparent 58%),
    linear-gradient(163deg, rgba(28, 47, 82, 0.95) 0%, rgba(11, 17, 30, 0.99) 64%) !important;
  --card-accent: #6f9ce0;
  --card-glow: rgba(74, 122, 205, 0.40);
}

/* 02 — Diploma · sage green */
.journey-bcard--accent-terracotta {
  background:
    radial-gradient(125% 85% at 88% -5%, rgba(118, 176, 99, 0.32) 0%, transparent 58%),
    linear-gradient(163deg, rgba(37, 60, 33, 0.95) 0%, rgba(10, 16, 22, 0.99) 64%) !important;
  --card-accent: #9ecb84;
  --card-glow: rgba(118, 176, 99, 0.40);
}

/* 03 — Certificate · teal */
.journey-bcard--accent-teal {
  background:
    radial-gradient(125% 85% at 88% -5%, rgba(72, 158, 160, 0.30) 0%, transparent 58%),
    linear-gradient(163deg, rgba(21, 51, 58, 0.95) 0%, rgba(9, 15, 24, 0.99) 64%) !important;
  --card-accent: #79c6c6;
  --card-glow: rgba(72, 158, 160, 0.40);
}

/* 04 — Partnerships · aubergine */
.journey-bcard--accent-lavender {
  background:
    radial-gradient(125% 85% at 88% -5%, rgba(168, 96, 134, 0.30) 0%, transparent 58%),
    linear-gradient(163deg, rgba(58, 30, 48, 0.95) 0%, rgba(12, 14, 24, 0.99) 64%) !important;
  --card-accent: #d492b4;
  --card-glow: rgba(168, 96, 134, 0.40);
}

/* Lift + accent bloom on hover */
.journey-bcard:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
  box-shadow:
    0 34px 70px -18px rgba(0, 0, 0, 0.68),
    0 0 60px -22px var(--card-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.hero-ratings-card-redesign {
  position: relative;
  background: rgba(18, 8, 8, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.hero-ratings-card-redesign.theme-white {
  background: #edf3ea !important;
  border-color: rgba(20, 41, 30, 0.22) !important;
  box-shadow: 0 28px 60px rgba(14, 32, 19, 0.28), 0 0 0 2px rgba(255, 255, 255, 0.45) !important;
}

.hero-ratings-card-redesign.theme-white .rating-stars {
  color: #246a38 !important;
}

.hero-ratings-card-redesign.theme-white .rating-title {
  color: #123122 !important;
}

.hero-ratings-card-redesign.theme-white .rating-subtitle {
  color: rgba(18, 49, 34, 0.8) !important;
}

.hero-ratings-card-redesign.theme-blue {
  background: #2a4d8d !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px rgba(28, 45, 79, 0.28) !important;
}

.hero-ratings-card-redesign.theme-blue .rating-stars {
  color: #9ec989 !important;
}

.hero-ratings-card-redesign.theme-blue .rating-title {
  color: #ffffff !important;
}

.hero-ratings-card-redesign.theme-blue .rating-subtitle {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Card Hover border spotlight effect */
.journey-bcard::before,
.prof-card::before,
.blog-card-editorial::before,
.hero-ratings-card-redesign::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
      rgba(255, 255, 255, 0.15),
      transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

/* Card Hover background spotlight highlight */
.journey-bcard::after,
.prof-card::after,
.blog-card-editorial::after,
.hero-ratings-card-redesign::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
      rgba(255, 255, 255, 0.03),
      transparent 50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.journey-bcard:hover::before,
.prof-card:hover::before,
.blog-card-editorial:hover::before,
.hero-ratings-card-redesign:hover::before,
.journey-bcard:hover::after,
.prof-card:hover::after,
.blog-card-editorial:hover::after,
.hero-ratings-card-redesign:hover::after {
  opacity: 1;
}

/* FAQ Editorial Modernization */
.faq-item-editorial {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  padding: 1.5rem 2rem !important;
  margin-bottom: 1.25rem !important;
  transition: background 0.3s, border-color 0.3s;
}

.faq-item-editorial:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Text Splitting Reveal */
.split-line {
  overflow: hidden;
  display: block;
}

.split-word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0s, opacity 0s;
}

/* Global Color & Body Tweaks */
body {
  background-color: var(--color-bg-light) !important;
  color: var(--color-text-dark) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-dark) !important;
}

.hero-desc-redesign {
  color: var(--color-text-muted) !important;
}

/* Dark mode specific text elements */
.rating-subtitle,
.prof-card-degree,
.services-main-desc,
.footer-desc {
  color: var(--color-text-muted) !important;
}

.rating-title,
.journey-bcard-title {
  color: #fff !important;
}

.hero-ratings-card-redesign.theme-white {
  background: #edf3ea !important;
  border-color: rgba(20, 41, 30, 0.22) !important;
  box-shadow: 0 28px 60px rgba(14, 32, 19, 0.28), 0 0 0 2px rgba(255, 255, 255, 0.45) !important;
  z-index: 10 !important;
}

.hero-ratings-card-redesign.theme-white .rating-stars {
  color: #246a38 !important;
}

.hero-ratings-card-redesign.theme-white .rating-title {
  color: #123122 !important;
}

.hero-ratings-card-redesign.theme-white .rating-subtitle {
  color: rgba(18, 49, 34, 0.8) !important;
}

.journey-bento-title {
  color: #111c2e !important;
}

.services-main-title {
  color: #ffffff !important;
}

/* About Team Section Grid */
.about-team-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

/* ============================================================
   PSYCHOLOGY 360 — ANIMATIONS ADD-ON STYLESHEET
   Append to the end of assets/css/main.css (or link separately
   after main.css). Purely additive — does not override or
   remove any existing rule, so your current design is untouched.
   ============================================================ */

/* Smooth GPU-friendly transforms for anything GSAP animates */
.journey-bcard,
.hero-sec-redesign,
.hero-container-redesign,
.services-sticky-image-wrap,
.blog-card-img-wrap img,
.prof-avatar-wrap img {
  will-change: transform;
}

/* Lenis requires this on the scrolling root for correct behavior */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis-smooth {
  scroll-behavior: auto !important;
}

/* Optional full-page load curtain — only activates if you add
   <div class="page-curtain"></div> as the first child of <body> */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--color-bg-light);
  pointer-events: none;
}

/* Count-up numeral styling hook (reuses your existing accent color) */
.count-up {
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
}

/* --- ABOUT CLINIC BLOCK LAYOUT STYLES --- */
.about-clinic-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-organic-mask-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.about-organic-mask-container {
  width: 100%;
  max-width: 520px;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  position: relative;
  z-index: 2;
}

.about-organic-mask-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-floating-bubble {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
  z-index: 10;
  max-width: 280px;
  backdrop-filter: blur(10px);
}

.about-floating-bubble p {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: #fff;
  font-weight: 500;
}

@media (max-width: 991px) {
  .about-clinic-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-floating-bubble {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 1.5rem auto 0 auto;
    max-width: 100%;
    box-shadow: none;
  }
}

/* --- VISION, MISSION, VALUES CARDS --- */
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.vmv-card {
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  padding: 3rem 2.2rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vmv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.vmv-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vmv-card:hover::before {
  opacity: 1;
}

.vmv-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.vmv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.vmv-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .vmv-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

