/* Global styles */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Topbar Styles */
.topbar {
    background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
    padding: 0.4rem 0;
    font-size: 0.75rem;
}

.topbar-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .topbar-lang a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-weight: 600;
        padding: 0.2rem 0.6rem;
        border-radius: 3px;
        transition: all 0.3s ease;
        font-size: 0.75rem;
    }

        .topbar-lang a.active {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .topbar-lang a:not(.active):hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
        }

.topbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

    .topbar-links a {
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .topbar-links a:hover {
            color: rgba(255, 255, 255, 0.8);
        }

        .topbar-links a i {
            font-size: 0.9rem;
        }

    .topbar-links .separator {
        color: rgba(255, 255, 255, 0.4);
    }

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Custom styles for OJK navbar */
.navbar-ojk {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

    .navbar-ojk .navbar-brand img {
        height: 50px;
    }

    .navbar-ojk .nav-link {
        color: #333333;
        font-weight: 600;
        padding: 0.5rem 1rem;
        font-size: 14px;
        position: relative;
        transition: color 0.3s ease;
    }

        /* Underline effect only for non-dropdown links */
        .navbar-ojk .nav-link:not(.dropdown-toggle)::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: #a41e22;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .navbar-ojk .nav-link:hover,
        .navbar-ojk .nav-link.active {
            color: #a41e22;
        }

        .navbar-ojk .nav-link:not(.dropdown-toggle):hover::after,
        .navbar-ojk .nav-link:not(.dropdown-toggle).active::after {
            width: 80%;
        }

    /* Dropdown styles */
    .navbar-ojk .dropdown {
        position: relative;
    }

    .navbar-ojk .dropdown-menu {
        border: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 0.5rem 0;
        margin-top: 0;
        top: 100%;
    }

        /* Bridge gap between dropdown toggle and menu */
        .navbar-ojk .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 0;
            right: 0;
            height: 10px;
        }

    .navbar-ojk .dropdown-item {
        color: #333333;
        font-weight: 500;
        font-size: 14px;
        padding: 0.6rem 1.5rem;
        transition: all 0.3s ease;
        white-space: normal;
    }

        .navbar-ojk .dropdown-item:hover {
            background-color: #f8f9fa;
            color: #a41e22;
            padding-left: 1.8rem;
        }

        .navbar-ojk .dropdown-item.active,
        .navbar-ojk .dropdown-item:active {
            background-color: transparent;
            color: inherit;
        }

    .navbar-ojk .dropdown-toggle::after {
        margin-left: 0.3rem;
        vertical-align: 0.15em;
    }

    /* Dropdown hover behavior */
    .navbar-ojk .dropdown:hover .dropdown-menu,
    .navbar-ojk .dropdown-menu:hover {
        display: block;
    }

    /* Nested dropdown styles */
    .navbar-ojk .dropdown-submenu {
        position: relative;
    }

        .navbar-ojk .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -1px;
            margin-left: 0;
            display: none !important;
        }

            .navbar-ojk .dropdown-submenu .dropdown-menu.show {
                display: block !important;
            }

    .navbar-ojk .dropdown-item.dropdown-toggle {
        position: relative;
        white-space: normal;
    }

        .navbar-ojk .dropdown-item.dropdown-toggle::after {
            display: inline-block;
            margin-left: 0.5em;
            vertical-align: 0.255em;
            content: "";
            border-top: 0.3em solid transparent;
            border-right: 0;
            border-bottom: 0.3em solid transparent;
            border-left: 0.3em solid;
            position: absolute;
            right: 1rem;
            margin-top: 0.2em;
        }

    .navbar-ojk .dropdown-submenu .dropdown-item {
        padding-left: 2rem;
    }

@media (max-width: 991px) {
    .navbar-ojk .dropdown-submenu .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-left: 0;
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem;
    }

    .navbar-ojk .dropdown-submenu .dropdown-item {
        padding-left: 2.5rem;
    }
}


