@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

/* =========================
   RESET
========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lexend Deca", sans-serif;
    background: #f5f8f5;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* =========================
   NAVBAR
========================= */

.nav-link {
    color: #222 !important;
    border-bottom: 3px solid transparent;
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link.active {
    color: #198754 !important;
    border-bottom-color: #198754;
    font-weight: 600;
}

.nav-link:hover {
    color: #198754 !important;
    border-bottom-color: #198754;
}


/* =========================
   BUTTON MASUK
========================= */

.btn-masuk {
    display: inline-block;
    padding: 15px 50px;
    background-color: #198754;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-masuk:hover {
    background-color: #157347;
}


/* =========================
   HERO
========================= */

#hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f5f8f5;
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 850px;
    margin: auto;
}

.hero-content h1 {
    margin-bottom: 15px;
    font-size: 52px;
    font-weight: 700;
    color: #222;
}

.hero-subtitle {
    margin-bottom: 10px;
    color: #198754;
    font-size: 16px;
    font-weight: 500;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #6c757d;
    font-size: 17px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-btn {
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.hero-btn-primary {
    background: #198754;
    color: #fff;
}

.hero-btn-outline {
    color: #198754;
    border: 1px solid #198754;
}

.hero-btn-primary:hover,
.hero-btn-outline:hover {
    background: #157347;
    color: #fff;
}


/* =========================
   STATISTIK
========================= */

#statistik {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}


/* =========================
   TENTANG
========================= */

.tentang-page {
    background-color: #f5f8f5;
}

.stripe {
    width: 42px;
    height: 5px;
    background-color: #198754;
    border-radius: 5px;
}

.text-hijau {
    color: #198754 !important;
}

.btn-hijau {
    background-color: #198754;
    color: #fff;
}

.btn-hijau:hover {
    background-color: #157347;
    color: #fff;
}

.visi-misi {
    background: #f8faf9;
}

.visi-misi-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.visi-misi-card p,
.visi-misi-card li {
    color: #555;
    line-height: 1.8;
}

.visi-misi-card ul {
    padding-left: 20px;
}

.visi-misi-card li {
    margin-bottom: 12px;
}

.visi-misi-card li:last-child {
    margin-bottom: 0;
}


/* =========================
   BERITA
========================= */

.berita-page {
    background-color: #f5f8f5;
}

#berita.berita-page {
    margin-top: 70px;
}

.berita-tanggal {
    margin: 0 0 10px;
    font-size: 14px;
    color: #7a7a7a;
}

.berita-judul {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
}

.berita-deskripsi {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
}

.text-selengkapnya {
    font-size: 15px;
    font-weight: 600;
    color: #198754 !important;
}

.text-selengkapnya:hover {
    color: #157347 !important;
}


/* =========================
   DETAIL BERITA
========================= */

.breadcrumb a {
    color: #1f2d3d;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #198754;
    text-decoration: underline;
}


/* =========================
   GALERI
========================= */

.paralax {
    position: relative;
    overflow: hidden;
    background-color: #198754;
}

.paralax .container {
    position: relative;
    z-index: 1;
}

.galeri-page {
    background-color: #f5f8f5;
}

.galeri-header h2 {
    font-weight: 700;
}

.galeri-header p {
    color: #6c757d;
}

.galeri-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    cursor: pointer;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: 0.3s ease;
}

.galeri-overlay h5 {
    margin: 0;
    padding: 0 15px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.galeri-item:hover img {
    filter: blur(4px);
    transform: scale(1.03);
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}
/* =========================
   FEEDBACK PENGGUNA
   ========================= */

.feedback-section {
    background: #f8faf9;
    padding-top: 80px !important;
    padding-bottom: 48px;
}

.feedback-card {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 24px 30px;
    box-shadow: none;
}

.feedback-card .form-control {
    border: 1px solid #dee2e6;
    color: #6c757d;
    opacity: 1;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 14px;
}

.feedback-card .form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.12);
}

.feedback-card .form-select {
    border: 1px solid #dee2e6;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 14px;
}

.feedback-card .form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.12);
}

.feedback-submit {
    background: #198754;
    color: #ffffff;
    border: none;
    padding: 9px 24px;
    border-radius: 7px;
}

.feedback-submit:hover {
    background: #157347;
    color: #ffffff;
}

/* =========================
   KONTAK
========================= */

.contact-section {
    background: #f5f8f5;
}

.contact-card.contact-info {
    width: 90%;
    min-height: 300px;
}

.contact-info-left {
    min-width: 0;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: #e8f5e9;
    color: #198754;
    font-size: 27px;
}

.contact-icon iconify-icon {
    font-size: 23px;
    color: #198754;
}

.contact-map {
    width: 390px;
    height: 260px;
}


/* =========================
   FOOTER
========================= */

.bg-footer {
    background-color: #1F2937 !important;
}

.bg-hijau {
    background-color: #198754 !important;
}

.footer-content {
    width: 90%;
    max-width: 1000px;
}

.footer-brand h2 {
    font-size: 30px;
    color: #fff;
}

.footer-nav {
    gap: 35px;
}

.footer-nav a {
    font-size: 15px;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    color: #198754 !important;
}

.footer-social {
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    font-size: 19px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #157347;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top-color: #e5e5e5 !important;
}

.footer-bottom p {
    font-size: 13px;
}