/* =============================================================
   NEORA Clinic — Mellow-Inspired Design System
   Fonts:    Cormorant Upright (headings) + Sora (body)
   Primary:  #F7941D   Teal: #00A896   Cream: #F9F6F3
   ============================================================= */

/* ---- 1. VARIABLES ---- */
:root {
  --primary-color:   #df5589;    /* Pink — main brand colour */
  --green-color:     #a1c44a;    /* Green — secondary accent */
  --secondary-color: #fdf4f8;    /* Soft pink-tinted cream */
  --teal-color:      #00A896;
  --black-color:     #1A1A1A;
  --dark-color:      #353535;
  --gray-color:      #777F81;
  --light-color:     #fdfdfd;
  --dark-navy:       #1A1A2E;

  /* Bootstrap compat overrides */
  --bs-primary-rgb:    223, 85, 137;
  --bs-secondary-rgb:  253, 244, 248;
  --bs-body-color-rgb: 53, 53, 53;
  --bs-gray-100: #f5e8ef;
  --bs-gray-300: #e8d0dd;

  --heading-font: "Cormorant Upright", serif;
  --body-font:    "Sora", sans-serif;
}

/* ---- 2. RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { box-sizing: border-box; scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: var(--dark-color);
  margin: 0;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 400;
  color: var(--black-color);
  text-transform: capitalize;
}

/* Bootstrap display utilities — force heading font */
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
  font-family: var(--heading-font) !important;
  font-weight: 400 !important;
}

p { color: var(--dark-color); }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s, background 0.3s, opacity 0.3s;
}
a:hover { color: var(--primary-color); }

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

/* ---- UTILITIES ---- */
.nd-accent    { color: var(--primary-color); }
.hidden       { display: none !important; }
.nd-sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.text-primary  { color: var(--primary-color) !important; }
.text-black    { color: var(--black-color) !important; }
.text-light    { color: var(--light-color) !important; }
.bg-light      { background-color: var(--light-color) !important; }
.bg-primary    { background-color: var(--primary-color) !important; }
.bg-secondary  { background-color: var(--secondary-color) !important; }
.bg-gray       { background-color: var(--bs-gray-100) !important; }

/* Section paddings (Mellow-style) */
.padding-small  { padding-top: 5em;  padding-bottom: 5em;  }
.padding-medium { padding-top: 8em;  padding-bottom: 8em;  }
.padding-large  { padding-top: 8em;  padding-bottom: 8em;  }

.padding-side   { padding-left: 6rem; padding-right: 6rem; }

@media (max-width: 1400px) { .padding-side { padding-left: 5rem; padding-right: 5rem; } }
@media (max-width: 1200px) { .padding-side { padding-left: 4rem; padding-right: 4rem; } }
@media (max-width: 992px)  { .padding-side { padding-left: 3rem; padding-right: 3rem; } }
@media (max-width: 768px)  {
  .padding-side   { padding-left: 2rem; padding-right: 2rem; }
  .padding-large  { padding-top: 6em; padding-bottom: 6em; }
}
@media (max-width: 576px)  { .padding-side { padding-left: 1.25rem; padding-right: 1.25rem; } }

