/* Index page specific styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)),
        url('../img/main.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 105px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
    margin: 0 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.cta-button.secondary:hover {
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6, #1976d2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.7;
}

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #64b5f6;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* News Section */
.news-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-item {
    display: flex;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-right: 2rem;
    min-width: 120px;
}

.news-content {
    flex: 1;
}

.news-category {
    background: #2a5298;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 1rem;
    display: inline-block;
}

.news-title {
    font-weight: bold;
    margin: 0.5rem 0;
    color: #1e3c72;
}

.news-description {
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cta-button {
            display: block;
            margin: 0.5rem auto;
            text-align: center;
            max-width: 250px;
        }
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
        min-width: auto;
    }
}