
.parallax-container{
height: 400px;
}

.active{
background-color: #B8860B;
color: #fff;
}

.clients h3{
text-shadow: 2px 2px 4px rgba(0,0,0,1);
}

.warna{
background-color: #DAA520;
}

.kontak .content {
    background-color: white; /* Ubah dengan path gambar latar belakang Anda */
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.kontak .card {
    flex: 1 1 calc(25% - 40px); /* 4 cards per row with 20px gap */
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

.kontak .img-card img {
    width: 80px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.kontak .img-card img:hover {
    transform: scale(1.1);
}

.contact-detail {
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: -70px; /* Adjust position based on your design */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    box-sizing: border-box;
}
/* Style untuk slider */
.slider {
position: relative;
height: 100vh; /* Sesuaikan tinggi slider dengan layar */
overflow: hidden;
}

.slides {
list-style: none;
margin: 0;
padding: 0;
width: 300%;
height: 100%;
display: flex;
animation: slide 15s infinite;
}

.slides li {
width: 100%;
height: 100%;
flex: 1;
position: relative;
}

.slides img {
width: 100%;
height: 100%;
object-fit: cover;
}

.caption {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.caption h2, .caption h4, .caption h5 {
margin: 0;
padding: 0.5em;
}

@keyframes slide {
0% { margin-left: 0; }
20% { margin-left: 0; }
25% { margin-left: -100%; }
45% { margin-left: -100%; }
50% { margin-left: -200%; }
70% { margin-left: -200%; }
75% { margin-left: 0; }
100% { margin-left: 0; }
}

/* Tambahan untuk tampilan responsif */
@media (max-width: 768px) {
.caption h2 {
font-size: 1.5em;
}

.caption h4, .caption h5 {
font-size: 1em;
}
}


.about .content {
display: none;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
align-self: start;
}

.about .col-left,
.about .col-right {
flex: 1;
padding: 20px;
}

.about .img-card img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(144, 111, 5, 0.1);
}

.about .col-right h3 {
font-size: 28px;
margin-bottom: 15px;
color: #6f5c24;
}

.about .col-right p {
text-align: justify;
margin-bottom: 20px;
line-height: 1.6;
font-size: 16px;
}

.vision-mission {
background-color: #dbdbd8;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vision-mission h3 {
font-size: 24px;
margin-bottom: 15px;
color: #333;
}

.vision h4,
.mission h4 {
font-size: 20px;
margin-bottom: 10px;
color: #6f5c24;
}

.mission ul {
list-style-type: disc;
margin-left: 20px;
}

.mission li {
margin-bottom: 10px;
line-height: 1.6;
font-size: 16px;
}

/* CSS untuk bagian berita */
.berita {
padding: 50px 0;
}

.berita .container {
max-width: 1200px;
margin: 0 auto;
}

.berita h3 {
font-size: 2.5rem;
margin-bottom: 40px;
font-weight: 300;
}

.berita .berita-item {
background: #fff;
padding: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.berita .berita-item:hover {
transform: translateY(-10px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.berita .berita-item img {
width: 100%;
height: auto;
margin-bottom: 15px;
}

.berita .berita-item h5 {
font-size: 1.8rem;
margin-bottom: 15px;
color: #333;
cursor: pointer;
}

@media (max-width: 992px) {
.berita h3 {
font-size: 2rem;
}

.berita .berita-item {
margin-bottom: 20px;
}

.berita .berita-item h5 {
font-size: 1.5rem;
}

.berita .berita-item img {
height: auto;
}
}


.about {
    padding: 60px 0;
    background-color: #f9f9f9;
}
.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: bold;
}
.content {
    display: flex;
    flex-wrap: wrap;
}
.col-left, .col-right {
    flex: 1;
    padding: 20px;
}
.img-card {
    margin-bottom: 20px;
    text-align: center;
}
.img-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.vision-mission {
    margin-top: 30px;
}
.vision-mission h5 {
    margin-bottom: 15px;
}
.vision, .mission {
    margin-bottom: 20px;
}
.mission ul {
    list-style-type: none;
    padding: 0;
}
.mission ul li {
    margin-bottom: 10px;
}
.mission ul li p {
    margin: 0;
}


.brand-logo img {
    height: 50px;
    margin-right: 10px;
}
.brand-logo {
    display: flex;
    align-items: center;
}
.sidenav {
    width: 250px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

nav.warna {
    background-color: rgb(255,0,0);
}
nav .logo img {
    height: 50px;
    margin-right: 10px;
}
nav .brand-logo {
    display: flex;
    align-items: center;
    padding-left: 10px; /* Tambahkan padding kiri */
}
.sidenav {
    width: 250px;
}
.sidenav .brand-logo img {
    height: 50px;
    margin-right: 10px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.dropdown {
float: left;
overflow: hidden;
}

.dropdown .dropbtn {
font-size: 16px;  
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
background-color: red;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}

.dropdown-content a:hover {
background-color: #ddd;
}

.dropdown:hover .dropdown-content {
display: block;
}

footer {
    background: #FF0000; 
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}
/* General Styling */
#kelembagaan {
    padding: 50px 0;
    background-color: #f7f7f7;
}

#kelembagaan h3 {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

#kelembagaan hr {
    border: 1px solid #ddd;
    width: 60px;
    margin: 20px auto;
}

#kelembagaan .content {
    font-size: 1.1em;
    line-height: 1.8em;
    color: #555;
}

/* List Styling */
#kelembagaan ul {
    padding: 0;
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

#kelembagaan ul li {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    font-size: 1.1em;
}

#kelembagaan ul li:before {
    content: '\2022';
    color: #2196F3;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}
/* Bagian Umum */
#kelembagaan {
    padding: 60px 0;
    background-color: #f4f4f9;
}

#kelembagaan h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

#kelembagaan hr {
    border: none;
    height: 3px;
    width: 100px;
    background-color: #ff9800;
    margin: 20px auto 30px;
}

/* Kelembagaan Section */
#kelembagaan {
    padding: 40px 0;
}

