body{
    font-family:Segoe UI,sans-serif;
}

.top-header{
    position: relative;
    padding: 15px 0;

    background: url('assets/img/header-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
}

/* overlay gelap agar teks tetap jelas */
.top-header::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* pastikan konten di atas overlay */
.top-header .container-fluid{
    position: relative;
    z-index: 2;
}

.nav-link{
    color:#fff !important;
    font-weight:600;
}

.nav-link:hover{
    color:#f8f9fa !important;
}

.footer-custom{
    background:
    linear-gradient(
    90deg,
    #e9c84d,
    #e0a54c);
}

.social-circle{
    width:50px;
    height:50px;
    border-radius:50%;
    border:1px solid #333;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#000;
    text-decoration:none;
}

.social-circle:hover{
    background:#fff;
}

.carousel-item img{
    height:650px;
    object-fit:cover;
}

.article-content img{
    max-width:100%;
    height:auto;
    border-radius:12px;
}

.article-content iframe{
    width:100%;
    min-height:450px;
}

.article-content table{
    width:100%;
}

.article-content{
    font-size:1.05rem;
    line-height:1.9;
}

.slider-img {
    height: 500px;
    object-fit: cover;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
}

.hero-section {
    background: #fff;
}

/* =========================
   GLOBAL SECTION STYLE
========================= */
.section{
    padding: 70px 0;
}

.section-title{
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after{
    content:'';
    width:60px;
    height:3px;
    background:#0d6efd;
    display:block;
    margin-top:10px;
    border-radius:5px;
}

/* =========================
   SLIDER
========================= */
.slider-img{
    height: 75vh;
    object-fit: cover;
}

/* =========================
   HERO
========================= */
.hero-section{
    background: linear-gradient(180deg,#f8f9fa,#ffffff);
    padding: 60px 0;
}

/* =========================
   CARD HOVER EFFECT
========================= */
.card-hover{
    transition: .3s ease;
}

.card-hover:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* =========================
   GALERI
========================= */
.gallery-img{
    height: 160px;
    object-fit: cover;
    width: 100%;
    transition: .3s;
}

.gallery-img:hover{
    transform: scale(1.03);
}

/* =========================
   VIDEO CARD
========================= */
.video-card iframe{
    border-radius: 8px;
}

/* =========================
   BUTTON STYLE (optional)
========================= */
.btn-primary{
    border-radius: 6px;
}

/* =========================
   NEWS UI MODERN STYLE
========================= */

.news-card {
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.news-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-title {
    font-size: 1.05rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: .9rem;
    color: #6c757d;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    border-radius: 10px;
}

.search-box button {
    border-radius: 10px;
    padding: 0 18px;
}

.sidebar-item {
    transition: .2s;
}

.sidebar-item:hover {
    background: #f5f9ff;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
}

/* =========================
   MAGAZINE STYLE
========================= */

.article-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-meta {
    font-size: .9rem;
    color: #6c757d;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.related-card {
    transition: .3s;
    border-radius: 10px;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.sticky-sidebar {
    position: sticky;
    top: 20px;
}


/* =========================
   DOKUMEN STYLE
========================= */

.list-group-item{
    transition:.3s;
    border-radius:10px !important;
}

.list-group-item:hover{
    background:#f8f9ff;
    transform:translateY(-2px);
}

.badge{
    font-size:12px;
    padding:6px 10px;
}

.card{
    transition:.35s;
}

.card:hover{

    transform:translateY(-6px);

    box-shadow:0 .9rem 2rem rgba(0,0,0,.15)!important;

}

.rounded-circle{

    transition:.35s;

}

.rounded-circle:hover{

    transform:scale(1.05);

}

.btn.rounded-circle{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

}

.img-thumbnail{

    border-radius:10px;

    transition:.3s;

}

.img-thumbnail:hover{

    transform:scale(1.05);

}

/* ==========================================================
   DINAS KESEHATAN KABUPATEN SORONG
   Government UI Version 2
==========================================================*/

/*==========================
ROOT
===========================*/

:root{

    --primary:#0A7D5C;
    --primary-dark:#06694D;
    --primary-light:#EAF8F3;

    --white:#ffffff;

    --text:#1F2937;
    --text-light:#6B7280;

    --border:#E5E7EB;

    --shadow-sm:0 2px 10px rgba(0,0,0,.05);
    --shadow-md:0 10px 30px rgba(0,0,0,.10);

    --radius:12px;

    --transition:.30s ease;

}

/*==========================
RESET
===========================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
    "Segoe UI",
    Arial,
    sans-serif;

    background:#F8FAFC;

    color:var(--text);

}

/*==========================
TOP HEADER
===========================*/

.top-header{

    background:
    linear-gradient(
    90deg,
    #0A7D5C 0%,
    #159A71 100%);

    color:#fff;

    padding:16px 0;

    position:relative;

    z-index:1035;

}

.logo-instansi{

    width:65px;

    height:65px;

    object-fit:contain;

}

.top-header h5{

    font-weight:700;

    line-height:1.2;

    margin:0;

}

.header-slogan{

    color:#fff;

    font-size:18px;

    font-weight:600;

    font-style:italic;

    letter-spacing:.3px;

}

/*==========================
SEARCH
===========================*/

.search-box{

    width:300px;

}

.search-box .form-control{

    height:46px;

    border-radius:50px 0 0 50px;

    border:none;

    box-shadow:none;

    padding-left:18px;

}

.search-box .form-control:focus{

    box-shadow:none;

}

.btn-search{

    width:55px;

    border:none;

    border-radius:0 50px 50px 0;

    background:#fff;

    color:var(--primary);

    transition:var(--transition);

}

.btn-search:hover{

    background:#F3F4F6;

}

/*==========================
LANGUAGE
===========================*/

.btn-language{

    border:none;

    background:#fff;

    color:var(--primary);

    border-radius:50px;

    font-weight:600;

    padding:9px 16px;

    transition:var(--transition);

}

.btn-language:hover{

    background:#F3F4F6;

}

/*==========================
NAVBAR
===========================*/

.main-navbar{

    background:#fff !important;

    box-shadow:var(--shadow-sm);

    transition:.35s;

    z-index:1030;

}

/* Sticky */

.main-navbar.sticky{

    box-shadow:var(--shadow-md);

}

/* Menu */

.main-navbar .navbar-nav{

    gap:8px;

}

.main-navbar .nav-link{

    color:var(--text);

    font-weight:600;

    padding:14px 18px;

    border-radius:10px;

    transition:var(--transition);

    display:flex;

    align-items:center;

    gap:6px;

}

.main-navbar .nav-link i{

    color:var(--primary);

}

/* Hover */

.main-navbar .nav-link:hover{

    background:var(--primary-light);

    color:var(--primary);

}

/* Active */

.main-navbar .nav-link.active{

    color:var(--primary);

}

/*==========================
DROPDOWN
===========================*/

.dropdown-menu{

    border:none;

    border-radius:14px;

    padding:10px;

    margin-top:10px;

    box-shadow:var(--shadow-md);

    animation:dropdownFade .25s ease;

}

.dropdown-item{

    border-radius:10px;

    padding:11px 15px;

    transition:var(--transition);

    font-weight:500;

}

.dropdown-item:hover{

    background:var(--primary);

    color:#fff;

    transform:translateX(5px);

}

/*==========================
ANIMATION
===========================*/

@keyframes dropdownFade{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==========================
NAVBAR TOGGLER
===========================*/

.navbar-toggler{

    border:none;

    box-shadow:none !important;

}

.navbar-toggler:focus{

    box-shadow:none;

}

/*==========================
LINK
===========================*/

a{

    text-decoration:none;

}

/*==========================
SCROLL EFFECT
===========================*/

.main-navbar.scrolled{

    padding-top:2px;

    padding-bottom:2px;

}

/*==========================
RESPONSIVE
===========================*/

@media (max-width:991px){

.header-slogan{

    display:none;

}

.search-box{

    width:100%;

    margin-top:15px;

}

.top-header{

    padding:18px 0;

}

.main-navbar .navbar-nav{

    margin-top:15px;

}

.main-navbar .nav-link{

    padding:12px;

    border-radius:8px;

}

.dropdown-menu{

    box-shadow:none;

    border:1px solid var(--border);

}

}

@media (max-width:768px){

.logo-instansi{

    width:52px;

    height:52px;

}

.top-header .row>div{

    margin-bottom:15px;

}

.search-box{

    margin-right:0 !important;

}

}

@media (max-width:576px){

.top-header h5{

    font-size:16px;

}

.search-box .form-control{

    height:42px;

}

.btn-language{

    padding:8px 14px;

}

}


/*==================================================
=            LINK TERKAIT / APPLICATIONS            =
==================================================*/

section{
    position:relative;
    overflow:hidden;
}

/* CARD */
.aplikasi-card{
    background:#fff;
    border-radius:24px;
    transition:all .35s ease;
    overflow:hidden;
    min-height:350px;
    border:1px solid #eef2f7;
}

.aplikasi-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.12)!important;
}

/* LOGO */
.logo-wrapper{

    width:120px;
    height:120px;

    background:#f8f9fa;

    border-radius:22px;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.35s;

    border:1px solid #ececec;

}

.aplikasi-card:hover .logo-wrapper{

    background:#eef5ff;
    transform:scale(1.06);

}

.logo-wrapper img{

    width:80px;
    height:80px;

    object-fit:contain;

    transition:.35s;

}

.aplikasi-card:hover .logo-wrapper img{

    transform:scale(1.08);

}

/* JUDUL */

.aplikasi-card h5{

    font-size:1.1rem;
    font-weight:700;
    min-height:55px;

}

/* DESKRIPSI */

.aplikasi-card p{

    font-size:.92rem;
    color:#6c757d;

}

/* BUTTON */

.aplikasi-card .btn{

    border-radius:50px;
    padding:10px 24px;
    font-weight:600;

    transition:.3s;

}

.aplikasi-card .btn:hover{

    transform:translateY(-2px);

}

/* SWIPER */

.aplikasiSwiper{

    padding-top:10px;
    padding-bottom:55px;

}

/* NAVIGATION */

.aplikasi-next,
.aplikasi-prev{

    width:52px!important;
    height:52px!important;

    background:#fff;
    border-radius:50%;

    color:#0d6efd!important;

    border:1px solid #e9ecef;

}

.aplikasi-next::after,
.aplikasi-prev::after{

    font-size:18px!important;
    font-weight:bold;

}

.aplikasi-next:hover,
.aplikasi-prev:hover{

    background:#0d6efd;
    color:#fff!important;

}

/* PAGINATION */

.swiper-pagination-bullet{

    width:10px;
    height:10px;

    opacity:1;

    background:#d6d6d6;

}

.swiper-pagination-bullet-active{

    width:28px;
    border-radius:30px;

    background:#0d6efd;

}

/* HEADER */

h2{

    letter-spacing:.5px;

}

/* RESPONSIVE */

@media(max-width:991px){

    .aplikasi-next,
    .aplikasi-prev{

        display:none;

    }

}

@media(max-width:768px){

    .logo-wrapper{

        width:100px;
        height:100px;

    }

    .logo-wrapper img{

        width:70px;
        height:70px;

    }

    .aplikasi-card{

        min-height:320px;

    }

}

@media(max-width:576px){

    .aplikasi-card{

        min-height:auto;

    }

    .aplikasi-card h5{

        font-size:1rem;

    }

    .aplikasi-card p{

        min-height:auto!important;

    }

}

/* Efek Glow saat Hover */

.aplikasi-card::before{

    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:80%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.55),
        transparent
    );

    transition:.7s;

}

.aplikasi-card:hover::before{

    left:150%;

}

/* Smooth */

.aplikasi-card,
.logo-wrapper,
.btn{

    transition:all .35s ease;

}

/* ==========================================================
   HEADER
========================================================== */

.icon-box{
    width:70px;
    height:70px;
    border-radius:18px;
    background:#e9f3ff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.icon-box i{
    font-size:32px;
    color:#0d6efd;
}

.judul-line{
    width:180px;
    height:4px;
    background:#ffc107;
    border-radius:20px;
}

/* ==========================================================
   CARD
========================================================== */

.dokumentasi-card{
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
    background:#fff;
}

.dokumentasi-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12)!important;
}

/* ==========================================================
   IMAGE
========================================================== */

.dokumentasi-image{
    position:relative;
    overflow:hidden;
    height:230px;
}

.dokumentasi-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.45s;
}

.dokumentasi-card:hover img{
    transform:scale(1.08);
}

/* ==========================================================
   OVERLAY
========================================================== */

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.35s;
}

