/* =========================================================
   WEBSITE LEMBANG RANTE
   MODERN BLUE THEME
   ========================================================= */


/* =========================================================
   1. ROOT / WARNA UTAMA
   ========================================================= */

:root {

    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: #eaf3ff;

    --secondary: #198754;
    --secondary-dark: #157347;

    --blue-dark: #0f2d52;
    --blue-darker: #0b1f3a;
    --blue-soft: #eef6ff;

    --gold: #d4af37;

    --dark: #1f2937;
    --text: #374151;
    --muted: #6b7280;

    --light: #f8fafc;
    --white: #ffffff;

    --border: #e5e7eb;

    --shadow-sm: 0 5px 15px rgba(0, 0, 0, .06);
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, .12);

    --radius: 15px;
    --radius-lg: 22px;

}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: #f5f7fb;

    color: var(--text);

    font-family: 'Poppins', sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
}


button,
a {
    transition: .3s ease;
}


/* =========================================================
   3. GENERAL SECTION
   ========================================================= */

section {
    padding: 90px 0;
}


.section-title {
    margin-bottom: 50px;
    text-align: center;
}


.section-title h2 {

    color: var(--blue-dark);

    font-size: 36px;

    font-weight: 700;

    margin-bottom: 12px;

}


.section-title p {

    color: var(--muted);

    max-width: 700px;

    margin: auto;

}


/* garis kecil di bawah judul */

.section-title::after {

    content: "";

    display: block;

    width: 60px;

    height: 4px;

    background: var(--primary);

    border-radius: 10px;

    margin: 18px auto 0;

}


/* =========================================================
   4. NAVBAR
   ========================================================= */

.navbar {

    padding: 18px 0;

    transition: .4s ease;

    z-index: 9999;

}


.navbar-brand {

    display: flex;

    align-items: center;

    gap: 10px;

}


.navbar-brand h5 {

    margin: 0;

    font-size: 20px;

    font-weight: 700;

}


.navbar-brand small {

    display: block;

    font-size: 11px;

    color: #777;

}


.navbar-brand img {

    width: 45px;

    height: 45px;

    object-fit: contain;

}


.nav-link {

    color: white !important;

    font-weight: 500;

    margin-left: 12px;

    padding: 8px 12px !important;

    position: relative;

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 12px;

    bottom: 0;

    width: 0;

    height: 2px;

    background: var(--gold);

    transition: .3s;

}


.nav-link:hover::after {

    width: calc(100% - 24px);

}


.nav-link:hover {

    color: var(--gold) !important;

}


/* navbar setelah scroll */

.navbar-scrolled {

    background: rgba(255, 255, 255, .97) !important;

    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);

    padding: 12px 0;

    backdrop-filter: blur(10px);

}


.navbar-scrolled .nav-link {

    color: var(--dark) !important;

}


.navbar-scrolled .nav-link:hover {

    color: var(--primary) !important;

}


.navbar-scrolled .navbar-brand h5 {

    color: var(--dark);

}


.navbar-scrolled .navbar-brand small {

    color: var(--muted);

}


/* dropdown */

.dropdown-menu {

    border: none;

    border-radius: 12px;

    padding: 10px;

    box-shadow: var(--shadow);

}


.dropdown-item {

    border-radius: 8px;

    padding: 10px 15px;

}


