/* =====================================================================
   Right Route Driving School — Faith Driving School design style
   with Right Route's purple color palette
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,500&display=swap');

:root {
  --purple-900: #2b1055;
  --purple-800: #3b1a6e;
  --purple-700: #4a1d96;
  --purple-600: #5b21b6;
  --purple-500: #7c3aed;
  --purple-200: #ddd6fe;
  --purple-100: #ede9fe;
  --purple-300: #c4b5fd;
  --purple-50: #f5f3ff;
  --ink: #1a1325;
  --slate: #52525b;
  --muted: #71717a;
  --line: #e9e6f0;
  --bg: #ffffff;
  --bg-soft: #faf9fc;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(43,16,85,.10);
  --shadow-lg: 0 8px 30px rgba(43,16,85,.15);
  --radius: 12px;
  --maxw: 1200px;
  --font: 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Roboto', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; font-weight: 700; color: var(--purple-900); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { color: var(--slate); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.clearfix { clear: both; }
.text-center { text-align: center; }
.mtb-0 { margin-top: 0; margin-bottom: 0; }
.ptb-2 { padding-top: 2rem; padding-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-0 { margin-bottom: 0; }

/* ---- Top Header Bar (Faith style) ---- */
#top-header {
  background: var(--purple-900);
  padding: 8px 0;
  color: #fff;
  font-size: 14px;
}
#top-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#top-header .contact_top a {
  color: #fff;
  padding: 4px 10px;
  display: inline-block;
  font-weight: 600;
}
#top-header .contact_top a:hover { color: var(--purple-200); }
#top-header .contact_top .fa { margin-right: 6px; }
#top-header .header-button a {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  background: #6d28d9;
  color: #fff;
  box-shadow: 0 3px 10px rgba(109,40,217,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  letter-spacing: .02em;
}
#top-header .header-button a:hover {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(109,40,217,.45);
  color: #fff;
}
#top-translate { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 10px; }
.goog-te-banner-frame, .goog-te-banner-pos, .goog-te-banner-frameskiptranslate { display: none !important; }
body { top: 0 !important; }
#google_translate_element .goog-te-gadget { display: flex !important; align-items: center !important; gap: 6px !important; }
#google_translate_element .goog-te-gadget > div { display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
@media (max-width: 480px) {
  #top-header .container { justify-content: center; gap: 8px; }
}

/* ---- Header / Nav (Faith style) ---- */
#header-wrap {
  background: #fff;
  border-bottom: 2px solid var(--purple-100);
  position: sticky;
  top: 40px;
  z-index: 100;
}
#header-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  min-height: 80px;
}
#logo { flex-shrink: 0; }
#logo img { height: 66px; width: auto; display: block; }

/* Mobile menu button (Faith style) */
#togglemeu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  color: var(--purple-900);
}
#togglemeu .lines {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--purple-900);
  border-radius: 2px;
  position: relative;
}
#togglemeu .lines::before,
#togglemeu .lines::after {
  content: '';
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--purple-900);
  border-radius: 2px;
  position: absolute;
  left: 0;
}
#togglemeu .lines::before { top: -7px; }
#togglemeu .lines::after { top: 7px; }
#togglemeu .menutext { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

/* Primary menu (Faith style tabs) */
#primary-menu ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
#primary-menu ul li { position: relative; }
#primary-menu ul li > a.nodropdown {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--purple-900);
  border-radius: 6px;
  transition: background .2s;
}
#primary-menu ul li.current > a { background: var(--purple-600); color: #fff; }
@media (hover: hover) {
  #primary-menu ul li > a:hover { background: var(--purple-50); }
  #primary-menu ul li > a.nodropdown:hover { background: var(--purple-100); color: var(--purple-700); }
  #primary-menu ul li.current > a:hover { background: var(--purple-500); }
}



/* ---- Hero / Slider (Faith style full-width banner) ---- */
#slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.swiper {
  width: 100%;
  height: 500px;
}
.swiper-slide {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.swiper-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  transform: scale(1.12);
  transition: transform 6s ease-out;
  z-index: 0;
}
.swiper-slide-active .slide-bg {
  transform: scale(1);
}
@media (max-width: 768px) {
  .swiper-slide .slide-bg { background-position: center center; }
}

.swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,16,85,.75) 0%, rgba(74,29,150,.5) 100%);
  z-index: 1;
}
.slider-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
}
.slider-caption .container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.slider-caption .container > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.swiper-slide-active .slider-caption .container > * {
  opacity: 1;
  transform: translateY(0);
}
.swiper-slide-active .slider-caption .container > *:nth-child(2) { transition-delay: .1s; }
.swiper-slide-active .slider-caption .container > *:nth-child(3) { transition-delay: .2s; }
.swiper-slide-active .slider-caption .container > *:nth-child(4) { transition-delay: .3s; }
.swiper-slide-active .slider-caption .container > *:nth-child(5) { transition-delay: .4s; }

.slider-caption h1 { color: #fff; font-size: 2.8rem; margin-bottom: 10px; }
.slider-caption h1 span { color: #fff; }
.slider-caption h2 { color: #fff; font-size: 1.6rem; font-weight: 400; line-height: 1.5; }
.slider-caption p { color: rgba(255,255,255,.9); font-size: 1.1rem; }
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.btn-group .btn { margin: 0; }

.slider-caption .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.slider-caption .btn-group .btn { margin: 0; }

/* Swiper nav/pagination overrides */
.swiper-button-next,
.swiper-button-prev { opacity: .7; }
.swiper-button-next:hover,
.swiper-button-prev:hover { opacity: 1; }
.swiper-pagination-bullet { background: #fff; opacity: .5; }
.swiper-pagination-bullet-active { opacity: 1; background: #fff; }

@media (max-width: 768px) {
  .swiper { height: 380px; }
  .slider-caption h1 { font-size: 1.8rem; }
  .slider-caption h2 { font-size: 1.2rem; }
  .swiper-button-next, .swiper-button-prev { display: none; }
}

/* ---- Hero slider button dropdown ---- */
.btn-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.btn-caret {
  display: inline-block;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
}
.btn-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1000;
  min-width: 210px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.btn-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  margin-left: -6px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,.08));
}
.btn-dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background .15s;
}
.btn-dropdown-menu li a:hover { background: var(--purple-50); color: var(--purple-700); }
.btn-dropdown-wrap.open .btn-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .btn-dropdown-menu { display: none; }
  .btn-dropdown-wrap.open .btn-dropdown-menu { display: block; visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
}

/* ---- Buttons (Faith style) ---- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  font-family: var(--font);
  text-decoration: none;
}
.btn-yellow {
  background: var(--purple-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91,33,182,.3);
}
.btn-yellow:hover { background: var(--purple-500); transform: translateY(-1px); }
.btn-black {
  background: var(--purple-900);
  color: #fff;
}
.btn-black:hover { background: var(--purple-700); transform: translateY(-1px); }
.btn-red {
  background: var(--purple-700);
  color: #fff;
}
.btn-red:hover { background: var(--purple-600); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.8);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-ghost-dark {
  background: transparent;
  color: var(--purple-700);
  border: 2px solid var(--purple-200);
}
.btn-ghost-dark:hover { background: var(--purple-50); border-color: var(--purple-500); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--purple { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
.btn--purple:hover { background: var(--purple-500); border-color: var(--purple-500); color: #fff; }
.btn--primary { background: #6d28d9; color: #fff; border-color: #6d28d9; }
.btn--primary:hover { filter: brightness(1.07); color: #fff; }
.text-uppercase { text-transform: uppercase; }

/* ---- Services Section (Faith style boxes) ---- */
#content { padding: 0; }
.section { padding: 3rem 0; }
.bg-white { background: #fff; }
.bg-purple { background: var(--purple-600); }
.bg-purple-dark { background: var(--purple-900); }
.text-white { color: #fff; }
.text-black { color: var(--ink); }
.text-purple-light { color: var(--purple-200); }
.posrel { position: relative; }

.dflexcontent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.servicebox {
  width: calc(33.333% - 18px);
  min-width: 280px;
  flex: 1 1 30%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.servicebox:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servicebox .entry-image { width: 100%; height: 200px; overflow: hidden; }
.servicebox .entry-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.servicebox:hover .entry-image img { transform: scale(1.05); }
.servicebox .entry-content { padding: 20px; text-align: center; }
.servicebox .serviceTitle h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--purple-900); }

@media (max-width: 992px) {
  .servicebox { flex: 1 1 45%; min-width: 240px; }
}
@media (max-width: 600px) {
  .servicebox { flex: 1 1 100%; }
  .servicebox .entry-image { height: 180px; }
}

/* ---- Typed Section / CTA Banner (Faith style) ---- */
.typedSection {
  padding: 2.5rem 0;
}
.typedSection h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.font-30 { font-size: 1.5rem; }

/* ---- Content section with image + checkmarks (Faith style) ---- */
.align-center { align-items: center; }
.shadow { box-shadow: var(--shadow); }

/* ---- Testimonials ---- */
#testimonials { padding: 1.5rem 0; }

/* ---- Testimonial Carousel (horizontal scrolling) ---- */
.testimonial-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 4px 20px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-300) var(--purple-50);
  scroll-behavior: smooth;
}
.testimonial-carousel::-webkit-scrollbar { height: 6px; }
.testimonial-carousel::-webkit-scrollbar-track { background: var(--purple-50); border-radius: 3px; }
.testimonial-carousel::-webkit-scrollbar-thumb { background: var(--purple-300); border-radius: 3px; }
.testimonial-carousel .tcard {
  flex: 0 0 340px;
  scroll-snap-align: start;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 600px) {
  .testimonial-carousel .tcard { flex: 0 0 280px; }
}
.carousel-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--purple-300);
  background: transparent;
  color: var(--purple-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.carousel-arrow:hover {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
}
.carousel-arrow svg { width: 20px; height: 20px; }
#testimonials-list.grid-3 { display: flex; flex-wrap: wrap; gap: 20px; }
#testimonials-list.grid-3 .tcard { flex: 1 1 30%; min-width: 260px; }

/* ---- Paragraph content ---- */
#content p { margin-bottom: 10px; line-height: 1.7; }
#content p i.fa-check-square { color: var(--purple-600); margin-right: 8px; }

/* ---- Row / Column system (for footer and layouts) ---- */
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
[class*="col-"] { padding: 0 12px; box-sizing: border-box; }
.col-md-8 { width: 66.666%; }
.col-md-6 { width: 50%; }
.col-md-5 { width: 41.666%; }
.col-md-4 { width: 33.333%; }
.col-md-3 { width: 25%; }
.col-sm-6 { width: 50%; }
.col-sm-12, .col-xs-12 { width: 100%; }
@media (max-width: 768px) {
  [class*="col-md-"] { width: 100%; }
}

/* ---- Footer (3-column) ---- */
.footer.dark {
  background: var(--purple-900);
  color: rgba(255,255,255,.8);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.footer.dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/logo.png') no-repeat bottom right;
  background-size: 400px auto;
  opacity: .1;
  pointer-events: none;
  z-index: 0;
}
.fotercontent { padding: 2.5rem 0; position: relative; z-index: 1; }
.fotercontent h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.fotercontent p { color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 10px; }
.fotercontent a { color: rgba(255,255,255,.8); }
.fotercontent a:hover { color: var(--purple-200); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.footer-col { position: relative; }
.footer-col + .footer-col::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.12) 20%, rgba(255,255,255,.12) 80%, transparent);
}
@media (max-width: 768px) {
  .footer-col + .footer-col::before { display: none; }
}
.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer-col p { margin-bottom: 8px; font-size: .95rem; line-height: 1.6; }
.footer-col .fnav { list-style: none; padding: 0; }
.footer-col .fnav li { margin-bottom: 6px; }
.footer-col .fnav li a { color: rgba(255,255,255,.75); font-size: 15px; display: inline-block; padding: 3px 0; transition: color .2s, padding-left .2s; }
.footer-col .fnav li a:hover { color: #fff; padding-left: 4px; }
.flogo { max-width: 200px; margin: 0 0 12px; }
.footer-contact i { width: 18px; margin-right: 6px; color: var(--purple-300); }
.footer-contact a { color: rgba(255,255,255,.8); display: inline-block; padding: 3px 0; transition: color .2s, padding-left .2s; }
.footer-contact a:hover { color: var(--purple-200); padding-left: 4px; }

#copyrights {
  background: rgba(0,0,0,.25);
  padding: 15px 0;
  font-size: 14px;
  text-align: center;
  color: rgba(255,255,255,.6);
}
#copyrights p { color: rgba(255,255,255,.6); margin-bottom: 4px; }
#copyrights a { color: var(--purple-200); }
#copyrights a:hover { color: #fff; }

