/* ============================================================
   VESTIBULAR PHYSIO CLINIC — Professional Stylesheet
   ============================================================
   TABLE OF CONTENTS
   1.  Google Fonts & CSS Variables
   2.  Reset & Base
   3.  Utility Classes
   4.  TopBar
   5.  Navbar
   6.  Hero / Banner
   7.  Intro Cards (Patients / Professionals)
   8.  About Section
   9.  Services / Conditions
   10. Homepage Testimonials
   11. FAQ Section
   12. CTA Banner
   13. Footer
   14. Floating Buttons
   15. Modals & Misc
   16. Animations & Keyframes
   17. Responsive Overrides
   ============================================================ */

/* ── 1. Google Fonts & CSS Variables ─────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&family=Quicksand:wght@300;400;500;600;700&display=swap");

:root {
  /* Brand Palette */
  --clr-primary: #2d6a4f;
  /* deep teal-green */
  --clr-primary-light: #52b788;
  /* mint accent */
  --clr-primary-dark: #1b4332;
  /* forest dark */
  --clr-secondary: #e07b39;
  /* warm amber CTA */
  --clr-secondary-dark: #c0622a;
  --clr-dark: #1a2e44;
  /* rich navy */
  --clr-dark-2: #2c3e50;
  --clr-white: #ffffff;
  --clr-off-white: #f8faf9;
  --clr-light-bg: #f0f7f4;
  --clr-border: #e2ede8;
  --clr-text: #2c3e50;
  --clr-text-muted: #6b7a8d;
  --clr-text-light: #9aabb8;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 60%, var(--clr-primary-light) 100%);
  --grad-hero: linear-gradient(135deg, rgba(26, 46, 68, 0.92) 0%, rgba(45, 106, 79, 0.80) 100%);
  --grad-cta: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-primary) 100%);
  --grad-card: linear-gradient(145deg, #ffffff 0%, #f0f7f4 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);
  --shadow-green: 0 8px 32px rgba(45, 106, 79, 0.25);

  /* Typography */
  --font-body: 'Inter', 'Quicksand', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-accent: 'Quicksand', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy compat */
  --bg-darkblue: var(--clr-dark);
  --bg-dark-samantha: var(--clr-primary);
  --text-samantha: var(--clr-primary);
  --text-white: var(--clr-white);
  --text-yellow: #f4c430;
  --text-black: var(--clr-text);
  --text-dark-gray: var(--clr-text-muted);
  --text-light-2: var(--clr-dark);
  --text-light-3: var(--clr-text-muted);
  --text-light-4: var(--clr-text-light);
  --bg-white: var(--clr-white);
  --bg-light-2: var(--clr-light-bg);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-white);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* Force phone numbers and email addresses to be plain white text and disable default link behavior */
a[href^="tel"],
.phone-number,
#phone,
#phone span {
  color: white !important;
  text-decoration: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

a[href^="mailto:"],
a[href^="mailto:"]:visited,
a[href^="mailto:"]:hover,
a[href^="mailto:"]:active,
#email,
#email a,
#email a:visited,
#email a:hover,
#email a:active,
#email span {
  color: white !important;
  text-decoration: none !important;
}

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

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

/* ── 3. Utility Classes ──────────────────────────────────── */
.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(45, 106, 79, 0.10);
  border: 1px solid rgba(45, 106, 79, 0.20);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--clr-dark);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--clr-primary);
}

.section-subtitle {
  font-size: 17px;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  margin: 16px auto 32px;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Primary CTA Button */
.learn-more-btn,
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-white) !important;
  background: var(--grad-primary);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: var(--shadow-green);
  cursor: pointer;
  transition: transform var(--transition-med), box-shadow var(--transition-med), filter var(--transition-med);
  text-decoration: none;
}

.learn-more-btn:hover,
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(45, 106, 79, 0.40);
  filter: brightness(1.08);
  color: var(--clr-white) !important;
}

.learn-more-btn:active,
.btn-primary-custom:active {
  transform: translateY(-1px);
}

/* Secondary / Outline Button */
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-white) !important;
  background: transparent;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-med);
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.removeul {
  color: var(--clr-dark);
  text-decoration: none;
  font-weight: 700;
}

.nounderline:link,
.nounderline:visited {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 700;
}

.nounderline:hover {
  color: var(--clr-primary-dark);
  text-decoration: underline;
}

/* ── 4. TopBar ───────────────────────────────────────────── */
#TopBar {
  background: var(--grad-primary);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1031;
  height: 44px;
  display: flex;
  align-items: center;
}

