:root {
    --primary-color: rgb(142, 97, 255);
    --primary-dark: rgb(122, 77, 235);
    --primary-light: rgb(162, 117, 255);
    --primary-bg: rgba(142, 97, 255, 0.05);
    --secondary-color: #FF6B6B;
    --accent-color: #4ECDC4;
    --dark-text: #2C3E50;
    --light-text: #6C757D;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --lighter-bg: #FAFBFC;
    --border-light: #E9ECEF;
    --shadow-sm: 0 2px 4px rgba(142, 97, 255, 0.08);
    --shadow-md: 0 4px 20px rgba(142, 97, 255, 0.12);
    --shadow-lg: 0 10px 40px rgba(142, 97, 255, 0.15);
    --shadow-xl: 0 20px 60px rgba(142, 97, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
    background: var(--white);
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
    text-align: center;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Header - Subtask 189: Reduced height to prevent content overlap */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    padding: 12px 0;
}

header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-size: 26px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

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

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active {
    color: var(--primary-color) !important;
    background: var(--primary-bg);
}

.btn-nav-login {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-right: 12px;
}

.btn-nav-login:hover {
    background: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-nav-signup {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-nav-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.btn-nav-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(142, 97, 255, 0.3);
}

.btn-nav-signup:hover::before {
    left: 100%;
}

/* Hero Section - Improved Mobile Design */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--lighter-bg) 0%, var(--light-bg) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(circle at 20% 50%, var(--primary-color) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50% { opacity: 0.08; transform: scale(1.1); }
}

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

.hero-badge {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease forwards;
}

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

.hero-content h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark-text);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-content h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(142, 97, 255, 0.3);
}

.btn-hero-primary:active::before {
    width: 300px;
    height: 300px;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--border-light);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-stat-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
    font-size: 24px;
}

.hero-stat-content {
    text-align: left;
}

.hero-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--light-text);
}

/* Hero Slider Section */
.hero-slider-container {
    position: relative;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%);
    padding: 30px 40px 40px;
    color: white;
    max-height: 120px;
}

/* Subtask 191: Free Delivery PHL Airport Badge */
.hero-slide-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slide-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-slide-price {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-text);
    font-size: 20px;
}

.slider-nav-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.hero-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    filter: blur(100px);
}

.hero-decoration-1 {
    top: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite;
}

.hero-decoration-2 {
    bottom: -150px;
    right: -150px;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

/* Search Widget - Enhanced Design */
.search-widget {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(142, 97, 255, 0.15);
    margin-top: 60px;
    margin-bottom: 80px;
    position: relative;
    overflow: visible;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.1s;
    border: 2px solid rgba(142, 97, 255, 0.1);
    z-index: 100;
}

.search-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.search-form-group {
    position: relative;
    margin-bottom: 0;
}

.search-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form-group label i {
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

/* Global placeholder fix */
.placeholder {
    background-color: transparent !important;
    background: transparent !important;
}

.form-control-modern {
    border: 2px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 50px 16px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    background: var(--white);
    width: 100%;
    height: 56px;
    cursor: text;
    color: var(--dark-text);
}

.form-control-modern::placeholder {
    color: #9CA3AF;
    opacity: 1;
    background: transparent;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-bg);
    outline: none;
}

.form-control-modern:hover {
    border-color: var(--primary-light);
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    font-size: 18px;
}

/* Date Range Picker Custom Styles */
.date-range-container {
    position: relative;
}
.date-range-container .flatpickr-wrapper {
  position: absolute;
}
.date-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px 0 20px;
    height: 56px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    width: 100%;
}

.date-display:hover {
    border-color: var(--primary-light);
}

.date-display.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-bg);
}

.date-display-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.date-display-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: transparent;
    padding: 0;
}

.date-display-label {
    font-size: 10px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.date-display-value {
    font-size: 15px;
    color: var(--dark-text);
    font-weight: 600;
}

.date-display-value.placeholder {
    color: #9CA3AF;
    font-weight: 400;
    background: transparent;
}

.date-display-separator {
    width: 1px;
    height: 30px;
    background: var(--border-light);
    margin: 0 10px;
}

.date-display-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
    pointer-events: none;
}

/* Location Input with Suggestions */
.location-input-wrapper {
    position: relative;
}

