/* ============================================
   CHRISTINE COURT ASSISTED LIVING - UNIFIED STYLES
   Modern CSS Architecture - Clean, Maintainable, Fast
   Microsoft Fluent Design Inspired
   ============================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;600;700&display=swap');

/* ============================================
   1. CSS RESET & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 12.8px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   2. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */

:root {
  /* === COLOR PALETTE === */

  /* Primary Brand Colors */
  --color-primary: #28AAE1;
  --color-primary-dark: #0e6b94;
  --color-primary-medium: #1d87b3;
  --color-primary-light: #5BC0E8;
  --color-primary-lightest: #F0F7FB;

  /* Secondary Brand */
  --color-secondary: #0A2E5C;

  /* Semantic Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* Neutral Colors */
  --color-neutral-900: #1A1A1A;
  --color-neutral-800: #323130;
  --color-neutral-700: #4A4A4A;
  --color-neutral-600: #666666;
  --color-neutral-500: #808080;
  --color-neutral-400: #999999;
  --color-neutral-300: #CCCCCC;
  --color-neutral-200: #E0E0E0;
  --color-neutral-100: #F5F5F5;
  --color-neutral-50: #FAFAFA;
  --color-white: #FFFFFF;

  /* Text Colors */
  --color-text-primary: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #a0aec0;

  /* Background Colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-bg-tertiary: #F0F7FB;
  --color-bg-subtle: #e6f3f9;

  /* Border Colors */
  --color-border-light: #e9ecef;
  --color-border-medium: #dee2e6;
  --color-border-dark: #adb5bd;

  /* === GRADIENTS === */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-medium) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(40, 170, 225, 0.5) 0%, rgba(14, 107, 148, 0.6) 100%);
  --gradient-subtle: linear-gradient(180deg, var(--color-primary-lightest) 0%, var(--color-bg-subtle) 100%);
  --gradient-overlay: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);

  /* === TYPOGRAPHY === */

  /* Font Families - Microsoft Fluent Inspired */
  --font-heading: 'Comfortaa', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Comfortaa', 'Segoe UI', system-ui, sans-serif;

  /* Font Sizes */
  --text-xs: 0.875rem;    /* 14px */
  --text-sm: 1rem;        /* 16px */
  --text-base: 1.125rem;  /* 18px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.375rem;    /* 22px */
  --text-2xl: 1.625rem;   /* 26px */
  --text-3xl: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */
  --text-5xl: 3.25rem;    /* 52px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  --leading-loose: 1.8;

  /* === SPACING === */
  --space-unit: 8px;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* === BORDERS & RADIUS === */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  --border-width: 1px;
  --border-width-thick: 2px;
  --border-width-accent: 4px;

  /* === SHADOWS === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.10), 0 12px 24px rgba(0, 0, 0, 0.05);

  /* === TRANSITIONS === */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* === Z-INDEX === */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-tooltip: 1060;

  /* === LAYOUT === */
  --container-max-width: 1200px;
  --container-max-width-wide: 1400px;
  --container-max-width-narrow: 900px;
  --container-padding: var(--space-5);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-primary: #1a1a1a;
    --color-bg-secondary: #2a2a2a;
    --color-bg-tertiary: #3a3a3a;
    --color-text-primary: #e0e0e0;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #909090;
    --color-border-light: #404040;
    --color-border-medium: #505050;
    --color-primary-light: #4a9eff;
  }
}

/* ============================================
   3. TYPOGRAPHY SYSTEM
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: var(--space-6);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

h3 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
}

h5 {
  font-size: var(--text-lg);
  font-weight: 600;
}

h6 {
  font-size: var(--text-base);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

strong {
  font-weight: var(--font-bold);
}

em {
  font-style: italic;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  h4 { font-size: var(--text-lg); }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: var(--text-base); }
}

/* ============================================
   4. LAYOUT SYSTEM
   ============================================ */

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.container-wide {
  max-width: var(--container-max-width-wide);
}

.container-narrow {
  max-width: var(--container-max-width-narrow);
}

/* Section */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
}

.section-lg {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-sm {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

.section-white {
  background: var(--color-white);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 768px) {
  .grid-2-desktop {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3-desktop {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================
   5. COMPONENT STYLES
   ============================================ */

/* === NAVBAR / HEADER === */

.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.navbar-logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.navbar-title {
  font-size: 1.4rem;
  font-weight: 600;
  font-family: 'Comfortaa', 'Montserrat', system-ui, sans-serif;
  color: #323130;
  margin: 0;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.navbar-title:hover {
  color: var(--color-primary-dark);
}

.navbar-nav {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.navbar-link {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
  position: relative;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-primary);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition-base);
}

@media (max-width: 991px) {
  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-16) var(--space-6);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    gap: var(--space-4);
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-toggle {
    display: flex;
  }
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.breadcrumb a {
  color: var(--color-primary-dark);
  font-weight: var(--font-medium);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-separator {
  margin: 0 var(--space-2);
  color: var(--color-text-muted);
}

/* === HERO SECTION === */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(40, 170, 225, 0.85) 0%, rgba(14, 107, 148, 0.9) 100%),
    url('photos/CCAL-entrance-web.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(40, 170, 225, 0.2) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-6);
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  max-width: 700px;
}

.hero-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 3rem 0 2rem !important;
  }

  .hero .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
    padding-top: 2rem !important;
  }

  .hero-title {
    font-size: var(--text-3xl);
    margin-top: 1.5rem !important;
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .hero-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 0 1.5rem !important;
  }

  .hero .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
    padding-top: 1.5rem !important;
  }

  .hero-title {
    margin-top: 1rem !important;
  }
}

/* === BUTTONS === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(40, 170, 225, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(40, 170, 225, 0.3);
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* === CARDS === */

.card {
  background: var(--color-white);
  border-radius: 8px;
  padding: var(--space-8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.08);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.card-accent {
  border-top: var(--border-width-accent) solid var(--color-primary);
}

.card-accent-left {
  border-left: var(--border-width-accent) solid var(--color-primary);
}

/* Feature Card with Icon */
.feature-card {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: var(--text-3xl);
  box-shadow: var(--shadow-md);
}

/* === PHOTO GALLERY / SLIDESHOW === */

.gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8);
}

.gallery-container {
  background: var(--color-white);
  border-radius: 16px;
  padding: var(--space-8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: var(--space-8);
  background: var(--color-neutral-100);
}

/* Old gallery styles removed - using modern gallery below */

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-overlay);
  color: var(--color-white);
  padding: var(--space-10) var(--space-8) var(--space-6);
}

.gallery-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-4);
}

.gallery-control {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.gallery-control:hover {
  background: var(--color-white);
  transform: scale(1.1);
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.gallery-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-neutral-300);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-indicator.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

.gallery-thumbnails {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: var(--space-2);
}

.gallery-thumbnail {
  flex-shrink: 0;
  width: 120px;
  height: 85px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.gallery-thumbnail.active {
  opacity: 1;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-image {
    height: 300px;
  }

  .gallery-control {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }
}

/* === TESTIMONIAL === */

.testimonial {
  background: var(--color-bg-secondary);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  position: relative;
}

.testimonial-quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
}

.testimonial-name {
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* === FOOTER === */

.footer {
  background: #232222;
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer-section p,
.footer-section a {
  color: #b0b0b0;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.footer-section a:hover {
  color: var(--color-primary-light);
}

.footer-section img {
  max-width: 150px;
  height: auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid #404040;
  padding-top: var(--space-6);
  text-align: center;
  font-size: var(--text-sm);
  color: #909090;
}

/* ============================================
   6. UTILITY CLASSES
   ============================================ */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--color-primary); }
.text-primary-dark { color: var(--color-primary-dark); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }

/* Font Weights */
.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Visibility */
.visible { opacity: 1; }
.invisible { opacity: 0; }

/* Borders */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ============================================
   7. ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ============================================
   8. RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --container-padding: var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-5);
  }

  .section {
    padding: var(--space-8) 0;
  }

  .section .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-unit: 6px;
    --container-padding: var(--space-4);
  }

  .section {
    padding: var(--space-6) 0;
  }

  .section .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}

