/*
Theme Name: Sprout Health
Theme URI: https://sprouthealth.com.au
Author: Sprout Health
Author URI: https://sprouthealth.com.au
Description: A warm, playful and professional theme for Sprout Health pediatric therapy clinic. Features vibrant brand colors matching the official logo.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sprouthealth
Tags: pediatric, therapy, healthcare, full-width-template, custom-colors, accessibility-ready

Sprout Health - Helping children play, move and communicate with confidence.
*/

/* ==========================================================================
   SPROUT HEALTH - VIBRANT DESIGN SYSTEM
   Brand Colors from Official Logo
   ========================================================================== */

:root {
  /* =============================================
     PRIMARY BRAND COLORS - From Official Logo
     ============================================= */

  /* Primary Purple (main brand color - 'u' in logo) */
  --color-primary: #6B4C93;
  --color-primary-dark: #5A3D7A;
  --color-primary-light: #8B6CB3;
  --color-primary-pale: #EDE9F3;
  --color-primary-rgb: 107, 76, 147;

  /* Aqua/Teal (from logo 'r') */
  --color-aqua: #5BC0BE;
  --color-aqua-dark: #4BA8A6;
  --color-aqua-light: #7DD3D1;
  --color-aqua-pale: #E0F4F4;

  /* Yellow/Gold (from logo 'p') */
  --color-yellow: #F9C74F;
  --color-yellow-dark: #E5B347;
  --color-yellow-light: #FBDA7A;
  --color-yellow-pale: #FEF6E0;

  /* Magenta/Pink (from logo 't' and '+') */
  --color-pink: #E040A0;
  --color-pink-dark: #C93690;
  --color-pink-light: #E86DB8;
  --color-pink-pale: #FCE8F3;

  /* Coral Pink (from logo 'S') */
  --color-coral: #E8607A;
  --color-coral-dark: #D04E68;
  --color-coral-light: #EE8498;
  --color-coral-pale: #FCEBEE;

  /* Lime Green (from logo 'o') */
  --color-green: #8AC926;
  --color-green-dark: #76AB20;
  --color-green-light: #A5D94F;
  --color-green-pale: #F0F9E2;

  /* Purple (alias for primary - used for script-text) */
  --color-purple: #6B4C93;
  --color-purple-dark: #5A3D7A;
  --color-purple-light: #8B6CB3;
  --color-purple-pale: #EDE9F3;

  /* Legacy mappings for compatibility */
  --color-secondary: #E8607A;
  --color-secondary-dark: #D04E68;
  --color-secondary-light: #EE8498;
  --color-secondary-pale: #FCEBEE;
  --color-secondary-rgb: 232, 96, 122;
  --color-orange: #E8607A;
  --color-orange-dark: #D04E68;
  --color-orange-light: #EE8498;
  --color-orange-pale: #FCEBEE;
  --color-cyan: #5BC0BE;

  /* =============================================
     NEUTRAL COLORS
     ============================================= */
  --color-text: #1F2937;
  --color-text-light: #4B5563;
  --color-text-muted: #6B7280;
  --color-heading: #111827;
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-800: #1F2937;
  --color-cream: #FFFEE7;
  --color-body-bg: var(--color-white);
  --color-bg: #ffffff;
  --color-bg-light: #F9FAFB;

  /* =============================================
     TYPOGRAPHY
     ============================================= */
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* =============================================
     SPACING
     ============================================= */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-2xl: 4rem;

  /* =============================================
     BORDERS & SHADOWS
     ============================================= */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-pill: 9999px;
  --radius-round: 50%;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-colored: 0 10px 40px -10px rgba(107, 76, 147, 0.3);

  /* =============================================
     TRANSITIONS
     ============================================= */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s ease;

  /* =============================================
     LAYOUT
     ============================================= */
  --header-height: 90px;
  --top-bar-height: 40px;
  --container-max: 1200px;
  --container-padding: 2rem;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--line-height-tight);
  font-weight: 600;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ==========================================================================
   TOP INFO BAR
   ========================================================================== */

