/* Custom Styles for High Level Cars - Black, Red, White Theme */

/* Use the 'Inter' font loaded from Google Fonts in the HTML */
body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    background-color: #f8f9fa;
}

/* Custom Color Variables */
:root {
    --primary-red: #dc3545;
    --dark-red: #b02a37;
    --light-red: #f8d7da;
    --primary-black: #000000;
    --dark-grey: #212529;
    --medium-grey: #495057;
    --light-grey: #6c757d;
    --pure-white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
}

/* Custom overlay for the hero video section */
.video-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(220, 53, 69, 0.4));
}

/* Section styling */
section {
    scroll-margin-top: 20px;
}

#home {
    margin-top: 0;
}

/* Navigation Styles */
.navbar {
    background-color: var(--pure-white) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-red);
}

.navbar-brand img {
    height: 48px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link.hover-red {
    transition: color 0.3s ease;
    font-weight: 500;
    color: var(--dark-grey) !important;
}

.nav-link.hover-red:hover {
    color: var(--primary-red) !important;
}

.navbar-toggler {
    border-color: var(--primary-red);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Custom Button Styles */
.btn-custom {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-custom:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-custom:hover {
    background-color: var(--pure-white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Hero Section Styles */
.object-fit-cover {
    object-fit: cover;
}

.z-3 {
    z-index: 3;
}

/* Image Hover Effects */
.hover-zoom {
    transition: transform 0.5s ease;
}

.hover-zoom:hover {
    transform: scale(1.1);
}

/* Card Styles */
.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: var(--pure-white);
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-custom .card-header {
    background-color: var(--primary-red);
    color: var(--pure-white);
    border: none;
    padding: 1.5rem;
}

.card-custom .card-body {
    padding: 2rem;
}

/* Section styling for better contrast with white navbar */
section:not(#home) {
    border-top: 1px solid var(--border-color);
}

.bg-white {
    background-color: var(--pure-white) !important;
}

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

/* Service Icons */
.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-red);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon:hover {
    background-color: var(--primary-red);
    color: var(--pure-white);
    transform: scale(1.1);
}

/* Vehicle Card Styles */
.vehicle-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.vehicle-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .card-img-top {
    transform: scale(1.05);
}

.price-badge {
    background-color: var(--primary-black);
    color: var(--pure-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin: 0;
}

.original-price {
    text-decoration: line-through;
    color: var(--light-grey);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact for Price button styling */
.btn-contact-price {
    background-color: var(--medium-grey);
    border-color: var(--medium-grey);
    color: var(--pure-white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact-price:hover {
    background-color: var(--dark-grey);
    border-color: var(--dark-grey);
    color: var(--pure-white);
}

/* Custom styles for the search form dropdowns to override browser defaults */
.pro-form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23dc3545%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: .65em auto;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 50px 12px 15px;
    transition: border-color 0.3s ease;
}

.pro-form-group select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.pro-form-group input {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.pro-form-group input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Search Form Styles */
.search-form {
    background: var(--pure-white);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* Footer Styles */
footer {
    background-color: var(--primary-black);
    color: var(--pure-white);
}

footer h5 {
    color: var(--primary-red);
    font-weight: 600;
}

footer a {
    color: #e9ecef;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-red);
}

footer .text-muted {
    color: #adb5bd !important;
}

footer p {
    color: var(--pure-white);
}

footer .small {
    color: #ced4da !important;
}

/* Contact Section Styles */
.contact-info {
    background-color: var(--primary-black);
    color: var(--pure-white);
    border-radius: 15px;
    padding: 2rem;
}

.contact-info .fas {
    color: var(--primary-red);
    margin-right: 1rem;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-grey);
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

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

.border-red {
    border-color: var(--primary-red) !important;
}

/* Hover effects for links */
.hover-red {
    transition: color 0.3s ease;
}

.hover-red:hover {
    color: var(--primary-red) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Badge styles */
.badge {
    font-weight: 600 !important;
}

/* Shadow effects */
.shadow-red {
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.shadow-black {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Text selection */
::selection {
    background: var(--primary-red);
    color: var(--pure-white);
}

::-moz-selection {
    background: var(--primary-red);
    color: var(--pure-white);
}

/* Enhanced Bootstrap overrides */
.bg-dark {
    background-color: var(--primary-black) !important;
}

.text-dark {
    color: var(--dark-grey) !important;
}

.btn-dark:hover {
    background-color: var(--dark-grey);
    border-color: var(--dark-grey);
}

/* Hero video responsive */
@media (max-width: 768px) {
    .hero-video {
        height: 70vh;
    }
}

/* Animation for elements entering viewport */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

/* Enhanced mobile navbar */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
        background-color: var(--pure-white);
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(220, 53, 69, 0.1);
    }
    
    .navbar-collapse {
        border-top: 1px solid rgba(220, 53, 69, 0.2);
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
}

/* --- Scroll Animation Classes --- */

/* The initial state of the element before it becomes visible */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* The state of the element once it is visible */
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3rem;
    }
    
    .btn-custom, .btn-outline-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Order Status Tracker */
.status-tracker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    padding: 0 10px;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    white-space: nowrap; /* Prevent wrapping */
}

.status-tracker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
    z-index: 0;
}

.status-tracker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background-color: var(--primary-red); /* Color for completed part */
    transform: translateY(-50%);
    z-index: 0;
    width: 0%; /* Initial width */
    transition: width 0.5s ease-in-out; /* Smooth transition for width */
}

.status-tracker.progress-0::after { width: 0%; }
.status-tracker.progress-1::after { width: calc(100% / 5 * 0); } /* For 6 steps, 5 segments */
.status-tracker.progress-2::after { width: calc(100% / 5 * 1); }
.status-tracker.progress-3::after { width: calc(100% / 5 * 2); }
.status-tracker.progress-4::after { width: calc(100% / 5 * 3); }
.status-tracker.progress-5::after { width: calc(100% / 5 * 4); }
.status-tracker.progress-6::after { width: 100%; }

.status-step {
    display: inline-flex; /* Use inline-flex to keep them in a row */
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0; /* Prevent shrinking */
    padding: 0 10px; /* Add some padding between steps */
}

.status-circle {
    width: 30px;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #e0e0e0;
}

.status-label {
    font-size: 0.85rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.status-step.completed .status-circle {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.status-step.completed .status-label {
    color: var(--primary-black);
    font-weight: bold;
}

.status-step.active .status-circle {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.status-step.active .status-label {
    color: var(--primary-black);
    font-weight: bold;
}

/* Style for cancelled status */
.status-step.cancelled .status-circle {
    background-color: #6c757d; /* Grey for cancelled */
    border-color: #6c757d;
}

.status-step.cancelled .status-label {
    color: #6c757d;
    font-weight: bold;
}

/* Responsive adjustments for status tracker */
@media (max-width: 768px) {
    .status-tracker {
        justify-content: initial; /* Allow steps to align to start and scroll */
    }

    .status-step {
        padding: 0 5px; /* Reduce padding on small screens */
    }

    /* Keep the line on small screens, but it will be under the steps */
    .status-tracker::before {
        display: block;
    }
}

/* Process Steps Styles - Dream Vehicle Page */
.process-steps {
    position: relative;
}

.process-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.15);
    border-color: var(--primary-red);
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-image-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-red);
    color: var(--pure-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.process-card:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.process-icon {
    background: rgba(220, 53, 69, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-red);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.process-card:hover .process-icon::before {
    width: 100%;
    height: 100%;
}

.process-icon i {
    color: var(--primary-red);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.process-card:hover .process-icon i {
    color: var(--pure-white);
    transform: scale(1.1);
}

.process-card h4 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.process-card:hover h4 {
    color: var(--primary-red);
}

.process-card p {
    color: var(--light-grey);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive Design */
@media (max-width: 991.98px) {
    .process-card {
        margin-bottom: 2rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
    }
    
    .process-icon i {
        font-size: 2rem !important;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -8px;
        right: -8px;
    }
}

@media (max-width: 576px) {
    .process-card {
        padding: 1.5rem 1rem;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
    }
    
    .process-icon i {
        font-size: 1.8rem !important;
    }
    
    .process-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: -5px;
        right: -5px;
    }
}

/* Pulse animation for call-to-action */
.btn-custom {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Import Journey Flowchart Styles */
.import-journey-flow {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.import-step {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.import-step:nth-child(1) { animation-delay: 0.1s; }
.import-step:nth-child(2) { animation-delay: 0.2s; }
.import-step:nth-child(3) { animation-delay: 0.3s; }
.import-step:nth-child(4) { animation-delay: 0.4s; }
.import-step:nth-child(5) { animation-delay: 0.5s; }
.import-step:nth-child(6) { animation-delay: 0.6s; }
.import-step:nth-child(7) { animation-delay: 0.7s; }
.import-step:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent);
    transition: left 0.6s ease;
}

.step-content:hover::before {
    left: 100%;
}

.step-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.12);
}

.step-content.reverse {
    flex-direction: row-reverse;
}

.step-image-container {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.step-content:hover .step-image {
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 10;
    color: var(--pure-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    border: 3px solid var(--primary-red);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    background: rgba(220, 53, 69, 0.9);
}

.step-content:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.step-info {
    flex: 1;
    z-index: 1;
}

.step-info h4 {
    color: var(--dark-grey);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.step-content:hover .step-info h4 {
    color: var(--primary-red);
}

.step-info p {
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-actions .btn {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.step-actions .btn:hover {
    transform: translateY(-2px);
}

/* Step Connector Lines */
.step-connector {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--primary-red), var(--border-color));
    opacity: 0.6;
}

.import-step:last-child .step-connector {
    display: none;
}

/* Floating Animation for Images */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.step-image-container:hover {
    animation: float 2s ease-in-out infinite;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .step-content {
        flex-direction: column !important;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .step-content.reverse {
        flex-direction: column !important;
    }
    
    .step-image-container {
        width: 220px;
        height: 220px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -12px;
        right: -12px;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .step-actions {
        text-align: center;
    }
    
    .step-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .step-connector {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .import-step {
        margin-bottom: 3rem;
    }
    
    .step-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .step-image-container {
        width: 180px;
        height: 180px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        top: -10px;
        right: -10px;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .import-journey-flow {
        padding: 1rem 0;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: var(--primary-red);
    color: var(--pure-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--dark-red);
    transform: scale(1.1);
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}