/*
Theme Name: By The Shore SCUBA Instruction
Theme URI: https://scubadivingraleigh.com/
Author: By The Shore SCUBA Instruction
Author URI: https://scubadivingraleigh.com/
Description: High-performance, fully accessible, SEO-optimized native WordPress theme for By The Shore SCUBA Instruction (Raleigh, NC). Featuring clean semantic HTML5, native PHP templates, dynamic JSON-LD schema, local SEO architecture, rich mega menus, and zero page builder dependencies.
Version: 2.7.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://scubadivingraleigh.com/terms-and-conditions/
Text Domain: bytheshore-scuba
Tags: custom-theme, accessibility-ready, seo-optimized, translation-ready, full-width-template, local-business, clean-code
*/


/* ==========================================================================
   BY THE SHORE SCUBA INSTRUCTION - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Ocean Luxury Dark Mode with Bioluminescent Cyan & Aquamarine
   Typography: Outfit & Plus Jakarta Sans
   ========================================================================== */

:root {
  /* ==========================================================================
     BY THE SHORE SCUBA INSTRUCTION - BRIGHT & SKY BLUE THEME SYSTEM
     Aesthetics: Sunlit Ocean, Sky Blue, Crisp White, and Royal Marine
     ========================================================================== */

  /* Theme Backgrounds */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-soft: #f0f7ff;
  --bg-surface-blue: #e0f2fe;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.92);
  --bg-glass-blue: rgba(14, 116, 185, 0.85);
  --bg-hero-overlay: linear-gradient(180deg, rgba(8, 48, 107, 0.78) 0%, rgba(3, 105, 161, 0.85) 100%);
  
  /* Brand Sky Blue & Ocean Palette */
  --primary-sky: #0ea5e9;
  --primary-sky-hover: #0284c7;
  --primary-sky-light: #e0f2fe;
  --primary-sky-glow: rgba(14, 165, 233, 0.35);
  --primary-royal: #0369a1;
  --primary-deep-blue: #0c4a6e;
  --primary-cyan: #06b6d4;
  --primary-teal: #0d9488;
  
  /* Scuba Dive Flag & Accent Colors */
  --accent-red: #ef233c;
  --accent-red-hover: #dc2626;
  --accent-red-glow: rgba(239, 35, 60, 0.35);
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;

  /* Typography Colors (High Contrast on Light Theme) */
  --text-pure: #0f172a;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-on-dark: #ffffff;
  --text-link: #0284c7;
  --text-link-hover: #0369a1;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-sky: rgba(14, 165, 233, 0.35);
  --border-sky-active: #0284c7;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(2, 132, 199, 0.1);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-sky-glow: 0 0 24px rgba(14, 165, 233, 0.3);
  --shadow-red-glow: 0 0 24px rgba(239, 35, 60, 0.35);

  /* Spacing & Radii */
  --container-max: 1240px;
  --header-height: 84px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-body);
  color: var(--text-main);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-pure);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
}

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

a:hover {
  color: var(--text-link-hover);
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* Sunlit Ocean Photo Hero (Matching Live Site Reference) */
.section-hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  background: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600&auto=format&fit=crop&q=80') center center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 48, 107, 0.88) 0%, rgba(2, 132, 199, 0.82) 100%);
  pointer-events: none;
}

.section-hero .container {
  position: relative;
  z-index: 10;
}

/* Section Typography Scoping */
.section-hero h1, .section-hero h2, .section-hero h3,
.section-ocean-bg h1, .section-ocean-bg h2, .section-ocean-bg h3,
.section-coral-bg h1, .section-coral-bg h2, .section-coral-bg h3 {
  color: #ffffff !important;
}

.section-hero > .container > p,
.section-hero p.lead,
.section-ocean-bg > .container > p,
.section-coral-bg > .container > p,
.section-ocean-bg .text-center > p,
.section-coral-bg .text-center > p {
  color: #f0f9ff !important;
}