.dropdown-item:hover {

    background: var(--primary-light);

    color: var(--primary);

}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {

    background:

        linear-gradient(
            rgba(5, 35, 70, .55),
            rgba(5, 35, 70, .55)
        ),

        url("../images/hero.jpeg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    height: 100vh;

    min-height: 650px;

    position: relative;

}


.hero-overlay {

    width: 100%;

    height: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

}


.hero-content {

    max-width: 900px;

    padding: 20px;

}


.hero-subtitle {

    color: white;

    letter-spacing: 6px;

    font-size: 18px;

    font-weight: 500;

    margin-bottom: 20px;

    animation: fadeDown 1s ease;

}


.hero-title {

    color: white;

    font-size: clamp(45px, 7vw, 80px);

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 25px;

    animation: fadeDown 1.1s ease;

}


.hero-text {

    color: rgba(255,255,255,.92);

    font-size: 20px;

    line-height: 1.8;

    margin: 0 auto 35px;

    max-width: 750px;

    animation: fadeUp 1.2s ease;

}


.hero .btn {

    border-radius: 50px;

    padding: 14px 35px;

    font-weight: 600;

    animation: fadeUp 1.3s ease;

}


/* =========================================================
   6. BUTTON
   ========================================================= */

.btn {

    border-radius: 50px;

    padding: 11px 26px;

    font-weight: 600;

    transition: .3s ease;

}


.btn:hover {

    transform: translateY(-3px);

}


.btn-primary {

    background: var(--primary);

    border-color: var(--primary);

}


.btn-primary:hover {

    background: var(--primary-dark);

    border-color: var(--primary-dark);

    box-shadow: 0 8px 20px rgba(13, 110, 253, .25);

}


.btn-success {

    background: var(--secondary);

    border-color: var(--secondary);

}


.btn-success:hover {

    background: var(--secondary-dark);

    border-color: var(--secondary-dark);

    box-shadow: 0 8px 20px rgba(25, 135, 84, .25);

}


/* =========================================================
   7. SAMBUTAN KEPALA LEMBANG
   ========================================================= */

.sambutan-section {

    background: white;

}


.kepala-img {

    width: 280px;

    height: 340px;

    object-fit: cover;

    border-radius: 20px;

    margin: auto;

    box-shadow: var(--shadow-lg);

}


.sambutan-text {

    text-align: justify;

    line-height: 2;

    font-size: 16px;

    color: var(--text);

}


.sambutan-nama {

    color: var(--blue-dark);

    font-weight: 700;

    margin-bottom: 3px;

}


.sambutan-jabatan {

    color: var(--primary);

    font-size: 14px;

    font-weight: 500;

}


/* =========================================================
   8. TENTANG LEMBANG
   ========================================================= */

.about-section {

    background:

        linear-gradient(
            135deg,
            #0d6efd,
            #2563eb
        );

    color: white;

    position: relative;

    overflow: hidden;

}


/* lingkaran dekorasi */

.about-section::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background: rgba(255,255,255,.06);

    top: -150px;

    right: -100px;

}


.about-section::after {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    border-radius: 50%;

    background: rgba(255,255,255,.05);

    bottom: -120px;

    left: -80px;

}


.about-content {

    position: relative;

    z-index: 2;

}


.about-section h2 {

    font-size: 36px;

    font-weight: 700;

    margin-bottom: 20px;

}


.about-section p {

    color: rgba(255,255,255,.92);

    line-height: 1.9;

    text-align: justify;

}


.about-list {

    list-style: none;

    padding: 0;

    margin-top: 25px;

}


.about-list li {

    margin-bottom: 12px;

    display: flex;

    align-items: center;

    gap: 10px;

}


.about-list i {

    color: #fff;

    font-size: 18px;

}


/* =========================================================
   9. INFO CARD
   ========================================================= */

.info-card {

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 15px;

    padding: 25px;

    height: 100%;

    backdrop-filter: blur(5px);

    transition: .3s;

}


.info-card:hover {

    background: rgba(255,255,255,.18);

    transform: translateY(-5px);

}


.info-card i {

    font-size: 30px;

    margin-bottom: 12px;

}


.info-card h5 {

    font-weight: 700;

    margin-bottom: 5px;

}


.info-card p {

    margin: 0;

    font-size: 14px;

    color: rgba(255,255,255,.8);

}


/* =========================================================
   10. ANIMATION
   ========================================================= */

