/* ═══════════════════════════════════════════════════
   ATHLOSPHERE — Design System
   Sporty · Professional · Blue-Grey-Black
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

/* ── CSS Variables ───────────────────────────────── */
:root {
  /* Brand colours */
  --c-blue-900:  #03111F;
  --c-blue-800:  #061E33;
  --c-blue-700:  #0A3050;
  --c-blue-600:  #0F4677;
  --c-blue-500:  #1565C0;
  --c-blue-400:  #1E88E5;
  --c-blue-300:  #42A5F5;
  --c-blue-200:  #90CAF9;
  --c-blue-100:  #BBDEFB;
  --c-blue-50:   #E3F2FD;

  --c-grey-900:  #0D0D0D;
  --c-grey-800:  #1A1A1A;
  --c-grey-700:  #2A2A2A;
  --c-grey-600:  #3D3D3D;
  --c-grey-500:  #5C5C5C;
  --c-grey-400:  #7A7A7A;
  --c-grey-300:  #A3A3A3;
  --c-grey-200:  #CACACA;
  --c-grey-100:  #E5E5E5;
  --c-grey-50:   #F5F5F5;

  --c-accent:    #00E5FF;   /* electric cyan accent */
  --c-gold:      #FFB300;
  --c-success:   #00C853;
  --c-danger:    #FF1744;
  --c-warning:   #FFB300;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Surfaces (light default) */
  --bg-page:     #F4F6F8;
  --bg-card:     #FFFFFF;
  --bg-dark:     var(--c-blue-900);
  --text-primary:   #0D1117;
  --text-secondary: #4A5568;
  --text-muted:     #718096;
  --border:      rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.16);

  /* Layout */
  --navbar-h:    68px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lift: 0 8px 32px rgba(0,0,0,0.12);
  --transition:  0.2s ease;
}

/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-blue-400); }
img { max-width: 100%; display: block; }

/* ── Typography ─────────────────────────────────── */
.display-1 { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
.display-2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.display-3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.label-tag { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
p { font-family: var(--font-body); }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Navbar ─────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  /*height: var(--navbar-h);*/
  height: auto;
  background: var(--c-blue-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center;
}

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

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff !important;
  display: flex; align-items: center; /*gap: 8px;*/
}
.navbar-brand .brand-accent { color: var(--c-accent); }

.navbar-nav { display: flex; align-items: center; gap: 8px; list-style: none; }
.navbar-nav a {
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 6px 14px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: #fff; background: rgba(255,255,255,0.08); }

.navbar-actions { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 0.875rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 22px; border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--c-blue-500); color: #fff;
  border-color: var(--c-blue-500);
}
.btn-primary:hover { background: var(--c-blue-400); border-color: var(--c-blue-400); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(21,101,192,0.4); }

.btn-accent {
  background: var(--c-accent); color: var(--c-blue-900);
  border-color: var(--c-accent);
}
.btn-accent:hover { background: #33EEFF; border-color: #33EEFF; color: var(--c-blue-900); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,229,255,0.4); }

.btn-outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; }

.btn-outline-blue {
  background: transparent; color: var(--c-blue-500);
  border-color: var(--c-blue-500);
}
.btn-outline-blue:hover { background: var(--c-blue-500); color: #fff; }

.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); border-color: transparent; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }

.btn-sm { padding: 6px 16px; font-size: 0.78rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-xl { padding: 18px 48px; font-size: 1.1rem; }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card-body { padding: 24px; }
.card-hover { transition: transform var(--transition), box-shadow var(--transition); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ── Coach Card ──────────────────────────────────── */
.coach-card { position: relative; }
.coach-card .coach-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--c-grey-100);
}
.coach-card .coach-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--c-blue-500); color: #fff;
  font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.coach-card .coach-badge.featured { background: var(--c-gold); color: var(--c-grey-900); }
.coach-card .coach-info { padding: 16px; }
.coach-card .coach-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.coach-card .coach-sport { font-size: 0.85rem; color: var(--text-secondary); margin: 2px 0 10px; }
.coach-card .coach-meta { display: flex; align-items: center; justify-content: space-between; }
.coach-card .coach-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--c-blue-500); }
.coach-card .coach-rating { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; color: var(--text-secondary); }
.coach-card .star { color: var(--c-gold); }

