* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003399;
    --secondary-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #eeeeee;
    --btn-hover: #002266;
    --spacing-unit: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--primary-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn-book,
.btn-call,
.btn-testdrive,
.btn-locate,
.btn-book-experience,
.btn-submit {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-book:hover,
.btn-call:hover,
.btn-testdrive:hover,
.btn-locate:hover,
.btn-book-experience:hover,
.btn-submit:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

.btn-book-experience {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* ------------------------------------------------------------------ */
/* Merged styles from header.css, hero.css, models.css, testdrive.css, footer.css */
/* ------------------------------------------------------------------ */

/* Header & Navigation */
.header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
    top: 0;
    z-index: 100;
}

.navbar {
    background-color: var(--secondary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Banner Message */
.banner-message {
    background-color: #f5f5f5;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.banner-message p {
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.banner-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease;
}

.banner-btn:hover {
    background-color: var(--btn-hover);
}

/* Action Bar */
.action-bar {
    background-color: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-bar button,
.action-bar a {
    background-color: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.action-bar button:hover,
.action-bar a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive (header) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .banner-message {
        font-size: 0.8rem;
    }

    .action-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-bar button,
    .action-bar a {
        width: 100%;
    }
}

/* Hero Section - Carousel */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-content {
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.carousel-contentl h1 {
    color: rgb(255, 255, 255);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive (hero) */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

/* Models Section */
.models-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.model-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.model-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.model-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.model-card:nth-child(even) .model-image {
    order: -1;
}

.model-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.model-image {
    overflow: hidden;
    border-radius: 8px;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
    transform: scale(1.05);
}

/* Shopping Tools */
.shopping-tools {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.shopping-tools h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tool-card:hover h3 {
    color: white;
}

.tool-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.tool-card:hover p {
    color: white;
}

/* Info Sections */
.info-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--btn-hover);
}

/* Responsive (models) */
@media (max-width: 768px) {
    .model-card {
        grid-template-columns: 1fr;
    }

    .model-card:nth-child(even) .model-image {
        order: 0;
    }

    .model-info h3 {
        font-size: 1.5rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .info-sections {
        grid-template-columns: 1fr;
    }

    .shopping-tools h2 {
        font-size: 1.5rem;
    }
}

/* Test Drive Section */
.testdrive-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.testdrive-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.testdrive-section .section-subtitle {
    margin-bottom: 2rem;
}

.testdrive-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testdrive-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-row {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-row.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form-row.checkbox input {
    margin-top: 0.5rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-row.checkbox label {
    cursor: pointer;
    line-height: 1.5;
}

.testdrive-form input[type="text"],
.testdrive-form input[type="email"],
.testdrive-form input[type="tel"],
.testdrive-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.testdrive-form input:focus,
.testdrive-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

.testdrive-form input::placeholder {
    color: var(--text-light);
}

/* When two inputs in a row */
.form-row.two-columns {
    grid-template-columns: 1fr 1fr;
}

.testdrive-image {
    text-align: center;
}

.testdrive-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem 1rem;
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.location-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.location-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.location-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.location-card a:hover {
    color: var(--btn-hover);
}

/* Responsive (testdrive/contact) */
@media (max-width: 768px) {
    .testdrive-container {
        grid-template-columns: 1fr;
    }

    .testdrive-form {
        padding: 1.5rem;
    }

    .form-row.two-columns {
        grid-template-columns: 1fr;
    }

    .testdrive-section h2 {
        font-size: 1.5rem;
    }

    .contact-section h2 {
        font-size: 1.5rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .testdrive-image {
        margin-top: 2rem;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--btn-hover);
}

/* Responsive (footer) */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom ul {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
    }
}



