/* Reset & Fonts */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
}
/* Dropdown Style */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    padding: 8px;
}

.dropbtn:hover {
    color: #007bff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #007bff;
}

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

/* Navbar */
.navbar {
    background: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-left img {
    height: 40px;
}

.nav-left .site-title {
    font-weight: bold;
    font-size: 16px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

nav a:hover {
    color: #007bff;
}

.nav-right .btn {
    margin-left: 5px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h3 {
    color: #007bff;
    margin-bottom: 5px;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.hero p {
    color: #666;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card img {
    height: 120px;
    margin-bottom: 10px;
}

.card h4 {
    color: #007bff;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

/* Video */
.video-section {
    text-align: center;
    padding: 40px 20px;
}

.video-container {
    display: flex;
    justify-content: center; /* tengah horizontal */
    margin-top: 20px;
}

.video-container iframe {
    width: 100%;
    max-width: 560px; /* ukuran max seperti YouTube */
    height: 315px;    /* rasio 16:9 */
    border-radius: 8px;
    border: none;
}


/* FAQ */
.faq {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
}

.faq-actions {
    margin: 20px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-header {
    text-align: center;
    padding: 40px 20px 20px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.page-header p {
    color: #666;
}

.tutorial-content {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tutorial-content h2 {
    margin-top: 20px;
    color: #007bff;
}

.tutorial-content ol,
.tutorial-content ul {
    margin-left: 20px;
}

.tutorial-content li {
    margin-bottom: 8px;
}


/* Buttons */
.btn {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #eaeaea;
    color: #333;
}

.btn-secondary:hover {
    background: #d5d5d5;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    background: #f1f1f1;
    color: #555;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #000000;
    padding: 10px 20px;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
}

.site-title {
    font-weight: bold;
    margin-right: 20px;
}

/* menu default */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a.active {
    border-bottom: 2px solid #fff;
}

/* tombol hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #000000;
    cursor: pointer;
}

/* menu kanan */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* sembunyikan default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 10px 0;
        z-index: 1000;
    }

    .nav-links a {
        padding: 10px 20px;
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}
