body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    transition: opacity 0.3s ease-in-out;
}

#menu-toggle span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 7px auto;
    background-color: #334155;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}
#menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
#menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
a, button, .transition-all {
    transition: all 0.3s ease-in-out;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    background-color: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    border-width: 1px;
     box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
     width: 100%;
}
 input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
     outline: 2px solid transparent;
     outline-offset: 2px;
     --tw-ring-color: #0ea5e9;
     box-shadow: 0 0 0 2px var(--tw-ring-color), 0 1px 2px 0 rgb(0 0 0 / 0.05);
     border-color: #0ea5e9;
     background-color: #ffffff;
}
 label {
    color: #475569;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
}
 ::placeholder {
     color: #94a3b8;
}
.form-radio,
.form-checkbox {
    appearance: none;
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #cbd5e1;
    background-color: white;
    margin-right: 0.5rem;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.form-radio {
     border-radius: 50%;
}
.form-checkbox {
     border-radius: 0.25rem;
}

.form-radio:checked,
.form-checkbox:checked {
    border-color: #0ea5e9;
    background-color: #0ea5e9;
}
 .form-radio:checked::after {
    content: '';
    display: block;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.form-checkbox:checked::after {
     content: '✓';
     display: block;
     color: white;
     font-size: 0.875rem;
     font-weight: bold;
     text-align: center;
     line-height: 1.1;
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
 }

.form-choice-label {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #475569;
}
/* Style for the hero image container */
.hero-image-container {
    position: relative; /* Needed for overlay */
    background-image: url('images/road-7087955_1280.jpg'); /* Placeholder driving scene */
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-image-container > * {
    position: relative; /* Ensure text is above overlay */
    z-index: 3;
}

/* Improve button contrast */
.bg-orange-500, .hover\:bg-orange-600:hover {
    color: #fff;
}
.text-red-600 {
    color: #d90429 !important;
}

/* Add aria-live region for form feedback */
[aria-live] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.custom-shadow {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.nav-link.active {
  color: #0ea5e9; /* sky-600 */
  border-bottom: 2px solid #f97316; /* orange-500 */
  background: rgba(14, 165, 233, 0.07); /* subtle highlight */
}

.google-logo {
  font-family: 'Product Sans', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.5px;
  display: inline-block;
}
.google-g { color: #4285F4; }
.google-o1 { color: #EA4335; }
.google-o2 { color: #FBBC05; }
.google-l { color: #34A853; }
.google-e { color: #EA4335; }

.learner-logo-fa {
  position: relative;
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  vertical-align: middle;
  margin: 0 0.2em;
}
.learner-logo-fa .fa-square {
  color: #e0f7fa;
  font-size: 1.7em;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(15deg);
}
.learner-logo-fa .learner-l {
  color: #e53935;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 1.1em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
  z-index: 2;
  letter-spacing: -0.05em;
}

/* Fix overlapping issue in the mobile menu */
header .md\:hidden.flex.items-center {
    justify-content: space-between; /* Ensure proper spacing between elements */
    align-items: center; /* Align items vertically */
}

header .md\:hidden .bg-orange-500 {
    margin-right: 12px; /* Increase spacing between the call button and other elements */
}

header .learner-logo-fa {
    margin-left: 8px; /* Increase spacing to prevent overlap with the call button */
    flex-shrink: 0; /* Prevent the logo from shrinking */
}

header .md\:hidden #menu-toggle {
    margin-left: auto; /* Push the menu toggle button to the far right */
    flex-shrink: 0; /* Prevent the toggle button from shrinking */
}
