:root{
  --accent-primary:#AC0000;
  --text-primary:#111;
  --text-secondary: #fff;
  --accent-secondary:#F7FA4C;
  --accent-tertiary: #d9d9d9;
  --dark-gray: #323232;
  --rgb-black: 0, 0, 0;
  --rgb-secondary: 255, 255, 255;
  --rgb-header: 69, 69, 69;
  --nav-height: 51px;
}

* {
  margin: 0;
  padding: 0;
  text-align: center;
  list-style: none;
  border: none;
  box-shadow: none;
  background: none;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: var(--text-primary);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  box-sizing: border-box;
}


body {
  margin: 0 auto;
  background-color: var(--text-secondary);
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
}

.main-nav-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 51px 1fr auto;
  grid-template-areas: 
  "navbar"
  "main"
  "footer";
}

section {
  max-width: 100vw;
  min-height: auto;
  overflow: hidden;
}

.red-button {
  background-color: var(--accent-primary);
  color: var(--text-secondary);
  padding: 10px 5px;

}

.brand {
  color: var(--accent-primary);
}

  
/* ----- NAV ----- */
nav {
  grid-area: navbar;
  position: sticky;
  display: flex;
  top: 0;
  background-color: rgba(var(--rgb-header), 0.69);
  height: var(--nav-height);
  transition: background-color .2s ease;
  z-index: 10;   
  padding: 0 15px;
}

nav.after-hero {
  background-color: rgba(var(--rgb-header), .9);
}

.logo {
  margin-right: auto;
  display: flex;
  height: 70.35px;
  position: absolute;
  width: auto;
}


.main-nav{
  left: 50%;
  top: 50%; 
  transform: translate(-50%, -50%);
  position: absolute;
  display: flex;
  gap: clamp(1.5rem, 1.5rem + 0.5vw, 3rem)
}

/* inactive */
.main-nav a {
  color: rgba( 255, 255, 255, 0.5);
  display: inline-block;
  position: relative;
  font-weight: 600;
  font-size: clamp(14px, calc(12.93px + 0.1786vw), 17.5px);
}

/* active */
.main-nav a[aria-current="true"], 
.main-nav a[aria-current="page"] { 
  color: var(--text-secondary);
  font-weight: 600; 
  text-shadow: 0 0 1px var(--text-secondary);
  text-decoration: underline; 
  text-underline-offset: 18px; 
  text-decoration-thickness: 1.15px; 
  text-decoration-color: rgba(var(--rgb-secondary), 0.9); 
}

.main-nav .label-full  { display: inline; }
.main-nav .label-short { display: none; }



/* Right Nav*/

#right-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.nav-icons-container {
  display: flex;
  gap: 19px;
  align-items: center;
}


.nav-icon {
  height: 15px;
  width: 15px;
}



.sign-in-button {
  background-color: var(--accent-primary);
  color: white;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
  padding: 5px 12px;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  width: 19px;
  height: 19px;
}

@media (max-width: 680px) {
  .sign-in-button {
    background-color: transparent;
    padding: 0;
    width: clamp(16px, 3vw + 4px, 20px);
    height: clamp(16px, 3vw + 4px, 20px);
    background-image: url('/assets/user-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
  }

  .main-nav {
    gap: 6vw;
    flex-wrap: nowrap;
    left: auto;
    transform: translate(2%, -50%);
  }
  .logo {
    display: none;
  }
}
@media (max-width: 866px) {
  .main-nav .hamburger-item {
    display: none;}
  .logo  {
    height: calc(3vw + 30px);
    top: calc(51px - 14% - 4vw);
  }
}
@media (max-width: 374px) {
  .main-nav .label-full  { display: none; }
  .main-nav .label-short { display: inline; }
}
@media (max-width: 1110px) { 
  .nav-icons-container {
    display: none;
  }
}




aside {
  grid-area: sidebar;
  position: sticky;
  align-self: start;
  top: var(--nav-height);
  height: 100dvh;
  height: 100vh;
}

main {
  grid-area: main;
  position: relative;
  top: -51px;
}

footer {
  grid-area: footer;
}


aside {
  position: fixed;
  width: 300px;
  display: none;
}

.show{
  display: block;
}


.section-title{
  font-size: clamp(21.6px, calc(1.6vw + 4.32px), 36px);
  font-weight: 800;
  line-height: 1.5;
}


@media(max-width: 900px) {
  .section-title {
    font-size: clamp(12px, 5vw, 32.4px)
  }
}


#sidebar {
  display: none;
}

@media(min-width: 2560px) {
  body {
    grid-template-columns: 8fr 2fr; 
    grid-template-areas:
      "navbar sidebar"
      "main sidebar"
      "footer sidebar";
  }

  .hamburger {
    display: none;
  }
}

.fill-viewport {
  height: 100vh;
  height: 100svh;
}

