body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7fa;
  color: #111;
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0d213b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-logo-wrapper {
  text-align: center;
  padding: 1rem 0 0.5rem;
  background-color: #0d213b;
}

.center-logo {
  height: 100px;
  max-width: 200px;
  object-fit: contain;
  background: white;
  padding: 6px;
  border-radius: 6px;
}

nav {
  background-color: #0d213b;
  padding: 1.2rem 20px;
  border-bottom: 3px solid #fcb900;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  font-weight: bold;
  font-size: 0.95rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links li a:hover {
  background-color: #fcb900;
  color: #000;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #0b2447;
  padding: 10px;
  border-radius: 4px;
  top: 130%;
  left: 0;
  z-index: 1001;
  min-width: 240px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
  list-style: none;
}


/* Hero Section */
.hero-block {
  /* background: linear-gradient(to right, #1a2e47, #234472);
  color: white; */
  padding: 0px 20px 30px;
  text-align: center;
}

.hero-block h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-big {
  background: #fcb900;
  color: #000;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  transition: background-color 0.3s;
}

.cta-big:hover {
  background: #e6a800;
}

.hero-subtext {
  font-size: 0.95rem;
  color: #ccc;
}


/* General Sections */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

/* How it Works Section */
.how-it-works {
  background: #fff;
  text-align: center;
}

.steps-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.step {
  max-width: 220px;
  width: 100%;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.step img {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
}

/* Main Content (Two Columns) */
.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

.left-content {
  flex: 2;
  min-width: 300px;
}

.right-box {
  flex: 1;
  min-width: 280px;
}

.call-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.call-box h3 {
  margin: 10px 0;
}

.btn-call,
.btn-price {
  display: block;
  margin: 10px auto;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-call {
    background: #d62828;
}

.btn-price {
  background: #0077cc;
}

/* Local Test Centres */
.test-centres {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.test-centres-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.test-box {
  background: #f9f9f9;
  padding: 20px 25px;
  max-width: 300px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.test-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.test-box p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

.test-box a.link-btn {
  display: inline-block;
  margin-top: 10px;
  color: #0056b3;
  text-decoration: underline;
  font-weight: 600;
}

/* About Page */
.fancy-about {
  background: #f8fafd;
  padding: 4rem 2rem;
  line-height: 1.7;
}

.fancy-about .container {
  max-width: 900px;
  margin: 0 auto;
}

.fancy-about h1,
.fancy-about h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0d213b;
}

.fancy-about .intro-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.fancy-about ul {
  list-style-type: none;
  padding: 0;
  margin: 2rem 0;
}

.fancy-about ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.fancy-about ul li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #28a745;
}

.fancy-about .highlight {
  margin-top: 2rem;
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
}

.cta-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-secondary {
  background-color: #ffc107;
  color: #000;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #e0a800;
}


/* Services Page */
.services-section {
  padding: 4rem 2rem;
  background: #f5f9fc;
  text-align: center;
}

.services-section .container {
  max-width: 960px;
  margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-card h2 a {
  color: #007bff;
  text-decoration: none;
  font-size: 1.4rem;
}

.service-card h2 a:hover {
  text-decoration: underline;
}

/* Dual Control Hire Page */
.why-choose-us {
  text-align: center;
  padding: 40px 20px;
  border-top: 3px solid #f4b400;
  border-bottom: 3px solid #f4b400;
  background-color: #f9fbfd;
}

.benefits-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 30px;
}

.benefit {
  text-align: center;
  max-width: 150px;
}

.benefit img {
  margin-bottom: 10px;
  max-width: 60px;
}

.car-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.car-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.car-card img {
  border-radius: 6px;
  width: 100%;
  height: auto;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.car-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d213b;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
}

.price-grid {
  display: flex;
  justify-content: space-between;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.price-box {
  flex: 1;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-right: 1px solid #ddd;
  font-weight: 600;
  font-size: 0.9rem;
}

.price-box:last-child {
  border-right: none;
}

.rds-offer-box {
  background: #fff3e0;
  border-left: 4px solid #ffa500;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  font-size: 0.92rem;
}

.rds-offer-box .rds-heading {
  color: #d84315;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rds-offer-box ul {
  padding-left: 1.2rem;
  margin: 0;
}

.rds-offer-box .rds-cta {
  margin-top: 0.5rem;
  color: #006400;
  font-weight: 600;
}

.car-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.car-features span {
  background: #f0f0f0;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.85rem;
}

.car-card .btn {
  background: #0077cc;
  color: #fff;
  font-weight: bold;
  padding: 12px 22px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
}

.car-card .btn:hover {
  background: #005fa3;
}

/* Instructor Form */
.instructor-form {
  /* max-width: 600px; */
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.instructor-form div {
  display: flex;
  flex-direction: column;
}

.instructor-form input,
.instructor-form select,
.instructor-form textarea {
  padding: 0.7rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.instructor-form button {
  padding: 0.8rem 1.5rem;
  background: #0d213b;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
}

/* Pricing Page */
.pricing .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing .card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
}
.nav-links a.active {
    background-color: #fcb900; 
    color: #000;
    font-weight: bold;
}
/* Contact Page */
.contact-page {
    text-align: center;
}
.contact-page p {
    margin-bottom: 2rem;
}
.contact-page a {
    background-color: #28a745;
    color: #fff;
    padding: 15px 25px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}
.contact-page a:nth-of-type(2) {
    background-color: #17a2b8;
}
.contact-page a:hover {
    opacity: 0.9;
}

/* Reviews Page */
.reviews-page h1 {
    text-align: center;
}
.reviews-page .intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.review-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.review-links a {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    min-width: 200px;
    text-align: center;
}
.review-links a.google {
    background-color: #db4437;
}
.review-links a.trustpilot {
    background-color: #00b67a;
}

/* Footer */
footer {
  background-color: #0d213b;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Mobile Responsive Styles */
#mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
#mobile-menu-button svg {
    fill: #fff;
}

/* === Additions for New & Redesigned Pages === */

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0d213b;
}

/* Visual Hero Section */
.visual-hero {
  background: linear-gradient(rgba(13, 33, 59, 0.7), rgba(13, 33, 59, 0.7)), url('assets/road-background.jpg') no-repeat center center/cover;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}
.visual-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.visual-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Section */
.feature-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: #fff;
}
.feature-item {
  background-color: #f9fbfd;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.feature-item i {
  color: #0077cc;
  margin-bottom: 1rem;
}
.feature-item h3 {
  font-size: 1.4rem;
  color: #0d213b;
  margin-bottom: 0.5rem;
}
.feature-item a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  color: #0077cc;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.feature-item a:hover {
  border-color: #0077cc;
}


/* Fast Track Booking Page Styles */
.fast-track-section {
  padding: 60px 20px;
  background-color: #f4f7fa;
}
.fast-track-section .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.fast-track-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 1rem;
}
.fast-track-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}
.booking-form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.test-centre-selector select {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 1rem center;
  background-size: .65em auto;
}
.test-centre-info {
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.test-centre-info a {
  color: #0077cc;
}
.subscription-box {
  background-color: #333;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.subscription-box span {
  font-weight: bold;
}
.subscribe-btn {
  background-color: #fcb900;
  color: #111;
  border: 1px solid #fcb900;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.subscribe-btn:hover {
  background-color: #fff;
  color: #111;
}
.booking-terms {
  margin-top: 3rem;
  text-align: left;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* === Additions for Testimonials on Reviews Page === */

.testimonials-section {
  padding: 40px 20px;
  background-color: #fff;
  margin-top: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.testimonial-card .stars {
  color: #fcb900; /* Gold color for stars */
  margin-bottom: 1rem;
}

.testimonial-card .stars i {
    margin-right: 2px;
}

.testimonial-card .review-text {
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}

.testimonial-card .reviewer-name {
  font-weight: bold;
  color: #555;
  text-align: right;
}

.dropdown > a {
    position: relative;
  }
@media (max-width: 768px) {
    .top-logo-wrapper {
        display: none; /* Hide top logo on mobile nav */
    }
    nav {
        justify-content: space-between;
    }
    .nav-logo {
        display: block !important;
        height: 50px;
    }
    #mobile-menu-button {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 85px; /* Adjust based on nav height */
        left: 0;
        width: 100%;
        background-color: #0d213b;
        padding: 0;
    }
    .nav-links.open {
        display: flex;
        z-index: 1000;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        border-top: 1px solid #1c365f;
    }
    .nav-links a {
        padding: 1rem;
        text-align: left;
        display: block;
    }
    .dropdown-menu {
        position: static;
        display: none;
        background: #0d213b;
        border: none;
        box-shadow: none;
        padding-left: 20px;
        padding: 0px 10px !important;
    }
    .dropdown:hover .dropdown-menu {
        display: none; 
    }
    .dropdown.open .dropdown-menu {
        display: block; 
    }

    .nav-links {
        display: none; /* Hide nav links by default on mobile */
        flex-direction: column;
        width: 100%;
      }

      .nav-links.open {
        display: flex; /* Show menu when 'open' class is added */
      }

    .dropdown .dropdown-menu {
      display: none; 
      position: static;
      width: 100%;
      box-shadow: none;
    }

    .dropdown.open .dropdown-menu {
      display: block; /* Show submenu when parent is 'open' */
    }
    
    /* Arrow indicator for the dropdown link */
    .dropdown > a::after {
      content: '▼';
      font-size: 0.7em;
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
    }

    .dropdown.open > a::after {
      transform: translateY(-50%) rotate(180deg); /* Flip arrow when open */
    }

    .hero-block h1 {
        font-size: 2rem;
    }
    .main-content, .test-centres-grid{
        flex-direction: column;
        align-items: center;
    }
    .fast-track-title {
      font-size: 1.8rem;
    }
    .visual-hero-content h1 {
      font-size: 2.2rem;
    }
    .subscription-box {
      flex-direction: column;
      text-align: center;
    }

    .nav-links{
      gap: 0px;
    }

    .benefit img{
      margin-bottom: 5px;
      max-width: 50px;
    }

  .hEmOds{
    margin: 0px 20px;  
  }
}