/* Fonts */
@import url(../css/clash-display.css);

/* Variable */
:root {
    --c-dark: #212529;
    --c-brand: #075d60;
    --c-brand-light: #2c9a9e;
    --c-brand-rgb: 78, 87 212;
    --c-body: #727272;
    --font-base: "ClashDiplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
    --c-line: black:
}

/* Reset and Helpers */

body{

    font-family: var(--font-base); 
    line-height: 1.7;
    color: var(--c-body);
    overflow-x: hidden;
}




h1,h2,h3,h4,h5,h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-brand-light);
}

a{
    font-family: var(--font-base);
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
    
}

img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.03);
}



.section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Navbar */

/* Warna teks default untuk semua nav-link di navbar */
.navbar .nav-link,
.navbar .dropdown-item {
    color: #f8f9fa!important; /* Penting: gunakan !important jika ada override dari Bootstrap */
    transition: color 0.3s ease, background-color 0.3s ease; /* Animasi untuk hover dan active */
}


/* Warna teks saat hover */
.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
    color: #f8f9fa !important; /* Sedikit lebih terang dari putih, atau warna aksen Anda */
    background-color: rgba(255, 255, 255, 0.1); /* Latar belakang semi-transparan saat hover */
}

/* Warna teks untuk nav-link yang aktif (active state) */
.navbar .nav-link.active {
    color: #f8f9fa !important; /* Putih terang atau warna aksen */
    background-color: rgba(255, 255, 255, 0.2); /* Latar belakang lebih solid untuk active state */
    border-radius: 5px; /* Sedikit rounded corner */
}

/* Styling untuk dropdown-toggle saat dropdown terbuka */
.navbar .nav-item.dropdown .nav-link[aria-expanded="true"] {
    color: #f8f9fa !important; /* Warna teks saat dropdown terbuka */
    background-color: rgba(255, 255, 255, 0.15); /* Latar belakang saat dropdown terbuka */
}

/* Styling untuk dropdown-menu */
.navbar .dropdown-menu {
    background-color: var(--c-brand-light); /* Warna latar belakang dropdown menu (contoh gelap) */
    border: none; /* Hilangkan border default */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Tambahkan shadow */
    padding: 0; /* Hilangkan padding default agar item rapat */
}

/* Styling untuk dropdown-item di dalam dropdown menu */
.navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px; /* Atur padding item dropdown */
}

/* Hover effect untuk dropdown item */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
     color: #f8f9fa !important;
    background-color: rgba(255, 255, 255, 0.1); /* sama seperti hover */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Styling khusus untuk dropend (sub-dropdown) */
.navbar .dropend .dropdown-toggle {
    color: #f8f9fa !important;
}

.navbar .dropend .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f8f9fa !important;
}

.navbar .dropend .dropdown-menu {
    background-color: var(--c-brand-light); /* Warna latar belakang sub-dropdown yang sedikit berbeda */
}

.navbar .dropend .dropdown-menu .dropdown-item:hover,
.navbar .dropend .dropdown-menu .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.1); /* Warna highlight saat hover/active di sub-dropdown */
    color: #f8f9fa !important;
}

/* Jika navbar memiliki latar belakang transparan, Anda mungkin ingin mengubah warna toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.navbar-toggler-icon {
    filter: brightness(0) invert(1); /* Membuat icon toggler jadi putih */
}

/* Untuk navbar sticky-top, pastikan memiliki latar belakang yang solid */
/* Anda bisa menambahkan kelas khusus jika ingin mengubah warna background saat discroll */
.navbar.sticky-top {
    background-color: var(--c-brand-light); /* Contoh: Warna latar belakang navbar saat sticky */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sedikit shadow */
}

/* Jika navbar memiliki class custom seperti 'navbar-dark' atau 'navbar-light'
   maka Anda mungkin perlu menyesuaikan selectornya.
   Misalnya: .navbar-dark .nav-link { color: rgba(255,255,255,.8); }
*/
.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .nav-item.active > .nav-link {
    color: #f8f9fa !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}




/* Btn */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-brand{
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
}

/* Dropdown */
.dropdown-menu{
    background-color: var(--c-brand-light);
}
.dropdown-item:active {
    background-color: white ;
}

/* Hero */
#hero {
 background: linear-gradient(rgba(0,0,0,0.507), rgba(0,0,0,0.438));   
 background-position: center;
 background-size: cover;
}