.search-box {
    position: relative;
    width: 200px;
}

    .search-box input {
        border: 1px solid #ddd !important;
        border-radius: 20px !important;
        padding: 0.4rem 2.5rem 0.4rem 1rem !important;
        font-size: 14px !important;
        width: 100% !important;
    }

        .search-box input:focus {
            outline: none !important;
            border-color: #a41e22 !important;
            box-shadow: 0 0 0 0.2rem rgba(164, 30, 34, 0.1) !important;
        }

    .search-box .search-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        cursor: pointer;
    }

.lang-selector {
    background-color: #a41e22;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .lang-selector:hover {
        background-color: #8a1a1e;
        color: white;
    }

/* Responsive adjustments */
@media (max-width: 991px) {
    .search-box {
        width: 100%;
        margin-top: 1rem;
    }

    .lang-selector {
        margin-top: 1rem;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: calc(100vh - 110px);
    color: white;
    overflow: hidden;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .hero-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
}

/* Fade-in animation from bottom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .hero-content h1 {
    animation: fadeInUp 0.8s ease-out;
}

.carousel-item.active .hero-content p {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.carousel-item.active .hero-content .hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    background-color: #c93a3e;
    color: white;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

    .hero-btn:hover {
        background-color: #a41e22;
        color: white;
    }

.hero-btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

    .hero-btn-outline:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

/* Carousel Navigation */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control-prev {
    left: calc((100% - 1140px) / 2);
}

.carousel-control-next {
    right: calc((100% - 1140px) / 2);
}

@media (max-width: 1199px) {
    .carousel-control-prev {
        left: calc((100% - 960px) / 2);
    }

    .carousel-control-next {
        right: calc((100% - 960px) / 2);
    }
}

@media (max-width: 991px) {
    .carousel-control-prev {
        left: calc((100% - 720px) / 2);
    }

    .carousel-control-next {
        right: calc((100% - 720px) / 2);
    }
}

@media (max-width: 767px) {
    .carousel-control-prev {
        left: calc((100% - 540px) / 2);
    }

    .carousel-control-next {
        right: calc((100% - 540px) / 2);
    }
}

@media (max-width: 575px) {
    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
    z-index: 10;
}

    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        margin: 0 5px;
    }

    .carousel-indicators .active {
        background-color: white;
    }

@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 70px);
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section p {
            font-size: 1rem;
        }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}