/* Animation */
@keyframes slide {
  0%   { transform: translateY(1rem); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
.animate { animation-duration: .3s; animation-fill-mode: both; }
.slide   { animation-name: slide; }

/* ---- 3. PRELOADER ---- */
.preloader {
  width: 100%; height: 100vh;
  position: fixed; top: 0; left: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.loader {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  position: relative;
}
.loader::before {
  content: "";
  position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--green-color);
  animation: spin 2s linear infinite;
}
.loader::after {
  content: "";
  position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #f5b8d3;
  animation: spin 1.4s linear infinite;
}
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---- 4. BUTTONS ---- */
.btn {
  --bs-btn-padding-x: 2.4rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  font-family: var(--body-font);
  text-transform: capitalize;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
}

.btn-primary {
  --bs-btn-color:              var(--dark-color);
  --bs-btn-bg:                 var(--secondary-color);
  --bs-btn-border-color:       var(--secondary-color);
  --bs-btn-hover-color:        var(--dark-color);
  --bs-btn-hover-bg:           var(--secondary-color);
  --bs-btn-hover-border-color: var(--secondary-color);
  --bs-btn-active-color:       var(--dark-color);
  --bs-btn-active-bg:          var(--secondary-color);
}

.btn-arrow {
  position: relative;
  transition: background-color 300ms ease-out;
}
.btn-arrow span {
  display: inline-block;
  position: relative;
  transition: all 300ms ease-out;
  will-change: transform;
}
.btn-arrow:hover span { transform: translate3d(-0.7rem, 0, 0); }
.btn-arrow svg {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 300ms ease-out;
}
.btn-arrow:hover svg { opacity: 1; right: -1.6rem; }

/* nd-btn (compat) */
.nd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px;
  border-radius: 10px;
  font-family: var(--body-font);
  font-weight: 600; font-size: .92rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.nd-btn-orange {
  background: var(--primary-color);
  color: #fff;
}
.nd-btn-orange:hover {
  background: #c93d75; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(223,85,137,.38);
}

/* hero CTA button (btn-primary / btn-arrow in hero) */
.hero-overlay-inner .btn {
  padding: 12px 28px;
  font-size: .9rem;
  pointer-events: all;
}

/* pill nav btn */
.nd-btn-pill-nav {
  background: var(--primary-color); color: #fff;
  padding: 10px 24px; border-radius: 50px;
  font-family: var(--body-font); font-weight: 700; font-size: .88rem;
  text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s;
  white-space: nowrap;
}
.nd-btn-pill-nav:hover {
  background: #c93d75; color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(223,85,137,.38);
}

/* =============================================================
   5. HEADER / NAVBAR
   ============================================================= */
#header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 999;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

/* Top info bar */
.header-top {
  background-color: var(--secondary-color) !important;
  border-bottom: 1px solid rgba(209,104,6,.12);
  font-family: var(--body-font);
}
.header-top .info li, .header-top .info a { color: var(--dark-color); font-size: 13px; }
svg.color   { color: var(--primary-color); }
svg.social  { color: var(--primary-color); transition: color .2s; }
svg.social:hover { color: var(--green-color); }

/* Primary nav */
#primary-header { border-bottom: none; }

.navbar-brand img.logo { height: 56px; width: auto; }

a.nav-link {
  font-family: var(--body-font);
  font-size: .9rem; font-weight: 600;
  text-transform: capitalize;
  color: var(--dark-color);
  position: relative; padding-bottom: 4px !important;
  transition: color .2s;
}
a.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--green-color));
  transition: width .3s;
}
a.nav-link:focus { color: var(--dark-color); }
a.nav-link.active, a.nav-link:hover {
  color: var(--primary-color) !important; outline: none;
}
a.nav-link.active::after, a.nav-link:hover::after { width: 100%; }

/* Dropdown */
.dropdown-item { color: var(--dark-color); text-transform: capitalize; }
.dropdown-item.active, .dropdown-item:hover, .dropdown-item:active {
  color: var(--dark-color); background-color: var(--secondary-color);
}

/* Search */
.search .form-control { font-family: var(--body-font); font-size: .88rem; }
.form-control:focus, .form-select:focus {
  border-color: var(--dark-color); outline: 0; box-shadow: none;
}

/* Navbar icon (hamburger svg) */
svg.navbar-icon { color: var(--dark-color); }

/* offcanvas — already Bootstrap, just theming */
.offcanvas-header .btn-close { filter: none; }
@media (max-width: 999px) {
  a.nav-link { font-size: 20px; padding: 10px 0 10px 0 !important; }
}

/* =============================================================
   6. HERO — Full-width Swiper Carousel
   ============================================================= */
#hero-section { background: var(--dark-color); }

.hero-swiper-wrap {
  position: relative;
  height: 88vh; min-height: 560px;
  overflow: hidden;
}

.hero-swiper {
  width: 100%; height: 100%;
}
.hero-swiper .swiper-slide {
  position: relative; overflow: hidden;
}
.hero-swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
/* Dark overlay per slide */
.hero-swiper .swiper-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(26,26,30,.52) 0%,
    rgba(26,26,30,.28) 55%,
    rgba(26,26,30,.08) 100%
  );
  pointer-events: none;
}

