/* Hero Section */
.hero {
    background: white;
    padding: 0;
    min-height: 500px;
}

.hero-container {
    display: flex;
    min-height: 500px;
}

.hero-image {
    flex: 2;
    position: relative;
    overflow: hidden;
}

.hero-image .btn {
    position: absolute;
    left: 0;
    top: 0;
    background: #ea1818;
    z-index: 10;
}

.hero-image .btn a {
    display: block;
    color: #FFF;
    text-decoration: none;
    padding: 1em 2em;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-info-panel {
    flex: 1;
    background: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.info-section {
    margin-bottom: 2rem;
}

.info-title {
    color: #ff845a;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff845a;
}

.info-content {
    color: #333;
}

.time-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.time-label {
    font-weight: 500;
    min-width: 60px;
}

.time-value {
    font-weight: 600;
    color: #ff845a;
}

.time-note {
    font-size: 0.9rem;
    color: #666;
}

.info-notes {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}

.info-notes li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.info-notes li:before {
    content: "•";
    color: #ff845a;
    position: absolute;
    left: 0;
}

.access-button a{
    background: #ff845a;
    color: white;
    border: 2px solid #ff845a;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-decoration: none;
    text-align: center;
}

.access-button a:hover {
    background: #ffa799;
    border-color: #ffa799;
}

/* Announcements Section */
.announcements {
    padding: 3rem 0;
    background: white;
}

.announcements h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
}

.announcement-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    color: #ff845a;
    border-bottom-color: #ff845a;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.announcement-list {
    list-style: none;
}

.announcement-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.announcement-list li:last-child {
    border-bottom: none;
}

.announcement-list .category {
    background: #ff845a;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #ff845a;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.announcement-list a {
    color: #333;
    text-decoration: none;
    flex: 1;
    transition: color 0.3s ease;
}

.announcement-list a:hover {
    color: #ff845a;
}

.announcement-list .date {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.announcement-list .no-news {
    padding: 2rem 0;
    text-align: center;
    color: #999;
    border-bottom: none;
}

.announcement-list .no-news p {
    margin: 0;
}

/* Features Section */
.features {
    background: #f8f9fa;
    padding: 3rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.feature-item a {
    color: #000;
    text-decoration: none;
    display: block;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 70px;
    height: auto;
}

.feature-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-image {
        flex: none;
        height: 300px;
    }

    .hero-info-panel {
        flex: none;
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
    }

    .hero-image {
        height: 250px;
    }

    .hero-info-panel {
        padding: 1rem;
    }

    .info-section {
        margin-bottom: 1.5rem;
    }

    .info-title {
        font-size: 1.1rem;
    }

    .time-row {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .time-label {
        min-width: auto;
    }

    .announcement-tabs {
        flex-direction: column;
        gap: 0;
    }

    .tab-button {
        border-bottom: 1px solid #e9ecef;
        border-radius: 0;
    }

    .announcement-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .announcement-list .category {
        align-self: flex-start;
        margin-bottom: 0.5rem;
    }

    .announcement-list .date {
        align-self: flex-end;
    }
}