.location-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
    display: none;
    border: 2px solid var(--border-light);
    /* Better scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-bg);
}

.location-suggestions::-webkit-scrollbar {
    width: 6px;
}

.location-suggestions::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.location-suggestions::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.location-suggestions.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.location-suggestion {
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
}

.location-suggestion:last-child {
    border-bottom: none;
}

.location-suggestion:hover {
    background: var(--primary-bg);
}

.location-suggestion-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.location-suggestion-content {
    flex: 1;
    min-width: 0;
}

.location-suggestion-title {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-suggestion-subtitle {
    font-size: 13px;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-locations {
    padding: 12px 20px;
    background: var(--lighter-bg);
    border-bottom: 1px solid var(--border-light);
}

.popular-locations-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Button Enhanced */
.btn-search-main {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0 40px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    height: 56px;
    margin-top: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-search-main::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.btn-search-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(142, 97, 255, 0.3);
}

.btn-search-main:active::after {
    width: 600px;
    height: 600px;
}

.btn-search-main i {
    font-size: 18px;
}

/* Search Results Summary */
.search-summary {
    background: var(--primary-bg);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.search-summary.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.search-summary-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-summary-item i {
    color: var(--primary-color);
}

.search-summary-item span {
    font-weight: 600;
    color: var(--dark-text);
}

.btn-clear-search {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear-search:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Menu - Fixed */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark-text);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

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

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

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

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

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

/* Features Section */
.features-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.section-badge {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 60px;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--white);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-text);
}

.feature-description {
    color: var(--light-text);
    line-height: 1.6;
}

/* Cars Grid */
.cars-section {
    padding: 120px 0;
    background: var(--light-bg);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-bg);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.car-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-light);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.car-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--light-bg);
}

.car-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.car-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.car-favorite:hover {
    background: var(--primary-color);
    color: var(--white);
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.car-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.car-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--light-text);
    font-size: 14px;
}

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

.car-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.car-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.car-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--light-text);
}

.btn-rent-now {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-rent-now:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Process Section - Vertical Timeline Design */
.process-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-bg) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.process-timeline {
    position: relative;
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* Vertical Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--primary-color) 10%,
        var(--primary-color) 90%,
        transparent 100%);
    opacity: 0.3;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Alternating layout */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Timeline Content Box */
.timeline-content {
    width: 45%;
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

/* Arrow pointing to timeline */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -12px;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -12px;
    border-width: 12px 12px 12px 0;
    border-color: transparent var(--white) transparent transparent;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 8px var(--primary-bg);
}

/* Step Number */
.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(142, 97, 255, 0.3);
    z-index: 1;
}

