html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Arial", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f4f8fb;
  color: #222;
}

* {
  box-sizing: border-box;
}

.site-shell {
  min-height: 100vh;
}

main {
  width: 100%;
  margin: 0 auto;
  padding-top: var(--nav-height, 88px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar.nav-hidden {
  transform: translateY(calc(-100% - 12px));
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.navbar-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: #3a3a3a;
  letter-spacing: 1px;
  white-space: nowrap;
}
.drivers{
  color: #000000;
}
/* Container to completely center the form on the page */
.booking-outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 50px 20px;
    box-sizing: border-box;
}

/* The white card panel holding the form */
.form-section {
    background: #ffffff;
    width: 100%;
    max-width: 540px; /* Elegant card width layout */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

/* Centered section header */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* Stacks form labels cleanly directly on top of fields */
.form-fields p {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    text-align: left;
}

/* Title text for Name, Email, Phone, etc. */
.form-fields label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

/* Beautiful modern look for inputs & textareas */
.form-fields input, 
.form-fields textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

/* Interactive blue glow outline when clicking inputs */
.form-fields input:focus, 
.form-fields textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* Extra window sizing constraints for text area */
.form-fields textarea {
    min-height: 110px;
    resize: vertical;
}

/* Premium full-width yellow accent button */
.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

/* Matches your top header 'Dark Mode' / DRIVERS DEN yellow accent scheme */
.btn-booking {
    background-color: #facc15; 
    color: #0f172a;
}

.btn-booking:hover {
    background-color: #eab308;
}

.submit-btn:active {
    transform: scale(0.99);
}
.den {
  color: #FFE600;
}
  
.navbar-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s;
}

.navbar-links a,
.footer-links a,
.contact-info a,
.auth-link {
  text-decoration: none;
  color: #3a3a3a;
  font-weight: 500;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.navbar-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-link {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(33, 150, 243, 0.12);
}

.auth-link:hover {
  color: #fff;
  background: #FFE600;
  transform: translateY(-1px);
}

.signup-link {
  background: #FFE600;
  color: #fff;
}

.signup-link:hover {
  background: #1769aa;
}

.navbar-links a:hover,
.footer-links a:hover,
.contact-info a:hover {
  color: #FFE600;
}

.navbar-menu-bar {
  display: none;
}

.menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0.5rem;
  color: #FFE600;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu-icon-label {
  display: inline-block;
  line-height: 1;
}

.menu-bar {
  width: 28px;
  height: 3px;
  background: #FFE600;
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.menu-icon.open .menu-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-icon.open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-icon.open .menu-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.dark-toggle,
.cta-btn,
.booking-form button,
.review-form button,
.contact-form button,
.signup-form button {
  background: #FFE600;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.dark-toggle:hover,
.cta-btn:hover,
.booking-form button:hover,
.review-form button:hover,
.contact-form button:hover,
.signup-form button:hover {
  background:#FFE600;
}

.dark-toggle {
  margin-left: 1.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
}

.mobile-dark-toggle {
  display: none;
}

.homepage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background: linear-gradient(120deg, #e3f2fd 0%, #fff 100%);
  text-align: center;
}

.homepage-content {
  max-width: 600px;
  margin: auto;
}

.homepage h1 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.7rem 2.2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.highlights,
.service-area ul,
.safety ul {
  list-style: none;
  padding: 0;
}

.highlights {
  margin: 0;
  color: #222;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.highlights li::before {
  content: "\2714  ";
  color: #FFE600;
  font-weight: 700;
}

.animated-photo {
  animation: floatPhoto 2.5s ease-in-out infinite alternate;
}

@keyframes floatPhoto {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
  }

  100% {
    transform: translateY(-18px) scale(1.04);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.18);
  }
}

.about,
.services,
.pricing,
.booking,
.service-area,
.reviews,
.review-submit-section,
.faq,
.contact,
.safety,
.signup-main {
  padding: 3rem 1rem;
  text-align: center;
}

.about,
.pricing,
.service-area,
.faq,
.safety {
  background: #f7fafd;
}

.services,
.booking,
.reviews,
.review-submit-section,
.contact {
  background: #fff;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 700px;
  margin: 2rem auto 0;
}

.instructor-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #FFE600;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
}

.services-list,
.pricing-table,
.reviews-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin: 2rem auto 0;
  max-width: 900px;
}

.service-item,
.pricing-item,
.review-item,
.faq-item,
.safety li,
.map-placeholder {
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.04);
}

