/* Mobile Responsive Styles for Canada Drives Clone */

/* Base Mobile Styles */
@media screen and (max-width: 768px) {
    /* Global Adjustments */
    body {
        font-size: 15px;
        overflow-x: hidden;
        background: #ffffff;
        line-height: 1.6;
    }

    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    /* Navigation Mobile */
    .header {
        background: #151f21 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999 !important;
    }

    /* Add padding to body to account for fixed header */
    body {
        padding-top: 60px;
    }

    .navbar {
        padding: 12px 0;
        position: relative;
        background: transparent !important;
    }

    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }

    .logo-img {
        height: 40px;
        width: auto;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        cursor: pointer;
        z-index: 1002;
        padding: 8px;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-menu-toggle:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #ffffff;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Menu Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Mobile Navigation Menu - Slide from Right */
    .nav-menu {
        display: flex;
        position: fixed;
        top: 60px;
        right: -70%;
        left: auto;
        width: 70%;
        height: calc(100vh - 60px);
        background: #151f21;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 9999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu li {
        width: 100%;
        margin: 10px 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Hero Section Mobile */
    .hero {
        padding: 0;
        background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
                    url('https://images.unsplash.com/photo-1511497584788-876760111969?w=1920&h=1080&fit=crop&auto=format') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important; /* Fixed to scroll for mobile performance */
        min-height: 100vh;
        height: auto;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .hero::before {
        display: none; /* Remove conflicting overlay */
    }

    .hero-banner {
        padding: 80px 20px 60px;
        background: transparent !important;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-banner::before {
        display: none !important; /* Remove green overlay from desktop styles */
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 20px;
        color: #ffffff !important;
        text-align: center;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
        color: #ffffff !important;
        text-align: center;
        opacity: 0.95;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-choice-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 0 20px;
        position: relative;
        z-index: 2;
        margin-bottom: 0;
        padding-bottom: 60px;
        width: 100%;
    }

    .choice-btn {
        width: 100%;
        max-width: 320px;
        padding: 18px 32px;
        font-size: 17px;
        font-weight: 600;
        border-radius: 12px;
        border: none;
        transition: all 0.3s ease;
        text-align: center;
        display: inline-block;
        cursor: pointer;
    }

    .choice-btn-primary {
        background: rgba(255, 255, 255, 0.95) !important;
        color: #5B5FED !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .choice-btn-primary:hover,
    .choice-btn-primary:active {
        background: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    }

    .choice-btn-secondary {
        background: rgba(26, 26, 46, 0.85) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255,255,255,0.8) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .choice-btn-secondary:hover,
    .choice-btn-secondary:active {
        background: rgba(26, 26, 46, 0.95) !important;
        transform: translateY(-2px);
        border-color: #ffffff !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }

    .choice-separator {
        color: #ffffff;
        font-weight: 500;
        opacity: 0.9;
        margin: 5px 0;
    }

    /* Form Wizard Mobile */
    .form-wizard {
        padding: 30px 20px;
        margin: 0 auto;
        border-radius: 15px;
        max-width: 100%;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .form-step {
        padding: 30px 0;
        text-align: center;
    }

    .step-title {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
        color: #333;
    }

    .step-subtitle {
        font-size: 1rem;
        text-align: center;
        color: #666;
        margin-bottom: 30px;
    }

    /* Vehicle Selection Mobile */
    .vehicle-selection {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .vehicle-option {
        padding: 20px 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(255, 255, 255, 0.6);
        transition: all 0.2s ease;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    }

    .vehicle-option:hover,
    .vehicle-option:active {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
        border-color: rgba(99, 102, 241, 0.3);
    }

    .vehicle-option.selected {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: white;
        border-color: transparent;
        transform: translateY(-4px) scale(1.02);
    }

    .vehicle-icon {
        height: 70px;
        margin-bottom: 12px;
    }

    .vehicle-option span {
        font-size: 0.95rem;
        font-weight: 500;
        color: #333;
    }

    /* Option Lists Mobile */
    .option-list {
        margin: 20px 0;
    }

    .option-item {
        padding: 12px 12px 12px 45px;
        margin-bottom: 10px;
        font-size: 14px;
        position: relative;
    }

    /* Fully hide native radio buttons on mobile */
    .option-item input[type="radio"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        opacity: 0 !important;
        position: absolute;
        left: 12px !important;
    }

    /* Custom checkbox styling for mobile */
    .option-item::before {
        left: 14px !important;
        width: 22px;
        height: 22px;
        border-radius: 6px;
        border: 2px solid #d1d5db;
        background-color: #ffffff;
    }

    /* Selected state on mobile */
    .option-item.selected::before {
        background-color: #6366f1;
        border-color: #6366f1;
    }

    .option-item.selected::after {
        content: '\2713';
        position: absolute;
        left: 14px !important;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: bold;
        color: white;
        z-index: 3;
    }

    /* Form Buttons Mobile */
    .form-buttons {
        flex-direction: column-reverse;
        gap: 15px;
        margin-top: 30px;
        padding: 0 10px;
    }

    .form-buttons .btn {
        width: 100%;
        padding: 18px 20px;
        font-size: 16px;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.3s ease;
        text-align: center;
        cursor: pointer;
    }

    /* Income Input Mobile */
    .income-input-container {
        flex-direction: column;
    }

    .income-input {
        font-size: 1.5rem;
        padding: 18px 18px 18px 50px;
    }

    .currency-symbol {
        font-size: 1.5rem;
        left: 18px;
    }

    .currency-symbol {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 10px;
    }

    /* Duration Inputs Mobile */
    .duration-input-container {
        flex-direction: column;
        gap: 15px;
    }

    .duration-input-group {
        width: 100%;
    }

    /* Contact Form Mobile */
    .contact-form .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 12px 16px;
    }

    .form-group select {
        padding-right: 36px;
        background-position: right 12px center;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .contact-form input,
    .contact-form select {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Trade-in Upload Grid Mobile */
    .tradein-upload-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .upload-section {
        width: 100%;
    }

    .upload-area {
        min-height: 120px;
    }

    .upload-label {
        padding: 20px;
    }

    /* Form Row Mobile */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-row .form-group {
        width: 100%;
    }

    /* Document Upload Mobile */
    .document-upload-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .upload-box {
        padding: 15px;
    }

    /* Content Sections Mobile */
    .content-section {
        padding: 60px 20px;
        text-align: center;
    }

    .content-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .content-grid.reverse {
        flex-direction: column;
    }

    .content-text h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
        color: #333;
    }

    .content-text p {
        font-size: 15px;
        line-height: 1.8;
        text-align: center;
        color: #666;
        margin-bottom: 20px;
    }

    .benefits-list {
        text-align: left;
        max-width: 90%;
        margin: 0 auto;
    }

    .benefits-list li {
        font-size: 15px;
        margin-bottom: 15px;
        padding-left: 25px;
        position: relative;
    }

    .benefits-list li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #5B5FED;
        font-weight: bold;
    }

    .content-image {
        width: 100%;
        height: 280px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    /* Vehicle Types Grid Mobile */
    .vehicle-types {
        padding: 60px 20px;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
        text-align: center;
        font-weight: 700;
        color: #333;
        line-height: 1.2;
    }

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .vehicle-card {
        padding: 20px 10px;
    }

    .vehicle-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .vehicle-card h4 {
        font-size: 0.9rem;
    }

    /* Our Story Mobile */
    .our-story {
        padding: 40px 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-highlights {
        margin: 20px 0;
    }

    .location-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .location-item h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .location-item p {
        font-size: 13px;
    }

    /* Founder Section Mobile */
    .founder-section {
        flex-direction: column;
        padding: 20px;
        margin-top: 20px;
    }

    .founder-image {
        width: 180px;
        height: 180px;
        margin: 0 auto 20px;
    }

    .founder-info {
        text-align: center;
    }

    .founder-quote {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Achievements Mobile */
    .achievements {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .achievement-item {
        padding: 15px;
    }

    .achievement-number {
        font-size: 1.8rem;
    }

    .achievement-label {
        font-size: 0.85rem;
    }

    /* Testimonials Mobile */
    .testimonials {
        padding: 60px 20px;
    }

    .testimonial-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .testimonial::before {
        font-size: 4rem;
        left: 10px;
    }

    .testimonial p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .testimonial cite {
        font-size: 0.875rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column a {
        font-size: 14px;
    }

    .social-links {
        display: flex;
        gap: 20px;
        margin-top: 15px;
    }

    .social-links a {
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 20px;
    }

    /* Progress Bar Mobile */
    .progress-container {
        margin-bottom: 20px;
    }

    .progress-text {
        font-size: 12px;
    }

    .progress-bar {
        height: 6px;
    }

    /* Selection Summary Mobile */
    .selection-summary {
        padding: 10px;
        margin-bottom: 20px;
    }

    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .edit-link {
        align-self: flex-end;
        font-size: 13px;
    }

    /* Income Verification Mobile */
    .income-verification {
        padding: 20px;
        margin: 20px 0;
    }

    .income-amount {
        font-size: 2rem;
    }

    .verification-question {
        font-size: 14px;
        margin: 15px 0;
    }

    .verification-options {
        gap: 15px;
    }

    .verification-option {
        flex: 1;
        padding: 12px;
    }

    /* Buttons */
    .btn {
        padding: 16px 28px;
        font-size: 16px;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
        text-align: center;
        display: inline-block;
        min-height: 52px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 18px 20px;
        font-size: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .btn-primary:hover,
    .btn-primary:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(91, 95, 237, 0.25);
    }

    .btn-secondary:hover,
    .btn-secondary:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    /* Hero Confidence Section Mobile */
    .hero-confidence-section {
        padding: 40px 0;
        background: transparent !important;
        margin-top: 0 !important;
    }

    .hero-confidence-section h3 {
        color: #ffffff !important;
        font-size: 1.6rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    }

    .hero-confidence-section p {
        color: #ffffff !important;
        font-size: 14px;
        line-height: 1.6;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
    }

    .hero-confidence-section .benefits-list {
        margin: 20px 0;
    }

    .hero-confidence-section .benefits-list li {
        color: #ffffff !important;
        font-size: 14px;
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
    }

    .hero-confidence-section .benefits-list i {
        color: #90EE90 !important; /* Light green for better visibility */
        margin-right: 10px;
        margin-top: 3px;
        font-size: 12px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    }

    /* Admin Link Mobile */
    .admin-link {
        border-top: 2px solid #eee;
        padding-top: 12px !important;
        margin-top: 10px;
    }

    /* Trust Bar Mobile Optimization */
    .trust-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .trust-item {
        font-size: 0.8rem;
        justify-content: center;
    }

    .trust-item i {
        font-size: 1.1rem;
    }
}

/* Extra Small Devices (phones in portrait) */
@media screen and (max-width: 480px) {
    /* Adjust hero background for smaller screens */
    .hero {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: fixed !important;
        min-height: 100vh;
        height: auto;
    }

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

    .vehicle-selection {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vehicle-option {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 12px;
    }

    .vehicle-icon {
        width: 80px;
        height: 60px;
        margin: 0;
    }

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

    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .founder-image {
        width: 160px;
        height: 160px;
    }
}

/* Landscape Mobile Adjustments */
@media screen and (max-width: 896px) and (orientation: landscape) {
    .hero-banner {
        padding: 20px 0;
    }

    .form-wizard {
        max-height: 80vh;
        overflow-y: auto;
    }

    .vehicle-selection {
        grid-template-columns: repeat(3, 1fr);
    }

    .achievements {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .option-item,
    .vehicle-option,
    .vehicle-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .btn:active {
        transform: scale(0.98);
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
    }
}

/* Smooth Scrolling for Mobile */
@media screen and (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Print Styles */
@media print {
    .mobile-menu-toggle,
    .nav-menu,
    .footer {
        display: none;
    }
}
/* ====== MOBILE ANIMATION OPTIMIZATIONS ====== */
@media screen and (max-width: 768px) {
    /* Reduce animation intensity on mobile for performance */
    .animate-on-scroll {
        transform: translateY(20px);
    }

    .vehicle-option:hover,
    .testimonial:hover {
        transform: translateY(-6px);
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-2px) scale(1.01);
    }

    /* Disable parallax on mobile for performance */
    .hero {
        background-attachment: scroll !important;
    }

    /* Simplified shadows for mobile performance */
    .form-wizard {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .testimonial {
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.06);
    }

    /* Disable star twinkle on mobile */
    .testimonial:hover .stars i {
        animation: none !important;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ====== SELL MY CAR - MOBILE OPTIMIZATION ====== */
@media screen and (max-width: 768px) {
    /* Mobile Make Dropdown - Show on mobile */
    .mobile-make-dropdown {
        display: block !important;
        margin-bottom: 1.5rem;
    }

    .mobile-make-dropdown select {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 16px !important;
        border-radius: 12px !important;
        border: 2px solid rgba(99, 102, 241, 0.3) !important;
        background: white !important;
        width: 100% !important;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: right 16px center !important;
        background-size: 20px !important;
    }

    .mobile-make-dropdown select:focus {
        outline: none;
        border-color: #6366f1 !important;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    }

    .mobile-make-dropdown label {
        font-size: 1rem;
        font-weight: 600;
        color: #1a202c;
        margin-bottom: 0.75rem;
        display: block;
    }

    /* Desktop Make Grid - Hide on mobile */
    .desktop-make-grid {
        display: none !important;
    }

    /* Other make input for mobile - show it outside the hidden grid */
    .sell-form-step .other-make-input {
        display: block !important;
        margin-top: 1rem;
    }

    /* Main Container */
    .sell-car-wizard {
        padding: 1.5rem;
        border-radius: 20px;
        margin: 0 10px;
    }

    /* Title & Subtitle */
    .sell-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .sell-subtitle {
        font-size: 1rem;
        text-align: center;
    }

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

    /* Photo Upload Grid - Single Column */
    .sell-car-upload-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Form Grids - Single Column */
    .vehicle-form-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Vehicle & Contact Info Sections */
    .sell-vehicle-info,
    .sell-contact-info {
        padding: 1.5rem;
        border-radius: 16px;
    }

    /* Photo Tips Box */
    .photo-tips {
        padding: 1.25rem;
    }

    .photo-tips ul {
        padding-left: 1rem;
    }

    .photo-tips h4 {
        font-size: 1rem;
    }

    /* Touch-Friendly Inputs */
    .sell-vehicle-info input,
    .sell-vehicle-info select,
    .sell-contact-info input,
    .sell-contact-info textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* Step Headers */
    .sell-car-steps h3,
    .sell-vehicle-info h3,
    .sell-contact-info h3 {
        font-size: 1.35rem;
        padding-left: 45px;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 480px) {
    .sell-car-wizard {
        padding: 1.25rem;
        margin: 0 5px;
    }

    .sell-title {
        font-size: 1.5rem;
    }

    /* Stack step number above text */
    .sell-car-steps h3,
    .sell-vehicle-info h3,
    .sell-contact-info h3 {
        font-size: 1.25rem;
        padding-left: 0;
        padding-top: 45px;
        text-align: center;
    }

    .sell-car-steps h3::before,
    .sell-vehicle-info h3::before,
    .sell-contact-info h3::before {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    /* Full-width stacked buttons */
    .sell-form-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .sell-form-buttons .btn {
        min-width: unset;
        width: 100%;
    }

    /* Consent checkbox text */
    .consent-text {
        font-size: 0.85rem;
    }
}
