/* 
    SIBAVET Custom Stylesheet
    Consolidated from home and news pages
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-light: #eff6ff;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Outfit', sans-serif;
    color: #334155;
    line-height: 1.7;
    background-color: var(--bg-light);
}

/* ===== Common Components ===== */
.section-title h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 20px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 15px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 100px 0 100px;
    background-color: #fcfbf6;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -1.5px;
    margin-bottom: 50px;
    line-height: 1.1;
}

.hero-image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 60px;
}

.hero-img-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 260px;
    height: 340px;
    position: relative;
    transition: transform 0.4s ease;
}

.hero-img-box:hover {
    transform: translateY(-10px);
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-box:nth-child(2) {
    transform: translateY(-30px);
}

.hero-img-box:nth-child(2):hover {
    transform: translateY(-40px);
}

.hero-img-box:nth-child(4) {
    transform: translateY(-30px);
}

.hero-img-box:nth-child(4):hover {
    transform: translateY(-40px);
}

.hero-img-box.bg-blue-light {
    background-color: #a7d8d8;
}

.hero-img-box.bg-orange {
    background-color: #df7b3e;
}

.hero-img-box.bg-blue-dark {
    background-color: #2e83b8;
}

.hero-img-box.bg-yellow {
    background-color: #e5c15e;
}

.hero-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.hero .lead-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    text-align: center;
    margin: 0;
}

.hero .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffe066;
    border-radius: 50%;
    color: #111;
    font-size: 1.2rem;
    margin-left: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero .icon-btn:hover {
    transform: scale(1.1);
    background-color: #fbd338;
}

.hero .btn {
    display: none;
}

@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image-row {
        flex-wrap: wrap;
    }

    .hero-img-box {
        width: calc(50% - 1rem);
        height: 280px;
    }

    .hero-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero .lead-text {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .hero-img-box {
        width: 100%;
        height: 300px;
    }

    .hero-img-box:nth-child(2),
    .hero-img-box:nth-child(4) {
        transform: translateY(0);
    }
}

/* ===== Service Items ===== */
.service-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: var(--glass-border);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
    opacity: 0.03;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-item:hover::before {
    height: 100%;
}

.service-item .icon {
    width: 75px;
    height: 75px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 2.2rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.service-item:hover .icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-item h3 {
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.35rem;
    color: var(--secondary-color);
}

.service-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ===== Layanan Section ===== */
.layanan-modern {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.layanan-modern .section-sub {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.layanan-modern .section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
}

.layanan-modern .section-heading span {
    color: var(--primary-color);
}

.layanan-modern .section-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.layanan-img-collage {
    position: relative;
    min-height: 550px;
}

.layanan-img-collage .img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 75%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 6px solid #fff;
    z-index: 2;
}

.layanan-img-collage .img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layanan-img-collage .img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 60%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 6px solid #fff;
    z-index: 3;
}

.layanan-img-collage .img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layanan-img-collage::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 70%;
    height: 80%;
    border: 3px solid #cbd5e1;
    border-radius: 30px;
    z-index: 1;
}

.layanan-img-collage::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 10%;
    width: 50%;
    height: 55%;
    border: 3px solid #cbd5e1;
    border-radius: 30px;
    z-index: 1;
}

.layanan-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.layanan-feature:hover {
    background: #f0f7ff;
    border-color: #dbeafe;
}

.layanan-feature::after {
    content: 'Klik untuk detail \2192';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.layanan-feature:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.layanan-feature .feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #eff6ff;
    border: 2px solid #dbeafe;
    transition: var(--transition);
}

.layanan-feature:hover .feature-icon {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.layanan-feature .feature-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.layanan-feature:hover .feature-content h4 {
    color: var(--primary-color);
}

.layanan-feature .feature-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .layanan-img-collage {
        min-height: 400px;
        margin-bottom: 50px;
    }

    .layanan-modern .section-heading {
        font-size: 2.4rem;
    }
}

@media (max-width: 575.98px) {
    .layanan-img-collage {
        min-height: 350px;
    }

    .layanan-img-collage .img-main {
        width: 75%;
    }

    .layanan-img-collage .img-secondary {
        width: 60%;
    }

    .layanan-modern .section-heading {
        font-size: 2rem;
    }
}

/* ===== Tarif Section ===== */
.tarif-modern {
    background: #f8f9fc;
    padding: 100px 0;
}

.tarif-modern .section-sub {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.tarif-modern .section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 15px;
}

.tarif-modern .section-heading span {
    color: var(--primary-color);
}

