/* ============================================================
   HYPNOS INSTITUTE — Main Stylesheet
   Luxury Dark Wellness & Hypnotherapy UI
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Cinzel:wght@400;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --midnight:    #050810;
  --deep-navy:   #080d1a;
  --navy:        #0a1128;
  --indigo:      #0f1d42;
  --royal:       #1a2a5e;
  --violet:      #3d2a8a;
  --purple:      #6b35c4;
  --lilac:       #9b6fe8;
  --glow:        #a67fff;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --muted:       rgba(255,255,255,0.55);
  --subtle:      rgba(255,255,255,0.08);
  --glass:       rgba(255,255,255,0.04);
  --border:      rgba(167,127,255,0.18);
  --shadow-glow: 0 0 60px rgba(107,53,196,0.3);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.6);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --font-display: 'Cinzel', serif;
  --font-serif:   'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   all 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

/* Ensure containers always have safe side padding on mobile */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1.25rem  !important;
    padding-right: 1.25rem !important;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 1.5rem  !important;
    padding-right: 1.5rem !important;
  }
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; overflow-x: hidden; }

/* Prevent content flash while page-loader is showing */
body.loading {
  overflow: hidden !important;
}

body {
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(107,53,196,0.4); color: var(--white); }

a { color: var(--glow); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--white);
}

p { color: var(--cream); opacity: 0.85; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ── Page Loader ── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--midnight);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.2em;
}
.loader-bar {
  width: 160px; height: 2px;
  background: var(--subtle);
  border-radius: 1px;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--glow), var(--gold));
  animation: loader-fill 1.8s ease forwards;
}
@keyframes loader-fill { from { width: 0; } to { width: 100%; } }

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* ── Utility Classes ── */
.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }
.text-gold { color: var(--gold); }
.text-glow { color: var(--glow); }
.text-muted-white { color: var(--muted); }
.bg-deep { background: var(--deep-navy); }
.bg-navy { background: var(--navy); }
.divider-gold { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1rem 0; }
.divider-center { margin: 1rem auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  max-width: 600px;
}

/* ── Buttons ── */
.btn-luxury {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--violet) 0%, var(--purple) 100%);
  color: var(--white);
  border: 1px solid rgba(167,127,255,0.3);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(107,53,196,0.4);
}
.btn-luxury::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--glow), var(--gold));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-luxury:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(107,53,196,0.6); color: var(--white); }
.btn-luxury:hover::before { opacity: 1; }
.btn-luxury span, .btn-luxury i { position: relative; z-index: 1; }

.btn-outline-luxury {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline-luxury:hover {
  background: var(--glass);
  border-color: var(--glow);
  color: var(--glow);
  transform: translateY(-2px);
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--midnight);
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.5); color: var(--midnight); }

/* ── Navbar ── */
#main-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: transparent;
}
#main-navbar.scrolled {
  background: rgba(5,8,16,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav-brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--violet), var(--glow));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white);
  box-shadow: 0 0 16px rgba(107,53,196,0.5);
}
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.nav-brand-text span { color: var(--gold); }

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 1rem; right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.dropdown-menu {
  background: rgba(8,13,26,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  min-width: 220px;
  box-shadow: var(--shadow-card);
}
.dropdown-item {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: var(--font-body);
}
.dropdown-item:hover {
  background: var(--glass);
  color: var(--glow);
}

/* ── Hero Section ── */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--midnight);
  padding-top: 80px; /* offset for fixed navbar */
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 30% 40%, rgba(61,42,138,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(107,53,196,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 20%, rgba(166,127,255,0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--midnight) 0%, var(--deep-navy) 50%, var(--midnight) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(61,42,138,0.5), transparent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(107,53,196,0.35), transparent);
  bottom: -50px; right: 10%;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.2), transparent);
  top: 30%; right: 25%;
  animation-delay: -5s;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-20px) scale(1.05); }
  66%       { transform: translate(-20px,15px) scale(0.98); }
}

.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--glow);
  border-radius: 50%;
  opacity: 0;
  animation: particle-rise var(--dur, 8s) var(--delay, 0s) infinite ease-in;
}
@keyframes particle-rise {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(107,53,196,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,53,196,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(107,53,196,0.15);
  border: 1px solid rgba(107,53,196,0.3);
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--glow);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(166,127,255,0.7); }
  50%      { box-shadow: 0 0 0 6px rgba(166,127,255,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--glow), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-social-proof {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--midnight);
  background: linear-gradient(135deg, var(--violet), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--white); font-weight: 600;
  margin-left: -12px;
  overflow: hidden;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }

