/* Reset dasar */
* {
    box-sizing: border-box;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    background: transparent;
    padding: 20px;
    transition: 0.3s;
    z-index: 1000;
}

header.scrolled {
    background: rgba(0, 64, 128, 0.9);
    padding: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://lh3.googleusercontent.com/9-dnJW1DPKDXGekV26Dw3j2nwuvw9LRPrVO03AZmeCtrdvJnY--QUrT3tROqnxwn5kE9ho_xc7Qjo0WQRDlwa70=w16383') no-repeat center center/cover;
    color: white;
    padding: 0 15px;
}

.hero h1 {
    font-size: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h1 span {
    color: #FFD700;
}

.hero p {
    font-size: 1.2rem;
    margin: 10px 0;
    animation: fadeIn 2s ease-in-out;
}

.cta-button {
    background: #FFD700;
    padding: 10px 20px;
    color: black;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    animation: fadeIn 2.5s ease-in-out;
}

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

/* Fitur Sekolah */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 50px 15px;
    background: #fff;
}

.feature {
    background: #e3f2fd;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    width: 100%;
    max-width: 350px;
    transition: 0.3s;
}

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

.feature img {
    width: 80px;
    height: 80px;
}

.feature h3 {
    margin-top: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #222;
    color: white;
}

/* Animasi */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    text-align: center;
    padding: 60px 15px;
    background: linear-gradient(to right, #004080, #0073e6);
    color: white;
    font-size: 2rem;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px 15px;
}

.box {
    background: white;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.box h2 {
    color: #004080;
}

/* Responsive layout */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        right: 20px;
        display: none;
        padding: 10px;
        border-radius: 5px;
    }

    nav ul li {
        margin: 10px 0;
    }
}
