@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  /* Minimalist High-Tech Luxury Palette */
  --color-primary: #002B5B; /* Deep Ocean Blue */
  --color-accent: #03C988;  /* Teal */
  --color-white: #FFFFFF;
  --color-off-white: #F9FAFB;
  --color-text-main: #1A1A24; /* Extremely dark blue-grey */
  --color-text-sub: #6C757D; /* Smoke Gray */
  --color-bg-light: #F4F7F6;
  
  /* Glassmorphism Tokens */
  --glass-bg-light: rgba(255, 255, 255, 0.7);
  --glass-bg-dark: rgba(0, 43, 91, 0.4);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(16px);
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-subheading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Motion & Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  
  /* Elevation */
  --shadow-sm: 0 4px 15px rgba(0, 43, 91, 0.05);
  --shadow-md: 0 15px 35px rgba(0, 43, 91, 0.1);
  --shadow-lg: 0 25px 50px rgba(0, 43, 91, 0.15);
  --shadow-glow: 0 0 25px rgba(3, 201, 136, 0.4);
}

/* ================== Base Reset ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

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

/* ================== Utilities ================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h2, .section-dark h3 {
  color: var(--color-white);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  padding-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px; /* Slightly squarish for high-tech feel */
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0%; height: 100%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(3, 201, 136, 0.3);
}