#TopBar .container-fluid {
  padding: 0 24px;
}

#TopBar p {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

#TopBar p i {
  font-size: 12px;
  opacity: 0.85;
}

#TopBar #email,
#TopBar #phone {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600;
  font-size: 13px;
}

#TopBar .topbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--clr-white) !important;
  letter-spacing: 0.5px;
}

/* ── 5. Navbar ───────────────────────────────────────────── */
.header_wrapper {
  position: relative;
}

.header_wrapper .navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  padding: 10px 0;
  transition: all var(--transition-med);
}

.header_wrapper .navbar-brand img {
  max-width: 110px;
  height: auto;
  transition: all var(--transition-med);
}

.header_wrapper .nav-item {
  margin: 0 4px;
}

.header_wrapper .nav-item .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--clr-dark) !important;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.header_wrapper .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-med);
}

.header_wrapper .nav-item .nav-link:hover::after,
.header_wrapper .nav-item .nav-link.active::after {
  transform: scaleX(1);
}

.header_wrapper .nav-item .nav-link:hover,
.header_wrapper .nav-item .nav-link.active {
  color: var(--clr-primary) !important;
}

/* Scrolled state */
.header-scrolled {
  position: fixed;
  margin-top: 0 !important;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: var(--shadow-md) !important;
  border-bottom: 1px solid var(--clr-border) !important;
}

.header-scrolled .navbar-brand img {
  max-width: 90px;
}

/* Appointment pill button in nav */
.header_wrapper .nav-item .learn-more-btn {
  font-size: 13px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  animation: pulse-green 2.5s infinite;
}

/* ── 6. Hero / Banner ────────────────────────────────────── */
.banner_wrapper {
  position: relative;
  width: 100%;
  min-height: 85vh;
  padding: 130px 0 60px;
  background: url(../images/bg.png) center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner_wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}

.banner_wrapper .container {
  position: relative;
  z-index: 2;
}

.banner_wrapper .banner-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.15;
  color: var(--clr-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.banner_wrapper .banner-title span {
  color: var(--clr-primary-light);
  position: relative;
}

.banner_wrapper .banner-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.banner_wrapper .banner-title-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.80);
  max-width: 480px;
  margin-bottom: 36px;
}

.banner_wrapper .learn-more-btn-section {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
  font-size: 20px;
}

/* ── 7. Intro Cards (Patients / Professionals) ───────────── */
.homeintro {
  margin-top: 40px;
}

.homeintro .card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  cursor: pointer;
}

.homeintro .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.homeintro .card-read-more-blue {
  padding: 20px 24px 12px;
}

.homeintro .card-read-more-blue h4 p {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 32px !important;
  color: var(--clr-white) !important;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.homeintro .card-content {
  padding: 0 24px 16px;
}

.homeintro .card-content .img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.homeintro .card-content .img-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.homeintro .card:hover .img-card img {
  transform: scale(1.06);
}

.homeintro .card-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}

/* ── 8. About Section ────────────────────────────────────── */
.about_wrapper {
  padding: var(--section-py) 0;
  background: var(--clr-white);
}

.about_wrapper .innovate {
  background: var(--clr-light-bg);
  padding: 80px 0;
  border-radius: 0;
}

.about_wrapper .about_number {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  color: var(--clr-white);
  background: var(--grad-primary);
  box-shadow: var(--shadow-green);
}

.about_wrapper .about_title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--clr-dark);
  border-left: 4px solid var(--clr-primary);
  padding-left: 14px;
  margin-top: 24px;
}

.about_wrapper .about_text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--clr-text-muted);
  max-width: 600px;
}

/* Credential card */
#cardBox {
  margin-top: 16px;
  margin-bottom: 8px;
  border: none !important;
  box-shadow: none !important;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 24px !important;
  border-left: 4px solid var(--clr-primary) !important;
  box-shadow: var(--shadow-md) !important;
}

#cardBox p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px !important;
  color: var(--clr-dark);
  margin-bottom: 4px !important;
}

/* Membership / condition lists */
#specialULYellow ul,
#specialULBlack ul {
  list-style: none;
  padding: 0;
}

#specialULYellow ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
}

#specialULYellow ul li:last-child {
  border-bottom: none;
}

#specialULYellow ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--clr-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

#specialULBlack ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
}

#specialULBlack ul li:last-child {
  border-bottom: none;
}

#specialULBlack ul li::before {
  content: '£';
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 800;
  color: var(--clr-primary);
  font-size: 14px;
}

