/* Additional styles specific to home page */
.hero {
    position: relative;
    overflow: hidden;
    background-image: url('https://images.pexels.com/photos/267885/pexels-photo-267885.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(13, 71, 161, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animation for feature cards */
.feature-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials slider animation */
.testimonials-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    transition: transform 0.5s ease;
}

/* Statistics counter */
.stats-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-item p {
    font-size: 18px;
    opacity: 0.8;
}

/* News hover effect */
.news-card .news-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 115, 232, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.news-card:hover .news-image:after {
    opacity: 1;
}

/* Pulsating CTA button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

.cta .btn-primary {
    animation: pulse 2s infinite;
}

/* Parallax effect for sections */
.testimonials {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}