/* ============================================
   CARBOOK THEME STYLE OVERRIDE
   ============================================ */

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

:root {
    --carbook-primary: #ff6600;
    --carbook-primary-dark: #e55a00;
    --carbook-primary-light: #ff8533;
    --carbook-dark: #000000;
    --carbook-dark-light: #1a1a1a;
    --carbook-light: #f8f9fa;
    --carbook-text: #666666;
    --carbook-white: #ffffff;
    --carbook-border: #e5e5e5;
    --carbook-orange: #ff6600;
    --carbook-black: #000000;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--carbook-text);
    line-height: 1.8;
}

/* Navigation - CarBook Style */
.navbar {
    background: var(--carbook-black);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--carbook-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--carbook-orange);
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--carbook-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu a:hover {
    color: var(--carbook-orange);
}

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

.nav-menu .btn-primary {
    background: var(--carbook-orange);
    color: var(--carbook-white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--carbook-orange);
}

.nav-menu .btn-primary:hover {
    background: transparent;
    color: var(--carbook-orange);
    border-color: var(--carbook-orange);
}

.nav-menu .btn-primary::after {
    display: none;
}

.nav-menu .btn-primary:hover {
    background: transparent;
    color: var(--carbook-orange);
    border: 2px solid var(--carbook-orange);
}

/* Hero Section - CarBook Style */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a1a" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    align-items: start;
}

/* Hero Section with Background Image */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../logo/b_Two_luxury_cars_park.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 200px;
    min-height: 100vh;
}

/* Search Form Container - Style like search box */
.search-form-container {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 0;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: transparent;
}

.search-form-title {
    font-size: 60px;
    line-height: 1;
    color: #fff;
    margin-bottom: 60px;
    font-weight: 400;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.search-form {
    width: 100%;
}

/* Inner Form - SIXT Style */
.search-form .inner-form {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 24px;
    padding-top: 60px;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    margin-top: 60px;
}

/* Vehicle Type Selector */
.vehicle-type-selector {
    display: flex;
    gap: 8px;
    position: absolute;
    top: 16px;
    left: 24px;
    z-index: 10;
}

.vehicle-type-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: #222222;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.vehicle-type-btn.active {
    background: #1A1A1A;
    color: #ffffff;
    border-color: #1A1A1A;
}

.vehicle-type-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #222222;
}

.vehicle-type-btn.active:hover {
    background: #1A1A1A;
    opacity: 0.9;
}

.vehicle-type-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Horizontal Form Row */
.form-row-horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
    justify-content: center;
    align-content: center;
}

/* Single Field (Pickup/Return Location) */
.form-field-single {
    flex: 1.3;
    min-width: 150px;
    max-width: 200px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #222222;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    outline: none;
    height: 56px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    text-align: left;
    line-height: 1.5;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Custom Location Selector */
.custom-location-selector {
    position: relative;
}

.location-input {
    cursor: pointer;
}

.location-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    min-width: 700px;
    max-height: 600px;
}

.location-dropdown.active {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Left Panel - Locations List */
.location-dropdown-left {
    flex: 0 0 320px;
    background: #fafafa;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.location-dropdown-section {
    padding: 20px 0;
}

.location-dropdown-section-title {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 24px 12px;
    margin-bottom: 8px;
}

.location-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    border-left: 3px solid transparent;
}

.location-dropdown-item:hover,
.location-dropdown-item.selected {
    background: #f3f4f6;
    border-left-color: #ff6600;
}

.location-dropdown-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 18px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.location-dropdown-item:hover i,
.location-dropdown-item.selected i {
    color: #ff6600;
}

.location-dropdown-item span {
    flex: 1;
    font-weight: 400;
    line-height: 1.4;
}

/* Right Panel - Location Details */
.location-dropdown-right {
    flex: 1;
    padding: 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 600px;
}

.location-dropdown-icon {
    font-size: 64px;
    color: #1a1a1a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-dropdown-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.location-dropdown-address {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.location-dropdown-hours-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

.location-dropdown-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: #374151;
}

