:root {
  /* Primary Colors */
  --deep-teal: #0F3D3A;
  --leaf-green: #2E7D5A;
  --sage: #B7D7C1;
  --ocean-navy: #1D3557;
  --sky-blue: #6FA8C8;
  --terracotta: #F26D3D;
  --sunset-peach: #FFC49A;
  --warm-cream: #FFF7F0;
  
  /* Neutrals */
  --charcoal: #1F2933;
  --slate: #475569;
  --cool-gray: #94A3B8;
  --light-gray: #E5E7EB;
  --off-white: #FAFAF8;

  /* Legacy variable mapping for compatibility */
  --primary-dark: var(--ocean-navy);
  --primary-light: var(--sky-blue);
  --accent-green: var(--leaf-green);
  --text-dark: var(--charcoal);
  --text-light: var(--slate);
  --bg-cream: var(--warm-cream);
  --bg-white: #ffffff;
  --bg-footer: var(--ocean-navy);
  
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --font-main: 'Manrope', sans-serif;
  --font-heading: 'Abel', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Logo Refinement */
.logo img {
  display: block;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex: 1;
}

.nav-links a:hover {
  color: var(--primary-light);
}

.header-btns {
  display: flex;
  gap: 15px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(29, 53, 87, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ocean-navy);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 25, 40, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 53, 87, 0.26);
}

.nav-toggle i {
  font-size: 1rem;
}




/* Hide both icons by default */
.nav-toggle .nav-toggle-icon-open,
.nav-toggle .nav-toggle-icon-close {
  display: none;
}

/* Show hamburger when menu is closed */
header:not(.mobile-nav-open) .nav-toggle .nav-toggle-icon-open {
  display: inline-block;
}

/* Show close icon when menu is open */
header.mobile-nav-open .nav-toggle .nav-toggle-icon-close {
  display: inline-block;
}

.mobile-nav-menu {
  display: none;
}

.btn {
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

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

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

.btn-outline {
  border: 1px solid var(--text-dark);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: visible;
  background-color: #ffffff;
}

.hero-bg-shape {
  position: absolute;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
}

.shape-1 {
  top: -100px;
  right: -50px;
  width: 600px;
  opacity: 0.2;
}

.shape-2 {
  top: 40%;
  left: -80px;
  width: 250px;
  opacity: 0.3;
}

.shape-3 {
  display: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  gap: 50px;
  padding-top: 30px;
}

/* Hero Refinement */
.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-content h1 span {
  color: var(--accent-green);
  font-style: italic;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-image-container {
  position: relative;
}

.hero-image-blob {
  width: 100%;
  height: 480px;
  clip-path: url(#hero-blob-mask);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  animation: heroBlobFloat 8s ease-in-out infinite;
}

.hero-image-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: heroBlobImgShift 8s ease-in-out infinite;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: heroBlobImgShift 8s ease-in-out infinite;
}

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

@keyframes heroBlobFloat {
  0%   { transform: scale(1) translate(0, 0); }
  33%  { transform: scale(1.018) translate(3px, -5px); }
  66%  { transform: scale(1.012) translate(-3px, 4px); }
  100% { transform: scale(1) translate(0, 0); }
}

@keyframes heroBlobImgShift {
  0%   { transform: scale(1) translate(0, 0); }
  33%  { transform: scale(1.03) translate(-3px, 4px); }
  66%  { transform: scale(1.02) translate(2px, -3px); }
  100% { transform: scale(1) translate(0, 0); }
}

.hero-shape {
  position: absolute;
  bottom: -50px;
  left: -50px;
  z-index: -1;
  opacity: 0.2;
}

/* Hero Lava Lamp Blobs */
.hero-lava-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.52;
  z-index: 1;
  will-change: transform, border-radius;
  pointer-events: none;
}

.lava-blob-1 {
  width: 280px;
  height: 240px;
  background: #8fc4a4;
  top: -70px;
  right: -40px;
  animation: lavaA 18s ease-in-out infinite alternate;
}

.lava-blob-2 {
  width: 200px;
  height: 220px;
  background: #f2dcaa;
  top: -50px;
  left: -30px;
  animation: lavaB 22s ease-in-out infinite alternate;
}

.lava-blob-3 {
  width: 220px;
  height: 195px;
  background: #e8a07a;
  top: 28%;
  right: -65px;
  animation: lavaC 20s ease-in-out infinite alternate;
}

.lava-blob-4 {
  width: 185px;
  height: 210px;
  background: #d9939a;
  bottom: -50px;
  right: -25px;
  animation: lavaD 24s ease-in-out infinite alternate;
}

.lava-blob-5 {
  width: 250px;
  height: 205px;
  background: #8db5c5;
  bottom: -65px;
  left: 8%;
  animation: lavaE 19s ease-in-out infinite alternate;
}

.lava-blob-6 {
  width: 165px;
  height: 185px;
  background: #a8a8c8;
  top: 48%;
  left: -50px;
  animation: lavaF 26s ease-in-out infinite alternate;
}

.lava-blob-7 {
  display: none;
}

@keyframes lavaA {
  0%   { border-radius: 56% 44% 52% 48% / 47% 53% 47% 53%; transform: scale(1); }
  33%  { border-radius: 42% 58% 60% 40% / 54% 38% 62% 46%; transform: scale(1.05); }
  66%  { border-radius: 64% 36% 44% 56% / 42% 60% 40% 58%; transform: scale(0.97); }
  100% { border-radius: 50% 50% 58% 42% / 52% 46% 54% 48%; transform: scale(1.03); }
}

@keyframes lavaB {
  0%   { border-radius: 48% 52% 44% 56% / 55% 43% 57% 45%; transform: scale(1); }
  40%  { border-radius: 60% 40% 54% 46% / 44% 56% 42% 58%; transform: scale(1.07); }
  80%  { border-radius: 38% 62% 48% 52% / 58% 42% 60% 40%; transform: scale(0.94); }
  100% { border-radius: 52% 48% 62% 38% / 46% 54% 44% 56%; transform: scale(1.04); }
}

@keyframes lavaC {
  0%   { border-radius: 52% 48% 62% 38% / 44% 56% 46% 54%; transform: scale(1); }
  50%  { border-radius: 44% 56% 40% 60% / 58% 42% 56% 44%; transform: scale(1.06); }
  100% { border-radius: 60% 40% 50% 50% / 50% 50% 62% 38%; transform: scale(0.97); }
}

@keyframes lavaD {
  0%   { border-radius: 44% 56% 56% 44% / 52% 48% 54% 46%; transform: scale(1); }
  45%  { border-radius: 58% 42% 44% 56% / 46% 54% 44% 56%; transform: scale(1.08); }
  100% { border-radius: 48% 52% 60% 40% / 56% 44% 50% 50%; transform: scale(0.95); }
}

@keyframes lavaE {
  0%   { border-radius: 60% 40% 48% 52% / 46% 54% 52% 48%; transform: scale(1); }
  35%  { border-radius: 46% 54% 56% 44% / 54% 46% 46% 54%; transform: scale(1.05); }
  70%  { border-radius: 54% 46% 42% 58% / 48% 52% 58% 42%; transform: scale(0.97); }
  100% { border-radius: 50% 50% 52% 48% / 44% 56% 48% 52%; transform: scale(1.04); }
}

@keyframes lavaF {
  0%   { border-radius: 54% 46% 44% 56% / 50% 50% 56% 44%; transform: scale(1); }
  60%  { border-radius: 40% 60% 58% 42% / 56% 44% 44% 56%; transform: scale(1.09); }
  100% { border-radius: 62% 38% 48% 52% / 42% 58% 52% 48%; transform: scale(0.94); }
}

@keyframes lavaG {
  0%   { border-radius: 50% 50% 56% 44% / 54% 46% 48% 52%; transform: scale(1); }
  55%  { border-radius: 62% 38% 44% 56% / 46% 54% 60% 40%; transform: scale(1.06); }
  100% { border-radius: 44% 56% 60% 40% / 58% 42% 46% 54%; transform: scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lava-blob { animation: none; }
}

/* ============================================================
   TRAINING CALLOUT BANNER
   ============================================================ */
.training-callout {
  background: linear-gradient(
    135deg,
    var(--leaf-green),
    var(--sage),
    var(--sunset-peach),
    var(--terracotta),
    var(--leaf-green)
  );
  background-size: 400% 400%;
  animation: tcGradient 60s ease infinite;
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

/* Dark scrim so text stays readable over bright gradient colors */
.training-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 50, 0.55);
  z-index: 0;
  pointer-events: none;
}

@keyframes tcGradient {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 0%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* ---- Floating background blobs ---- */
.tc-float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
  animation: tcFloatUp linear infinite;
}

.tc-float-1 {
  width: 120px;
  height: 120px;
  background: #ffffff;
  left: 5%;
  bottom: -60px;
  animation-duration: 18s;
  animation-delay: 0s;
  border-radius: 56% 44% 62% 38% / 48% 52% 44% 56%;
}
.tc-float-2 {
  width: 80px;
  height: 80px;
  background: var(--sunset-peach);
  left: 20%;
  bottom: -40px;
  animation-duration: 22s;
  animation-delay: 3s;
  border-radius: 44% 56% 48% 52% / 62% 38% 56% 44%;
}
.tc-float-3 {
  width: 100px;
  height: 100px;
  background: var(--sage);
  left: 40%;
  bottom: -50px;
  animation-duration: 20s;
  animation-delay: 6s;
  border-radius: 62% 38% 56% 44% / 50% 50% 38% 62%;
}
.tc-float-4 {
  width: 70px;
  height: 70px;
  background: #ffffff;
  left: 60%;
  bottom: -35px;
  animation-duration: 25s;
  animation-delay: 2s;
  border-radius: 48% 52% 44% 56% / 56% 44% 60% 40%;
}
.tc-float-5 {
  width: 90px;
  height: 90px;
  background: var(--sunset-peach);
  left: 78%;
  bottom: -45px;
  animation-duration: 19s;
  animation-delay: 5s;
  border-radius: 56% 44% 52% 48% / 42% 58% 48% 52%;
}
.tc-float-6 {
  width: 60px;
  height: 60px;
  background: var(--sage);
  left: 92%;
  bottom: -30px;
  animation-duration: 23s;
  animation-delay: 8s;
  border-radius: 50% 50% 56% 44% / 54% 46% 48% 52%;
}

@keyframes tcFloatUp {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.09;
  }
  80% {
    opacity: 0.06;
  }
  100% {
    transform: translateY(-400px) rotate(180deg) scale(0.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-float { animation: none; opacity: 0; }
}

.training-callout-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.training-callout-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.training-blue-text {
  color: #6FA8C8;
}

.training-callout-text {
  flex: 1;
}

.training-callout-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.training-callout-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.training-callout-text p strong {
  color: var(--sunset-peach);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ---- Blob-shaped CTA button ---- */
.training-callout-blob-btn {
  flex-shrink: 0;
  background: #6FA8C8;
  color: #ffffff;
  padding: 18px 36px 16px;
  border-radius: 56% 44% 52% 48% / 58% 42% 56% 44%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.25s ease, border-radius 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(111, 168, 200, 0.3);
  line-height: 1.25;
  text-align: center;
  animation: blobBtnMorph 6s ease-in-out infinite;
}

.training-callout-blob-btn span {
  display: inline-block;
}

.training-callout-blob-btn:hover {
  background: #5B9AC0;
  transform: scale(1.04);
  box-shadow: 0 6px 25px rgba(111, 168, 200, 0.45);
}

.training-callout-blob-btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.training-callout-blob-btn:hover i {
  transform: translateX(3px);
}

@keyframes blobBtnMorph {
  0%, 100% { border-radius: 56% 44% 52% 48% / 58% 42% 56% 44%; }
  25%  { border-radius: 48% 52% 58% 42% / 44% 56% 48% 52%; }
  50%  { border-radius: 52% 48% 44% 56% / 56% 44% 52% 48%; }
  75%  { border-radius: 44% 56% 56% 44% / 48% 52% 44% 56%; }
}

/* Training callout responsive */
@media (max-width: 768px) {
  .training-callout-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 8px 0;
  }

  .training-callout-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .training-callout-text h3 {
    font-size: 1.05rem;
  }

  .training-callout-blob-btn {
    width: 80%;
    justify-content: center;
  }
}

/* ============================================================
   TRAINING REGISTRATION MODAL (in-page schedule + form)
   ============================================================ */
.training-reg-schedule {
  margin-bottom: 28px;
}

.training-reg-schedule h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--ocean-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.training-reg-schedule h4 i {
  color: var(--leaf-green);
}

.training-reg-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  margin-bottom: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.training-reg-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.training-reg-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ocean-navy);
  border-radius: 10px;
  padding: 10px 6px;
  color: #fff;
}