.service-item,
.review-item {
  background: #f7fafd;
}

.pricing-item,
.faq-item,
.safety li,
.map-placeholder {
  background: #fff;
}

.service-item,
.pricing-item,
.review-item {
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
}

.pricing-item {
  min-width: 200px;
  max-width: 240px;
  flex-basis: 200px;
}

.price {
  font-size: 1.3rem;
  color:#FFE600;
  font-weight: 700;
  margin: 0.7rem 0;
}

.pricing-note {
  margin-top: 1.5rem;
  color: #555;
  font-size: 1rem;
}

.price-btn{
    margin-top:30px;
    padding:14px 30px;
    background:#d71920;
    color:#fff;
    border:none;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.price-btn:hover{
    background:#b8141a;
}

/* Hidden section */
.hidden-pricing {
    display: none;
    margin-top: 30px;
    animation: fadeIn .4s ease;
}

.hidden-pricing.show {
    display: block;
}

.hidden-pricing h3.section-subtitle {
    margin: 40px 0 10px;
    font-size: 24px;
    color: #222;
}

.hidden-pricing hr {
    margin: 40px auto 10px;
    max-width: 900px;
    border: none;
    border-top: 1px solid #ddd;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode support for the hidden section dividers and subheadings */
body.dark-mode .hidden-pricing h3.section-subtitle {
    color: #f4f8fb;
}

body.dark-mode .hidden-pricing hr {
    border-top-color: #31363a;
}

/* end of the hidden pricing */



.booking-form,
.review-form,
.contact-form,
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto 0;
}

.booking-form input,
.booking-form textarea,
.review-form textarea,
.review-form select,
.contact-form input,
.contact-form textarea,
.signup-form input {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 1rem;
  resize: none;
}

.booking-form button,
.review-form button,
.contact-form button,
.signup-form button,
.primary-btn {
  padding: 0.95rem 1.35rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFE600, #FFE600);
  border: none;
  color: #fff;
  box-shadow: 0 10px 24px rgba(33, 150, 243, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.signup-form button:hover,
.booking-form button:hover,
.contact-form button:hover,
.review-form button:hover,
.primary-btn:hover {
  background: linear-gradient(135deg, #FFE600, #FFE600);
  transform: translateY(-1px);
}

.signup-shell {
  padding-top: 120px;
}

.signup-main {
  min-height: calc(100vh - 120px);
}

.signup-section {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 22px rgba(33, 150, 243, 0.12);
  text-align: left;
}

.signup-section h2 {
  margin-bottom: 1.5rem;
  color: #222;
}

.form-row {
  width: 100%;
}

.form-row input {
  width: 100%;
}

.form-errors,
.messages {
  max-width: 400px;
  margin: 1rem auto 0;
  text-align: left;
}

.message {
  border-radius: 8px;
  padding: 1rem;
}

.message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.booking-login-note {
  font-size: 1rem;
}

.service-area ul {
  margin: 1.5rem 0 0;
  color: #222;
  font-size: 1.1rem;
}

.service-area li + li {
  margin-top: 0.4rem;
}

.map-placeholder {
  margin-top: 2rem;
  border-radius: 12px;
  padding: 2rem;
  color: #bbb;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
  font-style: italic;
  margin-bottom: 25px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 1.05rem;
  color: #2c3e50;
  font-weight: 600;
}

.user-role {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-top: 2px;
}

.review-item {
  font-style: italic;
}

.review-submit-section {
  padding: 3rem 1rem;
}

.review-submit-card {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.review-form {
  text-align: left;
}

.review-form label {
  display: block;
  font-weight: 600;
  color: #FFE600;
  text-align: left;
}

.review-form textarea,
.review-form select {
  width: 100%;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.rating-options .rating-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #333;
}

.review-item span {
  display: block;
  margin-top: 1rem;
  color: #FFE600;
  font-weight: 600;
}

.review-item strong {
  display: block;
  color: #ff9800;
  font-style: normal;
  margin-top: 0.75rem;
}

.faq-list {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: left;
}

.faq-item {
  border-radius: 12px;
  padding: 1.2rem 1.2rem 0.7rem;
  margin-bottom: 1.2rem;
}

.faq-item h4 {
  margin: 0 0 0.5rem;
  color: #FFE600;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  margin: 0.3rem 0;
  font-size: 1.1rem;
}

.safety ul {
  margin: 2rem auto 0;
  max-width: 600px;
  text-align: left;
}

.safety li {
  border-radius: 12px;
  padding: 1.2rem 1.2rem 0.7rem;
  margin-bottom: 1.2rem;
  color: #222;
}

.safety strong {
  color: #FFE600;
}

.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1.2rem 0 0.7rem;
  font-size: 1rem;
  margin-top: 2rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #FFE600;
}

.footer-links span {
  color: #fff;
  margin: 0 0.3rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.dark-mode {
  background: #181a1b;
  color: #f4f8fb;
}

body.dark-mode .navbar,
body.dark-mode .footer,
body.dark-mode .service-area,
body.dark-mode .about,
body.dark-mode .services,
body.dark-mode .pricing,
body.dark-mode .booking,
body.dark-mode .reviews,
body.dark-mode .review-submit-section,
body.dark-mode .faq,
body.dark-mode .contact,
body.dark-mode .safety,
body.dark-mode main {
  background: #181a1b;
  color: #f4f8fb;
}

body.dark-mode .homepage {
  background: linear-gradient(120deg, #15181a 0%, #1f2529 100%);
}

body.dark-mode .homepage h1,
body.dark-mode .tagline,
body.dark-mode .highlights,
body.dark-mode .service-area ul,
body.dark-mode .faq-list,
body.dark-mode .contact-info a,
body.dark-mode .navbar-title,
body.dark-mode .navbar-links a {
  color: #f4f8fb;
}

body.dark-mode .service-item,
body.dark-mode .pricing-item,
body.dark-mode .review-item,
body.dark-mode .faq-item,
body.dark-mode .safety li,
body.dark-mode .map-placeholder,
body.dark-mode .booking-form input,
body.dark-mode .booking-form textarea,
body.dark-mode .booking-form select,
body.dark-mode .review-form textarea,
body.dark-mode .review-form select,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .signup-form input {
  background: #23272a;
  color: #f4f8fb;
  border-color: #3f4b52;
}

body.dark-mode .booking-form input,
body.dark-mode .booking-form textarea,
body.dark-mode .booking-form select,
body.dark-mode .review-form textarea,
body.dark-mode .review-form select,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .signup-form input {
  border-color: #3f4b52;
}

body.dark-mode .footer-links a,
body.dark-mode .navbar-title .den,
body.dark-mode .navbar-links a:hover,
body.dark-mode .contact-info a:hover {
  color: #FFE600;
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
    gap: 0.7rem;
  }

  .navbar-logo {
    flex: 1 1 auto;
  }

  .navbar-title {
    font-size: clamp(1.05rem, 3.2vw, 1.3rem);
    letter-spacing: 0.06em;
  }

  .navbar-menu-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 120;
  }

  .mobile-dark-toggle {
    display: inline-flex;
    position: absolute;
    top: -2px;
    right: -4px;
    margin-left: 0;
    padding: 0.2rem 0.35rem;
    font-size: 0.62rem;
    line-height: 1;
    border-radius: 999px;
    min-width: auto;
  }

  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.08);
    z-index: 110;
    width: 100%;
  }

  .navbar-links.open {
    max-height: 700px;
    padding: 0.75rem 0;
  }

  .navbar-links li {
    width: 100%;
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid #eee;
  }

  .navbar-links a {
    width: 100%;
    display: block;
    color: #3a3a3a;
    font-size: 1rem;
  }

  .navbar-auth {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .desktop-dark-toggle {
    display: none;
  }

  body.dark-mode .navbar-links {
    background: #23272a;
  }

  body.dark-mode .navbar-links li {
    border-bottom-color: #31363a;
  }
}

@media (max-width: 700px) {
  .about-content,
  .services-list,
  .pricing-table,
  .reviews-list {
    flex-direction: column;
    gap: 1rem;
  }

  .services-list,
  .pricing-table,
  .reviews-list {
    align-items: center;
  }

  .service-item,
  .pricing-item,
  .review-item {
    width: min(100%, 340px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .homepage h1 {
    font-size: 2rem;
  }

  .homepage-content {
    padding: 0 1rem;
  }

  .navbar {
    gap: 0.75rem;
  }

  .navbar-logo {
    flex: 1 1 auto;
  }

  .navbar-auth {
    justify-content: flex-start;
  }

  .dark-toggle {
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
  }

  .about-content,
  .services-list,
  .pricing-table,
  .reviews-list,
  .faq-list {
    width: 100%;
  }

  .booking-form,
  .review-form,
  .contact-form,
  .signup-form {
    max-width: 100%;
  }
}