.location-dropdown-hours-item:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.location-dropdown-day {
    font-weight: 500;
    color: #1a1a1a;
    min-width: 100px;
}

.location-dropdown-time {
    color: #6b7280;
    font-weight: 400;
}

.location-dropdown-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}

.location-dropdown-details-link:hover {
    color: #ff6600;
}

.location-dropdown-details-link i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 12px;
    transition: background 0.2s ease;
}

.location-dropdown-details-link:hover i {
    background: #fff5f0;
}

/* Scrollbar styling */
.location-dropdown-left::-webkit-scrollbar,
.location-dropdown-right::-webkit-scrollbar {
    width: 6px;
}

.location-dropdown-left::-webkit-scrollbar-track,
.location-dropdown-right::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.location-dropdown-left::-webkit-scrollbar-thumb,
.location-dropdown-right::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.location-dropdown-left::-webkit-scrollbar-thumb:hover,
.location-dropdown-right::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (max-width: 768px) {
    .location-dropdown {
        flex-direction: column;
        min-width: auto;
        width: 100%;
        max-height: 80vh;
    }

    .location-dropdown-left {
        flex: 1;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        max-height: 300px;
    }

    .location-dropdown-right {
        padding: 24px;
    }

    .location-dropdown-icon {
        font-size: 48px;
    }

    .location-dropdown-title {
        font-size: 22px;
    }
}

.location-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #222222;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.location-option:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.location-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.location-option:hover {
    background: rgba(0, 0, 0, 0.04);
}

.location-option:active {
    background: rgba(0, 0, 0, 0.06);
}

.location-option i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 16px;
    flex-shrink: 0;
}

.location-option:hover i {
    color: #ff6600;
}

.location-option span {
    flex: 1;
    font-weight: 400;
}

/* Hours Popup for Location Options */
.location-option {
    position: relative;
}

.location-hours-popup {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    min-width: 200px;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.location-hours-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.location-hours-popup::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #ffffff;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.location-hours-popup.popup-left::before {
    right: auto;
    left: 100%;
    border-right-color: transparent;
    border-left-color: #ffffff;
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.05));
}

.location-hours-popup-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.location-hours-popup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: #374151;
}

.location-hours-popup-item:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.location-hours-popup-day {
    font-weight: 500;
    color: #1a1a1a;
}

.location-hours-popup-time {
    color: #6b7280;
    font-weight: 400;
}

.location-hours-popup-time.closed {
    color: #dc2626;
    font-weight: 500;
}

@media (max-width: 768px) {
    .location-hours-popup {
        left: auto;
        right: calc(100% + 12px);
        transform: translateY(-50%) translateX(10px);
    }

    .location-hours-popup.active {
        transform: translateY(-50%) translateX(0);
    }

    .location-hours-popup::before {
        right: auto;
        left: 100%;
        border-right-color: transparent;
        border-left-color: #ffffff;
        filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.05));
    }
}

.form-input:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.form-input:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-input:focus {
    border-color: #222222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    outline: none;
}

/* Joined Field (Date & Time) */
.form-field-joined {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    overflow: hidden;
}

.form-field-joined:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.form-field-joined:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-field-joined:focus-within {
    border-color: #222222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    outline: none;
}