/* ── 9. Services / Conditions Section ───────────────────── */
.OurServices {
  padding: var(--section-py) 0;
  background: var(--clr-off-white);
}

.OurServices .banner-subtitle-online {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--clr-dark);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.OurServices .banner-subtitle-online::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  margin: 12px auto 0;
}

.OurServices .card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  height: 100%;
}

.OurServices .card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Conditions card */
.conditions-card {
  background: var(--grad-primary) !important;
  border-radius: var(--radius-lg) !important;
  padding: 32px !important;
}

.conditions-card h4 {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  color: var(--clr-white) !important;
  margin-bottom: 20px !important;
  text-align: center !important;
}

.conditions-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.conditions-card ul li {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 7px 0 7px 28px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: relative !important;
}

.conditions-card ul li:last-child {
  border-bottom: none !important;
}

.conditions-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--clr-primary-light);
}

/* Fees card */
.fees-card {
  background: var(--clr-white) !important;
  border-radius: var(--radius-lg) !important;
  padding: 32px !important;
  border: 2px solid var(--clr-border) !important;
}

.fees-card h4 {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  color: var(--clr-dark) !important;
  margin-bottom: 20px !important;
  text-align: center !important;
}

.fees-card ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.fees-card ul li {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--clr-text) !important;
  padding: 10px 0 10px 28px !important;
  border-bottom: 1px solid var(--clr-border) !important;
  position: relative !important;
}

.fees-card ul li:last-child {
  border-bottom: none !important;
  font-size: 13px !important;
  color: var(--clr-text-muted) !important;
  font-weight: 500 !important;
}

.fees-card ul li::before {
  content: '£';
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--clr-secondary);
  font-size: 15px;
}

.fees-card ul li:last-child::before {
  content: 'ℹ';
  color: var(--clr-text-muted);
}

/* Appointment info */
.appointment-info {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  border-left: 5px solid var(--clr-primary);
  box-shadow: var(--shadow-md);
  margin-top: 8px;
}

.appointment-info ul {
  list-style: none !important;
  padding: 0 !important;
}

.appointment-info ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
}

.appointment-info ul li:last-child {
  border-bottom: none;
}

.appointment-info ul li h3 {
  font-family: var(--font-heading);
  font-size: 16px !important;
  font-weight: 600;
  color: var(--clr-dark);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.appointment-info ul li h3::before {
  content: '📅';
  flex-shrink: 0;
  margin-top: 2px;
}

.appointment-info ul li:last-child h3::before {
  content: '⚡';
}

/* ── 10. Homepage Testimonials ───────────────────────────── */
#homepage-testimonials {
  padding: var(--section-py) 0;
  background: var(--clr-light-bg);
  position: relative;
  overflow: hidden;
}

#homepage-testimonials::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 300px;
  font-family: Georgia, serif;
  color: rgba(45, 106, 79, 0.05);
  line-height: 1;
  pointer-events: none;
}

#homepage-testimonials .card {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--clr-white);
  box-shadow: var(--shadow-md);
  padding: 32px;
  height: 100%;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  position: relative;
  overflow: hidden;
}

#homepage-testimonials .card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(45, 106, 79, 0.08);
  line-height: 1;
}

#homepage-testimonials .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ── 11. FAQ Section ─────────────────────────────────────── */
.faq_wrapper {
  padding: var(--section-py) 0 0;
  background: var(--clr-white);
}

.faq_wrapper .faq_subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 8px;
}

.faq_wrapper .faq_title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--clr-dark);
}

.faq_wrapper .accordion-item {
  border: none;
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--clr-white);
  border-left: 4px solid transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq_wrapper .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-left-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.faq_wrapper .accordion-button {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-dark);
  background: var(--clr-white);
  padding: 20px 24px;
  border: none;
  border-radius: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq_wrapper .accordion-button:not(.collapsed) {
  color: var(--clr-primary);
  background: rgba(45, 106, 79, 0.04);
  box-shadow: none;
}

.faq_wrapper .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.faq_wrapper .accordion-button::after {
  content: "\002B";
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  background-image: none;
  color: var(--clr-primary);
  flex-shrink: 0;
  width: auto;
  height: auto;
  transition: transform var(--transition-med);
}

.faq_wrapper .accordion-button:not(.collapsed)::after {
  content: "\2212";
  transform: none;
  background-image: none;
}

.faq_wrapper .accordion-body {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-text-muted);
  line-height: 1.8;
  padding: 0 24px 24px;
  background: rgba(45, 106, 79, 0.02);
}