/* ----- HERO ----- */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  padding: var(--nav-height), 0;
  background: linear-gradient(rgba(var(--rgb-black),.6), rgba(var(--rgb-black),.6)), url('assets/hero-bg.png') center 35%/cover no-repeat;
  transition: background-size 0.5s ease, background-position 0.5s ease;
  color: var(--text-secondary);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  height: fit-content;
  width: max-content;
  flex-direction: column;
  gap: clamp(120px, calc(5vw + 2vh + 28px), 145px);
  justify-content: center;
  align-items: center;
  max-width: 100%;
}


.business-name {
  font-weight: 700;
  font-size: clamp(47px, calc(2vw + 25px), 67px);
  letter-spacing: 2px;
}

.hero-tagline {
  font-weight: 400;
  font-size: clamp(20px, calc(.75vw + 14px), 28px);
}

.hero-actions {
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.btn-book {
  width: 100%; 
  border: 3px solid var(--text-secondary);
  background: transparent;
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: clamp(26px, calc(.94vw + 12px), 33px);
  padding: calc(.375vw + 5px) 1px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

#sub-text {
  font-style: italic;
}

.hero-phone {
  display: block;
  font-weight: 600;
  font-size: clamp(34px, calc(1.125vw + 14.4px), 39px);
  text-decoration: underline;
  text-underline-offset: 8px;
  color: white;
}

.helper-text {
  font-weight: 400;
  font-size: clamp(16px, calc(.625vw + 8px), 23px);
  font-style: normal;
}


.hero-subtitles {
  font-size: clamp(14px, calc(.5vw + 6.5px), 19px);
  font-style: italic;
  font-weight: 200;
}

.down-arrow {
  position: absolute;
  width: 26px;
  height: 26px;
  padding: 5px;
  bottom: 10px;
}

.down-arrow img {
  height: 100%;
  width: 100%;
}


.hero,
.about {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* mobile responsiveness */

@media (max-width: 1070px) {
  .hero-content {
    gap: clamp(120px, calc(180px - 28vw + 6vh), 180px);
  }
  .business-name {
    font-size: clamp(24px, calc(7vw + 2px), 47px);
  }
  .hero-tagline {
    font-size: clamp(14px, calc(3vw + 2px), 20px);
  }
  .btn-book {
    font-size: clamp(20px, calc(4vw + 2px), 26px);
    border-width: clamp(2.4px, calc(2px + .15vw), 3px);
    border-radius: calc(1.1vw + 5px);
  }

  .hero-phone {
    font-size: clamp(26px, calc(4vw + 4px), 34px);
  }

  .helper-text {
    font-size: clamp(11px, calc(.8vw + 8px), 16px);
  }

  .hero-subtitles {
    font-size: clamp(10px, calc(.95vw + 7px), 14px);
    width:80%;
  }

  .down-arrow {
    position: absolute;
    width: 26px;
    height: 26px;
    padding: 5px;
    bottom: 10px;
  }

  .down-arrow img {
    height: 100%;
    width: 100%;
  }

}


.flex-column {
  display: flex;
  flex-direction: column;
}


/* ----- ABOUT ----- */

#about {
  gap: clamp(9.60px, calc(0.80vw + 0.66px), 16px);
  padding-top: clamp(12.00px, calc(0.90vw + 2.81px), 20px);
  scroll-margin-top: 51px;
}

.about-content {
  flex: 1;
  gap: clamp(21.60px, calc(1.70vw + 3.46px), 36px);
}

.about-content > div {
  flex: 1;
  align-items: center;
}

/* first-row */
.about-first-row {
  grid-template-columns: clamp(229.00px, calc(28.60vw + -93.97px), 458px) 1fr;
  gap: clamp(54.00px, calc(4.70vw + -0.25px), 90px);
  display: grid;
  padding: 0 clamp(25px, calc(2.8vw - 5.44px), 50px);
  height: 500px;
}

.value-prop{
  font-weight: 800;
  font-size: clamp(24.00px, calc(2.80vw + -5.94px), 48px);
  align-self: center;
}
.value-prop strong { color:var(--accent-primary); }

.about-astar * {
  text-align: start;
}

.px-20 {
  font-size: clamp(12.00px, calc(1.00vw + 0.82px), 20px);
}

.font-weight-300 {
  font-weight: 300;
}

.fw-600 {
  font-weight: 600;
}

.px-36 {
  font-size: clamp(21.6px, calc(1.7vw + 2.34px), 36px);
}

.px-30 {
  font-size: clamp(18.00px, calc(1.40vw + 3.22px), 30px);
}

.about-astar h2 {
  line-height: 1.8;
  color: white;
  text-shadow: 
    -1px -1px 0 var(--accent-primary),
     1px -1px 0 var(--accent-primary),
    -1px  1px 0 var(--accent-primary),
     1px  1px 0 var(--accent-primary);
}

.about-astar span{
  font-weight: 700;
}

/* second-row */
.about-second-row {
  flex: 1;
  display: flex;
  background-color: var(--accent-primary);
  color: var(--text-secondary);
  justify-content: center;
  align-items: center;
}

.about-second-row > div {
  display: flex;
  width: clamp(530.5px, calc(44.2vw + 219px), 1061px); 
  gap: clamp(98px, calc(10.2vw + .17px), 196px);
  height: 100%;
  padding: clamp(4.80px, calc(0.40vw + 0.33px), 8px) 0 clamp(18.00px, calc(1.40vw + 3.22px), 30px); 
}

.px-24 {
  font-size: clamp(14px, calc(1vw + 4.85px), 24px);
}

.px-16 {
  font-size: clamp(11.2px, calc(.7vw + 2.64px), 16px);
}

.h-32{
  font-size: clamp(22.4px, calc(1.3vw + 7.26px), 32px);
}

.fw-700 {
  font-weight: 700;
}

.second-row-item {
  flex: 1;
  gap: clamp(18.00px, calc(1.4vw + 3.22px), 30px);
}

.hours-list {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: clamp(6px, calc(.3vw + 4.37px), 10px) clamp(30px, calc(2.1vw + 9.98px), 50px);
  justify-content: center;
}

.hours-list * {
  text-align: start;
}

.kicker {
  font-size: clamp(9.8px, calc(.6vw + 2.56px), 14px); 
  color: rgba(247, 250, 76, 0.8);
  line-height: 2;
}

.about-actions {
  gap: clamp(6px, calc(.3vw + 4.37px), 10px);
}

.about-actions * {
  display: inline-block;
}

.gap-20 {
  gap: clamp(12px, calc(.6vw + 8.74px), 20px);
}

.btn-black-24px-700 {
  background-color: var(--text-primary);
  color: var(--text-secondary);
  font-weight: 500;
}

.padding-8-20 {
  padding: clamp(4.8px, calc(.3vw + 2.31px), 8px) clamp(12px, calc(.6vw + 8.74px), 20px);
}

.border-radius-10 {
  border-radius: clamp(6.00px, calc(0.30vw + 4.37px), 10px);
}

.about-phone {
  color: var(--text-secondary);
  text-decoration: underline;
  font-weight: 600;
  text-shadow: 0 0 .5px var(--text-secondary), 0 0 .5px var(--text-secondary), 0 0 1px var(--text-secondary);
  text-underline-offset: 4px;
}

.about-subtext {
  margin: 0 clamp(4.00px, calc(0.30vw + 2.31px), 8px);
}

.btn-check-availability {
  background-color: var(--accent-secondary);
  padding: clamp(4.80px, calc(0.20vw + 4.29px), 8px) clamp(12.00px, calc(1.00vw + 0.82px), 20px);
}

/* SERVICES Section */

#services {
  background-color: var(--accent-tertiary);
  padding: clamp(48.00px, calc(3.70vw + 9.24px), 80px) clamp(54.00px, calc(4.20vw + 9.65px), 90px) clamp(60.00px, calc(4.70vw + 10.07px), 100px) clamp(54.00px, calc(4.20vw + 9.65px), 90px);
  gap: clamp(30.00px, calc(2.30vw + 6.02px), 50px);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, clamp(120.00px, calc(9.40vw + 20.13px), 200px));
  gap: clamp(9.00px, calc(0.70vw + 1.61px), 15px);
}