.top-info-bar {
  background: linear-gradient(135deg, var(--color-aqua) 0%, var(--color-primary) 100%);
  color: white;
  padding: 0.5rem 0;
  font-size: var(--font-size-sm);
}

.top-info-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info-bar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-bar__contact a,
.top-info-bar__contact span {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

.top-info-bar__contact a:hover {
  opacity: 0.8;
}

.top-info-bar__contact svg {
  width: 16px;
  height: 16px;
}

.top-info-bar__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-info-bar__social a {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.2s;
}

.top-info-bar__social a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  color: white;
}

.top-info-bar__social svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  background: var(--color-white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.site-logo img {
  height: 55px;
  width: auto;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.main-navigation > ul > li {
  position: relative;
}

.main-navigation > ul > li > a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.main-navigation > ul > li > a:hover,
.main-navigation > ul > li:hover > a {
  color: var(--color-primary);
  background-color: var(--color-primary-pale);
}

/* Dropdown Menu Styles */
.dropdown-menu,
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 400;
  border-top: 4px solid var(--color-coral);
  list-style: none;
  display: flex;
  flex-direction: column;
}

.main-navigation > ul > li:hover .dropdown-menu,
.main-navigation > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li,
.sub-menu li {
  list-style: none;
  border-bottom: 1px solid var(--color-gray-100);
  padding: 0;
  width: 100%;
}

.dropdown-menu li:last-child,
.sub-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a,
.sub-menu a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.sub-menu a:hover {
  background: var(--color-primary);
  color: white;
}

.dropdown-menu li:last-child a:hover,
.sub-menu li:last-child a:hover {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Dropdown Arrow Indicator */
.menu-item-has-children > a::after,
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s;
}

.menu-item-has-children:hover > a::after,
.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Header CTA Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn--enquire {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, var(--color-pink), var(--color-pink-dark));
  color: white;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(224, 64, 160, 0.4);
  white-space: nowrap;
}

.btn--enquire:hover {
  background: var(--color-pink-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 64, 160, 0.5);
}

.btn--phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--color-yellow);
  color: #1F2937;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(249, 199, 79, 0.4);
  white-space: nowrap;
}

.btn--phone:hover {
  background: var(--color-yellow-dark);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 199, 79, 0.5);
}

.btn--phone svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  left: 0;
  transition: transform 0.2s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-menu-toggle.is-active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.is-active .hamburger::before {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.is-active .hamburger::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

body.mobile-menu-open {
  overflow: hidden;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(107, 76, 147, 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 76, 147, 0.4);
  color: white;
}

.btn--secondary {
  background: var(--color-coral);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 96, 122, 0.3);
}

.btn--secondary:hover {
  background: var(--color-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 96, 122, 0.4);
  color: white;
}

.btn--pink {
  background: var(--color-pink);
  color: white;
  box-shadow: 0 4px 15px rgba(224, 64, 160, 0.3);
}

.btn--pink:hover {
  background: var(--color-pink-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 64, 160, 0.4);
  color: white;
}

.btn--green {
  background: var(--color-pink);
  color: white;
  box-shadow: 0 4px 15px rgba(224, 64, 160, 0.3);
}

.btn--green:hover {
  background: var(--color-pink-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 64, 160, 0.4);
  color: white;
}

.btn--yellow {
  background: var(--color-yellow);
  color: #1F2937;
}

.btn--yellow:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--orange {
  background: var(--color-yellow);
  color: var(--color-text);
  box-shadow: 0 4px 15px rgba(249, 199, 79, 0.3);
}

.btn--orange:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(249, 199, 79, 0.4);
  color: var(--color-text);
}

.btn--white {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--color-primary);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn--outline-primary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline-primary:hover {
  background: var(--color-primary);
  color: white;
}