.hero-social-text { font-size: 0.85rem; color: var(--muted); }
.hero-social-text strong { color: var(--white); }

.hero-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }

.hero-visual { position: relative; z-index: 2; }
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image-frame::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--violet), transparent, var(--gold));
  border-radius: inherit;
  z-index: -1;
}
.hero-image-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}
.hero-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--indigo), var(--navy));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.hero-image-placeholder::before {
  content: '✦';
  font-size: 4rem;
  color: var(--violet);
  opacity: 0.4;
  filter: blur(1px);
}

.hero-float-card {
  position: absolute;
  background: rgba(8,13,26,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow-card);
  animation: card-float 4s ease-in-out infinite;
}
.hero-float-card-1 { bottom: 10%; left: -30px; animation-delay: 0s; }
.hero-float-card-2 { top: 15%; right: -20px; animation-delay: -2s; }
@keyframes card-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-card-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white);
  flex-shrink: 0;
}
.float-card-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.float-card-value { font-size: 1rem; color: var(--white); font-weight: 600; }

/* ── Trust / Stats Bar ── */
.trust-section {
  background: var(--deep-navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.trust-stat {
  text-align: center;
  padding: 1rem;
}
.trust-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.trust-stat-number span { color: var(--gold); }
.trust-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ── Glass Cards ── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,127,255,0.5), transparent);
}
.glass-card:hover {
  border-color: rgba(167,127,255,0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

/* ── Service Cards ── */
.service-card {
  background: linear-gradient(135deg, rgba(15,29,66,0.8), rgba(8,13,26,0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(107,53,196,0.1), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card:hover {
  border-color: var(--violet);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(61,42,138,0.4);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(107,53,196,0.4);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(107,53,196,0.6);
}
.service-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.service-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--glow);
  display: inline-flex; align-items: center; gap: 0.4rem;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.service-link:hover { gap: 0.7rem; color: var(--gold); }

/* ── Testimonials ── */
.testimonial-card {
  background: linear-gradient(135deg, rgba(15,29,66,0.6), rgba(8,13,26,0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 20px;
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--violet);
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 1rem; }
.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white); font-weight: 600;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 500; color: var(--white); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--glass);
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(107,53,196,0.4); }
.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  background: none; border: none; width: 100%; text-align: left;
  letter-spacing: 0.02em;
}
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--glow);
  transition: var(--transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); color: var(--white); }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

/* ── Blog Cards ── */
.blog-card {
  background: linear-gradient(135deg, rgba(15,29,66,0.7), rgba(8,13,26,0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: 0 20px 60px rgba(61,42,138,0.3); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--indigo), var(--navy));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--violet); opacity: 0.5;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-cat {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold); margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta { font-size: 0.78rem; color: var(--muted); }

/* ── Counter Section ── */
.counter-section {
  background: linear-gradient(135deg, rgba(61,42,138,0.3), rgba(15,29,66,0.5));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(107,53,196,0.2), transparent);
}
.counter-item { text-align: center; padding: 1rem; position: relative; }
.counter-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.counter-number .suffix { color: var(--gold); }
.counter-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--indigo), var(--navy));
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(107,53,196,0.3), transparent);
  border-radius: 50%;
  filter: blur(60px);
}