.services-list img {
  width: clamp(55.05px, calc(4.30vw + 9.48px), 91.75px);
  height: clamp(55.05px, calc(4.30vw + 9.48px), 91.75px);
}

.services-list div {
  background-color: var(--text-secondary);
  border: 1px solid var(--accent-primary);
  border-color: var(--accent-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* INSTRUCTORS Section */
#instructors {
  background: linear-gradient(rgba(var(--rgb-black),.6), rgba(var(--rgb-black),.6)), url('assets/instructor-bg.jpg') center 35%/cover no-repeat;
  padding: clamp(48.00px, calc(3.70vw + 9.24px), 80px) 0 clamp(60.00px, calc(4.70vw + 10.07px), 100px) 0;
  gap: clamp(27.00px, calc(2.10vw + 4.83px), 45px);
  background-position: center 75%;
}

#instructors h2 {
  color: var(--text-secondary);
}


.instructors-list {
  display: flex;
  gap: clamp(25.20px, calc(2.00vw + 3.71px), 42px);
  align-items: center;
  justify-content: center;
}

.instructors-card {
  height: clamp(270.00px, calc(21.10vw + 46.28px), 450px);
  width: clamp(201.00px, calc(15.70vw + 34.61px), 335px);
  background-color: var(--accent-tertiary);
  padding: clamp(33.00px, calc(2.60vw + 5.24px), 55px) 0 clamp(33.00px, calc(2.60vw + 5.24px), 55px) 0;
  border-radius: clamp(12.00px, calc(0.60vw + 8.74px), 20px);
  display: grid;
  grid-template-areas:
    "instructors-img"
    "."
    "instructors-name"
    "."
    "instructors-role";
  grid-template-rows: auto clamp(30.00px, calc(2.30vw + 6.02px), 50px) auto clamp(3.00px, calc(0.20vw + 1.20px), 5px) auto;
  align-items: center;
  justify-content: center;
}

