/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1F1F1F;
  background: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}


/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  color: #1F1F1F;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.25;
}

h2 {
  font-size: 1.65rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

p {
  font-size: 1.0625rem;
  color: #333;
  line-height: 1.7;
}


/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 3.5rem 0;
}


/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #376447;
  border-bottom: 3px solid #F6B640;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.95rem;
}

.nav-logo-text > span {
  color: #F6B640;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.2s;
}

.nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links .btn-nav {
  background: #F6B640;
  color: #fff;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-links .btn-nav:hover {
  background: #d49a30;
}


/* ===== HERO ===== */
.hero {
  padding: 60px 0 0;
  position: relative;
  height: 640px;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: url('../Skills-Test-Defensive-Driving-School-1024x682.png') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.72);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.hero-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  color: #fff;
}

.hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.hero-microcopy {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-microcopy strong {
  color: #F6B640;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(to bottom, #F6B640 0%, #d49a30 100%);
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  border: 1px solid #c0881a;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #d49a30 0%, #d49a30 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  display: inline-block;
  color: #F6B640;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-secondary:hover {
  color: #d49a30;
}


/* ===== SERVICES ===== */

.section-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  display: inline-block;
  padding-bottom: 0.6rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #F6B640;
  margin: 0.5rem auto 0;
}

.section-header p {
  margin-top: 0.5rem;
  color: #777;
}

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

.service-card {
  background: #fff;
  border: 1px solid #d8d8d4;
  border-top: 4px solid #F6B640;
  border-radius: 3px;
  padding: 0;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 1.75rem 1.75rem;
}

.service-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.service-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: left;
}

.service-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #CC484E;
  margin-bottom: 1.25rem;
}

.service-card .btn-primary {
  display: inline-block;
  width: 100%;
  text-align: center;
}


/* ===== WHY STUDENTS LOVE US ===== */
.why-us {
  background: #fff;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-content h2 {
  margin-bottom: 2rem;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-us-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-us-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 24px;
  height: 24px;
}

.why-us-list li strong {
  font-size: 1.1rem;
  color: #1F1F1F;
}

.why-us-list li p {
  font-size: 1rem;
  color: #333;
  margin-top: 0.25rem;
}

.why-us-image {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #d8d8d4;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}


/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #F8F2E9;
}

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

.testimonial-card {
  background: #fff;
  border: 1px solid #d8d8d4;
  border-top: 4px solid #376447;
  border-radius: 3px;
  padding: 2.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: #444;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1F1F1F;
}

.testimonial-detail {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.15rem;
}


/* ===== CTA SECTION ===== */
.cta {
  background: #376447;
  color: #fff;
  text-align: center;
  padding: 3rem 0;
  border-top: 3px solid #F6B640;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 440px;
  margin: 0.5rem auto 2rem;
}

.cta .btn-primary {
  background: linear-gradient(to bottom, #fff 0%, #F8F2E9 100%);
  color: #376447;
  font-size: 1rem;
  padding: 0.9rem 2.25rem;
  border: 1px solid #ccc;
  text-shadow: none;
}

.cta .btn-primary:hover {
  background: linear-gradient(to bottom, #F8F2E9 0%, #e8e8e8 100%);
}


/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 0;
  border-top: 3px solid #F6B640;
  background: #1F1F1F;
}

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

.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    height: 65vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #376447;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }

  .nav.open .nav-links {
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    visibility: visible;
    transition: max-height 0.25s ease, visibility 0s linear 0s;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-links > a,
  .nav-links .nav-dropdown-trigger,
  .nav-links .nav-dropdown-menu a {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.4;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: none;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  /* Flatten the Courses dropdown on mobile: keep the trigger as a non-interactive header, show the submenu inline so users never scroll the drawer to find courses */
  .nav-links .nav-dropdown-trigger {
    pointer-events: none;
    cursor: default;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: none;
  }

  .nav-links .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-links .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.15);
    padding: 0;
  }

  .nav-links .nav-dropdown-menu a {
    padding-left: 2.25rem;
  }

  .nav-links .nav-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #F6B640;
  }

  .nav-links .btn-phone {
    margin: 0;
    width: 100%;
    border-radius: 0;
    padding: 1rem 1.5rem;
    justify-content: flex-start;
    border-bottom: none;
    font-weight: 700;
  }
}


/* ===== NAVIGATION — DROPDOWN & PHONE ===== */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.nav-dropdown-trigger::after {
  content: '▾';
  font-size: 0.7rem;
  display: inline-block;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: #fff;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #fff;
  border: 1px solid #ccc;
  border-top: 3px solid #F6B640;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 200;
  padding: 0.25rem 0;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: #444;
  transition: background 0.15s;
}

.nav-dropdown-menu a:hover {
  background: #F8F2E9;
  color: #1F1F1F;
}

.btn-phone {
  font-size: 1rem;
  font-weight: 700;
  color: #1F1F1F;
  white-space: nowrap;
  background: #F6B640;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
}

.btn-phone::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21a1 1 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1 17 17 0 0 0 17 17 1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>") no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21a1 1 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1 17 17 0 0 0 17 17 1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>") no-repeat center/contain;
}

.btn-phone:hover {
  background: #ffc759;
  color: #1F1F1F;
}

.hero .btn-secondary {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
}

.hero .btn-secondary::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21a1 1 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1 17 17 0 0 0 17 17 1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>") no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21a1 1 0 0 0 .25-1A11.36 11.36 0 0 1 8.5 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1 17 17 0 0 0 17 17 1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/></svg>") no-repeat center/contain;
}

.hero .btn-secondary:hover {
  background: #fff;
  color: #1F1F1F;
}


/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  padding: 110px 0 3rem;
  background: #376447;
  border-bottom: 3px solid #F6B640;
}