/* ── Forms ── */
.luxury-form .form-control,
.luxury-form .form-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}
.luxury-form .form-control:focus,
.luxury-form .form-select:focus {
  background: rgba(255,255,255,0.06);
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107,53,196,0.2);
  color: var(--white);
  outline: none;
}
.luxury-form .form-control::placeholder { color: rgba(255,255,255,0.35); }
.luxury-form label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 0.5rem;
}
.luxury-form .form-select option { background: var(--navy); color: var(--white); }
.luxury-form textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Footer ── */
#main-footer {
  background: var(--deep-navy);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  position: relative;
}
#main-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(circle, rgba(61,42,138,0.15), transparent);
  filter: blur(80px);
  pointer-events: none;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 280px;
  margin: 1rem 0 1.5rem;
}
.footer-social {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.footer-social-link {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--muted);
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.footer-links a:hover { color: var(--glow); transform: translateX(4px); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(107,53,196,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--glow);
}
.footer-contact-text { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.footer-contact-text strong { color: var(--white); display: block; margin-bottom: 0.1rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-text { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom-text a { color: var(--muted); }
.footer-bottom-text a:hover { color: var(--glow); }
.footer-badge {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 0.3rem 0.8rem;
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem; z-index: 999;
}
.whatsapp-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  cursor: pointer;
  transition: var(--transition);
  animation: whatsapp-pulse 3s ease infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.7); color: var(--white); }
@keyframes whatsapp-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}
.whatsapp-tooltip {
  position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  margin-right: 12px;
  background: rgba(8,13,26,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem; color: var(--white); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── Section Transitions / Dividers ── */
.section-wave {
  width: 100%; overflow: hidden; line-height: 0;
}
.section-wave svg { display: block; }

/* ── Page Header (inner pages) ── */
.page-header {
  min-height: 40vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--deep-navy), var(--navy));
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(61,42,138,0.3), transparent);
}
.page-header-content { position: relative; z-index: 2; }
.page-header-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white); margin-bottom: 0.75rem;
}
.breadcrumb {
  background: none; padding: 0; margin: 0;
}
.breadcrumb-item a { color: var(--muted); font-size: 0.85rem; }
.breadcrumb-item a:hover { color: var(--glow); }
.breadcrumb-item.active { color: var(--glow); font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ── Why Choose Section ── */
.why-choose-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 2rem;
}
.why-choose-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(107,53,196,0.15);
  border: 1px solid rgba(107,53,196,0.3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--glow);
}
.why-choose-text h5 { font-size: 1rem; color: var(--white); margin-bottom: 0.25rem; }
.why-choose-text p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ── Course Cards ── */
.course-card {
  background: linear-gradient(135deg, rgba(15,29,66,0.7), rgba(8,13,26,0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.course-card:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: 0 20px 60px rgba(61,42,138,0.3); }
.course-card-header {
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(61,42,138,0.2), transparent);
  border-bottom: 1px solid var(--border);
}
.course-level {
  display: inline-block;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--glow); background: rgba(107,53,196,0.15);
  border: 1px solid rgba(107,53,196,0.25);
  border-radius: var(--radius-xl);
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}
.course-card-body { padding: 1.5rem 2rem 2rem; }
.course-price {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--white);
  margin-bottom: 0.25rem;
}
.course-price sup { font-size: 1rem; color: var(--gold); vertical-align: super; }
.course-price small { font-size: 0.85rem; color: var(--muted); font-family: var(--font-body); }
.course-features { list-style: none; padding: 0; margin: 1.25rem 0; }
.course-features li {
  font-size: 0.88rem; color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 0.5rem;
}
.course-features li::before { content: '✓'; color: var(--glow); font-size: 0.85rem; }
.course-features li:last-child { border-bottom: none; }

/* ── Appointment Section ── */
.appointment-section {
  background: linear-gradient(135deg, rgba(15,29,66,0.9), rgba(8,13,26,0.95));
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.appointment-section::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,42,138,0.3), transparent);
  border-radius: 50%;
  filter: blur(60px);
}

/* ── Team Cards ── */
.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.team-card:hover { border-color: var(--violet); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white);
  font-family: var(--font-display);
  overflow: hidden;
  border: 2px solid rgba(107,53,196,0.4);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.1rem; color: var(--white); margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }

/* ── Sticky CTA Bar ── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 998;
  background: rgba(8,13,26,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text {
  font-size: 0.88rem; color: var(--muted);
}
.sticky-cta-text strong { color: var(--white); }
.sticky-cta-actions { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }
.sticky-cta-close {
  background: none; border: none; color: var(--muted);
  font-size: 1.2rem; cursor: pointer; padding: 0.2rem; line-height: 1;
}

/* ── Niche Page Styles ── */
.niche-hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--deep-navy), var(--navy));
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.niche-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 30% 50%, rgba(61,42,138,0.25), transparent);
}

.niche-benefit-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem;
}
.niche-benefit-item::before { content: '✦'; color: var(--gold); font-size: 0.6rem; }

