/* ===========================
   ALLIUM HEALTHCARE - LUXURY CSS
   Redefining Aged Care with Elegance
   =========================== */

/* Remove focus outline for buttons and select elements */
button:focus,
.btn:focus,
.cta-button:focus,
.form-submit-btn:focus,
.social-link:focus,
select:focus {
  outline: none;
  box-shadow: none;
}

/* ===========================
   1. CSS VARIABLES & DESIGN SYSTEM
   =========================== */
:root {
  /* Premium Typography */
  --font-display: 'Urbanist', sans-serif;
  --font-heading: 'Urbanist', sans-serif;
  --font-body: 'Urbanist', sans-serif;
  --font-accent: 'Space Mono', monospace;

  /* Refined Type Scale */
  --text-hero: clamp(4rem, 8vw + 1rem, 8rem);
  --text-display: clamp(2.376rem, calc((4.5vw + 0.9rem) * 0.88), 4.356rem);
  --text-heading-1: clamp(2.5rem, 4vw, 4rem);
  --text-heading-2: clamp(2rem, 3vw, 3rem);
  --text-heading-3: clamp(1.5rem, 2vw, 2rem);
  --text-body-large: clamp(1.125rem, 1.5vw, 1.375rem);
  --text-body: 1rem; /* Mobile: 1rem */
  --text-base: 1rem;
  --text-small: 0.9rem;
  --text-micro: 0.75rem;

  /* Letter Spacing */
  --ls-tight: -0.03em;
  --ls-normal: -0.01em;
  --ls-wide: 0.02em;
  --ls-wider: 0.08em;
  --ls-hover: calc(var(--ls-wide) + 1px); /* Letter spacing for hover state */

  /* Sophisticated Color System */
  /* Primary Palette */
  --color-primary: #914b8b;
  --color-primary-dark: #6b3866;
  --color-primary-light: #a85da2;
  --color-primary-pale: #f4eaf3;

  /* Neutral Palette */
  --color-cream: #faf8f5;
  --color-bone: #f5f2ed;
  --color-sand: #e8e2d8;
  --color-stone: #d0c8bb;
  --color-slate: #707070;
  --color-graphite: #555555;
  --color-ash: #3a3938;
  --color-charcoal: #1f1e1d;

  /* Accent Colors */
  --color-sage: #a3b5a0;
  --color-gold: #c9a961;
  --color-blush: #e8c5c0;
  --color-sky: #c3d5e1;

  /* Gradients & Backgrounds */
  --gradient-hero: linear-gradient(135deg, rgba(145, 75, 139, 0.9) 0%, rgba(163, 181, 160, 0.9) 100%);
  --gradient-surface: linear-gradient(180deg, #ffffff 0%, var(--color-bone) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, var(--color-bone) 100%);
  --gradient-loader: linear-gradient(135deg, #ffffff 0%, #faf8f5 50%, var(--color-bone) 100%);
  --gradient-dark: linear-gradient(135deg, var(--color-charcoal) 0%, #2a2928 100%);
  --gradient-divider: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-cream: var(--color-cream);
  --bg-bone: var(--color-bone);
  --bg-charcoal: var(--color-charcoal);
  --bg-hover: #f5f5f5;
  --bg-modal: #ffffff;
  --bg-button-hover: var(--color-primary);

  /* Unified Spacing System - Using spacing-system.css variables */
  /* Section Padding - Responsive */
  --section-padding: var(--spacing-default-mobile);
  --section-padding-compact: var(--spacing-compact-mobile);
  --section-padding-spacious: var(--spacing-spacious-mobile);

  /* Component Spacing - For backwards compatibility */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  --space-section: 80px; /* Standard section offset for overlapping elements */

  /* Navigation Padding */
  --nav-padding-default: 1.25rem; /* Default nav padding */
  --nav-padding-default-tablet: 1.5rem; /* Tablet nav padding */
  --nav-padding-scrolled: 1rem; /* Scrolled state padding */

  /* Container */
  --container-max: 1600px;
  --container-padding: clamp(1.5rem, 5vw, 4rem);

  /* Grid System */
  --grid-columns: 12;
  --grid-gap: clamp(1.5rem, 3vw, 2.5rem);

  /* Animation Timing */
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  
  /* Border Radius */
  --border-radius: 5px;

  /* Subtitle Typography */
  --subtitle-font-family: 'Urbanist', sans-serif;
  --subtitle-font-size: 13px;
  --subtitle-font-weight: 400;
  --subtitle-letter-spacing: 0.3em;
  --subtitle-text-transform: uppercase;
  --subtitle-color: var(--color-primary);

  /* Testimonial Typography */
  --testimonial-text-font: var(--font-display);
  --testimonial-text-size: var(--text-heading-3);
  --testimonial-text-weight: 300;
  --testimonial-text-line-height: 1.5;
  --testimonial-text-letter-spacing: 0.5px;
  --testimonial-text-color: var(--color-charcoal);
  --testimonial-quote-size: 120px;
  --testimonial-quote-color: var(--color-primary);
  --testimonial-quote-opacity: 0.8;
  --testimonial-quote-weight: 600;

  /* Author Typography */
  --author-name-font: var(--font-heading);
  --author-name-size: var(--text-body);
  --author-name-weight: 600;
  --author-name-color: var(--color-charcoal);

  /* Accordion Component */
  --accordion-title-font: var(--font-heading);
  --accordion-title-size: clamp(1.5rem, 3vw, 2.5rem);
  --accordion-title-weight: 600;
  --accordion-title-color: #1d1d1f;
  --accordion-title-letter-spacing: -0.02em;
  --accordion-subtitle-font: var(--font-body);
  --accordion-subtitle-size: 0.875rem;
  --accordion-subtitle-weight: 400;
  --accordion-subtitle-color: var(--color-ash);

  /* Modal Component */
  --modal-title-font: var(--font-heading);
  --modal-title-size: clamp(1.75rem, 3vw, 2.5rem);
  --modal-title-weight: 600;
  --modal-title-color: var(--color-charcoal);
  --modal-description-font: var(--font-body);
  --modal-description-size: var(--text-body);
  --modal-description-color: var(--color-ash);
}

/* ===========================
   2. RESET & BASE STYLES
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Ensure smooth native scrolling */
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.5px;
  color: var(--color-charcoal);
  background-color: white;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-family: var(--font-body);
  font-size: var(--text-body); /* Responsive: 1rem mobile, 1.125rem desktop */
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-ash);
  margin-bottom: var(--space-md);
}

/* Desktop paragraph size */
@media (min-width: 1024px) {
  :root {
    /* Reduce --text-display by 20% on desktop */
    --text-display: clamp(1.9rem, calc((4.5vw + 0.9rem) * 0.7), 3.485rem);
    --text-body: 1.125rem; /* Desktop: 1.125rem */
  }
}

/* Remove bottom margin from paragraphs immediately followed by lists */
p:has(+ ol),
p:has(+ ul) {
  margin-bottom: 0;
}

/* Ordered list styling */
ol {
  margin: 0.5rem 0 var(--space-md) 1rem;
  padding-left: 0;
  list-style: none;
  counter-reset: custom-counter;
}

ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-charcoal);
}

ol li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  color: var(--color-mauve);
  font-size: 1.125rem;
}

ol li:last-child {
  margin-bottom: 0;
}

/* Unordered list styling - Slick custom bullets */
ul {
  margin: 1rem 0 1.5rem 1rem;
  padding-left: 0;
  list-style: none;
}

ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-charcoal);
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

ul li:hover::before {
  transform: scale(1.3);
  background-color: var(--color-primary-dark);
}

ul li:last-child {
  margin-bottom: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: var(--color-bone);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* ===========================
   3. LUXURY PRELOADER
   =========================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--gradient-loader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  transform: scale(1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s var(--ease-smooth);
}

/* Completion state - Refined */
.page-loader.complete .loader-number {
  animation: completeGlow 0.8s var(--ease-smooth);
}

.page-loader.complete .loader-fill {
  box-shadow: 0 0 15px rgba(145, 75, 139, 0.3);
}

.page-loader.complete .loader-text {
  /* Keep the text visible - maintain opacity */
  opacity: 1 !important;
  /* Remove animation to prevent upward movement */
  animation: none;
}

@keyframes completeGlow {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

/* Removed completeFadeUp animation - no longer needed */

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 3rem; /* Original value for preloader */
  max-width: 500px;
  width: 90%;
}

/* Logo Pattern Animation */
.loader-pattern {
  width: 80px;
  height: 80px;
  margin: 0 auto 3rem;
  position: relative;
  opacity: 0;
  animation: patternFadeIn 0.8s 0.2s var(--ease-smooth) forwards, rotatePattern 8s linear infinite;
  order: 1;
}

.loader-pattern-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 4px 20px rgba(145, 75, 139, 0.2));
}

@keyframes patternFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes rotatePattern {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-progress {
  width: 100%;
  max-width: 240px;
  height: 1px;
  background: rgba(145, 75, 139, 0.08);
  overflow: hidden;
  margin: 0 auto 1rem;
  border-radius: 100px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s 0s var(--ease-smooth) forwards;
  order: 2;
}

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

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

.loader-fill {
  height: 100%;
  background: var(--color-primary);
  width: 0;
  transition: width 0.03s linear;
  border-radius: 100px;
  position: relative;
  opacity: 0.9;
}

.loader-fill::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(145, 75, 139, 0.5);
}

.loader-counter {
  font-family: var(--font-accent);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 25px;
  opacity: 0;
  animation: fadeInUp 0.6s 0s var(--ease-smooth) forwards;
  margin-bottom: var(--space-md);
  order: 3;
}

.loader-number {
  display: inline-block;
  min-width: 3ch;
  text-align: right;
  transition: all 0.3s var(--ease-smooth);
  opacity: 0.7;
}

.loader-percent {
  font-size: inherit;
  margin-left: 0.1rem;
  color: var(--color-primary);
  font-weight: 400;
  opacity: 0.7;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-top: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  order: 4;
}

/* Sophisticated line decoration */
.loader-text::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--gradient-divider);
  opacity: 0.5;
}

.loader-text::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--gradient-divider);
  opacity: 0.5;
}