.media-embed { border-radius: 12px; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; }
.media-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---- Grid helpers for interior pages ---- */

/* ---- Page hero (interior pages - Faith style banner) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% 0, rgba(124,58,237,.4), transparent 60%);
}
.page-hero h1 { color: #fff; position: relative; z-index: 1; font-size: 2.2rem; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 620px; margin: 12px auto 0; position: relative; z-index: 1; font-size: 1.1rem; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 10px; position: relative; z-index: 1; }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: #fff; }

/* ---- FAQ accordion (Faith style) ---- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1rem; color: var(--purple-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font); }
.acc-q .chev { flex: none; transition: transform .22s; color: var(--purple-600); }
.acc-item.open .chev { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.acc-a p { padding: 0 22px 18px; color: var(--slate); }

/* ---- Content cards ---- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card .ic { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--purple-50); color: var(--purple-600); border: 1px solid var(--line); }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { font-size: .95rem; }

/* ---- Downloads cards ---- */
.downloads-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.form-card { max-width: 680px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-card-body { flex: 1; min-width: 200px; }
.form-card-body h3 { margin: 0 0 4px; }
.form-card-body p { margin: 0; color: var(--muted); }

/* ---- Grid layouts ---- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ---- Modal ---- */
.modal { display: none; position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.5); align-items: center; justify-content: center; }
.modal.in { display: flex; }
.modal-dialog { max-width: 500px; width: 90%; }
.modal-content { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); }
.modal-header { margin-bottom: 15px; }
.modal-header h3 { font-size: 1.2rem; }
.modal-body p { margin-bottom: 10px; }
.vert-offset-top-1 { margin-top: 15px; }
[data-dismiss="modal"] { cursor: pointer; }