/* ── Preloader spinner ── */
.spinner-ring {
  width: 48px; height: 48px;
  border: 2px solid rgba(107,53,196,0.2);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── AOS overrides ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .section-pad { padding: 4rem 0; }
  .hero-title { font-size: clamp(2rem, 7vw, 3.5rem); }
  .hero-visual { margin-top: 3rem; }
  .cta-section { padding: 2.5rem 1.5rem; }
  .appointment-section { padding: 2.5rem 1.5rem; }
  .hero-float-card-1,
  .hero-float-card-2 { display: none; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 3rem 0; }
  .counter-number { font-size: 2.5rem; }
  .trust-stat-number { font-size: 2rem; }
  .sticky-cta-text { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════
   BLOG ARTICLE PAGE ENHANCEMENTS
══════════════════════════════════════ */

.blog-article-content {
  color: var(--muted);
  line-height: 1.95;
  font-size: 1.02rem;
}

.blog-article-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.blog-article-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--glow);
  margin: 2rem 0 0.75rem;
}

.blog-article-content p {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.blog-article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.blog-article-content strong {
  color: var(--white);
  font-weight: 500;
}

.blog-article-content em {
  color: var(--glow);
  font-style: italic;
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.blog-article-content table th {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

.blog-article-content table td {
  padding: 0.75rem;
  border: 1px solid var(--border);
}

.blog-article-content table tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

/* ══════════════════════════════════════
   QUIZ PAGE STYLES
══════════════════════════════════════ */

#quiz-container .glass-card,
#results-container .glass-card {
  transition: all 0.3s ease;
}

.quiz-option-btn:hover {
  background: rgba(166,127,255,0.1) !important;
  border-color: var(--accent) !important;
  color: var(--white) !important;
  transform: translateX(4px);
}

/* ══════════════════════════════════════
   BLOG CARD IMAGE FIX
══════════════════════════════════════ */

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

/* ══════════════════════════════════════
   NAV QUIZ LINK GLOW
══════════════════════════════════════ */

.navbar-nav .nav-link[href="hypnosis-quiz.php"] {
  color: var(--glow) !important;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE & TABLET OPTIMIZATION — Complete Responsive Overhaul
   Mobile-first: 320px → 575px → 768px → 991px → 1199px
══════════════════════════════════════════════════════════════ */

/* ── Touch & Tap Improvements ── */
a, button, .btn-luxury, .btn-outline-luxury, .btn-gold,
.service-card, .blog-card, .course-card, .glass-card,
.faq-question, .dropdown-item, .nav-link {
  -webkit-tap-highlight-color: rgba(107,53,196,0.15);
  touch-action: manipulation;
}

/* ── Mobile-first base font scaling ── */
@media (max-width: 575.98px) {
  html { font-size: 15px; }
}

/* ════════════════════════════
   NAVBAR — Mobile Optimized
════════════════════════════ */
@media (max-width: 991.98px) {
  #main-navbar { padding: 1rem 0; }

  /* Full-screen mobile menu */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5,8,16,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1050;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    /* opacity+visibility avoids horizontal overflow bug caused by translateX */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: block !important;
  }
  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Close button — injected by JS as real button (#nav-close-btn) */

  .navbar-nav { flex-direction: column; gap: 0 !important; width: 100%; }

  .navbar-nav .nav-link {
    font-size: 1.1rem !important;
    letter-spacing: 0.06em;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-transform: none;
  }
  .navbar-nav .nav-link::after { display: none; }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    background: rgba(255,255,255,0.03);
    border: none;
    border-left: 2px solid var(--violet);
    border-radius: 0;
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin-top: 0;
    box-shadow: none;
  }
  .dropdown-item { font-size: 0.95rem; padding: 0.6rem 0.5rem; }

  .nav-item.ms-lg-2 { margin-top: 1.5rem; }
  .nav-item.ms-lg-2 .btn-luxury {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Toggler position */
  .navbar-toggler {
    border: 1px solid rgba(167,127,255,0.25);
    padding: 0.45rem 0.7rem;
    z-index: 1100;
    position: relative;
  }

  /* Nav brand stays visible */
  .nav-brand-text { font-size: 1rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet: full width menu (same as mobile, no side panel) */
  .navbar-collapse {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* ════════════════════════════
   HERO SECTION — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 100svh;
    padding-top: 72px;
    padding-bottom: 3rem;
    align-items: flex-start;
    /* prevent any child from causing horizontal scroll */
    overflow-x: hidden;
  }

  /* Ensure Bootstrap container has enough side padding on mobile */
  .hero-section .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

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

  .hero-title {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin: 0 auto 1.75rem;
  }

  .hero-badge { font-size: 0.65rem; padding: 0.35rem 0.8rem; }

  .hero-actions {
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn-luxury,
  .hero-actions .btn-outline-luxury {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }

  .hero-social-proof {
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-visual { margin-top: 2rem; }
  .hero-image-placeholder { aspect-ratio: 16/10; }

  /* Reduce orb sizes on mobile — clip so they don't cause horizontal scroll */
  .hero-orb-1 { width: 220px; height: 220px; top: -40px; left: -40px; }
  .hero-orb-2 { width: 180px; height: 180px; }
  .hero-orb-3 { display: none; }
}

/* ════════════════════════════
   TRUST / STATS BAR
════════════════════════════ */
@media (max-width: 575.98px) {
  .trust-section { padding: 1.75rem 0; }
  .trust-stat { padding: 0.5rem; }
  .trust-stat-number { font-size: 1.6rem; }
  .trust-stat-label { font-size: 0.68rem; }

  /* 2x2 grid on small phones */
  .trust-section .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    border-bottom: 1px solid var(--border);
  }
  .trust-section .row > [class*="col-"]:last-child,
  .trust-section .row > [class*="col-"]:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .trust-stat-number { font-size: 1.9rem; }
}

/* ════════════════════════════
   SERVICE CARDS
════════════════════════════ */
@media (max-width: 767.98px) {
  .service-card {
    padding: 1.5rem;
    /* Disable hover lift on touch */
    transform: none !important;
  }
  .service-card:active {
    border-color: var(--violet);
    box-shadow: 0 8px 32px rgba(61,42,138,0.3);
  }
  .service-icon { width: 52px; height: 52px; font-size: 1.25rem; }
  .service-title { font-size: 1rem; }
  .service-desc { font-size: 0.85rem; }
}

/* ════════════════════════════
   GLASS CARDS — Touch Fix
════════════════════════════ */
@media (hover: none) {
  /* Disable transform hovers on touch devices */
  .glass-card:hover,
  .service-card:hover,
  .blog-card:hover,
  .course-card:hover,
  .team-card:hover {
    transform: none;
  }
  .glass-card:active { border-color: rgba(167,127,255,0.4); }
  .blog-card:active,
  .course-card:active { border-color: var(--violet); }
}

/* ════════════════════════════
   SECTION TITLES / TYPOGRAPHY
════════════════════════════ */
@media (max-width: 767.98px) {
  .section-pad { padding: 3rem 0; }
  .section-pad-sm { padding: 2rem 0; }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-subtitle { font-size: 1rem; }

  .eyebrow { font-size: 0.68rem; }

  /* Center align text blocks on mobile */
  .text-md-start { text-align: center !important; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .section-title { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
}

/* ════════════════════════════
   COUNTER SECTION
════════════════════════════ */
@media (max-width: 575.98px) {
  .counter-section { padding: 2.5rem 0; }
  .counter-number { font-size: 2.2rem; }
  .counter-label { font-size: 0.7rem; }
  .counter-item { padding: 0.6rem; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .counter-number { font-size: 2.8rem; }
}

/* ════════════════════════════
   TESTIMONIALS
════════════════════════════ */
@media (max-width: 767.98px) {
  .testimonial-card { padding: 1.5rem; }
  .testimonial-text { font-size: 0.95rem; }
  .testimonial-card::before { font-size: 5rem; }
}

/* ════════════════════════════
   BLOG CARDS
════════════════════════════ */
@media (max-width: 575.98px) {
  .blog-card-body { padding: 1.1rem; }
  .blog-card-title { font-size: 0.95rem; }
}

/* ════════════════════════════
   FAQ
════════════════════════════ */
@media (max-width: 767.98px) {
  .faq-question {
    padding: 1rem 1rem;
    font-size: 0.88rem;
  }
  .faq-answer { padding: 0 1rem; }
  .faq-answer.open { padding: 0 1rem 1rem; }
}

/* ════════════════════════════
   CTA SECTION
════════════════════════════ */
@media (max-width: 767.98px) {
  .cta-section {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .cta-section .btn-luxury,
  .cta-section .btn-outline-luxury {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .cta-section { padding: 3rem 2.5rem; }
}

/* ════════════════════════════
   APPOINTMENT SECTION
════════════════════════════ */
@media (max-width: 767.98px) {
  .appointment-section {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .appointment-section { padding: 2.5rem 2rem; }
}

/* ════════════════════════════
   FORMS — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  .luxury-form .form-control,
  .luxury-form .form-select {
    padding: 0.8rem 1rem;
    font-size: 1rem; /* Prevent iOS zoom on input focus */
  }
  .luxury-form label { font-size: 0.75rem; }
}

/* iOS zoom prevention — inputs must be ≥16px */
@media (max-width: 575.98px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* ════════════════════════════
   COURSE CARDS
════════════════════════════ */
@media (max-width: 767.98px) {
  .course-card-header { padding: 1.5rem 1.5rem 1.25rem; }
  .course-card-body { padding: 1.25rem 1.5rem 1.5rem; }
  .course-price { font-size: 1.6rem; }
}

/* ════════════════════════════
   PAGE HEADER (inner pages)
════════════════════════════ */
@media (max-width: 767.98px) {
  .page-header {
    min-height: 30vh;
    padding-top: 70px;
  }
  .page-header-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
}

/* ════════════════════════════
   NICHE PAGES
════════════════════════════ */
@media (max-width: 767.98px) {
  .niche-hero {
    padding: 6rem 0 3rem;
    text-align: center;
  }
  .niche-benefit-item { justify-content: center; }
}

/* ════════════════════════════
   FOOTER — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  #main-footer { padding: 3rem 0 1.5rem; }

  .footer-brand-desc {
    max-width: 100%;
    text-align: center;
  }

  .footer-social { justify-content: center; margin: 0 auto; }

  .footer-heading {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .footer-heading::after {
    content: '+';
    font-size: 1rem;
    color: var(--muted);
    transition: transform 0.25s ease;
  }
  .footer-heading.open::after { transform: rotate(45deg); }

  .footer-links {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    margin-bottom: 0;
  }
  .footer-links.open { max-height: 400px; }

  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-bottom-text { font-size: 0.75rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #main-footer { padding: 3.5rem 0 1.75rem; }
  .footer-brand-desc { max-width: 100%; }
}

/* ════════════════════════════
   WHATSAPP BUTTON — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  .whatsapp-float {
    bottom: 4.5rem; /* above sticky CTA */
    right: 1.25rem;
  }
  .whatsapp-btn { width: 52px; height: 52px; font-size: 1.4rem; }
  .whatsapp-tooltip { display: none; } /* hide on mobile */
}

/* ════════════════════════════
   STICKY CTA BAR — Mobile
════════════════════════════ */
@media (max-width: 575.98px) {
  .sticky-cta {
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
  }
  .sticky-cta-text { width: 100%; text-align: center; font-size: 0.8rem; }
  .sticky-cta-actions { width: 100%; justify-content: center; }
  .sticky-cta-actions .btn-luxury {
    font-size: 0.8rem;
    padding: 0.6rem 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-actions { margin: 0 auto; }
}

/* ════════════════════════════
   BUTTONS — Touch sizing
════════════════════════════ */
@media (max-width: 767.98px) {
  .btn-luxury, .btn-outline-luxury, .btn-gold {
    min-height: 48px; /* WCAG touch target */
    padding: 0.85rem 1.75rem;
  }
}

/* ════════════════════════════
   DIVIDER — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  .divider-gold { margin: 0.75rem auto; }
}

/* ════════════════════════════
   TABLE OVERFLOW — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  .blog-article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ════════════════════════════
   TABLET-SPECIFIC (768–991px)
════════════════════════════ */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .hero-subtitle { font-size: 1.1rem; }

  .trust-stat-number { font-size: 2.1rem; }

  .service-card { padding: 1.75rem; }
  .service-title { font-size: 1.05rem; }

  .counter-number { font-size: 3rem; }

  .glass-card { padding: 1.75rem; }

  /* 2-col grids on tablet for better use of space */
  .col-lg-4.col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

/* ════════════════════════════
   QUIZ / TOOLS — Mobile
════════════════════════════ */
@media (max-width: 767.98px) {
  .quiz-option-btn {
    font-size: 0.9rem !important;
    padding: 0.9rem 1rem !important;
    text-align: left;
  }
  #quiz-container .glass-card,
  #results-container .glass-card { padding: 1.5rem 1.25rem; }
}

/* ════════════════════════════
   SLEEP CALC / BREATHING TOOL
════════════════════════════ */
@media (max-width: 767.98px) {
  canvas { max-width: 100% !important; }
}

/* ════════════════════════════
   PAGE LOADER — Mobile
════════════════════════════ */
@media (max-width: 575.98px) {
  .loader-logo { font-size: 1.2rem; }
  .loader-bar { width: 120px; }
}

/* ════════════════════════════
   SAFE AREA (iPhone notch)
════════════════════════════ */
@supports (padding: max(0px)) {
  #main-navbar {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .sticky-cta {
    padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
  }
  .whatsapp-float {
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(4.5rem, calc(4.5rem + env(safe-area-inset-bottom)));
  }
}

/* ════════════════════════════
   PRINT — Basic
════════════════════════════ */
@media print {
  #main-navbar, .sticky-cta, .whatsapp-float,
  #page-loader, .hero-particles { display: none !important; }
  body { background: white; color: black; }
  .glass-card, .service-card { border: 1px solid #ccc; }
}

/* ════════════════════════════════════════════════
   QUIZ PAGES — Full Responsive Optimization
   Mobile (320px+) · Tablet (768px+) · Desktop
════════════════════════════════════════════════ */

/* Quiz card padding — fluid on mobile */
#question-card {
  padding: clamp(1.25rem, 4vw, 2.5rem) !important;
}

/* Question text — scale down on small screens */
#question-text {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem) !important;
  word-break: break-word;
  hyphens: auto;
}

/* Option buttons — full touch target, no overflow */
#options-container button {
  min-height: 48px;
  white-space: normal !important;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.4;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(107,53,196,0.15);
}

/* Navigation buttons — stack on tiny screens */
@media (max-width: 400px) {
  #quiz-container > div:last-child {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  #prev-btn, #next-btn {
    width: 100% !important;
    justify-content: center;
  }
}

/* Results container — mobile padding */
@media (max-width: 575.98px) {
  #results-container .glass-card {
    padding: 1.5rem 1.25rem !important;
  }
  #results-container h2 {
    font-size: 1.35rem !important;
  }
  .result-cta-row {
    flex-direction: column;
  }
  .result-cta-row a,
  .result-cta-row button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Progress text — prevent overflow */
#progress-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

/* Quiz sidebar — already hidden on mobile via d-none d-lg-block */
/* Ensure quiz takes full width on mobile */
@media (max-width: 991.98px) {
  #quiz-container,
  #results-container {
    max-width: 100%;
  }
}

/* Quiz page header — compact on mobile */
@media (max-width: 575.98px) {
  .page-header-content p {
    font-size: 0.95rem;
  }
}

/* Score bar section — mobile */
@media (max-width: 575.98px) {
  #results-container [style*="background:rgba(255,255,255,0.05)"] {
    padding: 1rem !important;
  }
  #results-container [style*="background:linear-gradient(135deg,rgba(166,127,255,0.08)"] {
    padding: 1rem !important;
  }
}

/* Tablet quiz — comfortable layout */
@media (min-width: 576px) and (max-width: 991.98px) {
  #question-card {
    min-height: 280px !important;
  }
  #question-text {
    font-size: 1.2rem !important;
  }
}

/* Free Tools Hub — Quiz Index Page Link Cards */
.quiz-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
}

@media (max-width: 575.98px) {
  .quiz-hub-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════════════════
   MOBILE NAV — Real Close Button & Backdrop (JS-injected)
   v2.1 fixes
══════════════════════════════════════════════════════════ */

/* JS-injected backdrop */
#nav-backdrop {
  pointer-events: none;
}
#nav-backdrop[style*="opacity: 1"],
#nav-backdrop[style*="opacity:1"] {
  pointer-events: auto;
}

/* JS-injected close button */
#nav-close-btn:hover {
  background: rgba(167, 127, 255, 0.15) !important;
  border-color: var(--glow) !important;
  color: var(--white) !important;
}
#nav-close-btn:active {
  transform: scale(0.92);
}

/* Hide CSS ::before close placeholder now that JS button is used */
@media (max-width: 991.98px) {
  .navbar-collapse::before {
    display: none !important;
    content: none !important;
  }
}

/* Prevent body scroll leak — extra safety */
body.nav-open {
  overflow: hidden !important;
}

/* Page transition fade — smooth entry on every new page (only after loader hides) */
body:not(.loading) {
  animation: page-fade-in 0.3s ease forwards;
}
@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

