/* General Reset */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    background-color: #007bff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.logo {
    font-size: 20px;
    font-weight: bold;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links li {
    display: inline;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.nav-links .login-btn {
    background: white;
    color: #007bff;
    padding: 6px 12px;
    border-radius: 5px;
    width: auto;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 150px;
  z-index: 99;
}

.dropdown-menu li {
  padding: 8px 16px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero Section */
.hero {
    padding: 100px 20px;
    text-align: center;
    background-color: #e9ecef;
}
.hero h1 {
    font-size: 36px;
}
.hero p {
    font-size: 18px;
    color: #444;
    margin: 20px 0;
}
.cta-button {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.cta-button:hover {
    background-color: #0056b3;
}

/* Login */
.login-container {
    max-width: 400px;
    margin: 80px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
    text-align: center;
}
.login-container input {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.login-container button {
    padding: 10px 20px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}
.error {
    color: red;
}

/* Dashboard */
.dashboard {
    padding: 50px;
    text-align: center;
}
.apk-box {
    background: white;
    padding: 30px;
    margin: 20px auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
}
/* Logo image */
.logo-img {
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

/* News section */
.news-section {
    padding: 50px 20px;
    background-color: #f5f5f5;
    text-align: center;
}
.news-section h2 {
    margin-bottom: 30px;
    color: #333;
}
.news-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.news-card {
    background: white;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.news-card h3 {
    margin-top: 0;
    color: #007bff;
}
.news-card p {
    color: #444;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .news-list {
        flex-direction: column;
        align-items: center;
    }
}
/* Tambahan untuk aplikasi.php */
.filter-bar {
  margin: 20px;
}
.filter-bar a {
  margin: 0 10px;
  text-decoration: none;
  color: blue;
}
.filter-bar a.active {
  font-weight: bold;
  color: darkblue;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px;
}
.app-card {
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  text-align: center;
  border-radius: 10px;
}
.app-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.btn-download {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: green;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