/* ============================================
   9. PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .footer,
  .gallery-controls,
  .gallery-indicators,
  .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ============================================
   10. ACCESSIBILITY
   ============================================ */

/* Focus Styles */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
  }

  .card {
    border: 2px solid currentColor;
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transition: none;
  }

  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ============================================
   11. MICROSOFT FLUENT DESIGN ENHANCEMENTS
   ============================================ */

/* === ACRYLIC MATERIAL (Frosted Glass Effect) === */
.acrylic {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.acrylic-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === REVEAL EFFECT (Interactive Light) === */
.reveal {
  position: relative;
  overflow: hidden;
}

.reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.reveal:hover::before {
  opacity: 1;
}

/* === DEPTH & ELEVATION === */
.elevation-4 {
  box-shadow: 
    0 1.6px 3.6px rgba(0, 0, 0, 0.13),
    0 0.3px 0.9px rgba(0, 0, 0, 0.11);
}

.elevation-8 {
  box-shadow:
    0 3.2px 7.2px rgba(0, 0, 0, 0.13),
    0 0.6px 1.8px rgba(0, 0, 0, 0.11);
}

.elevation-16 {
  box-shadow:
    0 6.4px 14.4px rgba(0, 0, 0, 0.13),
    0 1.2px 3.6px rgba(0, 0, 0, 0.11);
}

.elevation-64 {
  box-shadow:
    0 25.6px 57.6px rgba(0, 0, 0, 0.22),
    0 4.8px 14.4px rgba(0, 0, 0, 0.18);
}

/* === FLUENT ANIMATIONS === */
@keyframes fluent-scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fluent-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fluent-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === MODERN CARD ENHANCEMENTS === */
.card-fluent {
  background: var(--color-white);
  border-radius: 8px;
  padding: var(--space-6);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-fluent:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6.4px 14.4px rgba(0, 0, 0, 0.132),
    0 1.2px 3.6px rgba(0, 0, 0, 0.108);
  border-color: rgba(0, 0, 0, 0.1);
}

/* === MODERN BUTTONS === */
.btn-fluent {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-fluent-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-fluent-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 8px rgba(40, 170, 225, 0.3);
}

.btn-fluent-primary:active {
  transform: scale(0.98);
}

.btn-fluent-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-fluent-outline:hover {
  background: rgba(40, 170, 225, 0.1);
}

/* === HERO SECTION ENHANCEMENTS === */
.hero-fluent {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.hero-fluent::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(40, 170, 225, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* === TYPOGRAPHY ENHANCEMENTS === */
.heading-fluent {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.heading-fluent-xl {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

.text-fluent {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* === INTERACTIVE STATES === */
.interactive {
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.interactive:hover {
  transform: scale(1.02);
}

.interactive:active {
  transform: scale(0.98);
}

/* === SECTION DIVIDERS === */
.divider-fluent {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
  margin: var(--space-12) 0;
}

/* === FEATURE CARDS WITH ICONS === */
.feature-fluent {
  text-align: center;
  padding: var(--space-8);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-fluent:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-fluent-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-size: 24px;
}

/* === NAVBAR ENHANCEMENT === */
.navbar-fluent {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* === LINK EFFECTS === */
.link-fluent {
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.link-fluent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.link-fluent:hover {
  color: var(--color-primary-dark);
}

.link-fluent:hover::after {
  width: 100%;
}

/* === SMOOTH SCROLL ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === GRID ENHANCEMENTS === */
.grid-fluent {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
  .grid-fluent {
    gap: var(--space-8);
  }
}

/* === SPACING IMPROVEMENTS === */
.section-fluent {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.container-fluent {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* === MODERN FOCUS STATES === */
.focus-fluent:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* === LOADING STATES === */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* === ENHANCED TESTIMONIALS === */
.testimonial-fluent {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-fluent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* === STATUS INDICATORS === */
.badge-fluent {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  background: var(--color-primary-lightest);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-light);
}

/* === IMPROVED FORM ELEMENTS === */
.input-fluent {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: all 0.2s ease;
  background: var(--color-white);
}

.input-fluent:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.input-fluent:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(40, 170, 225, 0.1);
}

/* === RESPONSIVE ENHANCEMENTS === */
@media (max-width: 768px) {
  .hero-fluent {
    min-height: 80vh;
  }
  
  .heading-fluent-xl {
    font-size: 2rem;
  }
  
  .section-fluent {
    padding: 3rem 0;
  }
}

/* ============================================
   12. FINAL POLISH & ENHANCEMENTS
   ============================================ */

/* === SMOOTH PAGE LOAD === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: fadeIn 0.3s ease-in;
}

/* === ENHANCED GALLERY === */
.gallery {
  position: relative;
}

.gallery-slide {
  animation: fadeIn 0.5s ease-in;
}

.gallery-main:hover .gallery-controls {
  opacity: 1;
}

.gallery-controls {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* === IMPROVED FOOTER === */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(40, 170, 225, 0.3) 50%, transparent 100%);
}

/* === SCROLL PROGRESS INDICATOR === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* === ENHANCED LINK STYLES === */
a {
  transition: all 0.2s ease;
}

.section a:not(.btn) {
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.section a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section a:not(.btn):hover::after {
  width: 100%;
}

/* === IMPROVED LIST STYLES === */
ul:not(.navbar-nav):not([class*="gallery"]) {
  list-style: none;
  padding-left: 0;
}

ul:not(.navbar-nav):not([class*="gallery"]) li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Arrow bullets removed for cleaner design */
ul:not(.navbar-nav):not([class*="gallery"]) li::before {
  content: none;
}

/* === BLOCKQUOTE STYLING === */
blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  font-style: italic;
  color: var(--color-text-secondary);
  background: var(--color-bg-secondary);
  padding: var(--space-6);
  border-radius: 0 8px 8px 0;
}

/* === CODE BLOCKS === */
code {
  background: var(--color-neutral-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
  color: var(--color-primary-dark);
}

/* === TABLE STYLING === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

thead {
  background: var(--color-primary);
  color: white;
}

th, td {
  padding: var(--space-4);
  text-align: left;
}

tr:nth-child(even) {
  background: var(--color-bg-secondary);
}

tr:hover {
  background: var(--color-primary-lightest);
  transition: background 0.2s ease;
}

/* === ENHANCED IMAGE STYLES === */
img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

/* === SELECTION STYLING === */
::selection {
  background: var(--color-primary);
  color: white;
}

::-moz-selection {
  background: var(--color-primary);
  color: white;
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-neutral-400);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* === LOADING SPINNER === */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-neutral-200);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === BADGE ENHANCEMENTS === */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 16px;
  background: var(--color-primary-lightest);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-light);
  transition: all 0.2s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(40, 170, 225, 0.2);
}

/* === ALERT BOXES === */
.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: 8px;
  margin: var(--space-4) 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-left: 4px solid;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--color-info);
  color: #1e40af;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--color-success);
  color: #065f46;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--color-warning);
  color: #92400e;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--color-error);
  color: #991b1b;
}

/* === TOOLTIP === */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 0.875rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* === FINAL RESPONSIVE POLISH === */
@media (max-width: 768px) {
  .card {
    padding: var(--space-6);
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* === PRINT OPTIMIZATIONS === */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-controls,
  .floating-contact {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
  
  .card {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
    color: #666;
  }
}

/* === MODERN FAQ ACCORDION === */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  margin-bottom: var(--space-4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(40, 170, 225, 0.4);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(40, 170, 225, 0.12);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
  gap: var(--space-4);
  text-align: left;
}

.faq-header:hover {
  background: rgba(40, 170, 225, 0.03);
}

.faq-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1F2937;
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 170, 225, 0.1);
  border-radius: 8px;
  color: var(--color-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
}

.faq-item.active .faq-icon {
  background: var(--color-primary);
  color: white;
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  max-height: 2000px;
}

.faq-body {
  padding: 0 2rem 1.5rem;
}

.faq-content p {
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.faq-content p:last-child {
  margin-bottom: 0;
}

.faq-content strong {
  color: #1F2937;
  font-weight: 600;
}

.faq-note {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.05) 0%, rgba(40, 170, 225, 0.08) 100%);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.faq-note i {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 1rem;
}

/* === SECTION TITLE STYLES === */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.section-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 700px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === GRID LAYOUTS FOR SECTIONS === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

/* === INFO CARDS === */
.info-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: height 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(40, 170, 225, 0.2);
}

.info-card:hover::before {
  height: 100%;
}

.info-card h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  padding-left: 1.75rem;
  margin-bottom: var(--space-3);
  position: relative;
}

.info-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.2em;
}

/* === CALL TO ACTION SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: float 15s ease-in-out infinite;
}

.cta-section h2,
.cta-section h3 {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-light {
  background: white;
  color: var(--color-primary);
  border: 2px solid white;
}

.btn-light:hover {
  background: transparent;
  color: white;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--color-primary);
}

/* ============================================
   13. ENHANCED SECTION DESIGNS - MAIN INDEX
   ============================================ */

/* === WHO WE SERVE SECTION === */
.section-alt {
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 100%);
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.feature-card-modern {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(40, 170, 225, 0.2);
}

.feature-card-modern:hover::before {
  transform: scaleX(1);
}

.feature-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(40, 170, 225, 0.25);
}

.feature-card-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.feature-card-modern h3 {
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary-dark);
  font-size: var(--text-xl);
}

.feature-card-modern p {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.feature-card-modern ul {
  list-style: none;
  padding: 0;
}

.feature-card-modern li {
  padding: var(--space-3) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-modern li:last-child {
  border-bottom: none;
}

.feature-card-modern li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--color-success);
  margin-top: 2px;
}

/* === ACCOMMODATION LEVELS COMPARISON === */
.comparison-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.comparison-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.comparison-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.comparison-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.comparison-card-header h3 {
  color: white;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.comparison-card-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.comparison-card-body {
  padding: var(--space-8);
}

.card-section {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.card-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.card-section h4 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary-dark);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.card-section h4 i {
  color: var(--color-primary);
}

.card-section ul {
  list-style: none;
  padding: 0;
}

.card-section li {
  padding: var(--space-3) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.card-section li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.highlight-section {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.05) 0%, rgba(14, 107, 148, 0.05) 100%);
  border-radius: 12px;
  padding: var(--space-6);
  border: 1px solid rgba(40, 170, 225, 0.1);
}

/* === AMENITIES SECTION === */
.amenities-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%);
}