/* Text overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center;
  pointer-events: none;
}
.hero-overlay-inner {
  pointer-events: none;   /* let swiper arrows receive clicks through this div */
  max-width: 52%; padding: 0 0 0 7%;
}
/* Re-enable clicks only on actual interactive children */
.hero-overlay-inner .hero-eyebrow,
.hero-overlay-inner .hero-title,
.hero-overlay-inner .hero-sub,
.hero-overlay-inner .btn,
.hero-overlay-inner a {
  pointer-events: all;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--green-color);
  margin-bottom: 18px; font-family: var(--body-font);
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--green-color); flex-shrink: 0;
}
.hero-title {
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400; line-height: 1.12; color: #fff;
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.85);
  line-height: 1.75; max-width: 420px; margin-bottom: 38px;
  font-family: var(--body-font);
}

/* Book Session card (right panel) */
.hero-form-panel {
  position: absolute; top: 50%; right: 7%;
  transform: translateY(-50%);
  z-index: 10; width: 340px;
}
.hero-form-card {
  background: #fff; border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hero-form-card h3 {
  font-family: var(--heading-font);
  font-size: 2rem; font-weight: 400;
  margin: 0 0 24px; color: var(--black-color);
}
.hero-form-label {
  display: block; font-family: var(--body-font);
  font-size: .7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-color); margin-bottom: 6px;
}
.hero-form-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e0e0e0; border-radius: 8px;
  font-family: var(--body-font); font-size: .9rem; color: #333;
  background: #fafafa; outline: none; transition: border-color .2s;
  margin-bottom: 14px;
}
.hero-form-input:focus { border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px rgba(223,85,137,.12); }

/* Swiper pagination & arrows for hero */
.hero-swiper .swiper-pagination { bottom: 28px; }
.hero-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px; background: rgba(255,255,255,.5); opacity: 1;
  transition: all .35s;
}
.hero-swiper .swiper-pagination-bullet-active {
  width: 30px; border-radius: 5px; background: var(--primary-color);
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); color: #fff;
  transition: background .2s;
  z-index: 20 !important; /* above hero-overlay */
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 14px; font-weight: 700; color: #fff; }
.hero-swiper .swiper-button-next:hover {
  background: var(--primary-color); border-color: var(--primary-color);
}
.hero-swiper .swiper-button-prev:hover {
  background: var(--green-color); border-color: var(--green-color);
}

/* =============================================================
   7. SECTION WRAPPER
   ============================================================= */
.nd-section { padding: 90px 0; }
/* Reduce gap between hero and the first (about) section */
#about.nd-section { padding-top: 52px; }
.nd-section-inner { padding: 0; }
.nd-bg-white { background: #fff; }
.nd-bg-gray  { background: var(--secondary-color); }
.nd-bg-navy  { background: var(--dark-navy); }
.nd-bg-navy .nd-section-title { color: #fff; }
.nd-bg-navy .nd-section-text  { color: rgba(255,255,255,.72); }

/* Padded heading group — responsive via CSS, no inline style needed */
.nd-heading-padded { padding: 0 6rem; }
@media (max-width: 1200px) { .nd-heading-padded { padding: 0 4rem; } }
@media (max-width: 992px)  { .nd-heading-padded { padding: 0 3rem; } }
@media (max-width: 768px)  { .nd-heading-padded { padding: 0 2rem; } }
@media (max-width: 640px)  { .nd-heading-padded { padding: 0 1.25rem; } }
@media (max-width: 480px)  { .nd-heading-padded { padding: 0 1rem; } }
@media (max-width: 375px)  { .nd-heading-padded { padding: 0 .75rem; } }

/* Section labels / headings */
.nd-section-label {
  display: inline-block;
  font-family: var(--body-font);
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary-color); margin-bottom: 12px;
}
.nd-section-title {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400;
  color: var(--black-color); line-height: 1.2; margin: 0 0 16px;
}
.nd-section-text {
  font-family: var(--body-font);
  font-size: 1rem; color: #666; line-height: 1.78;
  max-width: 640px; margin-bottom: 32px;
}
.nd-heading-group { margin-bottom: 50px; }
.nd-heading-group--center { text-align: center; }
.nd-heading-group--center .nd-section-text { margin-left: auto; margin-right: auto; }

/* =============================================================
   8. ABOUT / TWO-COLUMN SECTIONS
   ============================================================= */
.nd-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 0 6rem;
}