/* Section title */
.section-title{
    margin-bottom: 60px;
    
}
.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand-light);
    margin: 16px auto 27px auto;
}

.section-title h1 {

    margin-left: auto;
    margin-right: auto;
    color: var(--c-brand-light);
}

/* Deskripsi */
.sambutankepaladesa h6{
    margin-top: 100px;
}


/* Perangkat */
#perangkat {
    background-color: #F9F9F9;
}


.daftarperangkat{
    width: 350px;
    height: 50px;
    margin: 16px auto 27px auto;
    
}

.carousel {
    box-shadow: 10px 10px 20px rgba(0,0,0,0.06);
}

.carou

/* Card Berita */
  .card-berita {
            /* Hapus width tetap agar responsif di dalam col */
            /* width: 320px; */ /* Ini dihapus */
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: none;
            height: 100%; /* Penting untuk tinggi kartu yang sama */
            display: flex;
            flex-direction: column; /* Untuk menempatkan footer di paling bawah */
        }
        .card-berita img {
            height: 200px; /* Atur tinggi gambar tetap */
            object-fit: cover; /* Pastikan gambar menutupi area tanpa terdistorsi */
            width: 100%; /* Penting: Pastikan gambar mengisi lebar kolomnya */
        }
        .card-berita .card-body {
            padding-bottom: 0;
            flex-grow: 1; /* Agar card-body mengisi ruang kosong */
            display: flex;
            flex-direction: column;
        }

        .card-footer {
            background-color: transparent;
            border-top: none;
            padding-top: 0.5rem;
            padding-bottom: 1.5rem;
            margin-top: auto; /* Mendorong footer ke bagian bawah kartu */
        }
        .btn-custom-teal {
            background-color: #20b2aa;
            border-color: #20b2aa;
            color: white;
            padding: 0.5rem 1.25rem;
            border-radius: 0.5rem;
        }
        .btn-custom-teal:hover {
            background-color: #1a9c94;
            border-color: #1a9c94;
        }
        .date-text {
            font-size: 0.875rem;
            color: #6c757d;
        }
 

/* Galeri Desa */
#galeri {
    background-color: #F9F9F9;
}
.carousel-container {
    width: 500px; /* Sesuaikan lebar carousel */
    margin: 50px auto; /* Membuat carousel berada di tengah */
}

.carousel-inner {
    border-radius: 10px; /* Optional: Tambahkan border-radius */
    overflow: hidden;
}

.carousel-item img {
    width: 100%; /* Membuat gambar mengisi lebar carousel */
    height: auto;
    object-fit: cover; /* Memastikan gambar menutupi area dengan baik */
    max-height: 300px; /* Sesuaikan tinggi maksimum gambar */
}

/* Footer */
/* --- Custom Navbar Styles (yang sudah ada) --- */
/* ... (kode CSS navbar yang sudah kita buat sebelumnya) ... */


/* --- Custom Footer Styles --- */

.footer {
    background-color: var(--c-brand-light); /* Warna latar belakang gelap, sama seperti navbar */
    color: white; /* Warna teks default di footer */
    padding-top: 40px; /* Sedikit padding di atas */
    padding-bottom: 20px; /* Padding di bawah, karena ada copyright */
}

.footer h3,
.footer h4 {
    color: white; /* Warna judul di footer (Desa Adimulya, Menu, More, Kategori, Social Media) */
    margin-bottom: 20px; /* Jarak bawah untuk judul */
}

.footer p {
    color: #ced4da; /* Warna teks paragraf (lebih terang dari hitam, tapi sedikit abu-abu) */
    margin-bottom: 8px; /* Jarak antar paragraf */
}

.footer .list-unstyled li a {
    color: #ced4da; /* Warna link di daftar */
    text-decoration: none; /* Hilangkan garis bawah default */
    display: block; /* Agar setiap link menjadi block dan bisa diberi padding/margin */
    padding: 4px 0; /* Sedikit padding vertikal untuk link */
    transition: color 0.3s ease; /* Animasi untuk efek hover */
}

