:root {
    --primary: #2563A6;
    --primary-dark: #174A7C;
    --secondary: #F2A65A;
    --dark: #1f2933;
    --light: #f5f7fa;
    --white: #ffffff;
    --light-blue: #659bd0;
    --yellow: #e3cf3d;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #333;
    overflow-x: hidden;
}

div#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #f5f8fc url("../img/preloader.gif") no-repeat center center;
}

a {
    transition: all .3s ease;
}

.topbar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

.topbar a:hover {
    color: #ffd95a;
}

.top-social a {
    margin-right: 0;
    margin-left: 12px;
}

.main-navbar {
    background: #ffffff;
    min-height: 78px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .06);
}

.government-brand {
    display: flex;
    align-items: center;
    margin-right: 35px;
    padding: 0;
    white-space: normal;
    max-width: 300px;
}

.government-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 25px;
    margin-right: 12px;
    flex-shrink: 0;
}

.government-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.government-title .dinas-name {
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .2px;
}

.government-title small {
    color: #888;
    font-size: 12px;
}

.main-navbar .navbar-nav {
    align-items: center;
}

.main-navbar .navbar-nav .nav-link {
    color: #4b5563;
    font-size: 18px;
    font-weight: 800;
    padding: 14px 13px;
    position: relative;
    white-space: nowrap;
}

.main-navbar .navbar-nav .nav-link i {
    font-size: 13px;
    margin-right: 4px;
    color: var(--primary);
}

.main-navbar .navbar-nav .nav-link:hover {
    color: var(--primary);
}

.main-navbar .navbar-nav .nav-item.active .nav-link {
    color: var(--primary);
}

.main-navbar .navbar-nav .nav-item.active .nav-link:after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 3px;
    background: var(--secondary);
    border-radius: 10px;
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px;
    margin-top: 10px;
    min-width: 230px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    border: 1px solid #f0f0f0;
}

.main-navbar .dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.main-navbar .dropdown-item i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 12px;
}

.main-navbar .dropdown-item:hover {
    background: #EAF3FB;
    color: var(--primary);
}

.main-navbar .navbar-toggler {
    border: 1px solid #aaa;
    padding: 7px 10px;
    color: var(--primary-dark);
}

.main-navbar .navbar-toggler:focus {
    outline: none;
}

@media (max-width: 1199px) {
    .main-navbar .navbar-collapse {
        background: #ffffff;
        margin-top: 12px;
        padding: 10px 0 20px;
        border-top: 1px solid #eee;
    }

    .main-navbar .navbar-nav {
        align-items: flex-start;
    }

    .main-navbar .navbar-nav .nav-link {
        padding: 12px 5px;
    }

    .main-navbar .navbar-nav .nav-item.active .nav-link:after {
        display: none;
    }

    .main-navbar .dropdown-menu {
        box-shadow: none;
        border: none;
        padding-left: 15px;
        margin-top: 0;
    }

}

@media (max-width: 575px) {
    .main-navbar {
        min-height: 68px;
        padding: 8px 10px;
    }

    .government-logo {
        width: 45px;
        height: 45px;
        font-size: 20px;
        border-radius: 10px;
        margin-right: 9px;
    }

    .government-title .dinas-name {
        font-size: 16px;
    }


    .government-title small {
        font-size: 10px;
    }

    .government-brand {
        margin-right: 5px;
        max-width: calc(100% - 65px);
    }
}

.container-fluid {
    max-width: 1700px;
}

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
}

.hero:before {
    content: "";
    position: absolute;
    width: 900px;
    height: stretch;
    background: linear-gradient(269deg, #ffffff00, #004587cc, #28292b);
    left: 0;
    top: 0;
}

/*.hero:after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 60px solid rgba(255,255,255,.03);
    left: -150px;
    bottom: -180px;
}*/

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
    padding: 60px 0;
    margin-left: 3em;
}

.hero-label {
    display: inline-block;
    background: var(--secondary);
    color: #222;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 3em;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--light);
    text-shadow: 5px 7px rgb(0 0 0 / 50%);
}