.instructors-img {
  height: clamp(142.20px, calc(11.10vw + 24.63px), 237px);
  width: clamp(142.20px, calc(11.10vw + 24.63px), 237px);
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  grid-area: instructors-img;
}
.instructors-name {
  grid-area: instructors-name;
}
.instructors-role {
  grid-area: instructors-role;
}


/* REVIEWS section */

/* .reviews {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 80px 0;
}

.reviews-carousel {
  place-self: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 80px;
}

.reviews-carousel > button > img {
  height: 47px;
}

.reviews-card {
  width: 937px;
  height: 455px;
  background-color: var(--text-secondary);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  border-radius: 21px;
  align-items: center;
}

.reviews-slides {
  display: flex;
  width: 80%;
}


.reviews-card > div {
  width: 100%;
}

.reviews-card hr {
  height: 1px;
  background-color: var(--text-primary);
  margin: 16px 0;
}

.reviews-card h4 {
  font-weight: 500;
}

.reviews-card img {
  width: 266.35px;
  height: 124px;
} */

.reviews {
  padding: clamp(48.00px, calc(3.70vw + 9.24px), 80px) 0;
  gap: clamp(18.00px, calc(1.40vw + 3.22px), 30px);
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: fit-content;
  padding: 0 clamp(20.00px, calc(2.90vw + -5.86px), 50px);
}

.reviews-slides {
  display: flex;
  flex: 1;
  height: clamp(273.00px, calc(21.30vw + 47.48px), 455px);
}

.reviews-card {
  position: absolute;
  top: 0;
  left: 50%;
  transform-style: preserve-3d;
  width: clamp(374.80px, calc(46.40vw + 47.56px), 937px);
  height: clamp(182.00px, calc(22.50vw + 23.72px), 455px);
  background-color: var(--text-secondary);
  border-radius: clamp(12.60px, calc(0.70vw + 7.80px), 21px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  padding: clamp(24.00px, calc(1.90vw + 3.63px), 40px);
  transition: all .5s ease;
  transform: translateX(-50%) scale(1);
  padding: clamp(36.00px, calc(2.80vw + 6.43px), 60px) clamp(36.00px, calc(2.80vw + 6.43px), 60px) clamp(12.00px, calc(0.90vw + 2.81px), 20px) clamp(36.00px, calc(2.80vw + 6.43px), 60px);
  justify-content: space-between;
}

.reviews-card hr {
  height: 1px;
  background-color: var(--text-primary);
  margin: clamp(9.60px, calc(0.70vw + 2.64px), 16px) 0;
}

.reviews-card img {
  height: clamp(74.40px, calc(5.80vw + 13.04px), 124px);
} 
.reviews-card.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.reviews-card.prev {
  transform: translateX(calc(-60% + -16.4vw)) scale(0.8);
  z-index: 2;
}

.reviews-card.next {
  transform: translateX(calc(-40% + 16.4vw)) scale(0.8);
}

.reviews-card.hidden-left {
  transform: translateX(-140%) scale(0.4);
  pointer-events: none;
  opacity: 0;
}

.reviews-card.hidden-right {
  transform: translateX(40%) scale(0.4);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}


.arrow-np {
  height: clamp(18.80px, calc(2.40vw + 0.95px), 47px);
}
.reviews-carousel > button {
  cursor: pointer;
}


/* GALLERY section */

#gallery {
  background: url('assets/gallery-bg.png') center 65%/cover no-repeat;
  padding: clamp(20.00px, calc(2.60vw + 0.08px), 50px);
  padding-top: clamp(12.00px, calc(1.60vw + -0.74px), 30px);
  gap: clamp(8.00px, calc(1.00vw + 0.82px), 20px);
}

#gallery > :first-child > :nth-child(3){
  display: flex;
  justify-content: space-between;
}

.style-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gallery-pictures {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12.00px, calc(1.60vw + -0.74px), 30px);
}

.gallery-pictures img {
  height: clamp(110.00px, calc(14.30vw + 0.45px), 275px);
  object-fit: cover;
  width: 100%;
}

.gallery-pictures img.wide {
  grid-column: span 2;
}

.gallery-pictures img.narrow {
  grid-column: span 1;
}

/* DRIVERS-ED Section */

#drivers-ed {
  margin: clamp(16.00px, calc(2.10vw + -0.33px), 40px) 0;
  gap: clamp(6.00px, calc(0.80vw + -0.37px), 15px);
}