/* Main text "Entering Allium" */
.loader-main-text {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* Removed pulse animation for more sophisticated static presence */

/* Loading screen entrance animation */
@keyframes loaderEntrance {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.page-loader {
  animation: loaderEntrance 0.4s var(--ease-smooth) forwards;
}

/* Responsive adjustments for loader */
@media (max-width: 768px) {
  .loader-pattern {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
  }

  .loader-counter {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
  }

  .loader-text {
    font-size: 13px;
  }

  .loader-tagline {
    font-size: clamp(0.625rem, 2vw, 0.75rem);
  }

  .loader-progress {
    max-width: 200px;
  }
}

/* ===========================
   5. LUXURY NAVIGATION SYSTEM
   =========================== */
.nav-primary {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: var(--nav-padding-default) 0;
  background: transparent;
  transition: all 0.3s ease;
  display: block;
  visibility: visible;
  opacity: 1;
  transform: none;
}

/* Service page navigation - starts relative, becomes fixed on scroll */
.nav-primary.service-page {
  position: relative;
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  top: auto; /* Reset top positioning */
  left: auto; /* Reset left positioning */
  right: auto; /* Reset right positioning */
}

.nav-primary.service-page::before {
  opacity: 1; /* Always show white background on service pages */
}

.nav-primary.service-page.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); /* Slightly stronger shadow when sticky */
}

.nav-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.nav-primary.scrolled {
  padding: var(--nav-padding-scrolled) 0;
}

.nav-primary.scrolled::before {
  opacity: 1;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  visibility: visible;
  opacity: 1;
  z-index: 1;
}

/* Logo Styling */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 45px;
  width: auto;
  transform: translateY(0);
  transition: transform 0.4s var(--ease-smooth);
  visibility: visible;
  opacity: 1;
  z-index: 10;
}

.nav-logo:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.logo-white {
  display: block;
  opacity: 1;
  visibility: visible;
}

.logo-dark {
  display: none;
  opacity: 0;
}

.nav-primary.scrolled .logo-white {
  display: none;
  opacity: 0;
}

.nav-primary.scrolled .logo-dark {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Navigation Menu - Grey glass effect on hero */
.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--gap-default-mobile);
  align-items: center;
  background: rgba(128, 128, 128, 0.3);
  /* Grey transparent glass */
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  padding: 0.625rem 1.75rem;
  border-radius: var(--border-radius);
  /* No rounded corners */
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: none;
  color: white;
  /* White text on grey glass bg */
  text-decoration: none;
  transition: color 0.3s ease;
  overflow: hidden;
}

.nav-link-text {
  display: block;
  transition: transform 0.4s var(--ease-smooth);
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover .nav-link-text {
  transform: translateY(-1px);
}

/* Hide the underline animation for cleaner look */
.nav-link-line {
  display: none;
}

/* After scrolling - no background for nav-menu */
.nav-primary.scrolled .nav-menu {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--border-radius);
}

.nav-primary.scrolled .nav-link {
  color: var(--color-charcoal);
}

.nav-primary.scrolled .nav-link:hover {
  color: var(--color-primary);
}

/* Services Dropdown Menu */
.nav-link-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-dropdown > .nav-link {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Show dropdown on hover */
.nav-link-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.nav-dropdown-item:hover {
  background: var(--color-cream);
  color: var(--color-primary);
  padding-left: 1.75rem;
}

.nav-dropdown-item span {
  position: relative;
}

/* When nav is transparent (not scrolled) */
.nav-primary:not(.scrolled) .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Contact CTA Button */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-cta-contact {
  position: relative;
  padding: 0.75rem 2rem;
  background: var(--color-primary);
  border: none;
  border-radius: var(--border-radius);
  /* Square corners */
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta-contact .cta-text {
  position: relative;
  z-index: 1;
  color: white;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Hide the background animation span */
.nav-cta-contact .cta-background {
  display: none;
}

.nav-cta-contact:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 20px rgba(145, 75, 139, 0.25);
}

.nav-cta-contact:hover .cta-text {
  transform: translateY(-1px);
}

.nav-primary.scrolled .nav-cta-contact {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.nav-primary.scrolled .nav-cta-contact:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(145, 75, 139, 0.2);
}

.nav-primary.scrolled .nav-cta-contact:hover .cta-text {
  color: white;
}

/* Form Submit Button - Matches Nav CTA Contact Button */
.form-submit-btn {
  width: 100%;
  padding: 0.75rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(145, 75, 139, 0.25);
}

/* Form Select Dropdown - Matches Paragraph Text Styling */
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-sand);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--color-ash);
  background: white;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-select option {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3938;
  letter-spacing: 0.5px;
}

@media (min-width: 1024px) {
  .form-select option {
    font-size: 1.125rem;
  }
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-native {
  display: none !important;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 0.875rem 1rem;
  padding-right: 3rem;
  border: 1px solid var(--color-sand);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--color-ash);
  background: white;
  transition: border-color 0.3s ease;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-select-trigger:focus {
  border-color: var(--color-primary);
  outline: none;
}

.custom-select.active .custom-select-trigger {
  border-color: var(--color-primary);
}

.custom-select-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-icon {
  font-size: 1.25rem;
  color: var(--color-ash);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.custom-select.active .custom-select-icon {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--color-sand);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.custom-select.active .custom-select-dropdown {
  max-height: 400px;
  opacity: 1;
  visibility: visible;
}

.custom-select-options {
  list-style: none !important;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
}

.custom-select-option {
  position: relative;
  padding: 0.875rem 1rem !important;
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--color-ash);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Remove bullets from global ul li styles */
.custom-select-option::before {
  display: none !important;
  content: none !important;
}

.custom-select-option:hover {
  background-color: var(--color-cream);
}

.custom-select-option.selected {
  background-color: var(--color-cream);
  font-weight: 500;
}

.custom-select-option:first-child {
  color: var(--color-ash);
  opacity: 0.6;
}

/* Optgroup Labels */
.custom-select-optgroup-label {
  padding: 0.875rem 1rem !important;
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--color-ash);
  background-color: var(--color-cream);
  cursor: default;
  pointer-events: none;
}

.custom-select-optgroup-label::before {
  display: none !important;
  content: none !important;
}

/* Responsive font size */
@media (min-width: 1024px) {
  .custom-select-trigger,
  .custom-select-option,
  .custom-select-optgroup-label {
    font-size: 1.125rem;
  }
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 0;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  touch-action: manipulation; /* Improve touch responsiveness */
}

.toggle-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; /* Fixed width for consistent X */
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.4s var(--ease-smooth);
}

.toggle-line-1 {
  top: 8px;
}

.toggle-line-2 {
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.toggle-line-3 {
  bottom: 8px;
}

.nav-primary.scrolled .toggle-line {
  background: var(--color-charcoal);
}

/* Ensure hamburger lines are centered */
.nav-toggle:not(.active) .toggle-line {
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle:not(.active) .toggle-line-2 {
  transform: translateX(-50%) translateY(-50%);
}

/* Override scrolled state when toggle is active - higher specificity */
.nav-primary.scrolled .nav-toggle.active .toggle-line {
  background: rgb(255, 255, 255) !important;
}

.nav-toggle.active .toggle-line-1 {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav-toggle.active .toggle-line-2 {
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) scale(0);
}

.nav-toggle.active .toggle-line-3 {
  bottom: 50%;
  transform: translateX(-50%) translateY(50%) rotate(-45deg);
}

/* Ensure toggle lines are always white when menu is active */
.nav-toggle.active .toggle-line {
  background: rgba(255, 255, 255, 1) !important; /* Pure white lines for X */
  height: 2px !important; /* Visible but elegant lines */
  width: 28px !important; /* Slightly longer for better X shape */
}

/* Ensure toggle button stays above mobile overlay when active */
.nav-toggle.active {
  position: fixed !important;
  right: 24px !important;
  top: 24px !important;
  z-index: 100002 !important; /* Above overlay */
  width: 44px !important; /* Good mobile tap target */
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.2) !important; /* Subtle dark glass effect */
  backdrop-filter: blur(8px) !important; /* Light frosted glass */
  -webkit-backdrop-filter: blur(8px) !important; /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Subtle white border */
  border-radius: 50% !important; /* Circular shape */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: all 0.2s ease !important;
}

/* Add subtle hover/tap feedback */
.nav-toggle.active:hover {
  background: rgba(0, 0, 0, 0.3) !important; /* Slightly darker on hover */
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.nav-toggle.active:active {
  transform: scale(0.92) !important; /* Subtle press feedback */
}

/* Ensure nav doesn't hide toggle button with overflow */
.nav-primary.menu-open {
  overflow: visible !important;
  transform: none !important; /* Prevent any transforms from affecting button */
  will-change: auto !important;
}

.nav-primary.menu-open .nav-container {
  overflow: visible !important;
  transform: none !important;
  position: static !important; /* Don't contain the fixed button */
}

/* Adjust position for smaller mobile screens */
@media (max-width: 768px) {
  .nav-toggle.active {
    right: 20px !important;
    top: 20px !important;
    width: 48px !important;
    height: 48px !important;
  }
}

/* Mobile Navigation Overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s ease;
  pointer-events: none; /* Prevent blocking clicks when hidden */
}

.nav-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Enable clicks when visible */
}

.nav-mobile-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--container-padding);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--gap-default-mobile);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: var(--gap-default-mobile);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s var(--ease-smooth);
}

.nav-mobile-overlay.active .nav-mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-overlay.active .nav-mobile-link:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-mobile-overlay.active .nav-mobile-link:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-mobile-overlay.active .nav-mobile-link:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-mobile-overlay.active .nav-mobile-link:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-link-number {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: var(--ls-wide);
}

.mobile-link-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--color-cream);
  letter-spacing: 0.5px;
  transition: all 0.4s var(--ease-smooth);
}

/* Only apply hover on non-touch devices, and exclude dropdown toggle */
@media (hover: hover) and (pointer: fine) {
  .nav-mobile-link:not(.nav-mobile-dropdown-toggle):hover .mobile-link-text {
    color: var(--color-primary);
    transform: translateX(10px);
  }
}

.nav-mobile-cta .mobile-link-text {
  color: var(--color-primary);
}

/* Mobile Dropdown/Submenu Styles */
.nav-mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.nav-mobile-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-mobile-link-main {
  display: flex;
  align-items: center;
  gap: var(--gap-default-mobile);
  text-decoration: none;
  flex: 1;
}