.amenity-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: var(--space-6);
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-left-width: 6px;
}

.amenity-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-lightest) 0%, var(--color-bg-subtle) 100%);
  border-radius: 12px;
  margin-right: var(--space-3);
}

/* === INREACH SUPPORTS SECTION === */
.inreach-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.inreach-table-section {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: var(--space-12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.level-tab {
  padding: var(--space-4) var(--space-8);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.level-tab.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(40, 170, 225, 0.3);
  transform: scale(1.05);
}

.level-tab:not(.active) {
  background: rgba(40, 170, 225, 0.1);
  color: var(--color-primary-dark);
  border-color: rgba(40, 170, 225, 0.2);
}

.level-tab:not(.active):hover {
  background: rgba(40, 170, 225, 0.15);
  transform: translateY(-2px);
}

.service-card {
  background: linear-gradient(135deg, rgba(154, 219, 255, 0.08) 0%, rgba(175, 210, 240, 0.08) 100%);
  border-radius: 16px;
  padding: var(--space-8);
  border: 1px solid rgba(40, 170, 225, 0.15);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(40, 170, 225, 0.25);
}

.service-card h4 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  color: var(--color-primary-dark);
}

/* === TESTIMONIALS ENHANCEMENT === */
.testimonials-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e3ebf3 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(40, 170, 225, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-section > .container {
  position: relative;
  z-index: 1;
}

.testimonials-section > .container > div {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: 16px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: var(--space-6);
  transition: all 0.3s ease;
  position: relative;
}

.testimonials-section > .container > div:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-left-width: 6px;
}

.testimonials-section > .container > div::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 4rem;
  color: rgba(40, 170, 225, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonials-section b {
  display: block;
  color: var(--color-primary-dark);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  padding-left: var(--space-10);
}

.testimonials-section p {
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
  font-style: italic;
  padding-left: var(--space-10);
}

/* === COSTS SECTION === */
.costs-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.costs-section p {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.costs-section p:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.costs-section b {
  color: var(--color-primary-dark);
  font-size: var(--text-lg);
  display: block;
  margin-bottom: var(--space-2);
}

/* === CONTACT SECTION === */
.contact-section {
  background: linear-gradient(135deg, #f0f7fb 0%, #dbe8f4 100%);
}

.contact-section ul {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-section li {
  padding: var(--space-4) 0;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-section li:last-child {
  border-bottom: none;
}

.contact-section li::before {
  content: '→';
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.5rem;
}

.contact-section a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.contact-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.contact-section a:hover {
  color: var(--color-primary-dark);
}

.contact-section a:hover::after {
  width: 100%;
}

/* === ACCREDITATION SECTION === */
.accreditation-section {
  background: linear-gradient(180deg, #f5f7fa 0%, #e8eff6 100%);
}

.accreditation-section > .container > div {
  background: var(--color-white);
  padding: var(--space-10);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--color-primary);
}

/* === MODERN FAQ ENHANCEMENTS === */
.modern-faq-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.modern-header {
  position: relative;
  padding-bottom: var(--space-6);
}

.modern-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.faq-accordion-item {
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-accordion-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(40, 170, 225, 0.3);
}

.faq-accordion-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(40, 170, 225, 0.15);
}

.faq-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  gap: var(--space-4);
}

.faq-accordion-header:hover {
  background: rgba(40, 170, 225, 0.04);
}

.faq-accordion-header h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  flex: 1;
}

.faq-accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-lightest);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-icon {
  background: var(--color-primary);
  color: white;
  transform: rotate(135deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 1500px;
}

.faq-accordion-body {
  padding: 0 var(--space-6) var(--space-6);
}

.faq-accordion-body p {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.faq-accordion-body p:last-child {
  margin-bottom: 0;
}

.faq-accordion-body strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* === BUTTONS IN SECTIONS === */
.modern-primary-button,
.modern-secondary-button {
  padding: var(--space-4) var(--space-8);
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.modern-primary-button {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(40, 170, 225, 0.25);
}

.modern-primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 170, 225, 0.35);
}

.modern-secondary-button {
  background: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.modern-secondary-button:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 170, 225, 0.25);
}

/* === STAGGERED ANIMATION SUPPORT === */
.stagger-parent > * {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.stagger-child:nth-child(1) { animation-delay: 0.1s; }
.stagger-child:nth-child(2) { animation-delay: 0.2s; }
.stagger-child:nth-child(3) { animation-delay: 0.3s; }
.stagger-child:nth-child(4) { animation-delay: 0.4s; }
.stagger-child:nth-child(5) { animation-delay: 0.5s; }
.stagger-child:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE ENHANCEMENTS FOR ALL SECTIONS === */
@media (max-width: 991px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .comparison-card-header {
    padding: var(--space-6);
  }
  
  .comparison-card-body {
    padding: var(--space-6);
  }
  
  .feature-card-modern {
    padding: var(--space-6);
  }
}

@media (max-width: 768px) {
  .inreach-table-section {
    padding: var(--space-6);
  }
  
  .service-card {
    padding: var(--space-6);
  }
  
  .level-tab {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
  
  .faq-accordion-header {
    padding: var(--space-4);
  }
  
  .faq-accordion-body {
    padding: 0 var(--space-4) var(--space-4);
  }
  
  .testimonials-section b {
    padding-left: var(--space-6);
  }
  
  .testimonials-section p {
    padding-left: var(--space-6);
  }
}

/* === SCROLL REVEAL ANIMATIONS === */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === HERO MODERN ENHANCEMENTS === */
.hero-modern {
  position: relative;
  overflow: hidden;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: var(--space-8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.btn-primary-modern {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-4) var(--space-8);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(40, 170, 225, 0.3);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 170, 225, 0.4);
}

.btn-secondary-modern {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: var(--space-4) var(--space-8);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all 0.3s ease;
}

.btn-secondary-modern:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* === GALLERY MODERN ENHANCEMENTS === */
.gallery-section {
  background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 100%);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.photo-gallery-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.12);
  background: #000;
  margin-bottom: 2rem;
}

.gallery-slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide {
  min-width: 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-slide img:hover {
  transform: scale(1.02);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: white;
  padding: var(--space-8) var(--space-6) var(--space-6);
}

.slide-caption h3 {
  color: white;
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

.slide-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gallery-prev {
  left: var(--space-4);
}

.gallery-next {
  right: var(--space-4);
}

.modern-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.modern-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-neutral-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.modern-indicator.active,
.modern-indicator:hover {
  background: var(--color-primary);
  transform: scale(1.3);
}

.modern-autoplay {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: var(--space-2) var(--space-4);
  border-radius: 20px;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.modern-autoplay:hover {
  background: white;
  transform: scale(1.05);
}

/* Gallery Indicators (for HTML class names) */
.gallery-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.indicator.active {
  background: white;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Autoplay Toggle */
.autoplay-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  padding: 10px 18px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F2937;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.autoplay-toggle:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.autoplay-toggle i {
  font-size: 0.75rem;
}

/* Thumbnail Strip */
.thumbnail-strip {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  position: relative;
  width: 140px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(40, 170, 225, 0.3);
}

.thumbnail.active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(40, 170, 225, 0.4);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: white;
  padding: 12px 8px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Slide Badge */
.slide-badge {
  display: inline-block;
  background: rgba(40, 170, 225, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(40, 170, 225, 0.4);
}

.slide-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.modern-thumbnails {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  overflow-x: auto;
  padding: var(--space-2);
  scroll-behavior: smooth;
}

.modern-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.modern-thumbnails::-webkit-scrollbar-track {
  background: var(--color-neutral-100);
  border-radius: 3px;
}

.modern-thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-neutral-400);
  border-radius: 3px;
}

.modern-thumbnails::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

.modern-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 85px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.modern-thumb:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.modern-thumb.active-thumb {
  opacity: 1;
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(40, 170, 225, 0.3);
}

.modern-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === LIGHTBOX MODAL === */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  backdrop-filter: blur(10px);
}

#lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-6);
  border-radius: 12px;
  margin-top: var(--space-4);
  backdrop-filter: blur(10px);
}

#lightbox-title {
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

#lightbox-description {
  color: var(--color-text-secondary);
}

.lightbox-content button {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content button:hover {
  background: white;
  transform: scale(1.1);
}

/* === ENTITY INFO STYLING === */
.entity-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-1);
}

.entity-abn {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* === COMPARISON SECTION (BEFORE/AFTER) === */
.comparison-section {
  margin-top: 3rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Comparison Sides */
.comparison-side {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-before {
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.comparison-after {
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.comparison-side:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Comparison Headers */
.comparison-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #F3F4F6;
}

.comparison-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.comparison-icon-before {
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  color: #DC2626;
}

.comparison-icon-after {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #059669;
}

.comparison-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.comparison-subtitle {
  font-size: 1rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
}

/* Comparison Items */
.comparison-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: #F9FAFB;
  transition: all 0.3s ease;
  align-items: flex-start;
}

.comparison-item:hover {
  background: #F3F4F6;
  transform: translateX(8px);
}

.comparison-before .comparison-item:hover {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.comparison-after .comparison-item:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.item-icon-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
  color: #DC2626;
}

.item-icon-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: #059669;
}

.comparison-item:hover .item-icon {
  transform: scale(1.1);
}

.item-content {
  flex: 1;
  padding-top: 0.25rem;
}

.item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.item-description {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

/* Divider */
.comparison-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
}

.divider-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, #E5E7EB 50%, transparent 100%);
}

.divider-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0e6b94 100%);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(40, 170, 225, 0.3);
  margin: 0.5rem 0;
  animation: slide-arrow 2s ease-in-out infinite;
}