.footer .list-unstyled li a:hover {
    color: #ffffff; /* Warna link saat di-hover, sama seperti aksen navbar */
}

/* Styling untuk ikon media sosial */
.footer div a .bi { /* Target ikon Bootstrap */
    color: white; /* Warna ikon default */
    transition: color 0.3s ease; /* Animasi untuk efek hover */
}

.footer div a .bi:hover {
    color: #ffffff; /* Warna ikon saat di-hover */
}

/* Styling untuk garis pemisah (hr) */
.footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Garis putih semi-transparan */
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Styling untuk copyright dan tautan di bagian paling bawah footer */
.footer .d-flex.justify-content-between p {
    color: #adb5bd; /* Warna teks copyright */
    margin-bottom: 0; /* Hilangkan margin bawah default */
}

.footer .d-flex.justify-content-between a {
    color: #adb5bd; /* Warna link "Term of use" dan "Privacy Policy" */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .d-flex.justify-content-between a:hover {
    color: #ffffff; /* Warna link saat di-hover */
}



 /* kepala desa */
 .profile-card {
            background-color: #ffffff;
            border-radius: 0.5rem;
            padding: 2rem;
            margin-top: 3rem;
            margin-bottom: 3rem;
        }

        .profile-image-container {
            width: 100%;
            max-width: 300px; /* Lebar maksimal gambar */
            margin: 0 auto 2rem auto; /* Tengah gambar, margin bawah */
            border: 1px solid #dee2e6; /* Border tipis seperti di gambar */
            padding: 0.25rem; /* Padding kecil di sekitar gambar */
            background-color: #ffffff; /* Latar belakang gambar */
        }
        .profile-image {
            width: 100%;
            height: auto;
            display: block; /* Agar mx-auto bekerja */
            border-radius: 0.25rem; /* Sedikit lengkungan sudut pada gambar */
        }
        .info-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem; /* Jarak antar baris info */
            font-size: 1.1rem;
        }
        .info-label {
            font-weight: 500; /* Sedikit lebih tebal dari nilai */
            color: #343a40; /* Warna teks gelap */
        }
        .info-value {
            text-align: right; /* Rata kanan untuk nilai */
            color: #495057;
            flex-grow: 1; /* Agar mengambil ruang kosong */
        }
        .info-separator {
            margin-left: 1rem;
            margin-right: 1rem;
            color: #6c757d;
        }
        /* Penyesuaian untuk garis pemisah */
        .info-group {
            border-bottom: 1px solid #dee2e6;
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }
        .info-group:last-child {
            border-bottom: none; /* Hilangkan border di baris terakhir */
            margin-bottom: 0;
        }

        /* Table */
        .table {
    max-width: 600px; /* Anda bisa menyesuaikan nilai ini sesuai kebutuhan */
    width: 100%; /* Memastikan tabel responsif dalam lebar maksimum */
    margin-left: auto;
    margin-right: auto;
    /* Atau shorthand: */
    margin: 0 auto; /* 0 untuk margin atas/bawah, auto untuk kiri/kanan agar tengah */

}