.btn--outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn--outline-white:hover {
  background: white;
  color: var(--color-primary);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   RAINBOW SEPARATOR
   ========================================================================== */

.rainbow-separator {
  height: 12px;
  display: flex;
  width: 100%;
}

.rainbow-separator span {
  flex: 1;
  height: 100%;
}

/* Sprout Health Brand Rainbow - Matching Logo Colors */
.rainbow-separator span:nth-child(1) { background: var(--color-coral); }
.rainbow-separator span:nth-child(2) { background: var(--color-yellow); }
.rainbow-separator span:nth-child(3) { background: var(--color-aqua); }
.rainbow-separator span:nth-child(4) { background: var(--color-green); }
.rainbow-separator span:nth-child(5) { background: var(--color-primary); }
.rainbow-separator span:nth-child(6) { background: var(--color-pink); }
.rainbow-separator span:nth-child(7) { background: var(--color-coral); }

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--primary,
.section--blue {
  background: var(--color-primary);
  color: white;
}

.section--primary h2,
.section--primary .section-title,
.section--blue h2,
.section--blue .section-title {
  color: white;
}

.home .section--blue .section-title::after {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-coral));
}

.section--gray {
  background: var(--color-gray-50);
}

.section--gradient {
  background: linear-gradient(135deg, var(--color-primary-pale) 0%, var(--color-green-pale) 50%, var(--color-coral-pale) 100%);
}

.section--blue-soft {
  background: var(--color-primary-pale);
}

/* Section Title */
.section-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

/* Homepage only - gradient underline decoration */
.home .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-coral), var(--color-yellow));
  border-radius: var(--radius-pill);
  margin-top: 0.75rem;
}

.section-title--center {
  text-align: center;
}

.home .section-title--center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title--script {
  font-family: var(--font-script);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Script Text - purple for internal pages */
.script-text {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--color-purple) !important;
}

/* CTA section script text should be yellow */
.cta-section .script-text {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: var(--color-yellow) !important;
  margin-bottom: 0.5rem;
}

/* Footer newsletter script text */
.footer-newsletter .script-text {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--color-yellow) !important;
  margin-bottom: 1.5rem;
}

/* Page hero script text - white */
.page-hero .script-text {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0.5rem;
}

/* Page hero script text (tagline) */
/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.hero-slide__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero__content {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: var(--color-yellow);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero__description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero__description--motto {
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
  background: var(--color-green);
  border-color: var(--color-green);
  transform: scale(1.2);
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--color-green);
  border-color: var(--color-green);
}

.carousel-arrow--prev {
  left: 30px;
}

.carousel-arrow--next {
  right: 30px;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
}

/* Static Hero (non-carousel) */
.hero {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 76, 147, 0.85) 0%, rgba(91, 192, 190, 0.7) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-colored);
}

.service-card__border {
  height: 6px;
}

.service-card__border--green { background: var(--color-green); }
.service-card__border--orange { background: var(--color-coral); }
.service-card__border--blue { background: var(--color-aqua); }
.service-card__border--purple { background: var(--color-primary); }

.service-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card__content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-heading);
}

.service-card__description {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  flex: 1;
}

.service-card__link {
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.service-card__link:hover {
  color: var(--color-coral);
  gap: 0.75rem;
}

.service-card__link svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   FUNDING SECTION
   ========================================================================== */

.funding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.funding-visual {
  position: relative;
}

.funding-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.funding-badge {
  background: white;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  font-size: 1.2rem;
  transition: all 0.3s;
  border: 3px solid transparent;
}

.funding-badge:hover {
  transform: translateY(-5px) scale(1.05);
}

.funding-badge--blue {
  color: var(--color-aqua);
  border-color: var(--color-aqua-pale);
}

.funding-badge--orange {
  color: var(--color-coral);
  border-color: var(--color-coral-pale);
}

.funding-badge--green {
  color: var(--color-primary);
  border-color: var(--color-primary-pale);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-aqua) 0%, var(--color-primary) 100%);
  color: white;
  overflow: hidden;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

