﻿/* Main Content Styles */
.main-content {
    padding: 60px 0;
}

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

    .welcome-section .container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

.welcome-content {
    flex: 1;
}

.welcome-image {
    flex: 1;
    position: relative;
}

    .welcome-image img {
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.5s ease;
    }

    .welcome-image:hover img {
        transform: scale(1.03);
    }

.welcome-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e90ff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* Programs Section */
.programs-section {
    padding: 60px 0;
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

    .program-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(30, 144, 255, 0.1);
    }

.program-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1e90ff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background-color: #1e90ff;
    color: white;
    transform: scale(1.1);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.program-card p {
    color: #666;
    margin-bottom: 20px;
}

/* News Section */
.news-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #1e90ff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    line-height: 1;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
}

    .news-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #333;
    }

    .news-content p {
        color: #666;
        margin-bottom: 15px;
    }

.read-more {
    color: #1e90ff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

    .read-more i {
        transition: transform 0.3s ease;
    }

    .read-more:hover i {
        transform: translateX(5px);
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-image {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive Content */
@media (max-width: 992px) {
    .welcome-section .container {
        flex-direction: column;
    }

    .welcome-image {
        order: -1;
        margin-bottom: 30px;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr));
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 0;
    }

    .welcome-section,
    .programs-section,
    .news-section {
        padding: 40px 0;
    }

    .stat-item {
        min-width: calc(50% - 20px);
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        min-width: 100%;
    }
}