.nav-mobile-dropdown-toggle {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.mobile-dropdown-icon {
  font-size: 1.5rem;
  color: white;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.nav-mobile-dropdown.active .mobile-dropdown-icon {
  transform: rotate(180deg);
}

.nav-mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 3rem;
  margin-top: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile-dropdown.active .nav-mobile-submenu {
  max-height: 600px;
  opacity: 1;
  margin-top: 1rem;
}

.nav-mobile-submenu-link {
  display: block;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile-dropdown.active .nav-mobile-submenu-link {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile-dropdown.active .nav-mobile-submenu-link:nth-child(1) {
  transition-delay: 0.2s;
}

.nav-mobile-dropdown.active .nav-mobile-submenu-link:nth-child(2) {
  transition-delay: 0.35s;
}

.nav-mobile-dropdown.active .nav-mobile-submenu-link:nth-child(3) {
  transition-delay: 0.5s;
}

.nav-mobile-dropdown.active .nav-mobile-submenu-link:nth-child(4) {
  transition-delay: 0.65s;
}

.nav-mobile-dropdown.active .nav-mobile-submenu-link:nth-child(5) {
  transition-delay: 0.8s;
}

.mobile-submenu-text {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.nav-mobile-submenu-link:hover .mobile-submenu-text {
  color: var(--color-primary);
  transform: translateX(10px);
}

.nav-mobile-footer {
  position: absolute;
  bottom: var(--container-padding);
  left: var(--container-padding);
  right: var(--container-padding);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--ease-smooth);
  transition-delay: 0.5s;
}

.nav-mobile-overlay.active .nav-mobile-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-footer-info p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--ls-wide);
  line-height: 1.6;
}

/* ===========================
   6. HERO SECTION - HOMEPAGE SPECIFIC
   Homepage has unique hero with its own structure
   =========================== */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh; /* Small viewport height - excludes mobile browser UI */
  overflow: hidden;
  background: #000; /* Dark background as fallback */
  z-index: 1;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  /* Container for parallax effect */
  height: 100%;
  z-index: 2;
  opacity: 1;
  overflow: hidden;
}

/* Darker gradient overlay at the top for better logo visibility */
.hero-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%; /* Cover top 40% of the hero */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,     /* Darker at the very top */
    rgba(0, 0, 0, 0.3) 30%,    /* Medium dark */
    rgba(0, 0, 0, 0.1) 70%,    /* Light dark */
    transparent 100%           /* Fade to transparent */
  );
  pointer-events: none;
  z-index: 3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  display: block;
}

.hero-content {
  position: absolute;
  left: 3vh;
  bottom: 3vh;
  /* Positioned near bottom left with equal margins */
  z-index: 10;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 8.5vw;
  /* Larger, more prominent size */
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.5px;
  color: var(--color-cream);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-title .line {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   7. BUTTONS & LINKS
   =========================== */

/* Text link styles - standalone links that match body text size */
.text-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  /* 1.125rem - same as paragraph text */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-primary);
  text-decoration: none;
  transition: font-weight 0.2s ease, letter-spacing 0.2s ease;
  position: relative;
}

/* Paragraph link styles - inherit paragraph text styling */
p a {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--color-charcoal);
  text-decoration: underline;
  position: relative;
}

/* Card link styles - smaller links inside cards */
.card-link-text,
.card__content a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  /* 0.9rem - smaller for card links */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-primary);
  text-decoration: none;
  transition: font-weight 0.2s ease, letter-spacing 0.2s ease;
  position: relative;
}

a.link-margin-top  {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

/* Text link hover states */
.text-link:hover,
.text-link:focus,
.text-link:active {
  font-weight: 800;
  letter-spacing: var(--ls-hover);
}

/* Paragraph link hover states */
p a:hover,
p a:focus,
p a:active {
  color: var(--color-primary);
}

/* Card link hover states */
.card-link-text:hover,
.card-link-text:focus,
.card-link-text:active,
.card__content a:hover,
.card__content a:focus,
.card__content a:active {
  font-weight: 800;
  letter-spacing: var(--ls-hover);
}

/* ===========================
   8. SECTIONS
   =========================== */
.section {
  padding: var(--spacing-spacious-mobile) 0;
  position: relative;
  overflow: visible;
  z-index: 10;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-spacious-tablet) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--spacing-spacious-desktop) 0;
  }
}

.section.section--about {
  background: var(--color-cream);
  position: relative;
  z-index: 10;
}

.section.section--home_services {
  background: var(--gradient-surface);
  position: relative;
  z-index: 10;
}

.section.section--testimonials {
  background: var(--color-cream);
  overflow: visible !important; /* Ensure quotation marks are not clipped */
  position: relative;
  z-index: 10;
}


/* Suites Section - Accordion Layout */
.section.section--suites {
  overflow: visible !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--color-cream);
  position: relative;
  z-index: 10;
}

/* Accordion Styles */
.accordion {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.accordion-item {
  border-bottom: 1px solid #d2d2d7;
  transition: all 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

.accordion-item.active .accordion-header {
  background: transparent;
}

.accordion-header:hover {
  background: transparent;
}

.accordion-title {
  font-family: var(--accordion-title-font);
  font-size: var(--accordion-title-size);
  font-weight: var(--accordion-title-weight);
  color: var(--accordion-title-color);
  letter-spacing: var(--accordion-title-letter-spacing);
  margin: 0;
  line-height: 1.2;
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3b3b5;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.accordion-icon i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.accordion-item.active .accordion-content {
  max-height: 600px;
  padding: 0 0 2rem 0;
}

/* Hide mobile images by default on desktop */
.accordion-mobile-image {
  display: none;
}

.accordion-subtitle {
  display: block;
  font-family: var(--accordion-subtitle-font);
  font-size: var(--accordion-subtitle-size);
  font-weight: var(--accordion-subtitle-weight);
  color: var(--accordion-subtitle-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.accordion-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-primary);
  text-decoration: none;
  transition: font-weight 0.2s ease, letter-spacing 0.2s ease;
  position: relative;
}

.accordion-link:hover {
  font-weight: 800;
  letter-spacing: var(--ls-hover);
}

.accordion-link i {
  display: none;
}

/* Image Display */
.accordion-image-display {
  position: relative;
  width: 100%;
}

.accordion-image-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease;
}

.accordion-image-item.active {
  opacity: 1;
  visibility: visible;
}

.accordion-image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.accordion-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    transparent 60%, 
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Hide the separate image display on mobile */
  .accordion-image-display {
    display: none;
  }
  
  /* Show images inside accordion on mobile */
  .accordion-mobile-image {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
  }
  
  .accordion-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .accordion-title {
    font-size: 1.5rem;
  }
  
  .accordion-header {
    padding: 1.25rem 0;
  }
  
  .accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 0 0 1.5rem 0;
  }
  
  .accordion-icon i {
    font-size: 18px;
  }
}

.section.section--contact {
  background: var(--color-bone);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--container-padding-tablet);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--container-padding-desktop);
  }
}

.header-group {
  text-align: center;
  margin-bottom: var(--space-default);
}

.subtitle {
  font-family: var(--subtitle-font-family);
  font-size: var(--subtitle-font-size);
  font-weight: var(--subtitle-font-weight);
  letter-spacing: var(--subtitle-letter-spacing);
  text-transform: var(--subtitle-text-transform);
  color: var(--subtitle-color);
  display: inline-block;
  margin-bottom: var(--space-default);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--color-charcoal);
  margin-bottom: var(--space-default);
}

.section--testimonials .section-title {
  color: var(--color-charcoal);
}

.section-title .line {
  display: block;
}

/* Text Utilities - Reusable across site */
.text-secondary {
  color: var(--color-graphite);
}

.text-primary {
  color: var(--color-primary);
}

/* Reusable Heading Styles - Can be used on any element (h3, h5, span, div, etc.) */
.text-heading-medium {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-charcoal);
  margin: 0 0 1.5rem 0;
  font-family: var(--font-heading);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .text-heading-medium {
    font-size: 2rem;
  }
}
.text-heading-small {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 3.5rem;
  display: block;
}

.text-subheading-small {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: block;
}

.text-subheading-small-alt {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
  display: block;
}

/* ===========================
   9. ABOUT SECTION - HOMEPAGE
   These classes are used in the homepage About section but are generic enough to be reused.
   =========================== */

/* Two-column grid layout - Used in homepage About section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Container for statistics display - Homepage About section */
.about-stats {
  display: flex;
  gap: var(--space-lg);
}

/* Individual stat item - Generic, reusable */
.stat-item {
  text-align: center;
}

/* Large number display for stats - Generic, reusable */
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  display: block;
}

/* Base label class for reusable small text */
.label-text {
  font-family: var(--font-accent);
  font-size: var(--text-micro);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-ash);
}

