/* Core color palette */
:root {
  --color-navy: #0B2545;
  --color-navy-alt: #102F56;
  --color-teal: #127475;
  --color-teal-dark: #0e5a5b;
  --color-gold: #C49A00;
  --color-bg: #F5F7FA;
  --color-bg-alt: #ECF1F5;
  --color-border: #D9E2EC;
  --color-text: #1E2A32;
  --color-text-light: #4A5B68;
  --color-danger: #B00020;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.55;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

.lightbox-backdrop {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.lightbox-backdrop img {
  max-width:90vw;
  max-height:90vh;
  box-shadow:0 0 25px rgba(0,0,0,.6);
  border-radius:4px;
}

h1,h2,h3,h4 { font-family: 'Merriweather', Georgia, serif; font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
a { color: var(--color-teal); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

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

/* Layout */
.container { width: min(1180px, 100% - 3rem); margin: 0 auto; }
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
.flex { display: flex; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.space-between { display:flex; justify-content:space-between; align-items:center; }

/* Header */
.site-header { background: var(--color-navy); color:#fff; position:sticky; top:0; z-index:100; box-shadow: var(--shadow-sm); }
.navbar { display:flex; align-items:center; justify-content:space-between; padding:.85rem 0; }
.brand a { font-size:1.25rem; font-weight:600; color:#fff; display:inline-flex; align-items:center; gap:.5rem; }
.brand-badge { background: var(--color-gold); color: #0B2545; padding: .25rem .55rem; border-radius: var(--radius-sm); font-size:.65rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; }

.nav-links { list-style:none; display:flex; gap:1.5rem; margin:0; padding:0; }
.nav-links a { color:#fff; font-weight:500; position:relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-4px; width:0; height:2px; background:var(--color-gold); transition:width var(--transition-base); }
.nav-links a:hover::after, .nav-links a:focus::after, .nav-links a[aria-current="page"]::after { width:100%; }

/* Mobile nav */
.nav-toggle { background:none; border:1px solid rgba(255,255,255,0.4); color:#fff; padding:.55rem .75rem; border-radius:var(--radius-sm); cursor:pointer; display:none; }
.nav-toggle:focus { outline:2px solid var(--color-gold); outline-offset:2px; }
@media (max-width: 860px) {
  .nav-toggle { display:block; }
  .nav-links { position:absolute; inset: 100% 0 auto 0; background:var(--color-navy-alt); flex-direction:column; padding:1rem 1.25rem 1.5rem; box-shadow: var(--shadow-md); max-height:0; overflow:hidden; transition:max-height var(--transition-base); }
  .nav-links.open { max-height:420px; }
  .nav-links li { opacity:0; transform:translateY(-6px); animation: navIn .4s forwards; }
  .nav-links li:nth-child(1){animation-delay:.05s;} .nav-links li:nth-child(2){animation-delay:.1s;} .nav-links li:nth-child(3){animation-delay:.15s;} .nav-links li:nth-child(4){animation-delay:.2s;} .nav-links li:nth-child(5){animation-delay:.25s;}
  @keyframes navIn { to { opacity:1; transform:translateY(0);} }
}

/* Hero */
.hero { padding: clamp(4rem, 8vh, 7rem) 0 4rem; background: linear-gradient(135deg, var(--color-navy) 0%, #103158 60%, #14406A 100%); color:#fff; position:relative; overflow:hidden; }
.hero::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 75% 30%, rgba(255,255,255,0.08), transparent 60%); }
.hero-inner { position:relative; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing:-1px; }
.hero p.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 680px; margin-bottom:2rem; }

/* Cards / Feature blocks */
.feature-card { background:#fff; border:1px solid var(--color-border); padding:1.25rem 1.25rem 1.4rem; border-radius: var(--radius-md); position:relative; overflow:hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.feature-card:hover { transform:translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width:44px; height:44px; background: var(--color-teal); display:grid; place-items:center; border-radius: var(--radius-sm); color:#fff; font-size:1.15rem; margin-bottom:.9rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-narrow { padding: 2.5rem 0; }
.section h2.section-title { font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin-bottom: .4em; }
.section-lead { color: var(--color-text-light); max-width: 740px; }

/* Buttons */
.btn { --btn-bg: var(--color-teal); --btn-bg-hover: var(--color-teal-dark); --btn-color:#fff; --btn-border: transparent; font: inherit; font-weight:600; letter-spacing:.3px; display:inline-flex; align-items:center; gap:.5rem; padding:.75rem 1.15rem; border-radius: var(--radius-sm); border:1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-color); cursor:pointer; text-decoration:none; position:relative; overflow:hidden; transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); }
.btn:hover { background: var(--btn-bg-hover); color:#fff; text-decoration:none; }
.btn:focus { outline:2px solid var(--color-gold); outline-offset:2px; }
.btn-outline { --btn-bg: transparent; --btn-bg-hover: rgba(255,255,255,0.08); --btn-color:#fff; --btn-border: rgba(255,255,255,0.5); }
.btn-secondary { --btn-bg: var(--color-navy-alt); --btn-bg-hover: #173d6d; }
.btn-gold { --btn-bg: #d5b719; --btn-bg-hover: green; --btn-color:#000; }
.btn-block { display:flex; justify-content:center; width:100%; }

/* Pricing placeholder */
.pricing { display:grid; gap:2rem; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); align-items:stretch; }
.price-card { background:#fff; border:1px solid var(--color-border); border-radius: var(--radius-md); padding:1.75rem 1.5rem 2rem; display:flex; flex-direction:column; box-shadow: var(--shadow-sm); position:relative; }
.price-card.highlight { border:2px solid var(--color-teal); }
.price-card h3 { margin-top:0; font-size:1.35rem; }
.price { font-size:2.1rem; font-weight:700; margin:.2rem 0 1rem; color: var(--color-navy); }
.price-note { font-size:.8rem; text-transform:uppercase; letter-spacing:.5px; font-weight:600; color: var(--color-teal); margin-bottom:.75rem; }
.price-features { list-style:none; padding:0; margin:0 0 1.5rem; display:flex; flex-direction:column; gap:.55rem; font-size:.9rem; }
.price-features li { display:flex; gap:.5rem; }

/* Forms */
form { width:100%; max-width:640px; }
.field { margin-bottom:1.25rem; }
.field.inline { display:flex; gap:1rem; }
.label-row { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:.35rem; }
label { font-weight:600; font-size:.85rem; letter-spacing:.5px; text-transform:uppercase; display:block; margin-bottom:.35rem; color: var(--color-text-light); }
input[type=text], input[type=email], input[type=password], select, textarea, input[type=date] { width:100%; padding:.75rem .8rem; border:1px solid var(--color-border); border-radius: var(--radius-sm); background:#fff; font:inherit; color:inherit; transition:border-color var(--transition-fast), box-shadow var(--transition-fast); }
textarea { resize:vertical; min-height:140px; }
input:focus, select:focus, textarea:focus { outline:none; border-color: var(--color-teal); box-shadow:0 0 0 3px rgba(18,116,117,0.18); }
.helper { font-size:.7rem; letter-spacing:.4px; color: var(--color-text-light); margin-top:.35rem; }
.error-msg { color: var(--color-danger); font-size:.75rem; margin-top:.4rem; display:none; }
.password-meter { height:6px; border-radius: 3px; background: var(--color-border); overflow:hidden; margin-top:.5rem; }
.password-meter span { display:block; height:100%; width:0; background: linear-gradient(90deg, #ff4d4f, #ffb347, #4caf50); transition: width var(--transition-base); }

/* Notices / badges */
.badge { display:inline-block; background: var(--color-bg-alt); border:1px solid var(--color-border); padding:.35rem .55rem; font-size:.65rem; letter-spacing:.5px; font-weight:600; text-transform:uppercase; color: var(--color-text-light); }
.badge-accent { background: var(--color-gold); color:#0B2545; border-color: var(--color-gold); }

/* Footer */
.site-footer { background: var(--color-navy); color:#d5dde5; padding:3rem 0 2.4rem; margin-top:4rem; position:relative; }
.site-footer a { color:#fff; }
.footer-grid { display:grid; gap:2rem; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.footer-bottom { margin-top:2.5rem; padding-top:1.25rem; border-top:1px solid rgba(255,255,255,0.1); font-size:.75rem; display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; }

/* Utilities */
.m0 { margin:0!important; }
.mt0 { margin-top:0!important; }
.mt1 { margin-top:1rem!important; }
.mt2 { margin-top:2rem!important; }
.mb0 { margin-bottom:0!important; }
.mb1 { margin-bottom:1rem!important; }
.mb2 { margin-bottom:2rem!important; }
.text-center { text-align:center!important; }
.text-right { text-align:right!important; }
.lead { font-size:1.12rem; line-height:1.5; }
.max-w-md { max-width:720px; }
.hide { display:none!important; }

/* Accessibility helpers */
.skip-link { position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { left:0; top:0; width:auto; height:auto; background:#000; color:#fff; padding:.5rem 1rem; z-index:1000; }

/* Responsive adjustments */
@media (max-width:640px){
  .field.inline { flex-direction:column; }
  .price { font-size:1.8rem; }
}

/* Video helper (keeps iframe responsive) */
.video-responsive {
    /* 1. Sets up the positioning context for the absolute child iframe */
    position: relative;
    /* 2. Remove default size for the wrapper */
    width: 100%;
    /* 3. The magic: 56.25% for a 16:9 aspect ratio (9 / 16 = 0.5625) */
    padding-top: 56.25%;
    /* 4. Ensures the video content doesn't overflow */
    overflow: hidden;
}

.video-responsive iframe {
    /* 1. Stretches the iframe to fill the wrapper */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 2. Overrides any fixed dimensions from the HTML attributes */
    max-width: 100%;
    max-height: 100%;
}

/* NEW: Examiner grid layout — desktop is 1fr / 2fr, collapse to single column on narrow screens */
.grid--examiner {
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 3rem;
}

@media (max-width: 860px) {
  .grid--examiner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* end of stylesheet */