/* ── Hero Section ────────────────────────────────── */
.hero {
  background: var(--c-blue-900);
  min-height: calc(100vh - var(--navbar-h));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(21,101,192,0.25) 0%, transparent 70%);
  pointer-events: none;
}
/*.hero-content { position: relative; z-index: 1; max-width: 640px; }*/
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hero-eyebrow .line { width: 32px; height: 2px; background: var(--c-accent); }
.hero-eyebrow span { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .text-accent { color: var(--c-accent); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }

/* ── Section Headers ─────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.section-header .eyebrow .line { width: 24px; height: 2px; background: var(--c-blue-500); }
.section-header .eyebrow span { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue-500); }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.section-header p { margin-top: 12px; color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; }

/* ── How It Works steps ──────────────────────────── */
.step-card {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}
.step-num {
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 800; color: var(--c-blue-100);
  line-height: 1; margin-bottom: 12px;
  position: absolute; top: 16px; right: 20px;
}
.step-icon { width: 48px; height: 48px; background: var(--c-blue-50); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-icon svg { width: 24px; height: 24px; color: var(--c-blue-500); }
.step-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Dark section ────────────────────────────────── */
.section-dark { background: var(--c-blue-900); color: #fff; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ── Forms ───────────────────────────────────────── */
.form-card { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); padding: 40px; }
.form-card-sm { max-width: 480px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 14px;
  background: var(--bg-page); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--text-primary); transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--c-blue-400); box-shadow: 0 0 0 3px rgba(30,136,229,0.12); background: #fff; }
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: var(--c-danger); }
.invalid-feedback { font-size: 0.82rem; color: var(--c-danger); margin-top: 5px; }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.form-check input[type=checkbox], .form-check input[type=radio] { width: 18px; height: 18px; accent-color: var(--c-blue-500); margin-top: 2px; flex-shrink: 0; }
.form-check label { font-size: 0.9rem; color: var(--text-secondary); }
.form-check label a { color: var(--c-blue-500); }

/* ── Badges ──────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 4px; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-blue { background: var(--c-blue-50); color: var(--c-blue-600); }
.badge-green { background: #E8F5E9; color: #2E7D32; }
.badge-orange { background: #FFF3E0; color: #E65100; }
.badge-red { background: #FFEBEE; color: #C62828; }
.badge-grey { background: var(--c-grey-100); color: var(--c-grey-600); }
.badge-gold { background: #FFF8E1; color: #F57F17; }
.badge-processed { background: #d1fae5; color: #065f46; }
.badge-failed    { background: #fee2e2; color: #991b1b; }

/* ── Role Selection Cards ────────────────────────── */
.role-card {
  padding: 28px 24px; border-radius: var(--radius-lg);
  border: 2px solid var(--border-strong);
  background: var(--bg-card); cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.role-card:hover { border-color: var(--c-blue-400); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.role-card.selected { border-color: var(--c-blue-500); background: var(--c-blue-50); }
.role-card input[type=checkbox] { display: none; }
.role-card .role-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--c-blue-50); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: background var(--transition); }
.role-card.selected .role-icon { background: var(--c-blue-500); }
.role-card .role-icon svg { width: 28px; height: 28px; color: var(--c-blue-500); }
.role-card.selected .role-icon svg { color: #fff; }
.role-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.role-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Footer ──────────────────────────────────────── */
.footer { background: var(--c-grey-900); color: rgba(255,255,255,0.6); }
.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--c-accent); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.6; opacity: 0.8; max-width: 400px;}
.footer-heading { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; }

