/* Oxvel Elevate website styles */
:root {
  /* Brand colours: change these to restyle the whole site */
  --navy: #0B1F3A;        /* deep navy: headings, top bar, footer */
  --blue: #14509A;        /* royal blue: buttons, links, table headers */
  --blue-dark: #0E3C75;
  --gold: #C4922A;        /* gold: highlights on dark backgrounds */
  --accent: #14509A;      /* accent used for small labels and numbers */
  --accent-dark: #0E3C75;
  --text: #3B4A63;
  --soft: #F2F6FB;
  --pale: #EAF1FB;
  --pale-line: #C5D6EE;
  --line: #DCE4EF;
  --photo: #DDE5F0;
  --green: #0E6B3A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'DM Sans', Arial, sans-serif; color: var(--navy); background: #fff; line-height: 1.55; font-size: 17px; }
a { color: var(--navy); }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2, .serif { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
h1 { font-size: 48px; line-height: 1.12; }
h2 { font-size: 34px; line-height: 1.2; }
h3 { font-size: 19px; font-weight: 700; }
p { color: var(--text); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.soft { background: var(--soft); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 380px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 8px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 19px; }
.brand-name { display: block; font-weight: 700; font-size: 17px; letter-spacing: 2px; color: var(--navy); line-height: 1.15; }
.brand-sub { display: block; font-size: 13px; color: #4A5A73; line-height: 1.15; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { padding: 12px 14px; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a.active { font-weight: 700; color: var(--accent); }
.nav a.search-link { margin-left: 10px; padding: 12px 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); border-bottom: 2px solid var(--accent); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; font-size: 16px; font-weight: 700; font-family: inherit; text-decoration: none; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--soft); color: var(--navy); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Photo placeholders: replace each with <img src="images/your-photo.jpg" alt="..." class="photo-img"> */
.photo { min-height: 240px; border-radius: 12px; background: var(--photo); border: 2px dashed #8A9BB5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 15px; color: var(--text); }
.photo.tall { min-height: 400px; }
.photo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }

/* Hero and stats */
.hero { padding: 64px 0; }
.hero h1 { font-size: 54px; line-height: 1.1; }
.hero p.lead { font-size: 19px; max-width: 560px; }
.stats { border-bottom: 1px solid var(--line); padding: 32px 0; }
.stats .row > div { flex: 1 1 200px; }
.stat-num { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 30px; color: var(--accent); }
.stat-label { font-size: 15px; color: var(--text); }

/* Course menu columns */
.menu-cols { display: flex; flex-wrap: wrap; gap: 32px; }
.menu-col { flex: 1 1 220px; display: flex; flex-direction: column; }
.menu-title { font-size: 14px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 8px; }
.menu-col a { padding: 9px 0; font-size: 16px; text-decoration: none; }
.menu-col a.menu-title { padding: 0 0 12px 0; font-size: 14px; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 240px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 16px; }
.card .num { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 30px; color: var(--accent); }
.course-card { flex: 1 1 300px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.course-card .photo { border-radius: 0; border-width: 0 0 2px 0; min-height: 170px; }
.course-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.course-card .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.course-card .foot a { color: var(--accent); }
.pale-card { flex: 1 1 300px; padding: 32px; background: var(--pale); border: 1px solid var(--pale-line); border-radius: 12px; }
.pale-card p { font-size: 19px; font-weight: 500; color: var(--navy); margin-top: 8px; }
.pale-card p.motto { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; line-height: 1.25; }

/* Call to action band */
.cta { background: var(--pale); border: 1px solid var(--pale-line); border-radius: 12px; padding: 40px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta > div:first-child { flex: 1 1 400px; }

/* Tables */
.table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.table-title { margin: 0; padding: 18px 24px; background: var(--pale); border-bottom: 2px solid var(--accent); font-family: 'DM Sans', Arial, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.table-head, .table-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 110px 150px; gap: 16px; align-items: center; padding: 14px 24px; }
.table-head { background: var(--soft); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.table-row { border-top: 1px solid var(--line); }
.table-row .title { font-size: 18px; font-weight: 500; }
.pill { display: inline-block; min-width: 20px; text-align: center; padding: 5px 12px; border-radius: 100px; background: #E9EEF6; font-size: 15px; font-weight: 700; }
.two-col .table-row, .two-col .table-head { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.two-col .table-row > div:first-child { font-weight: 700; }
.two-col .table-row > div:last-child { color: var(--text); }

/* Courses page */
.search-box { width: 100%; max-width: 640px; height: 52px; padding: 0 16px; font-size: 17px; font-family: inherit; color: var(--navy); border: 1px solid #5B6B84; border-radius: 6px; background: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills button { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 700; font-family: inherit; border-radius: 100px; cursor: pointer; border: 1px solid var(--navy); background: #fff; color: var(--navy); }
.pills button.on { background: var(--navy); color: #fff; }
.detail { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.detail-main { flex: 2 1 480px; display: flex; flex-direction: column; gap: 32px; }
.detail-main h2 { font-size: 26px; margin-bottom: 8px; }
.detail-main ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.outline-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.outline-row:last-child { border-bottom: 0; }
.outline-row .day { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.facts { flex: 1 1 300px; background: var(--pale); border: 1px solid var(--pale-line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.facts .label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.facts .value { font-size: 22px; font-weight: 700; }
.facts .btn { text-align: center; }

/* Steps and lists */
.steps { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps li, .ticks li { color: var(--text); }
.steps strong, .ticks strong { color: var(--navy); }
.ticks { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

/* Forms */
.form { padding: 32px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.form label { font-size: 15px; font-weight: 700; }
.form input, .form textarea { padding: 12px 14px; font-size: 16px; font-family: inherit; border: 1px solid #5B6B84; border-radius: 6px; background: #fff; }
.form input { height: 48px; }

/* Footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 48px 0 28px 0; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; }
.site-footer .cols > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.site-footer .cols > div:first-child { flex: 2 1 300px; }
.site-footer a { padding: 4px 0; text-decoration: none; }
.footer-title { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.tagline { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; color: var(--accent); }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid #D5DCE8; font-size: 14px; color: var(--text); }

/* Floating WhatsApp button */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 14px 20px; border-radius: 100px; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 6px 18px rgba(11, 22, 40, 0.25); }
.whatsapp-float:hover { color: #fff; background: #0A5630; }

.hidden { display: none !important; }

@media (max-width: 720px) {
  h1, .hero h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section, .hero { padding: 44px 0; }
  .site-header { position: static; }
  .nav a { padding: 10px 10px; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr; gap: 8px; }
  .two-col .table-row { grid-template-columns: 1fr; }
  .outline-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Category cards on the Courses page */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 10px; text-decoration: none; color: var(--navy); }
.cat-card:hover { background: var(--pale); color: var(--navy); }
.cat-card p { font-size: 16px; }
.cat-link { margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--accent); }

/* Schedule and fees table */
.btn.small { padding: 10px 18px; font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filter-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); }
.sched-row.table-head, .sched-row.table-row { grid-template-columns: minmax(0, 1fr) 105px 105px 85px 90px 75px 115px; gap: 14px; }
.sched-row .title { font-size: 17px; }
.sched-row .fee { font-weight: 700; }
.search-row.table-head, .search-row.table-row { grid-template-columns: minmax(0, 1fr) 260px 170px; }

@media (max-width: 900px) {
  .sched-row.table-head { display: none; }
  .sched-row.table-row { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .sched-row.table-row > .title { grid-column: 1 / -1; }
  .sched-row.table-row > div[data-label]:not(.title)::before { content: attr(data-label) ": "; font-size: 13px; font-weight: 700; color: var(--text); }
  .search-row.table-row { grid-template-columns: 1fr; gap: 8px; }
}


/* ===== Colour scheme: navy, royal blue and gold ===== */
.topbar { background: var(--navy); color: #DCE6F5; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.site-header { border-bottom: 3px solid var(--gold); }
.brand-mark { background: var(--navy); color: var(--gold); }
.nav a.search-link { color: var(--navy); border-bottom-color: var(--gold); }
.eyebrow { color: var(--blue); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn.gold:hover { background: #D9A93F; color: var(--navy); }

/* Dark bands: hero, page headings, call to action */
.hero.dark, .page-head { background: linear-gradient(120deg, #0B1F3A 0%, #123B73 100%); color: #fff; }
.hero.dark h1, .page-head h1, .hero.dark h2, .page-head h2 { color: #fff; }
.hero.dark p, .page-head p { color: #DCE6F5; }
.hero.dark .eyebrow, .page-head .eyebrow { color: var(--gold); }
.page-head label { color: #fff; }
.hero.dark .btn.outline, .page-head .btn.outline, .cta.dark .btn.outline { background: transparent; color: #fff; border-color: #fff; }
.hero.dark .btn.outline:hover, .page-head .btn.outline:hover, .cta.dark .btn.outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cta.dark { background: var(--blue); border-color: var(--blue); }
.cta.dark h2 { color: #fff; }
.cta.dark p { color: #DCE6F5; }

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stat-num { color: var(--blue); }
.menu-title { border-bottom-color: var(--gold) !important; color: var(--navy); }
.card { border-top: 3px solid var(--blue); }
.course-card { border-top: 0; }
.cat-card { border-top-color: var(--blue); padding: 0 0 20px 0; overflow: hidden; }
.cat-card h3, .cat-card p, .cat-card .cat-link { padding-left: 20px; padding-right: 20px; }
.cat-card h3 { padding-top: 8px; }
.cat-link { color: var(--blue); }
.table-title { background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold); }
.pills button.on { background: var(--blue); border-color: var(--blue); }
.pale-card .eyebrow { color: var(--blue); }
.outline-row .day { color: var(--blue); }
.facts { border-top: 4px solid var(--gold); }

/* Footer */
.site-footer { background: var(--navy); border-top: 4px solid var(--gold); color: #DCE6F5; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: #B9C7DD; }
.site-footer .brand-name { color: #fff; }
.site-footer .footer-title { color: var(--gold); }
.tagline { color: var(--gold); }
.copyright { border-top-color: #2A426A; color: #B9C7DD; }

/* ===== Photos ===== */
.photo-frame { border-radius: 12px; overflow: hidden; background: var(--photo); height: 300px; box-shadow: 0 10px 30px rgba(11, 31, 58, 0.18); }
.photo-frame.tall { height: 400px; }
.photo-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.card-photo { height: 180px; background: var(--photo); }
.cat-photo { width: 100%; height: 140px; object-fit: cover; display: block; background: var(--photo); }
.head-split { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.head-split > .stack { flex: 2 1 420px; }
.head-photo { flex: 1 1 260px; height: 200px; border-radius: 12px; overflow: hidden; background: #123B73; border: 3px solid rgba(255,255,255,0.25); }
.map { width: 100%; height: 300px; border: 1px solid var(--line); border-radius: 12px; }

/* Price list columns (no dates) */
.sched-row.table-head, .sched-row.table-row { grid-template-columns: minmax(0, 1fr) 100px 120px 100px 120px; gap: 16px; }

/* Logo */
.brand-logo { width: 46px; height: 46px; display: block; }
