/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    padding-top: 100px; /* Menambahkan padding top agar konten tidak menempel di navbar */
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navigation {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.navigation a {
    font-size: 1.1em;
    color: #333; /* Samakan warna teks dengan halaman utama */
    text-decoration: none;
    margin-right: 30px;
    font-weight: 500;
    transition: 0.3s ease;
}

.navigation a:hover {
    color: goldenrod; /* Efek hover sama dengan halaman utama */
    text-decoration: underline;
}

.D-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.D-logo:hover {
    transform: scale(1.2); /* Sama seperti halaman utama */
}

/* Contact Section */
.contact-section {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding-top: 50px; /* Tambahkan jarak antara form dan navbar */
    margin: 20px auto;
}

.container {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    background-color: white;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #000000;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #ffffff;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: none;
}

.submit-btn {
    padding: 10px;
    background-color: goldenrod;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: darkorange;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 30px;
    }

    header {
        padding: 10px 20px; /* Menyesuaikan padding untuk layar kecil */
    }

    .navigation a {
        margin-right: 10px;
        font-size: 0.9em;
    }

    .container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    .navigation a {
        margin: 0 5px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