/* Step Icon */
.step-icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.timeline-item:hover .step-icon-box {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(-5deg) scale(1.1);
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.step-description {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.step-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.step-feature i {
    font-size: 12px;
}

.timeline-item:hover .step-feature {
    background: var(--primary-bg);
}

/* Mobile Responsive Timeline */
@media (max-width: 767px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 50px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-content::after {
        left: -12px !important;
        border-width: 12px 12px 12px 0 !important;
        border-color: transparent var(--white) transparent transparent !important;
    }

    .timeline-dot {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    .timeline-item:hover .timeline-dot {
        transform: translate(-50%, -50%) scale(1.2);
    }

    .step-number {
        right: auto;
        left: 20px;
        top: -12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }

    .step-icon-box {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* Animation Classes */
.timeline-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease forwards;
}

.timeline-fade-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Testimonials */
.testimonials-section {
    padding: 120px 0;
    background: var(--light-bg);
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.quote-icon {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFB800;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 30px;
}

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

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

.author-info h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark-text);
}

.author-info p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Footer - Complete Redesign from Scratch */
footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    color: var(--white);
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

footer::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(142, 97, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Main Footer Content */
.footer-main {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Company Section */
.footer-company {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo i {
    font-size: 32px;
}

.footer-tagline {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 30px;
}

/* Social Media Section */
.footer-social-section {
    margin-top: 30px;
}

.social-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    color: var(--white);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Footer Links Section */
.footer-links-section {
    padding: 0 30px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 20px;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

/* Contact Section */
.footer-contact-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(142, 97, 255, 0.2), rgba(142, 97, 255, 0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-info {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

a.contact-value:hover {
    color: var(--primary-light);
}

/* App Download Section */
.app-download-wrapper {
    background: linear-gradient(135deg, rgba(142, 97, 255, 0.1), rgba(142, 97, 255, 0.03));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(142, 97, 255, 0.2);
}

.app-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.app-section-title i {
    color: var(--primary-light);
}

.app-buttons-group {
    display: flex;
    gap: 12px;
}

.app-store-button,
.google-play-button {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.app-store-button::before,
.google-play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.app-store-button:hover,
.google-play-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(142, 97, 255, 0.25);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(142, 97, 255, 0.15), rgba(142, 97, 255, 0.05));
}

.app-store-button:hover::before,
.google-play-button:hover::before {
    left: 100%;
}

.app-button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.app-button-content i {
    font-size: 28px;
    color: var(--white);
}

.app-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-small-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-main-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Payment Icons */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.payment-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icons i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 6px;
}

.footer-legal a:hover {
    color: var(--primary-light);
    background: rgba(142, 97, 255, 0.1);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-links-section {
        padding: 0 15px;
    }

    .footer-contact-section {
        margin-top: 20px;
    }

    .app-buttons-group {
        flex-direction: column;
    }

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

    .footer-legal {
        justify-content: center;
    }

    .footer-payments {
        order: 2;
    }

    .footer-copyright {
        order: 3;
    }

    .footer-legal {
        order: 1;
    }
}

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

    .footer-logo {
        font-size: 28px;
    }

    .footer-logo i {
        font-size: 24px;
    }

    .footer-tagline {
        font-size: 12px;
    }

    .footer-description {
        font-size: 14px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .footer-title {
        font-size: 16px;
    }

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

    .footer-contact-section {
        padding: 20px;
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .app-download-wrapper {
        padding: 20px;
    }

    .app-section-title {
        font-size: 14px;
    }

    .app-button-content i {
        font-size: 24px;
    }

    .app-main-text {
        font-size: 14px;
    }

    .payment-icons i {
        font-size: 20px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Container fix for mobile */
.container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

/* Responsive Improvements */
@media (max-width: 991px) {
    /* Fixed Mobile Menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding: 80px 30px 30px;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .navbar-collapse.active {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-link {
        width: 100%;
        text-align: left;
    }

    .header-buttons {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-nav-login,
    .btn-nav-signup {
        width: 100%;
        text-align: center;
        margin: 0;
    }

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

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-slider-container {
        height: 450px;
        margin-top: 40px;
    }

    .hero-stats {
        gap: 30px;
        justify-content: center;
    }

    .process-line {
        display: none;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    /* Footer Contact Responsive */
    .app-buttons {
        justify-content: space-around;
    }

    .app-store-btn,
    .google-play-btn {
        flex: 0 0 auto;
    }

    .contact-item {
        margin-bottom: 20px;
    }

    .btn-newsletter {
        width: 100%;
    }
}

@media (max-width: 767px) {
    /* Container padding fix */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Improved Mobile Hero */
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        overflow: hidden;
    }

    .hero-bg-pattern {
        display: none;
    }

    .hero-decoration {
        display: none;
    }

    .hero-content {
        padding: 0 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 20px;
        word-wrap: break-word;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 14px 30px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
        margin-bottom: 40px;
    }

    .hero-stat {
        flex: 1;
        min-width: 140px;
    }

    .hero-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .hero-stat-value {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .hero-slider-container {
        height: 350px;
        margin-top: 30px;
        border-radius: 16px;
    }

    .hero-slide-overlay {
        padding: 20px;
    }

    .hero-slide-title {
        font-size: 24px;
    }

    .hero-slide-price {
        font-size: 18px;
    }

    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Subtask 191: Mobile badge styling */
    .hero-slide-badge {
        top: 12px;
        left: 12px;
        padding: 8px 14px;
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    /* Search Widget Mobile */
    .search-widget {
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 40px;
        border-radius: 16px;
    }

    .search-form-group {
        margin-bottom: 20px;
    }

    .form-control-modern,
    .date-display,
    .btn-search-main {
        height: 50px;
        font-size: 14px;
    }

    .btn-search-main {
        margin-top: 10px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .date-display-content {
        gap: 10px;
    }

    .date-display-separator {
        margin: 0 5px;
    }

    .date-display-label {
        font-size: 9px;
    }

    .date-display-value {
        font-size: 13px;
    }

    /* Sections Mobile */
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-section,
    .cars-section,
    .process-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-description {
        font-size: 16px;
    }

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

    .footer-logo {
        font-size: 28px;
    }

    .footer-contact-info {
        margin-bottom: 25px;
    }

    .contact-item {
        gap: 12px;
        margin-bottom: 18px;
    }

    .contact-item i {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .contact-text strong {
        font-size: 13px;
    }

    .contact-text p {
        font-size: 13px;
    }

    .app-download-section {
        padding: 20px;
        margin-top: 25px;
    }

    .app-title {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .app-store-btn img,
    .google-play-btn img {
        height: 40px;
    }

    .footer-newsletter {
        padding: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Cars Section Mobile */
    .filter-tabs {
        gap: 8px;
        margin-bottom: 40px;
    }

    .filter-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .car-specs {
        font-size: 12px;
        gap: 12px;
    }

    .car-price {
        font-size: 24px;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 30px 20px;
    }

    .quote-icon {
        font-size: 36px;
        right: 20px;
    }

    .testimonial-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 575px) {
    /* Container fix */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }

    /* Prevent horizontal scroll */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col-lg-6,
    .col-md-6,
    .col-12,
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Extra Small Devices */
    .hero-section {
        overflow: hidden;
        width: 100%;
    }

    .hero-content {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 22px;
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 5px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .section-title {
        font-size: 26px;
        padding: 0 10px;
    }

    .navbar-collapse {
        width: 280px;
        right: 0;
    }

    .hero-slider-container {
        height: 300px;
        margin: 0 -10px;
        border-radius: 12px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-price {
        font-size: 16px;
    }

    /* Process Steps Mobile */
    .step-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .step-icon {
        font-size: 32px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 14px;
    }

    /* Stats Mobile */
    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* CTA Mobile */
    .cta-title {
        font-size: 26px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* Global Mobile Overflow Fix */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    * {
        max-width: 100vw !important;
    }

    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    .container-fluid,
    .container {
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Fix Bootstrap grid */
    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Hero section specific */
    .hero-section .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Search widget mobile fix */
    .search-widget {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: calc(100vw - 30px) !important;
    }

    /* Ensure all sections stay within bounds */
    section {
        overflow-x: hidden !important;
    }
}

/* Air Datepicker Custom Styles */
.air-datepicker {
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    background: var(--white) !important;
    padding: 0 !important;
    min-width: 600px !important;
    overflow: hidden;
    position: fixed !important;
    z-index: 9999 !important;
    /* Prevent calendar from jumping */
    transition: none !important;
    will-change: auto !important;
}

.air-datepicker-nav {
    background: var(--white) !important;
    padding: 20px !important;
    border-bottom: 1px solid var(--border-light) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.air-datepicker-nav--title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--dark-text) !important;
    flex-grow: 1;
    text-align: center;
}

.air-datepicker-nav--action {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: var(--primary-bg) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary-color) !important;
    position: relative !important;
}

.air-datepicker-nav--action:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Add arrow icons using CSS */
.air-datepicker-nav--action::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-right: none;
    border-bottom: none;
    transform: rotate(-45deg);
    margin-left: 2px;
}

.air-datepicker-nav--action[data-action="next"]::before {
    transform: rotate(135deg);
    margin-left: -2px;
}

/* FontAwesome arrows (preferred) */
.air-datepicker-nav--action[data-action="prev"]::after {
    content: '\f104'; /* fa-angle-left */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.air-datepicker-nav--action[data-action="next"]::after {
    content: '\f105'; /* fa-angle-right */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

/* Fallback to Unicode arrows if FontAwesome not available */
.air-datepicker-nav--action[data-action="prev"]:not(.fa-loaded)::after {
    content: '‹';
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.air-datepicker-nav--action[data-action="next"]:not(.fa-loaded)::after {
    content: '›';
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: bold;
}

/* Hide before pseudo-element when using after */
.air-datepicker-nav--action::before {
    display: none;
}

/* Universal selectors for different possible class names */
.air-datepicker-nav--action svg,
.air-datepicker .air-datepicker-nav-action svg,
.air-datepicker [class*="nav"][class*="action"] svg {
    width: 12px !important;
    height: 12px !important;
}

/* Additional selectors for navigation buttons */
.air-datepicker-nav-action,
.air-datepicker [class*="prev"],
.air-datepicker [class*="next"] {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: var(--primary-bg) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary-color) !important;
    position: relative !important;
}

.air-datepicker-nav-action:hover,
.air-datepicker [class*="prev"]:hover,
.air-datepicker [class*="next"]:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Arrows for different possible selectors */
.air-datepicker [class*="prev"]::after,
.air-datepicker-nav-action:first-child::after {
    content: '\f104'; /* fa-angle-left */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.air-datepicker [class*="next"]::after,
.air-datepicker-nav-action:last-child::after {
    content: '\f105'; /* fa-angle-right */
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.air-datepicker-body {
    padding: 20px !important;
}

.air-datepicker-body--day-names {
    background: var(--light-bg) !important;
    padding: 12px 0 !important;
    margin: 0 -20px 15px !important;
    border-top: 1px solid var(--border-light) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.air-datepicker-body--day-name {
    color: var(--light-text) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center;
}

.air-datepicker-cell {
    border-radius: 8px !important;
    font-weight: 500 !important;
    color: var(--dark-text) !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    text-align: center;
    cursor: pointer;
}

.air-datepicker-cell:hover {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
    transform: scale(1.05) !important;
}

.air-datepicker-cell.-selected- {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600 !important;
}

.air-datepicker-cell.-selected-:hover {
    background: var(--primary-dark) !important;
}

.air-datepicker-cell.-other-month- {
    color: #D1D5DB !important;
    font-weight: 400 !important;
    opacity: 0.4 !important;
}

.air-datepicker-cell.-disabled- {
    color: #9CA3AF !important;
    background: transparent !important;
    cursor: not-allowed !important;
    font-weight: 400 !important;
    opacity: 0.3 !important;
}

.air-datepicker-cell.-disabled-:hover {
    background: transparent !important;
    color: #9CA3AF !important;
    transform: none !important;
}

.air-datepicker-cell.-current- {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    border: 2px solid var(--primary-color) !important;
}

.air-datepicker-cell.-current-:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.air-datepicker-cell.-current-.-selected- {
    background: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
}

.air-datepicker-cell.-range-from-,
.air-datepicker-cell.-range-to- {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(142, 97, 255, 0.4) !important;
}

.air-datepicker-cell.-in-range- {
    background: var(--primary-bg) !important;
    color: var(--primary-color) !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
}

.air-datepicker-cell.-range-from-.-range-to- {
    border-radius: 10px !important;
}

.air-datepicker-cell.-range-from- {
    border-radius: 10px 0 0 10px !important;
}

.air-datepicker-cell.-range-to- {
    border-radius: 0 10px 10px 0 !important;
}

.air-datepicker-cell.-in-range-:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Multiple months display */
.air-datepicker.-multiple-months- {
    width: auto !important;
    min-width: 650px !important;
}

.air-datepicker.-multiple-months- .air-datepicker-body {
    display: flex;
    gap: 20px;
}

/* Mobile Calendar Adjustments */
@media (max-width: 1024px) {
    .air-datepicker {
        min-width: 600px !important;
        max-width: calc(100vw - 40px) !important;
        position: fixed !important;
    }

    .air-datepicker.-multiple-months- {
        min-width: 600px !important;
        max-width: calc(100vw - 40px) !important;
    }
}

@media (max-width: 768px) {
    .air-datepicker {
        width: 350px !important;
        min-width: 320px !important;
        max-width: calc(100vw - 20px) !important;
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .air-datepicker-nav--title {
        font-size: 16px !important;
    }

    .air-datepicker-body--day-name {
        font-size: 11px !important;
    }

    .air-datepicker-cell {
        font-size: 13px !important;
        height: 32px !important;
        width: 32px !important;
        line-height: 32px !important;
    }

    /* Ensure single month display on mobile */
    .air-datepicker.-multiple-months- .air-datepicker-body {
        display: block !important;
    }

    .air-datepicker.-multiple-months- .air-datepicker-body > div:not(:first-child) {
        display: none !important;
    }

    /* Improve mobile navigation */
    .air-datepicker-nav--action {
        width: 40px !important;
        height: 40px !important;
        touch-action: manipulation !important;
    }
}

/* Scroll Animations */
[data-aos] {
    transition-property: transform, opacity;
}

[data-aos][data-aos][data-aos-duration="400"], body[data-aos-duration="400"] [data-aos] {
    transition-duration: 0.4s;
}

[data-aos][data-aos][data-aos-delay="200"], body[data-aos-delay="200"] [data-aos] {
    transition-delay: 0.2s;
}

/* Modal Styles */
.modal-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: var(--shadow-xl) !important;
    overflow: hidden;
}

.modal-header {
    border-bottom: none !important;
    padding: 20px 20px 0 !important;
    position: relative;
}

.modal-header .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--light-bg);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.modal-header .btn-close:hover {
    opacity: 1;
    background: var(--border-light);
    transform: scale(1.1);
}

.modal-body {
    padding: 10px 40px 40px !important;
    text-align: center;
}

.modal-title-custom {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    color: var(--dark-text);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body .form-item {
    margin-bottom: 20px;
    text-align: left;
}

.modal-body .form-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 14px;
}

.modal-body .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 15px;
    background: var(--light-bg);
    transition: all 0.3s ease;
    color: var(--dark-text);
}

.modal-body .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-bg);
}

.modal-body .form-control::placeholder {
    color: var(--light-text);
}

.modal-body .description {
    font-size: 12px;
    color: var(--light-text);
    margin-top: 5px;
    text-align: left;
}

.modal-body .form-submit {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.modal-body .form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.modal-body .form-submit:active {
    transform: translateY(0);
}

.modal-body .form-submit:disabled {
    opacity: 0.7;
    pointer-events: none;
}

.forgot-password-link {
    text-align: right;
    margin-bottom: 15px;
    margin-top: -5px;
}

.forgot-password-link a {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: var(--primary-dark);
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    margin: 30px 0 20px;
    font-size: 14px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-light);
}

.form-divider:not(:empty)::before {
    margin-right: 15px;
}

.form-divider:not(:empty)::after {
    margin-left: 15px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    text-decoration: none;
    cursor: pointer;
}

.social-btn:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--dark-text);
    text-decoration: none;
}

.social-btn i {
    font-size: 18px;
}

.google-btn {
    border-color: #EA4335;
    color: #EA4335 !important;
}

.google-btn:hover {
    background: rgba(234, 67, 53, 0.1);
    border-color: #EA4335;
    color: #EA4335 !important;
}

.apple-btn {
    border-color: #000000;
    color: #000000 !important;
}

.apple-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #000000;
    color: #000000 !important;
}

.modal-footer-custom-links {
    text-align: center;
    font-size: 14px;
}

.modal-footer-custom-links .text-muted {
    color: var(--light-text) !important;
}

.modal-footer-custom-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-footer-custom-links a:hover {
    color: var(--primary-dark);
}

/* Loading states for form buttons */
.btn-spinner {
    display: none;
}

.form-submit.loading .btn-text {
    display: none;
}

.form-submit.loading .btn-spinner {
    display: inline-block;
}

/* Responsive modal styles */
@media (max-width: 575px) {
    .modal-body {
        padding: 10px 20px 30px !important;
    }

    .modal-title-custom {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .social-login {
        flex-direction: column;
        gap: 10px;
    }
}

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.btn-user-cabinet {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(142, 97, 255, 0.3);
}

.btn-user-cabinet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 97, 255, 0.4);
}

.btn-user-cabinet i {
    font-size: 16px;
}

.user-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(142, 97, 255, 0.1);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #2d3748;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(142, 97, 255, 0.1) 0%, rgba(164, 176, 255, 0.1) 100%);
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.dropdown-item.logout {
    color: #e53e3e;
}

.dropdown-item.logout:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #e53e3e;
}

.dropdown-item.logout i {
    color: #e53e3e;
}

.dropdown-divider {
    margin: 10px 15px;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile user menu */
@media (max-width: 991px) {
    .user-menu .user-dropdown {
        position: fixed;
        top: auto;
        right: 15px;
        left: 15px;
        width: auto;
        min-width: auto;
        z-index: 10000;
    }

    .btn-user-cabinet {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Google Sign-In Button Styles */
.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #3c4043;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #3c4043;
}

.google-signin-btn:active {
    background: #f1f3f4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.google-signin-btn svg {
    flex-shrink: 0;
}

/* Sign in section on car page */
.signin-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.signin-section h4 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.signin-section .google-signin-btn {
    margin-bottom: 12px;
}

.signin-section .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.signin-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Login Modal Styles */
.modal-body .google-signin-btn {
    margin-bottom: 20px;
}
/* Task 44: Homepage Layout Optimization */

/* Subtask 217: Remove excessive empty spaces - reduce gaps between sections */
.cars-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

section:not(.hero-section) {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Subtask 218: Fix header covering pickup location - adjust hero padding */
.hero-section {
    padding-top: 80px !important;
}

.search-widget {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

/* Subtask 219: Reduce hero section size on desktop - make slider 1.5x smaller */
@media (min-width: 992px) {
    .hero-section {
        min-height: 70vh !important;
        padding-bottom: 30px !important;
    }
    
    .hero-slider-container {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .hero-content h1 {
        font-size: 38px !important;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
    }
}

/* Subtask 220: Fix slider animation glitches - prevent scroll blocking */
.hero-slider-container {
    pointer-events: none;
}

.hero-slide-link {
    pointer-events: all;
}

.hero-slider {
    touch-action: pan-y !important;
}

/* Ensure slider doesn't interfere with scrolling */
.hero-section * {
    -webkit-overflow-scrolling: touch;
}
