/*
Theme Name: AutoParts Pro
Theme URI: https://example.com/autoparts-pro
Author: Converted by ChatGPT
Author URI: https://example.com
Description: Custom WordPress theme for the AutoParts Pro landing page converted from static HTML.
Version: 1.0.0
Text Domain: autoparts-pro
*/


/* ============================================
           CSS VARIABLES - Easy Theme Customization
           ============================================ */
        :root {
            /* Primary Theme Colors - Change these for different portals */
            --primary-color: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --secondary-color: #f97316;
            --secondary-dark: #ea580c;

            /* Neutral Colors */
            --dark-color: #1e293b;
            --gray-color: #64748b;
            --light-gray: #f1f5f9;
            --white-color: #ffffff;

            /* Gradients */
            --hero-gradient: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(37, 99, 235, 0.9) 100%);
            --cta-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);

            /* Typography */
            --font-family: 'Inter', sans-serif;

            /* Spacing */
            --section-padding: 80px 0;

            /* Border Radius */
            --border-radius: 12px;
            --border-radius-lg: 20px;
        }

        /* ============================================
           BASE STYLES
           ============================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-family);
            color: var(--dark-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            transition: all 0.3s ease;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        section {
            padding: var(--section-padding);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        .section-subtitle {
            font-size: 1.125rem;
            color: var(--gray-color);
            max-width: 600px;
            margin: 0 auto 3rem;
        }

        /* ============================================
           BUTTONS
           ============================================ */
        .btn-primary-custom {
            background: var(--primary-color);
            color: var(--white-color);
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary-custom:hover {
            background: var(--primary-dark);
            color: var(--white-color);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
        }

        .btn-secondary-custom {
            background: var(--cta-gradient);
            color: var(--white-color);
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-secondary-custom:hover {
            color: var(--white-color);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
        }

        .btn-outline-custom {
            background: transparent;
            color: var(--white-color);
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid var(--white-color);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-outline-custom:hover {
            background: var(--white-color);
            color: var(--primary-color);
        }

        /* ============================================
           NAVIGATION
           ============================================ */
        .navbar-custom {
            background: transparent;
            padding: 20px 0;
            position: absolute;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar-custom.scrolled {
            background: var(--white-color);
            position: fixed;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
        }

        .navbar-custom .navbar-brand {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--white-color);
        }

        .navbar-custom.scrolled .navbar-brand {
            color: var(--primary-color);
        }

        .navbar-custom .nav-link {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            padding: 10px 20px;
            transition: all 0.3s ease;
        }

        .navbar-custom.scrolled .nav-link {
            color: var(--dark-color);
        }

        .navbar-custom .nav-link:hover {
            color: var(--secondary-color);
        }

        .navbar-custom .btn-nav {
            background: var(--secondary-color);
            color: var(--white-color);
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 600;
        }

        .navbar-custom .btn-nav:hover {
            background: var(--secondary-dark);
            color: var(--white-color);
        }

        /* ============================================
           HERO SECTION
           ============================================ */
        .hero-section {
            background: var(--hero-gradient), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
            position: relative;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 150px;
            background: linear-gradient(to top, var(--white-color) 0%, transparent 100%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            border-radius: 50px;
            color: var(--white-color);
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--white-color);
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        .hero-title span {
            color: var(--secondary-color);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            max-width: 500px;
        }

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

        .hero-stats {
            display: flex;
            gap: 3rem;
            flex-wrap: wrap;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--white-color);
            line-height: 1;
        }

        .hero-stat-label {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.8);
            margin-top: 0.5rem;
        }

        /* ============================================
           LEAD FORM SECTION
           ============================================ */
        .form-section {
            background: var(--light-gray);
            position: relative;
            margin-top: -50px;
            padding-top: 100px;
        }

        .lead-form-card {
            background: var(--white-color);
            border-radius: var(--border-radius-lg);
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .lead-form-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--cta-gradient);
        }

        .form-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .form-header h3 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 0.5rem;
        }

        .form-header p {
            color: var(--gray-color);
        }

        .form-label {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 0.5rem;
        }

        .form-control, .form-select {
            padding: 14px 18px;
            border: 2px solid #e2e8f0;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
        }

        .form-control::placeholder {
            color: #94a3b8;
        }

        /* File Upload Styling */
        .file-upload-wrapper {
            position: relative;
            border: 2px dashed #cbd5e1;
            border-radius: var(--border-radius);
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            background: #f8fafc;
        }

        .file-upload-wrapper:hover {
            border-color: var(--primary-color);
            background: rgba(37, 99, 235, 0.05);
        }

        .file-upload-wrapper input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .file-upload-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .file-upload-text {
            color: var(--gray-color);
            font-size: 0.9rem;
        }

        .file-upload-text span {
            color: var(--primary-color);
            font-weight: 600;
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-submit {
            background: var(--cta-gradient);
            color: var(--white-color);
            padding: 16px 40px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            border: none;
            width: 100%;
            transition: all 0.3s ease;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
            color: var(--white-color);
        }

        .form-note {
            text-align: center;
            margin-top: 1rem;
            font-size: 0.875rem;
            color: var(--gray-color);
        }

        .form-note i {
            color: #22c55e;
        }

        /* ============================================
           BENEFITS SECTION
           ============================================ */
        .benefits-section {
            background: var(--white-color);
        }

        .benefit-card {
            background: var(--white-color);
            border-radius: var(--border-radius-lg);
            padding: 35px 30px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            height: 100%;
        }

        .benefit-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: transparent;
        }

        .benefit-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: var(--white-color);
        }

        .benefit-card h4 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        .benefit-card p {
            color: var(--gray-color);
            font-size: 0.95rem;
            margin-bottom: 0;
        }

        /* ============================================
           HOW IT WORKS SECTION
           ============================================ */
        .process-section {
            background: var(--light-gray);
            position: relative;
        }

        .process-step {
            position: relative;
            text-align: center;
            padding: 30px 20px;
        }

        .process-number {
            width: 60px;
            height: 60px;
            background: var(--primary-color);
            color: var(--white-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 800;
            margin: 0 auto 1.5rem;
            position: relative;
            z-index: 2;
        }

        .process-step h4 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        .process-step p {
            color: var(--gray-color);
            font-size: 0.95rem;
        }

        .process-connector {
            position: absolute;
            top: 60px;
            left: 55%;
            width: 90%;
            height: 3px;
            background: linear-gradient(to right, var(--primary-color), var(--primary-light));
            z-index: 1;
        }

        @media (max-width: 991px) {
            .process-connector {
                display: none;
            }
        }

        /* ============================================
           BRANDS SECTION
           ============================================ */
        .brands-section {
            background: var(--white-color);
            padding: 60px 0;
        }

        .brand-logo {
            padding: 20px 30px;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        .brand-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        .brand-logo img {
            height: 50px;
            object-fit: contain;
        }

        /* Brand text placeholder */
        .brand-placeholder {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gray-color);
            padding: 20px;
            transition: all 0.3s ease;
        }

        .brand-placeholder:hover {
            color: var(--primary-color);
        }

        /* ============================================
           TESTIMONIALS SECTION
           ============================================ */
        .testimonials-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            position: relative;
            overflow: hidden;
        }

        .testimonials-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
        }

        .testimonials-section .section-title,
        .testimonials-section .section-subtitle {
            color: var(--white-color);
        }

        .testimonial-card {
            background: var(--white-color);
            border-radius: var(--border-radius-lg);
            padding: 35px;
            height: 100%;
            position: relative;
        }

        .testimonial-card::before {
            content: '\201C';
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 5rem;
            color: var(--light-gray);
            font-family: Georgia, serif;
            line-height: 1;
        }

        .testimonial-text {
            font-size: 1rem;
            color: var(--gray-color);
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            font-weight: 700;
            font-size: 1.25rem;
        }

        .testimonial-info h5 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            color: var(--dark-color);
        }

        .testimonial-info span {
            font-size: 0.875rem;
            color: var(--gray-color);
        }

        .testimonial-rating {
            color: #fbbf24;
            margin-bottom: 1rem;
        }

        /* ============================================
           CTA SECTION
           ============================================ */
        .cta-section {
            background: var(--dark-color);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1489824904134-891ab64532f1?auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.2;
        }

        .cta-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .cta-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--white-color);
            margin-bottom: 1rem;
        }

        .cta-subtitle {
            font-size: 1.125rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2rem;
        }

        /* ============================================
           FOOTER
           ============================================ */
        .footer {
            background: #0f172a;
            padding: 60px 0 30px;
        }

        .footer-brand {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--white-color);
            margin-bottom: 1rem;
        }

        .footer-about {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            transition: all 0.3s ease;
        }

        .footer-social a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-title {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--white-color);
            margin-bottom: 1.5rem;
        }

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

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 1rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-contact-item i {
            color: var(--secondary-color);
            font-size: 1.25rem;
            margin-top: 3px;
        }

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

        .footer-copyright {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        .footer-bottom-links {
            display: flex;
            gap: 20px;
            justify-content: flex-end;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        .footer-bottom-links a:hover {
            color: var(--white-color);
        }

        /* ============================================
           RESPONSIVE STYLES
           ============================================ */
        @media (max-width: 991px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .hero-stats {
                gap: 2rem;
            }

            .lead-form-card {
                padding: 30px 20px;
            }
        }

        @media (max-width: 767px) {
            section {
                padding: 60px 0;
            }

            .hero-section {
                min-height: auto;
                padding: 120px 0 80px;
            }

            .hero-title {
                font-size: 2rem;
            }

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

            .hero-buttons {
                flex-direction: column;
            }

            .hero-buttons .btn {
                width: 100%;
                justify-content: center;
            }

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

            .section-title {
                font-size: 1.75rem;
            }

            .footer-bottom-links {
                justify-content: center;
                margin-top: 1rem;
            }

            .navbar-custom .navbar-collapse {
                background: var(--white-color);
                padding: 20px;
                border-radius: var(--border-radius);
                margin-top: 15px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            }

            .navbar-custom .nav-link {
                color: var(--dark-color);
            }
        }

        /* ============================================
           ANIMATIONS
           ============================================ */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }

        /* ============================================
           UTILITY CLASSES
           ============================================ */
        .text-primary-custom {
            color: var(--primary-color) !important;
        }

        .text-secondary-custom {
            color: var(--secondary-color) !important;
        }

        .bg-primary-custom {
            background-color: var(--primary-color) !important;
        }

        .bg-secondary-custom {
            background-color: var(--secondary-color) !important;
        }