.btn-primary:hover {
  background-color: #02b378;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(3, 201, 136, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Glassmorphism Utility */
.glass-panel {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.glass-panel.dark {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  color: var(--color-white);
}

/* Animation Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ================== Header & Navigation ================== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition-smooth);
}

.header.scrolled .container {
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-accent);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-subheading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  font-family: var(--font-subheading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 5px 0;
  margin-left: 10px;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: -20px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 101;
  padding: 10px 0;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 10px 20px;
  color: var(--color-text-main);
  transition: var(--transition-fast);
  display: block;
}

.lang-option:hover {
  background: var(--color-bg-light);
  color: var(--color-accent);
}

/* Hide Google Translate elements */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon { display: none !important; }
body { top: 0px !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px; height: 2px;
  background-color: var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

/* ================== Hero Section ================== */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--color-primary);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%) scale(1.15); /* Scale slightly to allow movement */
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
  animation: dolphinSwimUp 4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes dolphinSwimUp {
  0% {
    transform: translate(-50%, -30%) scale(1.15);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.15);
    /* By scaling and translating, the image "swims" up into position */
    /* The final object-position centers the focus to place the water surface at 2/3 from bottom */
    object-position: center 66.67%;
    opacity: 0.6;
  }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0, 43, 91, 0.9) 0%, rgba(0, 43, 91, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  margin-top: 50px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Page Headers (Inner Pages) */
.page-header {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
  margin-top: 0;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero_bg.png') center/cover;
  opacity: 1;
  z-index: 1;
}

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

.page-header-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

.page-header-content p {
  color: #FFFFFF !important;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

/* ================== Components ================== */

/* Dashboard / Data Widgets */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.dashboard-widget {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.dashboard-widget:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(3, 201, 136, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dashboard-widget h3 {
  color: var(--color-text-sub);
  font-family: var(--font-subheading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.dashboard-widget.dark-theme h3 {
  color: rgba(255, 255, 255, 0.6);
}

.dashboard-widget p.value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.dashboard-widget.dark-theme p.value {
  color: var(--color-white);
}

.dashboard-widget p.status {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Course Cards (Academy) */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.course-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.course-badge {
  position: absolute;
  top: 20px; right: 20px;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(3, 201, 136, 0.3);
}

.course-image {
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.course-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,43,91,0.9), transparent);
}

.course-title-overlay {
  color: var(--color-white);
  font-size: 1.8rem;
  margin: 0;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.course-content {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-price {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-price span {
  font-size: 1rem;
  color: var(--color-text-sub);
  font-weight: 400;
}

.course-desc {
  color: var(--color-text-sub);
  margin-bottom: 30px;
  flex-grow: 1;
}

/* Feature/Value Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  padding: 50px 30px;
  background: var(--color-white);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-accent);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(3, 201, 136, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--color-accent);
}

.feature-icon svg {
  width: 32px; height: 32px;
  fill: currentColor;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--color-text-sub);
}

/* Info Section (Image + Text) */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.info-content p {
  color: var(--color-text-sub);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.info-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.info-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(3, 201, 136, 0.1);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ================== Footer ================== */
.footer {
  background-color: #001A38; /* Deeper than primary */
  color: var(--color-white);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-family: var(--font-subheading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

.footer-col a:not(.logo):not(.btn) {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.footer-col a:not(.logo):not(.btn):hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  width: 45px; height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--color-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}

.social-links a:hover {
  transform: translateY(-3px);
  padding-left: 0 !important;
}

.social-links a:nth-child(1) {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
}

.social-links a:nth-child(2) {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
}

.social-links a:nth-child(3) {
  background-color: #000000 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* ================== Responsive ================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 4rem; }
  .info-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ================== The Masters (Team Section) ================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.team-card {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-md);
}
.team-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 350px;
}
.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.team-card:hover .team-image {
  transform: scale(1.05);
}
.team-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 43, 91, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  backdrop-filter: blur(3px);
}
.team-card:hover .team-overlay {
  opacity: 1;
}
.team-info {
  padding: 25px;
  text-align: center;
  background: var(--color-white);
}
.team-role {
  font-family: var(--font-subheading);
  text-transform: uppercase;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* ================== Coach Profile (Individual Pages) ================== */
.coach-header {
  padding: 180px 0 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #001a38 100%);
  color: var(--color-white);
}
.coach-profile {
  display: flex;
  align-items: center;
  gap: 60px;
}
.coach-profile-info {
  flex: 1;
}
.coach-name {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 5px;
  color: var(--color-white);
}
.coach-title {
  color: var(--color-accent);
  font-family: var(--font-subheading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
}
.coach-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  background: var(--glass-bg-dark);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--glass-border-dark);
  backdrop-filter: var(--glass-blur);
}
.stat-box {
  text-align: center;
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}
.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.coach-profile-image {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.coach-profile-image img {
  width: 100%;
  display: block;
}

.competencies-list {
  list-style: none;
  font-size: 1.15rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}
.competencies-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}
.competencies-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}
.competencies-list strong {
  color: var(--color-primary);
}

.video-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}
.video-modal.active {
  opacity: 1;
  pointer-events: all;
}
.video-container {
  max-width: 900px;
  width: 90%;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.video-container img {
  width: 100%;
  display: block;
}
.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }
  .nav-menu.active { right: 0; }
  h1, .hero-title, .page-header-title { font-size: 2.2rem !important; }
  h2, .section-title { font-size: 1.8rem !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .coach-profile {
    flex-direction: column;
    gap: 30px;
  }
  
  /* Swipeable grids for mobile */
  .swipeable-mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .swipeable-mobile::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  .swipeable-mobile > * {
    min-width: 85vw !important;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  
  /* Overrides for Dana Standard and Courses on Mobile */
  .feature-grid.swipeable-mobile,
  .course-grid.swipeable-mobile {
    flex-direction: column !important;
    gap: 24px !important;
    margin: 0 -24px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  
  .feature-grid.swipeable-mobile > *,
  .course-grid.swipeable-mobile > * {
    min-width: 0 !important;
    width: calc(100% - 32px) !important;
    margin: 0 16px !important;
  }
  
  /* Guarantee Masters/Instructors section is a Horizontal Swipe Carousel on Mobile */
  .team-grid.swipeable-mobile {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    margin: 0 -24px !important; /* Bleed to screen edges */
    padding: 0 24px 20px 24px !important; /* Proper edge padding */
    gap: 20px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .team-grid.swipeable-mobile::-webkit-scrollbar {
    display: none !important;
  }
  .team-grid.swipeable-mobile > * {
    min-width: 85vw !important;
    width: 85vw !important;
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
  }
}

/* ================== Booking Modal ================== */
.booking-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 43, 91, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

.booking-modal.active {
  opacity: 1;
  pointer-events: all;
}

.booking-container {
  background: var(--color-white);
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: var(--shadow-lg);
}

.booking-modal.active .booking-container {
  transform: translateY(0);
}

.booking-close {
  position: absolute;
  top: 20px; right: 25px;
  font-size: 30px;
  color: var(--color-text-sub);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.booking-close:hover {
  color: var(--color-primary);
}

.booking-container h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.booking-container p {
  color: var(--color-text-sub);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.form-control {
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-off-white);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
}

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

/* ================== Ocean Report Features ================== */
.report-dashboard {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.expert-analysis {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001a38 100%);
  border-radius: 16px;
  padding: 40px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.expert-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.expert-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.expert-title {
  color: var(--color-white);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.expert-meta {
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expert-content p {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}

.recommendation-box {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--color-accent);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 25px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.recommendation-box strong {
  color: var(--color-accent);
  display: block;
  margin-bottom: 5px;
}

/* 14-Day Outlook Grid */
.forecast-grid-container {
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-bg-light);
}

.forecast-grid-container::-webkit-scrollbar {
  height: 8px;
}
.forecast-grid-container::-webkit-scrollbar-track {
  background: var(--color-bg-light);
  border-radius: 4px;
}
.forecast-grid-container::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

.forecast-grid {
  display: flex;
  gap: 15px;
  min-width: max-content;
}

.forecast-card {
  width: 140px;
  background: var(--color-bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.forecast-card:hover, .forecast-card.active {
  transform: translateY(-5px);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,43,91,0.2);
}

.forecast-day {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.forecast-date {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  margin-bottom: 15px;
}

.forecast-icon {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  margin: 0 auto;
}

.status-green { background-color: #03C988; }
.status-yellow { background-color: #F4D160; }
.status-red { background-color: #FF6B6B; }
.text-green { color: #03C988 !important; }
.text-yellow { color: #F4D160 !important; }
.text-red { color: #FF6B6B !important; }
.bg-green { background-color: rgba(3, 201, 136, 0.1); }
.bg-yellow { background-color: rgba(244, 209, 96, 0.1); }
.bg-red { background-color: rgba(255, 107, 107, 0.1); }

.badge-recommended {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.forecast-details-panel {
  background: var(--color-white);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .report-dashboard {
    padding: 20px;
  }
  .expert-analysis {
    padding: 25px;
  }
}

/* ================== Dark Mode / Pro Dashboard Theme ================== */
body.dark-mode {
  background-color: #05050A; /* Extremely dark */
  color: #E0E0E0;
}

body.dark-mode .header, body.dark-mode .header.scrolled {
  background-color: rgba(5, 5, 10, 0.9);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: none;
}

body.dark-mode .nav-link {
  color: #E0E0E0;
}

body.dark-mode .logo {
  color: var(--color-white);
}

body.dark-mode .section {
  background-color: #05050A !important;
}

body.dark-mode .glass-panel {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

body.dark-mode .glass-panel h3 {
  color: #888;
}

body.dark-mode .glass-panel p.value {
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

body.dark-mode .report-dashboard {
  background: #0A0A10;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

body.dark-mode .section-title {
  color: var(--color-white);
}

body.dark-mode .footer {
  background-color: #020205;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--color-text-sub);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}
body.dark-mode .breadcrumbs a {
  color: var(--color-accent);
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  margin: 0 10px;
  opacity: 0.5;
}

/* Pro Data Table */
.pro-data-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.pro-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: 'Inter', monospace;
  font-size: 0.95rem;
  background: #0A0A10;
}

.pro-data-table th {
  background: rgba(255,255,255,0.05);
  padding: 15px 20px;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

.pro-data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #E0E0E0;
  white-space: nowrap;
}

.pro-data-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.pro-time {
  color: var(--color-white);
}

/* ================== Pro Expert Layout & Sidebar ================== */
.pro-layout-grid {
  display: grid;
  grid-template-columns: 70% 28%;
  gap: 2%;
  align-items: start;
}

@media (max-width: 1024px) {
  .pro-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Sticky Time Column for Mobile */
.pro-data-table th:first-child,
.pro-data-table td:first-child {
  position: sticky;
  left: 0;
  background: #0A0A10;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.pro-data-table tr:hover td:first-child {
  background: #0F0F15;
}

/* Pro Sidebar (John's Tactical Notes) */
.pro-sidebar {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sidebar-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
}

.tactical-note {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tactical-note:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.note-time {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  font-family: 'Inter', monospace;
}

.note-badge {
  background: rgba(255, 107, 107, 0.2);
  color: #FF6B6B;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.note-badge.info {
  background: rgba(3, 201, 136, 0.2);
  color: var(--color-accent);
}

.tactical-note p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Wind Rose SVG & Energy/Tide Adjustments */
.wind-arrow {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}
.tide-high {
  color: #4DB8FF;
  font-weight: bold;
}
.tide-low {
  color: #FFB84D;
  font-weight: bold;
}
.slack-water {
  color: var(--color-accent);
}

/* ================== Science Hub Styles ================== */
.science-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 992px) {
  .science-layout {
    grid-template-columns: 1fr;
  }
  .science-sidebar {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 40px;
  }
}

.science-sidebar {
  position: sticky;
  top: 120px;
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  z-index: 10;
}

.science-sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link {
  font-family: var(--font-subheading);
  font-size: 1rem;
  color: var(--color-text-sub);
  padding: 10px 15px;
  border-radius: 6px;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.sidebar-link:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

.sidebar-link.active {
  color: var(--color-primary);
  background: rgba(3, 201, 136, 0.1);
  border-left-color: var(--color-accent);
  font-weight: 600;
}

/* Accordions */
.accordion-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-item:hover {
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-subheading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.accordion-header:hover {
  background: var(--color-bg-light);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(3, 201, 136, 0.1);
  color: var(--color-accent);
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  font-weight: 300;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--color-accent);
  color: var(--color-white);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  background: var(--color-white);
}

.accordion-item.active .accordion-content {
  max-height: 1000px; /* Arbitrary large number */
  padding: 0 25px 25px 25px;
}

.accordion-inner {
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--color-text-sub);
  line-height: 1.8;
  font-size: 1.05rem;
}

.accordion-inner h5 {
  color: var(--color-primary);
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.accordion-inner ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.accordion-inner li {
  margin-bottom: 8px;
  position: relative;
}

.accordion-inner li::marker {
  color: var(--color-accent);
}

.pillar-section {
  padding-top: 100px; /* Offset for sticky header */
  margin-top: -100px;
  margin-bottom: 80px;
}

.pillar-section:last-child {
  margin-bottom: 0;
}