@keyframes fadeDown {

    from {

        opacity: 0;

        transform: translateY(-40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* =========================================================
   11. POTENSI UNGGULAN
   ========================================================= */

.potensi-section {

    background: #f8fafc;

}


.potensi-card {

    background: white;

    border: none;

    border-radius: var(--radius-lg);

    overflow: hidden;

    height: 100%;

    box-shadow: var(--shadow-sm);

    transition: .35s ease;

}


.potensi-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

}


.potensi-card img {

    width: 100%;

    height: 220px;

    object-fit: cover;

    transition: .5s ease;

}


.potensi-card:hover img {

    transform: scale(1.05);

}


.potensi-card .card-body {

    padding: 25px;

}


.potensi-card h4 {

    color: var(--blue-dark);

    font-weight: 700;

    margin-bottom: 12px;

}


.potensi-card p {

    color: var(--muted);

    line-height: 1.7;

}


.potensi-card .btn {

    margin-top: 10px;

}


/* =========================================================
   12. DETAIL POTENSI
   ========================================================= */

.potensi-img {

    width: 100%;

    max-height: 450px;

    object-fit: cover;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);

}


.potensi-content {

    text-align: justify;

    line-height: 1.9;

    color: var(--text);

}


.potensi-content h2 {

    color: var(--blue-dark);

    font-weight: 700;

    margin-bottom: 20px;

}


/* =========================================================
   13. BERITA TERBARU
   ========================================================= */

.berita-section {

    background: white;

}


.berita-card {

    background: white;

    border: none;

    border-radius: var(--radius-lg);

    overflow: hidden;

    height: 100%;

    box-shadow: var(--shadow-sm);

    transition: .35s ease;

}


.berita-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

}


.berita-card img,
.berita-img {

    width: 100%;

    height: 230px;

    object-fit: cover;

    transition: .5s ease;

}


.berita-card:hover img {

    transform: scale(1.04);

}


.berita-card .card-body {

    padding: 25px;

}


.berita-card h4,
.berita-card h5 {

    color: var(--blue-dark);

    font-weight: 700;

    line-height: 1.4;

}


.berita-card p {

    color: var(--muted);

    line-height: 1.7;

}


.berita-card small {

    color: var(--muted);

}


.berita-card small i {

    color: var(--primary);

    margin-right: 5px;

}


/* =========================================================
   14. DETAIL BERITA
   ========================================================= */

.detail-berita {

    background: white;

    padding: 35px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

}


.detail-berita img {

    width: 100%;

    max-height: 500px;

    object-fit: cover;

    border-radius: 15px;

    margin-bottom: 30px;

}


.detail-berita h1 {

    color: var(--blue-dark);

    font-weight: 700;

    line-height: 1.3;

    margin-bottom: 15px;

}


.detail-berita .meta {

    color: var(--muted);

    margin-bottom: 25px;

}


.detail-berita .meta i {

    color: var(--primary);

    margin-right: 5px;

}


.detail-berita p {

    text-align: justify;

    line-height: 2;

    font-size: 17px;

}


/* =========================================================
   15. GALERI
   ========================================================= */

.galeri-section {
    background: #f8fafc;
}


/* Kotak foto */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
    background: #222;
    box-shadow: var(--shadow-sm);
    transition: .35s ease;
}


/* Foto */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}


/* Efek saat mouse diarahkan */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}


/* =========================================================
   OVERLAY KETERANGAN DI ATAS FOTO
   ========================================================= */

.gallery-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px 20px 20px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.45),
        transparent
    );

    color: white;

    z-index: 5;

    pointer-events: none;
}


/* Judul foto */
.gallery-overlay h5 {
    margin: 0 0 6px;

    color: white !important;

    font-size: 19px;

    font-weight: 700;

    line-height: 1.4;

    text-shadow: 0 2px 5px rgba(0,0,0,.5);
}


/* Keterangan foto */
.gallery-overlay p {
    margin: 0;

    color: rgba(255,255,255,.95) !important;

    font-size: 14px;

    line-height: 1.5;

    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}


/* =========================================================
   16. PROFIL
   ========================================================= */

.profil-section {

    background: white;

}


.profil-card {

    background: white;

    border: none;

    border-radius: var(--radius-lg);

    padding: 30px;

    box-shadow: var(--shadow-sm);

    transition: .35s ease;

}


.profil-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}


.profil-card h3,
.profil-card h4 {

    color: var(--blue-dark);

    font-weight: 700;

}


.profil-card p {

    color: var(--text);

    line-height: 1.9;

}


.text-justify {

    text-align: justify;

}


/* =========================================================
   17. VISI & MISI
   ========================================================= */

.visi-card,
.misi-card {

    background: white;

    padding: 40px;

    border: none;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    height: 100%;

    transition: .35s ease;

}


