 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --auto-orange: #FFA500;
            --auto-orange-light: #FFD700;
            --auto-orange-dark: #FF8C00;
            --auto-black: #1a1a1a;
            --auto-gray: #666666;
            --auto-gray-light: #f5f5f5;
            --white: #ffffff;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--auto-black);
            background-color: var(--white);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        .header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            color: var(--auto-black);
        }

        .logo-icon {
            background: linear-gradient(135deg, var(--auto-orange), var(--auto-orange-dark));
            padding: 0.5rem;
            border-radius: 8px;
            color: var(--white);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .logo-accent {
            color: var(--auto-orange);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--auto-gray);
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 1rem;
            border-radius: 4px;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--auto-orange);
        }

        .nav-cta {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .btn-primary {
            background: var(--auto-orange);
            color: var(--white);
        }

        .btn-primary:hover {
            background: var(--auto-orange-dark);
            transform: translateY(-2px);
        }

        .btn-outline {
            border: 2px solid var(--auto-orange);
            color: var(--auto-orange);
            background: transparent;
        }

        .btn-outline:hover {
            background: var(--auto-orange);
            color: var(--white);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--auto-black);
        }

        /* Hero Section */
        .hero {
         background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), /* dark overlay */
        url('images/woman-enjoying-her-financially-independence-while-buying-car\ \(1\).jpg') center center / cover no-repeat;  /* replace with your actual image path */
        color: var(--white);
        min-height: 600px;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, var(--auto-orange), transparent, var(--auto-orange-dark));
            opacity: 0.1;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #ccc;
        }

        .hero-description {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            color: #bbb;
            max-width: 600px;
        }

        .search-container {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            margin-bottom: 2rem;
        }

        .search-form {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .search-input {
            flex: 1;
            min-width: 300px;
            padding: 1rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--auto-orange);
        }

        .search-select {
            padding: 1rem;
            border: 2px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            min-width: 150px;
        }

        .popular-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }

        .popular-tags span {
            color: var(--auto-gray);
            font-size: 0.9rem;
        }

        .tag {
            background: rgba(255, 165, 0, 0.1);
            color: var(--auto-orange);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .tag:hover {
            background: var(--auto-orange);
            color: var(--white);
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .btn-white {
            background: var(--white);
            color: var(--auto-black);
            border: 2px solid var(--white);
        }

        .btn-white:hover {
            background: transparent;
            color: var(--white);
        }

        /* Quick Links Section */
        .quick-links {
            padding: 4rem 0;
            background: var(--auto-gray-light);
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--auto-black);
        }

        .section-description {
            font-size: 1.1rem;
            color: var(--auto-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .link-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            text-decoration: none;
            color: var(--auto-black);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: var(--transition);
        }

        .link-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
        }

        .link-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--white);
            transition: var(--transition);
        }

        .link-card:hover .link-icon {
            transform: scale(1.1);
        }

        .icon-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
        .icon-orange { background: linear-gradient(135deg, var(--auto-orange), var(--auto-orange-dark)); }
        .icon-green { background: linear-gradient(135deg, #10b981, #059669); }
        .icon-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

        .link-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: var(--transition);
        }

        .link-card:hover .link-title {
            color: var(--auto-orange);
        }

        /* Featured Products */
        .featured {
            padding: 4rem 0;
            background: var(--white);
        }

        .featured-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
        }

        .carousel-container {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            margin-bottom: 3rem;
        }

        .carousel {
            display: flex;
            transition: transform 0.5s ease;
        }

        .carousel-slide {
            min-width: 100%;
            background: var(--white);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            border-radius: 12px;
            overflow: hidden;
        }

        .car-featured {
            display: flex;
            flex-wrap: wrap;
        }

        .car-image img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        display: block;
        border-radius: 0; /* Optional: if you want square edges */
        }


        .car-info {
            flex: 1;
            min-width: 300px;
            padding: 2rem;
        }

        .featured-badge {
            background: var(--auto-orange);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .car-name {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--auto-black);
        }

        .car-price {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--auto-orange);
            margin-bottom: 2rem;
        }

        .car-specs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .spec {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--auto-gray);
            font-size: 0.9rem;
        }

        .car-actions {
            display: flex;
            gap: 1rem;
        }

        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }

        .indicator.active {
            background: var(--auto-orange);
        }

        .parts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .part-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: var(--transition);
        }

        .part-card:hover {
            box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
            transform: translateY(-5px);
        }

        .part-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 12px 12px 0 0; /* Rounded top corners */
        }


        .part-info {
            padding: 1.5rem;
        }

        .part-category {
            background: rgba(255, 165, 0, 0.1);
            color: var(--auto-orange);
            padding: 0.3rem 0.8rem;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .part-name {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--auto-black);
        }

        .part-compatibility {
            color: var(--auto-gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .part-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .part-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--auto-orange);
        }

        /* Testimonials */
        .testimonials {
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--auto-black), #333);
            color: var(--white);
        }

        .testimonial-container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .testimonial-card {
            background: var(--white);
            color: var(--auto-black);
            padding: 3rem;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .quote-icon {
            font-size: 3rem;
            color: var(--auto-orange);
            margin-bottom: 1.5rem;
        }

        .testimonial-text {
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 2rem;
            font-style: italic;
        }

        .rating {
            display: flex;
            justify-content: center;
            gap: 0.3rem;
            margin-bottom: 1.5rem;
        }

        .star {
            color: #fbbf24;
            font-size: 1.2rem;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .author-info h4 {
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .author-info p {
            color: var(--auto-gray);
            font-size: 0.9rem;
        }
        .author-image {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 1rem;
        }
        .testimonial-author {
         display: flex;
         align-items: center;
         margin-top: 1rem;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--auto-orange);
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: #ccc;
        }
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  min-width: 180px;
}

.dropdown:hover > .dropdown-menu,
.dropdown-menu .dropdown:hover > .dropdown-menu {
  display: block;
}

/* Style for dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* Nested dropdown (opens to the right) */
.dropdown-menu .dropdown {
  position: relative;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 1px;
}
        /* Footer */
        .footer {
            background: var(--auto-black);
            color: var(--white);
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: var(--white);
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
        }
        .footer-section ul li a:hover {
            color: var(--auto-orange);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 165, 0, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--auto-orange);
            color: var(--white);
        }

        .newsletter {
            margin-top: 1rem;
        }

        .newsletter-form {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .newsletter-input {
            flex: 1;
            padding: 0.8rem;
            border: none;
            border-radius: 6px;
            background: rgba(255,255,255,0.1);
            color: var(--white);
        }

        .newsletter-input::placeholder {
            color: #ccc;
        }

        .newsletter-btn {
            padding: 0.8rem 1.5rem;
            background: var(--auto-orange);
            color: var(--white);
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: var(--transition);
        }

        .newsletter-btn:hover {
            background: var(--auto-orange-dark);
        }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 1rem;
            text-align: center;
            color: #ccc;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links,
            .nav-cta {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .search-form {
                flex-direction: column;
            }

            .search-input {
                min-width: auto;
            }

            .hero-cta {
                flex-direction: column;
            }

            .featured-header {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .car-featured {
                flex-direction: column;
            }

            .car-actions {
                flex-direction: column;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .links-grid {
                grid-template-columns: 1fr;
            }

            .parts-grid {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }
        }

        .hidden {
            display: none;
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* Sidebar Styles for Mobile */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* Mobile - Sidebar */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 4rem 2rem;
        gap: 1.5rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.show {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 2rem;
        z-index: 1000;
    }

    .nav-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }
}