.drivers-ed-content {
  display: flex;
  height: clamp(246.00px, calc(32.00vw + 0.62px), 615px);
  flex: 1;
}

.dmv-resources {
  flex: 1;
  background-color: var(--accent-tertiary);
  padding: clamp(12.00px, calc(1.60vw + -0.74px), 30px);
  padding-top: clamp(18.00px, calc(2.30vw + 0.87px), 45px);
  gap: clamp(5.60px, calc(0.70vw + 0.58px), 14px);
}

.dmv-link img{
  width: clamp(107.20px, calc(14.00vw + -0.83px), 268px);
}

.handbooks {
  display: flex;
  justify-content: space-between;
  width: clamp(344.00px, calc(44.80vw + -0.16px), 860px);
  margin: auto;
}

.handbooks > a > img {
  height: clamp(100.00px, calc(13.00vw + 0.41px), 250px);
  width: clamp(64.00px, calc(8.30vw + 0.66px), 160px);
  object-fit: cover;
}
.style-underline-no-offset {
  text-decoration: underline;
}

.primary-fc {
  color: var(--accent-primary);
}

.link-arrow {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.aceable {
  flex: 1;
  background-color: var(--accent-primary);
  align-items: center;
  gap: clamp(24.00px, calc(3.10vw + 0.50px), 60px);
  padding: clamp(20.00px, calc(2.60vw + 0.08px), 50px);
}

.aceable > :first-child {
  gap: clamp(8.00px, calc(1.00vw + 0.82px), 20px);
}

#aceable-website {
  text-underline-offset: 2px;
  color: var(--text-secondary);
}

.aceable-logo {
  height: clamp(33.20px, calc(4.30vw + 0.45px), 83px);
}


.aceable-actions {
  background-color: var(--text-secondary);
  width: max-content;
  align-items: center;
  padding: clamp(2.00px, calc(0.30vw + -0.78px), 5px) clamp(48.00px, calc(6.20vw + 0.99px), 120px);
}

.aceable-actions div {
  margin: clamp(12.00px, calc(1.60vw + -0.74px), 30px) 0;
}

#traffic-school {
  background-color: #595959;
}

.aceable-enroll-btn {
  padding: clamp(4.00px, calc(0.50vw + 0.41px), 10px) clamp(56.00px, calc(7.30vw + -0.16px), 140px);
  background-color: var(--accent-primary);
  display: inline-block;
  color: var(--text-secondary);
  margin: clamp(4.00px, calc(0.50vw + 0.41px), 10px) 0;
}

/* USE-OUR-CAR-LINK Section */

.use-our-car-link {
  max-height: fit-content;
}

.use-our-car-link p {
  margin: clamp(4.00px, calc(0.50vw + 0.41px), 10px) 0;
}

.use-our-car-link a {
  display: inline-block;
  border-radius: clamp(8.00px, calc(1.00vw + 0.82px), 20px);
  height: auto;
  width: auto;
  padding: clamp(8.00px, calc(1.00vw + 0.82px), 20px);
  background-color: var(--text-primary);
  font-size: clamp(22.80px, calc(1.80vw + 3.55px), 38px);
  font-weight: 800;
  color: var(--text-secondary);
}

footer img {
  margin: clamp(6.00px, calc(0.80vw + -0.37px), 15px) 0;
}

footer {
  height: clamp(146.94px, calc(19.10vw + 0.65px), 367.35px);
  background-color: var(--accent-primary);
  display: flex;
  flex-direction: column;
  gap: clamp(4.00px, calc(0.50vw + 0.41px), 10px);
  justify-content: center;
  align-items: center;
}

.footer-links {
  display: inline-flex;
  flex-direction: row;
  gap: clamp(24.00px, calc(3.10vw + 0.50px), 60px);
  justify-content: center;
  margin: clamp(8.00px, calc(1.00vw + 0.82px), 20px) 0;
} 

footer img {
  height: clamp(16.00px, calc(2.10vw + -0.33px), 40px);
  margin-bottom: clamp(10.40px, calc(1.40vw + -0.91px), 26px);
}

.footer-p {
  display: inline;
}

footer * {
  color: var(--accent-secondary);
}

footer > :last-child {
  font-size: clamp(4.80px, calc(0.60vw + 0.50px), 12px);
}


/***** SIGN-UP page *****/

.sign-up-content{
  background-color: var(--dark-gray);
  display: flex;
  padding: 20px;
  height: 100vh;
  height: 100svh;
}

.sign-up-left {
  color: var(--text-secondary);
  flex: 1;
  font-size: 16px;
  position: relative;
  top: 100px;
  overflow: visible;
  min-width: 0;
}

.sign-up-left h1 {
  font-size: 36px;
}

.sign-up-logo {
  width: 127px;
}