table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 8px 12px; /* Mengurangi padding untuk membuat sel lebih kecil */
    border: 1px solid #ddd;
    text-align: left;
    text-align: center;
    vertical-align: middle;
}
        .custom-table {
            border-radius: 8px; /* Sudut membulat */
            overflow: hidden; /* Penting untuk radius sudut */
            box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Bayangan lembut */
        }

        .custom-table thead {
            background-color: #007bff; /* Latar belakang header biru */
            color: white; /* Teks header putih */
        }

        .custom-table th, .custom-table td {
            padding: 12px 15px; /* Padding lebih besar */
            vertical-align: middle; /* Rata tengah vertikal */
        }

        .custom-table tbody tr:nth-child(even) {
            background-color: #f2f2f2; /* Latar belakang abu-abu terang untuk baris genap */
        }

        .custom-table tbody tr:hover {
            background-color: #e9ecef; /* Latar belakang saat hover */
            cursor: pointer;
        }

        /* Styling untuk baris status */
        .status-active {
            color: #28a745; /* Hijau */
            font-weight: bold;
        }

        .status-inactive {
            color: #dc3545; /* Merah */
            font-weight: bold;
        }

        .status-pending {
            color: #ffc107; /* Kuning */
            font-weight: bold;
        }

        /* card */
    .card-custom-bg {
            background-color: var(--c-brand-light); /* Contoh warna teal */
            color: white; /* Teks putih */
            border-radius: 15px; /* Sudut lebih membulat */
            border: none; /* Hilangkan border default */
            box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Bayangan lembut */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card-custom-bg:hover {
            transform: translateY(-5px); /* Geser sedikit ke atas saat hover */
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);

        }

        .card-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100px; /* Tinggi untuk area ikon */
            margin-bottom: 15px;
        }

        /* Styling untuk placeholder ikon */
        .icon-placeholder {
            width: 80px;
            height: 80px;
            background-color: rgba(255, 255, 255, 0.2); /* Sedikit transparan */
            border-radius: 50%; /* Bentuk lingkaran */
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 3rem; /* Ukuran ikon Font Awesome */
            color: rgba(255, 255, 255, 0.8); /* Warna ikon */
        }

        .card-body {
            text-align: center;
            padding: 1rem; /* Sesuaikan padding jika perlu */
            padding-bottom: 0;
            flex-grow: 1; /* Agar card-body mengisi ruang kosong */
            display: flex;
            flex-direction: column;
        }

        .card-title {
            font-size: 1.25rem; /* Ukuran judul */
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .card-text {
            font-size: 1.75rem; /* Ukuran angka/nilai */
            font-weight: bold;
            margin-bottom: 0;
            flex-grow: 1; /* Agar deskripsi mengisi ruang dan mendorong tombol ke bawah */
            
        }

          /* berita slug */
         .featured-news-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-news-card:hover {
    transform: translateY(-5px);
}

.featured-news-card .position-relative {
    width: 100%;
    overflow: hidden;
}

.featured-news-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.badge-kategori {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #0d6efd;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 1;
}

.featured-news-card .card-body {
    padding: 1rem;
}

.featured-news-card .card-title {
    font-size: 1.25rem;
    line-height: 1.3;
    color: #212529;
}

.featured-news-card .card-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    background-color: #f9f9f9;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .featured-news-card .card-title {
        font-size: 1.1rem;
    }

    .featured-news-card img {
        max-height: 220px;
        object-fit: cover;
    }

    .badge-kategori {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}