/* Duplicate removed - see line ~770 */

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.cta-section .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-newsletter {
  text-align: center;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-newsletter h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

/* Duplicate removed - see line ~776 */

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-form button {
  background: var(--color-pink);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-newsletter-form button:hover {
  background: var(--color-pink-dark);
  transform: translateY(-2px);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p,
.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-logo-text {
  color: white;
  font-size: 1.5rem;
}

.footer-nav-title {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.85rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--color-yellow);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-round);
  color: white;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-aqua);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--color-yellow);
}

.footer-bottom .separator {
  margin: 0 0.75rem;
  opacity: 0.4;
}

.footer-cta .btn {
  margin-top: var(--spacing-6);
}

/* ==========================================================================
   PAGE HERO (for inner pages)
   ========================================================================== */

.page-hero--gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-aqua) 100%);
  color: white;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
  font-size: 1.1rem;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-cta .btn--enquire,
  .header-cta .btn--phone {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .dropdown-menu,
  .sub-menu {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 80px;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 400;
  }

  .main-navigation.is-active {
    transform: translateX(0);
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .main-navigation > ul > li > a {
    font-size: 1.35rem;
    padding: 1rem 1.5rem;
    color: var(--color-text);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero-carousel {
    min-height: 550px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .funding-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow--prev {
    left: 15px;
  }

  .carousel-arrow--next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .top-info-bar {
    display: none;
  }

  .site-logo a {
    font-size: 1.25rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
    background: var(--color-bg-light);
  }

  .page-hero__title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .hero-carousel {
    min-height: 500px;
    text-align: center;
  }

  .hero__content {
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .cta-section .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .hero-carousel {
    min-height: 700px;
  }

  .hero__content {
    padding-bottom: 100px;
  }

  .carousel-dots {
    bottom: 15px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--color-gray-100);
  clip: auto !important;
  clip-path: none;
  color: var(--color-primary);
  display: block;
  font-size: var(--font-size-base);
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

.site-main {
  min-height: 50vh;
}

/* WordPress block alignment */
.alignwide {
  margin-left: -2rem;
  margin-right: -2rem;
  max-width: calc(100% + 4rem);
  width: calc(100% + 4rem);
}

.alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

/* Custom logo */
.custom-logo-link {
  display: inline-block;
}

.custom-logo {
  height: 55px;
  width: auto;
}

/* WordPress menus */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Page content padding */
.entry-content {
  padding: var(--spacing-8) 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   PAGE-SPECIFIC STYLES (Extracted from Static HTML)
   ========================================================================== */

/* ==========================================================================
   PAGE HERO (Enhanced)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--color-aqua) 0%, var(--color-primary) 100%);
  padding: 4rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__tagline {
  font-family: var(--font-script);
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.page-hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION SUBTITLE
   ========================================================================== */

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section--alt {
  background: var(--color-bg-light);
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-intro__image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-intro__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-intro__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.about-intro__content p:last-child {
  margin-bottom: 0;
}

/* Values/Features Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-aqua), var(--color-primary));
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES PAGE STYLES
   ========================================================================== */

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.services-intro p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

/* Services Grid Large (with images) */
.services-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card-large {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card-large:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-large__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  background: white;
}

.service-card-large__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.2) translateY(5%);
}

.service-card-large__content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-large__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: -45px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.service-card-large:nth-child(1) .service-card-large__icon {
  background: linear-gradient(135deg, var(--color-aqua), var(--color-green));
}

.service-card-large:nth-child(2) .service-card-large__icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-pink));
}

.service-card-large:nth-child(3) .service-card-large__icon {
  background: linear-gradient(135deg, var(--color-coral), var(--color-yellow));
}

.service-card-large__icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.service-card-large h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.service-card-large p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card-large .btn {
  align-self: flex-start;
}

/* ==========================================================================
   APPROACH SECTION
   ========================================================================== */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.approach-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.approach-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-aqua), var(--color-primary));
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-card__icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.approach-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.approach-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   SERVICE DETAIL PAGE STYLES
   ========================================================================== */

/* Service Intro */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-intro__image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-intro__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-intro__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

