/* Reset and base styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --container-width: 1200px;
    --section-padding: 6rem 2rem;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0.5rem;
    position: relative;
}

.logo-icon {
    position: relative;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(0deg);
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
    z-index: 1;
}

.logo-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-main {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-text-sub {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.2em;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.phone-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.phone-link:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .phone-link span {
        display: none;
    }

    .phone-link {
        font-size: 1.4rem;
    }

    .nav-actions {
        gap: 1rem;
    }

    .logo-text-main {
        font-size: 1.2rem;
    }

    .logo-text-sub {
        font-size: 0.75rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

/* Update inventory page padding to account for fixed header */
.inventory-page {
    padding-top: 100px;
}

.inventory-hero {
    margin-top: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.hero-text {
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--heading-font);
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button-alt {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.cta-button-alt:hover {
    background-color: #ffed4a;
}

/* Financing Section */
.financing {
    padding: var(--section-padding);
    background-color: var(--light-bg);
    text-align: center;
}

.financing h2 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.financing-content {
    max-width: var(--container-width);
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.financing-info h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: var(--heading-font);
    font-weight: 600;
}

.financing-info ul {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
}

.financing-info li {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.financing-info li i {
    color: var(--success-color);
    font-size: 1.4rem;
}

/* Inventory Section Styles */
.inventory {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.inventory::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.inventory-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.inventory h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.inventory-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filters select {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    min-width: 200px;
    background: white;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters select:hover {
    border-color: #94a3b8;
}

.filters select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

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

.car-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.car-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.car-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-year {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0.5rem 0 1rem;
}

.car-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.car-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.car-detail-item i {
    color: #3b82f6;
    font-size: 1rem;
}

.car-actions {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
}

.calculate-finance {
    background: #3b82f6;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.calculate-finance:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.inventory-cta {
    text-align: center;
    margin-top: 3rem;
}

.view-all-inventory {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.view-all-inventory:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.view-all-inventory i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.view-all-inventory:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .car-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .filters select {
        width: 100%;
        min-width: unset;
    }

    .inventory h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .car-grid {
        grid-template-columns: 1fr;
    }

    .car-image {
        height: 180px;
    }

    .view-all-inventory {
        width: 100%;
        justify-content: center;
    }
}

/* Calculator Section */
.calculator-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
}

.calculator-content {
    padding-right: 2rem;
}

.calculator-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: 700;
}

.calculator-content p {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.calculator-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #1e293b;
    background: #f8fafc;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
    background: white;
}

.results {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    height: fit-content;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 2px solid #e2e8f0;
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-item:first-child {
    padding-top: 0;
}

.result-item span:first-child {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.result-item span:last-child {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--heading-font);
}

.result-item.highlight span:last-child {
    color: #3b82f6;
    font-size: 1.5rem;
}

#calculateBtn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

#calculateBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .calculator-content {
        padding-right: 0;
    }

    .results {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 4rem 1.5rem;
    }

    .calculator-wrapper {
        padding: 2rem;
    }

    .calculator-content h2 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 3rem 1rem;
    }

    .calculator-wrapper {
        padding: 1.5rem;
    }

    .calculator-content h2 {
        font-size: 1.75rem;
    }

    .results {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

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

.info-item {
    text-align: center;
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.info-item i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.info-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
}

.contact-form h3 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 6rem 2rem 2rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

.footer-links li {
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Admin Styles */
.admin-login {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 2rem;
}

.login-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.5s ease-out;
}

.login-form h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 2rem;
}

.admin-dashboard {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-button {
    background-color: var(--danger-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.logout-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .car-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .calculator-form,
    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    :root {
        --section-padding: 4rem 1rem;
    }

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

    .filters select {
        width: 100%;
    }

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

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

/* Update heading styles throughout the site */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero h1 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-content h2.financing-highlight {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero p {
    font-family: var(--body-font);
    font-weight: 300;
    line-height: 1.8;
}

.car-details h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.car-details .price {
    font-family: var(--heading-font);
    font-weight: 700;
}

.form-group label {
    font-family: var(--heading-font);
    font-weight: 500;
}

.footer-logo h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Promise Section */
.promise-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.promise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.promise-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.promise-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.promise-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.promise-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 6rem;
    padding: 0;
    list-style: none;
    position: relative;
}

.promise-item {
    position: relative;
    padding: 0;
    background: none;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.promise-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 20px;
}

.promise-item:hover::before {
    opacity: 1;
}

.promise-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promise-item:hover .promise-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.promise-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.promise-item:hover .promise-icon i {
    transform: scale(1.1);
}

.promise-content {
    position: relative;
    z-index: 1;
}

.promise-content strong {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--heading-font);
    transition: color 0.3s ease;
}

.promise-content span {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    display: block;
}

.promise-item:hover .promise-content strong {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .promise-list {
        gap: 3rem 4rem;
    }
}

@media (max-width: 768px) {
    .promise-list {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .promise-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .promise-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .promise-icon {
        width: 60px;
        height: 60px;
    }

    .promise-icon i {
        font-size: 1.5rem;
    }

    .promise-content strong {
        font-size: 1.25rem;
    }

    .promise-content span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .promise-title {
        font-size: 1.75rem;
    }
}

/* Inventory Page Styles */
.inventory-page {
    padding-top: 80px;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.inventory-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.inventory-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.inventory-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.inventory-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.reset-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-button:hover {
    background-color: #e2e8f0;
}

/* Inventory Main Content */
.inventory-main {
    flex: 1;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.results-count {
    font-size: 1.1rem;
    color: var(--text-color);
}

.results-count span {
    font-weight: 600;
    color: var(--primary-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-options label {
    font-weight: 500;
    color: var(--text-color);
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    font-size: 0.95rem;
    min-width: 180px;
}

/* Inventory Grid */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.car-details {
    padding: 1.5rem;
}

.car-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.car-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
}

.car-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.car-info i {
    color: var(--primary-color);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.active {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    display: flex;
    flex-direction: column;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.modal-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.modal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.modal-btn {
    flex: 1;
    padding: 0.875rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn.primary {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.modal-btn.primary:hover {
    background: var(--primary-dark);
}

.modal-btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.modal-btn.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-image {
        height: 300px;
    }

    .modal-actions {
        flex-direction: column;
    }
}

/* About Section Styles */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--bg-light) 0%, #ffffff 100%);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    padding: 2rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
}

.about-text li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.about-text li strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about {
        padding: 4rem 1rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Enhanced Financing Hero Section */
.financing-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1589188056053-28910dc61d38?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.8), rgba(44, 62, 80, 0.8));
    z-index: 1;
}

.financing-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.financing-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Process Section */
.process-section {
    padding: 6rem 2rem;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--container-width);
    margin: 3rem auto 0;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -1rem;
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 700;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.process-step p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enhanced Calculator Section */
.calculator-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
}

.calculator-content {
    padding-right: 2rem;
}

.calculator-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: 700;
}

.calculator-content p {
    color: #64748b;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.calculator-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #1e293b;
    background: #f8fafc;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
    background: white;
}

.results {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    height: fit-content;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 2px solid #e2e8f0;
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-item:first-child {
    padding-top: 0;
}

.result-item span:first-child {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.result-item span:last-child {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--heading-font);
}

.result-item.highlight span:last-child {
    color: #3b82f6;
    font-size: 1.5rem;
}

#calculateBtn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

#calculateBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .calculator-content {
        padding-right: 0;
    }

    .results {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 4rem 1.5rem;
    }

    .calculator-wrapper {
        padding: 2rem;
    }

    .calculator-content h2 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 3rem 1rem;
    }

    .calculator-wrapper {
        padding: 1.5rem;
    }

    .calculator-content h2 {
        font-size: 1.75rem;
    }

    .results {
        padding: 1.5rem;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 3rem auto 0;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.benefit-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: var(--container-width);
    margin: 3rem auto 0;
}

.faq-item {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after {
        display: none;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .financing-hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .financing-hero h1 {
        font-size: 2.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1568992687947-868a62a9f521?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
}

.contact-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--success-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-wrapper {
    padding: 3rem;
}

.form-wrapper h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.form-wrapper p {
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(3px);
}

.map-section {
    height: 450px;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 30vh;
    }

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

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 2rem;
    }
}

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

    .contact-section {
        padding: 4rem 1rem;
    }

    .form-wrapper {
        padding: 1.5rem;
    }
}

/* Contact Form Validation Styles */
.contact-form input.valid,
.contact-form textarea.valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

/* Form Notification Styles */
.form-notification {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out;
}

.form-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading State Styles */
.contact-form button[type="submit"]:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.8;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Form Input Focus States */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.car-images {
    width: 100%;
}

.car-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.car-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.car-details h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin: 0;
}

.car-price {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-accent);
}

.car-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.car-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.car-specs h3,
.car-history h3,
.car-features h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
}

.specs-grid,
.history-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.specs-grid div,
.history-grid div {
    padding: 0.75rem;
    background-color: var(--color-bg-light);
    border-radius: 6px;
    font-size: 1rem;
}

.specs-grid strong,
.history-grid strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.25rem;
}

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

.features-list li {
    padding: 0.5rem;
    background-color: var(--color-bg-light);
    border-radius: 4px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: "✓";
    color: var(--color-accent);
    margin-right: 0.5rem;
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .specs-grid,
    .history-grid,
    .features-list {
        grid-template-columns: 1fr;
    }
} 