                   /* RESET & GENERAL STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.text-center { text-align: center; }

/* HEADER & NAVBAR */
header {
    background-color: #0A192F; /* Deep Navy Blue */
    color:white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.info{
    font-size:16px;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo {
    display: flex;
    align-items: center; /* Membuat logo dan teks sejajar */
    gap: 10px;           /* Jarak antara logo dan teks */
}
.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.logo a {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 12px; /* Diubah dari 16px ke 12px agar muat dan tetap rapi */
    font-weight: 600;
    font-size: 0.95rem; /* Sedikit dikecilkan untuk estetika menu yang ramai */
    transition: 0.3s;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #F5A623; /* Gold accent */
}

.btn-ppdb {
    background-color: #F5A623;
    color: #0A192F !important;
    border-radius: 4px;
    font-weight: bold !important;
}

.btn-ppdb:hover {
    background-color: #fff;
}
/* HERO SECTION */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.nav-links li a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 12px; /* Diubah dari 16px ke 12px agar muat dan tetap rapi */
    font-weight: 600;
    font-size: 0.95rem; /* Sedikit dikecilkan untuk estetika menu yang ramai */
    transition: 0.3s;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #F5A623; /* Warna emas aksen */
}

.page-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}
/* Dropdown */
.nav-links .dropdown{
    position: relative;
}

.dropdown-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0A192F;
    min-width: 180px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    z-index: 9999;
}

.dropdown-menu li{
    width: 100%;
}

.dropdown-menu li a{
    display: block;
    color: #fff;
    padding: 12px 15px;
    text-decoration: none;
}

.dropdown-menu li a:hover{
    background: #F5A623;
    color: #0A192F;
}

.dropdown:hover .dropdown-menu{
    display: block;
}
/* FLOATING WHATSAPP */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
}
.profil-container {
    padding: 40px 0;
}

.profil-section {
    padding: 60px 40px;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.section-bg {
    background-color: #f8fafc;
}

.profil-section h2 {
    font-family: 'Montserrat', sans-serif;
    color: #0A192F;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.section-icon {
    color: #F5A623;
    margin-right: 10px;
}

.section-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #475569;
}

/* Visi Misi Dua Kolom */
.grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.visi-box blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #0A192F;
    border-left: 4px solid #F5A623;
    padding-left: 20px;
    margin-top: 15px;
}

.misi-list {
    padding-left: 20px;
}

.misi-list li {
    margin-bottom: 10px;
    color: #475569;
}

/* Layout Logo Filosofi */
.logo-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-placeholder {
    width: 200px;
    height: 200px;
    background-color: #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #0A192F;
    border: 4px dashed #cbd5e1;
}

.logo-placeholder span {
    font-size: 0.8rem;
    margin-top: 10px;
    font-weight: bold;
}

.logo-desc ul {
    list-style: none;
    margin-top: 15px;
}

.logo-desc ul li {
    margin-bottom: 10px;
}

/* Bagan Organisasi Sederhana */
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-node {
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.org-node h4 { color: #0A192F; margin: 0; }
.org-node p { margin: 5px 0 0; font-size: 0.85rem; }

.leader { border-top: 4px solid #dc2626; }
.headmaster { border-top: 4px solid #0A192F; width: 220px; }
.staff { border-top: 4px solid #F5A623; }

.org-line {
    width: 2px;
    height: 25px;
    background-color: #cbd5e1;
}

.org-row {
    display: flex;
    gap: 25px;
    justify-content: center;
    width: 100%;
}

/* RESPONSIVE DESIGN (HP) */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #172a45;
        padding-left: 20px;
    }
    
    .grid-two-col, .logo-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .visi-box blockquote {
        border-left: none;
        border-top: 2px solid #F5A623;
        padding: 15px 0 0;
    }
    
    .org-row {
        flex-direction: column;
        align-items: center;
    }
    
    .logo-placeholder {
        margin: 0 auto;
    }
}
.logo-placeholder{
    width:220px;
    height:220px;
    background:#fff;
    border:3px solid #e2e8f0;
    border-radius:50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:centpng
}

.logo-sekolah{
    width:280px;
    height:280px;
    object-fit:contain;
}

.logo-placeholder span{
    margin-top:10px;
    font-size:14px;
    font-weight:bold;
    color:#0A192F;
}
/* FOOTER */
footer {
    background-color: #0F172A;
    color: #94a3b8;
    padding: 40px 0 15px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about, .footer-contact { flex: 1; min-width: 250px; }
.footer-grid h3 { color: #fff; margin-bottom: 20px; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact i { margin-right: 10px; color: #F5A623; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 20px;
    font-size: 0.9rem;
}
/* Menyesuaikan grid agar buku tamu masuk ke dalam baris */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
}

.footer-buku-tamu h3 {
    margin-bottom: 15px;
    color: white;
}

 /* KHUSUS RESPONSIF HP */
        @media screen and (max-width: 768px) {
            html, body {
                overflow-x: hidden;
            }

            .navbar {
                position: relative !important;
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding: 10px 15px !important;
            }

            .hamburger-icon {
                display: flex !important;
                align-items: center;
                justify-content: center;
                width: 45px;
                height: 45px;
                background: transparent;
                border: none;
                color: white;
                cursor: pointer;
                z-index: 99999;
            }

            .hamburger-icon i {
                font-size: 28px;
                color: white;
            }

            .nav-menu {
                display: none !important;
                width: 100% !important;
                position: absolute !important;
                top: 100% !important;
                left: 0 !important;
                background-color: #0A192F !important;
                box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important;
                z-index: 99999 !important;
                padding: 15px 0 !important;
            }

            .nav-menu.mobile-open {
                display: block !important;
            }

            .nav-menu .nav-links {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                width: 100% !important;
                padding: 0 !important;
                margin: 0 !important;
                list-style: none !important;
            }

            .nav-menu .nav-links > li {
                display: block !important;
                width: 100% !important;
                text-align: center !important;
                padding: 8px 0 !important;
            }

            .nav-menu .dropdown-menu {
                position: static !important;
                display: none !important;
                width: 100% !important;
                background-color: #071120 !important;
            }

            .nav-menu .dropdown.dropdown-open .dropdown-menu {
                display: block !important;
            }

            .alur-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .bottom-actions {
                flex-direction: column;
            }

            .bottom-actions a {
                width: 100%;
                text-align: center;
            }

            .footer-grid {
                flex-direction: column;
            }
        }