/* Reset dasar */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar */
nav {
    background: #007bff;
    padding: 10px;
    text-align: center;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

/* Container */
.container {
    margin-top: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: #007bff;
    color: white;
}

/* Hero Section */
.hero-section {
    background: url('../img/bg-ikm.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    min-height: 400px;
    position: relative;
    border-radius: 10px;
}

.hero-img {
    width: 500%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Carousel Controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
}

/* Carousel Indicators */
.carousel-indicators button {
    background-color: white;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}


/*   -----   Ketua Umum Section      -----*/
.leader-section {
    background-color: #E9F7F2; /* Warna latar belakang hijau muda */
    padding: 60px 0;
    border-radius: 10px;
}

.leader-img {
    width: 100%;
    max-width: 400px; /* Ukuran maksimal gambar */
    border-radius: 8px;
}

.leader-text {
    text-align: left;
}

.leader-text h3 {
    font-size: 24px;
    color: #333;
}

.leader-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.leader-text .badge {
    font-size: 14px;
    font-weight: bold;
}

.leader-text a {
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.leader-text a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Footer Section */
.footer-section {
    background-color: #ffffff; /* Warna latar belakang hijau muda */
    padding: 30px 0;
    border-top: 1px solid #ccc;
}

.footer-text {
    font-size: 16px;
    color: #333;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-copy {
    font-size: 14px;
    color: #333;
}

/* --- Bagian Sejarah ------*/
.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ---  ini bagian Struktur ------ */

/* Pengurus Section */
.container {
    max-width: 1100px;
}

/* Ukuran gambar dengan shadow */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.shadow-lg {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Program Card */
.program-card {
    background-color: #FAF5F1; /* Warna background krem */
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Judul Program */
.program-title {
    text-align: left;
    font-size: 22px;
    margin-bottom: 15px;
    color: #000;
}

/* Kontainer utama (ikon kiri, teks kanan) */
.d-flex {
    display: flex;
    align-items: center;
}

/* Container untuk ikon */
.icon-container {
    flex-shrink: 0;
    width: 230px;
    height: 230px;
    /*background-color: #FFD966;*/
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

/* Ukuran ikon */
.icon-img {
    width: 60%;
    height: auto;
}

/* Container untuk teks */
.text-container {
    flex-grow: 1;
}

/* List item */
.program-list {
    padding-left: 20px;
    margin: 0;
}

.program-list li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

/* Gallery Navigation */
.gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background-color: white; /* Latar belakang putih */
    padding: 10px 0; /* Padding atas bawah */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Shadow yang lebih halus */
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px; /* Jarak antar item */
    padding: 0;
    margin: 0;
}

.nav-item {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    padding: 8px 16px;
    border-radius: 10px; /* Border-radius yang lebih lembut */
    transition: background-color 0.3s ease-in-out;
}

/* Active Button */
.nav-item.active {
    background-color: #E0E0E0; /* Warna aktif */
    color: #000;
    font-weight: bold;
}

/* Hover Effect */
.nav-item:hover {
    background-color: #F0F0F0; /* Efek hover */
}

.tab-content {
    display: none; /* Hidden by default */
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

.tab-content.active {
    display: block; /* Only active tab content is visible */
}

.nav-item.active {
    background-color: #E0E0E0; /* Active state color */
}

/*ini untuk kontak*/
.contact-info, .contact-form {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.info-item {
    display: flex;
    align-items: center; /* Menyelaraskan item secara vertikal */
    margin-bottom: 10px;
}

.info-item img {
    width: 40px; /* Atur lebar logo sesuai kebutuhan */
    margin-right: 10px; /* Jarak antara logo dan teks */
}

.info-item p {
    margin: 0; /* Menghilangkan margin default pada paragraf */
}

.contact-info p {
    margin: 10px 0;
}


.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px;
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #004494;
}
