/* ===========================
   Home Page Styles
   =========================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner_main.jpg') center/cover no-repeat;
    opacity: 0.15;
}

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

.hero-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-logo {
    max-width: 160px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* School Image Section */
.school-image-section {
    padding: 3rem 0;
}

.school-image-section img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Feature Cards */
.features-section {
    padding: 4rem 0;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: inherit;
}

.feature-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.feature-card .icon-wrapper i {
    font-size: 1.8rem;
    color: #fff;
}

.feature-card h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Announcements Section */
.announcements-section {
    padding: 4rem 0;
    background: #fff;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.announcement-item {
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: var(--light-bg);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.announcement-item:hover {
    background: #f0ece5;
}

.announcement-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.announcement-item a:hover {
    color: var(--primary-color);
}

/* Home Footer (extended) */
.site-footer {
    padding: 3rem 0 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .hero-logo {
        max-width: 120px;
        margin-bottom: 1.5rem;
    }

    .features-section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }
}