.astar-car {
  position: relative;
  bottom: -20px;
  z-index: 10px;
  display: block;
  max-width: none;
}

.sign-up-right {
  background-color: var(--accent-tertiary);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sign-up-right > div {
  width: 400px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sign-up-right > div div {
  width: 100%;
}

.sign-up-right * {
  font-size: 15px;
}

.sign-up-right > div > div {
  margin: 16px 0;
}

.brand-heading {
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 36px;
}

.sign-up-right a {
  text-decoration: underline;
  color: var(--accent-primary);
}

.sign-up-form input {
  text-align: left;
  position: relative;
  flex: 1;
}


.sign-up-form > div:not(:first-child) {
  display: flex;
  padding: 20px 10px;
  border: 1px solid var(--dark-gray);
  border-radius: 10px;
}

.sign-up-form > :first-child {
  display: flex;
  gap: 6px;
}

.sign-up-form > :first-child div {
  padding: 20px 10px;
  border: 1px solid var(--dark-gray);
  border-radius: 10px;
  flex: 1 1 50%;
}

.sign-up-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.sign-up-form img {
  width: 25px;
}

.sign-up-right .red-button{
  width: fit-content;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  padding: 10px 12px;
  margin: 0 auto;
}

.sign-up-sub-text{
  display: flex;
  color: var(--text-primary);
  align-items: center;
}
.sign-up-sub-text::before,
.sign-up-sub-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--accent-primary);
}

.sign-up-sub-text::before { margin-right: 16px }
.sign-up-sub-text::after  { margin-left: 16px}


.sign-up-options img {
  width: 20px;
  height: 20px;
  margin: 0 10px;
}

.sign-up-options {
  width: 100%;
  display: flex;
  gap: 10px;
}

.sign-up-options span {
  position: relative;
  top: -3px;
}

.sign-up-options button {
  flex: 1 1 50%;
  padding: 6px 30px;
  border-radius: 10px;
  background-color: var(--text-primary);
  color: var(--text-secondary);
}

#google {
  background-color: var(--text-secondary);
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}


/***** BEHIND-THE-WHEEL page *****/
.btw-main {
  display: flex;
  height: fit-content;
  justify-content: center;
  padding: clamp(60.00px, calc(5.20vw + 0.17px), 100px) clamp(108.00px, calc(9.40vw + -0.50px), 180px) clamp(9.60px, calc(0.80vw + 0.66px), 16px) clamp(108.00px, calc(9.40vw + -0.50px), 180px);
}

.btw-content {
  display: flex;
  flex-direction: column;
  gap: clamp(21.60px, calc(1.90vw + -0.50px), 36px);
  align-items: center;
  height: max-content;
}

.page-title {
  font-size: clamp(21.60px, calc(1.90vw + -0.50px), 36px);
  font-weight: 600;
}

.page-summary {
  color: #595959;
  font-weight: 300;
  margin: clamp(6.00px, calc(0.50vw + 0.41px), 10px) 0;
}

.page-note {
  color: #595959;
  font-weight: 300;
}

.btw-age-category {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--accent-tertiary);
  border-radius: clamp(6.00px, calc(0.30vw + 4.37px), 10px);
  overflow: hidden;
  margin-top: 15px;
  color: var(--text-primary);
}

.btw-age-category button {
  color: var(--text-primary);
  flex: 1;
  background: var(--text-secondary);
  font-size: clamp(8.40px, calc(0.70vw + 0.58px), 14px);
  padding: clamp(8.40px, calc(0.70vw + 0.58px), 14px) clamp(42.00px, calc(3.60vw + 0.91px), 70px);
}

.btw-age-category button.active {
  background: var(--accent-primary);
  color: var(--text-secondary);
}

#popup-confirm {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-self: center;
  width: 300px;
  z-index: 3;
  background: white;
  gap: 10px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
}

#popup-confirm > div {
  display: flex;
  gap: 70px;
  justify-content: center;
}

.overlay {
  transition: all 0.2s ease;
  position: fixed;
  opacity: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 2;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.package-list {
  display: flex;
  gap: clamp(78.60px, calc(6.80vw + 0.45px), 131px);
  margin: clamp(12.00px, calc(1.00vw + 0.82px), 20px) 0;
}

.show-popup {
  visibility: visible !important;
  opacity: 1 !important;
}

.package {
  display: inline-flex;
  flex-direction: column;
  gap: clamp(18.00px, calc(1.60vw + -0.74px), 30px);
  border: 1px solid var(--accent-primary);
  width: clamp(225.00px, calc(19.50vw + 0.62px), 375px);
  height: clamp(274.80px, calc(23.90vw + -0.91px), 458px);
  border-radius: clamp(6.00px, calc(0.20vw + 6.35px), 10px);
  padding: clamp(23.40px, calc(2.00vw + 0.62px), 39px) clamp(21.60px, calc(1.90vw + -0.50px), 36px);
  justify-content: center;
}

.package h2 {
  font-size: clamp(14.40px, calc(1.30vw + -0.99px), 24px);
  line-height: clamp(12.00px, calc(1.00vw + 0.82px), 20px);
  color: #F26A8D;
  font-weight: 700;
}

#package-six-hours h2 {
  color: #DA5552;
}
#package-six-hours button {
  background-color: rgba(218, 85, 82, .5)