/* ---- Section head ---- */
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-600); background: var(--purple-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--slate); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Feature row ---- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--purple-50); color: var(--purple-600); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { font-size: .95rem; }

/* ---- Checkmark lists ---- */
ul.checks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
ul.checks li { position: relative; padding-left: 28px; color: var(--slate); line-height: 1.5; }
ul.checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--purple-50); border: 1px solid var(--purple-200); }
ul.checks li::after { content: ""; position: absolute; left: 7px; top: 10px; width: 7px; height: 4px; border-left: 2px solid var(--purple-700); border-bottom: 2px solid var(--purple-700); transform: rotate(-45deg); }

/* ---- Pricing accordion groups ---- */
.pricing-groups { display: grid; gap: 24px; max-width: 860px; margin: 0 auto; }
.pg { border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 16px rgba(91,33,182,.12); }
.pg-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; background: linear-gradient(135deg, var(--purple-900), var(--purple-700)); color: #fff; gap: 16px; border: none; width: 100%; text-align: left; font-family: var(--font); font-size: 1rem; transition: filter .18s; }
.pg-head:hover { filter: brightness(1.1); }
.pg-head-left { display: flex; align-items: center; gap: 14px; }
.pg-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex: none; }
.pg-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
.pg-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.pg-sub { font-size: .85rem; opacity: .8; margin-top: 2px; }
.pg-chev { flex: none; transition: transform .28s; opacity: .9; }
.pg.open .pg-chev { transform: rotate(180deg); }
.pg-body { display: grid; gap: 0; overflow: hidden; max-height: 0; transition: max-height .36s; }
.pg.open .pg-body { max-height: 2000px; }
.pg-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); background: linear-gradient(135deg, #fdfbff, #f5f0ff); transition: background .15s; }
.pg-card:hover { background: linear-gradient(135deg, #f5f0ff, #ede8ff); }
.pg-card.featured { background: linear-gradient(135deg, #f0ebff, #e4d9ff); border-left: 4px solid var(--purple-500); }
.pg-card-left { flex: 1 1 220px; min-width: 0; }
.pg-card-name { font-weight: 700; font-size: 1rem; color: var(--ink); }
.pg-card-desc { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.pg-card-desc li { position: relative; padding-left: 22px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.pg-card-desc li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 2px solid var(--purple-500); border-bottom: 2px solid var(--purple-500); transform: rotate(-45deg) translateY(-1px); }
.pg-card-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; background: var(--purple-600); color: #fff; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.pg-card-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.pg-card-price { font-size: 1.5rem; font-weight: 800; color: var(--purple-700); white-space: nowrap; }
.pg-card .btn { white-space: nowrap; padding: 10px 22px; font-size: .9rem; }
.pg-card-toggle {
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  font: inherit; font-size: .85rem; color: var(--purple-600);
  padding: 4px 0; margin-top: 6px;
}
.pg-card-toggle svg { transition: transform .2s ease; }
.pg-card-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.pg-card-details {
  width: 100%; overflow: hidden;
  max-height: 0; transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
}
.pg-card-details.open {
  max-height: 400px;
  padding: 0 24px 18px;
}
.pg-card-details .pg-card-desc { margin: 0; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--purple-700), var(--purple-900)); color: #fff; border-radius: 16px; padding: 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 540px; margin: 12px auto 22px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Forms ---- */
.form-row { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 3px var(--purple-50); }
.field textarea { min-height: 120px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 6px; font-weight: 600; line-height: 1.4; }

/* ---- Contact grid ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--purple-50); color: var(--purple-600); display: flex; align-items: center; justify-content: center; }
.info-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.info-list span { color: var(--ink); font-weight: 600; }
.map-wrap { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* ---- Media photo ---- */
.media-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 3/2; }

/* ---- Testimonial cards ---- */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tcard .stars { color: #f59e0b; margin-bottom: 10px; letter-spacing: 2px; }
.tcard p { font-size: 1rem; color: var(--ink); font-style: italic; }
.tcard .who { margin-top: 14px; font-weight: 700; color: var(--purple-700); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tcard-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--purple-100); flex: none; }
.tcard-time { font-weight: 400; font-size: .82rem; color: var(--muted); }

/* ---- Instructor cards ---- */
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; }
.icard .photo { aspect-ratio: 1; background: linear-gradient(135deg, var(--purple-100), var(--purple-50)); display: flex; align-items: center; justify-content: center; color: var(--purple-500); }
.icard .photo img { width: 100%; height: 100%; object-fit: cover; }
.icard .body { padding: 20px; }
.icard h3 { font-size: 1.1rem; }
.icard p { font-size: .93rem; margin-top: 6px; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---- Accessibility ---- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--purple-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; }

/* ---- Trust bar ---- */
.trust-bar { background: var(--purple-900); color: #fff; padding: 28px 0; }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-stats .tstat strong { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.trust-stats .tstat span { display: block; margin-top: 5px; font-size: .9rem; color: rgba(255,255,255,.72); font-weight: 600; }
.assurance { text-align: center; margin-top: 18px; font-weight: 600; font-size: .95rem; color: var(--purple-200); border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }

/* ---- Steps ---- */
.steps .step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; text-align: center; box-shadow: var(--shadow); }
.step-num { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-600), var(--purple-900)); color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: 0 8px 20px rgba(91,33,182,.28); }
.steps .step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps .step p { color: var(--muted); font-size: .96rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  #togglemeu { display: flex; order: 1; }
  #logo { order: 3; }
  .menubar { order: 2; flex: 1; }
  #primary-menu {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    padding: 8px 20px 12px;
    transform: translateY(-130%);
    transition: transform .26s ease;
    max-height: calc(100vh - 120px);
    overflow: auto;
    z-index: 1002;
  }
}
.caret { display: inline-block; margin-left: 4px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; vertical-align: middle; }

