/*
 * ALO Driving School — Layout breathing-room refinements
 * Scope: Homepage content only. Header, topbar and approved footer stay intact.
 * This stylesheet is deliberately loaded AFTER style.css.
 */
:root { --section: 82px; }
main { font-size: 16px; line-height: 1.62; }
main p { line-height: 1.62; }
main .section-heading { margin-bottom: 38px; }
main .section-heading h2 { font-size: clamp(1.9rem, 2.75vw, 2.55rem); line-height: 1.23; margin-bottom: 12px; }
main .section-heading > p { font-size: 15.5px; line-height: 1.6; }
main .section-heading .kicker { font-size: 12px; margin-bottom: 12px; }
main .left-heading { font-size: clamp(1.8rem, 2.4vw, 2.25rem); margin-bottom: 22px; }
main .tick-list li { font-size: 14px; line-height: 1.55; margin-bottom: 12px; gap: 10px; }
main .tick-list.tiny li { font-size: 13px; line-height: 1.5; margin-bottom: 8px; }
main .btn:not(.btn-sm) { padding: 14px 20px; font-size: 15px; }
main .btn.btn-sm { padding: 11px 15px; font-size: 13.5px; }

/* Hero: preserve the same photo, split alignment and CTA positions. */
main .hero { height: 465px; min-height: 465px; }
main .hero-content { padding: 44px 0 56px; }
main .hero h1 { line-height: 1.05; margin-bottom: 22px; }
main .hero-address { font-size: 18px; line-height: 1.56; margin-bottom: 25px; }
main .hero-actions { gap: 15px; }

/* Services: larger tap targets, more room for labels, identical 3-column layout. */
main .quick-section { padding-top: 72px; }
main .quick-section .row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
main .quick-link { min-height: 102px; padding: 18px 19px; gap: 18px; }
main .quick-icon { width: 47px; flex: 0 0 47px; }
main .quick-link .quick-icon svg { width: 37px; height: 37px; }
main .quick-label strong { font-size: 17px; line-height: 1.3; }
main .quick-label small { font-size: 13px; line-height: 1.45; margin-top: 5px; }

/* Google Reviews stays the third section, same cards and grid. */
main .reviews-section { padding-top: 76px; padding-bottom: 80px; }
main #review-grid { --bs-gutter-x: 20px; --bs-gutter-y: 22px; }
main .review-card { min-height: 232px; padding: 22px 19px 20px; border-radius: 14px; }
main .review-text { font-size: 14px; line-height: 1.52; margin-bottom: 10px; }
main .review-author { font-size: 13px; line-height: 1.4; margin-top: auto; padding-top: 12px; }
main .review-stars { margin-bottom: 12px; }
main .center-action { margin-top: 28px; }

/* Welcome — copy no longer packs tightly next to the school photograph. */
main .welcome-section p { font-size: 15.5px; line-height: 1.65; margin-bottom: 16px; }
main .welcome-list { column-gap: 30px; }
main .welcome-list li { margin-bottom: 15px; font-size: 14px; }

/* Course cards: sufficient space for original course titles, prices and bullet lists. */
main .course-section .row { --bs-gutter-y: 26px; }
main .course-media { height: 170px; }
main .course-body { padding: 23px 21px 25px; }
main .course-body h3 { font-size: 18px; min-height: 51px; line-height: 1.35; margin-bottom: 12px; }
main .course-brief { font-size: 13.5px; min-height: 42px; line-height: 1.5; margin-bottom: 12px; }
main .course-price { gap: 13px; margin-bottom: 15px; }
main .course-price strong { font-size: 29px; }
main .course-body .btn-full { margin-bottom: 17px; min-height: 45px; }
main .course-body .tick-list { margin-top: 7px; }

/* Driving lessons: retain original two horizontal photo cards. */
main .behind-section .row { --bs-gutter-x: 26px; --bs-gutter-y: 26px; }
main .behind-card { gap: 21px; min-height: 224px; padding: 19px; }
main .behind-card > img { width: 37%; min-width: 140px; border-radius: 10px; }
main .behind-info p { font-size: 14px; line-height: 1.52; margin: 12px 0 16px; }
main .behind-title h3 { font-size: 20px; }