.section-surface {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-soft {
  background-color: #f0f7ff;
}

/* Rich Scuba Ocean Background Sections (High Visibility & Aesthetics) */
.section-ocean-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 59, 111, 0.9) 0%, rgba(2, 132, 199, 0.84) 100%), url('https://images.unsplash.com/photo-1544551763-77ef2d0cfc6c?w=1600&auto=format&fit=crop&q=80') center center / cover no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
  overflow: hidden;
}

.section-coral-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 48, 107, 0.92) 0%, rgba(3, 105, 161, 0.86) 100%), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&auto=format&fit=crop&q=80') center center / cover no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
  overflow: hidden;
}

/* Base Page Header Banner with High-Contrast Dark Gradient Overlay & Default Ocean Photo */
.page-header {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background-color: #0c4a6e;
  background-image: url('https://images.unsplash.com/photo-1544551763-8dd44758c2dd?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 48, 107, 0.88) 0%, rgba(2, 132, 199, 0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

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

.page-header h1 {
  color: #ffffff !important;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.page-header p.lead,
.page-header p {
  color: #f0f9ff !important;
  font-size: 1.15rem;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.page-header .card-badge {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Distinct Page Header Backgrounds for Each Specific Page / Topic */
.page-header-classes {
  background-image: url('https://images.unsplash.com/photo-1560275619-4662e36fa65c?w=1600&auto=format&fit=crop&q=80');
}

.page-header-certification {
  background-image: url('https://images.unsplash.com/photo-1544551763-77ef2d0cfc6c?w=1600&auto=format&fit=crop&q=80');
}

.page-header-open-water {
  background-image: url('https://images.unsplash.com/photo-1544551763-8dd44758c2dd?w=1600&auto=format&fit=crop&q=80');
}

.page-header-advanced {
  background-image: url('https://images.unsplash.com/photo-1682687220063-4742bd7fd538?w=1600&auto=format&fit=crop&q=80');
}

.page-header-rescue {
  background-image: url('https://images.unsplash.com/photo-1576618148400-f54bed99fcfd?w=1600&auto=format&fit=crop&q=80');
}

.page-header-divemaster {
  background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=1600&auto=format&fit=crop&q=80');
}

.page-header-specialties {
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&auto=format&fit=crop&q=80');
}

.page-header-nitrox {
  background-image: url('https://images.unsplash.com/photo-1582967788606-a171c1080cb0?w=1600&auto=format&fit=crop&q=80');
}

.page-header-deep {
  background-image: url('https://images.unsplash.com/photo-1544551763-77ef2d0cfc6c?w=1600&auto=format&fit=crop&q=80');
}

.page-header-night {
  background-image: url('https://images.unsplash.com/photo-1509198397868-475647b2a1e5?w=1600&auto=format&fit=crop&q=80');
}

.page-header-wreck {
  background-image: url('https://images.unsplash.com/photo-1682687982501-1e58ab814714?w=1600&auto=format&fit=crop&q=80');
}

.page-header-nav {
  background-image: url('https://images.unsplash.com/photo-1544551763-8dd44758c2dd?w=1600&auto=format&fit=crop&q=80');
}

.page-header-ppb {
  background-image: url('https://images.unsplash.com/photo-1516684732162-798a0062be99?w=1600&auto=format&fit=crop&q=80');
}

.page-header-refresher {
  background-image: url('https://images.unsplash.com/photo-1560275619-4662e36fa65c?w=1600&auto=format&fit=crop&q=80');
}

.page-header-efr {
  background-image: url('https://images.unsplash.com/photo-1584515979956-d9f6e5d09982?w=1600&auto=format&fit=crop&q=80');
}

.page-header-trips {
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&auto=format&fit=crop&q=80');
}

.page-header-schedules {
  background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1600&auto=format&fit=crop&q=80');
}

.page-header-requirements {
  background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&auto=format&fit=crop&q=80');
}

.page-header-instructors {
  background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=1600&auto=format&fit=crop&q=80');
}

.page-header-about {
  background-image: url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600&auto=format&fit=crop&q=80');
}

.page-header-contact {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&auto=format&fit=crop&q=80');
}

.page-header-faq {
  background-image: url('https://images.unsplash.com/photo-1544551763-8dd44758c2dd?w=1600&auto=format&fit=crop&q=80');
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sky { color: var(--primary-sky) !important; }
.text-royal { color: var(--primary-royal) !important; }
.text-red { color: var(--accent-red) !important; }
.text-teal { color: var(--primary-teal) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .grid-sidebar { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-hero { padding: 4.5rem 0 3rem; }
}

/* Cards & Clean Surfaces with Guaranteed High-Contrast Typography */
.card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: #334155 !important;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-sky);
  box-shadow: var(--shadow-md);
}

.card p,
.card li {
  color: #334155 !important;
  font-size: 1rem;
  line-height: 1.65;
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
  color: #0f172a !important;
}

.card h3 a, .card h2 a, .card h4 a {
  color: #0284c7 !important;
  font-weight: 700;
}

.card h3 a:hover, .card h2 a:hover, .card h4 a:hover {
  color: #0369a1 !important;
}

.card strong {
  color: #0f172a !important;
}

.card-interactive {
  cursor: pointer;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge.coral {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

.card-badge.gold {
  background: #fef3c7;
  border-color: #fde68a;
  color: #b45309;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Why Train With Us - Feature Photo Cards with Background Image */
.feature-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.feature-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 48, 107, 0.55) 0%, rgba(11, 25, 44, 0.88) 55%, rgba(7, 18, 33, 0.98) 100%);
  transition: background var(--transition-fast);
  z-index: 2;
}

.feature-photo-content {
  position: relative;
  z-index: 3;
  padding: 2.25rem 1.85rem 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.feature-photo-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.feature-photo-card h3 {
  color: #ffffff !important;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.feature-photo-card p {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.feature-photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(2, 132, 199, 0.28);
  border-color: rgba(56, 189, 248, 0.7);
}

.feature-photo-card:hover .feature-photo-bg {
  transform: scale(1.08);
}

.feature-photo-card:hover .feature-photo-overlay {
  background: linear-gradient(180deg, rgba(8, 48, 107, 0.4) 0%, rgba(11, 25, 44, 0.82) 50%, rgba(7, 18, 33, 0.96) 100%);
}

.feature-photo-card:hover .feature-icon {
  background: #0284c7;
  color: #ffffff;
  transform: scale(1.08);
}

/* Badges & Trust Tags */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 1.6rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  margin-top: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.trust-item svg {
  color: #0284c7;
  flex-shrink: 0;
}

/* Header & Navigation (Ultra-Premium Royal Ocean Blue Gradient) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: linear-gradient(135deg, #073b6f 0%, #0d548f 50%, #0284c7 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 25px rgba(7, 59, 111, 0.35), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
  display: flex;
  align-items: center;
  transition: background var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-item {
  position: relative;
}

.has-mega-menu {
  position: static;
}

.site-header .nav-container {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  color: #ffffff;
  opacity: 0.92;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  opacity: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.nav-link.active {
  opacity: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* Nav Dropdown & Anchored Submenu System */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  padding: 0.75rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

/* Dedicated Anchored About Submenu */
.about-dropdown {
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  padding: 1rem;
}

.about-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Gapless hover bridges so mouse pointer never loses hover state moving into submenu */
.dropdown-menu::before,
.about-dropdown::before,
.mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 100%;
  max-width: 880px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu,
.nav-item.open > .dropdown-menu,
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item.open > .mega-menu,
.has-mega-menu:hover > .mega-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Responsive Navigation Breakpoints */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background var(--transition-fast);
  }
  .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
  }
  .btn-nav-call span {
    display: none;
  }
  .btn-nav-call {
    padding: 0.55rem 0.75rem;
  }
}

@media (min-width: 1025px) {
  .main-nav {
    display: flex !important;
  }
  .mobile-toggle {
    display: none !important;
  }
}

/* Mega Menu Layouts */
.mega-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mega-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.mega-layout-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mega-item:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* Round Image Avatar for Mega Menu */
.mega-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #0ea5e9;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.25);
  background: #e0f2fe;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.mega-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mega-item:hover .mega-avatar {
  transform: scale(1.08);
  border-color: #0284c7;
}

.mega-content {
  display: flex;
  flex-direction: column;
}

.mega-title {
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.mega-item:hover .mega-title {
  color: #0284c7;
}

.mega-desc {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 0.2rem;
}

/* Mega Menu Featured Promo Card */
.mega-featured-card {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  color: #ffffff;
}

.mega-featured-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

.mega-featured-desc {
  font-size: 0.85rem;
  color: #f0f9ff;
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* Mobile Drawer Avatars */
.drawer-sub-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  text-decoration: none;
}

.drawer-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #0ea5e9;
  flex-shrink: 0;
}

.drawer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header Actions & Premium Call Us Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.btn-nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #0369a1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-nav-call:hover {
  background: #f0f9ff;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  border-color: #ffffff;
}

.btn-nav-call svg {
  color: #0284c7;
  transition: transform var(--transition-fast);
}

.btn-nav-call:hover svg {
  transform: rotate(-10deg) scale(1.1);
}

.call-pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}

.call-pulse-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background-color: #22c55e;
  opacity: 0.75;
  transform: scale(1);
  animation: pulse-green 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  will-change: transform, opacity;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid #0ea5e9;
  font-weight: 700;
}