@media (max-width: 576px) {
    .featured-news-card {
        margin-bottom: 1.5rem;
    }

    .featured-news-card img {
        max-height: 180px;
    }

    .featured-news-card .card-title {
        font-size: 1rem;
    }

    .featured-news-card .card-body {
        padding: 0.75rem;
    }

    .featured-news-card .card-footer {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}


        /* Styling untuk kartu berita kecil di samping */
        .small-news-card {
            border-radius: 0.5rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            border: 1px solid #e9ecef; /* Border tipis */
            margin-bottom: 1rem; /* Jarak antar kartu kecil */
            text-decoration: none; /* Hilangkan garis bawah link */
            color: inherit; /* Warisi warna teks */
            transition: all 0.2s ease-in-out; /* Efek transisi hover */
        }
        .small-news-card:hover {
            border-color: var(--c-brand-light); /* Warna border saat hover */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }
        .small-news-card img {
            width: 100%; /* Lebar gambar kecil */
            height: 180px; /* Tinggi gambar kecil */
            object-fit: cover;
            border-radius: 0.3rem; /* Sudut gambar kecil */
        }
        .small-news-card .card-body {
            padding: 0.75rem;
            display: flex;
            flex-direction: column;
            justify-content: center; /* Tengahkan teks vertikal */
        }
        .small-news-card .card-title {
            font-size: 1rem; /* Ukuran judul kartu kecil */
            font-weight: 600; /* Semibold */
            margin-bottom: 0.25rem;
        }
        .small-news-card .card-text {
            font-size: 0.85rem; /* Ukuran teks deskripsi kartu kecil */
            color: #6c757d; /* text-muted */
            margin-bottom: 0;
            line-height: 1.3;
        }
        .small-news-card .badge {
            font-size: 0.75rem;
            padding: 0.2rem 0.6rem;
            border-radius: 0.25rem;
            margin-bottom: 0.5rem; /* Jarak antara badge dan judul */
        }

        /* Responsifitas */
        @media (max-width: 767.98px) {
            .featured-news-card img {
                height: 250px; /* Tinggi gambar berita utama di mobile */
            }
            .small-news-card img {
                width: 100% !important ;/* Gambar kecil mengisi penuh lebar di mobile */
                height: 150px;
                margin-bottom: 0.5rem;
            }
            .small-news-card .card-body {
                padding-top: 0.5rem;
            }
        }

/* gallery */
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-item {
  position: relative;
}

.portfolio .portfolio-item .portfolio-info {
  background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

.portfolio-item {
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    /* === PENTING UNTUK THUMBNAIL SAMA UKURAN === */
    .portfolio-item .gallery-thumbnail { /* Tambahkan kelas khusus untuk thumbnail */
        display: block;
        width: 100%;
        height: 250px; /* Atur tinggi yang seragam di sini */
        object-fit: cover; /* Penting: agar gambar tidak terdistorsi */
        transition: transform 0.3s ease;
    }

    .portfolio-item:hover .gallery-thumbnail {
        transform: scale(1.05); /* Efek zoom saat hover */
    }

    .portfolio-info {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 20px;
        text-align: center;
    }

    .portfolio-item:hover .portfolio-info {
        opacity: 1;
    }

    .portfolio-info h4 {
        color: #ffffff;
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .portfolio-info p {
        color: #ffffff;
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .portfolio-info .preview-link {
        color: #fff;
        font-size: 1.8rem;
        transition: color 0.3s ease;
    }

    .portfolio-info .preview-link:hover {
        color: #007bff;
    }

/* button landing */
.custom-gallery-button {
    /* Background button (hijau kebiruan solid seperti di gambar) */
    background-color: var(--c-brand-light); /* Ini adalah contoh warna hijau kebiruan, sesuaikan dengan warna exact Anda */
    /* Warna teks (putih) */
    color: white;
    /* Border (tidak ada atau warna yang sama dengan background) */
    border: 1px solid var(--c-brand-light); /* Border solid dengan warna yang sama */
    /* Padding untuk ukuran yang pas */
    padding: 12px 30px; /* Sesuaikan padding jika perlu */
    /* Ukuran font */
    font-size: 1.1rem; /* Sesuaikan ukuran font */
    font-weight: bold; /* Teks tebal */
    border-radius: 8px; /* Sudut sedikit membulat */
    text-transform: uppercase; /* Ubah teks menjadi huruf besar */
    transition: all 0.3s ease; /* Animasi untuk hover */
}

.custom-gallery-button:hover,
.custom-gallery-button:focus {
    /* Efek saat di-hover/focus */
    background-color: #008f88; /* Sedikit lebih gelap dari warna dasar saat hover */
    color: white; /* Teks tetap putih */
    border-color: #008f88; /* Border juga lebih gelap */
    box-shadow: 0 4px 8px rgba(0, 162, 155, 0.2); /* Sedikit shadow dari warna dasar */
}

/* Pastikan ikon juga mengikuti warna teks */
.custom-gallery-button i {
    color: inherit; /* Mewarisi warna teks dari tombol */
}


 /* perangkat */
 #pegawai {
    background-color: #F9F9F9;
}
    .pegawai-card {
      border-radius: 1rem;
      overflow: hidden;
      background-color: #006d6f;
      color: white;
      text-align: center;
    }
    .pegawai-card img {
      width: 100%;
      object-fit: cover;
    }
    .pegawai-info {
      background-color: var(--c-brand-light);
      padding: 1rem;
    }
    .pegawai-nama {
      font-weight: bold;
      font-size: 1.25rem;
    }
    .pegawai-jabatan {
      font-size: 0.9rem;
    }
    .swiper {
      padding-bottom: 40px;
    }

#cardkarangtaruna{
    margin-bottom: 100px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.gallery-card:hover .portfolio-info {
    opacity: 1;
}
