:root {
    --primary-blue: #0A3D62;
    --brand-blue: #0F4C81;
    --brand-darkblue: #0B3356;
    --brand-red: #E63946;
    --brand-darkred: #C5221F;
    --brand-light: #F8FAFC;
    --accent-red: #D22B2B;
    --hover-red: #B01E1E;
    --light-bg: #F8F9FA;
    --text-main: #2D3748;
    --text-muted: #64748B;
    --white: #FFFFFF;
}

.nav-item {
    margin-right: 20px;
}

.custom-bg-image {
    /*
    background-image: url(../images/header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    */
    background-color: white;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-caption {
    width: 520px;
    height: 260px;
    margin-top: 200px;
    background-color: rgba(0, 0, 0, 0.5);
    /* 50% opacity */
    padding: 20px;
    /* Optional: adds space around text */
    border-radius: 10px;
    /* Optional: rounds the corners */
}

a {
    text-decoration: none;
}

.footer1 {
    /*background-color: #fbcb02;*/
    background-color: var(--brand-blue);
}

.col-reg {
    border-radius: 10px;
    box-shadow: 5px;
    margin: 0 auto;
    padding: 20px;
}

/*
.icon-circle {
    background-color: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 50px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
    
}
*/
.card_reg {
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card_reg:hover {
    transform: translateY(-5px);
    /* Moves card up slightly */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Adds a deep shadow */

}

.scroll-up {
    width: 50px;
    height: 50px;
    background-color: indigo;
    color: white;
    border-radius: 100%;
    display: grid;
    place-items: center;
    position: fixed;
    bottom: 40px;
    right: 40px;
    opacity: 0;
    transition: all 0.5s ease;
}

.scroll-up.scroll-active {
    opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Poppins', sans-serif;
}

/*
h1, h2, h3, h4, h5, h6 {
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    /*font-family: 'Geist Sans', sans-serif;*/
/*
}
*/
.fs-7 {
    font-size: 0.875rem !important;
}

/* 14px */
.fs-8 {
    font-size: 0.75rem !important;
}

/* 12px */
.fs-9 {
    font-size: 0.625rem !important;
}

/* 10px */
.fs-10 {
    font-size: 0.6875rem !important;
}

/* 11px */


/* geist-sans-latin-400-normal */
@font-face {
    font-family: 'Geist Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.3.0/latin-400-normal.woff2) format('woff2'),
        url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.3.0/latin-400-normal.woff) format('woff');
}

.btn-brand-red {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.55rem 1.4rem;
    transition: all 0.3s ease;
}

.btn-brand-red:hover {
    background-color: var(--brand-darkred);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
    transform: translateY(-2px);
}

.btn-brand-blue {
    background-color: var(--brand-blue);
    color: #ffffff;
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.55rem 1.4rem;
    transition: all 0.3s ease;
}

.btn-brand-blue:hover {
    background-color: var(--brand-darkblue);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.35);
    transform: translateY(-2px);
}

/* Hero Carousel Overlay & Height */
.hero-carousel .carousel-item {
    height: 560px;
    min-height: 420px;
    background-color: #0f172a;
}

.hero-carousel img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.carousel-caption-custom {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    left: 8%;
    right: 8%;
    text-align: left;
    z-index: 10;
}

.shadow-up-down {
    /* Offset-x Offset-y Blur-radius Spread-radius Color */
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.15),
        0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Section Titles */
.section-badge {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    display: inline-block;
}

.section-title {
    color: var(--brand-darkblue);
    font-weight: 700;
    position: relative;
}

/* Facilities Icon Container */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.icon-blue {
    background: rgba(15, 76, 129, 0.1);
    color: var(--brand-blue);
}

.icon-red {
    background: rgba(230, 57, 70, 0.1);
    color: var(--brand-red);
}

/* Banner Layanan Gradient */
.bg-layanan-gradient {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-blue) 60%, var(--brand-darkblue) 100%);
    border-radius: 24px;
}

/* Card Hover Effects */
.card-custom {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(15, 76, 129, 0.12);
    border-color: rgba(15, 76, 129, 0.2);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: var(--white);
    border-bottom: 1px solid #E2E8F0;
    padding: 15px 0;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Article Main Content */
.article-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 35px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .article-card {
        padding: 20px;
    }
}

.article-category {
    display: inline-block;
    background-color: rgba(210, 43, 43, 0.1);
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.825rem;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.article-title {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.6rem;
    }
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.author-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.featured-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.image-caption {
    background: rgba(10, 61, 98, 0.04);
    padding: 10px 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-left: 3px solid var(--accent-red);
    border-radius: 0 0 8px 8px;
}

/* Typography inside Post */
.post-body {
    font-size: 1.08rem;
    color: #334155;
    line-height: 1.85;
}

.post-body p {
    margin-bottom: 1.4rem;
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.7;
    margin-bottom: 25px;
}

.custom-quote {
    background-color: #F8FAFC;
    border-left: 5px solid var(--accent-red);
    padding: 22px 28px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.highlight-box {
    background-color: rgba(10, 61, 98, 0.05);
    border: 1px solid rgba(10, 61, 98, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.highlight-box h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
}

/* Article Tags & Share */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tag-badge {
    background-color: #EDF2F7;
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.tag-badge:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.share-buttons .btn-share {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.share-buttons .btn-share:hover {
    transform: translateY(-3px);
}

.bg-facebook {
    background-color: #1877F2;
}

.bg-twitter {
    background-color: #1DA1F2;
}

.bg-whatsapp {
    background-color: #25D366;
}

.bg-linkedin {
    background-color: #0A66C2;
}

/* Author Bio Card */
.author-card {
    background-color: #F8FAFC;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #E2E8F0;
    margin: 35px 0;
}

.author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Comments Section */
.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Sidebar Styling */
.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    padding: 25px;
    margin-bottom: 25px;
}

.widget-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent-red);
    display: inline-block;
}

.popular-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #E2E8F0;
}

.popular-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-news-thumb {
    width: 80px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-news-title {
    font-size: 0.925rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.popular-news-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.popular-news-title a:hover {
    color: var(--accent-red);
}

.event-badge-date {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 60px;
}

.event-badge-date .day {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.event-badge-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}