* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #fff;
}

header {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's on top of other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 8px;
    background-color: #fff;
}


/* === HEADER === */
.logo img {
    width: 140px;
}

.navbar a {
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
}


.navbar {
    display: flex;
    gap: 20px;
}

/* Hide the navbar on mobile view */
.menu-toggle {
    display: none;
    font-size: 26px;
    margin-top: 15px;
    background: none;
    border: none;
    color: black;
}


.navbar a {
    text-decoration: none;
    color: #003060;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color:#ff9d00; /* Change to pink on hover */
}
.dropbtn:hover{
    color:#ff9d00;
}

/* Dropdown Product Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropbtn {
    cursor: pointer;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    color: #003060;
    font-weight: bold;
}



/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    margin-top: 18px;
    width: auto; /* Lebar total */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px;
    z-index: 100;
    left: 0;
}

/* Baris dalam Dropdown */
.dropdown-row {
    display: flex;
    margin-bottom: 15px;
    width: auto;
}

/* Kolom dalam Dropdown */
.dropdown-column {
    flex: 1; /* Membagi ruang secara merata */
    padding: 0 10px;
}

/* Judul Setiap Kelompok */
.dropdown-header {
    color: #2c3e50;
    font-size: 1.1em;
    margin-bottom: 1px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

/* Link dalam Dropdown */
.dropdown-content a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
}

.dropdown-content h4{
    color: #25b3db;
}

/* Show Dropdown on click */
.dropdown-content.show {
    display: block;
}


/* === Main Page === */
.text_white{
    color: whitesmoke;
    text-decoration: none;
}
.text_blue{
    color: #003060;
    text-decoration: none;
}
.bg_blue{
    background-color: #25b3db;
}
.bg_white{
    background-color: whitesmoke;
}
.bg_orange{
    background-color: #ff9d00;
}

.bt_container{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 25% 30%;
}

.button{
    /* background-color: white; */
    padding: 12px;
    width: auto;
    height: auto;
    border-radius: 13px;
    margin-top: 20px;
    margin-right: 20px;
    text-align: center;
    cursor: pointer;
    border: 0px;
}
.button a{
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}
.button:hover{
    background-image: linear-gradient(rgb(0 0 0/40%) 0 0);
}

.normal-font{
    font-size: 20px;
}
.big-font{
    font-size: 42px;
}
.medium-font{
    font-size: 32px;
}
.div-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === INFO === */
.info{
    margin-top: 160px;
    display: grid;
    grid-template-columns: 30% auto;
    padding: 2px;
    margin-left: 50px;
    margin-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.info_image{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    width: 400px;
}
.info p{
    text-align: justify;
    font-size: 20px;
}

/* === FEATURES === */
.feature-head{
    padding-top: 30px;
    text-align: center;
}
.feature-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px;
    background-color: #fff;
    text-align: center;
}

.feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.feature img {
    width: 60%;
    height: auto;
}

.feature h2 {
    font-size: 1.8rem;
    color: #002366; 
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

/* === PARTNERS LOGO === */
.judul{
    text-align: left;
    font-size: 40px;
    color: #003060;
}
.logo_partners{
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #e6edf4;
    display: grid;
    grid-template-columns: 18% auto;
}

.logo_title{
    margin-left: 50px;
}

.logo_container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: auto auto;
}

.logo_holder {
    display: flex;
    width: max-content; /* Lebar mengikuti konten */
    animation: scroll 35s linear infinite;
}

.logo_image {
    flex: 0 0 auto;
    margin: 0 20px;
    display: flex;
    align-items: center;
}

.logo_image img {
    /* max-width: 180px; */
    max-height: 50px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

/* .logo_image img:hover {
    filter: grayscale(0%);
} */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Geser setengah dari total width */
    }
}


/* === FOOTER ===*/
footer {
    background-color: #003060;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 15px;
}

.social-icons a{
    color: white;
    margin-right: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover{
    color: #ff9d00;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    margin-bottom: 10px;
}

.menu ul li a{
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #ff9d00;
}

.information {
    margin-right: 8px;
}

.information a {
    text-decoration: none;
    color:#fff;
}

.map-container iframe {
    width: 100%;
    border-radius: 5px;
}

h3 {
    margin-bottom: 15px;
    color: #00C1C1;
}

.footer-ending{
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-left{
    margin-left: 10px;
    margin-right: auto;
    text-align: left;
}

.footer-right{
    margin-right: 10px;
    text-align: right;
    
}

.footer-right a {
    color: white;
    text-decoration: none;
}


/* MOBILE STYLES (Responsive) */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: flex-start;
    }

    /* === NAVBAR === */
    .logo img {
        width: 100px;
    }
    .navbar {
        display: none; /* Hide initially on mobile */
        width: 100%; 
        justify-content: center;
        flex-direction: column; /* Stacked by default on mobile */
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    /* Show the navbar in a row when toggled */
    .navbar.active {
        display: flex; /* Display flex when active */
        flex-wrap: wrap; /* Allow wrapping of items */
        justify-content: center;
        gap: 10px; /* Adds space between items */
    }

    .navbar a {
        padding: 10px;
        text-align: center;
        color: #003060;
        font-weight: bold;
    }

    .dropdown {
        margin-left: auto;
        margin-right: auto;
    }
    .navbar span{
        padding: 10px;
        text-align: center;
        color: #003060;
        font-weight: bold;
    }

    .dropdown-content {
        width: 280px; /* Lebar dropdown di mobile */
        left: 50%; /* Tengah (50% dari parent) */
        transform: translateX(-50%); /* Geser ke kiri 50% dari width-nya */
        /* Jika ingin di kiri, ganti dengan: */
        /* left: 0; transform: none; */
    }
    .dropdown-row {
        flex-direction: column;
    }

    .info{
        margin-top: 60px;
        display: block;
        padding: 2px;
        margin-left: 30px;
        margin-right: 30px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .info_image{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        width: 300px;
    }

    /* LOGO PARTNERS */
    .judul{
        font-size: 25px;
        text-align: center;
    }

    .logo_partners{
        margin-top: 50px;
        margin-bottom: 50px;
        padding-top: 20px;
        padding-bottom: 20px;
        display: block;
    }

    .logo_title{      
        margin-left: auto;
        margin-right: auto;
    }

    .logo_image img {
        max-width: 100px;
        max-height: 60px;
        object-fit: contain;
    }
    
    .logo_holder {
        animation: scroll 38s linear infinite;
    }


    /* === Feature ===*/
    .feature-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* === Footer === */
    .footer-container {
        flex-direction: column;
        align-items: column;
        text-align: left;
    }

    .footer-section {
        min-width: 100%;
    }

    .social-icons {
        margin-top: 15px;
    }
}