@keyframes slide-arrow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

/* Policy Notice */
.policy-notice {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(59, 130, 246, 0.15);
}

.policy-notice-main {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(59, 130, 246, 0.06) 100%);
  align-items: flex-start;
}

.policy-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3B82F6;
  border-radius: 14px;
  color: white;
  font-size: 1.5rem;
}

.policy-content {
  flex: 1;
}

.policy-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
}

.policy-text {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.7;
  margin: 0;
}

.policy-notice-grandfathered {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-top: 2px solid rgba(16, 185, 129, 0.15);
  align-items: center;
}

.grandfathered-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  border-radius: 10px;
  color: white;
  font-size: 1.125rem;
}

.grandfathered-content {
  flex: 1;
  font-size: 1rem;
  color: #1F2937;
  line-height: 1.6;
}

.grandfathered-content strong {
  font-weight: 700;
  color: #059669;
}

/* === LEGAL DISCLOSURE SECTION === */
.legal-disclosure-section {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #F3F4F6;
}

.legal-header-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-radius: 50%;
  color: #3B82F6;
  font-size: 2.5rem;
}

.legal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
}

.legal-subtitle {
  font-size: 1.125rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
}

.legal-entities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

/* Legal Entity Cards */
.legal-entity {
  background: #F9FAFB;
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid #E5E7EB;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-entity:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.legal-entity-ccal {
  border-color: rgba(40, 170, 225, 0.3);
}

.legal-entity-ccal:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(40, 170, 225, 0.15);
}

.legal-entity-inreach {
  border-color: rgba(16, 185, 129, 0.3);
}

.legal-entity-inreach:hover {
  border-color: var(--color-success);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

.legal-entity-badge-separate {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.legal-entity-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #E5E7EB;
}

.legal-entity-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
}

.legal-entity:hover .legal-entity-badge {
  transform: scale(1.1);
}

.legal-entity-ccal .legal-entity-badge {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.1) 0%, rgba(40, 170, 225, 0.15) 100%);
  color: var(--color-primary);
}

