/* ============================================================
   BARRISTER'S LAW ACADEMY - Main Stylesheet
   Color Palette:
     --navy:      #1a2744  (primary deep navy)
     --gold:      #c9a227  (accent gold)
     --gold-lt:   #e8c84a  (lighter gold for hover)
     --cream:     #f8f5ef  (background warmth)
     --white:     #ffffff
     --text-dark: #1c1c1c
     --text-mid:  #4a4a4a
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   ============================================================ */

/* ---- 0. CSS Custom Properties ---- */
:root {
  --navy:      #1a2744;
  --navy-dark: #111c35;
  --gold:      #c9a227;
  --gold-lt:   #e8c84a;
  --gold-pale: #f5e9bc;
  --cream:     #f8f5ef;
  --white:     #ffffff;
  --text-dark: #1c1c1c;
  --text-mid:  #4a4a4a;
  --text-light:#777;
  --shadow:    0 4px 24px rgba(26,39,68,0.12);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.18);
  --radius:    6px;
  --transition:0.3s ease;
}

/* ---- 1. Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- 2. Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.section-tag {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-title span { color: var(--gold); }

.divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}

.divider.center { margin: 1rem auto 2rem; }

/* ---- 3. Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); }

/* ---- 4. Top Bar ---- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(201,162,39,0.25);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a { color: var(--gold); transition: color var(--transition); }
.topbar a:hover { color: var(--gold-lt); }

.topbar-left { display: flex; gap: 1.5rem; align-items: center; }
.topbar-right { display: flex; gap: 1rem; align-items: center; }

/* ---- 5. Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* SVG logo mark in gold */
.logo-mark {
  width: 100px;
  height: 48px;
  flex-shrink: 0;
}

.nav-logo-text {
  line-height: 1.45;
}

.nav-logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  letter-spacing: 0.02em;
}

.nav-logo-text .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-logo-text .tagline2 {
  font-size: 0.6rem;
  color: rgba(220,169,18,0.9);
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-logo-text .tagline3 {
  font-size: 0.9rem;
  color: rgba(220,169,18,0.9);
  display: block;
  letter-spacing: 0.12em;
  font-weight:bold;
  
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.1);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- 6. Hero / Banner ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #243561 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* decorative gold line top-right */
.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border: 60px solid rgba(201,162,39,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-content {}

.hero-content .section-tag { font-size: 0.85rem; }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-content h1 span { color: var(--gold); display: block; }

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badge {
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 40px;
  padding: 0.35rem 1rem;
  color: var(--gold-lt);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Hero form card */
.hero-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}

.hero-form-card h3 {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.hero-form-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ---- 7. Forms ---- */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.form-group textarea { resize: vertical; min-height: 80px; }

/* hCaptcha placeholder */
.captcha-box {
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fafafa;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.captcha-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.captcha-logo {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-light);
  text-align: right;
  line-height: 1.2;
}

/* ---- 8. Stats Strip ---- */
.stats-strip {
  background: var(--gold);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ---- 9. About Section ---- */
.about-section {
  padding: 6rem 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

/* Gold border accent */
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 3px solid var(--gold);
  border-radius: 10px;
  z-index: 0;
  pointer-events: none;
}

.about-image-wrap img { position: relative; z-index: 1; }

.about-credentials {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  max-width: 200px;
}

.about-credentials strong {
  color: var(--gold);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-family: 'Playfair Display', serif;
}

.about-content {}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-content .highlight {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
  margin: 1.5rem 0;
  font-size: 1.05rem;
}

/* ---- 10. Features / Pillars ---- */
.features-section {
  padding: 6rem 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  background: var(--cream);
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ---- 11. Courses Section ---- */
.courses-section {
  padding: 6rem 0;
  background: var(--cream);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.course-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.course-card-header {
  background: var(--navy);
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.course-card-header .icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.course-card-header h3 {
  color: var(--gold);
  font-size: 1.1rem;
}

.course-card-body {
  padding: 1.5rem 1.75rem;
}

.course-card-body p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.course-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

/* ---- 12. Gallery Section ---- */
.gallery-section {
  padding: 6rem 0;
  background: var(--navy);
}

.gallery-section .section-tag { color: var(--gold); }

.gallery-section .section-title { color: var(--white); }

.gallery-section .section-title span { color: var(--gold); }

.gallery-section .divider { margin: 1rem auto 2.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item::after {
  content: '⊕';
  position: absolute;
  inset: 0;
  background: rgba(26,39,68,0.5);
  color: var(--gold);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after { opacity: 1; }

/* ---- 13. Testimonials Section ---- */
.testimonials-section {
  padding: 6rem 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.25rem;
  right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold-pale);
  line-height: 1;
  pointer-events: none;
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---- 14. CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border: 40px solid rgba(201,162,39,0.08);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 40px solid rgba(201,162,39,0.06);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}

.cta-banner h2 span { color: var(--gold); }

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative; z-index: 1;
}

.cta-banner .btn { position: relative; z-index: 1; }

/* ---- 15. Footer ---- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), border-color var(--transition);
}

.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-col h5 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-contact-item .icon { color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }

.footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: var(--gold); }

/* ---- 16. Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero h1 span { color: var(--gold); }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ---- 17. Contact Page ---- */
.contact-section {
  padding: 6rem 0;
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-box {
  background: var(--navy);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  color: var(--white);
  height: fit-content;
}

.contact-info-box h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-info-box p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail .icon-box {
  width: 42px;
  height: 42px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail div strong {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-detail div span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}

.contact-form-box {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  margin-bottom: 0.25rem;
}

.contact-form-box p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
  font-weight: 400;
}

.form-radio-group input[type="radio"] {
  accent-color: var(--gold);
  width: auto;
}

/* ---- 18. About Us Page ---- */
.mission-section {
  padding: 6rem 0;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.mission-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--gold);
  text-align: center;
}

.mission-card .big-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.mission-card h4 { margin-bottom: 0.75rem; }

.mission-card p { color: var(--text-mid); font-size: 0.95rem; }

/* ---- 19. Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ---- 20. Map embed ---- */
.map-section {
  height: 380px;
  background: #e2e8f0;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- 21. Courses Page ---- */
.courses-page-section {
  padding: 6rem 0;
  background: var(--cream);
}

.courses-page-section .courses-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ---- 22. Testimonials Page ---- */
.testimonials-page-section {
  padding: 6rem 0;
  background: var(--cream);
}

.testimonials-page-section .testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ---- 23. Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeInUp 0.6s ease both;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ---- 24. Responsive ---- */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-form-card {
    max-width: 480px;
  }

  .about-grid {
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  .topbar .container { justify-content: center; gap: 0.5rem; }
  .topbar-left { gap: 0.75rem; font-size: 0.78rem; }

  .navbar .container { flex-wrap: wrap; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.5rem 0 1rem;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-links a { width: 100%; padding: 0.6rem 0.5rem; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrap { max-width: 320px; margin: 0 auto; }

  .about-credentials { display: none; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.wide { grid-column: span 1; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .hero-badges { flex-direction: column; gap: 0.5rem; }
}
