* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; /* Sama di semua halaman */
}
        
/* Header */
.top-bar {
    background-color: #1f1e1d;
    padding: 5px 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: white;
    font-size: 12px;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
}

/* Main Navbar */
nav.main-nav {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.2px solid #ff9900; /* Border Bottom */
}

nav.main-nav .logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    position: relative; /* For dropdown positioning */
    margin: 0 4px;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease; /* Animation on hover */
}

.nav-list li a:hover {
    color: #ff9900;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Position below the parent menu */
    left: 0;
    background-color: #444;
    list-style: none;
    padding: 10px 0;
    min-width: 190px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: white;
}

/* Show dropdown on hover */
.nav-list .dropdown:hover .dropdown-menu {
    display: block;
}

/* Membership Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown .dropdown-toggle {
    color: white;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
}

.language-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    list-style: none;
    width: 10px; /* Mengatur lebar menu dropdown */
    max-width: 10px; /* Menjaga lebar menu tetap kecil */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10; /* Increase z-index to ensure it's above other content */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.language-dropdown .dropdown-menu li {
    padding: 1px 1px;
}

.language-dropdown .dropdown-menu li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 12px;
}

.language-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1; /* Make the menu visible */
    visibility: visible; /* Make the menu visible */
}

.language-dropdown .dropdown-menu li:hover {
    background-color: #f4b400; /* Highlight on hover */
}

/* Language Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    list-style: none;
    padding: 10px 20px;
    min-width: 175px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
    padding: 10px 0px;
    color: white;
}


.hamburger {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .nav-list {
        display: flex; /* Ubah ke flex agar properti transform bekerja */
        flex-direction: column;
        gap: 10px;
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        background-color: #333;
        width: 80%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;

        /* Animasi default */
        opacity: 0; /* Awalnya tidak terlihat */
        transform: translateX(100%); /* Awalnya keluar layar */
        pointer-events: none; /* Agar tidak bisa diklik saat tersembunyi */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Animasi smooth */
    }

    /* Tampilkan menu dengan animasi */
    .nav-list.show {
        opacity: 1; /* Tampilkan menu */
        transform: translateX(0); /* Geser ke posisi normal */
        pointer-events: auto; /* Aktifkan klik saat terlihat */
    }

    .hamburger {
        position: absolute; /* Tetapkan posisi tombol */
        top: 45px;
        right: 10px; /* Selalu di kanan atas */
        z-index: 1100; /* Pastikan tombol di atas menu */
        cursor: pointer;

    }

    .right-nav {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }
}


/* About Us Section */
.about-section {
    position: relative;
    background: url('../foto/welcometoiabi3.png') no-repeat center center/cover;
    min-height: 100vh;
    padding: 60px 15px;
}

.text-warning {
    --bs-text-opacity: 1;
    color: #ff9900 !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darken effect */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.title {
    margin-top:40px;
}

.content-box {
    background: rgba(255, 255, 255, 0.6); /* Reduced opacity for transparency */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffffff;
    padding: 30px;
    text-align: justify;
    line-height: 1.6;
}

.content-box p {
    max-width: 99.5%;
}

.separator {
    border-top: 2px solid white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.timeline {
    margin-top: 20px;
    padding-left: 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.timeline-date {
    width: 80px;
    height: 30px;
    background-color: #f39c12;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 10px;
    margin-right: 15px;
    border-color: #1f1e1d;
}

.timeline p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

.highlight {
    color: #ff9900;
}

.title {
    font-size: 36px;
    font-weight: bold;
}

.card {
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.4);
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-color: #1f1e1d;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card ol {
    padding-left: 20px;
}

.card ol li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
    text-align: justify;
    max-width: 95%;
}

.highlight {
    color: #ffbf00;
}

.img-fluid {
    width:100%;
}

.underline{
    margin: 0rem;
    margin-bottom: 20px;
}

/* Animasi Hover untuk Tombol */
button.btn-warning {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #000;
    transition: color 0.3s ease, background 0.3s ease;
}

button.btn-warning:hover {
    background-color: #e68a00; /* Warna hover */
    color: #fff; /* Teks jadi putih */
    transform: scale(1.05); /* Membesar sedikit */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Bayangan saat hover */
}

/* Efek Transisi Konten */
#content-box {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

#content-box.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* Footer Styling */
.footer {
    background-color: #333; /* Background hitam */
    color: #fff; /* Teks putih */
    padding: 30px 0; /* Spasi atas-bawah */
    font-family: Arial, sans-serif;
    border-top: 1px solid #ff9900; /* Garis oranye di atas */
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    margin-top: 20px;
}

.footer-logo {
    max-width: 100px; /* Atur lebar maksimal logo */
    margin-bottom: 20px; /* Jarak bawah */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links li {
    display: inline-block;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffb900; /* Warna hover hijau */
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    margin: 0 10px;
    color: #ffb900; /* Warna ikon hijau */
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #fff; /* Warna hover putih */
}

.footer-copyright {
    font-size: 12px;
    color: #aaa; /* Warna abu-abu */
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: wrap; /* Susun secara vertikal */
        gap: 10px;
    }
    

    .social-icons {
        flex-wrap: wrap; /* Agar ikon menyesuaikan */
        gap: 10px;
    }
}

/* Untuk layar kecil (ponsel) */
@media (max-width: 768px) {
    .timeline-date {
        width:20%; /* Lebar penuh */
        height: 30px; /* Tinggi otomatis */
        text-align: flex; /* Teks di tengah */
        font-size:10px;
    }
}