/* Help Cards Grid */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.help-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-normal);
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.help-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-aqua));
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-card__icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.help-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.help-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Approaches Section */
.approaches-section {
  background: linear-gradient(135deg, var(--color-primary-pale), var(--color-aqua-pale));
}

.approaches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.approach-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.approach-item::before {
  content: '\2713';
  width: 24px;
  height: 24px;
  background: var(--color-green);
  color: white;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.approach-item span {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   SERVICE-SPECIFIC COLOR THEMES
   Each service page has unique gradient colors
   ========================================================================== */

/* PHYSIOTHERAPY - Primary (purple) → Aqua theme */
.page-hero--physio {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-aqua) 100%);
}

.cta-section--physio {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-aqua) 100%);
}

.help-card--physio .help-card__icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-aqua));
}

.approaches-section--physio {
  background: linear-gradient(135deg, var(--color-primary-pale), var(--color-aqua-pale));
}

/* OCCUPATIONAL THERAPY - Purple → Pink theme */
.page-hero--ot {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 100%);
}

.cta-section--ot {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 100%);
}

.help-card--ot .help-card__icon {
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
}

.approaches-section--ot {
  background: linear-gradient(135deg, rgba(107, 76, 147, 0.05), rgba(224, 64, 160, 0.05));
}

.team-card--ot .team-card__content .title {
  color: var(--color-purple);
}

/* SPEECH PATHOLOGY - Coral → Yellow theme */
.page-hero--speech {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-yellow) 100%);
}

.cta-section--speech {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-yellow) 100%);
}

.cta-section--speech .script-text {
  color: white !important;
  opacity: 0.9;
}

.help-card--speech .help-card__icon {
  background: linear-gradient(135deg, var(--color-coral), var(--color-yellow));
}

.approaches-section--speech {
  background: linear-gradient(135deg, var(--color-coral-pale), var(--color-yellow-pale));
}

.team-card--speech .team-card__content .title {
  color: var(--color-coral);
}

/* Service-specific grid variations */
.help-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.approaches-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
}

.team-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PAGE-SPECIFIC CTA MODIFIERS
   ========================================================================== */

/* HOMEPAGE - Solid primary purple background */
.cta-section--home {
  background: var(--color-primary);
}

/* ABOUT & SERVICES - Primary → Aqua gradient */
.cta-section--primary-aqua {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-aqua) 100%);
}

/* TEAM - Primary → Pink gradient */
.cta-section--team {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-pink) 100%);
}

/* TEAM PAGE HERO - Primary → Aqua gradient */
.page-hero--team {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-aqua) 100%);
}

/* ==========================================================================
   TEAM PAGE STYLES
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-card__image {
  height: 300px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.25) translateY(5%);
}

.team-card--jessica .team-card__image img {
  transform: scale(1.25) translateY(10%);
}

.team-card__content {
  padding: 1.5rem;
  text-align: center;
}

.team-card__content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.team-card__content .title {
  color: var(--color-coral);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.team-card__content p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Admin Card */
.admin-card {
  max-width: 800px;
  margin: 2rem auto 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 2rem;
}

.admin-card__image {
  margin-bottom: 1.5rem;
}

.admin-card__image img {
  width: 100%;
  border-radius: var(--radius-md);
}

.admin-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.admin-card p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   FAQ PAGE STYLES
   ========================================================================== */

.funding-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.funding-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.funding-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.funding-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.funding-card:nth-child(1)::before { background: var(--color-aqua); }
.funding-card:nth-child(2)::before { background: var(--color-coral); }
.funding-card:nth-child(3)::before { background: var(--color-green); }

.funding-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.funding-card:nth-child(1) .funding-card__icon {
  background: linear-gradient(135deg, var(--color-aqua), var(--color-primary));
}

.funding-card:nth-child(2) .funding-card__icon {
  background: linear-gradient(135deg, var(--color-coral), var(--color-yellow));
}

.funding-card:nth-child(3) .funding-card__icon {
  background: linear-gradient(135deg, var(--color-green), var(--color-aqua));
}