.form-input-joined-left,
.form-input-joined-right {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 400;
    color: #222222;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    padding: 14px 16px;
    height: 56px;
    flex: 1;
    cursor: pointer;
    text-align: left;
    line-height: 1.5;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.form-input-joined-left:hover,
.form-input-joined-right:hover {
    background: rgba(0, 0, 0, 0.02);
}

.form-input-joined-left {
    padding-right: 6px;
    flex: 1.4;
    font-size: 13px;
    padding-left: 12px;
    min-width: 0;
}

.form-input-joined-right {
    padding-left: 6px;
    flex: 1;
    font-size: 13px;
    padding-right: 12px;
    min-width: 0;
}

/* Vertical Separator between date and time */
.vertical-separator {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

/* Horizontal Separator between fields */
.field-separator {
    color: #656A6F;
    font-size: 16px;
    font-weight: 300;
    padding: 0 4px;
    flex-shrink: 0;
    user-select: none;
    opacity: 0.6;
}

/* CTA Button */
.cta-button-inline {
    background: linear-gradient(to right, #ff6600, #e55a00);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
    letter-spacing: 0.01em;
    min-width: 140px;
}

.cta-button-inline:hover {
    background: linear-gradient(to right, #e55a00, #cc4d00);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transform: translateY(-2px);
}

.cta-button-inline:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
}

/* Responsive Styles for Inner Form */
@media (max-width: 1024px) {
    .form-row-horizontal {

        margin-top: 50px;
    }

    .form-field-single,
    .form-field-joined {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .search-form-container {
        top: 70px;
        left: 0;
        right: 0;
        transform: none;
        padding: 0 20px;
        max-width: 100%;
    }

    .search-form .inner-form {
        padding: 20px;
        padding-top: 60px;
    }

    .vehicle-type-selector {
        top: 12px;
        left: 20px;
        gap: 6px;
    }

    .vehicle-type-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .form-row-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .field-separator {
        display: none;
    }

    .form-field-single,
    .form-field-joined {
        min-width: 100%;
        width: 100%;
    }

    .cta-button-inline {
        width: 100%;
        margin-top: 8px;
    }

    .form-input,
    .form-input-joined-left,
    .form-input-joined-right {
        height: 52px;
        font-size: 14px;
    }

    .cta-button-inline {
        height: 52px;
        font-size: 15px;
    }

    .location-dropdown {
        position: fixed;
        left: 20px;
        right: 20px;
        top: auto;
        max-width: calc(100vw - 40px);
        z-index: 10000;
    }
}

@media (max-width: 480px) {
    .search-form-container {
        top: 60px;
        padding: 0 16px;
        left: 0;
        right: 0;
        transform: none;
        max-width: 100%;
    }

    .search-form .inner-form {
        padding: 16px;
        padding-top: 60px;
        border-radius: 12px;
    }

    .vehicle-type-selector {
        top: 10px;
        left: 16px;
        gap: 4px;
        flex-wrap: wrap;
    }

    .vehicle-type-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .vehicle-type-btn svg {
        width: 16px;
        height: 16px;
    }

    .form-input,
    .form-input-joined-left,
    .form-input-joined-right {
        height: 48px;
        padding: 12px 14px;
        font-size: 13px;
    }

    .cta-button-inline {
        height: 48px;
        font-size: 14px;
        padding: 12px 24px;
    }

    .vertical-separator {
        height: 20px;
    }

    .location-dropdown {
        left: 16px;
        right: 16px;
        max-width: calc(100vw - 32px);
    }

    .location-option {
        padding: 12px 14px;
        font-size: 13px;
    }

    .location-option i {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }
}

.search-field {
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.search-field:hover {
    background: rgba(255, 102, 0, 0.02);
}

.search-field:last-child {
    border-right: none;
}

.search-field.first-wrap {
    flex-grow: 1;
}

.search-field.second-wrap {
    min-width: 190px;
    max-width: 190px;
    flex: 0 0 190px;
}

.search-field.third-wrap.date-time-group {
    min-width: 500px;
    max-width: 500px;
    flex: 0 0 500px;
    border-right: 1px solid #ddd;
}

.date-time-inner {
    display: flex;
    width: 100%;
    align-items: stretch;
    height: 70px;
}

.search-field-inline {
    position: relative;
    flex: 1;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: stretch;
    transition: all 0.2s ease;
}

.search-field-inline:hover {
    background: rgba(255, 102, 0, 0.02);
}

.search-field-inline:last-child {
    border-right: 0;
}

.search-field-inline.calendar-field {
    flex: 0 0 220px;
    min-width: 220px;
}

.search-field-inline.time-field {
    flex: 0 0 140px;
    min-width: 140px;
}

.search-field-inline .icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: all 0.2s ease;
}

.search-field-inline:hover .icon-wrap {
    transform: scale(1.1);
}

.search-field-inline .icon-wrap svg {
    fill: #ff6600;
    width: 18px;
    height: 18px;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.search-field-inline:hover .icon-wrap svg {
    opacity: 1;
    fill: #ff6600;
}

.search-field-inline input {
    height: 70px;
    background: transparent;
    border-radius: 0;
    border: 0;
    display: block;
    width: 100%;
    padding: 0 20px 0 60px;
    font-size: 15px;
    transition: all 0.2s ease;
    color: #222;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.search-field-inline input:focus {
    background: rgba(255, 102, 0, 0.03);
    color: #000;
}

.search-field-inline input::placeholder {
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.search-field-inline input:hover {
    background: rgba(255, 102, 0, 0.02);
}

.search-field-inline input:focus {
    box-shadow: none;
    outline: 0;
}

.search-field-inline #homeCalendar {
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none !important;
}

.search-field-inline #homeCalendar.show {
    display: block !important;
}

/* Date Display Field Styles */
.date-display-field {
    flex: 0 0 220px;
    min-width: 220px;
    position: relative;
}

.date-display-field .icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    padding-right: 10px;
}

.date-display-field .icon-wrap svg {
    fill: #555;
    width: 14px;
    height: 14px;
}

.date-display-input {
    height: 70px;
    background: #fff;
    border-radius: 0;
    border: 0;
    display: block;
    width: 100%;
    padding: 10px 20px 10px 45px;
    font-size: 16px;
    color: #555;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.date-display-input::placeholder {
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.date-display-input:hover,
.date-display-input:focus {
    box-shadow: none;
    outline: 0;
    background: #f8f8f8;
}

.date-display-field #homeCalendar {
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none !important;
}

.date-display-field #homeCalendar.show {
    display: block !important;
}

/* Pickup Time Field Styles */
.pickup-time-field {
    flex: 0 0 140px;
    min-width: 140px;
}

.pickup-time-field .icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    padding-right: 10px;
}

.pickup-time-field .icon-wrap svg {
    fill: #555;
    width: 14px;
    height: 14px;
}

.pickup-time-input {
    height: 70px;
    background: #fff;
    border-radius: 0;
    border: 0;
    display: block;
    width: 100%;
    padding: 10px 20px 10px 45px;
    font-size: 16px;
    color: #555;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.pickup-time-input::placeholder {
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.pickup-time-input:hover,
.pickup-time-input:focus {
    box-shadow: none;
    outline: 0;
    background: #f8f8f8;
}

/* Dropoff Time Field Styles */
.dropoff-time-field {
    flex: 0 0 140px;
    min-width: 140px;
}

.dropoff-time-field .icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    padding-right: 10px;
}

.dropoff-time-field .icon-wrap svg {
    fill: #555;
    width: 14px;
    height: 14px;
}

.dropoff-time-input {
    height: 70px;
    background: #fff;
    border-radius: 0;
    border: 0;
    display: block;
    width: 100%;
    padding: 10px 20px 10px 45px;
    font-size: 16px;
    color: #555;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.dropoff-time-input::placeholder {
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.dropoff-time-input:hover,
.dropoff-time-input:focus {
    box-shadow: none;
    outline: 0;
    background: #f8f8f8;
}

.search-field.fifth-wrap {
    min-width: 190px;
    max-width: 190px;
    flex: 0 0 190px;
    padding-left: 10px;
    border-right: 0;
}

.search-field .icon-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    padding-right: 10px;
}

.search-field .icon-wrap svg {
    fill: #555;
    width: 14px;
    height: 14px;
}

.search-field label {
    display: none;
    /* Hide labels in horizontal layout */
}

.search-field input,
.search-field select {
    height: 70px;
    background: transparent;
    border-radius: 0;
    border: 0;
    display: block;
    width: 100%;
    padding: 0 20px 0 60px;
    font-size: 15px;
    color: #222;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.search-field input:focus,
.search-field select:focus {
    background: rgba(255, 102, 0, 0.03);
    color: #000;
}

.search-field input::placeholder {
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.search-field input:hover,
.search-field select:hover {
    background: rgba(255, 102, 0, 0.02);
}

.search-field input:focus,
.search-field select:focus {
    box-shadow: none;
    outline: 0;
}

.search-field #homeCalendar {
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none !important;
}

.search-field #homeCalendar.show {
    display: block !important;
}

.search-field #homeCalendar .calendar-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.search-field #homeCalendar .calendar-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search-field #homeCalendar .calendar-title {
    color: var(--carbook-dark);
    font-size: 18px;
}