/* Why Choose Us and benefits: legible body copy and uncramped feature icons. */
main .reasons-section p { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
main .benefit-card { min-height: 148px; padding: 20px 12px; gap: 13px; }
main .benefit-card span { font-size: 12.5px; line-height: 1.42; }
main .benefit-card svg { font-size: 34px; }
main .contact-inline { padding: 21px 23px; margin-top: 27px; gap: 10px; }
main .contact-inline a { font-size: 14px; line-height: 1.5; }

/* Audience, company information and service area. */
main .audience-section .row { --bs-gutter-x: 25px; --bs-gutter-y: 25px; }
main .audience-card { padding: 28px; }
main .audience-top { margin-bottom: 15px; }
main .audience-top h3 { font-size: 19px; }
main .audience-card p { font-size: 14.5px; line-height: 1.65; margin-bottom: 19px; }
main .about-copy p { font-size: 15px; line-height: 1.7; margin-bottom: 17px; }
main .more-about { font-size: 15px; line-height: 1.65; }
main .service-copy p { font-size: 14.5px; line-height: 1.65; }

/* FAQ and news: longer rows, roomier article cards. */
main .extras-section .row { --bs-gutter-y: 32px; }
main .faq-questions li { margin-bottom: 12px; border-radius: 9px; }
main .faq-questions a { font-size: 14px; line-height: 1.45; padding: 17px 16px; }
main .blog-text { padding: 20px 19px 22px; }
main .blog-text time { font-size: 12px; margin-bottom: 10px; }
main .blog-text h3 { font-size: 16px; line-height: 1.38; margin-bottom: 12px; }
main .blog-text p { font-size: 13.5px; line-height: 1.55; margin-bottom: 15px; }
main .impact-section { padding: 42px 0; }
main .impact-layout { gap: 22px; }
main .impact-tile { padding: 20px; min-height: 126px; }

@media (max-width: 1199px) {
  :root { --section: 72px; }
  main .course-body { padding: 21px 18px 23px; }
  main .course-body h3 { font-size: 17px; }
  main .course-media { height: 161px; }
  main .review-card { padding: 20px; }
  main .benefit-card { min-height: 143px; }
}
@media (max-width: 991px) {
  :root { --section: 64px; }
  main .hero { height: 435px; min-height: 435px; }
  main .quick-section { padding-top: 58px; }
  main .quick-section .row { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
  main .quick-link { min-height: 96px; }
  main .reviews-section { padding-top: 62px; padding-bottom: 64px; }
  main .course-media { height: 177px; }
  main .benefit-card { min-height: 136px; }
}
@media (max-width: 767px) {
  :root { --section: 52px; }
  main { font-size: 15px; }
  main .section-heading { margin-bottom: 27px; }
  main .section-heading h2 { font-size: clamp(1.65rem, 6vw, 2.1rem); }
  main .section-heading > p { font-size: 14.5px; }
  main .hero { height: auto; min-height: 610px; }
  main .hero-photo { height: 290px; }
  main .hero-content { margin-top: 265px; padding: 20px 0 48px; }
  main .hero h1 { margin-bottom: 15px; }
  main .hero-address { font-size: 15px; margin-bottom: 17px; }
  main .hero-actions { gap: 11px; }
  main .quick-section { padding-top: 52px; }
  main .quick-link { min-height: 88px; padding: 16px; gap: 14px; }
  main .quick-label strong { font-size: 16px; }
  main .quick-label small { font-size: 12.5px; }
  main .reviews-section { padding-top: 55px; padding-bottom: 57px; }
  main .review-card { min-height: 205px; padding: 19px; }
  main .course-media { height: 173px; }
  main .course-body { padding: 21px; }
  main .course-body h3 { min-height: auto; }
  main .course-brief { min-height: auto; }
  main .behind-card { min-height: 0; padding: 17px; }
  main .behind-card > img { min-width: 120px; }
  main .benefit-card { min-height: 137px; padding: 17px 10px; }
  main .audience-card { padding: 25px; }
  main .faq-questions a { font-size: 13.5px; }
  main .impact-section { padding: 35px 0; }
}
@media (max-width: 575px) {
  :root { --section: 45px; }
  main .hero { min-height: 635px; }
  main .hero-photo { height: 270px; }
  main .hero-content { margin-top: 247px; padding-bottom: 54px; }
  main .hero-actions .btn { max-width: none; }
  main .quick-icon { flex: 0 0 42px; width: 42px; }
  main .quick-link .quick-icon svg { width: 32px; height: 32px; }
  main .review-card { min-height: 195px; }
  main .course-media { height: 180px; }
  main .behind-card { gap: 13px; padding: 13px; }
  main .behind-card > img { width: 36%; min-width: 100px; }
  main .behind-info p { font-size: 12.5px; margin: 9px 0 11px; }
  main .behind-title h3 { font-size: 17px; }
  main .behind-info .btn { font-size: 11.5px; padding: 9px 10px; }
  main .benefit-card { min-height: 132px; }
  main .benefit-card span { font-size: 12px; }
  main .blog-text { padding: 18px; }
}

/* FAQ expands to an uncluttered, readable single-column layout after News & Insights removal. */
main #faq .faq-centered-wrap { max-width: 980px; margin: 0 auto; }
main #faq .section-heading { max-width: 930px; margin: 0 0 30px; }
main #faq .section-heading h2 { margin-bottom: 15px; }
main #faq .faq-questions { margin: 0; padding: 0; }
main #faq .faq-questions li { margin-bottom: 13px; border-radius: 12px; }
main #faq .faq-questions a { min-height: 67px; padding: 20px 23px; font-size: 16px; line-height: 1.55; gap: 20px; }
main #faq .faq-questions svg { width: 18px; height: 18px; flex: 0 0 18px; }
main #faq .faq-actions { margin-top: 28px; gap: 14px; }
@media (max-width: 767px) {
  main #faq .faq-centered-wrap { max-width: 100%; }
  main #faq .section-heading { margin-bottom: 25px; }
  main #faq .faq-questions a { min-height: 62px; padding: 16px 17px; font-size: 14px; gap: 12px; }
  main #faq .faq-questions li { margin-bottom: 10px; }
  main #faq .faq-actions { margin-top: 22px; }
}


/* =============================================
   HERO ONLY: correct compressed vertical rhythm
   No changes to header, following sections, FAQ or footer.
   ============================================= */
@media (min-width: 1200px) {
  main .hero { height: 610px; min-height: 610px; }
  main .hero .container-xl { align-items: center; }
  main .hero-content { max-width: 620px; padding: 70px 0 94px; }
  main .hero .eyebrow { font-size: 19px; letter-spacing: 2px; margin-bottom: 26px; }
  main .hero h1 { font-size: clamp(3.8rem, 5.25vw, 5.15rem); line-height: 1.08; margin-bottom: 28px; letter-spacing: -1.7px; }
  main .hero-address { font-size: 19px; line-height: 1.62; max-width: 535px; margin-bottom: 30px; }
  main .hero-actions { gap: 17px; }
  main .hero-actions .btn { min-height: 55px; padding: 15px 22px; font-size: 15px; }
  main .hero-photo { width: 70%; background-position: 63% center; }
  main .hero-overlay { background:linear-gradient(90deg,#f5faff 0%,#f5faff 24%,rgba(245,250,255,.96) 35%,rgba(245,250,255,.58) 49%,rgba(245,250,255,.05) 75%); }
}
@media (min-width: 992px) and (max-width: 1199px) {
  main .hero { height: 555px; min-height: 555px; }
  main .hero-content { max-width: 560px; padding: 60px 0 72px; }
  main .hero .eyebrow { margin-bottom: 21px; }
  main .hero h1 { font-size: clamp(3.3rem, 5.2vw, 4.2rem); line-height: 1.1; margin-bottom: 24px; }
  main .hero-address { font-size: 17px; line-height: 1.55; margin-bottom: 26px; }
  main .hero-actions { gap: 13px; }
  main .hero-actions .btn { min-height: 51px; padding: 13px 18px; }
  main .hero-photo { width: 74%; background-position: 63% center; }
  main .hero-overlay { background:linear-gradient(90deg,#f5faff 0%,rgba(245,250,255,.98) 32%,rgba(245,250,255,.63) 49%,rgba(245,250,255,.04) 79%); }
}
@media (min-width: 768px) and (max-width: 991px) {
  main .hero { height: 520px; min-height: 520px; }
  main .hero-content { max-width: 480px; padding: 50px 0 65px; }
  main .hero .eyebrow { margin-bottom: 19px; font-size: 16px; }
  main .hero h1 { font-size: clamp(2.9rem, 5.5vw, 3.6rem); line-height: 1.1; margin-bottom: 23px; }
  main .hero-address { font-size: 16px; margin-bottom: 24px; }
  main .hero-actions .btn { min-height: 49px; font-size: 13px; }
  main .hero-photo { width: 76%; background-position: 60% center; }
  main .hero-overlay { background: linear-gradient(90deg,#f5faff 0%,rgba(245,250,255,.98) 34%,rgba(245,250,255,.69) 55%,rgba(245,250,255,.12) 86%); }
}
@media (max-width: 767px) {
  main .hero { height: auto; min-height: 0; }
  main .hero-photo { top: 0; bottom: auto; right: 0; width: 100%; height: 350px; background-position: 63% center; }
  main .hero-content { max-width: 100%; margin-top: 328px; padding: 38px 0 62px; }
  main .hero .eyebrow { margin-bottom: 19px; font-size: 15px; }
  main .hero h1 { font-size: clamp(2.75rem, 9vw, 3.8rem); line-height: 1.1; margin-bottom: 24px; letter-spacing: -1.4px; }
  main .hero-address { font-size: 16px; line-height: 1.6; margin-bottom: 29px; }
  main .hero-actions { gap: 14px; }
  main .hero-actions .btn { min-height: 55px; font-size: 14px; padding: 14px 16px; }
  main .hero-bottom { height: 20px; }
}
@media (max-width: 575px) {
  main .hero-photo { height: 325px; background-position: 63% center; }
  main .hero-content { margin-top: 305px; padding: 33px 0 58px; }
  main .hero .eyebrow { margin-bottom: 17px; }
  main .hero h1 { font-size: clamp(2.65rem, 10.5vw, 3.4rem); margin-bottom: 21px; }
  main .hero-address { font-size: 15px; margin-bottom: 25px; }
  main .hero-actions { gap: 13px; }
}

/* =====================================================
   ELEGANT POLISH + IMAGE QUALITY / FAQ FIXES
   ===================================================== */

/* Sharper, cleaner hero presentation */
main .hero{
  background: linear-gradient(135deg,#eef7ff 0%,#f8fbff 60%,#ffffff 100%);
}
main .hero-photo{
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.04) contrast(1.04);
}
main .hero-overlay{
  background: linear-gradient(90deg,#f7fbff 0%,rgba(247,251,255,.97) 25%,rgba(247,251,255,.82) 40%,rgba(247,251,255,.30) 58%,rgba(247,251,255,0) 78%);
}
main .hero-content{
  position: relative;
}
main .hero-actions .btn{
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(16,24,56,.10);
}

/* Welcome / About section refinement */
main .welcome-section .row{
  --bs-gutter-x: 3.2rem;
}
main .welcome-image{
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  border: 1px solid rgba(20,43,92,.08);
  box-shadow: 0 20px 45px rgba(16,25,62,.10);
  background: #edf3f9;
}
main .welcome-section p{
  font-size: 15.5px;
  line-height: 1.8;
  color: #32425e;
}
main .welcome-list{
  margin-top: 12px;
  column-gap: 34px;
}
main .welcome-list li{
  margin-bottom: 14px;
  font-size: 14.4px;
  line-height: 1.6;
}

/* Course cards: more elegant and less flat */
main .course-card{
  border-radius: 18px;
  border-color: rgba(16,36,84,.09);
  box-shadow: 0 16px 34px rgba(12,28,61,.08);
}
main .course-media{
  height: 188px;
  overflow: hidden;
}
main .course-media img{
  object-position: center center;
}
main .course-tag,
main .sale-tag{
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  bottom: 12px;
}
main .course-tag{left:12px;}
main .sale-tag{right:12px;}
main .course-body{
  padding: 23px 22px 24px;
}
main .course-body h3{
  min-height: 62px;
}
main .course-body .tick-list li{
  font-size: 13px;
  line-height: 1.5;
}

/* Behind-the-wheel cards: remove flattened feel */
main .behind-card{
  display: grid;
  grid-template-columns: minmax(170px, 210px) 1fr;
  gap: 20px;
  align-items: center;
  min-height: 0;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(12,28,61,.07);
  background: linear-gradient(180deg,#ffffff 0%,#fcfdff 100%);
}
main .behind-card > img{
  width: 100%;
  max-width: none;
  min-width: 0;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(17,32,63,.10);
}
main .behind-info{
  justify-content: center;
}
main .behind-title h3{
  font-size: 20px;
}
main .behind-info p{
  font-size: 15px;
  line-height: 1.65;
  color: #31405d;
  margin: 12px 0 17px;
}
main .behind-info .btn{
  min-height: 49px;
  padding-inline: 18px;
}

/* Benefits: more premium card styling */
main .benefits-grid{
  --bs-gutter-x: 1.1rem;
  --bs-gutter-y: 1.1rem;
}
main .benefit-card{
  min-height: 176px;
  padding: 22px 14px 20px;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid rgba(16,36,84,.08);
  box-shadow: 0 14px 28px rgba(13,28,60,.06);
}
main .benefit-card svg{
  font-size: 34px;
  color: var(--gold-deep);
  width: 62px;
  height: 62px;
  padding: 12px;
  background: linear-gradient(180deg,#fff7db,#fffdf3);
  border: 1px solid rgba(224,164,0,.20);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
main .benefit-card span{
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  max-width: 15ch;
}

/* FAQ real accordion */
main .faq-accordion{
  display: grid;
  gap: 14px;
}
main .faq-item{
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(18,35,73,.05);
  overflow: hidden;
}
main .faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: #fff;
  color: #172451;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}
main .faq-question:hover{
  background: #f8fbff;
}
main .faq-question .ui-icon{
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--green);
  transition: transform .25s ease;
}
main .faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease, padding .28s ease;
  padding: 0 24px;
}
main .faq-answer p{
  margin: 0;
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #4b5c77;
}
main .faq-item.is-open .faq-answer{
  max-height: 220px;
}
main .faq-item.is-open .faq-question .ui-icon{
  transform: rotate(90deg);
}
main .faq-actions{display:none !important;}

/* Smaller cleanup for overall elegance */
main .section-heading h2,
main .left-heading{
  letter-spacing: -0.8px;
}
main .kicker{
  letter-spacing: 2.3px;
}

@media (max-width: 991px){
  main .welcome-section .row{--bs-gutter-x: 1.7rem;}
  main .course-media{height: 172px;}
  main .benefit-card{min-height: 160px;}
}
@media (max-width: 767px){
  main .hero-photo{height: 338px; background-position: 64% center;}
  main .hero-overlay{background: linear-gradient(0deg,#f7fbff 18%,rgba(247,251,255,.98) 42%,rgba(247,251,255,.22) 74%);}
  main .welcome-image{aspect-ratio: 16 / 11;}
  main .course-media{height: 184px;}
  main .behind-card{grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; border-radius: 16px;}
  main .behind-card > img{aspect-ratio: 1 / 1; border-radius: 14px;}
  main .behind-info p{font-size: 13px; line-height: 1.55;}
  main .benefit-card{min-height: 154px; padding: 18px 10px;}
  main .benefit-card span{font-size: 12.5px; max-width: none;}
  main .benefit-card svg{width: 56px; height: 56px;}
  main .faq-question{padding: 16px 17px; font-size: 14px;}
  main .faq-answer{padding: 0 17px;}
  main .faq-answer p{padding-bottom: 17px; font-size: 13.5px;}
}


/* ==============================================================
   HERO ONLY — progressive left-to-right blur/fade (2026-11-03)
   Full-bleed photograph removes the old mid-hero vertical edge.
   Sharp photo remains untouched on the right.
   ============================================================== */
@media (min-width: 768px) {
  main .hero-photo {
    width: 100%;
    left: 0;
    right: 0;
    background-position: center 46%;
    filter: none;
  }
  main .hero-photo::before {
    content: "";
    position: absolute;
    inset: -6px;
    background-image: inherit;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 46%;
    filter: blur(18px);
    transform: scale(1.02);
    -webkit-mask-image: linear-gradient(to right,
      #000 0%, #000 13%, rgba(0,0,0,.95) 22%,
      rgba(0,0,0,.72) 35%, rgba(0,0,0,.28) 49%, transparent 66%);
    mask-image: linear-gradient(to right,
      #000 0%, #000 13%, rgba(0,0,0,.95) 22%,
      rgba(0,0,0,.72) 35%, rgba(0,0,0,.28) 49%, transparent 66%);
    pointer-events: none;
  }
  main .hero-overlay {
    background: linear-gradient(to right,
      #f7fbff 0%, rgba(247,251,255,.99) 12%,
      rgba(247,251,255,.94) 25%, rgba(247,251,255,.75) 37%,
      rgba(247,251,255,.38) 48%, rgba(247,251,255,.10) 60%,
      rgba(247,251,255,0) 73%);
  }
}
@media (max-width: 767px) {
  main .hero-photo::before {
    content: "";
    position: absolute;
    inset: -6px;
    background-image: inherit;
    background-size: cover;
    background-position: 64% center;
    filter: blur(10px);
    -webkit-mask-image: linear-gradient(to right,#000 0%,rgba(0,0,0,.55) 20%,transparent 58%);
    mask-image: linear-gradient(to right,#000 0%,rgba(0,0,0,.55) 20%,transparent 58%);
    pointer-events: none;
  }
  /* Keep the approved vertical text transition on mobile. */
  main .hero-overlay {
    background: linear-gradient(to top,
      #f7fbff 0%,rgba(247,251,255,.98) 37%,
      rgba(247,251,255,.26) 66%,transparent 88%);
  }
}


/* About image size fix */
main .welcome-section{padding-top:96px;padding-bottom:96px;}
main .welcome-image{display:block;width:100%;aspect-ratio:4 / 3;max-height:460px;object-fit:cover;object-position:center center;border-radius:22px;box-shadow:0 22px 46px rgba(16,25,62,.12);}
@media (max-width: 991px){main .welcome-image{max-height:420px;}}
@media (max-width: 767px){main .welcome-section{padding-top:72px;padding-bottom:72px;}main .welcome-image{aspect-ratio:4 / 3;max-height:none;border-radius:18px;}}


/* =============================================================
   WHY CHOOSE US + FEATURES — PREMIUM REFINEMENT (THIS SECTION ONLY)
   All existing copy, links, icons and all other sections stay intact.
   ============================================================= */
main .reasons-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 99% 7%, rgba(220,235,246,.48), transparent 48%),
    linear-gradient(145deg, #ffffff 0%, #f7fafd 53%, #f1f6fa 100%);
  padding-top: clamp(72px, 6vw, 105px);
  padding-bottom: clamp(76px, 6.3vw, 110px);
}
main .reasons-section .container-xl > .row {
  --bs-gutter-x: clamp(2rem, 3.7vw, 4.2rem);
  --bs-gutter-y: 2.8rem;
  align-items: start;
}
main .reasons-section .left-heading {
  font-size: clamp(2rem, 2.4vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -.9px;
  margin: 0 0 24px;
  color: #0b1b58;
}
main .reasons-section .left-heading::after {
  content: "";
  width: 74px;
  height: 4px;
  border-radius: 8px;
  margin-top: 15px;
  background: linear-gradient(90deg,#f5b400 0%,#fbd56c 75%,rgba(245,180,0,0) 100%);
}
main .reasons-section p {
  color: #455470;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 25px;
}
main .reasons-section .tick-list > li {
  gap: 12px;
  align-items: flex-start;
  font-size: 14.6px;
  line-height: 1.58;
  margin-bottom: 15px;
  color: #233457;
}
main .reasons-section .tick-list > li .ui-icon {
  width: 25px;
  height: 25px;
  padding: 5px;
  flex: 0 0 25px;
  margin-top: 0;
  stroke-width: 3;
  border-radius: 50%;
  color: #bd8400;
  background: #fff3cf;
  border: 1px solid rgba(230,175,20,.24);
}
main .reasons-section .contact-inline {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 32px;
  padding: 25px 29px 27px;
  display: grid;
  gap: 11px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(118deg, #0a1f55 0%, #123b70 100%);
  box-shadow: 0 18px 38px rgba(11,32,74,.18);
}
main .reasons-section .contact-inline::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e7a700, #ffe08b 52%, transparent 88%);
}
main .reasons-section .contact-inline::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -85px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(70,144,202,.24),transparent 69%);
  z-index: -1;
}
main .reasons-section .contact-inline h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
main .reasons-section .contact-inline a {
  color: #eaf5ff;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: color .18s ease;
}
main .reasons-section .contact-inline a:hover {color: #ffdb63;}
main .reasons-section .contact-inline .ui-icon {
  color: #ffc122;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 2px;
}
/* Turn the 10 tightly stacked vertical tiles into elegant, readable horizontal cards. */
main .reasons-section .benefits-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
main .reasons-section .benefits-grid > .col-6,
main .reasons-section .benefits-grid > .col-md-4,
main .reasons-section .benefits-grid > .col-xl {
  width: auto;
  max-width: none;
  padding: 0;
  flex: initial;
}
main .reasons-section .benefit-card {
  position: relative;
  height: 100%;
  min-height: 105px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 17px 17px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid #e4ebf2;
  background: rgba(255,255,255,.97);
  box-shadow: 0 7px 20px rgba(14,35,71,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
main .reasons-section .benefit-card:hover {
  transform: translateY(-3px);
  border-color: #ead49c;
  box-shadow: 0 15px 33px rgba(14,35,71,.095);
}
main .reasons-section .benefit-card .ui-icon {
  width: 59px;
  height: 59px;
  flex: 0 0 59px;
  padding: 14px;
  margin: 0;
  border-radius: 15px;
  border: 1px solid #f3e5bc;
  color: #d99a00;
  background: linear-gradient(145deg,#fff9e8,#fff2cb);
  stroke-width: 1.8;
  box-shadow: none;
}
main .reasons-section .benefit-card span {
  display: block;
  flex: 1;
  max-width: none;
  min-width: 0;
  color: #15244c;
  font-weight: 750;
  font-size: 14.2px;
  line-height: 1.50;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
@media (max-width: 1199px) {
  main .reasons-section .benefit-card {padding: 15px; gap: 13px; min-height: 110px;}
  main .reasons-section .benefit-card .ui-icon {width: 50px; height: 50px; flex-basis: 50px; padding: 12px;}
  main .reasons-section .benefit-card span {font-size: 13.2px;}
}
@media (max-width: 991px) {
  main .reasons-section .container-xl > .row {--bs-gutter-y: 3.5rem;}
  main .reasons-section .benefits-grid {gap: 14px;}
  main .reasons-section .benefit-card {min-height: 100px;}
  main .reasons-section .contact-inline {max-width: 570px;}
}
@media (max-width: 575px) {
  main .reasons-section {padding-top: 65px; padding-bottom: 66px;}
  main .reasons-section .left-heading {font-size: 2rem;}
  main .reasons-section .benefits-grid {grid-template-columns: minmax(0,1fr); gap: 11px;}
  main .reasons-section .benefit-card {min-height: 90px; padding: 15px 16px;}
  main .reasons-section .benefit-card span {font-size: 14px;}
  main .reasons-section .contact-inline {padding: 23px 22px;}
}
/* Confine grid-gutter painting to this section on tablet without shifting layout. */
main .reasons-section { overflow-x: clip; }


/* Section 5: Social Ratings */
main .social-ratings-section{padding-top:56px;padding-bottom:48px;background:linear-gradient(180deg,#eef8f2 0%,#f6fbf7 100%);}
main .ratings-shell{border-radius:32px;}
main .social-rating-card{background:#fff;border:1px solid rgba(0,75,50,.10);border-radius:28px;padding:24px 24px 28px;box-shadow:0 18px 40px rgba(23,59,41,.07);text-align:center;min-height:100%;transition:transform .25s ease, box-shadow .25s ease,border-color .25s ease;}
main .social-rating-card:hover{transform:translateY(-4px);box-shadow:0 22px 42px rgba(23,59,41,.11);border-color:rgba(0,75,50,.18);}
main .social-rating-top{display:flex;align-items:center;gap:12px;color:#6e7480;font-weight:800;font-size:15px;margin-bottom:26px;text-align:left;}
main .social-mini-icon{width:40px;height:40px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.65);}
main .facebook-mini{background:#eef3ff;color:#1877f2;}
main .google-mini{background:#f8f0e5;color:#4285f4;font-size:20px;}
main .trustpilot-mini{background:#eaf8f3;color:#00b67a;font-size:20px;}
main .social-rating-logo{font-weight:900;line-height:1;letter-spacing:-0.03em;margin-bottom:26px;}
main .social-logo-facebook{font-size:64px;color:#1877f2;text-transform:lowercase;}
main .social-logo-google{font-size:64px;font-weight:800;}
main .social-logo-trustpilot{font-size:52px;color:#101010;display:flex;align-items:center;justify-content:center;gap:12px;}
main .trustpilot-star{color:#00b67a;font-size:58px;line-height:1;}
main .g-blue{color:#4285f4;} main .g-red{color:#ea4335;} main .g-yellow{color:#fbbc05;} main .g-green{color:#34a853;}
main .social-rating-stars{font-size:20px;letter-spacing:3px;margin-bottom:8px;}
main .social-rating-stars .filled{color:#f2b200;}
main .social-rating-stars .half{background:linear-gradient(90deg,#f2b200 0 50%, #d4d7dc 50% 100%);-webkit-background-clip:text;background-clip:text;color:transparent;}
main .social-rating-score{font-size:18px;font-weight:900;color:#111827;margin:0;}
@media (max-width:1199px){main .social-logo-facebook,main .social-logo-google{font-size:56px;}main .social-logo-trustpilot{font-size:46px;}main .trustpilot-star{font-size:52px;}}
@media (max-width:767px){main .social-ratings-section{padding-top:44px;padding-bottom:40px;}main .social-rating-card{padding:20px 18px 24px;border-radius:24px;}main .social-rating-top{margin-bottom:20px;}main .social-logo-facebook,main .social-logo-google{font-size:46px;}main .social-logo-trustpilot{font-size:38px;}main .trustpilot-star{font-size:44px;}main .social-rating-score{font-size:17px;}}


/* Why Choose Us — softly blended background image; other sections unchanged. */
main #why-choose.reasons-section {
  background-color: #f6fafe;
  background-image: url('../images/why-choose-background.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 1199.98px) {
  main #why-choose.reasons-section {
    background-image: linear-gradient(145deg,#f7fbff,#edf5fa);
  }
}


/* FAQ only: mint backdrop + white editorial card from approved visual reference */
main section#faq.faq-expanded {
  background: radial-gradient(ellipse at 14% 24%, #baf4dc 0%, transparent 49%),
              radial-gradient(ellipse at 100% 85%, #bdf6f5 0%, transparent 52%),
              linear-gradient(125deg,#def9e9 0%,#e8fbf0 52%,#d6faf7 100%);
  padding: 78px 20px 82px;
}
main #faq .container-xl {max-width: 1220px;}
main #faq .faq-centered-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 52px clamp(24px,5.4vw,76px) 62px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 66px rgba(11,83,69,.045);
}
main #faq .section-heading.align-start {
  margin: 0 auto 36px;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
main #faq .section-heading.align-start::before {
  content: '?';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto 13px;
  font: 800 20px/1 Arial,sans-serif;
  color: #fff;
  background: #23474b;
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 5px 11px rgba(17,67,65,.16);
}
main #faq .section-heading .kicker {
  display: inline-block;
  width: auto;
  margin: 0 auto 17px;
  padding: 5px 16px 4px;
  border-radius: 999px;
  background: #eff3f8;
  color: #10245a;
  font-weight: 900;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 1.3px;
}
main #faq .section-heading .kicker::after {display:none;}
main #faq .section-heading h2 {
  margin: 0;
  font-size: clamp(29px,3.2vw,42px);
  line-height: 1.19;
  font-weight: 900;
  letter-spacing: -1.35px;
  color: #08184e;
}
main #faq .section-heading h2 span {color: #24545a;}
main #faq .section-heading h2::after { display:none; }
main #faq .section-heading p {
  max-width: 550px;
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  color: #70809e;
  text-align: center;
}
main #faq .faq-accordion {display: block; margin: 0; padding: 0;}
main #faq .faq-item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #dce5ee;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
main #faq .faq-item:last-child {border-bottom: 0;}
main #faq .faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 66px;
  gap: 18px;
  padding: 17px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0a1a4c;
  font-size: 15.5px;
  font-weight: 850;
  line-height: 1.52;
  text-align: left;
  cursor: pointer;
}
main #faq .faq-question:hover {background: transparent; color: #005b3b;}
main #faq .faq-question::before {
  content: 'Q';
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fff2cc;
  color: #bd7600;
  font: 900 12px/1 Arial,sans-serif;
}
main #faq .faq-question > span {flex: 1; min-width: 0;}
main #faq .faq-question > .ui-icon {display:none;}
main #faq .faq-question::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  margin-left: auto;
  border-radius: 50%;
  background: #eef2f7;
  color: #32476b;
  font: 400 20px/1 Arial,sans-serif;
}
main #faq .faq-item.is-open .faq-question::after {content: '\2212'; font-size: 20px;}
main #faq .faq-answer {
  display: none;
  max-height: none;
  padding: 0 48px 20px 42px;
  overflow: visible;
  transition: none;
}
main #faq .faq-item.is-open .faq-answer {display: block; max-height: none;}
main #faq .faq-answer p {
  margin: 0;
  padding: 0;
  color: #344b63;
  font-size: 14.5px;
  line-height: 1.75;
}
main #faq .faq-question:focus-visible {outline: 3px solid #db9d00; outline-offset: -2px; border-radius: 6px;}
/* Keep earlier instruction: removed FAQ action buttons remain removed. */
main #faq .faq-actions {display:none !important;}
@media (max-width: 767px) {
  main section#faq.faq-expanded {padding: 44px 12px 50px;}
  main #faq .faq-centered-wrap {padding: 36px 20px 40px; border-radius: 24px;}
  main #faq .section-heading.align-start {margin-bottom: 26px;}
  main #faq .section-heading h2 {font-size: clamp(26px,6.5vw,34px);letter-spacing: -.8px;}
  main #faq .section-heading p {font-size: 13.5px;}
  main #faq .faq-question {min-height: 62px;padding: 15px 0;gap: 10px;font-size: 13.5px;}
  main #faq .faq-question::before {width: 22px;height: 22px;flex-basis: 22px;}
  main #faq .faq-question::after {width: 26px;height: 26px;flex-basis: 26px;font-size: 18px;}
  main #faq .faq-answer {padding: 0 30px 19px 32px;}
  main #faq .faq-answer p {font-size: 13.5px;}
}
@media (prefers-reduced-motion: reduce) {
  main #faq .faq-question {scroll-behavior: auto;}
}


/* =====================================================
   Serving Students Across Texas — service area only.
   Preserve the original 1-A Alo Driving School column.
   ===================================================== */
main #service-area .service-location-column { position: relative; }
main #service-area .service-location-kicker {
  display: inline-flex; align-items:center; background:#eaf1f7; color:#0b254c;
  border-radius:999px; font-size:11px; letter-spacing:.15em; font-weight:850;
  text-transform:uppercase; padding:9px 15px; margin-bottom:19px;
}
main #service-area .service-location-column .left-heading {
  font-size:clamp(28px,2.35vw,39px); line-height:1.15;
  margin-bottom:22px; max-width:640px; letter-spacing:-.035em;
}
main #service-area .service-location-intro p {
  color:#31445e; font-size:15.5px; line-height:1.75; margin:0 0 24px;
}
main #service-area .service-location-map {
  position:relative; width:100%; height:262px; overflow:hidden;
  background:#e8f1f7; border:1px solid #dce6ed; border-radius:20px;
  box-shadow:0 15px 38px rgba(16,34,67,.09); margin-bottom:22px;
}
main #service-area .service-location-map iframe { width:100%; height:100%; border:0; display:block; }
main #service-area .service-location-map-link {
  position:absolute; right:13px; bottom:12px; background:rgba(255,255,255,.95);
  border-radius:50px; color:#083d36; padding:9px 13px; font-size:12px;
  font-weight:850; box-shadow:0 7px 19px rgba(8,37,54,.13);
  text-decoration:none; backdrop-filter:blur(4px);
}
main #service-area .service-location-map-link:hover {background:#fff7d8;color:#06372e;}
main #service-area .service-location-cities {display:flex;flex-wrap:wrap;gap:9px; margin:0 0 14px;}
main #service-area .location-chip {
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 13px; min-height:36px; border-radius:999px;
  border:1px solid #d5e2ed; color:#193354;
  background:#fff; font-size:13px; font-weight:550; line-height:1.2;
}
main #service-area .location-chip-online {border-style:dashed; color:#375a73;}
main #service-area .service-location-note {
  font-size:12.8px; line-height:1.6; color:#657a90;
  margin:2px 0 20px;
}
main #service-area .service-location-address {
  display:flex; align-items:center; gap:15px; padding:20px;
  background:linear-gradient(118deg,#143f4a,#205a54);
  border:1px solid rgba(255,255,255,.12); border-radius:18px;
  color:white; box-shadow:0 14px 27px rgba(13,57,54,.12);
}
main #service-area .service-location-pin {
  display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;
  border-radius:14px;background:rgba(255,255,255,.12);color:#fff;
}
main #service-area .service-location-pin svg {width:24px;height:24px;}
main #service-area .service-location-address h3 {
  color:#bcd6df; text-transform:uppercase; font-weight:850;
  letter-spacing:.10em; font-size:11px; margin:0 0 6px;
}
main #service-area .service-location-address p {
  color:#fff; font-size:14px; font-weight:800; line-height:1.55; margin:0;
}
main #service-area .service-location-bottom-link {
  display:inline-flex; align-items:center;gap:9px;
  margin-top:18px; font-size:13px; font-weight:850; color:#005136;
  text-decoration:none;
}
main #service-area .service-location-bottom-link:hover{color:#a77300;}
@media (max-width:1199px){
  main #service-area .service-location-map{height:240px;}
  main #service-area .service-location-address {padding:16px;}
  main #service-area .service-location-address p{font-size:13px;}
}
@media (max-width:991px){
  main #service-area .service-location-column{margin-top:26px;}
  main #service-area .service-location-map{height:310px;}
}
@media (max-width:575px){
  main #service-area .service-location-column .left-heading{font-size:29px;}
  main #service-area .service-location-map{height:260px;border-radius:16px;}
  main #service-area .service-location-cities{gap:7px;}
  main #service-area .location-chip {font-size:12px;padding:7px 10px;min-height:33px;}
  main #service-area .service-location-address{align-items:flex-start; gap:12px;}
  main #service-area .service-location-pin{flex-basis:43px;width:43px;height:43px;}
}


/* Two independent full-width sections: School Information and Service Area. */
main .about-section.about-independent {
  padding-top: clamp(58px, 5vw, 80px);
  padding-bottom: clamp(58px, 5vw, 80px);
  background: linear-gradient(135deg, #f5f9fc 0%, #f8fbfe 100%);
}
/* Align this section with the same container-xl left edge as other homepage sections. */
main .about-independent-content { width: 100%; max-width: none; margin-inline: 0; }
main .about-independent-content .left-heading { margin-bottom: 26px; }
main .about-independent-content .about-copy { max-width: 1120px; }
main .about-independent-content .about-copy > p { max-width: 1120px; }
main .about-independent-content .more-about[open] { max-width: 100%; }

main .service-area-section {
  background: #ffffff;
  padding-top: clamp(72px, 6.4vw, 104px);
  padding-bottom: clamp(76px, 6.5vw, 108px);
}
main #service-area .service-location-column {
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(26px,3.9vw,56px);
  align-items:start;
}
main #service-area .service-location-kicker,
main #service-area .service-location-column > .left-heading,
main #service-area .service-location-intro { grid-column:1/-1; }
main #service-area .service-location-column > .left-heading { max-width:none; }
main #service-area .service-location-intro { max-width:930px; }
main #service-area .service-location-map {
  grid-column:1;
  grid-row:4 / span 5;
  min-height:435px;
  height:100%;
  margin:0;
}
main #service-area .service-location-cities,
main #service-area .service-location-note,
main #service-area .service-location-address,
main #service-area .service-location-bottom-link { grid-column:2; }
main #service-area .service-location-cities { align-self:start; margin-bottom:12px; }
main #service-area .service-location-note { margin-bottom:20px; }
main #service-area .service-location-address { align-self:start; }
main #service-area .service-location-bottom-link { justify-self:start; margin-top:16px; }
@media (max-width:991px) {
  main #service-area .service-location-column { display:block; margin-top:0; }
  main #service-area .service-location-map { min-height:0; height:330px; margin-bottom:24px; }
  main #service-area .service-location-cities { margin-bottom:14px; }
}
@media (max-width:575px) {
  main .about-section.about-independent { padding-top:54px; padding-bottom:58px; }
  main .service-area-section { padding-top:62px; padding-bottom:66px; }
  main #service-area .service-location-map { height:260px; }
}

/* Keep the Service Area label pill compact instead of spanning the grid. */
main #service-area .service-location-kicker { justify-self:start; }