.funding-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.funding-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.funding-card__highlight {
  background: linear-gradient(135deg, var(--color-aqua-pale), var(--color-primary-pale));
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.funding-card__highlight p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.funding-card__highlight strong {
  color: var(--color-primary);
}

/* Note Box */
.note-box {
  background: linear-gradient(135deg, var(--color-coral-pale), var(--color-yellow-pale));
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-coral);
  max-width: 800px;
  margin: 2rem auto 0;
}

.note-box p {
  color: var(--color-text-light);
  margin: 0 0 0.5rem 0;
}

.note-box p:last-child {
  margin-bottom: 0;
}

.note-box strong {
  color: var(--color-coral);
}

/* ==========================================================================
   WHO WE HELP PAGE STYLES
   ========================================================================== */

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--color-aqua), var(--color-primary));
  color: white;
  padding: 1.5rem 3rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
}

.age-badge__number {
  font-size: 3rem;
  font-weight: 700;
}

.age-badge__text {
  text-align: left;
}

.age-badge__text span {
  display: block;
  font-size: 1.25rem;
}

/* ==========================================================================
   MIND MAP STYLES
   ========================================================================== */

.conditions-section {
  overflow: hidden;
}

.mindmap-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 900px;
  padding: 2rem;
}

.mindmap-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mindmap-center .center-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 240px;
  transition: var(--transition-normal);
}

.mindmap-center img {
  position: relative;
  z-index: 2;
  width: 110px;
  height: auto;
  transition: var(--transition-normal);
}

.mindmap-center:hover {
  z-index: 20;
}

.mindmap-center:hover .center-ring,
.mindmap-center:hover img {
  transform: scale(1.15);
}

.mindmap-category {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  padding: 0.75rem;
  line-height: 1.2;
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: var(--transition-normal);
}

.mindmap-category:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.cat-developmental { background: var(--color-aqua); top: 8%; left: 50%; transform: translateX(-50%); }
.cat-developmental:hover { transform: translateX(-50%) scale(1.1); }
.cat-neurological { background: var(--color-purple); top: 22%; right: 12%; }
.cat-neurodevelopmental { background: var(--color-coral); top: 22%; left: 12%; }
.cat-learning { background: var(--color-green); bottom: 22%; right: 12%; }
.cat-genetic { background: var(--color-pink); bottom: 22%; left: 12%; }
.cat-musculoskeletal { background: var(--color-yellow); bottom: 8%; left: 50%; transform: translateX(-50%); color: var(--color-text); }
.cat-musculoskeletal:hover { transform: translateX(-50%) scale(1.1); }

.mindmap-item {
  position: absolute;
  padding: 0.5rem 0.85rem;
  background: white;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--color-text);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px dashed;
  line-height: 1.3;
  white-space: nowrap;
  z-index: 3;
  transition: var(--transition-normal);
}

.mindmap-item:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
  z-index: 20;
}

.dev-3:hover, .musculo-2:hover { transform: translateX(-50%) scale(1.1); }

.dev-1 { top: 6%; left: 15%; border-color: var(--color-aqua); }
.dev-2 { top: 1%; left: 28%; border-color: var(--color-aqua); }
.dev-3 { top: 1%; left: 50%; transform: translateX(-50%); border-color: var(--color-aqua); }
.dev-4 { top: 1%; right: 28%; border-color: var(--color-aqua); }
.dev-5 { top: 6%; right: 15%; border-color: var(--color-aqua); }

.neuro-1 { top: 10%; right: 4%; border-color: var(--color-purple); }
.neuro-2 { top: 20%; right: 0%; border-color: var(--color-purple); }
.neuro-3 { top: 32%; right: 0%; border-color: var(--color-purple); }
.neuro-4 { top: 42%; right: 4%; border-color: var(--color-purple); }

.neurodev-1 { top: 14%; left: 0%; border-color: var(--color-coral); }
.neurodev-2 { top: 34%; left: 0%; border-color: var(--color-coral); }