.legal-entity-inreach .legal-entity-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: var(--color-success);
}

.legal-entity-title-group {
  flex: 1;
}

.legal-entity-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.25rem 0;
}

.legal-entity-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-entity-name a:hover {
  color: var(--color-primary);
}

.legal-entity-name i {
  font-size: 0.875rem;
  margin-left: 0.5rem;
  opacity: 0.6;
}

.legal-entity-abn {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
  font-family: 'Courier New', monospace;
  font-weight: 500;
}

/* Services Sections */
.legal-services-section {
  margin-bottom: 1.75rem;
}

.legal-services-section:last-child {
  margin-bottom: 0;
}

.services-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.services-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.125rem;
}

.services-icon-provided {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: var(--color-success);
}

.services-icon-excluded {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
  color: #DC2626;
}

.services-icon-billing {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
  color: #3B82F6;
}

.services-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0;
}

.legal-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  background: white;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.legal-service-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legal-service-item.legal-service-excluded {
  opacity: 0.6;
}

.service-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
}

.service-badge-ccal {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.1) 0%, rgba(40, 170, 225, 0.15) 100%);
  color: var(--color-primary);
}

.service-badge-inreach {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: var(--color-success);
}

.service-badge-excluded {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
  color: #DC2626;
}

.legal-service-item span {
  font-size: 1rem;
  color: #374151;
  font-weight: 500;
}

.legal-service-excluded span {
  color: #9CA3AF;
}

/* Billing Info */
.billing-info {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
}

.billing-primary {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.5rem 0;
}

.billing-secondary {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
}

/* Legal Distinction Banner */
.legal-distinction-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid rgba(245, 158, 11, 0.2);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.distinction-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 14px;
  color: white;
  font-size: 1.5rem;
}

.distinction-content {
  flex: 1;
}

.distinction-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
}

.distinction-text {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.7;
  margin: 0;
}

.distinction-text strong {
  color: #1F2937;
  font-weight: 700;
}

/* === AMENITIES SECTION === */
.amenities-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
}

.amenities-header {
  text-align: center;
  margin-bottom: 4rem;
}

.amenities-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0e6b94 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.amenities-subtitle {
  font-size: 1.25rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.amenity-card-modern {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #E5E7EB;
  position: relative;
  overflow: hidden;
}

.amenity-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.amenity-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.amenity-card-modern:hover::before {
  transform: scaleX(1);
}

.amenity-card-featured {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.05) 0%, rgba(40, 170, 225, 0.1) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(40, 170, 225, 0.15);
}

.amenity-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.amenity-featured-badge i {
  font-size: 0.7rem;
}

.amenity-icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.amenity-card-modern:hover .amenity-icon-circle {
  transform: scale(1.1) rotate(5deg);
}

.amenity-icon-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
  color: #3B82F6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.amenity-icon-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.2) 100%);
  color: #F97316;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
}

.amenity-icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.2) 100%);
  color: #A855F7;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.amenity-icon-yellow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.2) 100%);
  color: #EAB308;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.2);
}

.amenity-icon-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
  color: var(--color-success);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.amenity-icon-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.2) 100%);
  color: #14B8A6;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.2);
}

.amenity-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
}

.amenity-card-description {
  font-size: 1rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

/* Home Philosophy Section */
.home-philosophy-section {
  background: white;
  border-radius: 32px;
  padding: 4rem 3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border: 2px solid #E5E7EB;
}

.home-philosophy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.philosophy-icon-large {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.15) 100%);
  border-radius: 50%;
  color: #EF4444;
  font-size: 3rem;
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.2);
  animation: pulse-heart 2s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.philosophy-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
}

.philosophy-subtitle {
  font-size: 1.125rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
}

.philosophy-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.philosophy-card {
  background: #F9FAFB;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #E5E7EB;
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.philosophy-icon-wrap {
  margin-bottom: 1.5rem;
}

.philosophy-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.philosophy-card:hover .philosophy-icon {
  transform: scale(1.1) rotate(-5deg);
}

.philosophy-icon-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
  color: #3B82F6;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.philosophy-icon-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
  color: var(--color-success);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.philosophy-icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.2) 100%);
  color: #A855F7;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.15);
}

.philosophy-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.75rem 0;
}

.philosophy-card-text {
  font-size: 1rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

.philosophy-cta {
  text-align: center;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-modern-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0e6b94 100%);
  color: white;
}

.btn-modern-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(40, 170, 225, 0.3);
}

.btn-modern i:last-child {
  transition: transform 0.3s ease;
}

.btn-modern:hover i:last-child {
  transform: translateX(4px);
}

/* === INTEGRATED MODEL SECTION === */
.integrated-model-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 3rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.integrated-model-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 3rem;
  position: relative;
}

.integrated-model-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #0e6b94);
  border-radius: 2px;
}

.integrated-model-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* Provider Cards */
.provider-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.provider-card-ccal {
  border-color: rgba(40, 170, 225, 0.2);
}

.provider-card-ccal:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(40, 170, 225, 0.15);
}

.provider-card-inreach {
  border-color: rgba(16, 185, 129, 0.2);
}

.provider-card-inreach:hover {
  border-color: var(--color-success);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

/* Provider Header */
.provider-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #F3F4F6;
}

.provider-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.provider-card-ccal .provider-icon {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.1) 0%, rgba(40, 170, 225, 0.15) 100%);
  color: var(--color-primary);
}

.provider-card-inreach .provider-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: var(--color-success);
}

.provider-card:hover .provider-icon {
  transform: scale(1.1);
}

.provider-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.5rem 0;
}

.provider-subtitle {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
}

/* Provider Services List */
.provider-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.provider-service {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: #F9FAFB;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.provider-service:hover {
  background: #F3F4F6;
  transform: translateX(4px);
}

.provider-service:last-child {
  margin-bottom: 0;
}

.service-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
}

.provider-card-ccal .service-icon {
  background: rgba(40, 170, 225, 0.1);
  color: var(--color-primary);
}

.provider-card-inreach .service-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

.provider-service span {
  flex: 1;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  padding-top: 0.5rem;
}

/* Connector */
.model-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
}

.connector-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0e6b94 100%);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(40, 170, 225, 0.3);
  margin-bottom: 1rem;
  animation: pulse-connector 2s ease-in-out infinite;
}

@keyframes pulse-connector {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(40, 170, 225, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(40, 170, 225, 0.4);
  }
}

.connector-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* Footer Banner */
.integrated-model-footer {
  background: linear-gradient(135deg, rgba(40, 170, 225, 0.08) 0%, rgba(14, 107, 148, 0.08) 100%);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 2px solid rgba(40, 170, 225, 0.15);
}

.footer-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
}

.footer-content {
  flex: 1;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 0.25rem 0;
}

.footer-subtitle {
  font-size: 0.95rem;
  color: #6B7280;
  margin: 0;
  font-weight: 500;
}