/* ── 12. CTA Banner ──────────────────────────────────────── */
.free_trial {
  background: var(--grad-cta);
  padding: 80px 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.free_trial::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.free_trial .free_title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  color: var(--clr-white);
  margin-bottom: 0;
}

.free_trial .learn-more-btn {
  background: var(--clr-white);
  color: var(--clr-primary) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: pulse-white 2.5s infinite;
}

.free_trial .learn-more-btn:hover {
  background: var(--clr-off-white);
  color: var(--clr-primary-dark) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.free_trial .learn-more-btn .fa {
  font-size: 18px;
  color: var(--clr-secondary);
}

/* ── 13. Footer ──────────────────────────────────────────── */
.footer_wrapper {
  padding-top: 80px;
  padding-bottom: 0;
  background: var(--clr-dark);
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}

.footer_wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.footer_wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer_wrapper .footer_logo img {
  max-width: 130px;
  opacity: 1;
  margin-bottom: 16px;
}

.footer_wrapper .footer_logo p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer_wrapper .footer_text,
.footer_wrapper .footer_text a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer_wrapper .footer_text a:hover {
  color: var(--clr-primary-light);
}

.footer_wrapper .footer_title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--clr-primary-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer_wrapper .footer_social_media_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  margin-right: 10px;
  transition: all var(--transition-med);
  text-decoration: none;
}

.footer_wrapper .footer_social_media_icon:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.footer_wrapper .footer_credits {
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 48px;
  font-size: 13px;
}

.footer_wrapper .footer_credits a {
  color: var(--clr-primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

/* Accreditation logos */
.footer_wrapper .accreditation-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer_wrapper .accreditation-logos img {
  height: 50px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.footer_wrapper .accreditation-logos img:hover {
  opacity: 0.90;
}

/* ── 14. Floating Buttons ────────────────────────────────── */
#enquiry,
#appointment,
#quiz,
#video {
  width: 72px;
  height: auto;
  position: fixed;
  z-index: 10039;
  right: 8px;
  margin: 0;
  padding: 4px;
  transition: width var(--transition-med), filter var(--transition-fast);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  border-radius: var(--radius-sm);
}

#enquiry {
  bottom: 200px;
}

#appointment {
  bottom: 325px;
}

#quiz {
  bottom: 450px;
}

#video {
  bottom: 575px;
}

#enquiry:hover,
#appointment:hover,
#quiz:hover,
#video:hover {
  width: 115px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

/* ── 15. Modals & Misc ───────────────────────────────────── */
.modal-dialog {
  position: fixed;
  bottom: 300px;
  right: 120px;
  z-index: 10040;
  overflow: auto;
}

.blockquote-custom {
  position: relative;
  font-size: 1.05rem;
}

.blockquote-custom-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -40px;
  left: 19px;
}

.BulletList {
  list-style-type: disc !important;
  padding-left: 1.2em;
}

.OurServiceHeading {
  margin-left: 50px;
  margin-bottom: 25px;
  font-weight: 800;
  font-size: 1.5em;
}

/* ── 16. Animations & Keyframes ─────────────────────────── */
@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(45, 106, 79, 0);
  }
}

@keyframes pulse-white {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 8px rgba(255, 255, 255, 0.1);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animated {
  0% {
    width: 110px;
  }

  100% {
    width: 90px;
  }
}

/* ── 17. Responsive Overrides ────────────────────────────── */
@media (max-width: 991px) {
  #TopBar {
    height: auto !important;
    padding: 6px 0;
  }

  .DizzyLogoNew {
    width: 100px !important;
    display: block !important;
    margin: auto;
  }

  #TopBar p {
    font-size: 11px !important;
  }

  .navbar {
    margin-top: 70px !important;
    transition: margin-top 0.3s ease;
  }

  .navbar.header-scrolled {
    margin-top: 0 !important;
  }

  .header-scrolled .DizzyLogoNew {
    width: 70px !important;
  }

  .banner_wrapper {
    padding-top: 200px !important;
    min-height: auto;
    padding-bottom: 60px;
  }

  .homeintro .card {
    margin-bottom: 20px;
  }

  .about_wrapper .about_title {
    font-size: 18px;
  }

  .free_trial {
    text-align: center;
    margin-top: 60px;
  }

  .free_trial .learn-more-btn {
    margin-top: 24px;
  }

  .footer_wrapper .accreditation-logos {
    justify-content: center;
  }

  .mobile-contact {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .mobile-contact {
    display: none !important;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-top: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transition: 0.3s;
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
  }

  .navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 26px;
  }

  .banner_wrapper .banner-title {
    font-size: 32px;
  }

  .free_trial .free_title {
    font-size: 22px;
  }

  .homeintro .card-read-more-blue h4 p {
    font-size: 26px !important;
  }
}