.learn-1 { bottom: 40%; right: 4%; border-color: var(--color-green); }
.learn-2 { bottom: 27%; right: 0%; border-color: var(--color-green); }
.learn-3 { bottom: 12%; right: 4%; border-color: var(--color-green); }

.genetic-1 { bottom: 40%; left: 4%; border-color: var(--color-pink); }
.genetic-2 { bottom: 27%; left: 0%; border-color: var(--color-pink); }
.genetic-3 { bottom: 12%; left: 4%; border-color: var(--color-pink); }

.musculo-1 { bottom: 5%; left: 30%; border-color: var(--color-yellow); }
.musculo-2 { bottom: 1%; left: 50%; transform: translateX(-50%); border-color: var(--color-yellow); }
.musculo-3 { bottom: 5%; right: 30%; border-color: var(--color-yellow); }

.mindmap-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.line-solid {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.line-dotted {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 6, 6;
  stroke-linecap: round;
}

.stroke-aqua { stroke: var(--color-aqua); }
.stroke-purple { stroke: var(--color-purple); }
.stroke-coral { stroke: var(--color-coral); }
.stroke-green { stroke: var(--color-green); }
.stroke-pink { stroke: var(--color-pink); }
.stroke-yellow { stroke: var(--color-yellow); }

/* ==========================================================================
   PAGE-SPECIFIC RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-intro__image {
    max-width: 500px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mindmap-container {
    min-height: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }

  .mindmap-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 2rem;
    order: 0;
  }

  .mindmap-category,
  .mindmap-item {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  .mindmap-category {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin-bottom: 0.5rem;
    padding: 1rem;
  }

  .mindmap-item {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
  }

  .cat-developmental { order: 1; }
  .dev-1, .dev-2, .dev-3, .dev-4, .dev-5 { order: 2; }
  .cat-neurological { order: 3; }
  .neuro-1, .neuro-2, .neuro-3, .neuro-4 { order: 4; }
  .cat-neurodevelopmental { order: 5; }
  .neurodev-1, .neurodev-2 { order: 6; }
  .cat-learning { order: 7; }
  .learn-1, .learn-2, .learn-3 { order: 8; }
  .cat-genetic { order: 9; }
  .genetic-1, .genetic-2, .genetic-3 { order: 10; }
  .cat-musculoskeletal { order: 11; }
  .musculo-1, .musculo-2, .musculo-3 { order: 12; }

  .mindmap-svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-hero__title {
    font-size: 2.25rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-large {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid--two {
    grid-template-columns: 1fr;
  }

  .funding-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .age-badge {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 2rem;
  }

  .age-badge__text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 3rem 0;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .book-text h2 {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-card__icon--phone {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
}

.contact-card__icon--email {
  background: linear-gradient(135deg, var(--color-aqua), var(--color-primary));
}

.contact-card__icon--location {
  background: linear-gradient(135deg, var(--color-coral), var(--color-yellow));
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
}

.contact-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.contact-card a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--color-primary-dark);
}

/* Social Links Card */
.social-card {
  background: linear-gradient(135deg, var(--color-primary-pale), var(--color-aqua-pale));
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.social-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow-md);
}

.social-link--instagram {
  color: #E4405F;
}

.social-link--instagram:hover {
  background: #E4405F;
  color: white;
}

.social-link--tiktok {
  color: #000000;
}

.social-link--tiktok:hover {
  background: #000000;
  color: white;
}

.social-link--facebook {
  color: #1877F2;
}

.social-link--facebook:hover {
  background: #1877F2;
  color: white;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

/* Map Container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 400px;
}

/* Book Appointment Section */
.book-section {
  background: var(--color-bg-light);
}

.book-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.book-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.book-text p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.book-features {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.book-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
}

.book-feature svg {
  width: 24px;
  height: 24px;
  color: var(--color-green);
  flex-shrink: 0;
}

/* Admin Team Section */
.admin-section {
  text-align: center;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    min-height: 350px;
  }
}