/* -------- Dropdown menus -------- */
#primary-menu ul li.dropdown-wrap { position: relative; }
.menu-close { display: none; }

#primary-menu ul li > a.hasdropdown {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--purple-900);
  border-radius: 6px;
  transition: background .2s;
}

@media (hover: hover) {
  #primary-menu ul li > a.hasdropdown:hover { background: var(--purple-100); color: var(--purple-700); }
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  transform: translateY(-6px);
  z-index: 1000;
  min-width: 220px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  margin-left: -6px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  filter: drop-shadow(0 -1px 1px rgba(0,0,0,.08));
}
.dropdown-menu-right { right: 0; left: auto; }
.dropdown-menu-right::before { left: auto; right: 24px; }
.dropdown-menu > li { display: block; width: 100%; }
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background .15s;
}
@media (hover: hover) {
  .dropdown-menu li a:hover { background: var(--purple-50); color: var(--purple-700); }
}

/* Desktop: show on hover or .open (click) */
@media (min-width: 1025px) {
  .dropdown-menu { display: flex; flex-direction: column; }
  .dropdown-menu > li { flex: none; }
  #primary-menu ul li.dropdown-wrap:hover .dropdown-menu,
  #primary-menu ul li.dropdown-wrap.open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  #primary-menu ul li.dropdown-wrap:hover > a.hasdropdown,
  #primary-menu ul li.dropdown-wrap.open > a.hasdropdown { background: var(--purple-100); color: var(--purple-700); }
  #primary-menu ul li.dropdown-wrap.open > a.hasdropdown .caret { transform: rotate(180deg); }
}

