/* Pengaturan Umum */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #0be6ab;
    color: white;
    padding: 1rem 0;
    border-bottom: 3px solid #003366;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    display: flex;
    align-items: center;
}

.main-header .logo img {
    margin-right: 15px;
	width: 6%;
}

.main-header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav ul li {
    display: inline-block;
    margin-left: 20px;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #ffd700;
}

.banner {
  width: 100%;
  height: 400px;
  background-image: url('https://tphp.mubakab.go.id/pic/banner/harirabies.jpeg');
  background-size: 100% 100%;
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #004d99;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #ffcc00;
}

/* Content Sections */
.content-section {
    padding: 50px 0;
    border-bottom: 1px solid #ddd;
}

.content-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #004d99;
}

.news-list, .service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item, .service-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 300px; /* Fleksibel, tapi tidak lebih kecil dari 300px */
}

.news-item img {
    c
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.service-item h4 {
    margin-top: 0;
    color: #004d99;
}

/* Footer */
.main-footer {
    background: #003366;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-about, .footer-links {
    flex: 1 1 250px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #004d99;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        margin-top: 10px;
    }

    .main-nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