@media only screen and (max-width: 433px) {
  #TopBar #phone {
    padding-left: 0;
  }
}

/* ══════════════════════════════════════════════════════════
   KNOW YOUR DIZZINESS PAGE
══════════════════════════════════════════════════════════ */

/* Hero subtitle on KYD page */
.banner-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.7;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Body text paragraphs throughout KYD */
.features_text {
  font-size: 16px;
  color: #1e2d3d;
  line-height: 1.8;
  font-weight: 450;
  margin-bottom: 14px;
}

/* Section heading blocks */
.ft-1 h3,
.ft-2 h3,
.ft-3 h3,
.ft-4 h3,
.ft-5 h3,
.ft-6 h3,
.ft-7 h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #1a2e44;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2d6a4f;
  display: inline-block;
}

/* Bullet lists */
.BulletList {
  padding-left: 20px;
  margin: 0;
}

.BulletList li {
  font-size: 15px;
  color: #1e2d3d;
  line-height: 1.75;
  margin-bottom: 10px;
  font-weight: 450;
}

/* ── Condition Info Cards ── */
#cardBox {
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

#cardBox .card {
  border-radius: 12px;
  border: none;
  margin-bottom: 8px;
  padding: 4px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

#cardBox .card h4 {
  font-family: var(--font-heading);
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 14px 16px 6px !important;
}

#cardBox .card h5 {
  font-size: 15px !important;
  line-height: 1.75;
  margin: 0 16px 14px !important;
  font-weight: 450 !important;
}

/* Light Blue card — teal/green info */
#cardBox .card.LightBlue {
  background: #edf7f2;
  border-left: 4px solid #2d6a4f;
}

#cardBox .card.LightBlue h4 {
  color: #1b4332;
}

#cardBox .card.LightBlue h5 {
  color: #2d4a3e;
}

/* Yellow card — amber info */
#cardBox .card.Yellow {
  background: #fef9ec;
  border-left: 4px solid #e07b39;
}

#cardBox .card.Yellow h4 {
  color: #7c3d0f;
}

#cardBox .card.Yellow h5 {
  color: #5a3010;
}

/* Red card — warning/serious */
#cardBox .card.Red {
  background: #fff5f5;
  border-left: 4px solid #c0392b;
}

#cardBox .card.Red h4 {
  color: #c0392b !important;
}

#cardBox .card.Red h5 {
  color: #922b21 !important;
}

/* Blue card — general info */
#cardBox .card.Blue {
  background: #eef4fb;
  border-left: 4px solid #1a6496;
}

#cardBox .card.Blue h4 {
  color: #1a4a72;
}

#cardBox .card.Blue h5 {
  color: #1e3a5f;
}

/* ── KYD: features_wrapper sits inside banner_wrapper dark overlay,
   give it a solid white background so dark text is readable ── */
.features_wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 40px;
  margin-top: 20px;
  margin-bottom: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
  position: relative;
  z-index: 3;
}

.features_wrapper h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #1a2e44 !important;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2d6a4f;
  display: inline-block;
}

.features_wrapper p.features_text {
  color: #1e2d3d !important;
  font-size: 16px;
  line-height: 1.8;
}

.features_wrapper .BulletList li {
  color: #1e2d3d !important;
}

.features_wrapper img {
  max-width: 100%;
  border-radius: 12px;
}

/* ══════════════════════════════════════════════════════════
   FREE TRIAL / CTA BANNER (Professional Training page)
══════════════════════════════════════════════════════════ */
.free_trial {
  background: linear-gradient(135deg, #1a2e44 0%, #2d6a4f 100%);
  padding: 70px 40px;
  margin-top: 20px;
}

.free_trial .free_title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.25;
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   NAV APPOINTMENT BUTTON (used in Professional pages navbar)
══════════════════════════════════════════════════════════ */
.nav-appointment-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--clr-primary), #1b4332);
  color: #fff !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.35);
  white-space: nowrap;
}

.nav-appointment-btn:hover {
  background: linear-gradient(135deg, #1b4332, var(--clr-primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.45);
  color: #fff !important;
}

/* Navbar logo */
.DizzyLogoNew {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}