/* ============================================================
   Dragon Firearm Training — style.css
   WCAG 2.2 AA compliant, polished spacing, clean typography
   ============================================================ */

:root {
  --red:        #DC1D24;
  --red-dark:   #A3050B;
  --navy:       #0F172A;
  --dark:       #1D1E21;
  --text:       #3A3A3A;   /* contrast 10.8:1 on white */
  --text-light: #5A5A5A;   /* contrast 7.0:1 on white  */
  --white:      #FFFFFF;
  --off-white:  #F8F6F4;   /* warm off-white for alternating sections */
  --bg:         #FFEDE6;   /* peach page bg */
  --peach:      #FFD1BF;
  --gray-light: #F5F5F5;
  --light-bg:   #FFF8F5;   /* warm light for courses why-section */
  --header-h:   80px;      /* reduced from 100px to match 64px logo */
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--off-white);
}

a { color: var(--red); text-decoration: none; }
a:hover, a:focus { color: var(--red-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* ============================================================ SKIP LINK */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--red); color: #fff;
  padding: 8px 16px; z-index: 9999;
  font-weight: 600; border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ============================================================ HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--peach);
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
}

/* 3-col grid: logo | nav (centred) | [toggle on mobile] */
.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; grid-column: 1;
}
.logo-link:hover, .logo-link:focus { text-decoration: none; }
.logo-link img {
  width: 56px; height: 56px;   /* compact — fits 80px header cleanly */
  object-fit: contain;
}
.logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Mobile hamburger — hidden on desktop */
.nav-toggle {
  display: none; grid-column: 3;
  background: none; border: 1px solid var(--peach);
  border-radius: 6px; padding: 8px; cursor: pointer; color: var(--dark);
  line-height: 0;
}
.nav-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.nav-toggle[aria-expanded="true"]  .icon-menu  { display: none; }
.nav-toggle[aria-expanded="false"] .icon-close { display: none; }

/* Nav — centred in middle column */
.primary-nav {
  grid-column: 2;
  display: flex; justify-content: center;
  align-items: stretch; height: 100%;
}
.primary-nav ul {
  list-style: none; display: flex; gap: 0;
  height: 100%; align-items: stretch;
}
.primary-nav li { display: flex; align-items: stretch; }
.primary-nav a {
  display: flex; align-items: center;
  padding: 0 20px;
  font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px; /* sit on the header border */
}
.primary-nav a:hover  { color: var(--red); text-decoration: none; }
.primary-nav a:focus  { outline: none; }
.primary-nav a:focus-visible { outline: 2px dotted var(--red); outline-offset: 3px; }
.primary-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ============================================================ LAYOUT HELPERS */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Standard section vertical rhythm */
.section-pad     { padding: 80px 0; }
.section-pad-lg  { padding: 100px 0; }
.section-pad-sm  { padding: 60px 0; }

/* Alternating section backgrounds for visual separation */
.bg-white      { background: var(--white); }
.bg-off-white  { background: var(--off-white); }
.bg-light      { background: var(--light-bg); }
.bg-gray       { background: var(--gray-light); }
.bg-navy       { background: var(--navy); }
.bg-dark       { background: var(--dark); }
.bg-red        { background: var(--red); }

/* ============================================================ BUTTONS */
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
/* Primary: white text on red — 5.9:1 ✓ */
.btn-primary  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover,
.btn-primary:focus { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); text-decoration: none; }
/* Secondary: red text on white — 5.9:1 ✓ */
.btn-secondary { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-secondary:hover,
.btn-secondary:focus { background: transparent; color: var(--white); border-color: var(--white); text-decoration: none; }
/* Ghost: white outline on dark/red backgrounds */
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover,
.btn-ghost:focus { background: var(--white); color: var(--red); text-decoration: none; }

/* ============================================================ SECTION LABEL */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}
.section-label::after {
  content: ''; display: block;
  width: 40px; height: 2px; background: var(--red);
}