.tarif-modern .section-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 50px;
    max-width: 600px;
}

.tarif-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    cursor: pointer;
}

.tarif-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
    border-color: #93c5fd;
}

.tarif-card .tarif-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #eff6ff;
    transition: all 0.3s ease;
}

.tarif-card:hover .tarif-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(5deg) scale(1.05);
}

.tarif-card .tarif-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.tarif-card:hover .tarif-content h4 {
    color: var(--primary-color);
}

.tarif-card .tarif-content p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 0;
}

.tarif-card::after {
    content: 'Lihat Tarif \2192';
    position: absolute;
    bottom: 12px;
    right: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.tarif-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991.98px) {
    .tarif-modern .section-heading {
        font-size: 2.4rem;
    }
}

@media (max-width: 575.98px) {
    .tarif-modern .section-heading {
        font-size: 2rem;
    }
}

/* ===== GIS Section ===== */
.gis-modern {
    background: #fff;
    padding: 100px 0;
}

.gis-modern .section-sub {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.gis-modern .section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 15px;
}

.gis-modern .section-heading span {
    color: var(--primary-color);
}

.gis-modern .section-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
}

.time-filter-row {
    display: flex;
    gap: 10px;
}

.time-filter-row .type-monthly,
.time-filter-row .type-yearly {
    flex: 1;
}

.gis-filter-bar {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr;
    gap: 20px;
    align-items: end;
}

.gis-filter-bar label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.gis-filter-bar select.form-control {
    border-radius: 10px;
    border: 1px solid #dbeafe;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    transition: all 0.3s;
    min-width: 150px;
}

.gis-filter-bar select.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gis-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
}

.gis-map-wrapper #map {
    height: 100% !important;
    width: 100% !important;
    border-radius: 0;
    z-index: 1;
}

.wrpmap {
    height: 100%;
    width: 100%;
}

.gis-sidebar {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gis-sidebar .sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dbeafe;
    flex-shrink: 0;
}

.gis-sidebar .mapSwipper {
    flex: 1;
    overflow-y: auto;
}

.gis-sidebar .distribution-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px 18px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.gis-sidebar .distribution-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

.gis-sidebar .dist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.gis-sidebar .region-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    flex: 1;
}

.gis-sidebar .total-count {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: #eff6ff;
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
}

.gis-sidebar .disease-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.gis-sidebar .disease-list li {
    font-size: 0.85rem;
    color: #64748b;
    padding: 4px 0 4px 20px;
    position: relative;
}

.gis-sidebar .disease-list li::before {
    display: none;
}

.gis-sidebar .disease-list li strong {
    color: #334155;
}

@media (max-width: 991.98px) {
    .gis-modern .section-heading {
        font-size: 2.4rem;
    }

    .gis-filter-bar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .gis-modern .section-heading {
        font-size: 2rem;
    }
}

/* ===== Stats & Achievement ===== */
.stats-section .stat-item {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: var(--glass-border);
    transition: var(--transition);
    margin-bottom: 20px;
}

.stats-section .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.stats-section .stat-item span {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stats-section .stat-item p {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

.prestasi-akreditasi li {
    background: var(--glass-bg);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    border-left: 6px solid var(--primary-color);
    transition: var(--transition);
    list-style: none;
}

.prestasi-akreditasi li:hover {
    transform: translateX(10px);
    box-shadow: var(--hover-shadow);
}

.prestasi-akreditasi li strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
    display: block;
}

.prestasi-akreditasi li span,
.prestasi-akreditasi li p {
    display: block;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.achievement-section {
    background-color: #f0f4ff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.achievement-section .section-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.achievement-section .section-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 50px;
}

.achievement-section .section-main-title span {
    color: #2563eb;
}

.achievement-col-header {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.achievement-col-header .header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.achievement-col-header .header-icon.purple {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
}

.achievement-col-header .header-icon.blue {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
}

.timeline-col {
    position: relative;
    padding-left: 30px;
}

.timeline-col::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #93c5fd;
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 25px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2563eb;
    z-index: 2;
}

.timeline-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.timeline-card .card-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.timeline-card .card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 5px;
    display: inline;
}

.timeline-card .card-badge {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-left: 8px;
}

.timeline-card .card-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .achievement-section .section-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .achievement-section {
        padding: 60px 0;
    }

    .achievement-section .section-main-title {
        font-size: 1.8rem;
    }
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    padding: 30px 20px 20px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ===== News & Information ===== */
.berita.section {
    background: #fff;
    padding: 100px 0;
}

.berita .section-sub {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.berita .section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 20px;
}

.berita .section-heading span {
    color: var(--primary-color);
}

.customnavpills {
    background: #f1f5f9;
    padding: 5px;
    border-radius: 10px;
    display: inline-flex;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    min-width: 320px;
    gap: 5px;
}

.customnavpills .nav-item {
    flex: 1;
    display: flex;
}

.customnavpills .nav-link {
    border-radius: 10px !important;
    padding: 12px 25px !important;
    font-weight: 700;
    font-size: 1rem;
    color: #64748b !important;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
    width: 100%;
    text-align: center;
    text-transform: capitalize;
    box-shadow: none !important;
    position: relative;
    outline: none !important;
}

.customnavpills .nav-link.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2) !important;
}