.trd-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.trd-day {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.trd-year {
  font-size: 0.65rem;
  opacity: 0.6;
}

.training-reg-info {
  flex: 1;
}

.training-reg-info h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--ocean-navy);
  margin-bottom: 2px;
}

.training-reg-info p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.35;
}

.trd-location {
  font-size: 0.78rem !important;
  margin-top: 4px;
  color: var(--leaf-green) !important;
}

.trd-location i {
  margin-right: 3px;
}

.training-reg-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
}

.training-reg-tag.online {
  background: rgba(111, 168, 200, 0.15);
  color: var(--sky-blue);
}

.training-reg-tag.in-person {
  background: rgba(46, 125, 90, 0.12);
  color: var(--leaf-green);
}

/* Training modal form heading */
.cf-form h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--ocean-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-form h4 i {
  color: var(--leaf-green);
}

/* Training modal responsive */
@media (max-width: 600px) {
  .training-reg-card {
    flex-direction: column;
    gap: 12px;
  }
  .training-reg-date {
    flex-direction: row;
    width: auto;
    gap: 8px;
    padding: 8px 16px;
  }
}

/* Features */
.features {
  padding: 80px 0;
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Feature Cards Refinement */
.feature-card {
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  border: none;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -20%;
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.feature-card-1::before {
  background-image: url('images/mcs_feature_bgs.png');
  animation: featureMorph1 20s ease-in-out infinite alternate;
}
.feature-card-2::before {
  background-image: url('images/mcs_feature_bgs-1.png');
  animation: featureMorph2 24s ease-in-out infinite alternate;
}
.feature-card-3::before {
  background-image: url('images/mcs_feature_bgs-2.png');
  animation: featureMorph3 18s ease-in-out infinite alternate;
}
.feature-card-4::before {
  background-image: url('images/mcs_feature_bgs-3.png');
  animation: featureMorph4 22s ease-in-out infinite alternate;
}

@keyframes featureMorph1 {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.1) rotate(5deg); }
  65%  { transform: scale(0.96) rotate(-4deg); }
  100% { transform: scale(1.07) rotate(7deg); }
}
@keyframes featureMorph2 {
  0%   { transform: scale(1.04) rotate(-4deg); }
  45%  { transform: scale(0.95) rotate(6deg); }
  100% { transform: scale(1.09) rotate(-7deg); }
}
@keyframes featureMorph3 {
  0%   { transform: scale(0.97) rotate(3deg); }
  40%  { transform: scale(1.08) rotate(-6deg); }
  80%  { transform: scale(1.01) rotate(2deg); }
  100% { transform: scale(0.95) rotate(-5deg); }
}
@keyframes featureMorph4 {
  0%   { transform: scale(1.05) rotate(-5deg); }
  50%  { transform: scale(0.96) rotate(4deg); }
  100% { transform: scale(1.1) rotate(-8deg); }
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 200px; /* Constrain text width to stay in center of blob */
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
}

