/* ============================================
   ALL STAR DRIVER EDUCATION — STYLES
   Palette: emerald green + cream
   Fonts: Cormorant Garamond + Inter
   ============================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: #FDFBF7;
  color: #064E3B;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 20px rgba(6, 78, 59, 0.06);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #064E3B;
  letter-spacing: -0.01em;
}
.nav__logo-icon {
  width: 24px;
  height: 24px;
  color: #059669;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: #065F46;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #059669;
  transition: width 0.25s ease;
}
.nav__link:hover { color: #059669; }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: #059669;
  color: #FDFBF7 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  background: #047857;
  color: #FDFBF7 !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #064E3B;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.active .nav__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.active .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle.active .nav__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #064E3B;
  padding: 8px;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.mobile-menu__link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #064E3B;
  padding: 0.75rem 1rem;
  transition: color 0.2s ease;
}
.mobile-menu__link:hover { color: #059669; }
.mobile-menu__link--cta {
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  background: #059669;
  color: #FDFBF7 !important;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-weight: 500;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 72px;
  background: #022C22;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  align-items: center;
}
.hero__left {
  padding-right: 3rem;
}
.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34D399;
  margin-bottom: 1.5rem;
}
.hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: #FDFBF7;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}
.hero__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero__stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #34D399;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(253, 251, 247, 0.5);
  letter-spacing: 0.03em;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(253, 251, 247, 0.12);
}
.hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hero__img-wrap {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 7/8.6;
  overflow: hidden;
  border-radius: 4px;
}
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(253, 251, 247, 0.6);
  font-weight: 400;
}
.hero__badge svg {
  color: #34D399;
  width: 14px;
  height: 14px;
}
.hero__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 251, 247, 0.1), transparent);
  width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.8125rem 1.75rem;
  border-radius: 100px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: #059669;
  color: #FDFBF7;
}
.btn--primary:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}
.btn--ghost {
  background: transparent;
  color: #FDFBF7;
  border: 1px solid rgba(253, 251, 247, 0.3);
}
.btn--ghost:hover {
  border-color: rgba(253, 251, 247, 0.6);
  background: rgba(253, 251, 247, 0.05);
}
.btn--full { width: 100%; }

/* ============================================
   SECTIONS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 1rem;
}
.section-label--dark { color: #059669; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: #064E3B;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.section-title--light { color: #FDFBF7; }
.section-title--dark { color: #064E3B; }

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 7rem 0 8rem;
  background: #FDFBF7;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.card {
  background: #FAF7F0;
  border: 1px solid rgba(6, 78, 59, 0.07);
  border-radius: 6px;
  padding: 2.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 78, 59, 0.08);
}
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(5, 150, 105, 0.08);
  color: #059669;
  margin-bottom: 1.5rem;
}
.card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #064E3B;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.card__body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: #065F46;
  margin-bottom: 1.5rem;
}
.card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card__list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #065F46;
  font-weight: 400;
}
.card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 7rem 0 8rem;
  background: #022C22;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__text { max-width: 520px; }
.about__body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 1.25rem;
}
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(253, 251, 247, 0.85);
}
.about__feature svg {
  color: #34D399;
  flex-shrink: 0;
}
.about__img {
  width: 100%;
  aspect-ratio: 5/6;
  overflow: hidden;
  border-radius: 4px;
}
.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 7rem 0 8rem;
  background: #FDFBF7;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.step {
  position: relative;
  padding-top: 2rem;
}
.step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(5, 150, 105, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.step__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #064E3B;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step__body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: #065F46;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 7rem 0 8rem;
  background: #FAF7F0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial {
  background: #FDFBF7;
  border: 1px solid rgba(6, 78, 59, 0.07);
  border-radius: 6px;
  padding: 2.25rem;
  position: relative;
}
.testimonial__quote {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: #059669;
}
.testimonial__text {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: #065F46;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.testimonial__author {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #047857;
  letter-spacing: 0.02em;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 7rem 0 8rem;
  background: #FDFBF7;
}
.faq__list {
  max-width: 780px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
}
.faq__item {
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
}
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  transition: color 0.2s ease;
}
.faq__btn:hover { color: #059669; }
.faq__q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #064E3B;
  letter-spacing: -0.005em;
}
.faq__icon {
  flex-shrink: 0;
  color: #059669;
  transition: transform 0.3s ease;
}
.faq__item.open .faq__icon {
  transform: rotate(45deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq__item.open .faq__a {
  max-height: 200px;
  padding-bottom: 1.5rem;
}
.faq__a p {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: #065F46;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 7rem 0 8rem;
  background: #022C22;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__text { max-width: 460px; }
.contact__body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 2.5rem;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #34D399;
  transition: color 0.2s ease;
}
.contact__phone:hover { color: #6EE7B7; }
.contact__address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(253, 251, 247, 0.55);
  font-weight: 300;
}
.contact__address svg {
  color: rgba(253, 251, 247, 0.35);
  flex-shrink: 0;
}

/* Form */
.contact__form-wrap {
  background: rgba(253, 251, 247, 0.04);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 8px;
  padding: 2.5rem;
  width: 100%;
}
.form__group {
  margin-bottom: 1.25rem;
}
.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(253, 251, 247, 0.06);
  border: 1px solid rgba(253, 251, 247, 0.12);
  border-radius: 4px;
  color: #FDFBF7;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
}
.form__input::placeholder {
  color: rgba(253, 251, 247, 0.3);
}
.form__input:focus {
  border-color: #059669;
  background: rgba(5, 150, 105, 0.06);
}
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(253,251,247,0.5)' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__select option {
  background: #064E3B;
  color: #FDFBF7;
}
.form__textarea {
  resize: vertical;
  min-height: 100px;
}
.form__success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 4px;
  color: #34D399;
  font-size: 0.875rem;
  font-weight: 400;
}
.form__success svg {
  flex-shrink: 0;
  color: #34D399;
}