.search-field #homeCalendar .calendar-month-year {
    color: var(--carbook-dark);
}

.search-field #homeCalendar .calendar-nav-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--carbook-dark);
}

.search-field #homeCalendar .calendar-day {
    color: var(--carbook-dark);
}

.search-field #homeCalendar .calendar-day.past {
    color: #999;
}

.search-field #homeCalendar .calendar-day.start-date,
.search-field #homeCalendar .calendar-day.end-date {
    background: var(--carbook-orange);
    color: white;
}

.search-field #homeCalendar .calendar-day.in-range {
    background: rgba(255, 102, 0, 0.15);
}

.search-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
    cursor: pointer;
}

.search-field input::placeholder {
    color: #999;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: var(--carbook-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.search-row-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.search-row-times {
    display: contents;
    /* Make times fields part of the flex layout */
}

.search-field.time-field {
    min-width: 140px;
    max-width: 140px;
    flex: 0 0 140px;
}

.btn-rent-car {
    height: 70px;
    width: 100%;
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    white-space: nowrap;
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding: 0 20px;
    min-width: 190px;
    max-width: 190px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    letter-spacing: 0.5px;
}

.btn-rent-car:hover {
    background: linear-gradient(135deg, #e55a00 0%, #cc4d00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-rent-car:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

/* Right: Hero Content */
/* Hero Content Section (below hero) */
.hero-content-section {
    padding: 80px 0;
    background: var(--carbook-white);
}

.hero-content-right {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.80) 100%), url('../../logo/a_change_licence_plate.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-right .hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--carbook-dark);
    margin-bottom: 40px;
    line-height: 1.3;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 102, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(255, 102, 0, 0.1);
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 40px;
    color: var(--carbook-orange);
}

.step-item:hover .step-icon {
    border-color: var(--carbook-orange);
    background: rgba(255, 102, 0, 0.2);
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--carbook-dark);
    margin: 0;
}