.visi-card:hover,
.misi-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}


.visi-card h3,
.misi-card h3 {

    color: var(--blue-dark);

    font-weight: 700;

    margin-bottom: 20px;

}


.visi-icon {

    width: 80px;

    height: 80px;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 38px;

}


.visi-card p {

    text-align: justify;

    line-height: 1.9;

}


.misi-card ol {

    padding-left: 22px;

}


.misi-card li {

    line-height: 1.9;

    margin-bottom: 10px;

}


/* =========================================================
   18. PERANGKAT LEMBANG
   ========================================================= */

.perangkat-section {

    background: #f8fafc;

}


.perangkat-card {

    background: white;

    border: none;

    border-radius: var(--radius-lg);

    overflow: hidden;

    height: 100%;

    box-shadow: var(--shadow-sm);

    transition: .35s ease;

}


.perangkat-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

}


.perangkat-foto {

    width: 100%;

    height: 300px;

    object-fit: cover;

    transition: .5s ease;

}


.perangkat-card:hover .perangkat-foto {

    transform: scale(1.04);

}


.perangkat-card .card-body {

    padding: 25px;

    text-align: center;

}


.perangkat-card h5 {

    color: var(--blue-dark);

    font-weight: 700;

    margin-bottom: 5px;

}


.perangkat-card p {

    color: var(--muted);

    margin: 0;

}


/* =========================================================
   19. PAGE HEADER
   ========================================================= */

.page-header {

    background:

        linear-gradient(
            rgba(8, 42, 80, .68),
            rgba(8, 42, 80, .68)
        ),

        url("../images/header.jpg");

    background-size: cover;

    background-position: center;

    padding: 110px 0;

    color: white;

    margin-bottom: 0;

    text-align: center;

}


.page-header h1 {

    font-size: clamp(35px, 5vw, 50px);

    font-weight: 700;

    margin-bottom: 10px;

}


.page-header p {

    color: rgba(255,255,255,.85);

}


.page-header .breadcrumb {

    background: transparent;

    justify-content: center;

    margin-top: 15px;

    margin-bottom: 0;

}


.page-header .breadcrumb-item {

    color: rgba(255,255,255,.85);

}


.page-header .breadcrumb-item a {

    color: white;

    text-decoration: none;

}


.page-header .breadcrumb-item a:hover {

    color: var(--gold);

}


.page-header .breadcrumb-item.active {

    color: var(--gold);

}


/* =========================================================
   20. DOKUMEN
   ========================================================= */

.dokumen-section {

    background: white;

}


.dokumen-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 25px;

    height: 100%;

    box-shadow: var(--shadow-sm);

    transition: .3s ease;

}


.dokumen-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow);

    border-color: var(--primary);

}


.dokumen-icon {

    width: 60px;

    height: 60px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 12px;

    background: #fff0f0;

    color: #dc3545;

    font-size: 28px;

    margin-bottom: 18px;

}


.dokumen-card h5 {

    color: var(--blue-dark);

    font-weight: 700;

}


.dokumen-card p {

    color: var(--muted);

}


/* =========================================================
   21. TABLE DOKUMEN
   ========================================================= */

.table {

    background: white;

    border-radius: 12px;

    overflow: hidden;

}


.table thead {

    text-align: center;

    background: var(--blue-dark);

    color: white;

}


.table th {

    padding: 15px;

}


.table td {

    vertical-align: middle;

    padding: 14px;

}


.table-hover tbody tr:hover {

    background: var(--blue-soft);

}


/* =========================================================
   22. PENGUMUMAN
   ========================================================= */

.pengumuman-section {

    background: #f8fafc;

}


.pengumuman-card {

    background: white;

    border: none;

    border-radius: var(--radius-lg);

    padding: 30px;

    box-shadow: var(--shadow-sm);

    height: 100%;

    transition: .35s ease;

}


.pengumuman-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}


.pengumuman-card h4,
.pengumuman-card h5 {

    color: var(--blue-dark);

    font-weight: 700;

}


.pengumuman-card p {

    color: var(--muted);

    line-height: 1.8;

}


