/* Rental Page 1 - home page */

/* Rental Hero Section */
.rental-hero {
    margin-top: 122px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-left: 40px;
}

.rental-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.rental-content {
    background-image: url('assets/image/rental_page_img1.png');
    margin-top: 50px;
    margin-left: -25px;
    width: 1300px;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}

.rental-title {
    position: absolute;
    top: 77%;
    left: 57%;
    margin-bottom: 200px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #000;
}

.rental-subtitle {
    position: absolute;
    top: 81%;
    left: 57%;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

.btn-book-now {
    position: absolute;
    top: 91%;
    left: 57%;
    background: #742B88;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 1400px) {
    .rental-content {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 1200px) {
    .rental-hero {
        padding-left: 20px;
        margin-top: 100px;
    }
    
    .rental-content {
        width: 100%;
        height: 600px;
        margin-left: 0;
        margin-top: 30px;
    }
    
    .rental-title {
        font-size: 1.3rem;
        left: 55%;
        top: 75%;
    }
    
    .rental-subtitle {
        font-size: 0.95rem;
        left: 55%;
        top: 80%;
    }
    
    .btn-book-now {
        font-size: 1rem;
        padding: 10px 25px;
        left: 55%;
        top: 88%;
    }
}

@media (max-width: 992px) {
    .rental-hero {
        padding-left: 15px;
        margin-top: 80px;
        min-height: 60vh;
    }
    
    .rental-content {
        height: 500px;
        margin-top: 20px;
    }
    
    .rental-title {
        font-size: 1.2rem;
        left: 50%;
        top: 70%;
        transform: translateX(-50%);
        text-align: center;
        width: 80%;
    }
    
    .rental-subtitle {
        font-size: 0.9rem;
        left: 50%;
        top: 77%;
        transform: translateX(-50%);
        text-align: center;
        width: 80%;
        line-height: 1.4;
    }
    
    .btn-book-now {
        left: 50%;
        top: 87%;
        transform: translateX(-50%);
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .rental-hero {
        padding: 0 15px;
        margin-top: 60px;
        min-height: 50vh;
    }
    
    .rental-content {
        height: 400px;
        margin: 10px 0;
        background-position: center top;
    }
    
    .rental-title {
        font-size: 1.1rem;
        left: 50%;
        top: 65%;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .rental-subtitle {
        font-size: 0.85rem;
        left: 50%;
        top: 73%;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
        line-height: 1.3;
    }
    
    .btn-book-now {
        left: 50%;
        top: 85%;
        transform: translateX(-50%);
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .btn-book-now img {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 576px) {
    .rental-hero {
        padding: 0 10px;
        margin-top: 50px;
        min-height: 45vh;
    }
    
    .rental-content {
        height: 350px;
        margin: 5px 0;
        background-size: cover;
        background-position: center;
    }
    
    .rental-title {
        font-size: 1rem;
        left: 50%;
        top: 60%;
        transform: translateX(-50%);
        text-align: center;
        width: 95%;
        line-height: 1.2;
    }
    
    .rental-subtitle {
        font-size: 0.8rem;
        left: 50%;
        top: 70%;
        transform: translateX(-50%);
        text-align: center;
        width: 95%;
        line-height: 1.2;
    }
    
    .btn-book-now {
        left: 50%;
        top: 82%;
        transform: translateX(-50%);
        font-size: 0.85rem;
        padding: 8px 14px;
        border-radius: 4px;
    }
    
    .btn-book-now img {
        width: 18px !important;
        height: 18px !important;
        padding-left: 3px !important;
    }
}

@media (max-width: 480px) {
    .rental-hero {
        margin-top: 40px;
        min-height: 40vh;
    }
    
    .rental-content {
        height: 300px;
        background-position: center;
    }
    
    .rental-title {
        font-size: 0.9rem;
        top: 55%;
        line-height: 1.1;
    }
    
    .rental-subtitle {
        font-size: 0.75rem;
        top: 67%;
        line-height: 1.1;
    }
    
    .btn-book-now {
        top: 80%;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .rental-hero {
        min-height: 70vh;
    }
    
    .rental-content {
        height: 450px;
    }
    
    .rental-title {
        top: 70%;
        font-size: 1rem;
    }
    
    .rental-subtitle {
        top: 78%;
        font-size: 0.8rem;
    }
    
    .btn-book-now {
        top: 88%;
    }
}

@media (max-width: 320px) {
    .rental-title {
        font-size: 0.85rem;
    }
    
    .rental-subtitle {
        font-size: 0.7rem;
    }
    
    .btn-book-now {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* search bar */
.form-container {
    background-color: white;
    padding: 0;
    border-radius: 15px;
    margin: 50px auto;
    max-width: 1300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-section {
    padding: 20px 25px;
    height: 100%;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section:last-child {
    border-right: none;
}

.section-label {
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.input-group {
    display: flex;  
}

.input-icon {
    color: #666666;
    margin-right: 10px;
    font-size: 16px;
    width: 16px;
}

.form-input {
    border: none;
    background: transparent;
    color: #888888;
    font-size: 14px;
    outline: none;
    flex: 1;
    padding: 0;
}

.form-input:focus {
    outline: none;
    box-shadow: none;
}

.search-section {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.search-btn {
    background: #742B88;
    border: none;
    border-radius: 15px;
    padding: 7px 35px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 170px;
    height: 45px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #7d3c98, #8e44ad);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

@media (max-width: 768px) {
    .form-container {
        margin: 20px;
        flex-direction: column;
    }
    
    .form-section {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .form-section:last-child {
        border-bottom: none;
    }
}

/* Brand logo */
.brand-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 0 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.brand-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

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

/* our services card */
.services-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    max-width: 1320px;
    margin: 32px auto 35px;
    border-radius: 30px;
}

.main-services-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    background: white;
}

.main-services-card .card-body {
    padding: 50px;
}

.section-title {
    color: #000;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.main-heading {
    color: #3C3C3C;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.description-text {
    color: #3C3C3C;
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 0;
}

.service-card {
    background: white;
    border: 2px solid #A4A4A4;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 30px;
}

.service-card:hover {
    border-color: #742B88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(116, 43, 136, 0.1);
}

.service-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    position: relative;
}

.service-icon img {
    width: 80px;
    height: 76px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-title {
    color: #333;
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.service-description {
    color: #3C3C3C;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
}

.animate-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-card.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1200px) {
    .services-section {
        margin-left: 90px;
        margin-right: 90px;
        padding: 80px 40px;
    }
    
    .service-card {
        padding: 50px 30px;
        margin-bottom: 0;
    }
    
    .service-title,
    .service-description {
        text-align: left;
    }
    
    .service-icon {
        margin-right: auto;
        margin-left: 0;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .services-section {
        margin: 32px 40px 35px;
        padding: 60px 30px;
    }
    
    .main-services-card .card-body {
        padding: 40px;
    }
    
    .service-card {
        padding: 40px 25px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-section {
        margin: 32px 20px 35px;
        padding: 50px 25px;
        border-radius: 20px;
    }
    
    .main-services-card .card-body {
        padding: 30px;
    }
    
    .service-card {
        padding: 35px 20px;
        text-align: center;
    }
    
    .service-title,
    .service-description {
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 25px;
    }
    
    .description-text br {
        display: none;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .services-section {
        margin: 20px 15px 25px;
        padding: 40px 20px;
        border-radius: 15px;
    }
    
    .main-services-card .card-body {
        padding: 25px;
    }
    
    .content-left,
    .content-right {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
        text-align: center;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
    }
    
    .service-icon img {
        width: 60px;
        height: 57px;
    }
    
    .service-title {
        margin-bottom: 12px;
    }
    
    .description-text br {
        display: none;
    }
}

@media (max-width: 575px) {
    .services-section {
        margin: 15px 10px 20px;
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .main-services-card .card-body {
        padding: 20px;
    }
    
    .content-left,
    .content-right {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .main-heading br {
        display: none;
    }
    
    .description-text br {
        display: none;
    }
    
    .service-card {
        padding: 25px 15px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
    }
    
    .service-icon img {
        width: 50px;
        height: 47px;
    }
    
    .service-title {
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .services-section {
        margin: 10px 5px 15px;
        padding: 25px 10px;
    }
    
    .main-services-card .card-body {
        padding: 15px;
    }
    
    .service-card {
        padding: 20px 10px;
        margin-bottom: 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 10px;
    }
    
    .service-icon img {
        width: 40px;
        height: 38px;
    }
    
    .service-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .service-description {
        font-size: 0.8rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .services-section {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 10px;
    }
    
    .service-icon img {
        width: 45px;
        height: 43px;
    }
    
    .main-heading {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .description-text {
        font-size: 0.9rem;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.service-card:focus {
    outline: 3px solid rgba(116, 43, 136, 0.5);
    outline-offset: 2px;
}

.animate-card:nth-child(1) {
    transition-delay: 0ms;
}

.animate-card:nth-child(2) {
    transition-delay: 200ms;
}

.animate-card:nth-child(3) {
    transition-delay: 400ms;
}

/* how it works */
.how-it-works-section {
    padding: 60px 70px;
}

.section-subtitle {
    color: #14006C;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-item {
    margin-bottom: 25px;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
}

.step-number {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    margin-right: 10px;
}

.step-title {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    display: inline;
}

.step-description {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    margin-left: 30px;
    margin-top: 5px;
    line-height: 1.5;
}

.skoda-card {
    border-radius: 20px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.animate-step {
    opacity: 0;
    transform: translateX(-30px);
}

.animate-step.visible {
    opacity: 1;
    transform: translateX(0);
}

/* collection */
.collection-header {
    text-align: center;
    margin: 40px 0;
}

.collection-title {
    color: #14006C;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.collection-subtitle {
    color: #2c2c54;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #D4D4D4;
    color: #000;
    border: 1px solid #D4D4D4;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn.active {
    background-color: #000;
    color: white;
    border-color: #000;
}

.filter-btn:hover {
    background-color: #000;
    color: white;
    border-color: #000;
}

.rental-page-car-card {
    background: white;
    width: 386px;
    height: 282px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    border: none;
}

.rental-page-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rental-page-car-image-container {
    position: relative;
    height: 135px;
    padding: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.rental-page-car-name {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin-top: 58px;
    margin-right: 182px;
}

.rental-page-car-model {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.rental-page-price {
    color: #003399;
    font-size: 16px;
    font-weight: 500;
    margin-left: 90px;
}

.rental-page-rating {
    background-color: #ffd700;
    color: #2c2c54;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 120px;
}

.rental-page-coimbatore-tag {
    color: #003399;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
}

.see-all-btn {
    text-align: center;
    margin: 50px 0;
}

.see-all-link {
    color: #14006C;
    font-size: 24px;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.see-all-link:hover {
    color: #000;
}

@media (max-width: 768px) {
    .filter-buttons {
        justify-content: center;
    }
    
    .collection-subtitle {
        font-size: 24px;
    }
}