/* ── Alert / Flash ────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius-md); border-left: 4px solid; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #E8F5E9; border-color: var(--c-success); color: #1B5E20; }
.alert-danger  { background: #FFEBEE; border-color: var(--c-danger); color: #B71C1C; }
.alert-info    { background: var(--c-blue-50); border-color: var(--c-blue-400); color: var(--c-blue-700); }
.alert-warning { background: #FFF8E1; border-color: var(--c-gold); color: #E65100; }

/* ── Dashboard shell ─────────────────────────────── */
.dash-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--c-blue-900); min-height: 100vh;
  padding: 24px 0;
}
.dash-sidebar .sidebar-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: all var(--transition); border-left: 3px solid transparent; }
.dash-sidebar .sidebar-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.dash-sidebar .sidebar-item.active { color: #fff; border-left-color: var(--c-accent); background: rgba(255,255,255,0.07); }
.dash-main { flex: 1; padding: 32px; }

/* ── Utilities ─────────────────────────────────────── */
.text-blue   { color: var(--c-blue-500); }
.text-accent { color: var(--c-accent); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: #fff; }
.text-dark   { color: var(--text-primary); }
.bg-dark     { background: var(--c-blue-900); }
.bg-card     { background: var(--bg-card); }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }

.mt-32 { margin-top: 32px; }
.p-40 { padding: 40px; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* Container to stack logo and text */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers logo and text horizontally */
    line-height: 1.1;    /* Tightens space between logo and text */
}

/* Responsive Logo */
.brand-logo {
    height: 120px;        /* Desktop height */
    width: auto;         /* Maintains aspect ratio */
    display: block;
    margin-bottom: 2px;  /* Spacing between logo and text */
    transition: height 0.3s ease;
}

.form-control-dark {
    width: auto;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    color-scheme: dark; /* way to tell the browser to use dark-themed UI */
}

.form-control-dark::-webkit-calendar-picker-indicator {
    /* Changed 'white' to '%23ffffff' for better browser compatibility */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24"><path fill="%23ffffff" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}


.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
}

.social-link:hover {
    background: var(--c-accent, #1565C0); /* Fallback to blue if variable isn't set */
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}

/* If your footer is light-themed, use these overrides: */
.footer:not(.footer-dark) .social-link {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.footer:not(.footer-dark) .social-link:hover {
    background: var(--c-blue-600);
    color: #fff;
}
/* ── Responsive ─────────────────────────────────── */
/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
═══════════════════════════════════════════════════ */

/* ── Hamburger toggle (hidden on desktop) ──────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--c-blue-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin-bottom: 16px; }
.mobile-nav ul li a {
  display: block; padding: 12px 0;
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav ul li a:hover { color: #fff; }
.mobile-nav .mobile-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.mobile-nav .mobile-actions .btn { justify-content: center; }

/* ── Tablet — 768px to 1024px ──────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stats { gap: 24px; }
}

/* ── Mobile — up to 768px ──────────────────────── */
@media (max-width: 768px) {
  /* Navbar */
  .navbar-nav   { display: none; }
  .nav-toggle   { display: flex; }
  .navbar-actions { display: none; }   /* moved into mobile drawer */

  /* Grids → single column */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  /* Hero */
  .hero { min-height: auto; padding: 56px 0 48px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 20px; padding-top: 24px; margin-top: 36px; }
  .hero-stats > div { min-width: calc(50% - 10px); }

  /* Sections */
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header .eyebrow { margin-bottom: 8px; }

  /* Forms */
  .form-card { padding: 24px 20px; }
  .form-control { font-size: 16px; }   /* prevents iOS zoom on focus */

  /* Role selector: stack 1 column on small phones */
  .role-cards-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-brand-col { grid-column: span 1 !important; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Buttons — comfortable tap targets */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }

  /* Coach cards */
  .coach-card .coach-info { padding: 14px; }

  /* Dashboard sidebar collapses */
  .dash-sidebar { display: none; }
  .dash-main { padding: 20px 16px; }

  /* Step cards */
  .step-card { padding: 20px; }
  .step-num { font-size: 2.5rem; top: 12px; right: 14px; }

  /* Container padding */
  .container, .container-sm { padding: 0 16px; }

  /* Targets the About Us story section and Contact columns */
    .grid-2, 
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Fix for the About Us "Our Story" section if using inline styles */
    .about-story-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .brand-logo {
        height: 80px;    /* Slightly smaller logo on mobile */
    }
    .brand-text {
        font-size: 1rem; /* Slightly smaller text on mobile */
    }
}

/* ── Small phones — up to 400px ─────────────────── */
@media (max-width: 400px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats > div { min-width: 100%; }
  .display-2 { font-size: 1.8rem; }
  .role-card { padding: 20px 16px; }
}

/* ── Nav Dropdown ───────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all var(--transition);
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: #fff; background: rgba(255,255,255,0.08);
}

.nav-caret {
  font-size: 0.6rem; opacity: 0.6;
  transition: transform 0.2s ease;
  display: inline-block;
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--c-blue-800, #0d2a4a);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 210px;
  z-index: 1100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.nav-dropdown-menu.open { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* ── Mobile Dropdown ────────────────────────────── */
.mobile-dropdown-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 0;
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}
.mobile-dropdown-trigger[aria-expanded="true"] { color: #fff; }
.mobile-dropdown-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.mobile-dropdown-menu {
  display: none;
  list-style: none;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--c-accent);
  margin: 0;
}
.mobile-dropdown-menu.open { display: block; }

.mobile-dropdown-menu li a {
  padding: 10px 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
}
.mobile-dropdown-menu li:last-child a { border-bottom: none; }
.mobile-dropdown-menu li a:hover { color: #fff; }