.nd-img-card {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 22px 64px rgba(0,0,0,.12);
}
.nd-img-card img { width: 100%; height: 460px; object-fit: cover; display: block; }

.nd-director-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0,0,0,.20),
    0 0 0 4px rgba(223,85,137,.18),      /* pink glow ring */
    0 0 0 8px rgba(161,196,74,.10);      /* green outer ring */
  height: 560px;
  background: var(--secondary-color);   /* fallback while image loads */
}
.nd-director-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;          /* show face / upper body */
  display: block;
  transition: transform .6s ease;
}
.nd-director-card:hover img {
  transform: scale(1.03);
}
.nd-director-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,46,.95) 0%,
    rgba(26,26,46,.55) 50%,
    transparent 80%
  );
  padding: 32px 26px 24px;
}
.nd-director-card-name {
  font-family: var(--heading-font); font-size: 1.6rem; font-weight: 400;
  color: #fff; margin-bottom: 4px;
}
.nd-director-card-title {
  font-size: .82rem; color: var(--green-color);
  font-weight: 600; letter-spacing: .5px;
}
/* Decorative coloured bar at top of director card */
.nd-director-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--green-color) 100%);
}

.nd-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.nd-badge {
  background: #fde8f1; color: var(--primary-color);
  border: 1px solid #f5b8d3; padding: 7px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 700; font-family: var(--body-font);
}

/* =============================================================
   9. GALLERY SECTION
   ============================================================= */
.nd-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; padding: 0 6rem;
}
.nd-gallery-card {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  cursor: pointer; transition: transform .3s, box-shadow .3s;
  aspect-ratio: 1; position: relative;
}
.nd-gallery-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
.nd-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nd-gallery-card:hover img { transform: scale(1.06); }
.nd-gallery-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(161,196,74,.55), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.nd-gallery-card:hover .nd-gallery-card-overlay { opacity: 1; }

/* Swiper gallery (existing gallery page compat) */
.main-slider-button-next.swiper-button-disabled,
.main-slider-button-prev.swiper-button-disabled { opacity: .35; cursor: auto; pointer-events: none; }

/* =============================================================
   10. SERVICES — Feature Strip
   ============================================================= */
