/* Global Reset + Modern Font */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff; /* make it clean white */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Prevent images from causing overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gray-bg {
  background-color: #f8f8f8;
}

.caption-content h2,
.cta-block h2,
.services h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-button,
form button {
  cursor: pointer;
}

/* Header/Nav */
header {
    background-color: #8B0000;
    color: white;
    background: linear-gradient(to bottom, #8B0000, #a60000);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.top-bar {
    background-color: #b30000;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.top-bar p {
    margin: 0;
}

.top-bar a {
    color: #ffffff;
    text-decoration: underline;
}
.top-bar a:hover {
    color: #dddddd;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

nav h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

nav h1 a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.nav-logo {
    height: 65px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}
nav a:hover {
    text-decoration: underline;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}



.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    width: 100%;
    max-width: 100%;
}

.swiper-slide {
    aspect-ratio: 16 / 6;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.carousel-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.caption-content {
    position: absolute;
    z-index: 2;
    color: white;
    text-align: left;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.2) 100%);
    backdrop-filter: blur(1px);
}

.caption-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-width: 600px;
    color: #ffffff;
}

.caption-content p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    max-width: 600px;
    color: #f0f0f0;
}

.caption-content .cta-button {
    width: auto;
    max-width: fit-content;
    display: inline-block;
}

.cta-button {
    display: inline-block;
    background: #b30000;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    text-shadow: none;
    width: auto;
    max-width: fit-content;
}
.cta-button:hover {
    background: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Services Section */
.services {
    max-width: 1000px;
    margin: auto;
    padding: 3rem 1rem;
    text-align: center;
      margin-bottom: 2rem; /* 👈 Add this */

}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 0 2rem;
  margin-top: 2rem;
}
.service-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.service-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.service-box i {
    font-size: 2rem;
    color: #b30000;
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-box p {
    font-size: 1rem;
    color: #777;
}
.top-bar a {
  color: #ffffff;
  text-decoration: none; /* removes underline */
  font-weight: 500;
}

.top-bar a:hover {
  color: #dddddd;
  text-decoration: none;
}

/* CTA Block */
.cta-block {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #b30000;
    color: white;
}

.cta-block h2 {
    font-size: 2rem;
}

.cta-block p {
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* Map Section */
.map-section {
    padding: 3rem 1rem;
    background-color: #f8f8f8;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.map-section h2 {
    margin-bottom: 1.5rem;
}

.map-section iframe {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* General Sections */
section {
    padding: 3rem  1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

section:nth-child(even) {
    background-color: #f8f8f8;
}

/* Remove gray background from sections with images */
.hero-carousel,
.partners-section,
.about-content {
    background-color: #ffffff !important;
}

.intro, .about, .contact {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}


/* Form Styling */
form label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #b30000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
form button:hover {
    background-color: #8B0000;
}

/* Footer */
footer {
    background-color: #444;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #8B0000;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    nav {
        position: relative;
    }
}
footer {
  background-color: #222;
  color: #eee;
  padding: 3rem 1rem;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-logo {
  height: 120px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}
footer a {
  color: #fff; /* or #ddd for a softer white */
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: #ffcccc; /* optional soft red on hover */
  text-decoration: underline;
}
.about-hero {
  background: url('truck.jpeg') center/cover no-repeat;
  padding: 6rem 1rem;
  text-align: center;
  color: white;
  background-blend-mode: darken;
  background-color: rgba(0,0,0,0.5);
}

.about-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.4rem;
  color: #b30000;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-text h3 i {
  font-size: 1.2rem;
}

.about-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
    color: #666;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-block {
  background-color: #b30000 !important;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.contact-section {
  padding: 4rem 1rem;
  background-color: #f8f8f8;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
  flex: 1;
  min-width: 260px;
}

.contact-info a {
  color: #b30000;
  text-decoration: none;
  font-weight: 500;
}
.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1;
  min-width: 260px;
}

.contact-form form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1.5rem;
}

/* Credentials/Trust Indicators Section */
.credentials-section {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  padding: 4rem 1rem;
  margin: 2rem 0;
}

