/* Index Page Specific Styles */

/* About Section */
.about-section {
    position: relative;
}

.about-section .lead {
    font-size: 1.15rem;
    color: #495057;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid #0d6efd;
    border-radius: 8px;
    z-index: -1;
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.stat-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #212529;
    margin: 10px 0;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Animate statistics on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.statistics-section.animate-in .stat-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.statistics-section.animate-in .stat-card:nth-child(1) { animation-delay: 0.1s; }
.statistics-section.animate-in .stat-card:nth-child(2) { animation-delay: 0.2s; }
.statistics-section.animate-in .stat-card:nth-child(3) { animation-delay: 0.3s; }
.statistics-section.animate-in .stat-card:nth-child(4) { animation-delay: 0.4s; }
.statistics-section.animate-in .stat-card:nth-child(5) { animation-delay: 0.5s; }
.statistics-section.animate-in .stat-card:nth-child(6) { animation-delay: 0.6s; }
.statistics-section.animate-in .stat-card:nth-child(7) { animation-delay: 0.7s; }
.statistics-section.animate-in .stat-card:nth-child(8) { animation-delay: 0.8s; }

/* Copyright Section */
.copyright-section {
    background-color: #fff9e6;
}

.copyright-section .card {
    border-width: 2px;
}

.copyright-content {
    font-size: 0.95rem;
    line-height: 1.8;
}

.copyright-content .alert {
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Contact Section */
.contact-section .card {
    border: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contact-section .form-label {
    font-weight: 500;
    color: #495057;
}

.contact-section .form-control,
.contact-section .form-select {
    border-radius: 8px;
    padding: 10px 15px;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Supporters Section */
.supporters-section {
    background-color: #f8f9fa;
}

.supporter-logo {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supporter-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.supporter-logo img {
    max-height: 80px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.supporter-logo:hover img {
    opacity: 1;
}

/* Popular Section */
.popular-section {
    background-color: #f8f9fa;
}

/* Responsive adjustments for index page */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .about-image::before {
        display: none;
    }
}