/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    overflow-x: hidden;

}

/* Perubahan gaya untuk header */
header {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.head1 {
    text-align: left;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-weight: bold;
    color: black;
}

/* Gaya untuk tampilan konten */
.content {
    display: flex;
    flex-direction: row-reverse;
    /* Reverse order untuk gambar di sebelah kiri */
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

/* Gaya untuk teks di sebelah kanan */
.head1 {
    flex: 1;
    text-align: justify;
    padding-right: 20px;
}

/* Gaya untuk gambar di sebelah kiri */
.logo-image {
    flex: 1;
    max-width: 100%;
    height: auto;
}

.logo-image img {
    border-radius: 5px;
}

/* Gaya untuk tombol "Info Lanjut" */
.button-info {
    text-align: center;
    margin-top: 20px;
}

.button-info-lanjut {
    background-color: #000000;
    color: #f3f3f3;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease; /* Efek transisi saat hover */
}

/* Efek hover */
.button-info-lanjut:hover {
    background-color: #bc0707;
    color: #fffcfc;
}

/* Gaya untuk footer */
.footer {
    background-image: url('../../../Gambar/footerbanner.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
}

.footer-logo img {
    display: block;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Style untuk container "footer-social" */
.footer-social {
    text-align: center;
    padding: 20px 0;
}

/* Style untuk paragraf "BERHUBUNG DENGAN KAMI!" */
.footer-social p {
    font-size: 15px;
    margin: 5px 0;
    color: white;
}

/* Style untuk garis horizontal */
.footer-social hr {
    width: 60px;
    height: 2px;
    background-color: white;
    margin: 10px auto;
    border: none;
}

/* Style untuk ikon media sosial */
.footer-social a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.footer-social a img {
    width: 38px;
    height: 38px;
}

/* Style saat mengarahkan kursor ke ikon */
.footer-social a img:hover {
    color: #dceb09;
    transform: scale(1.1);
}

.transparent-background {
    background-color: rgba(73, 70, 70, 0.5); /* Nilai alpha (0.5) mengatur tingkat transparansi */
    padding: 15px; /* Anda dapat mengatur padding sesuai kebutuhan Anda */
    border-radius: 5px; /* Menggunakan radius sudut untuk sudut yang lebih lembut */
    width: 100%; /* Lebar latar belakang */
    text-align: center; /* Mengatur teks agar berada di tengah */
    margin: 0 auto; /* Mengatur margin horizontal menjadi auto untuk pemusatannya */
    position: relative; /* Gunakan posisi relatif */
}

/* Untuk mengatur latar belakang ke atas */
.transparent-background.to-top {
    top: 20px;
}

/* Style for the content section in berita.css */
.content-berita {
    text-align: left;
    padding: 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.news-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.news-item {
    width: 45%;
    margin: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    position: relative;
    perspective: 1000px;
}

.news-item:hover {
    transform: scale(1.05);
}

.news-item img {
    width: 100%;
    height: auto;
}

.news-item-1 {
    width: 30%;
    margin: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.news-item-1:hover {
    transform: scale(1.8);
}

.news-item-1 img {
    width: 100%;
    height: auto;
}

.news-caption {
    padding: 10px;
    font-size: 18px;
    color: black;
}

.news-caption1 {
    padding: 10px;
    font-size: 14px;
    color: darkgrey;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form {
    flex-basis: calc(50% - 10px);
    max-width: 100%;
    margin: 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.contact-form h2 {
    font-size: 20px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.contact-form h2 a {
    font-size: 8px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
}

.form-group button[type="submit"] {
    background-color: #4f9912;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    width: 100%;
}

.form-group button[type="submit"]:hover {
    background-color: #0056b3;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: black;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

td h2 {
    background-color: #540505;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid #000000;
    border-radius: 5px;
}

th,
td {
    padding: 5px;
}

form {
    padding: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    text-align: justify;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="radio"] {
    margin-right: 5px;
}

button[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.checkbox-label {
    display: block;
    margin-top: 10px;
}

/* Style untuk error message */
.error-message {
    color: #ff0000;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Style untuk captcha */
#captcha {
    width: 50px;
}

/* Reset some default styles */
body, p {
    margin: 0;
    padding: 0;
}

/* Style the contact info container */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px;
    max-width: 400px; /* Adjust as needed */
}

/* Style the contact items */
.contact-item {
    display: flex;
    align-items: center;
    background-color: #797979;
    padding: 85px;
    border-radius: 10px;
    text-decoration: none;
    color: #f3f3f3;
    transition: background-color 0.3s ease;
    width: 635px;
}

.contact-item:hover {
    background-color: #948C13;
}

/* Style the icons */
.contact-item i {
    font-size: 24px;
    margin-right: 10px;
}

/* Style the contact details */
.contact-details {
    flex: 1;
}

/* Style the contact names and information */
.nav__name {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Additional styling for address */
.contact-item:nth-child(2) .nav__name {
    font-style: italic;
}

#facebook-icon,
#instagram-icon,
#tiktok-icon,
#envelope-icon {
    font-size: 40px; /* Sesuaikan dengan saiz yang Anda inginkan */
    border-radius: 50%; /* Untuk sudut melengkung sehingga menjadi lingkaran */
    color: #f3f3f3; /* Default color */
    transition: color 0.3s ease, font-size 0.3s ease; /* Transisi untuk warna dan saiz */
}

#facebook-icon:hover {
    color: #112954; /* Color on hover */
    font-size: 35px; /* Sesuaikan dengan saiz yang Anda inginkan pada hover */
}

#instagram-icon:hover {
    color: #e1123e; /* Color on hover */
    font-size: 35px; /* Sesuaikan dengan saiz yang Anda inginkan pada hover */
}

#tiktok-icon:hover {
    color: #49999d; /* Color on hover */
    font-size: 35px; /* Sesuaikan dengan saiz yang Anda inginkan pada hover */
}

#envelope-icon:hover {
    color: #f6ff00; /* Color on hover */
    font-size: 35px; /* Sesuaikan dengan saiz yang Anda inginkan pada hover */
}

.captcha-container {
    display: flex; /* Use flexbox to center vertically and horizontally */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

h4 {
    text-align: justify;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #646775;
}
/* Style for the content section */
.content-berita-laporan {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
}

/* Style for the news title */
.content-berita-laporan h2 {
    font-size: 24px;
    margin: 10px 0;
}

/* Style for the news date */
.content-berita-laporan p {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}

/* Style for the news container */
.news-container-laporan {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style for the individual news item */
.news-item-laporan {
    margin: 10px;
}

/* Style for the news item image */
.news-item-laporan img {
    width: 40%;
    margin: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    position: relative;
    perspective: 1000px;
}

/* Style for the news item link */
.news-item-laporan a {
    text-decoration: none;
    color: #333;
}

/* Style for the modal */
.modal {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Style for the close button */
.close {
    position: absolute;
    top: 30px;
    right: 300px;
    font-size: 50px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.image {
    cursor: pointer;
}

.nav-btn {
    display: none;
    position: absolute;
    z-index: 2;
    transition: opacity 2.3s; /* Add a transition for opacity */
}

.banner-container:hover .carousel-indicators,
.banner-container:hover .nav-btn {
    display: block;
}