.pengumuman-date {

    color: var(--primary);

    font-size: 14px;

    font-weight: 500;

}


/* =========================================================
   23. GENERAL CARD
   ========================================================= */

.card {

    border: none;

    border-radius: var(--radius);

}


.card:hover {

    transition: .3s ease;

}


/* =========================================================
   24. MAPS
   ========================================================= */

.maps-section {

    background: white;

}


.map-container {

    overflow: hidden;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);

}


.map-container iframe {

    width: 100%;

    min-height: 400px;

    border: 0;

}


.maps-section h2 {

    color: var(--blue-dark);

    font-weight: 700;

}


.maps-section i {

    color: var(--primary);

    margin-right: 8px;

}


/* =========================================================
   25. KONTAK
   ========================================================= */

.kontak-section {

    background: #f8fafc;

}


.contact-card {

    background: white;

    padding: 30px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    height: 100%;

    transition: .3s ease;

}


.contact-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}


.contact-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 25px;

    margin-bottom: 20px;

}


.contact-card h5 {

    color: var(--blue-dark);

    font-weight: 700;

}


.contact-card p {

    color: var(--muted);

    margin: 0;

}
/* =========================================================
   26. FOOTER
   ========================================================= */

.footer {

    background:
        linear-gradient(
            135deg,
            #0b1f3a,
            #0f2d52
        );

    color: white;

    padding: 70px 0 20px;

}


.footer h4,
.footer h5 {

    color: white;

    font-weight: 700;

    margin-bottom: 20px;

}


.footer p {

    color: rgba(255,255,255,.75);

    line-height: 1.8;

}


.footer ul {

    list-style: none;

    padding: 0;

    margin: 0;

}


.footer ul li {

    margin-bottom: 12px;

}


.footer a {

    color: rgba(255,255,255,.8);

    text-decoration: none;

    transition: .3s ease;

}


.footer a:hover {

    color: var(--gold);

    padding-left: 5px;

}


.footer-logo {

    width: 65px;

    height: 65px;

    object-fit: contain;

    margin-bottom: 15px;

}


.footer-social {

    display: flex;

    gap: 10px;

    margin-top: 20px;

}


.footer-social a {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.1);

    color: white;

    padding: 0;

}


.footer-social a:hover {

    background: var(--primary);

    color: white;

    padding-left: 0;

    transform: translateY(-3px);

}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.12);

    margin-top: 45px;

    padding-top: 20px;

    text-align: center;

}


.footer-bottom p {

    margin: 0;

    font-size: 14px;

}


/* =========================================================
   27. SCROLL TO TOP
   ========================================================= */

.scroll-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: white;

    box-shadow: var(--shadow);

    z-index: 999;

    transition: .3s ease;

}


.scroll-top:hover {

    background: var(--primary-dark);

    color: white;

    transform: translateY(-5px);

}


/* =========================================================
   28. FORM
   ========================================================= */

.form-control,
.form-select {

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 12px 15px;

    color: var(--text);

    transition: .3s ease;

}


.form-control:focus,
.form-select:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);

}


.form-label {

    font-weight: 600;

    color: var(--blue-dark);

}


/* =========================================================
   29. ALERT
   ========================================================= */

.alert {

    border: none;

    border-radius: 12px;

}


/* =========================================================
   30. BADGE
   ========================================================= */

.badge {

    border-radius: 50px;

    padding: 7px 12px;

    font-weight: 500;

}


/* =========================================================
   31. RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 991px) {

    section {

        padding: 70px 0;

    }


    .navbar {

        background: white !important;

    }


    .navbar .nav-link {

        color: var(--dark) !important;

        margin-left: 0;

        padding: 10px 0 !important;

    }


    .navbar .nav-link::after {

        display: none;

    }


    .navbar-brand h5 {

        color: var(--dark);

    }


    .navbar-brand small {

        color: var(--muted);

    }


    .navbar-collapse {

        background: white;

        padding: 15px;

        margin-top: 10px;

        border-radius: 12px;

        box-shadow: var(--shadow);

    }


    .hero {

        min-height: 600px;

    }


    .hero-title {

        font-size: 55px;

    }


    .hero-text {

        font-size: 18px;

    }


    .kepala-img {

        width: 240px;

        height: 300px;

    }


    .page-header {

        padding: 90px 0;

    }

}


/* =========================================================
   32. RESPONSIVE HP
   ========================================================= */