/* Publikasi Section Styles */
.publikasi-section {
    padding: 4rem 0;
    background-color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .publikasi-section.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

.btn-lihat-semua {
    background-color: #c93a3e;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

    .btn-lihat-semua:hover {
        background-color: #a41e22;
        color: white;
    }

.publikasi-card {
    background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .publikasi-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

.publikasi-card-large {
    min-height: 400px;
}

.publikasi-card-small {
    min-height: 180px;
}

.publikasi-card-content {
    position: relative;
    z-index: 2;
}

.publikasi-date {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.publikasi-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.publikasi-card-small .publikasi-title {
    font-size: 1.25rem;
}

.publikasi-excerpt {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.publikasi-card-small .publikasi-excerpt {
    font-size: 0.9rem;
}

.publikasi-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .publikasi-link:hover {
        color: white;
        opacity: 0.8;
    }

@media (max-width: 768px) {
    .publikasi-card-large,
    .publikasi-card-small {
        min-height: 280px;
    }

    .publikasi-title {
        font-size: 1.25rem;
    }
}

/* Berita Section Styles */
.berita-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .berita-section.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

.berita-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .berita-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.berita-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.berita-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.berita-decor-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

.berita-image-title {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.berita-content {
    padding: 1.5rem;
}

.berita-date {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.berita-excerpt {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.berita-link {
    color: #c93a3e;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .berita-link:hover {
        color: #a41e22;
    }

@media (max-width: 768px) {
    .berita-image {
        height: 200px;
    }

    .berita-image-title {
        font-size: 1.1rem;
    }
}

/* Agenda Section Styles */
.agenda-section {
    background-color: white;
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .agenda-section.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

.agenda-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.agenda-list {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agenda-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .agenda-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: transparent;
        border-radius: 8px 0 0 8px;
        transition: all 0.3s ease;
    }

    .agenda-item:hover {
        border-color: #c93a3e;
    }

    .agenda-item.active {
        background-color: #c93a3e;
        border-color: #c93a3e;
        color: white;
    }

        .agenda-item.active::before {
            background-color: #a41e22;
        }

.agenda-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.agenda-item.active .agenda-item-title {
    color: white;
}

.agenda-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.agenda-item-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agenda-item-meta i {
    width: 16px;
    font-size: 0.9rem;
}

.agenda-item.active .agenda-item-meta {
    color: rgba(255, 255, 255, 0.9);
}

.agenda-detail {
    flex: 1;
    background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
    border-radius: 12px;
    padding: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

    .agenda-detail::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.agenda-decor-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.agenda-detail-content {
    position: relative;
    z-index: 2;
}

.agenda-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.agenda-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.agenda-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.agenda-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agenda-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: capitalize;
}

    .agenda-info-label i {
        font-size: 1.1rem;
    }

.agenda-info-value {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 1.6rem;
}

.agenda-description-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.agenda-description-text {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .agenda-container {
        flex-direction: column;
    }

    .agenda-list {
        flex: 1;
    }

    .agenda-detail {
        min-height: 400px;
    }

    .agenda-detail-title {
        font-size: 1.5rem;
    }

    .agenda-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Infografis Section Styles */
.infografis-section {
    background-color: #f5f5f5;
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .infografis-section.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: #a41e22;
    }

.stat-card {
    background: linear-gradient(135deg, #7a1419 0%, #b83a3f 100%);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.stat-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.4;
}

.stat-card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-trend {
    font-size: 1.5rem;
    opacity: 0.8;
}

.stat-card-updated {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Decorative elements */
.card-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.decor-circle-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.decor-circle-2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -20px;
}

.decor-circle-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: 20px;
}

.decor-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
}

.decor-line-1 {
    width: 2px;
    height: 100px;
    top: 0;
    left: 30px;
    transform: rotate(15deg);
}

.decor-line-2 {
    width: 60px;
    height: 2px;
    bottom: 30px;
    right: 0;
}

.stat-card-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .stat-card {
        margin-bottom: 1.5rem;
    }

    .stat-card-value {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo-section {
    flex: 0 0 300px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-info {
    flex: 1;
}

    .footer-info h5 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: white;
    }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

    .footer-contact-item i {
        font-size: 1rem;
        margin-top: 0.25rem;
        color: #c93a3e;
    }

    .footer-contact-item a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-contact-item a:hover {
            color: #c93a3e;
        }

.footer-social {
    flex: 0 0 200px;
}

    .footer-social h5 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: white;
    }

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background-color: #c93a3e;
        color: white;
        transform: translateY(-3px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: white;
        }

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #c93a3e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top:hover {
        background-color: #a41e22;
        color: white;
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logo-section,
    .footer-info,
    .footer-social {
        flex: 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Breadcrumb Section Styles */
.breadcrumb-section {
    background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
    padding: 1.5rem 0;
    border-bottom: none;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .breadcrumb-item a:hover {
        color: white;
    }

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a i {
    margin-right: 0.25rem;
}

/* Publikasi Listing Section */
.publikasi-listing-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.publikasi-listing-header {
    margin-bottom: 3rem;
}

.publikasi-listing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.publikasi-listing-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Filter Section */
.publikasi-filters {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

    .filter-group:last-child {
        margin-bottom: 0;
    }

.filter-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    display: block;
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1.25rem;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .filter-tag:hover {
        background-color: #fff;
        border-color: #c93a3e;
        color: #c93a3e;
    }

    .filter-tag.active {
        background-color: #c93a3e;
        color: white;
        border-color: #c93a3e;
    }

.search-box-filter {
    position: relative;
}

    .search-box-filter input {
        width: 100%;
        padding: 0.75rem 1rem;
        padding-right: 3rem;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .search-box-filter input:focus {
            outline: none;
            border-color: #c93a3e;
        }

    .search-box-filter i {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

/* Publikasi Grid */
.publikasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.publikasi-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

    .publikasi-item.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    .publikasi-item:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }

.publikasi-item-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

    .publikasi-item-decorations .decor-circle {
        position: absolute;
        border-radius: 50%;
        background: rgba(201, 58, 62, 0.05);
    }

    .publikasi-item-decorations .decor-circle-1 {
        width: 80px;
        height: 80px;
        top: -20px;
        right: -20px;
    }

    .publikasi-item-decorations .decor-circle-2 {
        width: 50px;
        height: 50px;
        bottom: -10px;
        left: -10px;
    }
    
    .publikasi-item-content {
        height: 35rem;
    }

    .publikasi-item-image {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 1rem;
        aspect-ratio: 281 / 215;
    }

        .publikasi-item-image img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover; /* Biar proporsi gambar tetap bagus */
            object-position: center;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }

        .publikasi-item-image:hover img {
            transform: scale(1.05); /* Efek zoom lembut saat hover */
        }

.publikasi-regulasi-item-content {
    height: 20rem;
}

.publikasi-item-category {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.publikasi-item-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.publikasi-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.publikasi-item-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publikasi-item-link {
    color: #c93a3e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .publikasi-item-link:hover {
        gap: 0.75rem;
    }

    .publikasi-item-link i {
        transition: transform 0.3s ease;
    }

.publikasi-item:hover .publikasi-item-link i {
    transform: translateX(3px);
}

/* Pagination */
.publikasi-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .pagination-btn:hover {
        border-color: #c93a3e;
        color: #c93a3e;
    }

    .pagination-btn.active {
        background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
        color: white;
        border-color: transparent;
    }

@media (max-width: 768px) {
    .publikasi-listing-title {
        font-size: 2rem;
    }

    .publikasi-grid {
        grid-template-columns: 1fr;
    }

    .filter-tags {
        gap: 0.5rem;
    }

    .filter-tag {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

/* Berita Listing Section */
.berita-listing-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.berita-listing-header {
    margin-bottom: 3rem;
}

.berita-listing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.berita-listing-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Filter Section */
.berita-filters {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

    .filter-group:last-child {
        margin-bottom: 0;
    }

.filter-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    display: block;
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.5rem 1.25rem;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 25px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .filter-tag:hover {
        background-color: #fff;
        border-color: #c93a3e;
        color: #c93a3e;
    }

    .filter-tag.active {
        background-color: #c93a3e;
        color: white;
        border-color: #c93a3e;
    }

.search-box-filter {
    position: relative;
}

    .search-box-filter input {
        width: 100%;
        padding: 0.75rem 1rem;
        padding-right: 3rem;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .search-box-filter input:focus {
            outline: none;
            border-color: #c93a3e;
        }

    .search-box-filter i {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

/* Berita Grid */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.berita-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

    .berita-item.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    .berita-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.berita-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.berita-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.berita-decor-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}

.berita-item-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.berita-image-title {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.berita-content {
    padding: 1.5rem;
}

.berita-content-wepper {
    height: 15rem;
}

.berita-item-date {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.berita-item-excerpt {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    height: 100px;
    margin-bottom: 1.5rem;
}

.berita-item-link {
    color: #c93a3e;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .berita-item-link:hover {
        color: #a41e22;
    }
/* CSS Tambahan untuk Tags */


/* Pagination */
.berita-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .pagination-btn:hover {
        border-color: #c93a3e;
        color: #c93a3e;
    }

    .pagination-btn.active {
        background: linear-gradient(135deg, #c93a3e 0%, #7a1419 100%);
        color: white;
        border-color: transparent;
    }

@media (max-width: 768px) {
    .berita-listing-title {
        font-size: 2rem;
    }

    .berita-grid {
        grid-template-columns: 1fr;
    }

    .filter-tags {
        gap: 0.5rem;
    }

    .filter-tag {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}
/* Article Styles */
.article-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

/* Fade in animations */
.article-main-column {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .article-main-column.animate-in {
        opacity: 1;
        transform: translateX(0);
    }

.article-sidebar-column {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .article-sidebar-column.animate-in {
        opacity: 1;
        transform: translateX(0);
    }

.article-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

    .article-meta-item i {
        color: #c93a3e;
        font-size: 1rem;
    }

.article-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.article-body {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
}

    .article-body p {
        margin-bottom: 1.5rem;
    }

    .article-body h2 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .article-body h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #1a1a1a;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .article-body ul,
    .article-body ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

    .article-body li {
        margin-bottom: 0.75rem;
    }

.article-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.article-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .article-tag:hover {
        background-color: #c93a3e;
        color: white;
    }

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #c93a3e;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .share-btn:hover {
        transform: translateX(5px);
        color: white;
    }

.share-btn-facebook {
    background-color: #1877f2;
}

    .share-btn-facebook:hover {
        background-color: #0d65d9;
    }

.share-btn-twitter {
    background-color: #1da1f2;
}

    .share-btn-twitter:hover {
        background-color: #0c8bd9;
    }

.share-btn-whatsapp {
    background-color: #25d366;
}

    .share-btn-whatsapp:hover {
        background-color: #1fb854;
    }

.share-btn-linkedin {
    background-color: #0077b5;
}

    .share-btn-linkedin:hover {
        background-color: #005c8f;
    }

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    border-bottom: 1px solid #f0f0f0;
}

    .category-item:last-child {
        border-bottom: none;
    }

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .category-link:hover {
        color: #c93a3e;
        padding-left: 0.5rem;
    }

.category-count {
    background-color: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.related-article {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .related-article:last-child {
        border-bottom: none;
    }

    .related-article:hover {
        transform: translateX(5px);
    }

.related-article-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-article-content {
    flex: 1;
}

.related-article-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-article:hover .related-article-title {
    color: #c93a3e;
}

.related-article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.8rem;
}

    .related-article-date i {
        font-size: 0.85rem;
    }

@media (max-width: 991px) {
    .article-content {
        padding: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-featured-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        gap: 1rem;
    }
}

/* === Custom Select Styling === */
.custom-filter-select {
    background-color: #fff;
    border: 1.5px solid #ddd;
    border-radius: 25px;
    padding: 0.45rem 1rem;
    font-size: 0.95rem;
    color: #333;
    width: 100% !important;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658c-.566-.646-.106-1.658.753-1.658h9.592c.86 0 1.32 1.012.754 1.658l-4.796 5.482a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
}

    .custom-filter-select .dropdown-toggle {
        background-color: unset;
        border: unset;
    }

    .custom-filter-select:hover {
        border-color: #c93a3e;
    }

    .custom-filter-select:focus {
        outline: none;
        border-color: #c93a3e;
        box-shadow: 0 0 0 3px rgba(201, 58, 62, 0.1);
    }

    .custom-filter-select option {
        background-color: #fff;
        color: #333;
    }

.filter-btn {
    /* display: flex; */
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-left: 5px;
}

    .filter-btn i {
        font-size: 1.1rem;
    }

/* Bootstrap Select Custom Styles */
.bootstrap-select .dropdown-toggle {
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
}

    .bootstrap-select .dropdown-toggle:focus {
        outline: none !important;
        border-color: #c93a3e;
        box-shadow: 0 0 0 0.2rem rgba(201, 58, 62, 0.25);
    }

.bootstrap-select .dropdown-menu {
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .bootstrap-select .dropdown-menu li a {
        color: #333;
        transition: all 0.3s ease;
    }

        .bootstrap-select .dropdown-menu li a:hover {
            background-color: rgba(201, 58, 62, 0.1);
            color: #c93a3e;
        }

    .bootstrap-select .dropdown-menu li.selected a {
        background-color: #c93a3e;
        color: white;
    }

        .bootstrap-select .dropdown-menu li.selected a:hover {
            background-color: #a41e22;
            color: white;
        }

    .bootstrap-select .dropdown-menu li.active a {
        background-color: rgba(201, 58, 62, 0.1);
        color: #c93a3e;
    }

.bootstrap-select .bs-ok-default::after {
    border-width: 0 0.075em 0.075em 0;
}