/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
}

h1 {
    margin: 0;
}

article h1,
aside h1,
nav h1,
section h1 {
  font-size: 2em;
}

/* ==========================================================================
   Global & Reusable
   ========================================================================== */

.highlight-grey {
    color: #292E32;
}

.highlight-green {
    color: #008C00;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Header Section
   ========================================================================== */

header {
    background-color: #ffffff;
    color: #333;
    text-align: left;
    padding: 1px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem;
    background-color: #ffffff;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 105px;
    padding-left: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    padding-right: 100px;
    margin: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-links li a:hover {
    color: #008C00;
    border-bottom: 2px solid #008C00;
}

.nav-links li a.cta-button {
    color: #ffffff;
    padding: 10px 20px;
}

.nav-links li a.cta-button:hover {
    color: #ffffff;
    border-bottom: none;
}


.dropdown {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 150px;
}

@media (min-width: 769px) and (hover: hover) {
    .nav-links li:hover .dropdown {
        display: block;
    }
}

.dropdown a {
    color: #000;
    padding: 10px;
    display: block;
    text-decoration: none;
    font-size: 1rem;
}

.dropdown a:hover {
    background-color: #f1f1f1;
    color: #008C00;
    border-radius: 5px;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    padding-right: 5px;
}

.burger div {
    width: 30px;
    height: 4px;
    background-color: rgb(29, 133, 51);
    border-radius: 5px;
    transition: 0.3s ease;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================================================
   Responsive Styles (Mainly Mobile)
   ========================================================================== */

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        position: fixed;
        top: 115px;
        right: 0;
        width: 100%;
        height: calc(100vh - 115px);
        overflow-y: auto;
        padding-bottom: 50px;
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        padding-right: 0;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }
    
    .nav-links li {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }
    
    .burger {
        display: flex;
    }

    /* --- MOBILE DROPDOWN STYLES --- */
    .dropdown {
        /* This hides the dropdown by default on mobile */
        display: none; 
        
        position: static; /* Behaves like a normal element in the flow */
        box-shadow: none;
        background-color: #eaf2eb; /* Light green background for visibility */
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 5px;
      }

    /* This class will be toggled by JavaScript to show the dropdown */
    .nav-links li .dropdown.active {
        display: block;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    /* --- END MOBILE DROPDOWN STYLES --- */

    .dropdown a {
        padding: 15px;
        text-align: center;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

footer {
    background-color: #292E32;
    color: #f4f4f4;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
    margin-top: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

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

.footer-section li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-section li i {
    margin-right: 10px;
    color: #008C00;
}

.footer-section a {
    color: #f4f4f4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #008C00;
}

.footer-section address {
    font-style: normal;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #f4f4f4;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #008C00;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
}

/* ==========================================================================
   Main Content & Forms
   ========================================================================== */

.main-content {

}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.vehicle-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.uk-reg-badge {
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #00247d;
    color: white;
    font-weight: bold;
    padding: 0 10px;
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    width: 45px;
    box-sizing: border-box;
}

.uk-flag {
    width: 28px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v30H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0h60v30H0z' fill='%2300247d'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23cf142b' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23cf142b' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2px;
}

.uk-text {
    font-size: 14px;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

input[name="registration"],
input[name="postcode"] {
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #333;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: black;
    background-color: #ffffff;
    letter-spacing: 2px;
    box-sizing: border-box;
    width: 100%;
    height: 54px;
}

input[name="registration"] {
    padding-left: 65px;
}

.cta-button {
    display: inline-block;
    background-color: #008C00;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #292E32;
    color: #ffffff;
}

.vehicle-form .cta-button {
    width: 100%;
    max-width: 350px;
    margin-top: 10px;
}


/* ==========================================================================
   Home Page & Reusable Sections
   ========================================================================== */

.hero-bg {
    background-image: url('../imgs/car-recycling-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.info-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.info-item:hover {
    transform: translateY(-10px);
    transition: transform 0.3s;
}

.info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #292E32;
}

.info-item p {
    font-size: 1rem;
    color: #555;
}

.info-item .info-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.star-rating {
    display: flex;
    justify-content: center;
}

.star-rating .info-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
    background-color: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #292E32;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step {
    background-color: #ffffff;
    padding: 40px 20px 20px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #292E32;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #f4f4f4;
}

.step h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #008C00;
}

.step p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Mission Statement Section
   ========================================================================== */

.mission-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.mission-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mission-content {
    flex: 1;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.mission-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mission-features li {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.mission-features i {
    color: #008C00;
    margin-right: 10px;
    margin-top: 5px;
}

.mission-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Founder & Sustainability Section
   ========================================================================== */

.founder-sustainability-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.fs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.fs-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.fs-card h3 {
    font-size: 1.8rem;
    color: #292E32;
    margin-top: 0;
    margin-bottom: 15px;
}

.fs-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 12px;
}

.founder-portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #008C00;
    object-fit: cover;
    margin: 0 auto 15px auto;
}

.sustainability-details {
    margin-top: auto;
    padding-top: 15px;
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    align-items: center;
    gap: 15px;
}

.sustainability-details h4,
.sustainability-details p {
    margin: 0;
    text-align: center;
}

.sustainability-details h4 {
    font-size: 1.1rem;
    color: #292E32;
}

.fs-card .cta-button {
    display: block;
    width: auto;
    margin-top: 20px;
}

/* ==========================================================================
   Customer Reviews Section
   ========================================================================== */

.reviews-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-card p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.review-card p:last-child {
    margin-bottom: 0;
}

.google-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.google-badge img {
    max-width: 150px;
    height: auto;
}

.google-badge p {
    margin: 0;
    font-weight: bold;
    color: #555;
}

/* ==========================================================================
   Latest Video Section
   ========================================================================== */

.latest-video-section {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.video-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.video-text {
    flex: 1;
}

.video-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.video-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-text a {
    color: #008C00;
    font-weight: bold;
    text-decoration: none;
}

.video-text a:hover {
    text-decoration: underline;
}

.video-wrapper {
    position: relative;
    padding-bottom: 28.6%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    -webkit-transform: translateZ(0);
    
    flex: 1;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Latest Blogs Section
   ========================================================================== */

.latest-blogs-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.latest-blogs-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.blog-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
}

.blog-content h3 a {
    text-decoration: none;
    color: #292E32;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: #008C00;
}

.blog-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.blog-item .read-more {
    display: block;
    margin: 0;
}


/* ==========================================================================
   Areas We Cover Page Styles
   ========================================================================== */

.hero-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.hero-section h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0 20px;
}

.search-input {
  width: 100%;
  max-width: 600px;
  padding: 12px 20px;
  font-size: 1.1em;
  border: 2px solid #ddd;
  border-radius: 50px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: #008C00;
  box-shadow: 0 0 8px rgba(0, 140, 0, 0.2);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.area-group {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 15px;
}

.area-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.area-group h3 {
  margin-top: 0;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.area-group ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.area-group li {
  margin-bottom: 8px;
}

.area-group h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.area-group h3 a:hover {
    color: #292E32;
}

.area-link {
  display: block;
  text-decoration: none;
  color: #008C00;
  font-size: 1.05em;
  padding: 8px 0;
  transition: color 0.2s;
}

.area-link:hover {
  color: #292E32;
}

#no-results-message {
  font-style: italic;
  color: #777;
  grid-column: 1 / -1;
  padding: 20px;
}

.areas-grid-container {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

#areas-map {
    height: 600px;
    flex: 2;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.areas-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.area-list {
    overflow-y: auto;
    max-height: 550px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

#county-map {
    height: 600px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    text-shadow: 1px 1px 2px black;
}

/* ==========================================================================
   Sustainability Page
   ========================================================================== */
.sustainability-feature {
    padding: 60px 0;
}
.bg-white { background-color: #fff; }
.bg-light-grey { background-color: #f4f4f4; }

.sustainability-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sustainability-text h2 {
    font-size: 2.2rem;
    color: #292E32;
    margin-top: 0;
    margin-bottom: 15px;
}

.sustainability-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.sustainability-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.sustainability-mission {
    padding: 60px 0;
    text-align: center;
}

.sustainability-mission h2 {
    font-size: 2.2rem;
}

.sustainability-mission .mission-features {
    max-width: 800px;
    margin: 30px auto 0 auto;
    text-align: left;
}

@media (min-width: 993px) {
    .sustainability-row.row-reverse .sustainability-image {
        grid-column: 1;
        grid-row: 1;
    }
    .sustainability-row.row-reverse .sustainability-text {
        grid-column: 2;
        grid-row: 1;
    }
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */
.faq-page-section {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 900px;
}

.faq-category-title {
    font-size: 2rem;
    color: #292E32;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.faq-category-title:first-of-type {
    margin-top: 0;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: #008C00;
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    line-height: 1.6;
}

/* ==========================================================================
   Join Our Network Page
   ========================================================================== */

.join-network-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.join-intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.join-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.join-details h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.join-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.join-features-list li {
    font-size: 1.1rem;
}

.join-features-list h4 {
    display: flex;
    align-items: center;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.join-features-list i {
    color: #008C00;
    margin-right: 10px;
}

.join-features-list p {
    margin: 0 0 0 2.1em;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.join-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.join-form-container h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 0;
}

#collector-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#collector-form input,
#collector-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

#collector-form button {
    width: 100%;
}

#confirmation-message {
    text-align: center;
}


/* ==========================================================================
   Legal Content & Sitemap
   ========================================================================== */
.legal-content, .sitemap-section {
    padding: 40px;
    max-width: 900px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px auto;
}

.legal-content h2 {
    font-size: 2rem;
    color: #292E32;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p, .legal-content li {
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sitemap-column h3 {
    font-size: 1.5rem;
    color: #292E32;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.sitemap-column h4 {
    font-size: 1.2rem;
    color: #008C00;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-column li {
    margin-bottom: 10px;
}

.sitemap-column a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.sitemap-column a:hover {
    color: #008C00;
}


/* ==========================================================================
   Blog Post Page
   ========================================================================== */
.blog-post-container {
    padding-top: 40px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1400px;
}

.blog-post-header {
    margin-bottom: 30px;
    text-align: center;
}

.blog-post-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.blog-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.blog-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content p, .blog-post-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-post-content ul {
    padding-left: 20px;
}

/* ==========================================================================
   MOT History Page
   ========================================================================== */

.mot-checker-section {
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
}

.mot-checker-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #292E32;
}

.mot-checker-intro p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #555;
}

.mot-results-container {
    margin-top: 40px;
    text-align: left;
}

#vehicleDetailsCard {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vehicle-details-item {
    padding: 10px;
    border-left: 3px solid #008C00;
}

.vehicle-details-item h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #555;
    text-transform: uppercase;
}

.vehicle-details-item p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #292E32;
}

#motHistoryTests h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.mot-test-item {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mot-test-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.mot-test-header.pass {
    background-color: #e8f5e9;
    border-left: 5px solid #4CAF50;
}

.mot-test-header.fail {
    background-color: #ffebed;
    border-left: 5px solid #F44336;
}

.mot-test-header .status {
    font-size: 1.4rem;
}
.mot-test-header.pass .status { color: #4CAF50; }
.mot-test-header.fail .status { color: #F44336; }


.mot-test-body {
    padding: 20px;
    border-top: 1px solid #eee;
}

.mot-test-body h4 {
    font-size: 1.1rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.mot-test-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.mot-test-body li {
    padding: 8px;
    border-bottom: 1px solid #f5f5f5;
}
.mot-test-body li:last-child {
    border-bottom: none;
}

.defect-list {
    margin-top: 15px;
}

.defect-list h5 {
    font-size: 1rem;
    color: #F44336;
    margin: 15px 0 5px 0;
}

.defect-list.advisory h5 {
    color: #FF9800;
}

.mileage-chart-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.mileage-chart-container h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.error-message {
    background-color: #ffebed;
    color: #F44336;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #F44336;
    margin-top: 30px;
    font-weight: bold;
}


/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .fs-container,
    .video-container,
    .sustainability-row,
    .join-main-content,
    .blog-post-container {
        grid-template-columns: 1fr;
    }
    .video-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mot-checker-intro h1 {
        font-size: 2.2rem;
    }
    .mot-checker-intro p {
        font-size: 1rem;
    }
    .vehicle-details-item {
        border-left: none;
        border-top: 3px solid #008C00;
        padding-top: 15px;
    }
}

@media (max-width: 768px) {

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        -webkit-transform: translateZ(0);
        
        flex: 1;
        width: 100%;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        position: fixed;
        top: 115px;
        right: 0;
        width: 100%;
        height: calc(100vh - 115px);
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        padding-right: 0;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }
    
    .nav-links li {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }
    
    .burger {
        display: flex;
    }

    .dropdown {
        display: none;
        position: static;
        box-shadow: none;
        background-color: #eaf2eb;
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 5px;
      }

      .dropdown.active {
        display: block;
      }
    
    .dropdown-link:hover > a {
        color: #000;
        border-bottom: none;
    }
    
    .dropdown.active {
        display: block;
    }

    .dropdown a {
        padding: 15px;
        text-align: center;
        font-size: 1.1rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-section {
        min-width: 100%;
    }
    .footer-section li {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }

    .hero-section {
      padding: 20px 10px;
    }
    .hero-section h1 {
      font-size: 2em;
    }
    .search-input {
      font-size: 1em;
    }
    .area-list {
      grid-template-columns: 1fr;
    }

    .hero-bg {
      height: auto;
      padding: 40px 0;
    }
    .hero-content h1 {
      font-size: 2rem;
    }
    .hero-content p {
      font-size: 1rem;
    }
    .info-grid {
      grid-template-columns: 1fr;
    }

    .mission-container {
        flex-direction: column;
    }

    .mission-features {
        grid-template-columns: 1fr;
    }

    .sustainability-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sustainability-details h4, .sustainability-details p {
        text-align: center;
    }
    
    .join-features-list {
        grid-template-columns: 1fr;
    }

    .areas-grid-container {
        display: flow;
        gap: 20px;
        margin-top: 40px;
    }
}

/* ==========================================================================
   Price Comparison Flow
   ========================================================================== */

.loading-spinner {
    text-align: center;
    padding: 80px 20px;
    color: #008C00;
}
.loading-spinner p {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.error-message {
    background-color: #ffebed;
    color: #F44336;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #F44336;
    margin: 20px auto;
    font-weight: bold;
    max-width: 800px;
    text-align: center;
}

.details-container, .offer-container {
    padding: 40px 0;
}

.vehicle-confirmation-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.vehicle-info {
    text-align: center;
}

.vehicle-info h2 {
    font-size: 2rem;
    margin-top: 0;
}

.vehicle-info h3 {
    font-size: 1.5rem;
    color: #008C00;
    margin-bottom: 10px;
}

.vehicle-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #eee;
}

.not-my-vehicle-btn {
    background: none;
    border: 2px solid #555;
    color: #555;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
}

.not-my-vehicle-btn:hover {
    background-color: #555;
    color: #fff;
}

.contact-form-container h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 0;
}

#contact-form .form-group {
    margin-bottom: 15px;
    max-width: none;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#contact-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

#contact-form .cta-button {
    width: 100%;
    margin-top: 10px;
}

.offer-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.offer-card h2 {
    font-size: 2rem;
    margin-top: 0;
}

.price-display {
    font-size: 4rem;
    font-weight: bold;
    color: #008C00;
    margin: 10px 0;
}

.offer-card p {
    color: #555;
    font-size: 1.1rem;
}

.vehicle-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.vehicle-summary img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.vehicle-summary div {
    display: flex;
    flex-direction: column;
}

.vehicle-summary span {
    font-size: 1rem;
    color: #555;
}

.accept-button {
    width: 100%;
    font-size: 1.2rem;
}


@media (max-width: 768px) {
    .vehicle-confirmation-card {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Location Map Section
   ========================================================================== */

.location-map-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    align-items: flex-start;
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1;
}

.nearby-areas {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.nearby-areas h3 {
    margin-top: 0;
    font-size: 1.5rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.nearby-areas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nearby-areas li a {
    text-decoration: none;
    color: #008C00;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.nearby-areas li:last-child a {
    border-bottom: none;
}

.nearby-areas li a:hover {
    color: #292E32;
}

@media (max-width: 992px) {
    .location-map-grid {
        grid-template-columns: 1fr;
    }
}