.dokumentasi-card:hover .overlay{
    opacity:1;
}

.overlay .btn{
    border-radius:30px;
    padding:8px 20px;
    font-weight:600;
    transition:.3s;
}

.overlay .btn:hover{
    transform:scale(1.05);
}

/* ==========================================================
   CARD BODY
========================================================== */

.dokumentasi-card .card-body{
    padding:20px;
}

.dokumentasi-card h6{
    line-height:1.5;
    min-height:48px;
}

.dokumentasi-card p{
    line-height:1.6;
}


/* ==========================================================
   PAGINATION
========================================================== */

.pagination .page-link{
    border:none;
    margin:0 4px;
    border-radius:12px;
    color:#0d6efd;
    font-weight:600;
    padding:10px 16px;
    transition:.3s;
}

.pagination .page-link:hover{
    background:#0d6efd;
    color:#fff;
}

.pagination .active .page-link{
    background:#0d6efd;
    color:#fff;
}

/* ==========================================================
   MODAL
========================================================== */

#modalGambar{
    border-radius:15px;
    max-height:650px;
    object-fit:cover;
}

#modalKeterangan{
    line-height:1.8;
    text-align:justify;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

    .icon-box{
        width:60px;
        height:60px;
    }

    .icon-box i{
        font-size:28px;
    }

    .dokumentasi-image{
        height:220px;
    }

}

@media (max-width:768px){

    .hero-dokumentasi{
        text-align:center;
    }

    .judul-line{
        margin:auto;
    }

    .dokumentasi-card h6{
        min-height:auto;
    }

    .dokumentasi-image{
        height:230px;
    }

}

@media (max-width:576px){

    .dokumentasi-image{
        height:210px;
    }

    .input-group .form-control{
        font-size:14px;
    }

    .input-group .btn{
        padding:0 18px;
    }

}