/* ============================================
   MAP
   ============================================ */
.map-section {
  background: #047857;
}
.map-section__inner {
  padding: 3rem 2rem 0;
  text-align: center;
}
.map-section__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.5);
  margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #022C22;
  border-top: 1px solid rgba(253, 251, 247, 0.06);
  padding: 4rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #FDFBF7;
  margin-bottom: 1rem;
}
.footer__logo-icon {
  width: 20px;
  height: 20px;
  color: #34D399;
}
.footer__tagline {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.5);
  max-width: 280px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(253, 251, 247, 0.6);
  transition: color 0.2s ease;
}
.footer__link:hover { color: #34D399; }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #34D399;
  transition: color 0.2s ease;
}
.footer__phone:hover { color: #6EE7B7; }
.footer__address {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(253, 251, 247, 0.45);
  line-height: 1.6;
}
.footer__bottom {
  border-top: 1px solid rgba(253, 251, 247, 0.06);
  padding: 1.5rem 0;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(253, 251, 247, 0.3);
  font-weight: 300;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 2rem 2rem;
  }
  .hero__left { padding-right: 0; }
  .hero__right { display: none; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__img { max-width: 480px; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero__inner { padding: 2.5rem 1.5rem 2rem; }
  .hero__stats { flex-wrap: wrap; }
  .hero__stat-divider { display: none; }
  .services { padding: 4rem 0 5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .about { padding: 4rem 0 5rem; }
  .about__features { grid-template-columns: 1fr; }
  .process { padding: 4rem 0 5rem; }
  .process__steps { grid-template-columns: 1fr; gap: 1rem; }
  .testimonials { padding: 4rem 0 5rem; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .faq { padding: 4rem 0 5rem; }
  .contact { padding: 4rem 0 5rem; }
  .contact__form-wrap { padding: 1.75rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .container { padding: 0 1.5rem; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 1.875rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