;
}

#package-eight-hours h2 {
  color: #880D1E;
}
#package-eight-hours button {
  background-color: rgba(136, 13, 30, .5)
;
}

.price {
  font-size: clamp(28.80px, calc(2.50vw + 0.00px), 48px);
  font-weight: 700;
  margin: clamp(2.40px, calc(0.20vw + 0.16px), 4px) 0;
}

.package hr {
  height: 1px;
  background: var(--accent-tertiary);
}

.package li {
  list-style: disc;
  text-indent: 0;
  text-align: left;
  font-size: clamp(8.40px, calc(0.70vw + 0.58px), 14px);
  padding: clamp(4.80px, calc(0.40vw + 0.33px), 8px) 0;
}

.package ul {
  list-style-position: inside;
  padding-left: clamp(12.00px, calc(1.00vw + 0.82px), 20px);
  padding-right: clamp(2.40px, calc(0.20vw + 0.16px), 4px);
}

.package button {
  background-color: rgba(242, 106, 141, 0.5);
  border-radius: 10px;
  padding: clamp(7.20px, calc(0.60vw + 0.50px), 12px) 0;
  font-size: clamp(14.40px, calc(1.30vw + -0.99px), 24px);
  font-weight: 700;
  color: #111;
}

.check-availability-link {
  margin: clamp(3.60px, calc(0.30vw + 0.25px), 6px) 0;
}

.check-availability-link p{
  display: inline;
  font-size: clamp(9.60px, calc(0.80vw + 0.66px), 16px);
}
.check-availability-link a{
  background-color: var(--accent-primary);
  color: var(--text-secondary);
  font-size: clamp(12.00px, calc(1.00vw + 0.82px), 20px);
  padding: clamp(6.00px, calc(0.50vw + 0.41px), 10px) 12px;
  border-radius: clamp(6.00px, calc(0.30vw + 4.37px), 10px);
  margin: 0 clamp(6.00px, calc(0.50vw + 0.41px), 10px);
}

.btw-use-our-car-link {
  display: flex;
  flex-direction: column;
  margin-top: clamp(30.00px, calc(1.60vw + 19.88px), 50px);
  align-items: center;
  gap: clamp(7.20px, calc(0.40vw + 4.46px), 12px);
}

.btw-use-our-car-link a {
  width: fit-content;
  font-weight: 700;
  font-size: clamp(14.40px, calc(0.70vw + 10.89px), 24px);
  color: var(--text-secondary);
  background-color: var(--text-primary);
  padding: clamp(6.00px, calc(0.30vw + 4.37px), 10px) clamp(10.80px, calc(0.90vw + 0.74px), 18px);
  border-radius: clamp(6.00px, calc(0.30vw + 4.37px), 10px);
  display: inline-block;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
}

.btw-use-our-car-link p {
  color: #595959;
  font-size: clamp(8.40px, calc(0.40vw + 6.52px), 14px);
}

/***** USE OUR CAR page *****/

.protected-img {
  user-select: none;
}

.uoc-main {
  top: 0;
  width: 100dvw;
}

#uoc-body {
  height: fit-content;
  margin: 0;
}

.uoc-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14.40px, calc(1.90vw + -0.50px), 36px);
  padding: clamp(30.40px, calc(4.00vw + -0.83px), 76px) clamp(128.00px, calc(16.70vw + -0.66px), 320px) 0 clamp(128.00px, calc(16.70vw + -0.66px), 320px);
  position: relative;
}

.bold-red-button {
  padding: clamp(4.00px, calc(0.50vw + 0.41px), 10px) clamp(7.20px, calc(0.90vw + 0.74px), 18px);
  color: var(--text-secondary);
  background-color: var(--accent-primary);
  font-weight: 800;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  border-radius: clamp(4.00px, calc(0.30vw + 4.37px), 10px);
  z-index: 1;
}

.uoc-content .page-note {
  
  font-size: clamp(5.60px, calc(0.70vw + 0.58px), 14px);
}

.uoc-content img {
  position: relative;
  height: clamp(260.80px, calc(34.00vw + -0.83px), 652px);
  top: clamp(-16.00px, calc(-2.10vw + 0.33px), -40px);
}

.uoc-content span {
  font-weight: 600;
}



#log-in-content{
  width: clamp(392.80px, calc(51.10vw + 0.91px), 982px);
  height: clamp(384.80px, calc(50.10vw + 0.08px), 962px);
  margin: 0 auto;
}

