
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.header {
    background: #ffffff;
    padding: 15px 6%;
    border-bottom: 1px solid #ddd;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.school-name h1 {
    color: #0b5ed7;
    font-size: 28px;
}

.school-name p {
    color: #666;
    font-size: 16px;
}


/* =========================
   MODERN NAVBAR
========================= */

.navbar {
    width: 100%;
    background: linear-gradient(90deg, #0756d9, #4b2bbd, #d51f69);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

    position: sticky;
    top: 0;
    z-index: 1000;
}


/* NAV CONTAINER */

.nav-container {
    max-width: 1250px;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 5px;
}


/* NAV LINKS */

.nav-container a {
    position: relative;

    color: white;
    font-size: 16px;
    font-weight: bold;

    padding: 16px 22px;

    border-radius: 6px;

    transition: all 0.3s ease;
}


/* HOVER EFFECT */

.nav-container a:hover {
    background: white;
    color: #4b2bbd;

    transform: translateY(-3px);

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}
.navbar-scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ACTIVE PAGE */

.nav-container a.active {
    background: rgba(255, 255, 255, 0.20);
}


/* BOTTOM HOVER LINE */

.nav-container a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 5px;

    width: 0;
    height: 3px;

    background: #ffca28;

    border-radius: 10px;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


.nav-container a:hover::after {
    width: 55%;
}


/* MOBILE NAVBAR */

@media (max-width: 700px) {

    .nav-container {
        justify-content: flex-start;
        overflow-x: auto;

        padding: 5px;
    }

    .nav-container a {
        flex-shrink: 0;

        padding: 12px 15px;

        font-size: 14px;
    }
}
```

/* =========================
   HERO
========================= */

.hero {
    min-height: 500px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("../images/school.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 850px;
    color: white;
}

.hero-content h2 {
    font-size: 45px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 19px;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.hero-button:hover {
    background: #e68900;
    transform: scale(1.05);
}


/* =========================
   COMMON SECTION
========================= */

.section {
    padding: 70px 6%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #173f8a;
    margin-bottom: 8px;
}

.section-title p {
    color: #777;
}


/* =========================
   NOTICE
========================= */

.notice-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.notice-card {
    padding: 25px;
    border-radius: 10px;
    background: white;
    border-left: 5px solid #0066ff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.notice-date {
    display: inline-block;
    background: #e8f0ff;
    color: #0066ff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
}

.notice-card h3 {
    color: #222;
    margin-bottom: 10px;
}

.notice-card p {
    color: #666;
    margin-bottom: 15px;
}

.notice-card a {
    color: #0066ff;
    font-weight: bold;
}


/* =========================
   ABOUT
========================= */

.about-section {
    background: #f5f8ff;
    padding: 70px 6%;
}

.about-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.small-title {
    color: #0066ff;
    font-weight: bold;
}

.about-content h2 {
    font-size: 34px;
    color: #173f8a;
    margin: 10px 0 20px;
}

.about-content p {
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    background: #0066ff;
    color: white;
    padding: 10px 22px;
    border-radius: 5px;
    margin-top: 10px;
}

.read-more:hover {
    background: #004dcc;
}


/* =========================
   EVENTS
========================= */

.event-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.event-date {
    min-width: 70px;
    height: 80px;
    background: #673ab7;
    color: white;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.event-date strong {
    font-size: 28px;
}

.event-date span {
    font-size: 14px;
}

.event-info h3 {
    margin-bottom: 8px;
    color: #222;
}

.event-info p {
    color: #777;
    font-size: 14px;
}


/* =========================
   WHY CHOOSE US
========================= */

.why-section {
    padding: 70px 6%;
    background: #f5f8ff;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #173f8a;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 70px 6%;
}

.contact-container {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-box {
    text-align: center;
    padding: 30px;
    background: #f5f8ff;
    border-radius: 10px;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.contact-box h3 {
    color: #173f8a;
    margin-bottom: 5px;
}

.contact-box p {
    color: #666;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #102a43;
    color: white;
}

.footer-container {
    padding: 50px 6%;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer h2,
.footer h3 {
    margin-bottom: 15px;
}

.footer p {
    color: #d6e0ea;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #d6e0ea;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffca28;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    padding: 18px;
    background: #0b1f33;
    color: #d6e0ea;
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 900px) {

    .notice-container,
    .event-container {
        grid-template-columns: 1fr 1fr;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .school-name h1 {
        font-size: 20px;
    }

    .school-name p {
        font-size: 13px;
    }

    .logo-area img {
        width: 60px;
        height: 60px;
    }

    .nav-container a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .notice-container,
    .event-container,
    .features,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .section,
    .about-section,
    .why-section,
    .contact-section {
        padding: 50px 5%;
    }
}
/* =========================
   HERO SECTION
========================= */

.hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}


/* COVER PHOTO */

.hero > img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    top: 0;
    left: 0;

    z-index: 0;
}


/* DARK OVERLAY */

.hero-overlay {
    position: absolute;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1;
}


/* HERO TEXT */

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;
    padding: 20px;

    color: white;
}

.hero-content h2 {
    font-size: 45px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 19px;
    margin-bottom: 30px;
}


/* BUTTON */

.hero-button {
    display: inline-block;

    background: #ff9800;
    color: white;

    padding: 12px 28px;

    border-radius: 5px;

    font-weight: bold;

    transition: 0.3s;
}

.hero-button:hover {
    background: #e68900;
    transform: scale(1.05);
}


/* MOBILE */

@media (max-width: 600px) {

    .hero {
        height: 430px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }
}
```
