:root {
    --primary-color: #0b192c;
    --accent-color: #00d284;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { color: var(--text-color); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }

.container { width: 90%; max-width: 1200px; margin: auto; }

/* NAVBAR & RESPONSIVE MENU */
.navbar { background: var(--primary-color); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--white); font-size: 1.5rem; font-weight: bold; text-decoration: none; }
.logo-highlight { color: var(--accent-color); }

.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a { color: var(--white); text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--accent-color); }

.lang-switcher a { color: var(--white); text-decoration: none; font-weight: bold; }
.lang-switcher a.active { color: var(--accent-color); border-bottom: 2px solid var(--accent-color); }

.menu-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* HERO SLIDER (DINAMIS) */
.slider-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #0b192c;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active { opacity: 1; visibility: visible; }

.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(11,25,44,0.95) 0%, rgba(11,25,44,0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 750px;
}

.slide-content h1 { font-size: 2.5rem; margin-bottom: 15px; line-height: 1.2; font-weight: 700; }
.slide-content p { font-size: 1.15rem; margin-bottom: 25px; opacity: 0.9; }

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: #0b192c;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-primary:hover { background-color: #00b377; color: var(--white); }

/* SLIDER DOTS */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px; height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active { background: var(--accent-color); width: 30px; border-radius: 10px; }

/* FOOTER & FLOATING WA */
.footer { background: var(--primary-color); color: var(--white); padding: 40px 0; margin-top: 50px; }
.grid-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.floating-wa {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 30px; right: 30px;
    background-color: #25d366; color: #fff;
    border-radius: 50px; text-align: center;
    font-size: 32px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999; display: flex;
    align-items: center; justify-content: center;
    text-decoration: none; transition: 0.3s;
}
.floating-wa:hover { transform: scale(1.1); }

/* MEDIA QUERIES (MOBILE RESPONSIVE) */
/* Pengaturan Responsive Mobile Menu */
@media (max-width: 768px) {
    .navbar .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0b192c;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .navbar .nav-menu.active {
        display: flex !important;
    }

    .navbar .menu-toggle {
        display: block !important;
        cursor: pointer;
        color: #fff;
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .navbar .menu-toggle {
        display: none !important;
    }
}
/* Custom Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.lang-btn:hover {
    background: var(--accent-color);
    color: #0b192c;
    border-color: var(--accent-color);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background-color: var(--primary-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(255,255,255,0.1);
}

.lang-dropdown-content a {
    color: var(--white);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 0.88rem;
    transition: 0.2s;
}

.lang-dropdown-content a:hover, 
.lang-dropdown-content a.active {
    background-color: var(--accent-color);
    color: #0b192c;
    font-weight: bold;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

/* Fix Hero Slider Transition */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #0b192c;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Page Header */
.page-header { background: #0b192c; color: #fff; padding: 40px 0; text-align: center; }

/* Grid Layouts */
.grid-team, .grid-streams, .grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Card Styling */
.team-card, .stream-card, .post-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.stream-icon { font-size: 2.5rem; color: #00d284; margin-bottom: 15px; }
.badge { background: #00875a; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
.date { font-size: 0.85rem; color: #777; margin: 10px 0; }

/* Styling Native Select Language Switcher */
.lang-select-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 2px 10px;
    margin-left: 10px;
}

.lang-icon {
    color: #00d284;
    font-size: 0.9rem;
    margin-right: 6px;
}

.lang-select {
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 0.88rem;
    font-weight: bold;
    padding: 6px 4px;
    cursor: pointer;
    outline: none;
}

.lang-select option {
    background-color: #0b192c;
    color: #ffffff;
    padding: 10px;
}

/* Layout Lokasi & Guestbook */
.grid-lokasi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.guestbook-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #0b192c;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #00d284;
}

/* Alert Styling */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
    .grid-lokasi {
        grid-template-columns: 1fr;
    }
}

/* Styling Menu Link biasa */
.nav-menu a.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect */
.nav-menu a.nav-link:hover {
    color: #00d284;
}

/* PEMBEDA MENU AKTIF (ACTIVE STATE) */
.nav-menu a.nav-link.active {
    color: #00d284;
    font-weight: 700;
    background: rgba(0, 210, 132, 0.1); /* Background tipis */
    border-bottom: 3px solid #00d284;    /* Underline hijau mencolok */
}

/* TAMPILAN KHUSUS PROFIL MODEL DARK MODE */
.profile-container-dark {
    background-color: #121824; /* Dark Background */
    color: #e2e8f0;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    line-height: 1.7;
}

.profile-section {
    margin-bottom: 25px;
}

.profile-section h2 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-section .sub-heading {
    color: #f1f5f9;
    font-size: 1.15rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.profile-section p {
    color: #cbd5e1;
    margin-bottom: 12px;
}

/* Quote Box Visi */
.vision-quote-box {
    background: #1e293b;
    border-left: 4px solid #00d284;
    padding: 20px 25px;
    border-radius: 8px;
    font-style: italic;
    color: #f8fafc;
    font-size: 1.05rem;
    margin: 15px 0 25px 0;
}

/* List Formatting */
.profile-list-number {
    padding-left: 20px;
    color: #cbd5e1;
}

.profile-list-number li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.profile-list-bullet {
    list-style: none;
    padding-left: 0;
    color: #cbd5e1;
}

.profile-list-bullet li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.profile-list-bullet li::before {
    content: "•";
    color: #00d284;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Divider Line */
.profile-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Styling Post Card & Image */
.post-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.post-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

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

.post-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.15rem;
    color: #0b192c;
    margin: 10px 0;
    line-height: 1.4;
}

.post-excerpt {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Styling Pagination Publik */
.btn-pagination {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0b192c;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-pagination:hover {
    background: #00d284;
    color: #0b192c;
    border-color: #00d284;
}

.btn-pagination.active {
    background: #00875a;
    color: #ffffff;
    border-color: #00875a;
}