/* === MOBILE OPTIMIZATIONS === */
@media (max-width: 768px) {
  .gallery-slide img {
    height: 400px;
  }
  
  .slide-caption {
    padding: var(--space-6) var(--space-4) var(--space-4);
  }
  
  .gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  
  .modern-thumb {
    width: 100px;
    height: 70px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary-modern,
  .btn-secondary-modern {
    width: 100%;
    justify-content: center;
  }

  /* Integrated Model Mobile */
  .integrated-model-section {
    padding: 2rem 1.5rem;
  }

  .integrated-model-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .integrated-model-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .model-connector {
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .connector-icon {
    transform: rotate(90deg);
  }

  .connector-text {
    display: none;
  }

  .provider-card {
    padding: 1.5rem;
  }

  .provider-icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }

  .provider-name {
    font-size: 1.25rem;
  }

  .integrated-model-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-subtitle {
    font-size: 0.875rem;
  }

  /* Comparison Section Mobile */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-divider {
    padding-top: 0;
    padding-bottom: 0;
    flex-direction: row;
  }

  .divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #E5E7EB 50%, transparent 100%);
  }

  .divider-icon {
    transform: rotate(90deg);
    margin: 0 0.5rem;
  }

  .comparison-side {
    padding: 1.75rem;
  }

  .comparison-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
  }

  .comparison-title {
    font-size: 1.5rem;
  }

  .item-icon {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }

  .policy-notice-main {
    flex-direction: column;
    padding: 1.5rem;
  }

  .policy-icon {
    width: 48px;
    height: 48px;
  }

  .policy-title {
    font-size: 1.125rem;
  }

  .policy-notice-grandfathered {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1.5rem;
  }

  /* Legal Disclosure Mobile */
  .legal-disclosure-section {
    padding: 2rem 1.5rem;
  }

  .legal-header-icon {
    width: 72px;
    height: 72px;
    font-size: 2rem;
  }

  .legal-title {
    font-size: 1.5rem;
  }

  .legal-entities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .legal-entity {
    padding: 1.5rem;
  }

  .legal-entity-badge-separate {
    position: static;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .legal-entity-header {
    flex-direction: column;
    text-align: center;
  }

  .legal-entity-badge {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .legal-entity-name {
    font-size: 1.25rem;
  }

  .legal-distinction-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .distinction-title {
    font-size: 1.25rem;
  }

  /* Amenities Section Mobile */
  .amenities-section {
    padding: 4rem 0;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .amenity-card-modern {
    padding: 2rem 1.5rem;
  }

  .amenity-icon-circle {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }

  .home-philosophy-section {
    padding: 3rem 2rem;
    border-radius: 24px;
  }

  .philosophy-icon-large {
    width: 88px;
    height: 88px;
    font-size: 2.5rem;
  }

  .philosophy-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .btn-modern {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-slide img {
    height: 300px;
  }
  
  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .modern-indicator {
    width: 10px;
    height: 10px;
  }
  
  .modern-thumb {
    width: 80px;
    height: 60px;
  }
}

/* ====================================
   ENHANCED TESTIMONIAL CARDS
   ==================================== */

.card-testimonial {
  padding: 2rem;
  background: white;
  border-left: 4px solid var(--portalThemeColor2, #1276CE);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  font-size: 3rem;
  color: var(--portalThemeColor2, #1276CE);
  flex-shrink: 0;
}

.testimonial-info h4 {
  margin: 0;
  color: var(--portalThemeColor8, #323130);
  font-size: 1.25rem;
  font-weight: 600;
}

.testimonial-role {
  margin: 0.25rem 0 0 0;
  color: var(--portalThemeColor4, #0E5A9D);
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-quote {
  position: relative;
  padding: 1rem 0;
  margin: 0;
  font-style: italic;
  color: var(--portalThemeColor8, #323130);
  line-height: 1.7;
  font-size: 1.05rem;
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: -5px;
  font-size: 2rem;
  color: var(--portalThemeColor6, #AFD2F0);
  opacity: 0.3;
}

.testimonial-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--portalThemeColor6, #AFD2F0);
}

.testimonial-rating {
  color: #FFB800;
  font-size: 1.1rem;
  display: flex;
  gap: 0.25rem;
}

/* ====================================
   ENHANCED PRICING CARDS
   ==================================== */

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pricing-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--portalThemeColor4, #0E5A9D);
  font-size: 1rem;
  margin: 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--portalThemeColor8, #323130);
}

.pricing-feature i {
  color: #28a745;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pricing-footer {
  background: var(--portalThemeColor5, #F4F9FD);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: auto;
}

.pricing-note {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--portalThemeColor4, #0E5A9D);
  font-weight: 500;
  font-size: 0.95rem;
}

.pricing-note i {
  color: var(--portalThemeColor2, #1276CE);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ====================================
   TRANSPARENCY BADGES
   ==================================== */

.transparency-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--portalThemeColor2, #1276CE);
}

.badge-item i {
  font-size: 1.75rem;
}

.badge-separator {
  color: var(--portalThemeColor6, #AFD2F0);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ====================================
   ENHANCED CTA CARD
   ==================================== */

.card-cta-enhanced {
  background: linear-gradient(135deg, var(--portalThemeColor2, #1276CE) 0%, var(--portalThemeColor4, #0E5A9D) 100%);
  color: white;
  padding: 3rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-icon-large {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: white;
  color: var(--portalThemeColor2, #1276CE);
  border: 2px solid white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: var(--portalThemeColor5, #F4F9FD);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.cta-info-item i {
  font-size: 1.75rem;
  margin-top: 0.25rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.cta-info-item .info-content strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cta-info-item .info-content p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-info-item .info-content a {
  color: white;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cta-info-item .info-content a:hover {
  opacity: 0.8;
}

/* ====================================
   RESPONSIVE ADJUSTMENTS
   ==================================== */

@media (max-width: 768px) {
  .transparency-badges {
    flex-direction: column;
    gap: 1rem;
  }

  .badge-separator {
    display: none;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .card-cta-enhanced {
    padding: 2rem 1.5rem;
  }

  .cta-info-grid {
    grid-template-columns: 1fr;
  }

  .card-testimonial {
    padding: 1.5rem;
  }

  .testimonial-avatar {
    font-size: 2.5rem;
  }

  .pricing-features {
    margin: 1.5rem 0;
  }
}

/* ====================================
   EXCELLENCE CARDS
   ==================================== */

.excellence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.excellence-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--portalThemeColor6, #AFD2F0);
  transition: all 0.3s ease;
}

.excellence-card:hover {
  border-color: var(--portalThemeColor2, #1276CE);
  box-shadow: 0 4px 16px rgba(18, 118, 206, 0.1);
  transform: translateY(-3px);
}

.excellence-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  font-size: 2rem;
  flex-shrink: 0;
}

.excellence-content {
  flex: 1;
}

.excellence-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.excellence-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* ====================================
   ACCENT CTA CARD
   ==================================== */

.card-accent-cta {
  background: linear-gradient(135deg, var(--portalThemeColor5, #F4F9FD) 0%, white 100%);
  border: 2px solid var(--portalThemeColor2, #1276CE);
  border-radius: 12px;
  padding: 2.5rem;
}

.accent-cta-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.accent-cta-content > i {
  font-size: 3.5rem;
  color: var(--portalThemeColor2, #1276CE);
}

.accent-cta-text {
  flex: 1;
}

.accent-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.accent-cta-description {
  font-size: 1.05rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.accent-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.accent-cta-buttons .btn {
  white-space: nowrap;
}

/* ====================================
   RESPONSIVE ADJUSTMENTS FOR EXCELLENCE
   ==================================== */

@media (max-width: 992px) {
  .excellence-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .excellence-card {
    flex-direction: column;
    text-align: center;
  }

  .excellence-icon {
    margin: 0 auto;
  }

  .accent-cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .accent-cta-content > i {
    margin: 0 auto;
  }

  .accent-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .excellence-card {
    padding: 1.5rem;
  }

  .excellence-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .excellence-title {
    font-size: 1.25rem;
  }

  .card-accent-cta {
    padding: 2rem 1.5rem;
  }

  .accent-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .accent-cta-buttons .btn {
    width: 100%;
  }
}

/* ====================================
   LEADERSHIP CARDS
   ==================================== */

.leadership-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(18, 118, 206, 0.1) 0%, rgba(18, 118, 206, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: var(--portalThemeColor2, #1276CE);
}

.leadership-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.5rem;
  text-align: center;
}

.leadership-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--portalThemeColor2, #1276CE);
  margin-bottom: 1rem;
  text-align: center;
}

.leadership-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

.mission-statement {
  padding: 1.5rem;
  background: var(--portalThemeColor5, #F4F9FD);
  border-radius: 8px;
}

/* Responsive Leadership */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leadership-avatar {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .leadership-name {
    font-size: 1.35rem;
  }
}

/* ====================================
   CONTACT METHOD CARDS
   ==================================== */

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  border-color: var(--portalThemeColor2, #1276CE);
  box-shadow: 0 4px 12px rgba(18, 118, 206, 0.1);
  transform: translateX(5px);
}

.contact-method-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.contact-method-content {
  flex: 1;
}

.contact-method-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.contact-method-text {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.contact-method-text a {
  color: var(--portalThemeColor2, #1276CE);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method-text a:hover {
  color: var(--portalThemeColor4, #0E5A9D);
  text-decoration: underline;
}

.contact-method-subtext {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-bottom: 0;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--portalThemeColor2, #1276CE);
  box-shadow: 0 0 0 3px rgba(18, 118, 206, 0.1);
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #555;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
}

/* Map Container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-method-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }

  .contact-method-icon {
    margin: 0 auto;
  }
}

/* ====================================
   FORM CTA FEATURES
   ==================================== */

.form-cta-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--portalThemeColor5, #F4F9FD);
  border-radius: 8px;
}

.form-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--portalThemeColor8, #323130);
}

.form-cta-feature i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.form-cta-feature i.fa-check-circle {
  color: #28a745;
}

.form-cta-feature i.fa-exclamation-circle {
  color: #F97316;
}

/* ====================================
   KEY AREAS GRID (3x2 Layout)
   ==================================== */

.key-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .key-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .key-areas-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   RESOURCE LINKS & CONTACT CTA
   ==================================== */

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--portalThemeColor5, #F4F9FD);
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.resource-link:hover {
  border-color: var(--portalThemeColor2, #1276CE);
  background: white;
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(18, 118, 206, 0.1);
}

.resource-link i {
  color: var(--portalThemeColor2, #1276CE);
  font-size: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.resource-link strong {
  display: block;
  color: var(--portalThemeColor8, #323130);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.resource-subtext {
  display: block;
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.contact-cta-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-cta-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--portalThemeColor5, #F4F9FD);
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.contact-cta-link:hover {
  border-color: var(--portalThemeColor2, #1276CE);
  background: white;
  box-shadow: 0 2px 8px rgba(18, 118, 206, 0.1);
}

.contact-cta-link i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--portalThemeColor2, #1276CE);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-cta-link strong {
  display: block;
  color: var(--portalThemeColor8, #323130);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-cta-link span {
  display: block;
  font-size: 0.95rem;
  color: var(--portalThemeColor2, #1276CE);
  font-weight: 500;
}

/* ====================================
   PATHWAYS SECTION - ENHANCED
   ==================================== */

.pathways-section {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.pathways-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pathways-title i {
  color: var(--portalThemeColor2, #1276CE);
  font-size: 2.25rem;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* CCAL Provides Section */
.ccal-provides-section {
  background: linear-gradient(135deg, var(--portalThemeColor5, #F4F9FD) 0%, white 100%);
  border: 2px solid var(--portalThemeColor6, #AFD2F0);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
}

.provides-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.provides-title i {
  color: #F97316;
  font-size: 2.25rem;
}

.provides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Integrated Care Highlight */
.integrated-care-highlight {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f0f7 100%);
  border-radius: 20px;
  padding: 3.5rem;
  margin-top: 3rem;
  box-shadow: 0 8px 32px rgba(18, 118, 206, 0.12);
  border: 3px solid var(--portalThemeColor2, #1276CE);
}

.integrated-care-header {
  text-align: center;
  margin-bottom: 3rem;
}

.integrated-care-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--portalThemeColor2, #1276CE) 0%, var(--portalThemeColor4, #0E5A9D) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  box-shadow: 0 8px 24px rgba(18, 118, 206, 0.3);
}

.integrated-care-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 1rem;
}

.integrated-care-description {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.benefit-card:nth-child(1) {
  border-top-color: #3B82F6;
}

.benefit-card:nth-child(2) {
  border-top-color: #F97316;
}

.benefit-card:nth-child(3) {
  border-top-color: #22C55E;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(18, 118, 206, 0.1) 0%, rgba(18, 118, 206, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--portalThemeColor2, #1276CE);
}

.benefit-card:nth-child(2) .benefit-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.2) 100%);
  color: #F97316;
}

.benefit-card:nth-child(3) .benefit-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.2) 100%);
  color: #22C55E;
}

.benefit-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.5rem;
}

.benefit-subtitle {
  font-size: 1.1rem;
  color: var(--portalThemeColor2, #1276CE);
  font-weight: 600;
  margin-bottom: 1rem;
}

.benefit-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .pathways-grid {
    grid-template-columns: 1fr;
  }

  .provides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .integrated-care-highlight {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .pathways-section,
  .ccal-provides-section {
    padding: 2rem;
  }

  .provides-grid {
    grid-template-columns: 1fr;
  }

  .pathways-title,
  .provides-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .integrated-care-title {
    font-size: 2rem;
  }

  .integrated-care-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
}

/* ====================================
   SUPPORT JOURNEY GRID (2x2 Layout)
   ==================================== */

.support-journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
}

@media (max-width: 768px) {
  .support-journey-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================
   PRICING PAGE STYLES
   ==================================== */

/* Pricing Level Cards */
.pricing-level-card {
  position: relative;
  padding: 2.5rem;
  overflow: visible;
}

.pricing-level-featured {
  border: 3px solid var(--portalThemeColor2, #1276CE);
  box-shadow: 0 8px 32px rgba(18, 118, 206, 0.15);
}

.pricing-level-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-badge-level2 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563eb 100%);
  color: white;
}

.pricing-badge-level3 {
  background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
  color: white;
}

.pricing-level-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.pricing-level-subtitle {
  font-size: 1.05rem;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--portalThemeColor8, #323130);
  border-bottom: 1px solid #f0f0f0;
}

.pricing-features-item:last-child {
  border-bottom: none;
}

.pricing-features-item i {
  color: #28a745;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Pricing Disclaimer */
.pricing-disclaimer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(249, 115, 22, 0.05) 100%);
  border-left: 4px solid #F97316;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pricing-disclaimer i {
  color: #F97316;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.pricing-disclaimer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--portalThemeColor8, #323130);
}

/* Pricing Tables */
.pricing-table-section {
  margin-bottom: 3rem;
}

.pricing-table-header {
  padding: 1.5rem 2rem;
  border-radius: 12px 12px 0 0;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.pricing-header-level3 {
  background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
}

.pricing-header-level2 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563eb 100%);
}

.pricing-table-header i {
  font-size: 1.5rem;
  color: white !important;
}

.pricing-table-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
}

.pricing-table-wrapper {
  background: white;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.pricing-table thead {
  background: var(--portalThemeColor5, #F4F9FD);
}

.pricing-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  border-bottom: 2px solid var(--portalThemeColor2, #1276CE);
}

.pricing-table th.price-column {
  text-align: right;
}

.pricing-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s ease;
}

.pricing-table tbody tr:hover {
  background: var(--portalThemeColor5, #F4F9FD);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table td {
  padding: 1.25rem 1.5rem;
  color: #555;
}

.pricing-table td i {
  margin-right: 0.5rem;
  color: var(--portalThemeColor2, #1276CE);
}

.price-cell {
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portalThemeColor2, #1276CE);
}

.price-cell-breakdown {
  text-align: right;
  font-size: 1.15rem;
  font-weight: 600;
  color: #555;
}

.total-column {
  background: var(--portalThemeColor5, #F4F9FD);
}

.table-note {
  padding: 1.25rem 1.5rem;
  background: var(--portalThemeColor5, #F4F9FD);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
}

.table-note i {
  color: var(--portalThemeColor2, #1276CE);
  font-size: 1.1rem;
}

.table-note p {
  margin: 0;
}

/* Adjustment Cards */
.adjustment-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
  text-align: center;
  transition: all 0.3s ease;
}

.adjustment-card:hover {
  border-color: var(--portalThemeColor2, #1276CE);
  box-shadow: 0 4px 12px rgba(18, 118, 206, 0.1);
  transform: translateY(-4px);
}

.adjustment-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(18, 118, 206, 0.1) 0%, rgba(18, 118, 206, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--portalThemeColor2, #1276CE);
}

.adjustment-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.75rem;
}

.adjustment-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Single Adjustment Card */
.adjustment-card-single {
  background: linear-gradient(135deg, #f8fafc 0%, white 100%);
  padding: 3rem;
  border-radius: 16px;
  border: 3px solid var(--portalThemeColor2, #1276CE);
  text-align: center;
  box-shadow: 0 4px 16px rgba(18, 118, 206, 0.12);
}

.adjustment-icon-large {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--portalThemeColor2, #1276CE) 0%, var(--portalThemeColor4, #0E5A9D) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: white;
  box-shadow: 0 4px 16px rgba(18, 118, 206, 0.3);
}

.adjustment-title-large {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 1rem;
}

.adjustment-description-large {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.adjustment-highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-left: 4px solid #22C55E;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.adjustment-highlight i {
  color: #22C55E;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.adjustment-highlight p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--portalThemeColor8, #323130);
}

.adjustment-note {
  font-size: 1rem;
  color: #888;
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Additional Charges */
.additional-charges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.charge-item {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
}

.charge-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--portalThemeColor6, #AFD2F0);
}

.charge-header i {
  color: var(--portalThemeColor2, #1276CE);
  font-size: 1.5rem;
}

.charge-header strong {
  color: var(--portalThemeColor8, #323130);
  font-size: 1.1rem;
}

.charge-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.charge-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--portalThemeColor2, #1276CE);
}

.charge-note {
  font-size: 0.95rem;
  color: #888;
  font-style: italic;
}

/* Responsive Pricing Tables */
@media (max-width: 992px) {
  .additional-charges-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-table-detailed {
    font-size: 0.9rem;
  }

  .price-cell {
    font-size: 1.25rem;
  }

  .price-cell-breakdown {
    font-size: 1rem;
  }
}

/* Pricing Policy */
.pricing-policy-content {
  padding: 2rem 0;
}

.pricing-policy-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-policy-highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-left: 4px solid #3B82F6;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pricing-policy-highlight i {
  font-size: 3rem;
  color: #3B82F6;
  flex-shrink: 0;
}

.pricing-policy-highlight p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--portalThemeColor8, #323130);
}

.pricing-review-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.review-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(18, 118, 206, 0.1) 0%, rgba(18, 118, 206, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--portalThemeColor2, #1276CE);
  flex-shrink: 0;
}

.review-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-content strong {
  color: var(--portalThemeColor8, #323130);
  font-size: 1.05rem;
}

.review-content span {
  color: #555;
  font-size: 1.1rem;
  font-weight: 600;
}

.review-divider {
  font-size: 2rem;
  color: var(--portalThemeColor6, #AFD2F0);
}

/* Responsive Pricing */
@media (max-width: 992px) {
  .pricing-table-wrapper {
    overflow-x: auto;
  }

  .pricing-review-timeline {
    flex-direction: column;
    gap: 1.5rem;
  }

  .review-divider {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .pricing-level-card {
    padding: 2rem;
  }

  .pricing-level-badge {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }

  .pricing-table {
    font-size: 0.95rem;
  }

  .price-cell {
    font-size: 1.25rem;
  }

  .pricing-policy-highlight {
    flex-direction: column;
    text-align: center;
  }

  .pricing-policy-text {
    font-size: 1.05rem;
  }
}

/* ====================================
   ENHANCED FOOTER DESIGN
   ==================================== */

/* Footer Info Section - Colorful Cards */
.footer-info {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f0f7 50%, #f8fafc 100%);
  padding: 4rem 0;
  position: relative;
}

.footer-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    #3B82F6 25%,
    #F97316 50%,
    #A855F7 75%,
    transparent 100%);
}

.footer-header {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 0.75rem;
}

.footer-subtitle {
  font-size: 1.1rem;
  color: #555;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-info-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.footer-info-card-blue {
  border-top-color: #3B82F6;
}

.footer-info-card-blue:hover {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
}

.footer-info-card-orange {
  border-top-color: #F97316;
}

.footer-info-card-orange:hover {
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.2);
  transform: translateY(-4px);
}

.footer-info-card-purple {
  border-top-color: #A855F7;
}

.footer-info-card-purple:hover {
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
}

.footer-info-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.footer-info-icon-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
  color: #3B82F6;
}

.footer-info-icon-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.2) 100%);
  color: #F97316;
}

.footer-info-icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.2) 100%);
  color: #A855F7;
}

.footer-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portalThemeColor8, #323130);
  margin-bottom: 1rem;
}

.footer-info-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.footer-info-description strong {
  color: var(--portalThemeColor2, #1276CE);
  font-weight: 600;
}

/* Footer Main Section - Modern Dark Design */
.footer-main {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  padding: 4rem 0 2rem;
  color: #cbd5e0;
  position: relative;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.3) 50%,
    transparent 100%);
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #a0aec0;
  margin: 0.25rem 0 0 0;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e0;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #3B82F6;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-links-title,
.footer-services-title,
.footer-contact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  color: #cbd5e0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links-list a:hover {
  color: #3B82F6;
  transform: translateX(5px);
}

.footer-service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 3px solid #F97316;
}

.footer-service-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-service-subtitle i {
  color: #F97316;
}

.footer-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-service-list li {
  font-size: 0.9rem;
  color: #cbd5e0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-service-list i {
  color: #3B82F6;
  font-size: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateX(5px);
}

.footer-contact-item i {
  color: #3B82F6;
  font-size: 1.25rem;
  width: 24px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #cbd5e0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-contact-item:hover a {
  color: white;
}

.badge-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563eb 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer Bottom */
.footer-bottom {
  background: #0f1419;
  padding: 2rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright p {
  margin: 0;
  color: #a0aec0;
  font-size: 0.9rem;
}

.footer-slogan {
  margin-top: 0.5rem !important;
  font-style: italic;
  color: #718096;
  font-size: 0.85rem !important;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #cbd5e0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #3B82F6;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-main .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-about {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer-info {
    padding: 3rem 0;
  }

  .footer-info .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .footer-title {
    font-size: 1.75rem;
  }

  .footer-info-card {
    padding: 2rem;
  }

  .footer-main {
    padding: 3rem 0 1.5rem;
  }

  .footer-main .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .footer-main .grid-4 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    padding: 2rem 0;
  }

  .footer-bottom .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-info .container,
  .footer-main .container,
  .footer-bottom .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .footer-info-card {
    padding: 1.5rem;
  }

  .footer-title {
    font-size: 1.5rem;
  }
}
