/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #ececec;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.main-header {
    background: #002f5f;
    color: white;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-header .logo {
    height: 50px;
    margin-right: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Navbar Styles */
.navbar {
    display: flex;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.navbar a:hover {
    background: #ffd700;
    color: #002f5f;
}

/* Dropdown menu styles */
.navbar .dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #48b6e9;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1000;
}

.navbar .dropdown-item {
    padding: 10px 20px;
}

.navbar .dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown when hovering over the nav item */
.navbar .nav-item:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero .slider {
    transition: transform 0.5s ease-in-out;
}

.hero-content {
    text-align: center;
    padding: 50px 20px;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .btn {
    background: #ffd700;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.hero .btn:hover {
    background: #ffc400;
    transform: scale(1.05);
}

/* Inovasi Section */
.inovasi {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.inovasi img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inovasi .btn {
    background: #002f5f;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Sponsor Section */
.sponsor-section {
    text-align: center;
    margin-top: 30px;
    padding: 30px 0;
    background: #ffffff;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sponsor-logos img {
    width: 70px;
    height: 70px;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
    border-radius: 5px;
}

.sponsor-logos img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        padding: 10px;
        background-color: #14beca;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .navbar ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

@media screen and (max-width: 992px) {
    .navbar {
        display: none;
    }

    .navbar.active {
        display: flex;
        flex-direction: column;
        background: #007bff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 10;
        padding: 1rem 0;
    }

    .nav {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        text-align: center;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background: none;
        padding: 0;
    }

    .dropdown li {
        padding: 0;
    }

    .dropdown li a {
        padding: 0.5rem 1rem;
    }
}