.btn-secondary:hover {
  background: #f0f7ff;
  border-color: #0284c7;
  color: #0369a1;
  transform: translateY(-2px);
}

.btn-coral {
  background: linear-gradient(135deg, #ef233c 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(239, 35, 60, 0.3);
}

.btn-coral:hover {
  background: linear-gradient(135deg, #ff4757 0%, #b91c1c 100%);
  box-shadow: 0 6px 20px rgba(239, 35, 60, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.15rem;
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  padding: 2rem 1.5rem;
  z-index: 2000;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  transition: right var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-drawer.open,
.mobile-drawer.is-open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

/* Floating Banner Hamburger Button (Placed in Right Top Corner of Banner Image) */
.banner-hamburger-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 59, 111, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.banner-hamburger-btn:hover {
  background: rgba(2, 132, 199, 0.95);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  color: #ffffff;
}

.banner-hamburger-btn svg {
  width: 18px;
  height: 18px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav-item {
  margin-bottom: 1rem;
}

.drawer-nav-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  padding: 0.5rem 0;
}

.drawer-sub-list {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  border-left: 2px solid #0ea5e9;
}

.drawer-sub-link {
  display: block;
  font-size: 0.95rem;
  color: #475569;
  padding: 0.35rem 0;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: #f0f7ff;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.88rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
}

.breadcrumb-item a {
  color: #0284c7;
}

.breadcrumb-item a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumb-separator {
  color: #94a3b8;
}

/* Key Features & Stats Box */
.stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #0284c7;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Checklist & Structured Syllabus Boxes (Fixed Alignment) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
  display: block;
}

.feature-list li svg {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: #0284c7;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.feature-list li strong {
  color: #0f172a !important;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* Sidebar Overview Links & Metadata */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-links li {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.4;
}

.sidebar-links li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-links li strong {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.sidebar-links a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.sidebar-links a:hover {
  color: #0369a1;
  transform: translateX(4px);
}

/* Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
  font-size: 0.95rem;
}

.styled-table th, .styled-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

.styled-table th {
  background: #f1f5f9;
  color: #0369a1;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.styled-table tr:last-child td {
  border-bottom: none;
}

.styled-table tr:hover td {
  background: #f8fafc;
}

/* ==========================================================================
   Modern Accordion FAQ System (HTML5 Details / Summary)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.faq-item:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.1);
}

details.faq-item[open] {
  border-color: #0284c7;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
}

.faq-question {
  list-style: none;
  width: 100%;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
  display: none;
}

.faq-question:hover {
  color: #0284c7;
}

.faq-question::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid #0284c7;
  border-bottom: 2.5px solid #0284c7;
  transform: rotate(45deg);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
  margin-right: 0.25rem;
}

details.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
  border-color: #0369a1;
}

details.faq-item[open] .faq-question {
  color: #0284c7;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.faq-answer {
  padding: 1.5rem 1.6rem 1.6rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  background: #ffffff;
  max-height: none !important;
  overflow: visible !important;
  display: block;
}

details.faq-item[open] .faq-answer {
  animation: faqFadeIn 0.25s ease-out;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  margin-bottom: 0.85rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: #0369a1;
}

/* Interactive Pathway Selector Tool */
.tool-box {
  background: #f0f7ff;
  border: 2px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin: 3rem 0;
}

.option-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.option-card {
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.option-card:hover {
  border-color: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  border-color: #0284c7;
  background: #e0f2fe;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.option-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

/* Certification Pathway Steps */
.timeline {
  position: relative;
  margin: 2.5rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, #0ea5e9 0%, #0369a1 100%);
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0284c7;
  border: 3px solid #ffffff;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

.timeline-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* CTAs & Forms */
.cta-banner {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.cta-banner h2, .cta-banner p {
  color: #ffffff !important;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #0f172a;
}

/* ==========================================================================
   LIVE SITE HERO SPECIFIC STYLING (From User Reference Image)
   ========================================================================== */
.hero-highlight-badge {
  background: #ffffff;
  color: #0284c7 !important;
  padding: 0.2rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

/* Premium High-Contrast Hero Enquiry Card */
.hero-enquiry-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
  color: #0f172a;
  position: relative;
  z-index: 15;
}

.hero-enquiry-card h3 {
  color: #0f172a !important;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  text-align: center;
}

.hero-enquiry-card p.subtitle,
.hero-enquiry-card .subtitle {
  color: #475569 !important;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-enquiry-card .form-group {
  margin-bottom: 1.15rem;
  text-align: left;
}

.hero-enquiry-card .form-label,
.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b !important;
  margin-bottom: 0.4rem;
}

.hero-enquiry-card .form-control,
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a !important;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.hero-enquiry-card .form-control::placeholder,
.form-control::placeholder {
  color: #94a3b8 !important;
}

.hero-enquiry-card .form-control:focus,
.form-control:focus {
  outline: none;
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

/* Hero Feature Bar (High Visibility Crisp Surface) */
.hero-feature-bar {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  border: 1px solid #e2e8f0;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #0f172a !important;
  font-size: 0.98rem;
}

.hero-feature-item svg {
  color: #0284c7 !important;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Footer (Deep Marine Professional Contrast) */
.site-footer {
  background: #0b192c;
  color: #e2e8f0;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .site-header, .site-footer, .btn, .modal-overlay, .tool-box, .mobile-sticky-action-bar {
    display: none;
  }
}

/* Mobile Sticky Action Bar (Mandatory Gap Elimination) */
.mobile-sticky-action-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }

  .mobile-sticky-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.4);
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.5rem;
    align-items: center;
    justify-content: space-around;
  }

  .sticky-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform var(--transition-fast), background var(--transition-fast);
    cursor: pointer;
    border: none;
  }

  .sticky-action-btn svg {
    margin-bottom: 0.25rem;
    flex-shrink: 0;
  }

  .sticky-action-btn.btn-call {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
  }

  .sticky-action-btn.btn-enroll {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
  }

  .sticky-action-btn.btn-schedule {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
  }
}

/* ==========================================================================
   PADI Diver Progression Pathway - Premium Luxury Roadmap Cards
   ========================================================================== */
.pathway-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pathway-card {
  flex: 1 1 0;
  min-width: 190px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pathway-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #0ea5e9;
  transition: height var(--transition-fast);
}

.pathway-card.stage-1::before { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.pathway-card.stage-2::before { background: linear-gradient(90deg, #0ea5e9, #0284c7); }
.pathway-card.stage-3::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.pathway-card.stage-4::before { background: linear-gradient(90deg, #f87171, #ef4444); }
.pathway-card.stage-5::before { background: linear-gradient(90deg, #f59e0b, #d97706); }

.pathway-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.16);
  border-color: rgba(14, 165, 233, 0.5);
}

.pathway-card:hover::before {
  height: 6px;
}

.pathway-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.pathway-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.pathway-card:hover .pathway-number {
  color: #0284c7;
}

.pathway-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.tag-start { background: #e0f2fe; color: #0284c7; }
.tag-explore { background: #dbeafe; color: #1d4ed8; }
.tag-specialize { background: #e0e7ff; color: #4338ca; }
.tag-rescue { background: #fee2e2; color: #b91c1c; }
.tag-pro { background: #fef3c7; color: #b45309; }

.pathway-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f7ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.pathway-card.stage-3 .pathway-icon { color: #4f46e5; background: #eef2ff; }
.pathway-card.stage-4 .pathway-icon { color: #ef4444; background: #fef2f2; }
.pathway-card.stage-5 .pathway-icon { color: #d97706; background: #fffbeb; }

.pathway-card:hover .pathway-icon {
  transform: scale(1.08);
  background: #0284c7;
  color: #ffffff;
}

.pathway-card.stage-3:hover .pathway-icon { background: #4f46e5; color: #ffffff; }
.pathway-card.stage-4:hover .pathway-icon { background: #ef4444; color: #ffffff; }
.pathway-card.stage-5:hover .pathway-icon { background: #d97706; color: #ffffff; }

.pathway-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.pathway-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.pathway-title a:hover {
  color: #0284c7;
}

.pathway-depth {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0284c7;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.pathway-desc {
  font-size: 0.83rem;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pathway-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.pathway-action:hover {
  color: #0369a1;
  transform: translateX(4px);
}

.pathway-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  flex-shrink: 0;
  padding: 0 0.15rem;
}

@media (max-width: 1200px) {
  .pathway-grid {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .pathway-connector {
    display: none;
  }
  .pathway-card {
    flex: 1 1 calc(33.333% - 1.25rem);
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .pathway-card {
    flex: 1 1 calc(50% - 1.25rem);
  }
}

@media (max-width: 580px) {
  .pathway-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

/* Step Cards */
.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.1);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.3);
}

/* Course Silo Blocks */
.course-silo-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.course-silo-block:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.1);
}

.meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Status Badges */
.badge-status {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-status.open {
  background: #dcfce7;
  color: #16a34a;
}

.badge-status.full {
  background: #fee2e2;
  color: #dc2626;
}



/* Breadcrumb Navigation */
.breadcrumb-container {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem 0;
  font-size: 0.88rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #64748b;
}

.breadcrumb-item a {
  color: #0284c7;
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #0f172a;
  font-weight: 700;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #94a3b8;
  font-size: 1rem;
}

/* Schedule Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.schedule-table th {
  background: #f8fafc;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
}

.schedule-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.schedule-table tr:hover td {
  background: #f0f9ff;
}

/* ==========================================================================
   ACCESSIBILITY & SCREEN READERS
   ========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background-color: #0284c7;
  border-radius: 6px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #ffffff;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 6px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 7px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   TOP BAR (PHONE, EMAIL, ANNOUNCEMENT)
   ========================================================================== */
.top-bar {
  background: #052347;
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-announcement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0f2fe;
  font-weight: 500;
  font-size: 0.85rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.top-bar-links a:hover {
  color: #38bdf8;
}

.top-bar-links svg {
  color: #38bdf8;
  flex-shrink: 0;
}

/* ==========================================================================
   GRID ALIGNMENTS & CONTENTION SAFEGUARDS
   ========================================================================== */
.grid-2, .grid-3, .grid-4, .grid-sidebar {
  align-items: stretch;
}

.grid-3 > .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin: 0 !important;
}

.grid-3 > .card .feature-list {
  margin: 1rem 0 auto;
}

.grid-2 > p,
.grid-3 > p,
.grid-4 > p,
.grid-sidebar > p,
.pathway-grid > p {
  display: contents !important;
}

.grid-2 > p:empty,
.grid-3 > p:empty,
.grid-4 > p:empty,
.grid-sidebar > p:empty,
.pathway-grid > p:empty {
  display: none !important;
}

/* ==========================================================================
   HERO ENQUIRY CARD & HERO FEATURE BAR
   ========================================================================== */
.hero-enquiry-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #1e293b;
}

.hero-enquiry-card h3 {
  color: #0f172a !important;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.hero-enquiry-card .subtitle {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.hero-feature-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  background: rgba(7, 59, 111, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-feature-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .hero-feature-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
}

/* ==========================================================================
   BADGES & CALLOUTS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1;
}

.badge-coral {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn-outline {
  background: transparent;
  color: #0284c7;
  border: 2px solid #0284c7;
}

.btn-outline:hover {
  background: #0284c7;
  color: #ffffff;
}

.callout-box {
  background: #e0f2fe;
  border-left: 4px solid #0284c7;
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.section-cta {
  background: linear-gradient(135deg, #073b6f 0%, #0284c7 100%);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.schedule-filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.route-link {
  text-decoration: none;
}

/* ==========================================================================
   MODAL & CONSULTATION DIALOG
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  color: #1e293b;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close-btn:hover {
  color: #0f172a;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-feedback.success {
  display: block !important;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-feedback.error {
  display: block !important;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1999;
}

.mobile-drawer-overlay.open,
.mobile-drawer-overlay.is-open {
  display: block;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #64748b;
}

.mobile-nav-menu {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.mobile-nav-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-menu li a:hover {
  background: #f0f9ff;
  color: #0284c7;
}

.brand-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a;
}

.mega-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.scuba-ajax-form {
  display: block;
  width: 100%;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero Feature Bar - High-Contrast Clean White Container */
.hero-feature-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 1.25rem 2rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  margin-top: 2.5rem;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  position: relative;
  z-index: 10;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #0f172a !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-feature-item svg {
  color: #0284c7 !important;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.hero-feature-item span {
  color: #0f172a !important;
  font-weight: 600;
}

/* ==========================================================================
   CLASS SCHEDULE & SCHEDULE MANAGER STYLES (v2.2.0)
   ========================================================================== */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.schedule-table th {
  background: #f1f5f9;
  color: var(--primary-deep-blue);
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
  font-size: 0.95rem;
}

.schedule-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.95rem;
}

.schedule-table tbody tr:hover {
  background: #f8fafc;
}

/* Status Badges */
.badge-status {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1;
}

.badge-status.open {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-status.full {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.badge-status.closed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.badge-status.cancelled {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}

.badge-status.passed {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

/* Non-interactive Schedule Status Text */
.schedule-status {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: not-allowed;
  user-select: none;
}

.schedule-status--passed {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.schedule-status--full {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.schedule-status--closed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.schedule-status--cancelled {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.schedule-row-passed td {
  opacity: 0.75;
}

/* ==========================================================================
   P3.1 - Business Proof & Diver Milestones Statistics Component
   ========================================================================== */
.section-stats {
  position: relative;
  overflow: hidden;
}

.stat-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .stat-card {
    transition: none !important;
  }
  .stat-card:hover {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .section-stats {
    padding: 2.5rem 0;
  }
  .stat-card {
    padding: 1.75rem 1.25rem;
  }
}