.hero h2 {
    color: var(--light);
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 2em;
    text-shadow: 5px 7px rgb(0 0 0 / 50%);
}

.hero h3 {
    font-size: 1.7em;
    text-shadow: 5px 7px rgb(0 0 0 / 50%);
    color: var(--yellow);
}

.hero p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    max-width: 600px;
}

.tagline {
    max-width: 540px;
    font-family: "Nunito", sans-serif;
    font-size: 35px;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(268deg, #004587, #28292b);
    padding: 0.4em;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    color: var(--yellow);
    text-shadow: 5px 7px rgb(0 0 0 / 30%);
    border: 1px solid #fff;
}

#hero-shadding {
    width: 100%; min-height: 600px; background: linear-gradient(269deg, #ffffff00, #004587);
}

.hero-mayor {
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.hero-mayor img {
    position: relative;
    z-index: 2;
    height: 530px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,.25));
}

/* hero nama */
/* Container nama mengikuti ukuran gambar */
.hero-nama {
    position: absolute;
    inset: 0;

    z-index: 5;
}

/* Nama Eri */
.nama-eri {
    position: absolute;

    /* koordinat relatif terhadap gambar */
    left: 60%;
    bottom: 2.5%;

    transform: translateX(-50%);
}

/* Nama Rini */
.nama-rini {
    position: absolute;

    left: 84%;
    bottom: 2.5%;

    transform: translateX(-50%);
}

/* Tampilan kotak nama */
.nama-eri,
.nama-rini {
    background: #fff;
    border: 3px solid #e5b500;
    border-radius: 30px;

    padding: 6px 25px 5px;
    min-width: 260px;

    text-align: center;
    line-height: 1.15;

    box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
}

.nama-eri strong,
.nama-rini strong {
    display: block;
    font-size: 15px;
    color: #222;
}

.nama-eri small,
.nama-rini small {
    display: block;
    font-size: 12px;
    color: #222;
}

/* =========================================================
   ANNOUNCEMENT
========================================================= */

.announcement-section {
    padding: 25px 0;
    background: #FFF4E8;
}

.announcement-wrapper {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6edf4;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}


/* HEADER */

.announcement-label {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 15px 20px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #ffffff;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
}

.announcement-label i {
    color: var(--secondary);
    font-size: 18px;
}


/* GRID PENGUMUMAN */

.announcement-list {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

}


/* ITEM */

.announcement-item {

    min-height: 60px;

    padding: 15px 20px;

    display: flex;
    align-items: center;

    color: #555;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    border-bottom: 1px solid #eeeeee;

    transition: all .3s ease;
}


/* garis pemisah tengah */

.announcement-item:nth-child(odd) {
    border-right: 1px solid #eeeeee;
}


/* item terakhir / baris terakhir */

.announcement-item:nth-last-child(-n+2) {
    border-bottom: none;
}


.announcement-item:hover {
    color: #ffffff;
    background: var(--blue);
    text-decoration: none;
}


/* DOT */

.announcement-dot {

    width: 8px;
    height: 8px;

    flex-shrink: 0;

    margin-right: 12px;

    border-radius: 50%;

    background: var(--secondary);

}


/* ARROW */

.announcement-item > i {

    margin-left: auto;

    padding-left: 15px;

    font-size: 10px;

    color: var(--primary);

    transition: .3s;

}


.announcement-item:hover > i {

    transform: translateX(4px);

    color: var(--secondary);

}


/* ========================================
   RESPONSIVE TABLET
======================================== */

@media (max-width: 991px) {

    .announcement-wrapper {
        flex-direction: column;
    }

    .announcement-label {
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
    }

    .announcement-list {
        width: 100%;
        flex-direction: column;
    }

    .announcement-item {
        width: 100%;
        padding: 14px 20px;
    }

}


/* ========================================
   RESPONSIVE ANDROID & IPHONE
======================================== */