.customnavpills .nav-link:hover:not(.active) {
    color: var(--primary-color) !important;
    background: #fff !important;
}

.highliht-news {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.highliht-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.highliht-news:hover img {
    transform: scale(1.1);
}

.desc-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0) 100%);
    color: #fff;
    z-index: 2;
}

.desc-highlight .badge {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.desc-highlight h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #fff;
}

.desc-highlight p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 0;
}

/* News List Card (Small horizontal) */
.news-list-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: center;
    text-decoration: none !important;
}

.news-list-card:hover {
    transform: translateX(10px);
    background: #f8f9fc;
    border-color: #dbeafe;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.news-list-card .news-img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 16px;
    overflow: hidden;
}

.news-list-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-card:hover .news-img img {
    transform: scale(1.1);
}

.news-list-card .news-info {
    flex: 1;
}

.news-list-card .news-info .date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.news-list-card .news-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-list-card .news-info p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

.news-list-wrapper {
    height: 570px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-list-wrapper::-webkit-scrollbar {
    width: 6px;
}

.news-list-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.news-list-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.news-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* News Grid Card (Medium vertical, used in Index) */
.news-grid-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.news-grid-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-grid-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-grid-card:hover .news-grid-img-wrapper img {
    transform: scale(1.1);
}

.news-grid-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-grid-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.news-grid-meta i {
    color: var(--primary-color);
}

.news-grid-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.news-grid-card:hover .news-grid-title {
    color: var(--primary-color);
}

.news-grid-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-grid-footer {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
}

/* News Index Header */
.news-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0 60px;
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.news-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.news-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Contact & Lokasi ===== */
.contact.section {
    background: #f8fafc;
    padding: 100px 0;
}

.contact .info-card {
    background: #fff;
    padding: 18px 24px;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.contact .info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.contact .info-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.contact .info-group:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
}

.contact .info-card i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact .info-card:hover i {
    background: var(--primary-color);
    color: #fff;
}

.contact .info-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.contact .info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.contact-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-form-card .form-control {
    border-radius: 12px;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form-card .form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    transition: var(--transition);
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== Footer Section ===== */
.footer {
    background: #0a1121;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .footer-about .logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 25px;
}

.footer .footer-about .sitename {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -1px;
    line-height: 1;
}

.footer .footer-about p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 450px;
}

.footer h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer .footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer .footer-contact p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.footer .copyright {
    background: #070d1a;
    padding: 30px 0;
    border-top: none;
}

.footer .copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer .copyright strong {
    color: #fff;
}

/* ===== About Modern Section ===== */
.about-modern {
    background-color: #f8f9fc;
    padding: 100px 0;
    overflow: hidden;
}

.about-modern-content {
    padding-right: 50px;
}

.about-modern-subtitle {
    color: #7a828a;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.about-modern-title {
    color: #0d122b;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
}

.about-modern-text {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 550px;
}

.about-modern-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-box {
    border-top: 2px solid #fbd338;
    padding-top: 20px;
}

.stat-box h3 {
    color: #0d122b;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.about-modern-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-modern-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 991.98px) {
    .about-modern-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .about-modern-title {
        font-size: 2.8rem;
    }

    .about-modern-img-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 575.98px) {
    .about-modern-title {
        font-size: 2.2rem;
    }

    .about-modern-stats {
        grid-template-columns: 1fr;
    }

    .about-modern-img-wrapper {
        min-height: 350px;
    }
}

/* ===== Pagination ===== */
.pagination {
    gap: 8px;
}

.page-item .page-link {
    border-radius: 12px !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--secondary-color);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-item .page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* ===== Lab Services & Statistics ===== */
.lab-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-info-list li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #555;
    text-align: left;
}