.feature-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
  max-width: 200px;
}

.feature-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Mission */
.mission {
  padding: 100px 0;
  background-color: #ECF0F5;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.mission-label {
  text-transform: uppercase;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.mission-content h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.mission-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.mission-icons {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.mission-icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.mission-image {
  position: relative;
}

/* Mission Section Refinement */
.mission-image img {
  width: 100%;
  height: auto;
  max-height: 560px;
  border-radius: 72px 220px 72px 220px;
  box-shadow: none;
  object-fit: contain;
}

/* Counselors */
.counselors {
  padding: 100px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.counselors-slider-container {
  position: relative;
  width: 100%;
}

.counselors-track-container {
  overflow: hidden;
  margin: 0 -12px;
  padding: 0 0 24px;
  cursor: grab;
  touch-action: pan-y;
}

.counselors-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.counselors-track-container.is-dragging {
  cursor: grabbing;
}

.counselors-track-container.is-dragging .counselors-track {
  transition: none;
}

.counselors-track-container.is-dragging .counselor-card {
  user-select: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: #1D3557; /* Ocean Navy */
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.section-header .mission-label {
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: #6FA8C8; /* Sky Blue */
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.slider-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid #1a365d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #1a365d;
  font-size: 1.2rem;
}

.slider-btn:hover {
  background-color: rgba(26, 54, 93, 0.05);
}

.slider-btn.next-btn {
  background-color: #1a365d;
  color: white;
}

.slider-btn.next-btn:hover {
  background-color: #132a4a;
}

.counselors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 0 15px;
}

/* Counselor Card Refinement */
.counselor-card {
  --current-blob-color: #2B8DCA;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(29, 53, 87, 0.13);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(29, 53, 87, 0.09);
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(25% - 24px);
  min-height: 366px;
  margin: 0 12px;
}

.counselor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(29, 53, 87, 0.16);
}

.counselor-header {
  background-color: #f8f7f2;
  height: 221px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.counselor-blob {
  position: absolute;
  width: 74%;
  height: 86%;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.82;
  z-index: 1;
  will-change: border-radius, transform;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), height 0.6s cubic-bezier(0.22, 1, 0.36, 1), top 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.counselor-card.blob-teal .counselor-blob { background: #2E7D5A; }
.counselor-card.blob-blue .counselor-blob { background: #6FA8C8; }
.counselor-card.blob-orange .counselor-blob { background: #F26D3D; }
.counselor-card.blob-sage .counselor-blob { background: #8fb9a8; }
.counselor-card.blob-navy .counselor-blob { background: #1D3557; }

/* Shape Varieties - Centered with Rotation */
.shape-a { border-radius: 56% 44% 52% 48% / 47% 53% 47% 53%; transform: translate(-53%, -48%) rotate(-6deg); animation: blobMorphA 12s ease-in-out infinite alternate; }
.shape-b { border-radius: 48% 52% 43% 57% / 54% 44% 56% 46%; transform: translate(-49%, -50%) rotate(8deg); animation: blobMorphB 14s ease-in-out infinite alternate; }
.shape-c { border-radius: 58% 42% 54% 46% / 43% 57% 45% 55%; transform: translate(-48%, -49%) rotate(-9deg); animation: blobMorphC 13s ease-in-out infinite alternate; }
.shape-d { border-radius: 45% 55% 50% 50% / 54% 46% 52% 48%; transform: translate(-52%, -50%) rotate(5deg); animation: blobMorphD 15s ease-in-out infinite alternate; }
.shape-e { border-radius: 52% 48% 46% 54% / 48% 52% 44% 56%; transform: translate(-50%, -49%) rotate(-5deg); animation: blobMorphE 16s ease-in-out infinite alternate; }

.counselor-header:hover .counselor-blob {
  width: 92%;
  height: 108%;
  top: 54%;
  opacity: 0.94;
}

.counselor-header:hover .shape-a { animation-duration: 7.5s; }
.counselor-header:hover .shape-b { animation-duration: 8.2s; }
.counselor-header:hover .shape-c { animation-duration: 7.8s; }
.counselor-header:hover .shape-d { animation-duration: 8.6s; }
.counselor-header:hover .shape-e { animation-duration: 8.8s; }

@keyframes blobMorphA {
  0% { border-radius: 56% 44% 52% 48% / 47% 53% 47% 53%; transform: translate(-53%, -48%) rotate(-6deg) scale(1); }
  50% { border-radius: 50% 50% 46% 54% / 54% 46% 50% 50%; transform: translate(-51%, -49%) rotate(-2deg) scale(1.03); }
  100% { border-radius: 60% 40% 55% 45% / 45% 55% 43% 57%; transform: translate(-54%, -47%) rotate(-8deg) scale(0.99); }
}

@keyframes blobMorphB {
  0% { border-radius: 48% 52% 43% 57% / 54% 44% 56% 46%; transform: translate(-49%, -50%) rotate(8deg) scale(1); }
  50% { border-radius: 54% 46% 49% 51% / 48% 52% 50% 50%; transform: translate(-50%, -49%) rotate(4deg) scale(1.02); }
  100% { border-radius: 44% 56% 40% 60% / 58% 42% 54% 46%; transform: translate(-48%, -51%) rotate(10deg) scale(0.99); }
}

@keyframes blobMorphC {
  0% { border-radius: 58% 42% 54% 46% / 43% 57% 45% 55%; transform: translate(-48%, -49%) rotate(-9deg) scale(1); }
  50% { border-radius: 52% 48% 58% 42% / 49% 51% 41% 59%; transform: translate(-49%, -48%) rotate(-5deg) scale(1.02); }
  100% { border-radius: 61% 39% 49% 51% / 39% 61% 47% 53%; transform: translate(-47%, -50%) rotate(-11deg) scale(0.99); }
}

@keyframes blobMorphD {
  0% { border-radius: 45% 55% 50% 50% / 54% 46% 52% 48%; transform: translate(-52%, -50%) rotate(5deg) scale(1); }
  50% { border-radius: 51% 49% 45% 55% / 48% 52% 58% 42%; transform: translate(-51%, -49%) rotate(2deg) scale(1.03); }
  100% { border-radius: 42% 58% 54% 46% / 57% 43% 50% 50%; transform: translate(-53%, -51%) rotate(7deg) scale(0.99); }
}

@keyframes blobMorphE {
  0% { border-radius: 52% 48% 46% 54% / 48% 52% 44% 56%; transform: translate(-50%, -49%) rotate(-5deg) scale(1); }
  50% { border-radius: 47% 53% 52% 48% / 54% 46% 48% 52%; transform: translate(-49%, -50%) rotate(-2deg) scale(1.02); }
  100% { border-radius: 55% 45% 43% 57% / 45% 55% 41% 59%; transform: translate(-51%, -48%) rotate(-7deg) scale(0.99); }
}

@media (prefers-reduced-motion: reduce) {
  .shape-a,
  .shape-b,
  .shape-c,
  .shape-d,
  .shape-e {
    animation: none;
  }
}

.counselor-img {
  width: 100%;
  height: 92%;
  z-index: 2;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
}

.counselor-img img {
  width: auto;
  max-width: 102%;
  height: 105%;
  object-fit: contain;
  object-position: bottom;
  border-radius: 0;
}

.counselor-info {
  padding: 14px 18px 16px;
  background-color: #ffffff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.counselor-info h3 {
  font-size: 1rem;
  line-height: 1.15;
  margin-bottom: 3px;
  color: #1a365d;
  font-family: var(--font-main);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.counselor-not-accepting {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  background: #eef0f2;
  color: #6c757d;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.counselor-info .credentials {
  color: var(--current-blob-color, #2B8DCA);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 11px;
}

.counselor-info .modalities {
  font-size: 0.72rem;
  color: #4d5964;
  margin-bottom: 8px;
  line-height: 1.45;
}

.counselor-info .specialties {
  font-size: 0.72rem;
  color: #4d5964;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 12px;
  line-height: 1.45;
}

.counselor-card.blob-teal { --current-blob-color: #2E7D5A; }
.counselor-card.blob-blue { --current-blob-color: #6FA8C8; }
.counselor-card.blob-orange { --current-blob-color: #F26D3D; }
.counselor-card.blob-sage { --current-blob-color: #8fb9a8; }
.counselor-card.blob-navy { --current-blob-color: #1D3557; }

.view-profile {
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--current-blob-color, #2B8DCA);
  text-decoration: none;
  transition: gap 0.3s ease;
  margin-top: auto;
}

.view-profile:hover {
  gap: 12px;
}

.view-profile i {
  transition: transform 0.3s ease;
}

.view-profile:hover i {
  transform: translateX(4px);
}

/* CTA Section - Full-Width Wavy Design */
.cta-section {
  padding: 0;
  background-color: #ffffff;
  width: 100%;
  overflow: hidden;
}

.cta-container {
  width: 100%;
  height: 500px;
  display: flex;
  position: relative;
  background-image: url('images/mcs_contactbg.webp');
  background-size: cover;
  background-position: center;
}

.cta-blue-wave {
  position: absolute;
  top: 13px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #092F50;
  z-index: 2;
  clip-path: url(#cta-wave-mask);
  display: flex;
  align-items: center;
  padding: 0 7% 0 6%;
}

.cta-content-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1100px;
  color: white;
}

.cta-text-side {
  flex: 1.2;
}

.cta-text-side h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 15px;
  color: #ffffff;
}

.cta-accent-line {
  width: 60px;
  height: 4px;
  background-color: #2E7D5A;
  margin-bottom: 25px;
}

.cta-text-side p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-divider {
  width: 1px;
  height: 140px;
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-actions-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

.cta-item:hover {
  transform: translateX(10px);
}

.cta-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-calendar { background-color: #2E7D5A; }
.icon-phone { background-color: rgba(111, 168, 200, 0.3); border: 1px solid rgba(255,255,255,0.2); }

.cta-info {
  display: flex;
  flex-direction: column;
}

.cta-info .label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 2px;
}

.cta-info .value {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.cta-circle-orange {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background-color: #F26D3D;
  border-radius: 50%;
  opacity: 0.35;
  z-index: 3;
}

.cta-circle-blue {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  background-color: #1D3557;
  border-radius: 50%;
  opacity: 0.4;
  z-index: 3;
}
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info .label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
}

.contact-info .value {
  font-weight: 700;
  font-size: 1.2rem;
}

.cta-image {
  position: relative;
}

.cta-image img {
  width: 100%;
  border-radius: 30px 30px 100px 30px;
}

/* Animations handled by GSAP */

/* Insurance */
.insurance {
  padding: 60px 0;
  overflow: hidden;
  background-color: #ffffff;
}

.insurance-copy {
  text-align: center;
  padding: 36px 20px;
}

.insurance-copy .mission-label {
  display: block;
  margin-bottom: 10px;
}

.insurance-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.insurance-note {
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.5;
}

.insurance-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.insurance-track {
  display: flex;
  width: max-content;
  animation: insuranceScroll 50s linear infinite;
  will-change: transform;
}

.insurance-set {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  padding-right: 48px;
}

.insurance-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 0 10px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.insurance-logo:hover {
  opacity: 1;
}

.insurance-logo img {
  max-width: 230px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.insurance-track-reverse {
  animation: insuranceScrollReverse 55s linear infinite;
}

@keyframes insuranceScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes insuranceScrollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 768px) {
  .insurance-heading {
    font-size: 1.5rem;
  }

  .insurance-logo {
    height: 88px;
  }

  .insurance-logo img {
    max-width: 160px;
    max-height: 64px;
  }

  .insurance-set {
    gap: 32px;
    padding-right: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insurance-track,
  .insurance-track-reverse {
    animation: none;
  }
  .feature-card-1::before,
  .feature-card-2::before,
  .feature-card-3::before,
  .feature-card-4::before,
  .hero-lava-blob {
    animation: none;
  }
}

/* Footer */
footer {
  background-color: #f7f3eb;
  color: var(--text-dark);
  padding: 80px 0 20px;
}

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

.footer-about h2 {
  margin-bottom: 20px;
}

.footer-about .logo img {
  display: block;
  width: auto;
  height: auto;
  mix-blend-mode: normal;
  border-radius: 16px;
}

.footer-about p {
  color: rgba(42, 54, 71, 0.82);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 25px;
  font-family: var(--font-main);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--primary-dark);
}

.footer-links ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: rgba(42, 54, 71, 0.82);
}

.footer-links ul li a {
  color: rgba(42, 54, 71, 0.82);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--primary-dark);
  padding-left: 5px;
}

/* Footer office address blocks */
.footer-links ul li.footer-office {
  display: block;
  white-space: normal;
  margin-bottom: 18px;
}

.footer-office-name {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-office-name i {
  color: var(--accent-green);
  font-size: 0.85rem;
}

.footer-office-addr {
  color: rgba(42, 54, 71, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
  padding-left: 24px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(29, 53, 87, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  position: relative;
}

.social-btn:hover {
  background: rgba(29, 53, 87, 0.15);
}

/* Coming soon tooltip */
.social-coming-soon {
  cursor: not-allowed;
}

.social-coming-soon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ocean-navy);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.social-coming-soon::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ocean-navy);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.social-coming-soon:hover::after,
.social-coming-soon:hover::before {
  opacity: 1;
  visibility: visible;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(29, 53, 87, 0.14);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(42, 54, 71, 0.82);
}

/* ---- Side Tab (Training link) — REMOVED ---- */

/* ============================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ============================================================ */

.legal-page {
  padding: 100px 0 80px;
  background-color: #ffffff;
  min-height: 60vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--sage, #B7D7C1);
}

.legal-header h1 {
  font-family: var(--font-heading, 'Abel', sans-serif);
  font-size: 2.5rem;
  color: var(--ocean-navy, #1D3557);
  margin-bottom: 12px;
}

.legal-effective-date {
  color: var(--charcoal, #1F2933);
  opacity: 0.6;
  font-size: 0.9rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--charcoal, #1F2933);
  line-height: 1.8;
  font-size: 1rem;
}

.legal-content h2 {
  font-family: var(--font-heading, 'Abel', sans-serif);
  font-size: 1.6rem;
  color: var(--ocean-navy, #1D3557);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.legal-content h3 {
  font-family: var(--font-heading, 'Abel', sans-serif);
  font-size: 1.2rem;
  color: var(--leaf-green, #2E7D5A);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content ul li strong {
  color: var(--ocean-navy, #1D3557);
}

.legal-link {
  color: var(--leaf-green, #2E7D5A);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-link:hover {
  color: var(--ocean-navy, #1D3557);
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list li i {
  color: var(--leaf-green, #2E7D5A);
  width: 20px;
  text-align: center;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */

.faq-page {
  padding: 130px 0 80px;
  background-color: #ffffff;
  min-height: 60vh;
}

.faq-header {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.faq-header p {
  color: var(--charcoal, #1F2933);
  opacity: 0.82;
}

.faq-header a {
  color: var(--leaf-green, #2E7D5A);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.faq-question {
  list-style: none;
  padding: 18px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-weight: 700;
  color: var(--leaf-green, #2E7D5A);
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(46, 125, 90, 0.10);
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--charcoal, #1F2933);
  opacity: 0.82;
}

.faq-answer p {
  margin: 0;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ocean-navy, #1D3557);
  color: #fff;
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-consent-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

.cookie-consent-text a {
  color: var(--sage, #B7D7C1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-text a:hover {
  color: #fff;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-btn-accept {
  background: var(--leaf-green, #2E7D5A);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #246748;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.cookie-btn-customize {
  background: transparent;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.8rem;
  padding: 10px 12px;
}

.cookie-btn-customize:hover {
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-modal {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  color: var(--charcoal, #1F2933);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cookie-modal-header {
  padding: 28px 28px 0;
}

.cookie-modal-header h2 {
  font-family: var(--font-heading, 'Abel', sans-serif);
  font-size: 1.5rem;
  color: var(--ocean-navy, #1D3557);
  margin-bottom: 8px;
}

.cookie-modal-header p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.cookie-modal-body {
  padding: 0 28px;
}

.cookie-category {
  padding: 18px 0;
  border-top: 1px solid #eee;
}

.cookie-category:first-child {
  border-top: none;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cookie-category-header h4 {
  font-size: 0.95rem;
  color: var(--ocean-navy, #1D3557);
}

.cookie-category p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.7;
  margin-bottom: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--leaf-green, #2E7D5A);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-toggle input:disabled + .cookie-toggle-slider::before {
  background: #ddd;
}

.cookie-modal-footer {
  padding: 24px 28px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-modal-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-modal-btn-save {
  background: var(--leaf-green, #2E7D5A);
  color: #fff;
}

.cookie-modal-btn-save:hover {
  background: #246748;
}

.cookie-modal-btn-accept-all {
  background: var(--ocean-navy, #1D3557);
  color: #fff;
}

.cookie-modal-btn-accept-all:hover {
  background: #152a45;
}

/* Cookie floating settings button */
.cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ocean-navy, #1D3557);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-settings-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cookie-settings-btn.visible {
  display: flex;
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */

.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.68);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.booking-overlay.active {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.booking-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 920px;
  height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(10, 25, 47, 0.32);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.booking-overlay.active .booking-modal {
  transform: scale(1) translateY(0);
}

/* Header */
.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 16px;
  border-bottom: 1px solid #f0f2f5;
  flex-shrink: 0;
  background: #fff;
}

.booking-steps-row {
  display: flex;
  align-items: center;
}

.bstep {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bstep-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-main);
  background: #e5e7eb;
  color: #9ca3af;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.bstep-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
  font-family: var(--font-main);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.bstep.active .bstep-num  { background: var(--ocean-navy); color: #fff; }
.bstep.active .bstep-label { color: var(--charcoal); }
.bstep.completed .bstep-num  { background: var(--leaf-green); color: #fff; }
.bstep.completed .bstep-label { color: var(--slate); }

.bstep-line {
  width: 40px;
  height: 1px;
  background: #e5e7eb;
  margin: 0 8px;
  flex-shrink: 0;
}

.booking-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate);
  font-size: 1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.booking-close-btn:hover {
  background: #f5f5f5;
  color: var(--charcoal);
}

/* Body */
.booking-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  background: #fafbfc;
}

.bpanel.hidden { display: none; }

.bpanel-heading {
  margin-bottom: 24px;
}

.bpanel-heading h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--ocean-navy);
  margin-bottom: 6px;
}

.bpanel-heading p {
  color: var(--slate);
  font-size: 0.88rem;
}

/* Counselor grid */
.booking-counselors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bcounselor-card {
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  background: #fff;
}

.bcounselor-card:hover {
  border-color: var(--sky-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.bcounselor-card.selected {
  border-color: var(--ocean-navy);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.15);
}

.bcounselor-photo {
  background: #f5f4ef;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.bcounselor-blob {
  position: absolute;
  width: 80%;
  height: 88%;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 56% 44% 52% 48% / 47% 53% 47% 53%;
  opacity: 0.72;
  animation: lavaA 18s ease-in-out infinite alternate;
}

.bcounselor-photo img {
  width: auto;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  z-index: 1;
}

.bcounselor-info {
  padding: 10px 12px 12px;
}

.bcounselor-accent {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 7px;
}

.bcounselor-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
  font-family: var(--font-main);
  line-height: 1.2;
}

.bcounselor-not-accepting {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 0.58rem;
  font-weight: 600;
  background: #e2e3e5;
  color: #6c757d;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: 0.02em;
}

.bcounselor-creds {
  font-size: 0.7rem;
  color: var(--slate);
  display: block;
  margin-bottom: 8px;
}

.bcounselor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bcounselor-tag {
  font-size: 0.63rem;
  padding: 2px 6px;
  border-radius: 20px;
  background: #eef2f7;
  color: var(--slate);
  font-weight: 600;
  font-family: var(--font-main);
}

.bcounselor-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ocean-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bcounselor-card.selected .bcounselor-check {
  opacity: 1;
  transform: scale(1);
}

/* Counselor banner (step 2) */
.bcounselor-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}

.bcounselor-banner img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.bcounselor-banner-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-family: var(--font-main);
  font-weight: 700;
}

.bcounselor-banner-info span {
  font-size: 0.78rem;
  color: var(--slate);
}

.bcounselor-banner-change {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--sky-blue);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}

.bcounselor-banner-change:hover { color: var(--ocean-navy); }

/* Calendar layout */
.bcal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.bcal-left {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}

.bcal-right {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  min-height: 280px;
}

.bcal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bcal-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  font-family: var(--font-main);
}

.bcal-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.bcal-arrow:hover {
  background: var(--ocean-navy);
  border-color: var(--ocean-navy);
  color: #fff;
}

.bcal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.bcal-weekdays span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cool-gray);
  font-family: var(--font-main);
  padding: 4px 0;
}

.bcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.bcal-day {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.bcal-day:hover:not(:disabled):not(.outside) {
  background: #eef2f7;
}

.bcal-day.today {
  border: 2px solid var(--sky-blue);
  color: var(--ocean-navy);
  font-weight: 700;
}

.bcal-day.selected {
  background: var(--ocean-navy);
  color: #fff;
  font-weight: 700;
}

.bcal-day.selected.today { border-color: var(--sky-blue); }

.bcal-day:disabled,
.bcal-day.outside,
.bcal-day.unavailable {
  color: #d1d5db;
  cursor: default;
  pointer-events: none;
}

/* Time slots */
.btime-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
}

.btime-header i { color: var(--sky-blue); font-size: 0.9rem; }

.btime-header span {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal);
  font-family: var(--font-main);
}

.btime-prompt {
  color: var(--cool-gray);
  font-size: 0.82rem;
  text-align: center;
  padding: 30px 0;
}

.btime-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cool-gray);
  margin: 12px 0 6px;
  font-family: var(--font-main);
}

.btime-group-label:first-child { margin-top: 0; }

.btime-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btime-btn {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 9px 4px;
  font-size: 0.78rem;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btime-btn:hover { border-color: var(--sky-blue); color: var(--ocean-navy); background: #f0f6ff; }

.btime-btn.selected {
  background: var(--ocean-navy);
  border-color: var(--ocean-navy);
  color: #fff;
}

/* Summary bar (step 3) */
.bbooking-summary {
  background: linear-gradient(135deg, var(--ocean-navy), #2a5a8a);
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.bsummary-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-family: var(--font-main);
  font-weight: 600;
}

.bsummary-item i { opacity: 0.65; font-size: 0.78rem; }

.bsummary-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* Form */
.bform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bcontact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.bcontact-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  color: var(--ocean-navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.bcontact-option:hover {
  border-color: var(--leaf-green);
  color: var(--leaf-green);
}

.bcontact-options-step1 {
  margin-bottom: 16px;
}

.bcontact-address {
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding-left: 16px;
}

.bform-row {
  display: flex;
  gap: 16px;
}

.bform-row.two-col { flex-direction: row; }

.bform-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bform-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--font-main);
}

.bform-group .req { color: var(--terracotta); }
.bform-group .optional { color: var(--cool-gray); font-weight: 400; }

.bform-group input,
.bform-group select,
.bform-group textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: var(--font-main);
  color: var(--charcoal);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.bform-group input:focus,
.bform-group select:focus,
.bform-group textarea:focus {
  border-color: var(--ocean-navy);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.1);
}

.bform-group textarea { resize: vertical; min-height: 80px; }

.bcheckbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--slate);
  font-family: var(--font-main);
  line-height: 1.5;
}

.bcheckbox input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--ocean-navy);
  flex-shrink: 0;
  cursor: pointer;
}

.bcheckbox a { color: var(--sky-blue); text-decoration: underline; }

/* Confirmation */
.bconfirm-panel {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 20px;
}

.bconfirm-panel.hidden { display: none !important; }

.bconfirm {
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.bconfirm-logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.bconfirm h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--ocean-navy);
  margin-bottom: 6px;
}

.bconfirm-headline {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-family: var(--font-main);
}

.bconfirm-sub {
  color: var(--slate);
  margin-bottom: 20px;
  line-height: 1.65;
  font-size: 0.86rem;
}

.bconfirm-details {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}

.bconfirm-detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.83rem;
  color: var(--charcoal);
  font-family: var(--font-main);
  border-bottom: 1px solid #f0f2f5;
}

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

.bconfirm-detail-row i {
  color: var(--sky-blue);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.bconfirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ============================================================
   Contact Side Panel
   ============================================================ */

.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.5);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.contact-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -8px 0 48px rgba(10, 25, 47, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3001;
}

.contact-panel.active {
  transform: translateX(0);
}

.contact-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f2f5;
  flex-shrink: 0;
}

.contact-panel-logo {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}

.contact-panel-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.contact-panel-close:hover {
  background: #f5f5f5;
  color: var(--charcoal);
}

.contact-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px;
}

.contact-panel-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--ocean-navy);
  margin-bottom: 8px;
}

.contact-panel-sub {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-info-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

/* ============================================================
   Patient Intake Side Panel
   ============================================================ */

.patient-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.5);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.patient-overlay.active {
  opacity: 1;
  pointer-events: all;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.patient-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 520px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -8px 0 48px rgba(10, 25, 47, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3001;
}

.patient-panel.active {
  transform: translateX(0);
}

.patient-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f2f5;
  flex-shrink: 0;
}

.patient-panel-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.patient-panel-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.patient-panel-close:hover {
  background: #f5f5f5;
  color: var(--charcoal);
}

.patient-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px;
}

.patient-panel-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--ocean-navy);
  margin-bottom: 8px;
}

.patient-panel-sub {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.pf-form.hidden,
.pf-success.hidden,
.pf-counselor-specialties.hidden {
  display: none !important;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ocean-navy);
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.contact-info-item:hover {
  background: #e9ecef;
}

.contact-info-item i {
  font-size: 1.1rem;
  color: #6FA8C8;
  width: 20px;
  text-align: center;
}

.contact-info-item span {
  font-size: 0.92rem;
  font-weight: 500;
}

.cf-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-row.two-col {
  display: flex;
  gap: 12px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.cf-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--font-main);
}

.cf-group .req { color: var(--terracotta); }
.cf-group .optional { color: var(--cool-gray); font-weight: 400; }

.cf-group input,
.cf-group textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.88rem;
  font-family: var(--font-main);
  color: var(--charcoal);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.cf-group input:focus,
.cf-group textarea:focus {
  border-color: var(--ocean-navy);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.08);
}

.cf-group select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.88rem;
  font-family: var(--font-main);
  color: var(--charcoal);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 13px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.cf-group select:focus {
  border-color: var(--ocean-navy);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.08);
}

.cf-group textarea {
  resize: vertical;
  min-height: 100px;
}

.cf-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.cf-form.hidden { display: none; }

.cf-success {
  text-align: center;
  padding: 40px 20px;
}

.cf-success.hidden { display: none; }

.cf-success-icon {
  font-size: 3.5rem;
  color: var(--leaf-green);
  margin-bottom: 16px;
}

.cf-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ocean-navy);
  margin-bottom: 8px;
}

.cf-success p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cf-reset { margin: 0 auto; }

@media (max-width: 768px) {
  .header-inner {
    padding: 0 18px;
    gap: 12px;
  }

  .logo img {
    height: 64px !important;
  }

  .contact-panel { width: 100%; }
  .bconfirm-logo { width: 150px; }

  .nav-links,
  .header-btns {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  header.mobile-nav-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  header.mobile-nav-open .nav-toggle-icon-open {
    display: none;
  }

  header.mobile-nav-open .nav-toggle-icon-close {
    display: inline-block;
  }

  .mobile-nav-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: 0 18px 30px rgba(15, 25, 40, 0.08);
  }

  header.mobile-nav-open .mobile-nav-menu {
    max-height: calc(100vh - 92px);
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav-links {
    display: grid;
    gap: 2px;
    padding: 14px 18px 10px;
  }

  .mobile-nav-links a {
    display: block;
    padding: 14px 12px;
    border-radius: 14px;
    color: var(--charcoal);
    font-weight: 600;
    background: transparent;
  }

  .mobile-nav-links a.active {
    background: rgba(46, 125, 90, 0.1);
    color: var(--leaf-green);
  }

  .mobile-nav-links a:hover {
    background: rgba(29, 53, 87, 0.05);
    color: var(--ocean-navy);
  }

  .mobile-nav-actions {
    display: grid;
    gap: 10px;
    padding: 0 18px 18px;
  }

  .mobile-nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-nav-contact {
    border-top: 1px solid rgba(29, 53, 87, 0.08);
    margin-top: 4px;
    padding-top: 16px;
  }
}

/* Footer */
.booking-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid #f0f2f5;
  flex-shrink: 0;
  background: #fff;
}

.booking-footer .btn { min-width: 130px; }

.booking-footer .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Filter bar */
.bfilter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  user-select: none;
  cursor: grab;
}

.bfilter-bar::-webkit-scrollbar { display: none; }

.bfilter-bar.dragging {
  cursor: grabbing;
}

.bfilter-bar.dragging .bfilter-chip {
  pointer-events: none;
}

.bfilter-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.bfilter-chip:hover {
  border-color: var(--sky-blue);
  color: var(--ocean-navy);
}

.bfilter-chip.active {
  background: var(--ocean-navy);
  border-color: var(--ocean-navy);
  color: #fff;
}

.bno-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 20px;
  color: var(--cool-gray);
  font-size: 0.88rem;
}

.bno-results button {
  color: var(--sky-blue);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font-main);
}

/* Calendar dot */
.bcal-day { position: relative; }

.bcal-dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--leaf-green);
  pointer-events: none;
}

.bcal-day.selected .bcal-dot { background: rgba(255,255,255,0.65); }
.bcal-day.unavailable .bcal-dot,
.bcal-day.outside .bcal-dot { display: none; }

/* Insurance toggle */
.bins-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid #d1d5db;
  border-radius: 9px;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 10px;
}

.bins-tab {
  flex: 1;
  padding: 9px 8px;
  border: none;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.18s ease;
  border-right: 1.5px solid #d1d5db;
}

.bins-tab:last-child { border-right: none; }

.bins-tab:hover { background: #f5f7fa; color: var(--ocean-navy); }

.bins-tab.active {
  background: var(--ocean-navy);
  color: #fff;
}

.bins-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 130px;
  overflow-y: auto;
  padding: 2px 0;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.bins-provider {
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-main);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.bins-provider:hover { border-color: var(--sky-blue); color: var(--ocean-navy); }

.bins-provider.selected {
  background: var(--ocean-navy);
  border-color: var(--ocean-navy);
  color: #fff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .booking-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .booking-modal {
    border-radius: 20px 20px 0 0;
    height: 96vh;
    max-height: 96vh;
    max-width: 100%;
  }

  .booking-header { padding: 14px 18px 12px; }
  .bstep-label { display: none; }
  .bstep-line { width: 22px; margin: 0 4px; }
  .booking-body { padding: 18px; }

  .booking-counselors-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .bcounselor-photo { height: 100px; }

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

  .bform-row.two-col { flex-direction: column; }
  .bcontact-options { grid-template-columns: 1fr; }
  .bcontact-address { justify-content: center; padding-left: 12px; }

  .booking-footer { padding: 12px 18px; }

  .bbooking-summary { gap: 10px; }
  .bsummary-sep { display: none; }

  .bfilter-bar {
    gap: 6px;
    padding-bottom: 12px;
  }

  .bfilter-chip {
    padding: 7px 12px;
    font-size: 0.74rem;
  }
}

@media (max-width: 420px) {
  .bcontact-options { grid-template-columns: 1fr; }
  .booking-counselors-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Counselor Profile Modal
   ============================================================ */

.profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 40, 0.6);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, backdrop-filter 0.35s ease, display 0.35s ease;
}

.profile-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.profile-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 94%;
  max-width: 780px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  margin: auto;
}

/* Prevent horizontal overflow on mobile */
.profile-modal * {
  box-sizing: border-box;
  max-width: 100%;
}

.profile-overlay.active .profile-modal {
  transform: translateY(0) scale(1);
}

.profile-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-close-btn:hover {
  background: #ffffff;
  transform: scale(1.08);
}

.profile-banner {
  position: relative;
  height: 280px;
  background: #f8f7f2;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.profile-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.profile-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;
  will-change: transform, border-radius;
  pointer-events: none;
}

/* Blob 1 — large, top-right area */
.p-blob-1 {
  width: 55%;
  height: 60%;
  top: -15%;
  right: -10%;
  animation: pBlob1 30s ease-in-out infinite alternate;
}

/* Blob 2 — medium, bottom-left */
.p-blob-2 {
  width: 40%;
  height: 45%;
  bottom: -10%;
  left: -8%;
  animation: pBlob2 36s ease-in-out infinite alternate;
}

/* Blob 3 — small, center-left drifting */
.p-blob-3 {
  width: 30%;
  height: 32%;
  top: 30%;
  left: 5%;
  animation: pBlob3 28s ease-in-out infinite alternate;
}

/* Blob 4 — medium, top-left peeking in */
.p-blob-4 {
  width: 35%;
  height: 38%;
  top: -20%;
  left: 30%;
  animation: pBlob4 34s ease-in-out infinite alternate;
}

/* Blob 5 — small, bottom-right */
.p-blob-5 {
  width: 25%;
  height: 28%;
  bottom: -5%;
  right: 15%;
  animation: pBlob5 26s ease-in-out infinite alternate;
}

@keyframes pBlob1 {
  0%   { border-radius: 56% 44% 52% 48% / 47% 53% 47% 53%; transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { border-radius: 42% 58% 60% 40% / 54% 38% 62% 46%; transform: translate(-30px, 20px) rotate(12deg) scale(1.08); }
  66%  { border-radius: 64% 36% 44% 56% / 42% 60% 40% 58%; transform: translate(15px, -15px) rotate(-8deg) scale(0.94); }
  100% { border-radius: 50% 50% 58% 42% / 52% 46% 54% 48%; transform: translate(-20px, 10px) rotate(6deg) scale(1.03); }
}

@keyframes pBlob2 {
  0%   { border-radius: 48% 52% 44% 56% / 55% 43% 57% 45%; transform: translate(0, 0) rotate(0deg) scale(1); }
  40%  { border-radius: 60% 40% 54% 46% / 44% 56% 42% 58%; transform: translate(25px, -18px) rotate(-10deg) scale(1.06); }
  80%  { border-radius: 38% 62% 48% 52% / 58% 42% 60% 40%; transform: translate(-15px, 12px) rotate(8deg) scale(0.92); }
  100% { border-radius: 52% 48% 62% 38% / 46% 54% 44% 56%; transform: translate(20px, -8px) rotate(-6deg) scale(1.04); }
}

@keyframes pBlob3 {
  0%   { border-radius: 52% 48% 62% 38% / 44% 56% 46% 54%; transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { border-radius: 44% 56% 40% 60% / 58% 42% 56% 44%; transform: translate(35px, 25px) rotate(15deg) scale(1.1); }
  100% { border-radius: 60% 40% 50% 50% / 50% 50% 62% 38%; transform: translate(-20px, 30px) rotate(-12deg) scale(0.95); }
}

@keyframes pBlob4 {
  0%   { border-radius: 44% 56% 56% 44% / 52% 48% 54% 46%; transform: translate(0, 0) rotate(0deg) scale(1); }
  45%  { border-radius: 58% 42% 44% 56% / 46% 54% 44% 56%; transform: translate(-25px, 30px) rotate(-14deg) scale(1.07); }
  100% { border-radius: 48% 52% 60% 40% / 56% 44% 50% 50%; transform: translate(10px, 15px) rotate(10deg) scale(0.93); }
}

@keyframes pBlob5 {
  0%   { border-radius: 60% 40% 48% 52% / 46% 54% 52% 48%; transform: translate(0, 0) rotate(0deg) scale(1); }
  35%  { border-radius: 46% 54% 56% 44% / 54% 46% 46% 54%; transform: translate(20px, -22px) rotate(8deg) scale(1.05); }
  70%  { border-radius: 54% 46% 42% 58% / 48% 52% 58% 42%; transform: translate(-18px, 10px) rotate(-10deg) scale(0.96); }
  100% { border-radius: 50% 50% 52% 48% / 44% 56% 48% 52%; transform: translate(12px, -15px) rotate(6deg) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .profile-blob { animation: none; }
}

.profile-banner-img {
  display: block;
  position: relative;
  z-index: 2;
  height: 92%;
  width: auto;
  max-width: 90%;
  max-height: 92%;
  object-fit: contain;
  object-position: bottom;
}

.profile-content {
  padding: 28px 36px 36px;
  overflow-y: auto;
  flex: 1;
}

.profile-content::-webkit-scrollbar {
  width: 6px;
}

.profile-content::-webkit-scrollbar-thumb {
  background: var(--cool-gray);
  border-radius: 3px;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--ocean-navy);
  margin-bottom: 4px;
  line-height: 1.2;
}

.profile-credentials {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-role-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.profile-divider {
  width: 50px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.profile-bio {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
}

.profile-bio p {
  margin-bottom: 12px;
}

.profile-bio p:last-child {
  margin-bottom: 0;
}

.profile-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cool-gray);
  margin-bottom: 10px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.profile-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--warm-cream);
  color: var(--ocean-navy);
  border: 1px solid rgba(29, 53, 87, 0.08);
}

.profile-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.profile-cta .btn {
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .profile-overlay {
    padding: 0;
    align-items: flex-start;
    padding-top: max(0px, env(safe-area-inset-top));
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .profile-modal {
    max-width: 100%;
    width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    height: auto;
    min-height: 100dvh;
    margin: 0;
    overflow: hidden;
  }

  .profile-banner {
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .profile-banner-img {
    height: 88%;
    max-width: 85%;
  }

  .profile-close-btn {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .profile-content {
    padding: 20px 20px 28px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .profile-name {
    font-size: 1.45rem;
    padding-right: 0;
    margin-bottom: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .profile-credentials {
    font-size: 0.85rem;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .profile-role-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }

  .profile-divider {
    width: 40px;
    height: 3px;
    margin-bottom: 14px;
  }

  .profile-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .profile-bio p {
    margin-bottom: 10px;
  }

  .profile-section-label {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .profile-tags {
    gap: 6px;
    margin-bottom: 20px;
  }

  .profile-tag {
    font-size: 0.74rem;
    padding: 4px 12px;
  }

  .profile-cta {
    flex-direction: column;
    align-items: stretch;
    padding-top: 16px;
    gap: 10px;
  }

  .profile-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.86rem;
    padding: 12px 20px;
  }
}

@media (max-width: 420px) {
  .profile-banner {
    height: 180px;
    flex-shrink: 0;
  }

  .profile-banner-img {
    height: 85%;
    max-width: 78%;
  }

  .profile-content {
    padding: 16px 14px 24px;
  }

  .profile-name {
    font-size: 1.25rem;
    padding-right: 0;
  }

  .profile-credentials {
    font-size: 0.82rem;
  }

  .profile-bio {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  .profile-close-btn {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .profile-role-badge {
    font-size: 0.64rem;
    padding: 3px 8px;
  }

  .profile-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .profile-cta .btn {
    font-size: 0.8rem;
    padding: 10px 16px;
  }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 375px) {
  .profile-banner {
    height: 160px;
  }

  .profile-content {
    padding: 14px 12px 20px;
  }

  .profile-name {
    font-size: 1.15rem;
  }

  .profile-credentials {
    font-size: 0.78rem;
  }

  .profile-bio {
    font-size: 0.82rem;
  }

  .profile-tags {
    gap: 5px;
  }

  .profile-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
}

/* ============================================================
   Responsive (page)
   ============================================================ */

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
  padding: 80px 0;
  background-color: #F0F5F1;
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.services-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--leaf-green);
  background: var(--sage);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.services-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--ocean-navy);
  margin-bottom: 14px;
  line-height: 1.15;
}

.services-tagline {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.services-card {
  background: var(--warm-cream);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(183, 215, 193, 0.4);
}

.services-card-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.services-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ocean-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  padding: 10px;
}

.services-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-card-icon.icon-needs {
  background: var(--leaf-green);
}

.services-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--ocean-navy);
  margin-bottom: 6px;
  line-height: 1.2;
}

.services-card-header p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  transition: var(--transition);
}

.tag-intervention {
  background: white;
  color: var(--ocean-navy);
  border: 1px solid rgba(29, 53, 87, 0.12);
}

.tag-intervention:hover {
  background: var(--ocean-navy);
  color: white;
  border-color: var(--ocean-navy);
}

.tag-need {
  background: white;
  color: var(--leaf-green);
  border: 1px solid rgba(46, 125, 90, 0.15);
}

.tag-need:hover {
  background: var(--leaf-green);
  color: white;
  border-color: var(--leaf-green);
}

.services-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(183, 215, 193, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(183, 215, 193, 0.3);
}

.services-disclaimer i {
  color: var(--cool-gray);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.services-disclaimer p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .counselors-grid { grid-template-columns: repeat(2, 1fr); }
  .counselor-card { flex-basis: calc(50% - 24px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner, .mission-inner, .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p, .hero-btns { margin-left: auto; margin-right: auto; justify-content: center; }

  /* Mission Section Mobile */
  .mission {
    padding: 60px 0;
    overflow: hidden;
  }
  .mission-inner {
    gap: 40px;
    max-width: 100%;
  }
  .mission-content h2 {
    font-size: 1.8rem;
  }
  .mission-content p {
    font-size: 0.95rem;
  }
  .mission-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    margin: 20px 0;
  }
  .mission-icon-item {
    font-size: 0.82rem;
  }
  .mission-content .btn {
    display: inline-block;
  }
  .mission-image {
    max-width: 100%;
  }
  .mission-image img {
    border-radius: 24px;
    max-height: 280px;
    object-fit: cover;
    width: 100%;
  }

  .nav-links { display: none; }
  .header-btns .btn-outline { display: none; }
  .header-btns .btn-primary { padding: 8px 16px; font-size: 13px; }
  .features-grid { grid-template-columns: 1fr; }
  .counselors-grid { grid-template-columns: 1fr; }
  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .counselor-card { flex-basis: calc(100% - 24px); }

  /* CTA Section Mobile */
  .cta-container {
    height: auto;
    min-height: auto;
    background-image: none;
  }
  .cta-blue-wave {
    position: relative;
    width: 100%;
    clip-path: none;
    padding: 50px 20px;
  }
  .cta-content-inner {
    flex-direction: column;
    gap: 30px;
  }
  .cta-text-side h2 {
    font-size: 1.8rem;
  }
  .cta-text-side p {
    font-size: 1rem;
  }
  .cta-divider {
    display: none;
  }
  .cta-actions-side {
    width: 100%;
  }
  .cta-item {
    gap: 16px;
  }
  .cta-icon-box {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  .cta-info .value {
    font-size: 1.2rem;
  }
  .cta-circle-orange,
  .cta-circle-blue {
    display: none;
  }

  /* Services Section Mobile */
  .services-section {
    padding: 60px 0;
  }
  .services-header h2 {
    font-size: 1.9rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-card {
    padding: 28px;
  }
  .services-disclaimer {
    padding: 16px 18px;
  }

  /* Footer Mobile */
  footer {
    padding: 50px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-about {
    text-align: center;
  }
  .footer-about .logo {
    display: inline-block;
  }
  .footer-about .logo img {
    min-height: 120px;
    max-height: 150px;
  }
  .footer-about p {
    max-width: 100%;
    margin: 0 auto;
  }
  .footer-links {
    text-align: center;
  }
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  .footer-links ul li {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Legal Pages Mobile */
  .legal-page {
    padding: 80px 0 60px;
  }
  .legal-header h1 {
    font-size: 1.8rem;
  }
  .legal-content h2 {
    font-size: 1.3rem;
  }

  /* Cookie Consent Mobile */
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 16px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  .cookie-modal {
    width: 95%;
    max-height: 90vh;
    border-radius: 12px;
  }
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cookie-modal-footer {
    flex-direction: column;
  }
  .cookie-modal-btn {
    width: 100%;
    text-align: center;
  }
}
