* {
    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;
}

.navbar a:hover {
    color:#fea435; /* Change to pink on hover */
}
.dropbtn:hover{
    color:#fea435;
}

/* 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 */
    min-width: 140px;
    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;
}

/* 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;
}

/* 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;
}

/* === ISI === */

.product{
    margin-top: 50px;
    margin-bottom: 50px;
}

.product_header{
    padding-top: 90px;
    background-color: #efefef;
    padding-bottom: 90px;
    padding-left: 100px;
    padding-right: 100px;
    text-align: justify;
}

.product_header h1{
    color:#003060;
}

.product_list{
    padding-top: 90px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
}


.product_item{
    display: grid;
    grid-template-columns: 30% auto;
    padding: 45px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 40px;
    text-align: justify;
    border-radius: 10px;
    background-color: #e6edf4;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 6px 0 rgba(0, 0, 0, 0.19); */
}
.product_item h2{
    text-align: left;
    font-size: 24px;
}

.product_item img{
    max-width: 200px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.item_btn{
    background-color: #003060;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
.item_btn:hover{
    background-color: #00C1C1;
    color: white;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

#productVideo {
    width: 100%;
    display: block;
}

/* === 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: #F97FAF; /* Pink on hover */
}

.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;
    }

    /* === ISI === */
    .product_header{
        padding-top: 90px;
        padding-bottom: 90px;
        padding-left: 50px;
        padding-right: 50px;
    }
    .product_list{
        padding-top: 90px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .product_item{
        display: block;
        padding: 45px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 40px;
        text-align: justify;
        border-radius: 10px;
        background-color: #e6edf4;
        /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 6px 0 rgba(0, 0, 0, 0.19); */
    } 

    .video-container {
        position: relative;
        max-width: 800px;
        margin: 20px 20px 20px 20px;
    }

    /* === Feature ===*/
    .footer-logo{
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .features-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-container {
        flex-direction: column;
        align-items: column;
        text-align: left;
    }
    .footer-section {
        min-width: 100%;
    }
    .social-icons {
        margin-top: 15px;
        text-align: center;
    }
}