/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation styles */
.navbar {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo container and animation */
.nav-logo {
    position: relative;
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
}

/* Steering wheel circular logo */
.steering-wheel {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #2e7d32;
    transition: all 0.3s ease;
    z-index: 2;
    flex-shrink: 0;
}

.steering-wheel::before {
    content: '';
    width: 16px;
    height: 16px;
    background: #2e7d32;
    border-radius: 50%;
    position: absolute;
}

.steering-wheel::after {
    content: '';
    width: 28px;
    height: 28px;
    border: 2px solid #2e7d32;
    border-radius: 50%;
    position: absolute;
    background: transparent;
}

/* Spoke lines for steering wheel */
.steering-wheel .spoke {
    position: absolute;
    width: 2px;
    height: 12px;
    background: #2e7d32;
    transform-origin: center bottom;
}

.steering-wheel .spoke:nth-child(1) { transform: rotate(0deg) translateY(-6px); }
.steering-wheel .spoke:nth-child(2) { transform: rotate(90deg) translateY(-6px); }
.steering-wheel .spoke:nth-child(3) { transform: rotate(180deg) translateY(-6px); }
.steering-wheel .spoke:nth-child(4) { transform: rotate(270deg) translateY(-6px); }

/* Logo text that slides out */
.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Hover animations */
.logo-link:hover .steering-wheel {
    transform: rotate(360deg);
}

.logo-link:hover .logo-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-logo:hover {
    width: auto;
    min-width: 180px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-logo {
        height: 45px;
    }
    
    .steering-wheel {
        width: 35px;
        height: 35px;
    }
    
    .steering-wheel::before {
        width: 14px;
        height: 14px;
    }
    
    .steering-wheel::after {
        width: 24px;
        height: 24px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        margin-left: 10px;
    }
    
    .nav-logo:hover {
        min-width: 160px;
    }
}

@media screen and (max-width: 480px) {
    .nav-logo {
        height: 40px;
    }
    
    .steering-wheel {
        width: 30px;
        height: 30px;
    }
    
    .steering-wheel::before {
        width: 12px;
        height: 12px;
    }
    
    .steering-wheel::after {
        width: 20px;
        height: 20px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        margin-left: 8px;
    }
    
    .nav-logo:hover {
        min-width: 140px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #a8d5a8;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f0f8f0;
    color: #2c5530;
}

.find-car-btn {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.find-car-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.login-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.login-btn:hover {
    background: white;
    color: #2c5530;
    transform: translateY(-2px);
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.btn-secondary:hover {
    background: #2c5530;
    color: white;
}

.btn.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.car-placeholder {
    font-size: 8rem;
    opacity: 0.8;
}

/* Features section */
.features {
    padding: 80px 20px;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Page content styles */
.page-hero {
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    padding: 120px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: #2c5530;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-content h2 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.page-content h3 {
    color: #4a7c59;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.page-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c5530;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .login-btn {
        border-color: white;
        color: white;
        margin-left: 0;
        margin-top: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #1a3a1a;
        margin-top: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .car-placeholder {
        font-size: 5rem;
        margin-top: 2rem;
    }

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

    .page-hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .features h2, .cta-section h2 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Reviews Page Blog Layout */
.latest-article {
    margin-bottom: 3rem;
}

.featured-article {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-image {
    position: relative;
    flex: 0 0 400px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    font-size: 4rem;
    opacity: 0.8;
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff4444;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-category {
    background: #e8f5e8;
    color: #2c5530;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    font-size: 0.9rem;
}

.rating-text {
    background: #4caf50;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-article h3 {
    color: #2c5530;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.article-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author {
    color: #666;
    font-style: italic;
}

.read-more-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Past Articles Grid */
.past-articles {
    margin-bottom: 3rem;
}

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

.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image .placeholder-image {
    font-size: 3rem;
    opacity: 0.8;
}

.card-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rating-score {
    font-weight: 600;
    color: #2c5530;
    font-size: 0.9rem;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.card-date {
    color: #666;
    font-size: 0.85rem;
}

.card-category {
    background: #e8f5e8;
    color: #2c5530;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-card h4 {
    color: #2c5530;
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.card-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-author {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.card-read-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-read-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Review CTA Section */
.review-cta {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.cta-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 1;
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .featured-article {
        flex-direction: column;
    }
    
    .article-image {
        flex: none;
        height: 200px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .featured-article h3 {
        font-size: 1.5rem;
    }
}

/* Comparison Tool Styles */
.comparison-intro {
    margin-bottom: 2rem;
}

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

.feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: #4caf50;
    transform: translateY(-2px);
}

.feature h4 {
    color: #2c5530;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.feature p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Header Vehicle Selection */
.vehicle-selector-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem;
}

.vehicle-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.header-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header-vehicle-make, .header-vehicle-model, .header-vehicle-trim {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.8rem;
    background: white;
    transition: border-color 0.3s ease;
}

.header-vehicle-make:focus, .header-vehicle-model:focus, .header-vehicle-trim:focus {
    outline: none;
    border-color: #4caf50;
}

.header-vehicle-make:disabled, .header-vehicle-model:disabled, .header-vehicle-trim:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.mobile-add-vehicle-row {
    display: none;
}

.mobile-add-vehicle-cell {
    text-align: center;
    padding: 1rem;
    background: #e8f5e8;
    border-bottom: 2px solid #4caf50;
}

.mobile-add-vehicle-cell .btn {
    margin-right: 1rem;
}

.mobile-vehicle-count {
    color: #666;
    font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table-section {
    margin: 3rem 0;
}

.table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: fixed;
}

.comparison-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.vehicle-headers {
    background: linear-gradient(135deg, #2c5530, #4caf50);
    color: white;
}

.vehicle-headers th {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.vehicle-headers th:last-child {
    border-right: none;
}

.spec-category {
    background: #2c5530 !important;
    color: white;
    text-align: left !important;
    font-weight: 700;
    width: 20%;
    position: sticky;
    left: 0;
    z-index: 11;
}

.vehicle-column {
    width: 20%;
}

.vehicle-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.vehicle-image {
    font-size: 1.5rem;
    opacity: 0.8;
}

.category-header td {
    background: #e8f5e8;
    color: #2c5530;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid #4caf50;
}

.spec-name {
    background: #f8f9fa;
    color: #2c5530;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-right: 2px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    left: 0;
    z-index: 5;
    white-space: nowrap;
}

.spec-value {
    padding: 0.75rem;
    text-align: center;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    background: white;
    color: #333;
}

.spec-value:last-child {
    border-right: none;
}

.spec-value[data-spec]:empty::before {
    content: "-";
    color: #ccc;
}

/* Comparison Tips */
.comparison-tips {
    margin: 3rem 0;
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 15px;
}

.comparison-tips h3 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.comparison-tips ul {
    margin: 0;
    padding-left: 1.5rem;
}

.comparison-tips li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-add-vehicle-row {
        display: table-row;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .spec-category {
        width: 25%;
    }
    
    .vehicle-column {
        width: 25%;
    }
    
    .vehicle-headers th {
        padding: 1rem;
    }
    
    .vehicle-name {
        font-size: 0.85rem;
    }
    
    .spec-name {
        font-size: 0.8rem;
    }
    
    .spec-value {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .header-vehicle-make, .header-vehicle-model, .header-vehicle-trim {
        font-size: 0.75rem;
        padding: 0.3rem;
    }
}

@media screen and (max-width: 768px) {
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 60px 10px;
    }
    
    .table-container {
        margin: 0 -10px;
        border-radius: 0;
        overflow-x: auto;
    }
    
    .comparison-table {
        font-size: 0.75rem;
        min-width: 600px;
    }
    
    .spec-category {
        width: 150px;
        min-width: 150px;
        font-size: 0.8rem;
    }
    
    .vehicle-column {
        width: 150px;
        min-width: 150px;
    }
    
    .spec-name {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .vehicle-headers th {
        padding: 0.75rem 0.5rem;
    }
    
    .vehicle-name {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .category-header td {
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-tips {
        padding: 1.5rem;
    }
    
    .header-vehicle-make, .header-vehicle-model, .header-vehicle-trim {
        font-size: 0.7rem;
        padding: 0.25rem;
    }
    
    .vehicle-selector-header {
        gap: 0.5rem;
        padding: 0.25rem;
    }
}

@media screen and (max-width: 480px) {
    .comparison-table {
        font-size: 0.7rem;
        min-width: 500px;
    }
    
    .spec-category {
        width: 120px;
        min-width: 120px;
        font-size: 0.7rem;
    }
    
    .vehicle-column {
        width: 120px;
        min-width: 120px;
    }
    
    .spec-name {
        font-size: 0.7rem;
        padding: 0.4rem;
    }
    
    .spec-value {
        padding: 0.4rem 0.2rem;
        font-size: 0.7rem;
    }
    
    .vehicle-headers th {
        padding: 0.5rem 0.25rem;
    }
    
    .vehicle-name {
        font-size: 0.7rem;
    }
    
    .category-header td {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
    
    .header-vehicle-make, .header-vehicle-model, .header-vehicle-trim {
        font-size: 0.65rem;
        padding: 0.2rem;
    }
    
    .vehicle-selector-header {
        gap: 0.3rem;
        padding: 0.2rem;
    }
} 

/* New Comparison Tool Styles - Three Vehicle Comparison */

/* Vehicle Selector - Sticky Header */
.vehicle-selector-sticky {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 3px solid #4a7c59;
    padding: 0.75rem 0; /* Reduced from 1.5rem */
    position: sticky;
    top: 70px; /* Account for main navigation */
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.selector-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.selector-container h3 {
    color: #2c5530;
    margin-bottom: 0.75rem; /* Reduced from 1.5rem */
    font-size: 1.2rem; /* Reduced from 1.5rem */
    font-weight: 600;
    text-align: center;
}

.three-vehicle-selectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; /* Reduced from 2rem */
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.vehicle-selector-column {
    background: white;
    border-radius: 8px; /* Reduced from 12px */
    padding: 0.75rem; /* Reduced from 1.5rem */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.vehicle-selector-column:hover {
    border-color: #4a7c59;
    transform: translateY(-1px); /* Reduced from -2px */
}

.vehicle-selector-column h4 {
    color: #2c5530;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
    font-size: 1rem; /* Reduced from 1.2rem */
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #4a7c59;
    padding-bottom: 0.25rem; /* Reduced from 0.5rem */
}

.selection-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced from 1rem */
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* Reduced from 0.5rem */
    position: relative;
}

.dropdown-group label {
    font-weight: 600;
    color: #2c5530;
    font-size: 0.8rem; /* Reduced from 0.9rem */
}

.vehicle-select {
    padding: 0.5rem 2.5rem 0.5rem 0.75rem; /* Added right padding for custom arrow */
    border: 2px solid #ddd;
    border-radius: 6px; /* Reduced from 8px */
    font-size: 0.8rem; /* Reduced from 0.9rem */
    font-weight: 500;
    font-family: 'Poppins', sans-serif; /* Added to match site font */
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #2c5530;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    position: relative;
}

/* Custom dropdown arrow */
.vehicle-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7c59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
}

.vehicle-select:hover {
    border-color: #4a7c59;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.15);
}

.vehicle-select:focus {
    outline: none;
    border-color: #4a7c59;
    background: linear-gradient(135deg, #ffffff, #f0f8f0);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1), 0 4px 12px rgba(74, 124, 89, 0.15);
    transform: translateY(-1px);
}

.vehicle-select:disabled {
    background: linear-gradient(135deg, #f5f5f5, #eeeeee);
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Style for when an option is selected */
.vehicle-select:not([value=""]) {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-color: #4a7c59;
    color: #2c5530;
    font-weight: 600;
}

/* Custom styling for options */
.vehicle-select option {
    background: white;
    color: #2c5530;
    font-weight: 500;
    font-family: 'Poppins', sans-serif; /* Added to match site font */
    padding: 0.5rem;
}

.vehicle-select option[value=""] {
    color: #666;
    font-style: italic;
}

/* Enhanced focus state for better accessibility */
.vehicle-select:focus-visible {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

.selected-vehicle {
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    color: white;
    padding: 0.5rem; /* Reduced from 1rem */
    border-radius: 6px; /* Reduced from 8px */
    text-align: center;
    min-height: 35px; /* Reduced from 50px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem; /* Added spacing below selected vehicle */
}

.vehicle-display {
    font-size: 0.85rem; /* Reduced from 1rem */
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Specifications Table */
.specifications-section {
    padding: 1rem 0; /* Reduced from 2rem */
}

.specs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.specifications-table th {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.spec-category {
    width: 30%;
}

.spec-value-header {
    width: 23.33%;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-width: 0; /* Allow shrinking */
    max-width: 23.33%;
}

.category-header td {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #2c5530;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 2px solid #4a7c59;
}

.specifications-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.specifications-table tbody tr:hover {
    background-color: #f8f9fa;
}

.spec-name {
    padding: 1rem;
    font-weight: 500;
    color: #333;
    background: #fafafa;
}

.spec-value {
    padding: 1rem;
    color: #2c5530;
    font-weight: 600;
    background: white;
    text-align: center;
    border-left: 1px solid #eee;
}

.spec-value[data-spec]:empty::before,
.spec-value[data-spec*="-"]::before {
    content: "-";
    color: #999;
    font-style: italic;
}

/* Instructions Section */
.comparison-instructions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.comparison-instructions h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.comparison-instructions p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-notes {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4a7c59;
}

.feature-notes h4 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-notes p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design for Three Vehicle Comparison */
@media screen and (max-width: 1024px) {
    .three-vehicle-selectors {
        grid-template-columns: 1fr;
        gap: 0.75rem; /* Reduced from 1.5rem */
    }
    
    .specifications-table {
        font-size: 0.9rem;
    }
    
    .spec-value-header {
        width: 23.33%;
        font-size: 0.9rem;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
}

@media screen and (max-width: 768px) {
    .vehicle-selector-sticky {
        padding: 0.5rem 0; /* Reduced from 1rem */
    }
    
    .vehicle-selector-column {
        padding: 0.5rem; /* Reduced from 1rem */
    }
    
    .selector-container h3 {
        font-size: 1rem; /* Reduced from 1.3rem */
        margin-bottom: 0.5rem; /* Added for consistency */
    }
    
    .vehicle-selector-column h4 {
        font-size: 0.9rem; /* Added for consistency */
        margin-bottom: 0.25rem; /* Added for consistency */
    }
    
    .vehicle-display {
        font-size: 0.8rem; /* Reduced from 0.9rem */
    }
    
    .vehicle-select {
        padding: 0.4rem 2rem 0.4rem 0.6rem; /* Adjusted for mobile */
        font-size: 0.75rem; /* Added for consistency */
        background-size: 0.9em; /* Smaller arrow on mobile */
        background-position: right 0.5rem center;
    }
    
    .selected-vehicle {
        padding: 0.4rem; /* Added for consistency */
        min-height: 30px; /* Added for consistency */
        margin-bottom: 0.5rem; /* Added consistent spacing */
    }
    
    .specifications-table th,
    .category-header td,
    .spec-name,
    .spec-value {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .spec-value-header {
        font-size: 0.8rem;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
}

@media screen and (max-width: 480px) {
    .vehicle-selector-sticky {
        top: 60px; /* Smaller nav on mobile */
        padding: 0.4rem 0; /* Reduced from 0.75rem */
    }
    
    .selector-container h3 {
        font-size: 0.9rem; /* Reduced from 1.1rem */
        margin-bottom: 0.4rem; /* Reduced from 1rem */
    }
    
    .vehicle-selector-column {
        padding: 0.4rem; /* Added for consistency */
    }
    
    .vehicle-selector-column h4 {
        font-size: 0.8rem; /* Added for consistency */
        margin-bottom: 0.2rem; /* Added for consistency */
    }
    
    .vehicle-select {
        padding: 0.3rem 1.8rem 0.3rem 0.5rem; /* Adjusted for small mobile */
        font-size: 0.7rem; /* Reduced from 0.8rem */
        background-size: 0.8em; /* Even smaller arrow */
        background-position: right 0.4rem center;
    }
    
    .selected-vehicle {
        padding: 0.3rem; /* Reduced from 0.75rem */
        min-height: 25px; /* Added for consistency */
        margin-bottom: 0.4rem; /* Added consistent spacing for mobile */
    }
    
    .vehicle-display {
        font-size: 0.7rem; /* Reduced from 0.8rem */
    }
    
    .specifications-table {
        font-size: 0.7rem;
        min-width: 600px;
    }
    
    .specs-container {
        overflow-x: auto;
    }
    
    .specifications-table th,
    .category-header td,
    .spec-name,
    .spec-value {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }
    
    .feature-notes {
        padding: 1rem;
    }
    
    .spec-category {
        width: 40%;
        min-width: 120px;
    }
    
    .spec-value-header {
        width: 20%;
        min-width: 80px;
        font-size: 0.7rem;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        line-height: 1.1;
    }
} 

/* Tooltip Styles for Safety Feature Abbreviations */
.tooltip {
    position: relative;
    color: #4a7c59;
    font-weight: 600;
    cursor: help;
    border-bottom: 1px dotted #4a7c59;
    transition: all 0.3s ease;
}

.tooltip:hover {
    color: #2c5530;
    border-bottom-color: #2c5530;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 300px;
    white-space: normal;
    width: max-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    text-align: left;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2c5530;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive tooltips */
@media screen and (max-width: 768px) {
    .tooltip::after {
        font-size: 0.7rem;
        padding: 0.5rem 0.75rem;
        max-width: 250px;
        bottom: 140%;
    }
    
    .tooltip::before {
        bottom: 130%;
    }
}

@media screen and (max-width: 480px) {
    .tooltip::after {
        font-size: 0.65rem;
        padding: 0.4rem 0.6rem;
        max-width: 200px;
        left: 0;
        right: 0;
        transform: none;
        margin: 0 auto;
    }
    
    .tooltip::before {
        left: 50%;
        transform: translateX(-50%);
    }
} 

/* Latest News Section on Home Page */
.latest-news {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.latest-news h2 {
    text-align: center;
    color: #2c5530;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #4a7c59;
}

.news-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-placeholder {
    font-size: 3rem;
    opacity: 0.8;
    color: white;
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff4444;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-date {
    color: #666;
    font-size: 0.85rem;
}

.news-category {
    background: #e8f5e8;
    color: #2c5530;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-card h3 {
    color: #2c5530;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 600;
}

.news-excerpt {
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

.news-cta {
    text-align: center;
}

.news-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design for Latest News */
@media screen and (max-width: 768px) {
    .latest-news {
        padding: 3rem 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        height: auto;
        min-height: 320px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .latest-news h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .latest-news {
        padding: 2rem 0;
    }
    
    .news-card {
        min-height: 300px;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-card h3 {
        font-size: 1.1rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
    }
}

/* Latest Reviews Section on Home Page */
.latest-reviews {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.latest-reviews h2 {
    text-align: center;
    color: #2c5530;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.review-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 280px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #4a7c59;
}

.review-image {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    display: block;
}

.review-card:hover .car-image {
    transform: scale(1.05);
}

.vehicle-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 85, 48, 0.9));
    color: white;
    padding: 1.5rem 1rem 1rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reviews-cta {
    text-align: center;
}

.reviews-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design for Latest Reviews */
@media screen and (max-width: 768px) {
    .latest-reviews {
        padding: 3rem 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        height: 250px;
    }
    
    .vehicle-name {
        font-size: 1rem;
        padding: 1.5rem 1rem 1rem;
    }
    
    .latest-reviews h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .latest-reviews {
        padding: 2rem 0;
    }
    
    .review-card {
        height: 220px;
    }
    
    .vehicle-name {
        font-size: 0.9rem;
        padding: 1rem 0.75rem 0.75rem;
    }
} 

 