.credentials-container {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.credential-item {
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.credential-item i {
  font-size: 2.5rem;
  color: #b30000;
  margin-bottom: 1rem;
  display: block;
}

.credential-item h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: #333;
  font-weight: 600;
}

.credential-item p {
    color: #888;
  font-size: 0.95rem;
  margin: 0;
}

/* Contact Details Styling */
.contact-details {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
}

.contact-details p {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-details i {
  color: #b30000;
  margin-right: 0.5rem;
  width: 20px;
}

.contact-details a {
  color: #b30000;
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Business Hours Styling */
.business-hours {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid #b30000;
}

.business-hours h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.business-hours h3 i {
  color: #b30000;
  margin-right: 0.5rem;
}

.business-hours p {
  margin: 0.5rem 0;
  color: #555;
  font-size: 0.95rem;
}

.business-hours em {
  color: #b30000;
  font-style: normal;
  font-weight: 500;
}

/* Enhanced Typography */
h2 {
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

h3 {
  font-weight: 600;
  color: #333;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced Button Hover Effects */
.cta-button {
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(179, 0, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 0, 0, 0.4);
}

/* Professional Form Enhancements */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #b30000;
  box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Partners Section */
.partners-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.partners-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 3rem;
  font-weight: 600;
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  animation: slide-left 30s linear infinite;
  gap: 4rem;
  align-items: center;
  width: fit-content;
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 0 2rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.partner-logo img {
  max-height: 80px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Enhanced Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Driver Application Styles */
.driver-hero {
  background: linear-gradient(135deg, #8B0000 0%, #b30000 100%);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.driver-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.driver-hero-content h1 i {
  font-size: 2.5rem;
}

.driver-hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.driver-application-section {
  padding: 4rem 1rem;
  background-color: #f8f8f8;
}

.driver-application-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.application-info {
  flex: 1;
  min-width: 300px;
}

.application-info h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.application-info > p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.application-requirements,
.application-benefits {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.application-requirements h3,
.application-benefits h3 {
  color: #b30000;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.application-requirements ul,
.application-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.application-requirements li,
.application-benefits li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
    color: #666;
  font-size: 1rem;
}

.application-requirements li i,
.application-benefits li i {
  color: #b30000;
  width: 20px;
}

.driver-application-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.driver-application-form h3 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.driver-application-form label {
  display: block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.driver-application-form label:first-of-type {
  margin-top: 0;
}

.driver-application-form label i {
  color: #b30000;
  margin-right: 0.5rem;
}

.required {
  color: #b30000;
}

.file-hint {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
    color: #888;
  margin-top: 0.25rem;
}

.driver-application-form input[type="text"],
.driver-application-form input[type="email"],
.driver-application-form input[type="tel"],
.driver-application-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.driver-application-form input:focus,
.driver-application-form textarea:focus {
  outline: none;
  border-color: #b30000;
  box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.1);
}

.driver-application-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* File Upload Styling */
.file-upload-wrapper {
  margin-top: 0.5rem;
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 2px dashed #b30000;
  border-radius: 8px;
  background-color: #fff5f5;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.file-upload-label:hover {
  background-color: #ffe5e5;
  border-color: #8B0000;
}

.file-upload-label i {
  font-size: 2.5rem;
  color: #b30000;
  margin-bottom: 0.5rem;
}

.file-upload-text {
    color: #888;
  font-size: 0.95rem;
}

.file-name-display {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333;
  font-size: 0.95rem;
}

.file-name-display i {
  color: #b30000;
  margin-right: 0.5rem;
}

.remove-file {
  background: #b30000;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 1rem;
  transition: background 0.3s ease;
}

.remove-file:hover {
  background: #8B0000;
}

.driver-submit-btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.driver-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 0, 0, 0.4);
}

.driver-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.footer-col p {
  line-height: 1.8;
  margin: 0.5rem 0;
}

/* Professional Section Spacing */
section {
  padding: 4rem 1rem;
}

.intro {
  padding: 3rem 1rem;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Enhanced Service Boxes */
.service-box {
  transition: all 0.3s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Professional Header Enhancement */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  text-decoration: none;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  /* Top Bar */
  .top-bar {
    font-size: 0.8rem;
    padding: 0.4rem;
  }

  .top-bar p {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .top-bar a {
    display: inline-block;
  }

  /* Navigation */
  nav h1 {
    font-size: 1.5rem;
  }

  .nav-logo {
    height: 50px;
    max-width: 180px;
  }

  /* Hero Carousel */
  .swiper-slide {
    aspect-ratio: 16 / 9;
  }

  .caption-content {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: none;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .caption-content h2 {
    font-size: 2rem !important;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .caption-content p {
    font-size: 1rem !important;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }

  .caption-content .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Sections */
  section {
    padding: 2rem 1rem !important;
  }

  .intro {
    padding: 2rem 1rem;
  }

  .intro h2 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 1rem;
  }

  /* Services */
  .services h2 {
    font-size: 1.8rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .service-box {
    max-width: 100%;
    min-width: auto;
  }

  /* CTA Block */
  .cta-block {
    padding: 2rem 1rem;
  }

  .cta-block h2 {
    font-size: 1.6rem;
  }

  .cta-block p {
    font-size: 1rem;
  }

  .cta-block i {
    font-size: 1.5rem !important;
  }

  /* About Page */
  .about-hero {
    padding: 4rem 1rem;
  }

  .about-hero h2 {
    font-size: 1.8rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-content {
    flex-direction: column;
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .about-text h3 {
    font-size: 1.2rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  /* Contact Page */
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-container {
    flex-direction: column;
    padding: 1.5rem;
  }

  .contact-info,
  .contact-form {
    min-width: 100%;
  }

  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-details p {
    font-size: 0.9rem;
    margin: 0.8rem 0;
  }

  .business-hours {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .business-hours h3 {
    font-size: 1.1rem;
  }

  .business-hours p {
    font-size: 0.85rem;
  }

  /* Credentials */
  .credentials-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .credential-item {
    padding: 1.5rem 0.5rem;
  }
  
  .credential-item i {
    font-size: 2rem;
  }
  
  .credential-item h3 {
    font-size: 1.2rem;
  }

  .credential-item p {
    font-size: 0.85rem;
  }

  /* Map */
  .map-section {
    padding: 2rem 1rem;
  }

  .map-section h2 {
    font-size: 1.6rem;
  }

  .map-section iframe {
    height: 250px;
  }

  /* Partners Section Mobile */
  .partners-section {
    padding: 3rem 1rem;
    background-color: #ffffff !important;
  }

  .partners-section h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  /* Remove gray backgrounds from image sections on mobile */
  .hero-carousel,
  .about-content {
    background-color: #ffffff !important;
  }

  .partner-logo {
    height: 70px;
    padding: 0 1.5rem;
  }

  .partner-logo img {
    max-height: 60px;
    max-width: 120px;
  }

  .partners-track {
    gap: 2rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col h4 {
    font-size: 1.1rem;
    text-align: center;
  }

  .footer-logo {
    height: 90px;
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }

  .footer-col p,
  .footer-col a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    margin-top: 1.5rem;
  }

  /* Forms */
  form input,
  form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  form button {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
  }

  /* Driver Application Mobile */
  .driver-hero-content h1 {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .driver-hero-content h1 i {
    font-size: 2rem;
  }

  .driver-hero-content p {
    font-size: 1rem;
  }

  .driver-application-container {
    flex-direction: column;
    gap: 2rem;
  }

  .application-info,
  .driver-application-form {
    min-width: 100%;
  }

  .driver-application-form {
    padding: 1.5rem;
  }

  .application-requirements,
  .application-benefits {
    padding: 1.5rem;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .top-bar {
    font-size: 0.75rem;
  }

  nav h1 {
    font-size: 1.3rem;
  }

  .caption-content h2 {
    font-size: 1.3rem !important;
  }

  .caption-content p {
    font-size: 0.85rem !important;
  }

  .credentials-container {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 1rem;
  }

  .cta-block h2 {
    font-size: 1.4rem;
  }

  .about-hero h2 {
    font-size: 1.5rem;
  }

  .contact-info h2 {
    font-size: 1.4rem;
  }

  section {
    padding: 1.5rem 0.75rem !important;
  }
}