@media (max-width: 576px) {

    .announcement-section {
        padding: 12px 0;
    }

    .announcement-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .announcement-wrapper {
        border-radius: 10px;
    }

    .announcement-label {
        padding: 12px 15px;
        gap: 8px;
    }

    .announcement-label i {
        font-size: 17px;
    }

    .announcement-label span {
        font-size: 13px;
    }

    .announcement-list {
        flex-direction: column;
    }

    .announcement-item {
        width: 100%;
        min-height: 50px;
        padding: 12px 15px;
        gap: 10px;
        font-size: 14px;
    }

    /* Text pengumuman bisa 2 baris */
    .announcement-item span:not(.announcement-dot) {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.4;
    }

    .announcement-dot {
        width: 7px;
        height: 7px;
    }

    .announcement-item .fa-chevron-right {
        font-size: 12px;
    }

}

.btn-gradient {
    background-image: linear-gradient(to right, var(--bs-btn-bg) 0%, var(--bs-btn-bg-gradient) 100%);
    background-size: 200% auto;
    transition: background-position 0.5s ease-out;
}

.btn-gradient:hover {
    background-position: right center;
}

.btn-primary.btn-gradient {
    --bs-btn-bg: #0d6efd;
    --bs-btn-bg-gradient: #6c9eff;
}

.btn-success.btn-gradient {
    --bs-btn-bg: #198754;
    --bs-btn-bg-gradient: #5cd47f;
}

.btn-danger.btn-gradient {
    --bs-btn-bg: #dc3545;
    --bs-btn-bg-gradient: #ff7d87;
}