.lab-info-list li i {
    color: var(--primary-color);
    margin-top: 2px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.services-list {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 16px;
    margin-top: auto;
}

.services-list h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.services-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.services-list ul li {
    font-size: 0.88rem;
    margin-bottom: 10px;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.services-list ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.6;
    margin-top: 8px;
}

.services-list ul li:last-child {
    margin-bottom: 0;
}

.stats-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.filter-wrapper {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-row select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #475569;
    background-color: #fff;
    flex: 1;
    min-width: 140px;
}

.filter-row select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chart-container-inner {
    position: relative;
    width: 100%;
}

/* ===== Custom Form Styling ===== */
.cust-form .form-control,
.cust-form .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: #475569;
    transition: all 0.3s ease;
}

.cust-form .form-control:focus,
.cust-form .form-select:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cust-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cust-form .form-label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cust-form .subtitle {
    font-weight: 800;
    color: var(--secondary-color);
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ===== Custom Tabs ===== */
.custom-tabs .nav-tabs {
    border: none;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
    display: flex;
}

.custom-tabs .nav-item {
    flex: 1;
}

.custom-tabs .nav-link {
    border: none !important;
    border-radius: 10px !important;
    color: #64748b;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 20px;
    transition: all 0.3s ease;
    width: 100%;
    background: transparent !important;
}

.custom-tabs .nav-link.active {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.custom-tabs .tab-content {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* ===== News Detail Modern V2 ===== */
.news-detail-page-v2 {
    background-color: var(--bg-light);
    padding-top: 40px;
    padding-bottom: 80px;
    font-family: 'Outfit', sans-serif;
}

.news-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 500;
}

.news-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.news-breadcrumb a:hover {
    color: var(--primary-color);
}

.news-breadcrumb .breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 700;
}

.news-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "\F285";
    /* bootstrap icon chevron right */
    font-family: "bootstrap-icons";
    color: #cbd5e1;
    font-size: 0.8rem;
    vertical-align: middle;
}

.news-detail-header-v2 {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.news-detail-header-v2 .badge-category {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-detail-header-v2 h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.news-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.news-meta-v2 .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta-v2 .meta-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.news-meta-v2 .meta-item img.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-hero-v2 {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    max-height: 600px;
}

.news-hero-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.news-hero-v2:hover img {
    transform: scale(1.03);
}

.news-body-v2 {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

.news-body-v2 p {
    margin-bottom: 20px;
}

.news-body-v2 h2,
.news-body-v2 h3,
.news-body-v2 h4 {
    color: var(--secondary-color);
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
}

.news-body-v2 img {
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
}

.news-body-v2 blockquote {
    background: #f8fafc;
    border-left: 5px solid var(--primary-color);
    padding: 20px 30px;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
}

.news-footer-v2 {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-tags-v2 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.news-tags-v2 .tag-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 5px;
}

.news-tags-v2 .tag-item {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.news-tags-v2 .tag-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.news-share-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-share-v2 .share-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 5px;
}

.share-btn-v2 {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.share-btn-v2.twitter {
    background: #000;
}

.share-btn-v2.facebook {
    background: #1877f2;
}

.share-btn-v2.whatsapp {
    background: #25d366;
}

.share-btn-v2.link {
    background: #64748b;
}

.share-btn-v2:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.sidebar-news-v2-container {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 100px;
}

.sidebar-news-v2-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.sidebar-news-v2-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.sidebar-card-v2 {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
    transition: var(--transition);
    position: relative;
}

.sidebar-card-v2:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-card-v2:hover .sc-img img {
    transform: scale(1.1);
}

.sidebar-card-v2 h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.sidebar-card-v2:hover h5 {
    color: var(--primary-color);
}

.sc-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sc-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sc-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sc-date i {
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .news-detail-header-v2 h1 {
        font-size: 2.2rem;
    }

    .news-body-v2 {
        padding: 30px 20px;
    }
}

/* ===== Antrian / Queue Page ===== */
.antrian-section {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
.antrian-section::before,
.antrian-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .12;
    z-index: 0;
    pointer-events: none;
}

.antrian-section::before {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -120px;
    left: -100px;
    animation: antrianBlobFloat 10s ease-in-out infinite alternate;
}

.antrian-section::after {
    width: 450px;
    height: 450px;
    background: #38bdf8;
    bottom: -80px;
    right: -80px;
    animation: antrianBlobFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes antrianBlobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.08);
    }
}

.antrian-section .container {
    position: relative;
    z-index: 1;
}

/* Fullscreen toggle */
.btn-fullscreen {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    padding: .45rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-fullscreen:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, .25);
}

/* Header */
.antrian-header h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: .25rem;
}