/* Primary section header - for forms and content sections */
.section-header-primary {
  font-family: var(--font-primary);
  font-size: var(--text-body-large);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Reusable heading style - can be applied to any element (h3, h4, p, etc.) */
.heading-dark {
  font-family: var(--font-heading);
  font-size: var(--text-heading-3);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

/* Label spacing for stats - Generic, reusable */
.stat-label {
  margin-top: var(--space-xs);
  display: block;
}

/* Image container with border radius - Homepage About section */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* ===========================
   10. CARD GRID COMPONENT - REUSABLE
   Generic card grid component that can be used for services, products, features, etc.
   =========================== */

/* Allow container to overflow for swiper */
.section--home_services .container {
  overflow: visible;
}

/* Card Grid Swiper - all screen sizes */
.card-grid-swiper {
  overflow: hidden;
  position: relative;
  padding-bottom: var(--spacing-default-mobile);
  margin-left: calc(-1 * var(--container-padding-mobile));
  padding-left: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .card-grid-swiper {
    margin-left: calc(-1 * var(--container-padding-tablet));
    padding-left: var(--container-padding-tablet);
  }

  .card-grid-swiper .swiper-wrapper {
    padding-right: var(--container-padding-tablet);
  }

  .card-grid-swiper .swiper-slide {
    width: calc((100vw - 80px - 25px) / 2.5);
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .card-grid-swiper .swiper-wrapper {
    padding-right: var(--container-padding-mobile);
  }

  .card-grid-swiper .swiper-slide {
    width: calc((100vw - 48px - 20px) / 2);
  }
}

.card-grid-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  padding-right: var(--container-padding-mobile);
}

.card-grid-swiper .swiper-slide {
  width: calc((100vw - 48px - 16px) / 1.3);
  flex-shrink: 0;
  height: auto;
}

/* Ensure card link takes full width of slide */
.card-grid-swiper .swiper-slide .card-link {
  width: 100%;
  display: block;
  padding:0 !important
}

/* Desktop: Display all items in a single row (5 columns by default) */
@media (min-width: 1024px) {
  .card-grid-compact.card-grid-swiper {
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .card-grid-compact .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: var(--gap-default-tablet) !important;
    transform: none !important;
    transition: none !important;
  }

  .card-grid-compact .swiper-slide {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-right: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .card-grid-compact .swiper-scrollbar {
    display: none !important;
  }

  /* Ensure cards don't have min-width constraints */
  .card-grid-compact .card {
    min-width: 0;
    width: 100%;
    padding: 0;
  }

  .card-grid-compact .item-subtitle,
  .card-grid-compact .subtitle, .card__content .subtitle {
    font-size: 12px;
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  }
}

/* Make cards equal height */
.card-grid-swiper .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-grid-swiper .card-content,
.card-grid-swiper .card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-grid-swiper .card-text,
.card-grid-swiper .card__content p {
  flex: 1;
  /* Take up remaining space */
  margin-bottom: var(--space-sm);
}

/* Scrollbar styling for mobile/tablet */
.card-grid-swiper .swiper-scrollbar {
  position: absolute !important;
  bottom: 0 !important;
  height: 4px !important;
  background: rgba(214, 210, 202, 0.3) !important;
  border-radius: 2px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.card-grid-swiper .swiper-scrollbar-drag {
  background: #d6d2ca !important;
  border-radius: 2px !important;
  height: 100% !important;
  cursor: grab !important;
}

.card-grid-swiper .swiper-scrollbar-drag:active {
  cursor: grabbing !important;
}



/* Hide default Swiper controls */
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

.swiper-pagination {
  display: none !important;
}


/* ===========================
   11. CARD COMPONENT - REUSABLE
   Generic card component for any content type
   =========================== */
.card {
  position: relative;
  background: var(--gradient-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.6s var(--ease-smooth);
  cursor: pointer;
  padding: 0;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

/* Card link wrapper */
.card-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* Add shadow effect on hover for entire card */
.card-link:hover .card {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Trigger Explore link hover effect when hovering the card - matches text-link hover */
.card-link:hover .card-link-text {
  font-weight: 800;
  letter-spacing: var(--ls-hover);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      transparent 40%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.card:hover::before {
  transform: translateX(100%);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(145, 75, 139, 0.05);
}

.card__image {
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 3/2;
  border-radius: var(--border-radius);
}

.card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.2s var(--ease-smooth);
}

.card:hover .card__image img {
  transform: scale(1.08);
}

/* Card image hover effect - triggers on parent link hover */
.card-link:hover .card__image img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 50%,
      rgba(31, 30, 29, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card__content {
  padding: var(--spacing-default-mobile);
}

@media (min-width: 768px) {
  .card__content {
    padding: var(--spacing-default-tablet);
  }
}

/* Specific padding for homepage services section */
.section--home_services .card__content {
  padding: 24px;
}

.card__content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

/* Card link styles now inherited from unified content link styles above */

/* Mobile-specific card fixes */
@media (max-width: 768px) {
  /* Ensure cards in swiper have proper width on mobile */
  .card-grid-swiper .swiper-slide {
    width: calc(100vw - 48px) !important; /* Full width minus container padding */
    max-width: 320px; /* Reasonable max width for mobile cards */
  }

  /* Ensure text wraps properly in card content */
  .card__content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    width: 100%;
    white-space: normal;
  }

  /* Ensure card content has proper constraints */
  .card__content {
    max-width: 100%;
    overflow: hidden;
  }

  /* Make swiper scrollbar more visible on mobile */
  .card-grid-swiper .swiper-scrollbar {
    height: 6px !important;
    background: rgba(214, 210, 202, 0.5) !important;
  }

  /* Adjust font size for better mobile readability */
  .card__content h3 {
    font-size: 1.25rem;
  }

  .card__content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

/* Smaller phones - show more of next card for scrollability hint */
@media (max-width: 400px) {
  .card-grid-swiper .swiper-slide {
    width: calc(100vw - 88px) !important; /* Narrower cards to show more of next card */
  }
}

/* ===========================
   12. TESTIMONIALS
   =========================== */
.testimonials-slider {
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible !important; /* Ensure quotation marks are not clipped */
}

.testimonial-box {
  /* removed the box in v7
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--space-lg);
  */
  text-align: center;
  padding-top: 80px; /* Increased padding to accommodate -4rem top quote */
  overflow: visible; /* Ensure quotation marks are not clipped */
}


.testimonial-text {
  font-family: var(--testimonial-text-font);
  font-size: var(--testimonial-text-size);
  font-weight: var(--testimonial-text-weight);
  font-style: normal;
  line-height: var(--testimonial-text-line-height);
  letter-spacing: var(--testimonial-text-letter-spacing);
  color: var(--testimonial-text-color);
  margin-bottom: var(--space-lg);
  position: relative;
  padding: 0 60px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .testimonial-text {
    max-width: 80%;
  }
}

.testimonial-text::before,
.testimonial-text::after {
  position: absolute;
  font-family: Georgia, serif;
  font-size: var(--testimonial-quote-size);
  line-height: 1;
  color: var(--testimonial-quote-color);
  opacity: var(--testimonial-quote-opacity);
  font-weight: var(--testimonial-quote-weight);
}

.testimonial-text::before {
  content: '\201C';
  top: -4rem; /* Positioned as requested */
  left: -40px; /* Moved more to the left for better positioning */
}

.testimonial-text::after {
  content: '\201D';
  bottom: -7rem; /* Positioned as requested */
  right: -40px; /* Adjusted for symmetry with left quotation mark */
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
}

/* .author-image styles removed - unused class */

.author-info {
  text-align: center;
}

.author-name {
  font-family: var(--author-name-font);
  font-size: var(--author-name-size);
  font-weight: var(--author-name-weight);
  color: var(--author-name-color);
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.author-role {
  margin-bottom: 0;
}

/* .testimonial-read-more styles removed - unused class */

/* Mobile adjustments for testimonials */
@media (max-width: 768px) {
  .testimonial-box {
    padding-top: 60px; /* Adjusted to accommodate -2.5rem top quote on mobile */
  }

  .testimonial-text {
    font-size: var(--text-base); /* Mobile: 1rem */
    padding: 0 40px; /* Reduced padding for quotation marks */
  }

  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 80px; /* Smaller quotation marks on mobile */
  }

  .testimonial-text::before {
    top: -2.5rem; /* Proportionally reduced for mobile */
    left: 0; /* Moved inward to prevent clipping */
  }

  .testimonial-text::after {
    bottom: -4.5rem; /* Proportionally reduced for mobile */
    right: 0; /* Moved inward to prevent clipping */
  }
}

/* Swiper Customization */
.swiper-pagination {
  position: relative;
  margin-top: var(--space-lg);
  /* Hide pagination for single testimonial */
  display: none !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--color-stone);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-cream);
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-cream);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  /* Hide navigation buttons for single testimonial */
  display: none !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

/* ===========================
   QUOTE BLOCK
   =========================== */
.quote-block {
  max-width: 900px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-charcoal);
  font-style: italic;
  margin-bottom: var(--space-md);
  position: relative;
}

.quote-author {
  font-family: var(--font-primary);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-ash);
  font-style: normal;
  letter-spacing: 0.5px;
  display: block;
  margin-top: var(--space-md);
}

/* Decorative quotation marks */
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.3;
}

@media (min-width: 768px) {
  .quote-block {
    padding: var(--space-xl) var(--space-lg);
  }

  .quote-block::before {
    font-size: 120px;
  }
}

/* ===========================
   16. FOOTER
   =========================== */
.footer-luxury {
  position: relative;
  background: white;
  color: var(--color-charcoal);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  align-items: start;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-charcoal);
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.footer-column a {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-charcoal);
  opacity: 0.8;
  text-decoration: none;
  margin-bottom: var(--space-xs);
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: 0;
}

.footer-column a:hover:not(.cost-nav-option-3) {
  color: var(--color-primary);
  opacity: 1;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-start;
  margin-bottom: var(--space-md);
}

.footer-brand .footer-social {
  margin-bottom: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  width: 100%;
  height: 100%;
}

.social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-slogan {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--color-charcoal);
  opacity: 0.8;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-charcoal);
}

.footer-bottom p {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-charcoal);
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

a.gkgoh-link {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-charcoal);
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

a.gkgoh-link:hover,
a.gkgoh-link:focus,
a.gkgoh-link:active {
  color: #009fe3;
  opacity: 1;
  font-weight: 400;
  letter-spacing: 0;
}

/* Cost Navigator Link - Footer CTA */

/* Footer CTA Column */
.footer-cta-column {
  display: flex;
  flex-direction: column;
}

.footer-cta-column .footer-social {
  margin-top: 8px;
  margin-bottom: 0;
  gap: 12px;
}

/* Desktop only - Equal height columns and bottom-aligned social */
@media (min-width: 1024px) {
  .footer-content {
    align-items: stretch;
  }

  .footer-brand,
  .footer-column,
  .footer-cta-column {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .footer-brand > * {
    flex-shrink: 0;
  }

  .footer-logo-img {
    align-self: flex-start;
  }

  .footer-cta-column .footer-social {
    margin-top: auto;
  }
}

.footer-cta-column .social-link {
  width: 36px;
  height: 36px;
}

/* Cost Navigator Card */
.cost-nav-option-3 {
  display: flex !important;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  background: white;
  border: 2px solid var(--color-mauve);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(145, 75, 139, 0.1);
  opacity: 1 !important;
}

.cost-nav-option-3 i {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--color-mauve);
  transition: transform 0.3s ease;
}

.cost-nav-option-3-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cost-nav-option-3-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.2;
}

.cost-nav-option-3-subtitle {
  font-family: var(--font-body);
  font-size: 0.813rem;
  font-weight: 400;
  color: var(--color-ash);
  line-height: 1.3;
}

a.cost-nav-option-3:hover,
a.cost-nav-option-3:hover:focus,
a.cost-nav-option-3:hover:active {
  background-color: var(--color-primary) !important;
  background: var(--color-primary) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(145, 75, 139, 0.25);
}

a.cost-nav-option-3:hover i,
a.cost-nav-option-3:hover:focus i,
a.cost-nav-option-3:hover:active i {
  color: white !important;
  transform: scale(1.1);
}

a.cost-nav-option-3:hover .cost-nav-option-3-title,
a.cost-nav-option-3:hover:focus .cost-nav-option-3-title,
a.cost-nav-option-3:hover:active .cost-nav-option-3-title {
  color: white !important;
}

