/* Module Sections Base */
.module-section {
    padding: 5rem 0;
    position: relative;
}

.module-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.module-header.text-center {
    display: block;
    text-align: center;
}

.module-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem;
    letter-spacing: -0.5px;
}

.module-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
}

.module-header.text-center .module-subtitle {
    margin: 0 auto;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem;
}

.feature-description {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

/* Featured Vehicles */
.featured-vehicles-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.vehicle-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.vehicle-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.vehicle-image-placeholder {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image-placeholder i {
    font-size: 3rem;
    color: #94a3b8;
}

.vehicle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vehicle-info {
    padding: 1.25rem;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.vehicle-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.vehicle-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
    font-size: 0.875rem;
    font-weight: 600;
}

.vehicle-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.vehicle-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color, #FF5A5F);
}

.price-period {
    font-size: 0.85rem;
    color: #64748b;
}

.btn-book {
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color, #FF5A5F);
    color: var(--primary-color, #FF5A5F);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--primary-color, #FF5A5F);
    color: white;
}

/* How It Works */
.how-it-works-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255,90,95,0.4);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 0.5rem auto 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

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

.step-icon i {
    font-size: 2.25rem;
    color: var(--primary-color, #FF5A5F);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem;
}

.step-description {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-size: 1.5rem;
    padding-top: 5rem;
}

@media (max-width: 900px) {
    .step-connector {
        display: none;
    }
}

/* Vehicle Types */
.vehicle-types-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2rem 1.25rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #FF5A5F), var(--primary-light, #ff8a8d));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.category-card:hover {
    border-color: var(--primary-color, #FF5A5F);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255,90,95,0.15);
}

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

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
}

.category-card:hover .category-icon i {
    color: white;
}

.category-icon i {
    font-size: 1.75rem;
    color: var(--primary-color, #FF5A5F);
    transition: color 0.3s;
}

.category-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.category-count {
    font-size: 0.85rem;
    color: #64748b;
}

/* Stats Section - Primary Color Gradient Style */
.module-section.stats-section {
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F), var(--primary-hover, #e04e52));
    padding: 60px 0;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    /* Reset content-blocks.css.php styles */
    background: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.stats-section .stat-item {
    color: white;
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.stats-section .stat-icon {
    margin-bottom: 12px;
}

.stats-section .stat-icon i {
    font-size: 32px;
    opacity: 0.9;
}

.stats-section .stat-value {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.stats-section .stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
    color: white;
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.testimonials-slider {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    min-height: 320px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-rating {
    margin-bottom: 1.25rem;
}

.testimonial-rating i {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin: 0 0.1rem;
}

.testimonial-rating i.active {
    color: #f59e0b;
}

.testimonial-content {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.8;
    margin: 0 0 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar-placeholder i {
    font-size: 1.25rem;
    color: #94a3b8;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: #1a202c;
}

.author-role {
    font-size: 0.85rem;
    color: #64748b;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-dot.active {
    background: var(--primary-color, #FF5A5F);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: white;
    color: var(--primary-color, #FF5A5F);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.cta-button i {
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .module-section {
        padding: 4rem 0;
    }

    .module-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .module-section {
        padding: 3rem 0;
    }

    .module-title {
        font-size: 1.5rem;
    }

    .module-subtitle {
        font-size: 1rem;
    }

    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .module-header.text-center {
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

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

    .category-card {
        padding: 1.5rem 1rem;
    }

    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-section .stat-value {
        font-size: 28px;
    }

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

    .testimonials-slider {
        min-height: 350px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-content {
        font-size: 1rem;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
