/* Homepage Enhancement Styles */

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: url('../images/pattern-bg.svg') no-repeat center right;
    opacity: 0.05;
    z-index: 0;
}

.feature-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
}

.feature-card:hover .feature-icon i {
    color: white !important;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-text {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('../images/pattern-bg.svg') no-repeat center right;
    opacity: 0.05;
    z-index: 0;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.4s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 18px;
    margin-right: 2px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating i {
    transform: scale(1.1);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    position: relative;
    padding-left: 10px;
    font-size: 1.05rem;
}

.testimonial-text::before {
    content: '\201C';
    font-size: 70px;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: -25px;
    left: -20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-text::before {
    opacity: 0.25;
    transform: translateY(-5px);
}

.testimonial-avatar i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar i {
    transform: scale(1.1);
}

.testimonial-author h5 {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author h5 {
    color: var(--secondary-color);
}

/* Statistics Section */
/* Statistics section removed */

/* .statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.svg') no-repeat center center;
    opacity: 0.05;
    z-index: 0;
}

.stat-item {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Call to Action Section */
.cta-section {
    background-color: #f8f9fa;
}

.cta-wrapper {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.svg') no-repeat center right;
    opacity: 0.1;
    z-index: 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card,
    .feature-card {
        margin-bottom: 20px;
    }
}