/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Sedikit padding di sisi agar tidak terlalu mepet */
}

/* Header Styles */
.main-header {
    background-color: #89e2a4;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center; /* Untuk menengahkan konten header */
    align-items: center;
    position: relative; /* Untuk positioning absolute search bar, jika perlu */
}

.main-header .container {
    display: flex;
   flex-direction: column;
    align-items: center;
}

.logo img {
    height: 200px; /* Sesuaikan ukuran logo */
    margin-bottom: 15px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a.active {
    color: #007bff; /* Warna biru untuk active link */
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.search-bar input {
    border: none;
    padding: 8px 10px;
    outline: none;
    font-size: 14px;
}

.search-bar button {
    background-color: #007bff; /* Warna biru untuk tombol search */
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

/* Hero Section Styles */
.hero-section {
    background: url('background main header KB AL MUKHTAR.png') no-repeat center center/cover; /* Ganti 'hero-bg.jpg' dengan path gambar Anda */
    color: white;
    text-align: left;
    padding: 150px 0; /* Sesuaikan padding vertikal */
    position: relative;
    z-index: 1; /* Penting untuk overlay */
}

/* Overlay gelap di atas gambar */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Hitam transparan */
    z-index: -1; /* Posisikan di bawah konten */
}

.hero-content {
    max-width: 600px; /* Batasi lebar konten agar tidak terlalu lebar */
}

.hero-content .welcome-text {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.hero-content h1 {
    font-size: 3.5em; /* Ukuran font judul */
    margin: 10px 0;
    line-height: 1.2;
}

.hero-content .description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px; /* Jarak antar tombol */
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff; /* Warna biru */
    color: white;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-whatsapp {
    background-color: #25d366; /* Warna hijau WhatsApp */
    color: white;
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    border-color: #1da851;
}

.btn-whatsapp i {
    margin-right: 8px;
}

/* Footer Styles */
.main-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px; /* Beri jarak dari konten di atasnya */
}

/* Responsiveness (Sederhana) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    .main-nav ul li {
        margin: 5px 10px;
    }

    .search-bar {
        margin-top: 15px;
    }

    .hero-section {
        padding: 100px 0;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }
}

/* ... (kode CSS yang sudah ada di style.css, seperti body, container, main-header, dll.) ... */

/* Profile Page Styles */
.profile-section {
    padding: 60px 0;
    background-color: white; /* Warna biru muda */
}

.profile-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.profile-item {
    background-color: #89e2a4;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(245, 242, 242, 0.911);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-item:hover {
    transform: translateY(-5px);
}

.profile-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.profile-item-text {
    padding: 20px;
    text-align: justify;
}

.profile-item-text h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #eaeef1;
}

.profile-item-text p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* Responsiveness untuk tampilan gambar */
@media (min-width: 768px) {
    .profile-item {
        width: calc(50% - 30px);
    }
}

@media (min-width: 992px) {
    .profile-item {
        width: calc(25% - 22.5px);
    }
}