/* Features Section */
.features {
    padding: 80px 0;
    background: var(--carbook-white);
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.95) 100%),
        url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--carbook-white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--carbook-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--carbook-orange);
}

.feature-card i {
    font-size: 50px;
    color: var(--carbook-orange);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--carbook-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--carbook-text);
    font-size: 15px;
    margin: 0;
}

/* Section Titles */
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--carbook-dark);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--carbook-orange);
}

.section-subtitle {
    text-align: center;
    color: var(--carbook-text);
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Cars Section */
.featured-cars {
    padding: 80px 0;
    background: var(--carbook-light);
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(245, 245, 245, 0.50) 100%),
        url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.car-card {
    background: var(--carbook-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.car-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--carbook-orange);
    color: var(--carbook-white);
}

.car-info {
    padding: 25px;
}

.car-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--carbook-dark);
    margin-bottom: 8px;
}

.car-year {
    color: var(--carbook-text);
    font-size: 14px;
    margin-bottom: 12px;
}

.car-description {
    color: var(--carbook-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 40px;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--carbook-border);
}

.car-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--carbook-orange);
}

.btn-view {
    background: var(--carbook-black);
    color: var(--carbook-white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--carbook-orange);
    color: var(--carbook-white);
}

/* Buttons */
.btn-primary {
    background: var(--carbook-orange);
    color: var(--carbook-white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover {
    background: var(--carbook-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.btn-block {
    width: 100%;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--carbook-white);
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.80) 100%),
        url('../../logo/a_I_need_a_picture_wit.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: var(--carbook-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--carbook-orange);
    transform: translateY(-10px);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--carbook-white);
}

.service-card i {
    font-size: 60px;
    color: var(--carbook-orange);
    margin-bottom: 20px;
}

.service-card:hover i {
    color: var(--carbook-white);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--carbook-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--carbook-text);
    font-size: 15px;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--carbook-light);
}

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

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--carbook-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--carbook-text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--carbook-white);
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.80) 100%),
        url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--carbook-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--carbook-orange);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    color: var(--carbook-text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--carbook-dark);
    font-size: 18px;
}

