/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1565c0;
}

/* Hero Section */
.hero {
    background-color: #1565c0;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(21, 101, 192, 0.9), rgba(21, 101, 192, 0.9)),
        url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: wheat;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fff;
    color: #1565c0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #fff;
}

.about-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    color: #444;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #1565c0;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Programs Section */
.programs-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.programs-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.program-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
    color: #1565c0;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.program-details {
    list-style: none;
}

.program-details li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.program-details li:before {
    content: "•";
    color: #1565c0;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

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

.announcements-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.announcements-scroll {
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
    padding: 0 1rem;
}

.announcements-scroll::-webkit-scrollbar {
    width: 8px;
}

.announcements-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.announcements-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.announcements-scroll::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.announcements-scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.announcement-item {
    background-color: #f5f5f5;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
}

.announcement-date {
    color: #666;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.announcement-category {
    color: #1565c0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 1rem;
}

.announcement-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 1rem;
}

.announcement-tag.important {
    background-color: #ffebee;
    color: #c62828;
}

.announcement-tag.urgent {
    background-color: #fff3e0;
    color: #ef6c00;
}

.announcement-tag.notice {
    background-color: #e3f2fd;
    color: #1565c0;
}

.announcement-title {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.announcement-text {
    color: #555;
}

/* Events Section */
.events-section {
    padding: 3rem 0;
    background-color: #f5f5f5;
}

.events-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-info {
    padding: 1.5rem;
}

.event-info h4 {
    margin-bottom: 0.5rem;
}

/* Calendar Section */
.calendar-section {
    padding: 3rem 0;
    background-color: #fff;
}

.calendar-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.calendar-event {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.calendar-event:hover {
    transform: translateY(-3px);
}

.calendar-event .date {
    color: #1565c0;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar-event .title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar-event .description {
    color: #666;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .events-grid,
    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .announcement-date,
    .announcement-category,
    .announcement-tag {
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card,
.event-card,
.calendar-event,
.announcement-item,
.stat-item {
    animation: fadeIn 0.5s ease-out;
}


/* Apply Section */
.apply-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.apply-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #333;
}

.apply-info {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.requirement-group {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirement-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.requirement-group h4 {
    color: #1565c0;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.requirement-group ul {
    list-style: none;
}

.requirement-group li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.requirement-group li:before {
    content: "•";
    color: #1565c0;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.requirement-group li:last-child {
    margin-bottom: 0;
}

.apply-button {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background-color: #1565c0;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #1976d2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .apply-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .requirement-group {
        padding: 1.5rem;
    }

    .requirement-group h4 {
        font-size: 1.2rem;
    }

    .requirement-group li {
        font-size: 0.95rem;
    }

    .apply-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requirement-group {
    animation: fadeIn 0.5s ease-out;
}