a.cost-nav-option-3:hover .cost-nav-option-3-subtitle,
a.cost-nav-option-3:hover:focus .cost-nav-option-3-subtitle,
a.cost-nav-option-3:hover:active .cost-nav-option-3-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ===========================
   17. ANIMATIONS
   =========================== */
@keyframes heroReveal {
  to {
    opacity: 1;
  }
}

@keyframes titleReveal {
  to {
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* ===========================
   18. REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ===========================
   19. RESPONSIVE DESIGN
   =========================== */
/* Navigation Responsive Styles */
@media (max-width: 1024px) {

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-primary {
    padding: var(--nav-padding-default-tablet) 0;
  }

  .nav-primary.scrolled {
    padding: var(--nav-padding-scrolled) 0;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 var(--container-padding-desktop);
  }
}

@media (max-width: 768px) {
  .nav-logo {
    height: 35px;
  }

  .logo-img {
    height: 35px;
  }

  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image-group {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-logo-img {
    margin: 0 0 var(--space-sm) 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: clamp(3rem, 10vw, 4rem);
    --text-display: clamp(1.76rem, calc(8vw * 0.88), 2.64rem);
  }

  .hero-content {
    bottom: 24px;
    left: 24px;
    /* Fixed positioning relative to hero container - prevents jumping */
  }


  /* .services-grid removed - unused class */

  .about-stats {
    justify-content: space-around;
  }

  .form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
}

/* Desktop and Laptop styles (1024px and up) */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.762vw;
  }
}

/* Suite Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  background: var(--bg-white);
  border-radius: 4px;
  overflow-y: auto;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.modal.active .modal-content {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--bg-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: var(--bg-hover);
  transform: rotate(90deg);
}

.modal-inner {
  padding: var(--space-lg); /* 3rem on mobile */
}

@media (min-width: 768px) {
  .modal-inner {
    padding: 4rem; /* Original value */
  }
}

.modal-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.modal-title {
  font-family: var(--modal-title-font);
  font-size: var(--modal-title-size);
  font-weight: var(--modal-title-weight);
  color: var(--modal-title-color);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.modal-description {
  font-family: var(--modal-description-font);
  font-size: var(--modal-description-size);
  line-height: 1.8;
  color: var(--modal-description-color);
  max-width: 700px;
  margin: 0 auto;
}

.modal-disclaimer {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-ash);
  text-align: center;
  margin-top: 2rem;
}

/* Carousel Styles */
.modal-carousel {
  position: relative;
  display: flex;
  gap: var(--gap-default-mobile);
  align-items: flex-start;
}

.carousel-thumbs-container {
  width: 280px;
  max-width: 100%; /* Prevent overflow on small screens */
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.carousel-thumbs {
  width: 100%;
  overflow: visible !important;
}

.carousel-thumbs .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-compact-mobile);
  position: relative;
}

.carousel-thumbs .swiper-slide {
  height: auto;
  width: 100% !important;
  margin: 0 !important;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  position: relative;
}

.carousel-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.thumb-item {
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.carousel-thumbs .swiper-slide-thumb-active .thumb-item {
  border-color: #914b8b;
}

.thumb-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.thumb-caption {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.3rem;
  padding: 0 0.25rem;
  line-height: 1.2;
}

.carousel-main-container {
  flex: 1;
  min-width: 0;
  position: relative;
}

.carousel-main {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-main .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: block;
}

.carousel-main .swiper-button-next,
.carousel-main .swiper-button-prev {
  color: #914b8b;
  background: rgba(255, 255, 255, 0.9);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-main .swiper-button-next {
  right: 20px;
}

.carousel-main .swiper-button-prev {
  left: 20px;
}

.carousel-main .swiper-button-next:after,
.carousel-main .swiper-button-prev:after {
  font-size: 1.25rem;
}

.carousel-main .swiper-button-next:hover,
.carousel-main .swiper-button-prev:hover {
  background: #914b8b;
  color: #ffffff;
}

/* Responsive */
/* Small phones - 480px and below */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-height: 85vh; /* Account for mobile browser UI */
  }

  .modal-inner {
    padding: 1.5rem;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .modal-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .modal-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .modal-disclaimer {
    font-size: 0.75rem;
    margin-top: 1.5rem;
  }

  .carousel-thumbs .swiper-wrapper {
    gap: 0.5rem;
  }

  .thumb-item img {
    height: 70px; /* Larger touch targets */
  }

  .thumb-caption {
    font-size: 0.65rem;
  }

  .carousel-main .swiper-button-next,
  .carousel-main .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .carousel-main .swiper-button-next:after,
  .carousel-main .swiper-button-prev:after {
    font-size: 1rem;
  }

  .carousel-main .swiper-button-next {
    right: 10px;
  }

  .carousel-main .swiper-button-prev {
    left: 10px;
  }
}

/* Tablets and larger phones - 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .modal-content {
    max-height: 88vh;
  }

  .modal-inner {
    padding: 2rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .modal-title {
    font-size: 1.75rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .thumb-item img {
    height: 80px;
  }

  .carousel-main .swiper-button-next {
    right: 15px;
  }

  .carousel-main .swiper-button-prev {
    left: 15px;
  }
}

/* All mobile devices - 768px and below */
@media (max-width: 768px) {
  .modal-carousel {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .carousel-thumbs-container {
    width: 100%;
    order: 2;
    margin-top: var(--space-sm);
  }

  .carousel-main-container {
    order: 1;
  }

  .carousel-thumbs .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .carousel-thumbs .swiper-slide {
    width: 100% !important;
    margin: 0;
  }

  /* Improve touch interactions */
  .carousel-thumbs .swiper-slide {
    -webkit-tap-highlight-color: rgba(145, 75, 139, 0.1);
    tap-highlight-color: rgba(145, 75, 139, 0.1);
  }

  .modal-close {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
  }

  /* Ensure carousel navigation is touch-friendly */
  .carousel-main .swiper-button-next,
  .carousel-main .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

/* ===========================
   20. SERVICE PAGE COMPONENTS
   =========================== */

/* Service page body overrides */
body.service-page {
  overflow: visible !important;
  overflow-x: hidden !important;
  height: auto !important;
}

/* Service Hero Section */
.service-hero {
  position: relative;
  padding: var(--space-section) 0;
  background: white;
  overflow: hidden;
}

.service-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.service-hero-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--space-section);
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.service-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.3rem; /* Mobile size */
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.4;
  max-width: 579px;
  flex: 1;
  text-align: left;
  margin: 0;
}

/* Desktop-specific widths for each service page */
@media (min-width: 1024px) {
  .service-hero-subtitle {
    font-size: 1.5rem; /* Desktop size */
  }
  /* Vertical align center on desktop */
  .service-hero-subtitle {
    display: flex;
    align-items: center;
  }

  /* Residential Care page - default width */
  .service-hero-subtitle--residential {
    max-width: 579px;
  }

  /* Day Care page - wider for 2-line display */
  .service-hero-subtitle--daycare {
    max-width: 640px;
  }

  /* Rehabilitation page - reduced by 100px */
  .service-hero-subtitle--rehabilitation {
    max-width: 448px;
  }

  /* Dementia Care page */
  .service-hero-subtitle--dementia-care {
    max-width: 447px;
  }

  /* Respite Care page */
  .service-hero-subtitle--respite-care {
    max-width: 597px;
  }

  /* Care Journey page */
  .service-hero-subtitle--care_journey {
    max-width: 422px;
  }

  /* About Allium page */
  .service-hero-subtitle--about-allium {
    max-width: 404px;
  }

  /* Newsroom page */
  .service-hero-subtitle--newsroom {
    max-width: 463px;
  }

  /* Contact page */
  .service-hero-subtitle--contact {
    max-width: 381px;
  }

  /* Careers page */
  .service-hero-subtitle--careers {
    max-width: 408px;
  }

  /* Cost Navigator page */
  .service-hero-subtitle--cost-navigator {
    max-width: 336px;
  }
}

/* ===========================
   VISION & MISSION SECTION
   =========================== */
.vision-mission-section {
  background: var(--color-primary); /* Mauve/Purple #914b8b */
  color: var(--color-cream);
  padding: 80px 0;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.vision-mission-label {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: var(--ls-wide);
  color: var(--color-cream);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.vision-mission-text-large {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-cream);
  margin: 0;
  letter-spacing: var(--ls-normal);
}

.vision-mission-text {
  font-family: var(--font-body);
  font-size: 1.2375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-cream);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.vision-mission-image {
  width: 100%;
  margin-top: 2rem;
}

.vision-mission-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Tablet and Desktop: 2-column layout */
@media (min-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: 1.4fr 1fr; /* 58% / 42% split approximately */
    gap: 4rem;
  }

  .vision-mission-section {
    padding: 100px 0;
  }
}

@media (min-width: 1024px) {
  .vision-mission-grid {
    grid-template-columns: 1.5fr 1fr; /* 60% / 40% split */
    gap: 8rem;
  }

  .vision-mission-section {
    padding: 120px 0;
  }
}

/* ===========================
   TEAM PROFILES GRID
   =========================== */
.team-profiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 4rem;
  padding: 3rem;
  border-radius: var(--border-radius);
}

.team-profile-item {
  text-align: center;
  padding-bottom: 2rem;
  background: #fff;
  border-radius: var(--border-radius);
}

.team-profile-empty {
  display: none; /* Hidden on mobile */
  background: transparent;
}

.team-profile-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 1.5rem;
  background: #f5f5f5;
}

.team-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: grayscale(100%);
}

.team-profile-item:hover .team-profile-image img {
  transform: scale(1.08);
}

.team-profile-name {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 0.5rem 0;
  letter-spacing: var(--ls-normal);
}

.team-profile-title {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-ash);
  margin: 0.25rem 0;
  line-height: 1.4;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .team-profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .team-profile-empty {
    display: none; /* Still hidden on tablet */
  }
}

/* Desktop: 4 columns with empty 2nd column visible */
@media (min-width: 1024px) {
  .team-profiles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .team-profile-empty {
    display: block; /* Show empty column on desktop */
  }
}

/* ===========================
   TEAM PROFILE MODAL
   =========================== */
.team-modal-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-modal-left {
  flex-shrink: 0;
}

.team-modal-image {
  width: 100%;
  margin-bottom: 1.5rem;
}

.team-modal-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

.team-modal-left .modal-header {
  text-align: center;
}

.team-modal-left .modal-title {
  margin-bottom: 0.5rem;
}