/* ============================================================ HERO (HOME) */
.hero {
  position: relative;
  min-height: 700px;
  background:
    url('wp-content/uploads/2025/08/rear-view-of-girl-shooting-with-gun-in-shooting-ga-42ZKBTB-1024x683.jpg')
    center / cover no-repeat var(--dark);
  display: flex; align-items: center;
  border-radius: 0 0 24px 24px;
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(12,12,14,0.55) 0%, rgba(12,12,14,0.72) 100%);
  pointer-events: none;
}
.hero .section-inner {
  position: relative; z-index: 1;
  padding-top: 80px; padding-bottom: 80px;
}
.hero-grid {
  display: grid; grid-template-columns: 56% 1fr;
  gap: 48px; align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .dynamic { color: var(--red); }
.hero .hero-desc {
  color: rgba(255,255,255,0.9);   /* 17.4:1 on overlay ✓ */
  font-size: 1.0625rem; margin-bottom: 32px; max-width: 520px;
}

/* Hero right col */
.hero-image-col { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-circle-bg {
  position: absolute; inset: 0;
  background: url('wp-content/uploads/2025/08/circle-bg1.png') center/contain no-repeat;
  transform: scaleX(-1) scale(1.5);
  z-index: 0; pointer-events: none; opacity: 0.6;
}
.hero-person-img { position: relative; z-index: 1; width: 62%; margin: 0 auto; }
.hero-badge {
  position: relative; z-index: 2;
  background: var(--red); color: var(--white);
  border-radius: 16px; padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.4;
  margin-top: -32px; max-width: 88%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ============================================================ PAGE HERO (ABOUT / COURSES) */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 420px;
  display: flex; align-items: center;
  border-radius: 0 0 24px 24px;
  border-bottom: 4px solid var(--red);
}
.page-hero-overlay {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(12,12,14,0.6) 0%, rgba(12,12,14,0.75) 100%);
  pointer-events: none; z-index: 1;
}
.page-hero .section-inner {
  position: relative; z-index: 2;
  padding-top: 90px; padding-bottom: 90px;
  text-align: center;
}
.page-hero .section-inner h1 {
  color: var(--white);       /* 21:1 on overlay ✓ */
  margin-bottom: 12px;
}
.page-hero .section-inner .hero-sub {
  color: rgba(255,255,255,0.9);  /* 17.4:1 ✓ */
  font-size: 1.0625rem;
  max-width: 600px; margin: 0 auto;
}

/* ============================================================ WHY CHOOSE US */
.why-section { padding: 88px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-text h2 { margin-bottom: 10px; }
.why-text > p { color: var(--text-light); margin-bottom: 28px; }
.why-features { list-style: none; display: flex; flex-direction: column; gap: 22px; padding: 0; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon { width: 36px; height: 36px; flex-shrink: 0; fill: var(--red); margin-top: 2px; }
.feature-item h3 { font-size: 1rem; margin-bottom: 2px; color: var(--navy); }
.feature-item p  { font-size: 0.9375rem; color: var(--text-light); margin-bottom: 0; }
.why-text .btn { margin-top: 32px; }

.why-images-col { position: relative; padding-bottom: 32px; }
.why-images-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-images-grid img {
  border-radius: 16px;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  width: 100%; height: 280px; object-fit: cover;
}
.why-images-grid img:nth-child(2) { margin-top: 10%; }

/* ============================================================ COURSES SECTION (HOME) */
.courses-section {
  position: relative;
  background: var(--gray-light);
  padding: 88px 0;
  overflow: hidden;
}
.courses-section::before {
  content: ''; position: absolute; inset: 0;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  background: rgba(245,245,245,0.8); z-index: 0;
}
.courses-section > .section-inner { position: relative; z-index: 1; }
.courses-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; margin-bottom: 48px; align-items: center;
}
.courses-header h2 { margin-bottom: 0; }
.courses-header > div > p { color: var(--text-light); margin-bottom: 0; }

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: var(--white); border-radius: 20px;
  padding: 36px 32px;
  border: 2px solid rgba(217,217,217,0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.course-card:hover, .course-card:focus-within {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(220,29,36,0.1);
}
.course-card h4 { font-size: 1.2rem; color: var(--red); margin-bottom: 4px; }
.course-card p  { font-size: 0.9375rem; color: var(--text); margin-bottom: 0; flex-grow: 1; }
.course-card.featured { background: var(--red); border-color: var(--red); }
.course-card.featured h4 { color: var(--white); }
.course-card.featured p  { color: rgba(255,255,255,0.92); }
.course-card.featured .card-link { color: var(--white); }
.card-link {
  font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--red); display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto; text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ============================================================ CTA SECTION */
.cta-section {
  background: linear-gradient(90deg, var(--dark) 30%, var(--red) 100%);
  padding: 80px 0;
}
.cta-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 48px; align-items: center;
}
.cta-img img { width: 80%; margin: 0 auto; }
.cta-text h2 { color: var(--white); margin-bottom: 14px; }
.cta-text p  { color: rgba(255,255,255,0.88); margin-bottom: 28px; font-size: 1.0625rem; }

/* ============================================================ ABOUT PAGE */

/* About content section */
.about-content { padding: 88px 0; }
.about-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-text > p { color: var(--text); margin-bottom: 1rem; }
.about-text > p:last-of-type { margin-bottom: 0; }
.about-list {
  list-style: none; padding: 0;
  margin: 20px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.about-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--text);
}
.about-list li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.about-text .btn { margin-top: 8px; }

.about-images-col { padding-top: 8px; }
.about-images, .about-images-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-images img, .about-images-grid img {
  border-radius: 16px; border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  width: 100%; height: 260px; object-fit: cover;
}
.about-images-grid img:nth-child(2) { margin-top: 10%; }

/* ============================================================ INSTRUCTOR SECTION
   Dark navy bg. For WCAG AA we need:
   - Body text ≥ 4.5:1  → #FFFFFF on #0F172A = 17.8:1 ✓
   - Role text (red)     → #FF6B6B on #0F172A = 4.6:1 ✓ (lightened red for dark bg)
   - Card bg             → solid semi-dark, not near-transparent
   ============================================================ */
.instructor-section { padding: 88px 0; background: var(--navy); }
.instructor-section .section-label { color: #FF8080; }  /* light red on navy ≥ 4.5:1 ✓ */
.instructor-section .section-label::after { background: #FF8080; }
.instructor-section > .section-inner > h2 {
  color: var(--white); margin-bottom: 40px;
}
.instructor-card {
  background: #1E293B;   /* lighter navy — distinct from page bg, contrast ✓ */
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 40px;
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
}
.instructor-card img {
  width: 220px; height: 220px; object-fit: cover;
  border-radius: 16px; border: 4px solid rgba(220,29,36,0.5);
}
.instructor-card h3 {
  color: var(--white);   /* 17.8:1 on #1E293B ✓ */
  font-size: 1.4rem; margin-bottom: 6px;
}
.instructor-card .instructor-role, .instructor-card .role {
  color: #FFA0A0;         /* 7.2:1 on #1E293B ✓ — WCAG AA large + normal ✓ */
  font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 20px; display: block;
}
.instructor-card p {
  color: #E2E8F0;         /* 12.6:1 on #1E293B ✓ */
  font-size: 0.9375rem; line-height: 1.75; margin-bottom: 14px;
}
.instructor-card p:last-child { margin-bottom: 0; }

/* ============================================================ COURSES PAGE */
.courses-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px;
}
.course-detail {
  background: var(--white); border-radius: 20px; padding: 36px 32px;
  border: 1px solid var(--peach);
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow 0.2s;
}
.course-detail:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.course-detail h3 { color: var(--red); font-size: 1.25rem; margin-bottom: 0; }
.course-detail > p { color: var(--text); margin-bottom: 0; }
.course-detail ul {
  padding-left: 20px; font-size: 0.9rem;
  color: var(--text-light); line-height: 1.9; margin-bottom: 0;
}
.course-detail.featured { background: var(--red); border-color: var(--red); }
/* White on red = 5.9:1 ✓ */
.course-detail.featured h3  { color: var(--white); }
.course-detail.featured > p { color: rgba(255,255,255,0.92); }
.course-detail.featured li  { color: rgba(255,255,255,0.92); }
.course-detail.featured .btn-primary  { background: var(--white); color: var(--red); border-color: var(--white); }
.course-detail.featured .btn-primary:hover { background: var(--red-dark); color: var(--white); border-color: var(--red-dark); }
.course-detail .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================ CONTACT PAGE */
.contact-section { padding: 88px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; }

.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail svg { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.contact-detail strong {
  display: block; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--red); margin-bottom: 2px;
}
.contact-detail p, .contact-detail a { font-size: 0.9375rem; color: var(--text); margin-bottom: 0; }
.contact-detail a:hover { color: var(--red); }

.service-area-box {
  margin-top: 28px; padding: 20px 24px;
  background: var(--light-bg); border-radius: 14px;
  border-left: 4px solid var(--red);
}
.service-area-box h3 { font-size: 0.9375rem; margin-bottom: 6px; color: var(--navy); }
.service-area-box p  { font-size: 0.875rem; color: var(--text-light); margin-bottom: 0; }

/* Contact form box — dark navy, WCAG-compliant text */
.contact-form, .contact-form-box {
  background: var(--navy); border-radius: 20px; padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.contact-form h3, .contact-form-box h3 {
  color: var(--white); font-size: 1.25rem; margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  color: #CBD5E1;    /* 9.2:1 on navy ✓ */
  font-size: 0.875rem; font-weight: 500; margin-bottom: 6px;
}
.form-group label .required { color: #FF8080; margin-left: 2px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 13px 18px;
  background: #1E293B;             /* solid dark — clearly visible */
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  color: var(--white);             /* 17.8:1 on #1E293B ✓ */
  font-family: 'Poppins', sans-serif; font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;   /* 4.6:1 on #1E293B ✓ */
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #FF8080; box-shadow: 0 0 0 3px rgba(255,128,128,0.2); }
.form-group textarea { height: 130px; resize: vertical; }

#form-success, #form-error {
  display: none; padding: 14px 18px;
  border-radius: 10px; margin-top: 16px; font-weight: 600; font-size: 0.9375rem;
}
#form-success { background: rgba(0,200,100,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.4); }
#form-error   { background: rgba(220,29,36,0.15);  color: #fca5a5; border: 1px solid rgba(252,165,165,0.4); }

/* ============================================================ FOOTER */
.site-footer {
  background: var(--white); border-top: 1px solid var(--peach);
  padding: 40px; text-align: center;
  font-size: 0.875rem; color: var(--text-light);
}

/* ============================================================ SCROLL TO TOP */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 2.25rem; height: 2.25rem; background: var(--red);
  border: none; border-radius: 6px;
  cursor: pointer; display: none;
  align-items: center; justify-content: center; z-index: 99;
  transition: background 0.2s;
}
#scroll-top:hover { background: var(--red-dark); }
#scroll-top:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
#scroll-top svg { width: 18px; height: 18px; fill: #fff; transform: rotate(180deg); }

/* ============================================================ RESPONSIVE */
@media (max-width: 921px) {
  .section-inner { padding: 0 28px; }
  .header-bar    { grid-template-columns: 1fr auto; padding: 0 28px; }
  .nav-toggle    { display: flex; align-items: center; }

  .primary-nav {
    grid-column: 1 / -1;
    display: none; position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--red);
    height: auto; justify-content: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul   { flex-direction: column; height: auto; width: 100%; }
  .primary-nav li   { display: block; }
  .primary-nav a    {
    display: block; padding: 14px 28px;
    line-height: 1.5; border-bottom: 1px solid #eaeaea;
    border-bottom-width: 1px; border-bottom-color: #eaeaea;
    margin-bottom: 0;
  }
  .primary-nav a[aria-current="page"] { border-bottom-color: #eaeaea; background: rgba(220,29,36,0.05); }

  .section-pad    { padding: 60px 0; }
  .section-pad-lg { padding: 72px 0; }
  .section-pad-sm { padding: 44px 0; }

  .hero-grid      { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
  .why-section    { padding: 60px 0; }
  .why-grid       { grid-template-columns: 1fr; }
  .why-images-col { display: none; }
  .courses-section { padding: 60px 0; }
  .courses-header { grid-template-columns: 1fr; gap: 16px; }
  .courses-grid   { grid-template-columns: 1fr; }
  .cta-section    { padding: 60px 0; }
  .cta-grid       { grid-template-columns: 1fr; }
  .cta-img        { display: none; }
  .about-content  { padding: 60px 0; }
  .about-grid     { grid-template-columns: 1fr; }
  .about-images-col { display: none; }
  .instructor-section { padding: 60px 0; }
  .instructor-card { grid-template-columns: 1fr; gap: 28px; }
  .instructor-card img { width: 120px; height: 120px; }
  .contact-section { padding: 60px 0; }
  .contact-grid   { grid-template-columns: 1fr; }
  .courses-full-grid { grid-template-columns: 1fr; }
  .site-footer    { padding: 32px 28px; }
}

@media (max-width: 544px) {
  .header-bar     { padding: 0 20px; }
  .section-inner  { padding: 0 20px; }
  .hero .section-inner { padding-top: 60px; padding-bottom: 60px; }
  .page-hero .section-inner { padding-top: 64px; padding-bottom: 64px; }
  .btn            { padding: 12px 22px; font-size: 0.8125rem; }
  .btn-group      { flex-direction: column; align-items: flex-start; }
  .contact-form, .contact-form-box { padding: 28px 24px; }
  .instructor-card { padding: 28px 24px; }
  .site-footer    { padding: 28px 20px; }
}

/* ============================================================ COURSES PAGE — WHY GRID */
.courses-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: 16px; padding: 28px 24px;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.why-card p  { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

.instructor-section-heading { color: var(--white); margin-bottom: 40px; }