.antrian-header .subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
}

.antrian-header .date-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    color: var(--secondary-color);
    padding: .45rem 1.2rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    margin-top: .75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.antrian-header .date-badge i {
    color: var(--primary-color);
}

/* Lab selector */
.lab-selector-wrapper {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
}

.lab-selector-wrapper .label-text {
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 600;
}

.btn-lab-selector {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: .55rem 1.4rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 99, 235, .25);
}

.btn-lab-selector:hover,
.btn-lab-selector:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, .35);
    color: #fff;
    background: #1d4ed8;
}

.lab-selector-wrapper .dropdown-menu {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: .5rem;
    margin-top: .5rem !important;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.lab-selector-wrapper .dropdown-item {
    color: #334155;
    border-radius: 10px;
    padding: .6rem 1rem;
    font-size: .88rem;
    font-weight: 500;
    transition: all .25s ease;
}

.lab-selector-wrapper .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Status cards */
.antrian-status-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.antrian-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
}

.antrian-status-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(37, 99, 235, .15);
}

.antrian-status-card.card-periksa::before {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.antrian-status-card.card-bayar::before {
    background: linear-gradient(90deg, #059669, #10b981);
}

.antrian-status-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.antrian-status-card.card-periksa .card-icon {
    background: var(--primary-light);
    color: var(--primary-color);
}

.antrian-status-card.card-bayar .card-icon {
    background: #ecfdf5;
    color: #059669;
}

.antrian-status-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.antrian-status-card.card-periksa:hover .card-icon {
    background: var(--primary-color);
    color: #fff;
}

.antrian-status-card.card-bayar:hover .card-icon {
    background: #059669;
    color: #fff;
}

.antrian-status-card .card-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: .5rem;
    color: var(--text-muted);
}

.antrian-status-card .queue-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: .3rem;
}

.antrian-status-card.card-periksa .queue-number {
    color: var(--primary-color);
}

.antrian-status-card.card-bayar .queue-number {
    color: #059669;
}

.antrian-status-card .patient-id {
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 500;
}

/* Queue table card */
.table-antrian-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-antrian-card .card-top-bar {
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
}

.table-antrian-card .card-top-bar h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.table-antrian-card .card-top-bar h5 .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: antrianDotPulse 2s ease-in-out infinite;
}

@keyframes antrianDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.table-antrian-card .card-top-bar .counter-badge {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: .35rem .9rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
}

/* Table */
.queue-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.queue-table thead th {
    background: #fafbfc;
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.queue-table tbody tr {
    transition: all .3s ease;
}

.queue-table tbody tr:hover {
    background: #f8faff;
}

.queue-table tbody td {
    color: #475569;
    font-size: .92rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.queue-table tbody tr:last-child td {
    border-bottom: none;
}

.queue-table .queue-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.queue-table .patient-name {
    font-weight: 700;
    color: var(--secondary-color);
}

.queue-table .species-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #f1f5f9;
    padding: .35rem .85rem;
    border-radius: 50px;
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* Status badges */
.antrian-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.antrian-badge.badge-pendaftaran {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.antrian-badge.badge-pemeriksaan {
    background: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid #bfdbfe;
    animation: antrianGlowPulse 3s ease-in-out infinite;
}

.antrian-badge.badge-pembayaran {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

@keyframes antrianGlowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }

    50% {
        box-shadow: 0 0 14px 3px rgba(37, 99, 235, .12);
    }
}

/* Empty state */
.antrian-empty-state {
    text-align: center;
    padding: 3.5rem 1rem;
}

.antrian-empty-state .empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.antrian-empty-state p {
    color: var(--text-muted);
    font-size: .95rem;
    font-weight: 500;
    margin: 0;
}

/* Fullscreen overrides */
.fullscreen-active .antrian-section {
    min-height: 100vh;
}

/* Entrance animation */
.antrian-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: antrianFadeUpIn .6s ease forwards;
}

.antrian-fade-up:nth-child(1) {
    animation-delay: .1s;
}

.antrian-fade-up:nth-child(2) {
    animation-delay: .2s;
}

.antrian-fade-up:nth-child(3) {
    animation-delay: .3s;
}

@keyframes antrianFadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 767.98px) {
    .antrian-header h2 {
        font-size: 1.6rem;
    }

    .antrian-status-card .queue-number {
        font-size: 2.2rem;
    }

    .queue-table thead th,
    .queue-table tbody td {
        padding: .75rem 1rem;
        font-size: .84rem;
    }
}