.page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header .page-header-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0;
}


/* ===== COURSE DETAILS BAR ===== */
.course-details-bar {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.course-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.course-detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.course-detail-value {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.course-detail-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.course-details-bar .btn-primary {
  margin-bottom: 0.2rem;
}


/* ===== SECTION VARIANTS ===== */
.section-alt {
  background-color: #F8F2E9;
  background-image: radial-gradient(circle, #d8c9a8 1px, transparent 1px);
  background-size: 22px 22px;
}

.services {
  background-color: #F8F2E9;
  background-image: radial-gradient(circle, #d8c9a8 1px, transparent 1px);
  background-size: 22px 22px;
}


/* ===== COURSE CONTENT SECTIONS ===== */
.course-section h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  position: relative;
}

.course-section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #F6B640;
  margin-top: 0.5rem;
}

.course-section .lead {
  font-size: 1.08rem;
  color: #444;
  max-width: 740px;
  line-height: 1.8;
}


/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid #e8e8e4;
}

.faq-item:first-child {
  border-top: 1px solid #e8e8e4;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-family: inherit;
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: #1F1F1F;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: #F6B640;
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}


/* ===== RELATED COURSES ===== */
.related-courses-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.related-course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #77913A;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.related-course-link:hover {
  color: #376447;
}

.related-course-link::after {
  content: '→';
}


/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: #555;
  margin-bottom: 1rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.mission-section {
  background: #376447;
  padding: 3rem 0;
  text-align: center;
  border-top: 3px solid #F6B640;
  border-bottom: 3px solid #F6B640;
}

.mission-section h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.mission-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 560px;
  margin-top: 2.5rem;
}

.team-card {
  background: #fff;
  border: 1px solid #d8d8d4;
  border-top: 4px solid #376447;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.team-card-photo {
  background: #e8e8e4;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.82rem;
}

.team-card-body {
  padding: 1.25rem;
}

.team-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1F1F1F;
  margin-bottom: 0.2rem;
}

.team-card-role {
  font-size: 0.88rem;
  color: #888;
}


/* ===== BIO CARDS ===== */
.bio-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-top: 4px solid #376447;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
  padding: 2rem;
  margin-top: 2rem;
}

.bio-card-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-card-photo {
  background: #e8e8e4;
  height: 220px;
  border-radius: 3px;
  overflow: hidden;
}

.bio-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.bio-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1F1F1F;
  line-height: 1.3;
}

.bio-card-role {
  font-size: 0.88rem;
  color: #376447;
  font-weight: 600;
  margin-top: 0.2rem;
}

.bio-card-body p {
  color: #444;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.bio-card-body p:last-child {
  margin-bottom: 0;
}


/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-info-item h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 0.35rem;
}

.contact-info-item a {
  color: #F6B640;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: #d49a30;
}

.contact-info-item p {
  font-size: 1.05rem;
  color: #444;
}

.registration-box {
  background: #F8F2E9;
  border: 1px solid #d8d8d4;
  border-left: 4px solid #F6B640;
  border-radius: 3px;
  padding: 2rem;
  margin-top: 2rem;
}

.registration-box h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.registration-box p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.registration-box p:last-child {
  margin-bottom: 0;
}


/* ===== TEEN EDUCATION SUB-COURSES ===== */
.sub-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 640px;
}

.sub-course-card {
  background: #fff;
  border: 1px solid #d8d8d4;
  border-top: 4px solid #F6B640;
  border-radius: 3px;
  padding: 1.75rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}

.sub-course-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.sub-course-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #CC484E;
  margin: 0.75rem 0 0.5rem;
}

.sub-course-note {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.6;
}


/* ===== HOMEPAGE COURSES SECTION ===== */
.courses-group {
  margin-bottom: 3.5rem;
}

.courses-group:last-child {
  margin-bottom: 0;
}

.courses-group-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.courses-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}


/* ===== HOMEPAGE CONTACT SECTION ===== */
.contact-section {
  background: #fff;
}

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

.contact-detail-item h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-detail-item a,
.contact-detail-item p {
  font-size: 0.98rem;
  color: #1F1F1F;
}

.contact-detail-item a {
  color: #F6B640;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-detail-item a:hover {
  color: #d49a30;
}


/* ===== SECTION INLINE CTA ===== */
.section-cta {
  margin-top: 2.5rem;
}

.btn-lg {
  padding: 0.9rem 2.5rem;
  font-size: 1.05rem;
}

.section-cta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 0.35rem;
}

.section-cta-phone {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1F1F1F;
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
  transition: color 0.2s;
}

.section-cta-phone:hover {
  color: #376447;
}


/* ===== COURSE PERKS ===== */
.course-perks {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.course-perk {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}

.course-perk-icon {
  width: 50px;
  height: 50px;
  background: rgba(246, 182, 64, 0.12);
  border: 2px solid #F6B640;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.course-perk-title {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1F1F1F;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.course-perk-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
}


/* ===== ADDITIONAL RESPONSIVE ===== */
@media (max-width: 900px) {
  .page-header {
    padding: 90px 0 2rem;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }

  .course-details-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

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

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .bio-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .bio-card-photo {
    height: 180px;
  }

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

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

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

@media (max-width: 600px) {
  .courses-grid-4 {
    grid-template-columns: 1fr;
  }

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


/* ===== TRUST STRIP (below hero) ===== */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid #e8e8e4;
  padding: 1.25rem 0;
}

.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1F1F1F;
}

.trust-item svg {
  flex-shrink: 0;
  color: #F6B640;
}

.trust-stars {
  color: #F6B640;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .trust-strip-inner {
    gap: 1rem;
    flex-direction: column;
  }
}


/* ===== HERO ACTIONS (stack on mobile) ===== */
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}