.team-modal-position {
  margin-top: 0.5rem;
}

.team-modal-position-item {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-ash);
  margin: 0.25rem 0;
  line-height: 1.4;
}

.team-modal-right {
  flex: 1;
}

.team-modal-description p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.team-modal-description p:last-child {
  margin-bottom: 0;
}

/* Tablet and Desktop: 2-column layout */
@media (min-width: 768px) {
  .team-modal-layout {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }

  .team-modal-left {
    width: 35%;
    max-width: 350px;
  }

  .team-modal-right {
    width: 65%;
  }
}

@media (min-width: 1024px) {
  .team-modal-layout {
    gap: 4rem;
  }

  .team-modal-left {
    width: 35%;
    max-width: 400px;
  }

  .team-modal-description {
    padding-top: 50px;
  }
}

/* Video Section */
.video-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: white;
  display: flex;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
}

#residentialVideo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.video-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-control-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.video-control-btn i {
  color: var(--color-charcoal);
  font-size: 16px;
}

/* Banner Image Section (for pages without video) */
.banner-image-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: white;
  display: flex;
  justify-content: center;
}

.banner-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hero spacer - creates space for fixed hero so content starts below it */
.hero-spacer {
  height: 100svh;
  width: 100%;
}

/* Mobile adjustments for service hero */
@media (max-width: 1024px) {
  .service-hero-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .service-hero h1 {
    width: 100%;
  }

  .service-hero-subtitle {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Mobile adjustments for video controls */
@media (max-width: 768px) {
  .video-controls {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .video-control-btn {
    width: 32px;
    height: 32px;
  }

  .video-control-btn i {
    font-size: 14px;
  }
}

/* Responsive section padding for service pages */
@media (min-width: 768px) {
}        /* ===========================
           REUSABLE GRID UTILITIES
           Generic grid classes for consistent layouts
           =========================== */

        /* Base grid setup */
        [class*="grid-"] {
            display: grid;
            gap: var(--gap-default-mobile);
        }

        /* 2-column grid */
        .grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        /* First image in .section .grid-2 */
        .section .grid-2 img:first-child {
            margin-top: 7px;
            border-radius: var(--border-radius);
        }

        /* 3-column grid */
        .grid-3 {
            grid-template-columns: repeat(3, 1fr);
        }

        /* 4-column grid */
        .grid-4 {
            grid-template-columns: repeat(4, 1fr);
        }

        /* 5-column grid */
        .grid-5 {
            grid-template-columns: repeat(5, 1fr);
        }

        /* Auto-fit grid with minimum width */
        .grid-auto {
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
        }

        /* Asymmetric grid (e.g., for accordion layouts) */
        .grid-asymmetric {
            grid-template-columns: 0.8fr 2fr;
        }

        /* Responsive modifiers */
        @media (max-width: 768px) {
            .grid-2,
            .grid-3,
            .grid-4,
            .grid-5,
            .grid-asymmetric {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            .grid-4 {
                grid-template-columns: repeat(2, 1fr);
            }
            .grid-5 {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 768px) {
            [class*="grid-"] {
                gap: var(--gap-default-tablet);
            }
        }

        @media (min-width: 1024px) {
            [class*="grid-"] {
                gap: var(--gap-default-desktop);
            }
            .grid-asymmetric {
                grid-template-columns: 0.9fr 1.1fr;
            }
        }

        /* Legacy grid classes - mapped to new utilities */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: var(--space-lg);
            margin-top: var(--space-xl);
        }

        /* 3 column grid for Our Suites section */
        .suites-grid,
        .suites-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem; /* Smaller gap for wider grid items */
            max-width: 1200px; /* Constrain width to bring columns closer */
            margin: var(--space-xl) auto 0; /* Center the grid */
        }


        .card-item {
            background: white;
            padding: var(--space-md) var(--space-md-lg); /* Reduced padding */
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        /* Specific padding for Our Suites section */
        .suites-grid-3 .card-item {
            padding: 2rem 1.5rem; /* More compact padding for 3-column layout */
        }

        /* Suite specific styles */
        .suite-card-image {
            width: 100%;
            margin-bottom: 1.5rem;
            padding: 0;
            overflow: hidden;
            border-radius: var(--border-radius, 5px);
        }

        .suite-card-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius, 5px);
        }

        .accordion-subtitle {
            color: var(--color-primary);
            font-family: var(--font-body);
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            display: block;
            margin-bottom: 0.5rem;
        }

        /* Suite features list */
        .suite-features {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .suite-feature-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-family: var(--font-body);
            font-size: var(--text-body, 1.125rem);
            color: var(--color-ash);
        }

        .suite-feature-item i {
            color: var(--color-primary);
            font-size: 1rem;
            width: 20px;
            text-align: center;
        }

        /* Care and Services Grid Section */
        .section-care-services {
            background: white;
            padding: var(--space-section) 0;
        }

        .care-services-wrapper {
            display: flex;
            align-items: center;
            gap: 5rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .care-services-left {
            flex: 0 0 400px;
        }

        .care-services-right {
            flex: 1;
        }

        .care-services-title {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 3vw, 3rem);
            font-weight: 700;
            color: var(--color-charcoal);
            margin: 0 0 1.5rem 0;
            text-align: left;
        }

        .care-services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .care-service-item {
            text-align: center;
            padding: 1.5rem 1.5rem 0;
            background: transparent;
            border-radius: var(--border-radius);
            position: relative;
        }

        .care-service-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 1rem;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .care-service-icon i {
            font-size: 2.25rem;
            color: #914b8b;
            stroke-width: 1;
        }

        .care-service-item p {
            margin: 0;
            font-family: var(--font-body);
            font-size: 0.9rem;
            color: var(--color-charcoal);
            line-height: 1.4;
        }

        /* Features Horizontal Layout */
        .features-horizontal-container {
            padding: 3rem;
            border-radius: var(--border-radius, 5px);
        }

        .features-horizontal-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .feature-horizontal-item {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            padding: 1.5rem;
            border-radius: var(--border-radius);
        }

        .feature-horizontal-icon {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .feature-horizontal-icon i {
            font-size: 2.5rem;
            color: var(--color-primary);
            stroke-width: 1;
        }

        .feature-horizontal-item p {
            margin: 0;
            font-family: var(--font-body);
            font-size: 1rem;
            color: var(--color-charcoal);
            line-height: 1.6;
        }

        /* The Allium Difference Section */
        .section-allium-difference {
            background: white;
        }

        /* Layout Container */
        .sidebar-nav-layout {
            display: flex;
            gap: 3rem;
            align-items: flex-start;
            position: relative;
            margin-top: var(--space-lg);
        }

        /* Left Tabs (20%) */
        .sidebar-nav {
            flex: 0 0 20%;
            position: sticky;
            top: calc(var(--space-section) + 20px);
            padding-top: 80px;
        }

        .sidebar-nav-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem 1.5rem;
            margin-bottom: 0.5rem;
            background: transparent;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s var(--ease-smooth);
            border: 1px solid transparent;
            position: relative;
        }

        .sidebar-nav-item:hover {
            background: transparent;
            transform: none;
        }

        .sidebar-nav-item.active {
            background: transparent;
            box-shadow: none;
        }

        .sidebar-nav-item span {
            font-family: var(--font-body);
            font-size: 2rem;
            font-weight: 600;
            color: #ccc;
            line-height: 1.5;
        }

        .sidebar-nav-item.active span {
            color: #000;
        }

        /* Right Content (70%) */
        .sidebar-content {
            flex: 1;
            max-height: 800px;
            overflow-y: auto;
            padding-right: 1rem;
            scroll-behavior: smooth;
        }

        /* Custom scrollbar for content area */
        .sidebar-content::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar-content::-webkit-scrollbar-track {
            background: var(--color-bone);
            border-radius: 3px;
        }

        .sidebar-content::-webkit-scrollbar-thumb {
            background: var(--color-primary);
            border-radius: 3px;
        }

        .sidebar-content::-webkit-scrollbar-thumb:hover {
            background: var(--color-primary-dark);
        }

        /* Sidebar Panel Sections */
        .sidebar-panel {
            padding-top: 10px;
            padding-bottom: calc(10px + 2rem);
            margin-bottom: var(--space-md);
            border-bottom: 1px solid var(--color-sand);
            scroll-margin-top: 2rem;
        }

        .sidebar-panel:last-child {
            border-bottom: none;
        }

        .sidebar-panel > *:last-child:not(.suites-grid) {
            margin-bottom: 0 !important;
            padding-bottom: 0 !important;
        }

        .sidebar-panel h3.subtitle {
            line-height: 1;
        }

        /* Difference Section Images */
        .content-image {
            width: 100%;
            margin-bottom: var(--space-md);
            border-radius: var(--border-radius);
            overflow: hidden;
        }

        .content-image img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        /* Style h4 in difference sections same as accordion-title */
        .sidebar-panel h4 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--color-charcoal, #1d1d1f);
            margin: 0;
            font-family: var(--font-heading);
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-bottom: var(--space-md);
        }

        /* Featured Story */
        .featured-story-wrapper {
            display: flex;
            gap: 4rem;
            align-items: flex-start;
            margin-top: var(--space-xl);
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .featured-story-left {
            flex: 0 0 45%;
        }

        .featured-story-image {
            position: relative;
            width: 100%;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .featured-story-image:hover {
            transform: scale(1.02);
        }

        .featured-story-image img {
            width: 100%;
            height: auto;
            display: block;
            margin-top: 7px;
            border-radius: var(--border-radius);
        }

        .featured-story-right {
            flex: 1;
        }

        .featured-story-btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--color-mauve);
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.875rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .featured-story-btn:hover {
            background: var(--color-charcoal);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        @media (max-width: 1024px) {
            .featured-story-wrapper {
                flex-direction: column;
                gap: 2rem;
            }

            .featured-story-left {
                flex: none;
                width: 100%;
            }

            .featured-story-right {
                padding-top: 0;
            }
        }


        /* Story Modal */
        .story-modal-content {
            max-width: 1400px;
        }

        .story-modal-inner {
            display: flex;
            gap: 4rem;
            padding: 4rem;
            align-items: flex-start;
        }

        .story-modal-image {
            flex: 0 0 50%;
        }

        .story-modal-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }

        .story-modal-text {
            flex: 1;
        }

        .story-modal-title {
            font-size: 2.5rem;
            font-weight: 400;
            color: var(--color-charcoal);
            margin: 0 0 1.5rem 0;
            font-family: var(--font-heading);
            line-height: 1.2;
        }

        @media (max-width: 1024px) {
            .story-modal-inner {
                flex-direction: column;
                gap: 2rem;
                padding: 3rem;
            }

            .story-modal-image {
                flex: none;
                width: 100%;
            }

            .story-modal-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .story-modal-inner {
                padding: 2rem;
            }

            .story-modal-title {
                font-size: 1.75rem;
            }
        }

        /* Modules Specs Table */
        .modules-specs-table {
            /*border-top: 2px solid #000;*/
            border-top: 1px solid rgba(0, 0, 0, 0.15);
            margin-top: var(--space-md);
            display: flex;
            gap: 2rem;
        }

        .modules-specs-table > div:first-child {
            flex: 0 0 30%;
            padding-top: 1rem;
        }

        .modules-specs-table .specs-title {
            font-weight: 600;
            font-size: 1rem;
        }

        .modules-specs-table .specs-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        /* Center specs-content when it's the only child */
        .modules-specs-table:has(.specs-content:only-child) {
            justify-content: center;
        }

        .modules-specs-table .specs-content:only-child {
            flex: 0 1 auto;
            max-width: fit-content;
        }

        .modules-specs-table .specs-content > div:first-child {
          border:none;
        }

        .modules-specs-table .specs-content--single {
            border-top: 1px solid rgba(0, 0, 0, 0.15);
            padding: 1rem 0;
        }

        .modules-specs-table .specs-content--single:last-child {
            border-bottom: none;
        }

        .modules-specs-table .specs-content--single div {
            font-size: 1rem;
        }

        /* Mobile responsive styles for modules-specs-table */
        @media (max-width: 768px) {
            /* Stack title and content vertically */
            .modules-specs-table {
                flex-direction: column;
                gap: 0.5rem;
            }

            /* Make title section full width */
            .modules-specs-table > div:first-child {
                flex: 0 0 auto;
                width: 100%;
                padding-top: 1rem;
            }

            /* Make content section full width */
            .modules-specs-table .specs-content {
                flex: 1 !important;
                max-width: 100% !important;
                width: 100%;
            }

            /* Override centered behavior for edge case on mobile */
            .modules-specs-table:has(.specs-content:only-child) {
                justify-content: flex-start;  /* Left-align instead of center */
            }

            .modules-specs-table .specs-content:only-child {
                max-width: 100%;  /* Full width instead of fit-content */
            }

            /* Make specs-title more prominent on mobile */
            .modules-specs-table .specs-title {
                font-size: 1.125rem;  /* Slightly larger than content items (1rem) */
            }

            /* Remove border and margin from specs-table on mobile */
            .modules-specs-table {
                border-top: none;
                margin-top: 0;
            }

            /* Add spacing between consecutive specs tables on mobile */
            .modules-specs-table + .modules-specs-table {
                margin-top: 1rem;
            }
        }

        /* Feature Items */
        .difference-features {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .feature-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .feature-item > i {
            color: var(--color-primary);
            font-size: 1.25rem;
            margin-top: 0.25rem;
            flex-shrink: 0;
        }

        .feature-item h4 {
            font-family: var(--font-heading);
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--color-charcoal);
            margin-bottom: 0.25rem;
        }

        .feature-item p {
            font-size: 0.95rem;
            margin-bottom: 0;
            color: var(--color-ash);
        }

        /* Lifestyle Features Grid - 2x4 layout */
        .lifestyle-features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2.5rem;
            margin-top: 2rem;
        }

        .lifestyle-feature-item {
            display: flex;
            flex-direction: column;
        }

        .lifestyle-feature-item img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
        }

        .lifestyle-feature-item h4 {
            margin-top: 0;
            margin-bottom: 0.5rem;
        }

        /* Treatment List Styling */
        .treatment-list {
            list-style: none;
            padding-left: 0;
            margin: 1.5rem 0;
        }

        .treatment-list li {
            position: relative;
            padding-left: 1.75rem;
            margin-bottom: 0.75rem;
            line-height: 1.8;
            font-size: var(--text-body);
            color: var(--color-ash);
        }

        .treatment-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.6em;
            width: 6px;
            height: 6px;
            background-color: var(--color-primary);
            border-radius: 50%;
        }

        @media (max-width: 768px) {
            .lifestyle-features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Responsive - The Allium Difference */
        @media (max-width: 1024px) {
            .sidebar-nav-layout {
                flex-direction: column;
                gap: 2rem;
            }

            .sidebar-nav {
                position: relative;
                top: 0;
                flex: 1;
                display: flex;
                flex-wrap: wrap;
                gap: 0.75rem;
                padding-top: 0;
            }

            .sidebar-nav-item {
                flex: 1 1 calc(50% - 0.375rem);
                margin-bottom: 0;
                padding: 1rem;
            }

            .sidebar-content {
                max-height: none;
                overflow-y: visible;
                padding-right: 0;
            }
        }

        @media (max-width: 768px) {
            .section-allium-difference {
                padding: var(--space-md) 0;
            }

            .section-allium-difference .section-title {
                font-size: 1.75rem;
            }

            .section-allium-difference .section-subtitle {
                font-size: 1rem;
            }

            /* Mobile: Horizontal Scrollable Tabs (like newsroom) */
            .sidebar-nav {
                flex-direction: row;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE and Edge */
                gap: 0;
                padding-bottom: 0;
                border-bottom: 1px solid #e5e5e5;
                margin-bottom: 2rem;
                max-width: 100%;
                width: 100%;
            }

            /* Hide scrollbar for Chrome, Safari and Opera */
            .sidebar-nav::-webkit-scrollbar {
                display: none;
            }

            .sidebar-nav-item {
                flex: 0 0 auto;
                padding: 0.75rem 1.25rem;
                margin-bottom: 0;
                border: none;
                border-bottom: 2px solid transparent;
                border-radius: 0;
            }

            .sidebar-nav-item.active {
                border-bottom-color: var(--color-mauve);
            }

            .sidebar-nav-item i {
                font-size: 1.25rem;
            }

            .sidebar-nav-item span {
                font-size: 1rem;
                font-weight: 500;
                white-space: nowrap;
            }

            .sidebar-nav-item.active span {
                color: var(--color-charcoal);
            }

            .sidebar-panel h4 {
                font-size: 1.275rem;
            }

            .section-lead {
                font-size: 1.1rem;
            }

            .sidebar-panel {
                padding-bottom: calc(10px + 2rem);
                margin-bottom: 2rem;
                transition: opacity 0.3s ease-in-out;
            }

            .feature-item {
                flex-direction: column;
                gap: 0.5rem;
            }

            .feature-item > i {
                margin-top: 0;
            }
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .care-services-wrapper {
                flex-direction: column;
                align-items: flex-start;
                gap: 3rem;
            }

            .care-services-left {
                flex: none;
                width: 100%;
            }

            .care-services-title {
                text-align: center;
                width: 100%;
            }

            .care-services-right {
                width: 100%;
            }
        }

        @media (max-width: 1024px) {
            .care-services-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .features-horizontal-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .care-services-wrapper {
                gap: 2rem;
            }

            .care-services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .care-service-item {
                padding: 1.25rem 1.25rem 0;
            }

            .care-service-icon {
                width: 50px;
                height: 50px;
            }

            .care-service-icon i {
                font-size: 2rem;
            }

            .features-horizontal-container {
                padding: 2rem 1.5rem;
            }

            .features-horizontal-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .feature-horizontal-item {
                padding: 1rem;
                gap: 1rem;
            }

            .feature-horizontal-icon {
                width: 50px;
                height: 50px;
            }

            .feature-horizontal-icon i {
                font-size: 2rem;
            }

            .feature-horizontal-item p {
                font-size: 0.9rem;
            }
        }

        /* Generic Horizontal Carousel Component (Reusable) */
        .carousel-title {
            font-family: var(--font-heading);
            font-size: clamp(2rem, 3vw, 3rem);
            font-weight: 700;
            color: var(--color-charcoal);
            margin-bottom: var(--space-lg);
            text-align: center;
        }

        .carousel-horizontal-container {
            position: relative;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
        }

        .carousel-horizontal {
            overflow: hidden;
            padding: 0;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            gap: 20px;
            padding-left: max(20px, calc((100vw - var(--container-max)) / 2 + var(--container-padding-mobile)));
        }

        .carousel-slide {
            flex: 0 0 calc(28% - 14px);
            max-width: 420px;
            min-height: 550px;
            height: 650px;
            position: relative;
            overflow: hidden;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: transform 0.3s ease;
            background: var(--color-charcoal); /* Fallback color */
        }

        .carousel-slide:hover {
            transform: scale(1.02);
        }

        .carousel-slide-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            z-index: 1;
        }

        /* Backwards compatibility for care-slide-bg */
        .care-slide-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 1;
            display: block;
        }

        .carousel-slide-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            padding: 3rem 2rem;
        }

        .carousel-slide-title {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 600;
            color: white;
            line-height: 1.3;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        /* Carousel Controls */
        .carousel-controls {
            position: absolute;
            bottom: 30px;
            right: 30px;
            display: flex;
            gap: 12px;
            z-index: 10;
        }

        /* Old carousel button styles - commented for future reference
        .carousel-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .carousel-btn:hover {
            background: white;
            transform: scale(1.1);
        }

        .carousel-btn i {
            font-size: 24px;
            color: var(--color-charcoal);
        }

        .carousel-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        */

        /* New carousel button styles - rounded square with white background */
        .carousel-btn {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            background: white;
            border: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .carousel-btn:hover {
            background: #f5f5f5;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .carousel-btn i {
            font-size: 20px;
            color: #666;
        }

        .carousel-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            background: #f9f9f9;
        }

        .carousel-btn:disabled:hover {
            background: #f9f9f9;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        /* Responsive for horizontal carousel */
        @media (max-width: 1024px) {
            .carousel-track {
                padding-left: var(--container-padding-tablet);
            }

            .carousel-slide {
                flex: 0 0 calc(42% - 10px);
                max-width: 380px;
                min-height: 500px;
                height: 580px;
            }
        }

        @media (max-width: 768px) {
            .carousel-track {
                padding-left: var(--container-padding-mobile);
            }

            .carousel-slide {
                flex: 0 0 calc(80% - 15px);
                max-width: 350px;
                min-height: 450px;
                height: 520px;
            }

            .carousel-controls {
                bottom: 20px;
                right: 20px;
            }

            .carousel-btn {
                width: 42px;
                height: 42px;
            }

            .carousel-btn i {
                font-size: 18px;
            }
        }

        /* Section-specific styles */
        .section-amenities {
            background: var(--color-cream, #f8f7f5);
            padding: var(--space-section) 0;
        }

        /* Ergonomic section */
        .stays-include-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .stays-include-column {
            margin-bottom: var(--space-xl);
        }

        .stays-category-title {
            font-family: var(--font-heading);
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            font-weight: 600;
            color: var(--color-charcoal);
            margin-bottom: var(--space-md);
            text-align: left;
        }

        .stays-include-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
            margin-bottom: var(--space-lg);
        }

        .stays-include-column li {
            font-family: var(--font-body);
            font-size: var(--text-body);
            color: var(--color-ash);
            line-height: 1.8;
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
        }

        .stays-include-column li:before {
            content: "•";
            color: var(--color-primary);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        /* Mobile responsiveness for stays include */
        @media (max-width: 768px) {
            .stays-category-title {
                font-size: 1.5rem;
            }
        }

        .card-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        }

        .service-icon-wrapper {
            width: 60px;
            height: 60px;
            background: var(--color-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: var(--space-md);
        }

        .service-icon-wrapper i {
            color: white;
            font-size: 1.5rem;
        }



        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: 1fr;
            }

            .suites-grid-3 {
                grid-template-columns: 1fr;
            }

            .service-hero {
                height: auto;
                padding: var(--space-xl) 0;
            }

            .service-hero-wrapper {
                flex-direction: column;
                align-items: flex-start;
                gap: var(--space-md);
            }

            .service-hero h1 {
                font-size: 2rem;
            }

            .service-hero-subtitle {
                justify-content: flex-start;
            }

            .service-hero-subtitle span {
                font-size: 1rem;
            }
        }

/* Section background modifiers */
.section--bg-white {
  background: var(--bg-white) !important;
}

.section--bg-cream {
  background-color: var(--bg-cream) !important;
}

/* Utility Classes */
.bg-white {
  background-color: var(--bg-white) !important;
}

.bg-cream {
  background-color: var(--bg-cream) !important;
}

.bg-bone {
  background-color: var(--bg-bone) !important;
}

.bg-charcoal {
  background-color: var(--bg-charcoal) !important;
}

.p-3 {
  padding: 1.5rem !important;
}

/* Care slide backgrounds with data attributes */
.care-slide-bg[data-bg="nursing"] {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%), url('../images/care-nursing.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.care-slide-bg[data-bg="medication"] {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%), url('../images/care-medication.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.care-slide-bg[data-bg="allied-health"] {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%), url('../images/care-allied-health.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.care-slide-bg[data-bg="wellness"] {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%), url('../images/care-wellness.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.care-slide-bg[data-bg="meals"] {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%), url('../images/care-meals.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.care-slide-bg[data-bg="housekeeping"] {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%), url('../images/care-housekeeping.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* ===========================
   AWARDS CAROUSEL
   =========================== */

.awards-carousel-wrapper {
  margin-top: 4rem;
  position: relative;
  padding: 0 3rem;
}

.awards-main-carousel {
  overflow: visible;
  padding-bottom: 4rem;
}

.awards-main-carousel .swiper-slide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.awards-main-carousel .swiper-slide-active {
  opacity: 1;
}

.awards-category {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.awards-category-title {
  font-family: var(--font-accent);
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.awards-carousel {
  overflow: visible;
  padding: 1rem 0;
  max-width: 100%;
  margin: 0 auto;
}

.awards-carousel .swiper-wrapper {
  display: flex;
  align-items: center;
}

.awards-carousel .swiper-slide {
  width: auto !important;
  height: auto;
  display: flex;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  margin-right: 0 !important;
}

/* Award logo styling */
.award-logo {
  width: auto;
  max-width: 380px;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin: 0 auto;
}

.award-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

/* Awards Carousel Navigation */
.awards-carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.awards-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--color-cream);
  border: 1px solid rgba(145, 75, 139, 0.1);
  color: var(--color-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.awards-nav-btn:hover {
  background: var(--color-primary);
  color: var(--bg-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(145, 75, 139, 0.2);
}

.awards-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.awards-nav-btn:disabled:hover {
  background: var(--color-cream);
  color: var(--color-primary);
  border-color: rgba(145, 75, 139, 0.1);
}

.awards-nav-btn i {
  line-height: 1;
}

/* Awards Pagination Dots */
.awards-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  position: relative;
}

.awards-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--color-stone);
  opacity: 0.4;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.awards-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .awards-carousel-wrapper {
    padding: 0 1rem;
  }

  .awards-main-carousel {
    padding-bottom: 3rem;
  }

  .awards-category {
    margin-bottom: 0;
  }

  .awards-category-title {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .award-logo {
    max-width: 270px;
    height: 190px;
    padding: 1rem;
  }

  .awards-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .awards-carousel-navigation {
    margin-top: 2rem;
  }

  .awards-pagination {
    margin-top: 2rem;
  }

  .awards-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .awards-carousel-wrapper {
    padding: 0 2rem;
  }

  .awards-category {
    margin-bottom: 0;
  }

  .award-logo {
    max-width: 325px;
    height: 216px;
    padding: 1.25rem;
  }
}

@media (min-width: 1440px) {
  .awards-category {
    margin-bottom: 0;
  }

  .award-logo {
    max-width: 430px;
    height: 270px;
    padding: 2rem;
  }
}

/* ===========================
   CORE VALUES SECTION (Careers Page)
   =========================== */

.core-values-wrapper {
  width: 100%;
}

.core-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
}

.core-value-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.core-value-letter {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.core-value-content {
  flex: 1;
  padding-top: 0.5rem;
}

.core-value-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.core-value-description {
  font-size: var(--text-body);
  color: var(--color-ash);
  line-height: 1.6;
  margin: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .core-values-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .core-value-item {
    gap: 1.5rem;
  }

  .core-value-letter {
    min-width: 80px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .core-values-grid {
    gap: 3.5rem;
  }

  .core-value-item {
    gap: 2rem;
  }

  .core-value-letter {
    min-width: 90px;
  }
}

/* ===========================
   CORE VALUES CARDS (Alternative Design)
   =========================== */

.core-values-cards-wrapper {
  width: 100%;
}

.core-values-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.core-value-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(31, 30, 29, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.core-value-card:hover {
  box-shadow: 0 8px 24px rgba(145, 75, 139, 0.15);
  transform: translateY(-4px);
}

.core-value-card-header {
  background: linear-gradient(135deg, #914b8b 0%, #a85b9f 100%);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.core-value-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
  transition: transform 0.6s ease;
}

.core-value-card:hover .core-value-card-header::before {
  transform: translate(20%, -20%) scale(1.2);
}

.core-value-card-letter {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-heading);
  line-height: 1;
  display: block;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.core-value-card-border {
  height: 4px;
  width: 60px;
  max-width: 60px;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 1.25rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 2px;
}

.core-value-card:hover .core-value-card-border {
  width: 100px;
  max-width: 100px;
  background: rgba(255, 255, 255, 0.9);
}

.core-value-card-body {
  padding: 2rem;
}

.core-value-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.core-value-card:hover .core-value-card-title {
  color: var(--color-primary);
}

.core-value-card-text {
  font-size: 1rem;
  color: var(--color-ash);
  line-height: 1.7;
  margin: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .core-values-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .core-value-card-header {
    padding: 3rem 2.5rem 2.5rem;
    min-height: 200px;
  }

  .core-value-card-body {
    padding: 2.5rem;
  }

  .core-value-card-letter {
    font-size: 4.5rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .core-values-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .core-value-card-header {
    padding: 3rem 2.5rem 2.5rem;
    min-height: 200px;
  }

  .core-value-card-letter {
    font-size: 5rem;
  }

  .core-value-card-body {
    padding: 2.5rem;
  }

  .core-value-card-title {
    font-size: 1.5rem;
  }

  .core-value-card-text {
    font-size: 1rem;
  }
}

/* Mobile - Add specific mobile improvements */
@media (max-width: 767px) {
  .core-value-card-header {
    padding: 2rem 1.5rem 1.75rem;
    min-height: 160px;
  }

  .core-value-card-letter {
    font-size: 3.5rem;
  }

  .core-value-card-body {
    padding: 1.75rem 1.5rem;
  }

  .core-value-card-title {
    font-size: 1.375rem;
  }

  .core-value-card-text {
    font-size: 0.9375rem;
  }
}

/* ===========================
   NEWSROOM ARTICLE TEMPLATE
   Generic styles for all article pages
   =========================== */

/* Article Content Section */
.article-content {
  background: var(--bg-white);
  padding: var(--spacing-default-mobile);
  padding-top: calc(var(--spacing-default-mobile) + 80px);
}

.article-header {
  margin-bottom: 3rem;
}

.article-category {
  font-family: var(--font-accent);
  font-size: var(--text-micro);
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.article-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  color: var(--color-charcoal);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-slate);
}

.article-meta__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta__item i {
  color: var(--color-primary);
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
}

.article-featured-image {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.article-body {
  font-family: var(--font-body);
  font-size: var(--text-body-large);
  line-height: 1.8;
  color: var(--color-ash);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body p:last-of-type {
  margin-bottom: 0;
}

.article-body a {
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.article-body a:hover {
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
}

.article-body strong {
  font-weight: 600;
  color: var(--color-charcoal);
}

.article-body em {
  font-style: italic;
  color: var(--color-charcoal);
}

.article-body img {
  width: 100%;
  margin-top: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Figure and Video Styles */
.article-body figure {
  margin: 2rem 0;
  width: 100%;
}

.article-body figure video,
.article-body figure iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  display: block;
}

.article-body video {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  display: block;
}

/* Back to Newsroom Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: var(--text-micro);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-ash);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.back-link:hover {
  color: var(--color-primary);
  letter-spacing: var(--ls-hover);
}

.back-link i {
  transition: transform 0.3s ease;
}

.back-link:hover i {
  transform: translateX(-5px);
}

/* Responsive Design */
@media (min-width: 768px) {
  .article-content {
    padding: var(--spacing-default-tablet);
    padding-top: calc(var(--spacing-default-tablet) + 80px);
  }
}

@media (min-width: 1024px) {
  .article-content {
    padding: var(--spacing-default-desktop);
    padding-top: calc(var(--spacing-default-desktop) + 80px);
  }
}
