* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.navbar {
    background: #1a365d;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)),
        url('school.jpg') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.hero-content {
    width: 100%;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ffd700;
    color: #1a365d;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #ffed4a;
}

.about-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.about-text p {
    margin-bottom: 2rem;
    text-align: justify;
    padding: 0 1rem;
}

.about-text p:first-child {
    font-size: 1.2rem;
    color: #1a365d;
    font-weight: 500;
    border-left: 4px solid #ffd700;
    padding-left: 1.5rem;
}

.about-text p:not(:first-child) {
    text-indent: 2rem;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

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

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

.footer {
    background: #1a365d;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer p {
    margin: 0.5rem 0;
}

section h2 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ffd700;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

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

/* Existing CSS remains the same until programs section */

.programs-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, #f8f9fa, #fff);
}

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

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(26, 54, 93, 0.1);
}

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

.program-card h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ffd700;
}

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

.program-details li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.program-details li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ffd700;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a365d;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        display: flex;
    }

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

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

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

.program-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card:nth-child(3) {
    animation-delay: 0.4s;
}

.program-card:nth-child(4) {
    animation-delay: 0.6s;
}

.apply-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.apply-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.apply-info h3 {
    color: #1a365d;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.apply-info h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffd700;
}

.requirement-group {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 4px solid #ffd700;
    animation: slideIn 0.5s ease-out;
}

.requirement-group h4 {
    color: #1a365d;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

.requirement-group li {
    padding: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #444;
}

.requirement-group li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a365d;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@media (max-width: 768px) {
    .apply-section {
        padding: 6rem 1rem 4rem;
    }

    .apply-info {
        padding: 1.5rem;
    }

    .requirement-group {
        padding: 1.5rem;
    }

    .apply-info h3 {
        font-size: 1.8rem;
    }
}

.apply-button {
    display: block;
    width: fit-content;
    margin: 3rem auto 1rem;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
    background: #ffd700;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: #ffe44d;
}

/* Events Gallery */
.events-section {
    padding: 6rem 0;
    background: #fff;
}

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

.event-card {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.event-info h4 {
    margin: 0;
    font-size: 1.2rem;
}

.event-info p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Calendar Section */
.calendar-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.calendar-event {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.calendar-event .title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.calendar-event .description {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {

    .events-section,
    .calendar-section {
        padding: 4rem 1rem;
    }

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

.news-section {
    padding: 6rem 0;
    background: #fff;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #f8f9fa;
}

.news-date {
    min-width: 120px;
    padding: 0.5rem 1rem;
    margin-right: 2rem;
    background: #1a365d;
    color: white;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}

.news-title {
    color: #333;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .news-date {
        margin-right: 0;
    }
}

.announcements-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

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

/* Tabs Navigation */
.announcements-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #007bff;
    color: #fff;
}

.tab-btn:hover {
    background: #0056b3;
    color: #fff;
}

/* Announcements Content */
.tab-content {
    display: none;
}

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

.announcement {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.announcement .tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 10px;
}

.tag.important {
    background: #dc3545;
    color: #fff;
}

.tag.urgent {
    background: #ffc107;
    color: #000;
}

.tag.notice {
    background: #17a2b8;
    color: #fff;
}

.announcement h4 {
    margin: 10px 0;
    color: #333;
    font-size: 1.1rem;
}

.announcement p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcements-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    .announcement {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        flex: 1 1 100%;
    }
}