@media (max-width: 767px) {

    section {

        padding: 60px 0;

    }


    .section-title {

        margin-bottom: 35px;

    }


    .section-title h2 {

        font-size: 29px;

    }


    .section-title p {

        font-size: 14px;

        padding: 0 15px;

    }


    /* HERO */

    .hero {

        height: 100vh;

        min-height: 600px;

    }


    .hero-subtitle {

        font-size: 13px;

        letter-spacing: 3px;

        margin-bottom: 15px;

    }


    .hero-title {

        font-size: 42px;

        line-height: 1.15;

    }


    .hero-text {

        font-size: 16px;

        line-height: 1.7;

        padding: 0 10px;

    }


    .hero .btn {

        padding: 12px 25px;

        font-size: 14px;

    }


    /* SAMBUTAN */

    .kepala-img {

        width: 210px;

        height: 270px;

        margin-bottom: 30px;

    }


    .sambutan-text {

        font-size: 15px;

        line-height: 1.8;

    }


    /* TENTANG */

    .about-section h2 {

        font-size: 30px;

    }


    .about-section p {

        font-size: 15px;

    }


    .info-card {

        margin-top: 15px;

    }


    /* POTENSI */

    .potensi-card img {

        height: 200px;

    }


    /* BERITA */

    .berita-card img,
    .berita-img {

        height: 210px;

    }


    .detail-berita {

        padding: 20px;

    }


    .detail-berita h1 {

        font-size: 28px;

    }


    .detail-berita p {

        font-size: 15px;

        line-height: 1.8;

    }


   /* =========================
   GALERI - JUDUL & KETERANGAN
   ========================= */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 280px;
    background: #222;
}

.gallery-item .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item .gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 20px 20px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );

    color: white;
    z-index: 2;
}

.gallery-item .gallery-overlay h5 {
    margin: 0 0 5px;
    color: white !important;
    font-size: 19px;
    font-weight: 700;
}

.gallery-item .gallery-overlay p {
    margin: 0;
    color: rgba(255,255,255,.9) !important;
    font-size: 14px;
    line-height: 1.5;
}
    /* VISI MISI */

    .visi-card,
    .misi-card {

        padding: 25px;

    }


    /* PERANGKAT */

    .perangkat-foto {

        height: 260px;

    }


    /* PAGE HEADER */

    .page-header {

        padding: 75px 15px;

    }


    .page-header h1 {

        font-size: 35px;

    }


    /* MAP */

    .map-container iframe {

        min-height: 300px;

    }


    /* FOOTER */

    .footer {

        padding-top: 55px;

    }


    .footer-bottom {

        margin-top: 30px;

    }


    /* SCROLL TOP */

    .scroll-top {

        width: 40px;

        height: 40px;

        right: 15px;

        bottom: 15px;

    }

}


/* =========================================================
   33. HP KECIL
   ========================================================= */

@media (max-width: 480px) {

    .hero-title {

        font-size: 35px;

    }


    .hero-subtitle {

        font-size: 11px;

        letter-spacing: 2px;

    }


    .hero-text {

        font-size: 14px;

    }


    .section-title h2 {

        font-size: 26px;

    }


    .page-header h1 {

        font-size: 30px;

    }


    .kepala-img {

        width: 190px;

        height: 245px;

    }


    .potensi-card .card-body,
    .berita-card .card-body {

        padding: 20px;

    }


    .potensi-card h4 {

        font-size: 20px;

    }


    .berita-card h4,
    .berita-card h5 {

        font-size: 19px;

    }

}


/* =========================================================
   34. UTILITY
   ========================================================= */

.bg-blue {

    background: var(--primary) !important;

}


.bg-blue-dark {

    background: var(--blue-dark) !important;

}


.text-blue {

    color: var(--primary) !important;

}


.text-blue-dark {

    color: var(--blue-dark) !important;

}


.text-gold {

    color: var(--gold) !important;

}


/* =========================================================
   35. ANIMASI CARD
   ========================================================= */

