    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-orange: #ff9f43;
    --secondary-yellow: #ffeaa7;
    --dark-orange: #e67e22;
    --light-yellow: #fff3e0;
    --text-dark: #333;
    --text-gray: #666;
    --border-light: rgba(255, 159, 67, 0.5);
    --bg-color: var(--light-yellow);
    --text-color: var(--text-dark);
}

body {
    background-color: var(--bg-color);
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
    transition: all 0.3s ease;
}

body.dark-mode {
    --bg-color: #1e1e1e;
    --text-color: #f1f1f1;
    --primary-orange: #ff9f43;
    --secondary-yellow: #333;
    --dark-orange: #ff7f50;
    --light-yellow: #2c2c2c;
    --text-gray: #aaa;
    --border-light: rgba(255, 159, 67, 0.3);
}

/* --- Header & Navigation --- */
        header {
            background-color: var(--primary-orange);
            color: white;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
        }

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

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

        .nav-links a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            transition: background-color 0.3s;
        }

        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        #theme-toggle {
            background: white;
            color: black;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

/* --- Hero Section --- */        
.hero-section {
    background: linear-gradient(rgba(255,159,67,0.20), rgba(255,159,67,0.20)), 
                url('https://api.ryuu-dev.offc.my.id/src/assest/mahiru/Mahiru-09.jpg') 
                no-repeat center center/cover;
    color: white;
    padding: 8rem 2rem;
    text-align: left;
    position: relative;
    text-shadow: 1px 1px 2px var(--border-light);
    transition: background 0.3s ease;
}

body.dark-mode .hero-section {
    background: linear-gradient(rgba(128,128,128,0.3), rgba(128,128,128,0.3)), 
                url('https://api.ryuu-dev.offc.my.id/src/assest/mahiru/Mahiru-09.jpg') 
  no-repeat center center/cover;
}

        .hero-section h1 {
            font-size: 2.5rem;
            max-width: 600px;
            margin-bottom: 1rem;
        }

        .hero-section p {
            font-size: 1rem;
            max-width: 600px;
        }

        .hero-nav {
            position: absolute;
            bottom: 2rem;
            left: 2rem;
        }

        .hero-nav button {
            background: rgba(255, 255, 255, 0.3);
            border: none;
            color: white;
            padding: 15px;
            border-radius: 50%;
            cursor: pointer;
            margin-right: 10px;
        }

/* --- Main Content Sections --- */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- Sambutan & Statistik --- */
.headmaster-section {
    background-color: var(--secondary-yellow);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.2);
    padding: 2rem;
    margin-top: -6rem;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-light);
}
.headmaster-card {
    text-align: center;
}
.headmaster-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--primary-orange);
    margin-top: -100px;
    object-fit: cover;
}
.headmaster-card h2 {
    color: var(--primary-orange);
    margin: 1rem 0 0.5rem;
    text-shadow: 1px 1px 2px var(--border-light);
}
.headmaster-card h3 {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}
.read-more-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 1rem;
}

/* --- Statistik Dynamic --- */
        .statistics {
            text-align: center;
            margin-top: 2rem;
        }

        .statistics ul {
            list-style: none;
            padding: 0;
            display: flex;
            justify-content: space-around;
            margin-top: 1rem;
        }

        .statistics li {
            text-align: center;
        }

        .statistics li span {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-orange);
        }

        /* Footer */
        footer {
            background-color: var(--dark-orange);
            color: white;
            padding: 2rem;
            text-align: center;
        }

        /* Dark Theme */
        body.dark {
            --secondary-yellow: #2a2a2a;
            --light-yellow: #1e1e1e;
            --text-dark: #f0f0f0;
            --text-gray: #ccc;
            --border-light: rgba(255,255,255,0.2);
        }

        body.dark header {
            background-color: #444;
        }

        body.dark .headmaster-section,
        body.dark .staff-card,
        body.dark .testimonial-card {
            background-color: #2a2a2a;
            border-color: rgba(255,255,255,0.2);
            color: var(--text-dark);
        }
        
/* --- Agenda & Berita --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.section-header a {
    color: var(--primary-orange);
    font-size: 1.5rem;
}
.agenda-container, .news-container {
    background-color: var(--secondary-yellow);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.2);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}
.agenda-item {
    display: flex;
    align-items: center;
    background-color: var(--light-yellow);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.agenda-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--primary-orange);
}
.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}
.news-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
    border: 1px solid var(--border-light);
}
.news-text h3 {
    margin: 0;
    font-size: 1rem;
    text-shadow: 1px 1px 1px var(--border-light);
}
.news-text small {
    color: var(--text-gray);
}

/* --- Staff Sections --- */
.staff-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.staff-card {
    background-color: var(--secondary-yellow);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.2);
    text-align: center;
    padding: 1.5rem;
    width: 250px;
    border: 1px solid var(--border-light);
}
.staff-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* --- Testimonials --- */
.testimonial-card {
    background-color: var(--secondary-yellow);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.2);
    border: 1px solid var(--border-light);
}
.quote-icon {
    font-size: 3rem;
    color: var(--primary-orange);
}
.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-orange);
    color: white;
    padding: 2rem;
}
.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column h3 {
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column a {
    color: white;
    text-decoration: none;
}
.social-links a {
    margin-right: 1rem;
    font-size: 1.5rem;
}
.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    header button { display: block; }
    .hero-section h1 { font-size: 2rem; }
    .headmaster-section, .agenda-container, .news-container { padding: 1rem; }
    .statistics ul { flex-direction: column; gap: 1rem; }
}