#kelembagaan h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#kelembagaan hr {
    width: 100px;
    height: 2px;
    background-color: #333;
    margin: 0 auto 20px auto;
    border: none;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
}

td strong {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    #kelembagaan h3 {
        font-size: 1.5rem;
    }

    th, td {
        padding: 10px;
    }

    table {
        font-size: 14px;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        max-width: 100%;
        margin: auto;
    }

    table {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: auto;
        font-size: 14px;
    }

    th, td {
        display: block;
        text-align: left;
        padding: 10px;
        white-space: nowrap;
    }

    th {
        background-color: #f2f2f2;
        color: #333;
        font-weight: bold;
    }
}


/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 16px;
}

/* Header Styling */
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Make Table Responsive on Mobile */
@media (max-width: 768px) {
    .container {
        overflow-x: auto; /* Enable horizontal scroll */
    }

    table {
        font-size: 14px;
        width: 100%;
    }
    
    th, td {
        padding: 10px;
    }

    /* Optional: Adjust table cells for mobile */
    th, td {
        display: block;
        width: 100%;
    }

    th {
        background-color: #f2f2f2;
        font-weight: bold;
    }

    tr {
        display: block;
        margin-bottom: 10px;
    }
}

/* Untuk memastikan logo dan judul website tetap responsif */
.brand-logo img {
    max-height: 50px; /* Sesuaikan dengan ukuran yang diinginkan */
    height: auto;
    width: auto;
    vertical-align: middle;
}

.site-title {
    font-size: 1.5rem; /* Sesuaikan ukuran font */
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsif pada perangkat mobile */
@media (max-width: 768px) {
    .brand-logo img {
        max-height: 40px; /* Kurangi ukuran logo untuk mobile */
    }

    .site-title {
        font-size: 1.2rem; /* Kurangi ukuran font untuk mobile */
    }

    .nav-wrapper {
        display: flex;
        align-items: center;
    }

    .brand-logo {
        display: flex;
        align-items: center;
    }

    .site-title {
        max-width: 150px; /* Batasan lebar untuk menghindari teks terpotong */
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* Untuk kontainer tabel agar bisa di-scroll pada perangkat mobile */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Atur padding dan font-size untuk tampilan mobile */
@media only screen and (max-width: 600px) {
    table.highlight th, table.highlight td {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    table.highlight th {
        font-size: 14px;
    }
    
    .kelembagaan h3 {
        font-size: 18px;
    }
}