.nd-feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 6rem; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}
.nd-feature-col { padding: 52px 32px; position: relative; overflow: hidden; }
.nd-feature-col--teal   { background: var(--primary-color); }       /* Pink */
.nd-feature-col--yellow { background: var(--green-color); }          /* Green */
.nd-feature-col--red    { background: #c93d75; }                     /* Deep pink */
.nd-feature-col--navy   { background: #2C2C3E; }                     /* Dark charcoal */
.nd-feature-col::before {
  content: ''; position: absolute;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  bottom: -40px; right: -40px; pointer-events: none;
}
.nd-feature-icon { width: 52px; height: 52px; color: #fff; margin-bottom: 20px; opacity: .95; }
.nd-feature-h3 {
  font-family: var(--heading-font); font-size: 1.35rem; font-weight: 400;
  color: #fff; margin: 0 0 12px;
}
.nd-feature-text { font-size: .845rem; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 22px; }
.nd-feature-link {
  display: inline-block; color: #fff;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; text-decoration: underline; text-underline-offset: 4px;
  opacity: .88; transition: opacity .2s;
}
.nd-feature-link:hover { opacity: 1; color: #fff; }

/* =============================================================
   11. STEPS — How Sessions Work
   ============================================================= */
.nd-steps-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; padding: 0 6rem;
}
.nd-step-card {
  background: #fff; border-radius: 16px; padding: 28px 28px 28px 24px;
  display: flex; gap: 20px; align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); border: 1px solid #f0f0f0;
  transition: transform .3s, box-shadow .3s;
}
.nd-step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.nd-step-badge {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary-color); color: #fff;
  font-family: var(--heading-font); font-size: 1.5rem; font-weight: 400;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(223,85,137,.38);
}
/* Alternate green step badge for even-numbered cards */
.nd-step-card:nth-child(even) .nd-step-badge {
  background: var(--green-color);
  box-shadow: 0 4px 14px rgba(161,196,74,.4);
}
.nd-step-title {
  font-family: var(--heading-font); font-size: 1.2rem; font-weight: 400;
  color: var(--black-color); margin-bottom: 6px;
}
.nd-step-text { font-size: .875rem; color: #777; line-height: 1.65; }

/* =============================================================
   12. REVIEWS — Testimonial Cards
   ============================================================= */
.nd-reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 22px; padding: 0 6rem;
}
.nd-review-card {
  background: #fff; border-radius: 14px; padding: 26px;
  border: 1px solid #f0f0f0; box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.nd-review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }

.nd-review-author { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.nd-review-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.nd-review-avatar img,
.nd-review-avatar div {
  width: 100%; height: 100%; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff;
}
.nd-review-name { font-family: var(--heading-font); font-size: 1.1rem; font-weight: 400; color: var(--black-color); }
.nd-review-loc  { font-size: .8rem; color: #aaa; margin-top: 2px; }
.nd-review-text { font-size: .88rem; color: #666; line-height: 1.72; font-style: italic; }

/* Write-review toggle — original outline style (kept for compat) */
.nd-write-review-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: transparent;
  border: 2px solid var(--green-color); border-radius: 10px;
  color: var(--green-color); font-family: var(--body-font);
  font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.nd-write-review-btn:hover { background: var(--green-color); color: #fff; }

/* Write-review — bold gradient pill (used on home page) */
.nd-write-review-styled {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #c03674 100%);
  border: none; border-radius: 100px;
  color: #fff; font-family: var(--body-font);
  font-size: .92rem; font-weight: 700; letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(223,85,137,.35);
  transition: transform .2s, box-shadow .2s;
}
.nd-write-review-styled:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(223,85,137,.45);
}
.nd-write-review-styled:active { transform: scale(.97); }

/* Review text — 2-line clamp */
.nd-review-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nd-read-more-link {
  display: inline-block; margin-top: 8px;
  font-size: .75rem; font-weight: 700;
  color: var(--primary-color); cursor: pointer;
  letter-spacing: .2px;
}
/* Clickable review card pointer */
.nd-review-clickable { cursor: pointer; }

/* Review full-text popup */
.nd-review-popup {
  display: none;
  position: fixed; inset: 0; z-index: 1060;
  background: rgba(10,10,20,.72);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.nd-review-popup.open { display: flex; }
.nd-review-popup-inner {
  background: #fff; border-radius: 20px;
  padding: 36px 32px; max-width: 520px; width: 92%;
  max-height: 88vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 72px rgba(0,0,0,.22);
  animation: ndPopIn .32s cubic-bezier(.34,1.56,.64,1);
}
@keyframes ndPopIn {
  from { opacity: 0; transform: scale(.88) translateY(14px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.nd-review-popup-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 1.6rem;
  line-height: 1; color: #aaa; cursor: pointer;
  transition: color .2s;
}
.nd-review-popup-close:hover { color: var(--primary-color); }
.nd-popup-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
}
.nd-popup-avatar img,
.nd-popup-avatar div {
  width: 100%; height: 100%; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem; color: #fff;
}

/* Mobile booking form (shown after about button on phones) */
.nd-mobile-book-wrap {
  display: none; /* hidden by default; CSS shows on mobile */
  margin-top: 28px;
  background: #fff8fb;
  border: 1.5px solid rgba(223,85,137,.18);
  border-radius: 16px; padding: 22px 20px;
}
.nd-mobile-book-title {
  font-family: var(--heading-font); font-size: 1.5rem;
  font-weight: 400; color: var(--black-color);
  margin: 0 0 18px;
}
@media (max-width: 992px) {
  .nd-mobile-book-wrap { display: block; }
}

/* Hide the home-page contact cards on small screens */
@media (max-width: 767px) {
  .nd-contact-home-hide { display: none !important; }
}

/* Review form */
.nd-review-form-wrap {
  background: #fff; border-radius: 16px; border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); overflow: hidden;
}
.nd-form-inner  { padding: 32px; }
.nd-form-label  { display: block; font-size: .85rem; font-weight: 600; color: #444; margin-bottom: 8px; font-family: var(--body-font); }
.nd-form-input,
.nd-form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e0e0e0; border-radius: 10px;
  font-family: var(--body-font); font-size: .92rem; color: #333;
  background: #fafafa; transition: border-color .2s, box-shadow .2s; outline: none;
}
.nd-form-input:focus, .nd-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(223,85,137,.15); background: #fff;
}
.nd-form-textarea { resize: none; }

/* =============================================================
   13. CONTACT CARDS
   ============================================================= */
.nd-contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 0 6rem;
}
.nd-contact-card {
  background: #fff; border-radius: 14px; padding: 38px 26px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); border: 1px solid #f0f0f0;
  transition: transform .3s, box-shadow .3s;
}
.nd-contact-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.11); }
.nd-contact-icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: #fde8f1; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px; color: var(--primary-color);
}
.nd-contact-card:nth-child(2) .nd-contact-icon-wrap {
  background: #f0f7e0; color: var(--green-color);
}
.nd-contact-title { font-family: var(--heading-font); font-size: 1.4rem; font-weight: 400; color: var(--black-color); margin-bottom: 8px; }
.nd-contact-info  { font-size: .9rem; color: #777; }
.nd-contact-info a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.nd-contact-info a:hover { text-decoration: underline; }

/* =============================================================
   14. FOOTER
   ============================================================= */
#footer-section {
  background: var(--black-color); color: #fff;
  padding: 80px 6rem 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px; padding-bottom: 56px;
}
.footer-brand-logo { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand-desc { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.75; margin-bottom: 22px; }

.footer-social      { display: flex; gap: 10px; }
.footer-social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: background .2s, transform .2s;
}
.footer-social-link:hover { background: var(--primary-color); transform: translateY(-2px); color: #fff; }
.footer-social-link:nth-child(odd):hover { background: var(--green-color); }

.footer-col-title {
  font-family: var(--heading-font); font-size: 1.5rem; font-weight: 400;
  margin-bottom: 20px; color: #fff;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary-color); }
.footer-links li:nth-child(even) a:hover { color: var(--green-color); }

.footer-hours { list-style: none; padding: 0; margin: 0 0 24px; }
.footer-hours li {
  display: flex; justify-content: space-between;
  font-size: .855rem; color: rgba(255,255,255,.62); margin-bottom: 10px; gap: 8px;
}
.footer-hours li span:last-child { color: #fff; font-weight: 600; }

.footer-info-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
.footer-info-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-info-item span { color: rgba(255,255,255,.62); font-size: .875rem; line-height: 1.5; }
.footer-info-item a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-info-item a:hover { color: var(--primary-color); }

/* Newsletter input */
.footer-newsletter-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  background: rgba(255,255,255,.08); color: #fff;
  font-family: var(--body-font); font-size: .9rem;
  outline: none; transition: border-color .2s; margin-bottom: 12px;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-input:focus { border-color: var(--green-color); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; margin-top: 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--primary-color); }

/* Swiper room pagination (compat) */
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 5px; }

/* =============================================================
   15. RESPONSIVE — comprehensive mobile-first overrides
   ============================================================= */

/* ── 1200px: tablets / small desktops ─────────────────── */
@media (max-width: 1200px) {
  .nd-feature-strip { grid-template-columns: repeat(2, 1fr); }
  .nd-cards-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nd-two-col       { gap: 44px; }
}

/* ── 992px: tablets / landscape phones ────────────────── */
@media (max-width: 992px) {
  .nd-two-col        { grid-template-columns: 1fr; gap: 36px; padding: 0 3rem; }
  .nd-cards-grid     { padding: 0 3rem; }
  .nd-steps-grid     { padding: 0 3rem; }
  .nd-reviews-grid   { padding: 0 3rem; }
  .nd-contact-grid   { padding: 0 3rem; }
  .nd-feature-strip  { margin: 0 3rem; }
  .nd-img-card img   { height: 300px; }
  .nd-director-card  { height: 420px; }
  #footer-section    { padding: 60px 3rem 0; }
  .footer-bottom     { padding: 24px 0; }

  /* hero */
  .hero-form-panel    { display: none; }
  .hero-overlay-inner { max-width: 80%; padding: 0 0 0 5%; }
  .hero-swiper-wrap   { height: 75vh; min-height: 480px; }

  /* page hero (inner pages) */
  .nd-page-hero       { height: 300px; }
}

/* ── 768px: most phones (landscape) + small tablets ───── */
@media (max-width: 768px) {
  /* Layout */
  .nd-two-col        { padding: 0 2rem; gap: 30px; }
  .nd-cards-grid     { grid-template-columns: repeat(2, 1fr); padding: 0 2rem; }
  .nd-steps-grid     { grid-template-columns: 1fr; padding: 0 2rem; }
  .nd-reviews-grid   { grid-template-columns: 1fr; padding: 0 2rem; }
  .nd-contact-grid   { grid-template-columns: 1fr; padding: 0 2rem; }
  .nd-feature-strip  { margin: 0 2rem; grid-template-columns: repeat(2, 1fr); }
  .nd-section        { padding: 60px 0; }

  /* Override inline padding:0 6rem on nd-heading-group */
  .nd-heading-group  { padding-left: 2rem !important; padding-right: 2rem !important; }

  /* Footer */
  #footer-section    { padding: 48px 2rem 0; }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }

  /* Hero */
  .hero-swiper-wrap   { height: 65vh; min-height: 440px; }
  .hero-overlay-inner { max-width: 90%; padding: 0 0 0 4%; }
  .hero-title         { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
  .hero-sub           { font-size: .92rem; margin-bottom: 26px; max-width: 360px; }

  /* Director card */
  .nd-director-card   { height: 340px; }

  /* Page hero (inner pages) */
  .nd-page-hero         { height: 260px; }
  .nd-page-hero-title   { font-size: clamp(1.7rem, 5vw, 2.6rem); }
  .nd-page-hero-content { padding-bottom: 36px; }
}

/* ── 640px: most phones (portrait) ────────────────────── */
@media (max-width: 640px) {
  /* Layout */
  .nd-feature-strip  { grid-template-columns: 1fr; margin: 0 1.25rem; }
  .nd-cards-grid     { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; }
  .nd-two-col        { padding: 0 1.25rem; gap: 24px; }
  .nd-steps-grid     { padding: 0 1.25rem; }
  .nd-reviews-grid   { padding: 0 1.25rem; }
  .nd-contact-grid   { padding: 0 1.25rem; }
  .nd-section        { padding: 52px 0; }

  /* Override inline padding on nd-heading-group */
  .nd-heading-group  { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }

  /* Section titles */
  .nd-section-title  { font-size: clamp(1.8rem, 6vw, 2.6rem); }

  /* Footer */
  #footer-section    { padding: 40px 1.25rem 0; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .footer-legal      { justify-content: center; }

  /* Hero */
  .hero-swiper-wrap   { height: 58vh; min-height: 400px; }
  .hero-overlay-inner { max-width: 100%; padding: 0 1.25rem; }
  .hero-title         { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .hero-sub           { font-size: .86rem; margin-bottom: 22px; display: block; max-width: 100%; }
  .hero-eyebrow       { font-size: .64rem; letter-spacing: 2px; margin-bottom: 12px; }

  /* Hide swiper nav arrows on small screens */
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev { display: none !important; }

  /* Image card */
  .nd-img-card img   { height: 240px; }
  /* Director card */
  .nd-director-card  { height: 300px; }
  .nd-director-card-name { font-size: 1.3rem; }

  /* Step cards */
  .nd-step-card      { padding: 20px 18px; gap: 14px; }
  .nd-step-badge     { width: 42px; height: 42px; font-size: 1.25rem; }

  /* Review cards */
  .nd-review-card    { padding: 20px; }

  /* Contact cards */
  .nd-contact-card   { padding: 28px 20px; }

  /* Page hero */
  .nd-page-hero         { height: 230px; }
  .nd-page-hero-title   { font-size: 1.8rem; }
  .nd-page-hero-content { padding-bottom: 28px; }
  .nd-page-hero-sub     { font-size: .82rem; }
  .nd-breadcrumb        { display: none; }
}

/* ── 480px: small phones ───────────────────────────────── */
@media (max-width: 480px) {
  /* Layout */
  .nd-cards-grid     { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 1rem; }
  .nd-two-col        { padding: 0 1rem; }
  .nd-steps-grid     { padding: 0 1rem; }
  .nd-reviews-grid   { padding: 0 1rem; }
  .nd-contact-grid   { padding: 0 1rem; }
  .nd-feature-strip  { margin: 0 1rem; }
  .nd-section        { padding: 44px 0; }

  /* Override inline padding */
  .nd-heading-group  { padding-left: 1rem !important; padding-right: 1rem !important; }

  /* Typography */
  .nd-section-title  { font-size: 1.75rem; }
  .nd-section-text   { font-size: .88rem; }

  /* Footer */
  #footer-section    { padding: 36px 1rem 0; }
  .footer-col-title  { font-size: 1.25rem; }
  .footer-brand-desc { font-size: .82rem; }

  /* Hero */
  .hero-swiper-wrap   { height: 52vh; min-height: 360px; }
  .hero-title         { font-size: 1.6rem; line-height: 1.2; }
  .hero-sub           { font-size: .8rem; margin-bottom: 18px; max-width: 90%; }
  .hero-eyebrow       { margin-bottom: 10px; font-size: .6rem; }
  .hero-eyebrow::before { width: 18px; }
  .nd-btn             { padding: 11px 24px; font-size: .84rem; }

  /* Image / director */
  .nd-img-card img   { height: 200px; }
  .nd-director-card  { height: 280px; }

  /* Review form */
  .nd-form-inner     { padding: 20px; }

  /* Page hero */
  .nd-page-hero         { height: 200px; }
  .nd-page-hero-title   { font-size: 1.6rem; }
  .nd-page-hero-content { padding-bottom: 22px; }
  .nd-page-hero-eyebrow { display: none; }
  .nd-page-hero-sub     { display: none; }

  /* Navbar: hide address text on xs, keep phone */
  .header-top .info li:first-child { display: none !important; }
  /* Make logo a little smaller */
  .navbar-brand img.logo { height: 44px; }
}

/* ── Careers: step-indicator labels on very small screens ─ */
@media (max-width: 480px) {
  .nd-step-label       { font-size: .6rem; }
  .nd-step-connector   { min-width: 10px; max-width: 28px; }
  .nd-step-dot         { width: 30px; height: 30px; font-size: .72rem; }
  .nd-career-form-wrap { padding: 24px 16px !important; }
  .nd-form-row-2,
  .nd-form-row-3       { grid-template-columns: 1fr !important; }
  .nd-step-nav         { flex-wrap: wrap; gap: 10px; }
  .nd-btn-next,
  .nd-btn-submit       { width: 100%; justify-content: center; }
  .nd-btn-prev         { width: 100%; text-align: center; }
}

/* ── Contact: form+hours grid ─────────────────────────── */
@media (max-width: 767px) {
  .nd-contact-form-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
}

/* ── nd-btn full-width on very small ──────────────────── */
@media (max-width: 360px) {
  .nd-btn { width: 100%; justify-content: center; }
}

/* ── 375px: very small phones (iPhone SE etc) ──────────── */
@media (max-width: 375px) {
  .nd-section        { padding: 38px 0; }
  .nd-heading-group  { padding-left: .75rem !important; padding-right: .75rem !important; }
  .nd-section-title  { font-size: 1.6rem; }
  .nd-two-col        { padding: 0 .75rem; }
  .nd-steps-grid, .nd-reviews-grid,
  .nd-contact-grid   { padding: 0 .75rem; }
  .nd-feature-strip  { margin: 0 .75rem; }
  .nd-cards-grid     { padding: 0 .75rem; }
  #footer-section    { padding: 30px .75rem 0; }

  .hero-swiper-wrap  { height: 48vh; min-height: 320px; }
  .hero-title        { font-size: 1.45rem; }
  .hero-sub          { display: none; }
  .nd-btn            { padding: 10px 18px; font-size: .82rem; }

  .nd-page-hero      { height: 180px; }
  .nd-page-hero-title { font-size: 1.45rem; }
}