.animate-card {

    opacity: 0;

    transform: translateY(30px);

    animation: cardAppear .7s ease forwards;

}


@keyframes cardAppear {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================================
   36. LOADING IMAGE
   ========================================================= */

img {

    transition: opacity .3s ease;

}


/* =========================================================
   37. SELEKSI TEXT
   ========================================================= */

::selection {

    background: var(--primary);

    color: white;

}


/* =========================================================
   38. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 8px;

}


::-webkit-scrollbar-track {

    background: #f1f1f1;

}


::-webkit-scrollbar-thumb {

    background: var(--primary);

    border-radius: 10px;

}


::-webkit-scrollbar-thumb:hover {

    background: var(--primary-dark);

}

/* =========================================================
   PERBAIKAN NAVBAR
   ========================================================= */

.navbar {
    position: relative;
    width: 100%;
    z-index: 9999;
    transition: all .3s ease;
}

/* Navbar ketika berada di atas hero */
.navbar:not(.navbar-scrolled) {
    background: transparent;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.navbar-brand:hover {
    color: white;
}

.navbar-brand h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.navbar-brand small {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.8);
}

/* Menu */
.navbar .nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 10px;
    padding: 8px 12px !important;
}

/* Hover menu */
.navbar .nav-link:hover {
    color: #d4af37 !important;
}

/* Dropdown */
.navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.navbar .dropdown-item {
    color: #333 !important;
    padding: 10px 15px;
    border-radius: 8px;
}

.navbar .dropdown-item:hover {
    background: #eef6ff;
    color: #0d6efd !important;
}

/* =========================================================
   NAVBAR SAAT SCROLL
   ========================================================= */

.navbar-scrolled {
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
    backdrop-filter: blur(10px);
}

.navbar-scrolled .navbar-brand {
    color: #1f2937;
}

.navbar-scrolled .navbar-brand h5 {
    color: #1f2937;
}

.navbar-scrolled .navbar-brand small {
    color: #6b7280;
}

.navbar-scrolled .nav-link {
    color: #1f2937 !important;
}

.navbar-scrolled .nav-link:hover {
    color: #0d6efd !important;
}


/* =========================================================
   TOMBOL MENU MOBILE
   ========================================================= */

.navbar-toggler {
    border: none;
    padding: 8px 10px;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: none;
}


/* =========================================================
   PERBAIKAN WARNA NAVBAR
   ========================================================= */

.navbar .nav-link {
    color: #1f2937 !important;
}

.navbar .nav-link:hover {
    color: #0d6efd !important;
}

.navbar .navbar-brand {
    color: #1f2937 !important;
}

.navbar .navbar-brand h5 {
    color: #1f2937 !important;
}

.navbar .navbar-brand small {
    color: #555 !important;
}


/* Dropdown */
.navbar .dropdown-menu .dropdown-item {
    color: #1f2937 !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: #0d6efd !important;
    background: #f1f6ff;
}


/* Saat scroll */
.navbar-scrolled .nav-link {
    color: #1f2937 !important;
}

.navbar-scrolled .navbar-brand h5 {
    color: #1f2937 !important;
}

.navbar-scrolled .navbar-brand small {
    color: #555 !important;

}

/* =========================================================
   GALERI - OVERLAY JUDUL & KETERANGAN
   ========================================================= */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    height: 300px;
    background: #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}


/* Overlay */
.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 70px 25px 25px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.90),
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0)
    );

    color: white;
}


/* Judul */
.gallery-overlay h5 {
    margin: 0 0 8px 0;

    color: #ffffff !important;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.3;
}


/* Keterangan */
.gallery-overlay p {
    margin: 0;

    color: rgba(255, 255, 255, 0.9) !important;

    font-size: 14px;
    line-height: 1.6;
}


/* Hover */
.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   GALERI - HP
   ========================================================= */

@media (max-width: 767px) {

    .gallery-item {
        height: 270px;
    }

    .gallery-overlay {
        padding: 60px 18px 18px;
    }

    .gallery-overlay h5 {
        font-size: 18px;
    }

    .gallery-overlay p {
        font-size: 13px;
    }

}