/* Mobile: toggleable submenus */
@media (max-width: 1024px) {
  #primary-menu.open { transform: none; }
  #primary-menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  #primary-menu ul li > a.nodropdown,
  #primary-menu ul li > a.hasdropdown { padding: 10px 0; font-size: 16px; border-radius: 0; }
  .dropdown-menu,
  .dropdown-menu-right {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .dropdown-menu { display: none; }
  .dropdown-menu > li { display: block; width: 100%; }
  .dropdown-wrap.open .dropdown-menu { display: block; }
  .dropdown-wrap.open > a.hasdropdown .caret { transform: rotate(180deg); }
  .dropdown-menu::before { display: none; }
  .dropdown-menu li a { padding: 8px 0 8px 14px; font-size: 14px; }
  .menu-close { display: block; position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: var(--purple-100); color: var(--purple-700); font-size: 1.5rem; line-height: 1; border-radius: 8px; cursor: pointer; z-index: 10; }

  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 2rem 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  .cta-band { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { text-align: center; justify-content: center; }
  .pg-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .pg-card-left { flex: 1 1 auto; }
  .pg-card-right { justify-content: space-between; }
}
@media (max-width: 480px) {
  #logo img { height: 50px; }
}

/* ---- Promo Popup ---- */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,16,85,.45);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.promo-overlay.open {
  opacity: 1;
  visibility: visible;
}
.promo-popup {
  width: 60%;
  max-width: 700px;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(43,16,85,.3);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(.92);
  transition: transform .3s ease;
}
.promo-overlay.open .promo-popup {
  transform: scale(1);
}
.promo-popup-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}
.promo-popup-body {
  padding: 28px 30px;
  overflow-y: auto;
  flex: 1;
}
.promo-popup-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.promo-popup-body p {
  font-size: .98rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.promo-popup-body .btn {
  display: inline-block;
}
.promo-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
  line-height: 1;
}
.promo-close:hover {
  background: rgba(0,0,0,.75);
}
.promo-dismiss-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px 18px;
}
.promo-dismiss-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: .85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.promo-dismiss-btn:hover {
  color: var(--purple-700);
  background: var(--purple-50);
}
.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--purple-900);
  transition: background .2s;
  z-index: 3;
}
.promo-nav:hover {
  background: #fff;
}
.promo-nav-prev {
  left: -18px;
}
.promo-nav-next {
  right: -18px;
}
.promo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}
.promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--purple-300);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s, border-color .2s;
}
.promo-dot.active {
  background: var(--purple-600);
  border-color: var(--purple-600);
}
.promo-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  width: auto;
  min-width: 90px;
  height: 52px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 16px rgba(43,16,85,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  transition: transform .2s, box-shadow .2s, opacity .3s;
  background: var(--promo-bg, #facc15);
  color: var(--promo-text, #2b1055);
}
.promo-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(43,16,85,.3);
}
.promo-fab.hidden {
  display: none;
}
.promo-fab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .promo-popup {
    width: 92%;
    max-height: 80vh;
  }
  .promo-popup-img {
    max-height: 180px;
  }
  .promo-popup-body {
    padding: 20px;
  }
  .promo-nav-prev { left: -10px; }
  .promo-nav-next { right: -10px; }
  .promo-fab {
    bottom: 16px;
    right: 16px;
    height: 46px;
    min-width: 80px;
    font-size: .88rem;
    padding: 0 18px;
  }
}

/* ---- Announcement Ticker ---- */
.site-ticker {
  background: #facc15;
  overflow: hidden;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-text {
  flex-shrink: 0;
  padding: 10px 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--ticker-weight, 700);
  color: var(--ticker-color, var(--purple-900));
  letter-spacing: .3px;
  white-space: nowrap;
  padding-right: 80px;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.site-ticker:hover .ticker-inner {
  animation-play-state: paused;
}
@media (max-width: 768px) {
  .ticker-text { font-size: 0.8rem; }
}
@media print {
  .site-ticker { display: none !important; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .servicebox:hover .entry-image img { transform: none; }
}

/* ---- Print ---- */
@media print {
  .site-header, footer, .nav-toggle, .cta-band, .btn, #top-header, #slider { display: none !important; }
  body { font-size: 12pt; color: #000; }
}