.testimonial-role {
    color: var(--carbook-text);
    font-size: 14px;
    margin-top: 5px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--carbook-dark);
    color: var(--carbook-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--carbook-orange);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: var(--carbook-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
    margin-bottom: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--carbook-white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 24px;
}

.footer-section h3 i {
    color: var(--carbook-orange);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--carbook-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Fix white gap after footer */
.footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    height: 100%;
}

body {
    min-height: 100%;
}

/* Ensure footer sticks to bottom */
body {
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--carbook-dark);
    margin-bottom: 15px;
}

.page-header p {
    color: var(--carbook-text);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 550px;
        padding-top: 110px;
    }

    .search-form .inner-form {
        padding: 25px;
    }

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

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    * {
        max-width: 100%;
    }

    .search-form .inner-form .search-field.third-wrap.date-time-group {
        width: 100%;
        min-width: auto;
        flex: 1 1 100%;
    }

    .date-time-inner {
        flex-direction: column;
        height: auto;
    }

    .search-field-inline {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #ddd;
        margin-bottom: 0;
    }

    .search-field-inline:last-child {
        border-bottom: 0;
    }

    .date-display-field,
    .pickup-time-field,
    .dropoff-time-field {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-section {
        min-height: 450px;
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .hero-content-wrapper {
        padding: 0 15px;
    }

    .search-form .inner-form {
        padding: 20px;
        flex-wrap: wrap;
    }

    .hero-content-right {
        padding: 30px 20px;
    }

    .hero-content-right .hero-title {
        font-size: 28px;
        word-wrap: break-word;
    }

    .search-form-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .search-form .inner-form {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .search-form .inner-form .search-field {
        margin-bottom: 15px;
    }

    .search-form .inner-form .search-field.first-wrap {
        width: 100%;
    }

    .search-form .inner-form .search-field.second-wrap,
    .search-form .inner-form .search-field.third-wrap.date-time-group {
        width: 100%;
        max-width: none;
        min-width: auto;
        flex: 1 1 100%;
    }

    .date-time-inner {
        flex-wrap: nowrap;
    }

    .date-display-field {
        flex: 0 0 40%;
        min-width: 200px;
    }

    .pickup-time-field,
    .dropoff-time-field {
        flex: 0 0 30%;
        min-width: 120px;
    }

    .search-form .inner-form .search-field.fifth-wrap {
        width: calc(50% - 7.5px);
        max-width: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .search-form {
        width: 100%;
        box-sizing: border-box;
    }

    .search-field {
        width: 100%;
        box-sizing: border-box;
    }

    .search-row-dates {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

    .search-row-times {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

    .steps-container {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        box-sizing: border-box;
    }

    .step-item {
        min-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 32px;
        word-wrap: break-word;
    }

    .about-content {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--carbook-black);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        transition: left 0.3s ease;
        box-sizing: border-box;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--carbook-white);
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

    .nav-menu a:hover {
        background: rgba(255, 102, 0, 0.1);
        color: var(--carbook-orange);
    }

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

    .mobile-menu-toggle span {
        background: var(--carbook-white);
    }

    .services-grid,
    .testimonials-grid,
    .stats-grid,
    .features-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .cars-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .service-card,
    .testimonial-card,
    .stat-item,
    .feature-card {
        width: 100%;
        box-sizing: border-box;
    }

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

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-form,
    .booking-form,
    form {
        width: 100%;
        box-sizing: border-box;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-video,
    .footer-bg-video {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

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

    .car-card {
        width: 100%;
        box-sizing: border-box;
    }

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

    .services-grid,
    .testimonials-grid,
    .stats-grid,
    .features-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    .cars-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }
}