/* Rent to Buy Page Styles */

/* Hero Section - Account for fixed header */
#content .rent-to-buy-hero-section,
section.rent-to-buy-hero-section {
    padding-top: 200px !important;
    padding-bottom: 80px !important;
    margin-top: 0 !important;
    background: linear-gradient(135deg, rgba(76, 178, 134, 0.05) 0%, rgba(0, 120, 125, 0.05) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.rent-to-buy-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.rent-to-buy-hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.rent-to-buy-hero-image {
    text-align: center;
}

.rent-to-buy-hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* What is Rent to Buy Section */
.rent-to-buy-what-is-section {
    padding: 80px 0;
    background: #ffffff;
}

.rent-to-buy-what-is-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.rent-to-buy-advantage-card {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.rent-to-buy-advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rent-to-buy-advantage-card .advantage-icon {
    margin-bottom: 20px;
}

.rent-to-buy-advantage-card .advantage-icon .feature-icon {
    font-size: 3rem;
    color: #4cb286;
}

.rent-to-buy-advantage-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.rent-to-buy-advantage-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Find Car Section */
.rent-to-buy-find-car-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.rent-to-buy-find-car-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.rent-to-buy-find-car-section .find-car-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.rent-to-buy-find-car-section .find-car-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.rent-to-buy-find-car-section .find-car-features li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
}

.rent-to-buy-find-car-section .find-car-features li i {
    color: #4cb286;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.rent-to-buy-find-car-section .find-car-image {
    text-align: center;
}

.rent-to-buy-find-car-section .find-car-image img {
    max-width: 100%;
    height: auto;
}

/* Top Picks Section */
.rent-to-buy-top-picks-section {
    padding: 80px 0;
    background: #ffffff;
}

.rent-to-buy-top-picks-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.rent-to-buy-top-picks-section>.container>.row:first-child p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.rent-to-buy-car-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.rent-to-buy-car-card .car-image {
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

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

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

.rent-to-buy-car-card .car-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rent-to-buy-car-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.rent-to-buy-car-card .car-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rent-to-buy-car-card .car-specs span {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rent-to-buy-car-card .car-specs i {
    color: #4cb286;
}

.rent-to-buy-car-card .car-price {
    margin-bottom: 20px;
    margin-top: auto;
}

.rent-to-buy-car-card .price-label {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.rent-to-buy-car-card .price-amount {
    color: #4cb286;
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.btn-car-rent {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

.btn-browse-all {
    margin-top: 40px;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Why Choose Section */
.rent-to-buy-why-choose-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.rent-to-buy-why-choose-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.rent-to-buy-benefit-card {
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.rent-to-buy-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rent-to-buy-benefit-card .benefit-icon {
    margin-bottom: 20px;
}

.rent-to-buy-benefit-card .benefit-icon .feature-icon {
    font-size: 3rem;
    color: #4cb286;
}

.rent-to-buy-benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.rent-to-buy-benefit-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Eligibility Section */
.rent-to-buy-eligibility-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(76, 178, 134, 0.05) 0%, rgba(0, 120, 125, 0.05) 100%);
}

.rent-to-buy-eligibility-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.rent-to-buy-eligibility-section .eligibility-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.rent-to-buy-eligibility-section .eligibility-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.rent-to-buy-eligibility-section .eligibility-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
}

.rent-to-buy-eligibility-section .eligibility-list li i {
    color: #4cb286;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.rent-to-buy-eligibility-section .eligibility-note {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.rent-to-buy-eligibility-section .eligibility-image {
    text-align: center;
}

.rent-to-buy-eligibility-section .eligibility-image img {
    max-width: 100%;
    height: auto;
}

/* Testimonial Section */
.rent-to-buy-testimonial-section {
    padding: 80px 0;
    background: #ffffff;
}

.rent-to-buy-testimonial-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.rent-to-buy-testimonial-section .testimonial-image {
    text-align: center;
}

.rent-to-buy-testimonial-section .testimonial-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.rent-to-buy-testimonial-section .testimonial-content {
    padding-left: 30px;
}

.rent-to-buy-testimonial-section .testimonial-quote {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
}

.rent-to-buy-testimonial-section .testimonial-quote i.fa-quote-left {
    font-size: 3rem;
    color: #4cb286;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.rent-to-buy-testimonial-section .testimonial-quote .quote-text {
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 40px;
}

.rent-to-buy-testimonial-section .testimonial-quote .quote-author {
    font-size: 1rem;
    color: #4cb286;
    font-weight: 600;
    padding-left: 40px;
    margin: 0;
}

.rent-to-buy-testimonial-section .testimonial-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* CTA Section */
.rent-to-buy-cta-section {
    padding: 80px 0;
    background: #4cb286;
    color: #ffffff;
}

.rent-to-buy-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.rent-to-buy-cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rent-to-buy-cta-section .btn-hero-primary {
    background: #ffffff !important;
    color: #4cb286 !important;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.rent-to-buy-cta-section .btn-hero-primary:hover {
    background: #f0f0f0;
    color: #00787d;
}

/* Responsive */
@media (max-width: 991px) {
    .rent-to-buy-hero-title {
        font-size: 2.5rem;
    }

    .rent-to-buy-hero-section {
        padding: 180px 0 60px 0 !important;
        min-height: auto;
    }

    .rent-to-buy-eligibility-section .eligibility-image,
    .rent-to-buy-find-car-section .find-car-image {
        margin-top: 40px;
    }

    .rent-to-buy-testimonial-section .testimonial-content {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .rent-to-buy-hero-section {
        padding: 160px 0 60px 0 !important;
    }

    .rent-to-buy-hero-title {
        font-size: 2rem;
    }

    .rent-to-buy-what-is-section h2,
    .rent-to-buy-find-car-section h2,
    .rent-to-buy-top-picks-section h2,
    .rent-to-buy-why-choose-section h2,
    .rent-to-buy-eligibility-section h2,
    .rent-to-buy-testimonial-section h2,
    .rent-to-buy-cta-section h2 {
        font-size: 2rem;
    }

    .rent-to-buy-testimonial-section .testimonial-quote .quote-text {
        font-size: 1.1rem;
        padding-left: 30px;
    }


}