@media (max-width: 991px) {
    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-mayor {
        height: 420px;
    }

    .hero-mayor img {
        height: 400px;
    }

    .hero-mayor:before {
        width: 310px;
        height: 310px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 0;
        padding-top: 20px;
    }

    .hero-photo-order {
        order: 1;
    }

    .hero-content {
        order: 2;
        padding-top: 10px;
        padding-bottom: 50px;
        text-align: center;
    }

    .hero-mayor {
        height: 350px;
    }

    .hero-mayor img {
        height: 340px;
        max-width: 95%;
    }

    .hero-mayor:before {
        width: 270px;
        height: 270px;
        bottom: 0;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-label {
        font-size: 11px;
        padding: 7px 15px;
    }
}

@media (max-width: 480px) {
    .hero-mayor {
        height: 290px;
    }

    .hero-mayor img {
        height: 285px;
    }

    .hero-mayor:before {
        width: 220px;
        height: 220px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero-content {
        padding-left: 5px;
        padding-right: 5px;
    }

    .btn-government {
        padding: 10px 22px;
        font-size: 14px;
    }
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 900;
    margin-top: 8px;
}

.section-title p {
    max-width: 650px;
    margin: 10px auto 0;
    color: #777;
}

.leader-img {
    background: #E8F2FA;
    border-radius: 20px;
    padding: 10px;
    overflow: hidden;
}

.leader-img img {
    width: 100%;
    border-radius: 14px;
}

.leader-content h2 {
    font-size: 30px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.leader-content p {
    line-height: 1.9;
    color: #666;
}

.leader-name {
    margin-top: 20px;
}

.leader-name h5 {
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 2px;
}

.leader-name span {
    color: #888;
    font-size: 14px;
}

.statistics {
    background: var(--primary);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 38px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.stat-item h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-item p {
    margin: 0;
    color: rgba(255,255,255,.8);
}

.service-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
    transition: .3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: #EDF5FC;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-card h5 {
    font-weight: 800;
    color: var(--primary);
}

.service-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.service-card a {
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,.07);
}

.news-img {
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.news-card:hover img {
    transform: scale(1.08);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-content h5 {
    font-weight: 800;
    color: var(--dark);
    line-height: 1.5;
}

.news-content a {
    color: var(--primary);
    text-decoration: none;
}

.news-content a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.news-content p {
    color: var(--dark);
    font-size: 14px;
    line-height: 1.7;
}

.agenda-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}

.agenda-item {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-date {
    min-width: 65px;
    height: 65px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    text-align: center;
    padding-top: 7px;
    margin-right: 15px;
}

.agenda-date strong {
    font-size: 23px;
    display: block;
    line-height: 1;
}

.agenda-date span {
    font-size: 11px;
    text-transform: uppercase;
}

.agenda-info h6 {
    font-weight: 800;
    margin-bottom: 6px;
}

.agenda-info p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.announcement {
    background: #FFF4E8;
    border-left: 5px solid var(--secondary);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.announcement a {
    text-decoration: none;
    color: var(--dark);
}

.announcement a:hover {
    color: var(--primary);
}

.announcement h6 {
    font-weight: 800;
    margin-bottom: 5px;
}

.announcement p {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
}

footer {
    background: #123B5D;
    color: rgba(255,255,255,.75);
    padding-top: 70px;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-right: 12px;
}

.footer-logo strong {
    color: #fff;
    display: block;
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary);
    margin-right: 12px;
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
}

.footer-icons ul li {
    display: inline-block;
}

.footer-icons ul li a {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: block;
    height: 40px;
    line-height: 38px;
    margin-right: 5px;
    text-align: center;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.footer-icons ul li a i {
    line-height: 0;
}

.footer-icons ul li a:hover {
    text-decoration: none;
}

.flicker-img>a {
    float: left;
    padding: 1px;
    width: 33.33%;
}

.footer-icons {
    margin-top: 10px;
}

#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: none;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

@media (max-width: 991px) {
    .header-contact {
        display: none;
    }

    .navbar-custom .navbar-nav .nav-link {
        padding: 12px 15px;
    }

    .hero h1 {
        font-size: 38px;
    }
}

/* =========================
   Mobile: Android & iPhone
   ========================= */
@media (max-width: 767.98px) {
    #beranda {
        min-height: 650px;
        background-position: 80% top !important;
        background-size: auto 100% !important;
        background-repeat: no-repeat !important;
        position: relative;
    }

    /*#hero-shadding {
        min-height: 650px;
        display: flex;
        align-items: flex-end;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.20) 35%,
            rgba(0, 0, 0, 0.85) 75%,
            rgba(0, 0, 0, 0.95) 100%
        );
    }*/

    .hero:before {
        content: "";
        position: absolute;
        width: stretch;
        height: stretch;
        background: linear-gradient(180deg, #ffffff00, #00458780, #28292b);
        left: 0;
        top: 0;
    }

    .hero-row {
        min-height: 650px;
        align-items: flex-end !important;
    }

    .hero-content {
        padding: 0 20px 50px;
        text-align: left;
        margin-left: 0px;
    }

    .hero-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 15px;
    }

    .hero-content .aksara_jawa {
        font-size: 20px;
        margin-bottom: 20px !important;
    }

    .hero-content .tagline {
        font-size: 15px;
        line-height: 1.5;
        display: block;
    }
}


@media (max-width: 575px) {
    .hero h1 {
        font-size: 27px;
    }

    .hero-label {
        font-size: 11px;
    }

    .section-title h2 {
        font-size: 23px;
    }

    .stat-item h2 {
        font-size: 28px;
    }
}

.hero {
    background: radial-gradient(circle at 85% 20%, rgba(242,166,90,.16), transparent 28%), linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.topbar {
    background: var(--primary-dark);
}

.btn-government:hover {
    background: #F6B978;
}

.announcement {
    border-left-color: var(--secondary);
}

@media (min-width: 992px) {
    .hero {
        min-height: 600px;
    }

    .hero-mayor {
        height: 600px;
    }

    .hero-mayor img {
        height: 530px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        min-height: 460px;
    }

    .hero-mayor {
        height: 470px;
    }

    .hero-mayor img {
        height: 445px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 0;
    }

    .hero-mayor {
        height: 350px;
    }

    .hero-mayor img {
        height: 340px;
    }
}

@media (max-width: 480px) {
    .hero-mayor {
        height: 290px;
    }

    .hero-mayor img {
        height: 285px;
    }
}

.services-section {
    background: #f5f8fc;
}

.layanan-widget {
    position: relative;
    width: 100%;
    transition: all .35s ease;
}

.layanan-image {
    position: relative;
    width: 100%;
    height: 205px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eef4;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.layanan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.layanan-widget:hover .layanan-image img {
    transform: scale(1.10);
}

.layanan-content {
    position: absolute;
    top: 20px;
    left: 15px;
}

.layanan-content h4 {
    margin-top: 5px;
    font-weight: 900;
    color: var(--primary-dark);
    text-shadow: 3px 3px var(--light);
}

.layanan-header {
    background-color: var(--primary);
    color: var(--light);
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    min-width: 150px;
    display: inline-block;
}

.layanan-button {
    z-index: 9;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    position: absolute;
}

.layanan-button a {
    background-color: var(--secondary);
    padding: 5px 50px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.layanan-button a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.service-widget {
    position: relative;
    width: 100%;
    padding-bottom: 70px;
    transition: all .35s ease;
}

.service-image {
    position: relative;
    width: 100%;
    height: 205px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eef4;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.service-widget:hover .service-image img {
    transform: scale(1.10);
    /*filter: saturate(0.5);*/
}

.service-widget-content {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    min-height: 100px;
    padding: 20px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(23,74,124,.22);
    transition: all .35s ease;
    z-index: 3;
}

.service-widget-content p {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
}

.service-widget .service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    background: transparent;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 30px;
    transition: transform .35s ease, color .35s ease;
}

.service-widget h5 {
    line-height: 1.3;
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.service-widget a {
    margin-top: 9px;
    color: var(--light);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(5px);
    transition: all .3s ease;
}

.service-widget:hover .service-widget-content {
    bottom: 8px;
    background: linear-gradient( 135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 15px 35px rgba(23,74,124,.30);
}

.service-widget:hover .service-icon {
    transform: translateY(-3px) scale(1.08);
    color: var(--secondary);
}

.service-widget:hover a {
    opacity: 1;
    transform: translateY(0);
}

.service-widget-content::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 45px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: var(--secondary);
}

/* visi misi */
.visi-misi-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0 110px;
    background: #f8fafc;
    color: #263d59;
}

.vm-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.vm-decoration-1 {
    width: 420px;
    height: 420px;
    top: -220px;
    left: -180px;
    border: 70px solid rgba(242, 166, 90, 0.07);
}

.vm-decoration-2 {
    width: 500px;
    height: 500px;
    right: -280px;
    top: 250px;
    border: 80px solid rgba(31, 92, 140, 0.06);
}

.vm-decoration-3 {
    width: 250px;
    height: 250px;
    left: 45%;
    bottom: -180px;
    border: 45px solid rgba(242, 166, 90, 0.07);
}

.visi-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 70px;
    padding: 42px 50px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    border: 1px solid rgba(38, 61, 89, 0.08);
    box-shadow: 0 20px 50px rgba(38, 61, 89, 0.08);
    overflow: hidden;
}

/* aksen kiri */
.visi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #e34b59, #ef8b94);
}

.misi-grid {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.misi-card:nth-child(1),
.misi-card:nth-child(2),
.misi-card:nth-child(3) {
    grid-column: span 2;
}

.misi-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.misi-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.misi-card {
    position: relative;
    min-height: 330px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid rgba(38, 61, 89, 0.07);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(38, 61, 89, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.misi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(38, 61, 89, 0.13);
}

.misi-number {
    position: absolute;
    right: 20px;
    top: 5px;
    color: rgba(38, 61, 89, 0.045);
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

.misi-icon {
    position: relative;
    z-index: 2;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 15px;
    background: rgba(227, 75, 89, 0.09);
    color: #e34b59;
    font-size: 21px;
    transition: all 0.3s ease;
}

.misi-card:hover .misi-icon {
    background: #e34b59;
    color: #ffffff;
    transform: scale(1.05);
}

.misi-content {
    position: relative;
    z-index: 2;
}

.misi-content h3 {
    margin: 0 0 13px;
    color: #263d59;
    font-size: 20px;
    font-weight: 700;
}

.misi-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
}

@media (max-width: 991px) {
    .visi-misi-section {
        padding: 70px 20px 80px;
    }

    .visi-card {
        padding: 35px;
    }

    .misi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .misi-card:nth-child(1),
    .misi-card:nth-child(2),
    .misi-card:nth-child(3),
    .misi-card:nth-child(4),
    .misi-card:nth-child(5) {
        grid-column: span 1;
    }

    .misi-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .visi-misi-section {
        padding: 55px 15px 65px;
    }

    .vm-heading {
        margin-bottom: 30px;
    }

    .vm-heading h2 {
        font-size: 30px;
    }

    .vm-heading p {
        font-size: 14px;
    }

    .visi-card {
        display: block;
        padding: 30px 25px;
        margin-bottom: 55px;
        text-align: center;
    }

    .visi-card::before {
        width: 100%;
        height: 5px;
        bottom: auto;
    }

    .visi-icon {
        margin: 0 auto 25px;
    }

    .visi-content h3 {
        font-size: 21px;
    }

    .visi-line {
        margin: 15px auto;
    }

    .visi-content p {
        font-size: 14px;
    }

    .misi-heading h2 {
        font-size: 27px;
    }

    .misi-grid {
        grid-template-columns: 1fr;
    }

    .misi-card:nth-child(1),
    .misi-card:nth-child(2),
    .misi-card:nth-child(3),
    .misi-card:nth-child(4),
    .misi-card:nth-child(5) {
        grid-column: 1;
    }

    .misi-card:last-child {
        grid-column: 1;
        max-width: none;
    }

    .misi-card {
        min-height: auto;
    }
}

.visi-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    border: 35px solid rgba(227, 75, 89, 0.06);
}


/* =========================================================
   SINGLE POST / DETAIL BERITA
========================================================= */

.post-page {
    background: #f5f8fc;
    padding: 55px 0 80px;
}


.post-breadcrumb {
    margin-bottom: 25px;
}

.post-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.post-breadcrumb a:hover {
    color: var(--secondary);
}

.post-breadcrumb span {
    color: #999;
    margin: 0 8px;
}

.post-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,.06);
}

.post-category {
    display: inline-block;
    background: rgba(242,166,90,.15);
    color: var(--primary);
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 15px;
}

.post-title {
    color: var(--primary-dark);
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    color: #888;
    font-size: 13px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
}

.post-meta i {
    margin-right: 6px;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 30px;
    background: #edf3f8;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.post-img {
    height: 420px;
    overflow: hidden;
}

.post-body {
    color: #555;
    font-size: 16px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2 {
    color: var(--primary-dark);
    font-size: 26px;
    font-weight: 900;
    margin-top: 35px;
    margin-bottom: 15px;
}

.post-body h3 {
    color: var(--primary);
    font-size: 21px;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 12px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
}

.post-body ul,
.post-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: #f3f7fb;
    border-left: 5px solid var(--secondary);
    border-radius: 8px;
    color: #666;
    font-style: italic;
}


/* =========================================================
   SHARE
========================================================= */
.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.post-share strong {
    color: var(--primary-dark);
    margin-right: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.share-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #111;
}

.share-whatsapp {
    background: #25d366;
}

.post-sidebar {
    position: sticky;
    top: 95px;
}

.sidebar-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.06);
}

.sidebar-title {
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 900;
    padding-bottom: 15px;
    margin-bottom: 5px;
    border-bottom: 2px solid var(--secondary);
}

.related-post {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.related-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-image {
    width: 80px;
    height: 65px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 12px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.related-post:hover img {
    transform: scale(1.08);
}

.related-post h6 {
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

.related-post a {
    color: inherit;
    text-decoration: none;
}

.related-post a:hover {
    color: var(--primary);
}

.related-post-date {
    display: block;
    color: #999;
    font-size: 11px;
    margin-top: 5px;
}

.post-back {
    margin-top: 30px;
}

.post-back a {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.post-back a:hover {
    color: var(--primary-dark);
}

.post-back i {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .post-sidebar {
        position: static;
        margin-top: 30px;
    }

    .post-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .post-page {
        padding: 35px 0 60px;
    }

    .post-content {
        padding: 22px;
    }

    .post-title {
        font-size: 27px;
    }

    .post-body {
        font-size: 15px;

        line-height: 1.8;
    }

    .post-meta {
        gap: 10px;

        font-size: 12px;
    }

    .post-featured-image {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .post-content {
        padding: 18px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-category {
        font-size: 10px;

        padding: 6px 12px;
    }

}
