/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

/* Navigasi */
header {
    background: #fff;
    padding: 20px 10%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2d5a27; /* Hijau Bogor */
}

.logo span {
    color: #d4af37; /* Emas Integritas */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #2d5a27;
}

.btn-contact {
    background: #2d5a27;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 80vh;
    //background: linear-gradient(rgba(45, 90, 39, 0.8), rgba(45, 90, 39, 0.8)), 
                //url('https://images.unsplash.com/photo-1577415124269-fc1140a69e91?auto=format&fit=crop&w=1200&q=80'); /* Ganti dengan foto Bogor */
    
	background:linear-gradient(rgba(135, 206, 235, 0.8), rgba(100, 149, 237, 0.8)), 
                url('foto/hakordia-cfd2025.jpeg?auto=format&fit=crop&w=1200&q=80');
				
	background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn-primary {
    padding: 12px 30px;
    background: #d4af37;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 15px;
    font-weight: 600;
}

.btn-secondary {
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* Program Section */
.programs {
    padding: 80px 10%;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
    font-size: 2rem;
    color: #2d5a27;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: #2d5a27;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

/* Styling Formulir Pengajuan */
.request-form {
    padding: 80px 10%;
    background-color: #fff;
}

.form-container {
    display: flex;
    gap: 50px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.form-info {
    flex: 1;
    min-width: 300px;
}

.form-info h2 {
    color: #2d5a27;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #444;
}

.benefit-list .icon {
    background: #2d5a27;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 0.8rem;
}

.form-box {
    flex: 1.5;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.input-group {
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    gap: 20px;
}

.input-row .input-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #2d5a27;
    box-shadow: 0 0 5px rgba(45, 90, 39, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #2d5a27;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #1e3d1a;
    transform: translateY(-2px);
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Styling Section Tim */
.team-section {
    padding: 80px 10%;
    background-color: #f4f7f6;
    text-align: center;
}

.section-subtitle {
    margin-bottom: 50px;
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid #d4af37; /* Aksen Emas */
}

.team-card:hover {
    transform: translateY(-10px);
}

.member-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #eee;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    color: #2d5a27;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-info .role {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.member-info .spec {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.member-social span {
    display: inline-block;
    background: #e8f5e9;
    color: #2d5a27;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}


/* Styling Galeri */
.gallery-section {
    padding: 80px 10%;
    background-color: #ffffff;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px; /* Jarak antar foto */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efek Overlay saat di-hover */
.gallery-overlay {
    position: absolute;
    bottom: -100%; /* Sembunyi di bawah */
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 90, 39, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    transition: bottom 0.4s ease;
}

.overlay-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 15px;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Gambar membesar sedikit */
}

.gallery-item:hover .gallery-overlay {
    bottom: 0; /* Overlay naik ke atas */
}

/* Responsif untuk layar kecil */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}



/* Styling FAQ */
.faq-section {
    padding: 80px 10%;
    background-color: #f4f7f6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d5a27;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.faq-question:hover {
    background-color: #e8f5e9;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #555;
    line-height: 1.6;
}

/* Class saat aktif (akan ditambah via JS) */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
    color: #d4af37;
}

.arrow {
    font-size: 1.5rem;
    transition: 0.3s;
}