
:root {
    --primary-color: #03314b;
    --secondary-color: #ff9117;
    --primary-light: #054169;
    --primary-dark: #022338;
    --secondary-light: #ffa842;
    --secondary-dark: #e67e00;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(3,49,75,0.8) 0%, rgba(3,49,75,0.6) 100%);
}
.car-rentals-hero {
    background-image: url('https://images.unsplash.com/photo-1542362567-b07e54358753?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 600px;
}
.car-rentals-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3,49,75,0.85) 0%, rgba(3,49,75,0.7) 100%);
    z-index: 1;
}
.car-rentals-hero .hero-body {
    position: relative;
    z-index: 2;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero-content {
    color: white;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}
.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}
.hero-feature span {
    font-size: 1rem;
}
.search-form-container {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(3,49,75,0.25);
    position: relative;
    /*overflow: hidden;*/
}
.search-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}
.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}
.form-section.car-rentals-form-section {
    margin: 0;
}
.form-section.car-rentals-form-section .input-group {
    margin-bottom: 20px;
}
.form-section.car-rentals-form-section label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.datepicker {
    display: block;
    width: 100%;
}
.form-section.car-rentals-form-section input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}
.form-section.car-rentals-form-section input[type="text"]:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255,145,23,0.1);
    outline: none;
    background: white;
}
.form-section.car-rentals-form-section .search_location_wrapper {
    position: relative;
}
.form-section.car-rentals-form-section #suggestionsList {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}
.form-section.car-rentals-form-section #suggestionsList li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.form-section.car-rentals-form-section #suggestionsList li:hover {
    background: var(--bg-light);
}
.form-section.car-rentals-form-section .loading-results {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    display: none;
}
.form-section.car-rentals-form-section .error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}
.form-section.car-rentals-form-section .explore-button-wrapper {
    margin-top: 25px;
}
.form-section.car-rentals-form-section .explore-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.form-section.car-rentals-form-section .explore-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.form-section.car-rentals-form-section .explore-button:hover::before {
    left: 100%;
}
.form-section.car-rentals-form-section .explore-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,145,23,0.3);
}
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}
.floating-icon {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}
.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}
.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}
.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}
.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.category-card {
    text-align: center;
    padding: 25px 15px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
    border: 1px solid transparent;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(3,49,75,0.12);
    border-color: var(--secondary-color);
}
.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}
.category-card:hover .category-icon {
    background: var(--primary-color);
}
.category-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}
.category-card:hover .category-icon i {
    color: white;
}
.category-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}
.category-count {
    color: var(--text-light);
    font-size: 14px;
}
.car-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    border: 1px solid #eee;
}
.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(3,49,75,0.15);
}
.car-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.car-card:hover .car-img {
    transform: scale(1.05);
}
.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}
.car-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.car-specs {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}
.car-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
}
.car-spec i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}
.car-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}
.btn-rental {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}
.btn-rental:hover {
    background: var(--secondary-dark);
}
.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    height: 100%;
    transition: all 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(3,49,75,0.12);
}
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
.feature-box:hover .feature-icon {
    background: var(--primary-color);
}
.feature-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}
.feature-box:hover .feature-icon i {
    color: white;
}
.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    transition: all 0.3s ease;
}
.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(3,49,75,0.12);
}
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.service-item:hover .service-icon {
    background: var(--primary-color);
}
.service-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}
.service-item:hover .service-icon i {
    color: white;
}
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1550355291-bbee04a92027?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}
.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.btn-cta {
    background: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.btn-cta:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,145,23,0.3);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}
.bg-section {
    background-color: var(--bg-light);
}
.section-padding {
    padding: 60px 0;
}
.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info h5 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
}
.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}
.location-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(3,49,75,0.12);
    border-color: var(--secondary-color);
}
.location-image {
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}
.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}
.location-address {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.location-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
.location-detail {
    display: flex;
    align-items: center;
}
.location-detail i {
    color: var(--secondary-color);
    margin-right: 5px;
}
.faq-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(3,49,75,0.08);
    padding: 20px;
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.contact-btn:hover {
    background: var(--secondary-dark);
    color: white;
}
.sort-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.results-count {
    color: var(--text-light);
}
.sort-dropdown {
    width: 200px;
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-padding {
        padding: 40px 0;
    }
    .sort-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .sort-dropdown {
        width: 100%;
        margin-top: 10px;
    }
    .search-form-container {
        padding: 25px;
    }
}