* {
    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 === */
.info{
    margin-top: 80px;
    margin-right: auto;
    margin-bottom: 50px;
    padding-left: 80px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact_us{
    display: grid;
    grid-template-columns: 40% auto;
    margin-bottom: 80px;
}

h2 {
    margin-bottom: 15px;
    color: #F97FAF;
}

.contact-section-map{
    margin-right: 30px;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    border-radius: 5px;
}

.blue-color{
    color: #0b4681;
}

.info_title{
    text-align: left;
    font-size: 40px;
    
}
.info_text{
    font-size: 20px;
    color: #003060;
}
.info_text a{
    text-decoration: none;
}

.info_social_icons{
    text-align: left;
}
.info_social_icons a{
    color: #003060;
    font-size: 60px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.info_icon{
    display: flex;
}
.info_icon p{
    text-align: left;
    font-size: 20px;
    margin-left: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

.info_social_icons a:hover{
    color: #F97FAF; /* Pink on hover */
}

/* === 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 === */
    .info{
        margin-top: 80px;
        margin-right: 15px;
        margin-left: 15px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .info_text{
        font-size: 17px;
    }
    .contact_us{
        display: block;
        margin-bottom: 80px;
    }
    .info_icon p{
        font-size: 17px;
    }

    /* === 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;
    }
}