.forgot-password {
  margin-top: clamp(-4.00px, calc(-0.50vw + -0.41px), -10px);
}



/* scheduler */
#book-lesson {
  font-weight: 500;
  font-size: 36px;
}

.scheduler-container {
  background-color: #f3f3f3;
  padding-bottom: 50px;
}

.scheduler-section {
  font-family: 'Inter', sans-serif;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}



#breadcrumb {
  font-weight: 400;
  color: #595959;
  font-size: 20px;
}

.scheduler-h2 {
  font-weight: 600;
  font-size: 24px;
}

#date-time-container {
  display: flex;
  width: 750px;
}

#date-time-container > div {
  flex: 1;
}

.calendar {
  width: 320px;
  margin: 20px auto;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
}

.calendar-body {
  gap: 10px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-header h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  color: #AC0000;
}
.calendar-days div.empty {
  background: none;
  pointer-events: none;
}


.calendar-day-names, .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 15px;
}

.calendar-day-names div {
  font-weight: 500;
  padding: 8px 0;
  color: #AC0000;
  font-size: 10px;
}

.calendar-days div {
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.calendar-days div.past {
  color: #bbb;
  pointer-events: none;
}


.calendar-days div:not(.selected):hover {
  background: #e0e0e0;
}


.calendar-days .other-month {
  color: #bbb;
}

.calendar-days .selected {
  background: #AC0000;
  color: white;
  width: 30px;
  height: 30px;
}

.time-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 60px;
}

.time-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.time-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 20px;
  transition: background-color 0.2s;
  font-size: 12px;
}

.time-option:hover:not(.selected) .circle {
  background-color: #f0f0f0;
}


.circle {
  width: 26px;
  height: 26px;
  border: 2px solid #AC0000;
  border-radius: 50%;
  position: relative;
}

.circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  background-color: #AC0000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.time-option.selected .circle {
  background-color: #AC0000;
}

.time-option.selected .circle::after {
  display: none;
}

#single-session-container,
#multi-session-container {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

#single-session-text {
  margin-bottom: 10px;
  font-weight: bold;
}

#multi-session-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#select-session-btn,
#book-single-session,
#book-multi-sessions {
  background: #AC0000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}

#select-session-btn:hover,
#book-single-session:hover,
#book-multi-sessions:hover {
  background: #8a0000;
}

.session-placeholder {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
}

.booking-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.booking-form {
  width: 670px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-field-label{
  font-size: 12px;
  font-weight: 400;
}

.booking-field-box {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
  width: inherit;
}

.booking-input-group {
  display: flex;
  width: inherit;
  gap: 8px;
}

.booking-input-group > * {
  text-align: start;
  flex: 1;
}

.booking-form-input::placeholder {
  font-size: 15px;
  font-weight: 10;
  color: rgba(89, 89, 89, 0.5);
}

.booking-form-input {
  border: 1px solid #595959;
  box-shadow: none;
  background-color: white;
  border-radius: 5px;
  padding: 16px 20px;
}

.booking-submit-btn {
  background-color: var(--accent-primary);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 8px 12px;
  width: max-content;
  align-self: center;
  margin-top: 30px;
}

/* payment-page */
.payment-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 120px 302px;
  font-family: 'Inter', sans-serif;
  width: 1278px;
  height: 1319px;
  background-color: #f3f3f3;
  margin: auto;
}

.payment-container h1 {
  font-size: 36px;
  font-weight: 600;
}

.payment-container .breadcrumb {
  font-size: 20px;
  color: #595959;
}

.payment-container h2 {
  font-size: 24px;
  font-weight: 500;
  display: block;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.payment-summary {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#summary-package {
  color: #F26A8D;
}

.payment-options {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.payment-option {
  background-color: white;
  display: flex;
  width: 200px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
}

.payment-option img{
  margin: auto;
}

 /* payment-details */

 .payment-details > form {
  display: flex;
  flex-direction: column;
  gap: 10px;
 }
.payment-form-group > label{
  font-size: 12px;
  font-weight: 400;
}

.payment-form-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
  width: 100%;
}

.payment-form-group > input {
  text-align: start;
  width: 100%;
  border: 1px solid #595959;
  box-shadow: none;
  background-color: white;
  border-radius: 5px;
  padding: 16px 20px;
}

.payment-form-row {
  display: flex;
  gap: 8px;
}

.booking-input-group > * {
  text-align: start;
  flex: 1;
}

.payment-form-group > input::placeholder {
  font-size: 15px;
  font-weight: 10;
  color: rgba(89, 89, 89, 0.5);
}

.payment-details > button {
  background-color: var(--accent-primary);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 8px 12px;
  width: max-content;
  align-self: center;
  margin-top: 30px;
}

.back-link {
    text-align: center;
    margin-top: 15px;
}

.back-link a {
    color: #999;
    font-size: 14px;
    text-decoration: none;
}