:root {
    /* --main-color: #4d306d; */
    --main-color: #b30202;
    --second-color: #0e1649;

    --bs-primary: #0e1649;
    --bs-primary-rgb: 1, 0, 53;

    /* opsional: agar teks yang kontras tetap putih */
    --bs-primary-text-emphasis: #0e1649;
    --bs-primary-bg-subtle: #e0e0f5; /* warna background ringan */
    --bs-primary-border-subtle: #0e1649;
}

.page-item.active .page-link {
    background-color: #0e1649;
    border-color: #0e1649;
    color: #fff;
}
.page-link {
    color: #0e1649;
}
.page-link:hover {
    color: #0e1649;
}
.card-header.bg-primary {
    background-color: #0e1649 !important;
    color: #fff !important; /* teks putih biar kontras */
}
.card-header {
    background-color: #0e1649 !important;
    color: #fff !important; /* teks putih biar kontras */
}

.btn-link {
    color: var(--main-color);
}

.btn-link {
    color: var(--main-color);
}

.bg-primary {
    background-color: var(--main-color) !important;
}

.main-color {
    background-color: var(--main-color) !important;
}

body {
    font-family: var(--site-font, 'Rubik'), sans-serif;
}

.container, .container-fluid, .container-sm,
.container-md, .container-lg, .container-xl, .container-xxl {
    padding-right: max(1rem, 2vw);
    padding-left:  max(1rem, 2vw);
}

.navbar-brand,
.nav-link {
    font-family: var(--site-font, 'Rubik'), sans-serif;
    font-weight: 600;
}

.sticky-top {
    border-bottom: solid 0.5px var(--second-color);
}

.carousel-img {
    height: 650px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 650px;
        object-fit: cover;
        object-position: center;
        width: auto;
    }
}

.blog-card {
    border: none;
    overflow: hidden;
    position: relative;
}

.blog-card img {
    width: 100%;
    height: auto;
}

.blog-card .date {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: var(--main-color);
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    width: 70px;
    border-radius: 5px;
}

.blog-card .author {
    font-size: 14px;
    color: var(--main-secondary);
}

.blog-card .read-more {
    font-size: 14px;
    font-weight: bold;

    color: var(--main-secondary);
}

.blog-card .read-more:hover {
    font-weight: bold;
    color: var(--main-color);
}

.testimonial-card {
    border: none;
    position: relative;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: var(--main-color);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: #ff3d68;
    font-family: Arial, sans-serif;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--main-color);
}

.profile {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.profile-name {
    font-size: 1rem;
    font-weight: bold;
}

.profile-role {
    font-size: 0.875rem;
    color: #6c757d;
}

.btn-hover-dark {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-hover-dark:hover {
    background-color: #fff;
    color: #000;
}

.footer {
    background-color: var(--main-color);
    color: white;
    padding: 40px 0;
}

.footer .col-md-4 {
    margin-bottom: 20px;
}

.footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    margin-right: 15px;
    font-size: 20px;
}

.footer .social-icons a:hover {
    color: var(--main-color);
}

.service-card {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover {
    background-color: var(--main-color);
    color: #fff;
}

.service-card:hover .service-icon {
    filter: invert(1);
}

.service-card:hover .btn-link {
    color: #fff;
}

.icon img {
    transition: filter 0.3s ease;
}

.btn-primary {
    background-color: var(--main-color);
    border-color: var(--second-color);
}

.btn-primary:hover {
    background-color: var(--second-color); /* Warna saat di-hover */
    border-color: var(--main-color);
    color: var(--main-color);
}

.bg-light {
    background-color: var(--second-color) !important;
}

.post {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.post img {
    width: 100%;
    height: auto !important;
    border-radius: 5px;
}

.post h2 {
    font-size: 24px;
    margin-top: 20px;
}

.post p {
    color: #555;
}

.post .author-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.post .author-info img {
    border-radius: 50%;
    margin-right: 10px;
    width: 70px !important;
}

.sidebar .recent-post img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    margin-right: 10px;
}

.sidebar .category-list li {
    list-style: none;
    margin-bottom: 10px;
}

.post-navigation {
    padding: 20px 0;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
}

.post-navigation a {
    color: #a8c5d4;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.post-navigation a:hover {
    color: #8ba4b0;
}

/* Menangani dropdown submenu */
.dropdown-submenu {
    position: relative;
}

/* Pastikan tidak ada konflik dalam pengaturan posisi */
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    right: auto;
    margin-top: 0;
    margin-left: 0.1rem;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.letter-spacing {
    letter-spacing: 3px; /* Mengatur jarak antar huruf */
}

/* Mengatur semua paragraf menggunakan text-justify */
.post p {
    /* text-align: justify; */
    /* Rata kiri dan kanan */
    font-size: 17px !important;
}

blockquote {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid #007bff;
    /* Garis tepi kiri dengan warna biru */
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post blockquote p {
    margin: 0;
    /* Menghilangkan margin dari elemen <p> */
}

.post blockquote em {
    color: #333;
    font-style: normal;
    /* Jika ingin menghilangkan gaya italic di dalam <em> */
}

.post blockquote:before {
    content: open-quote;
    font-size: 2em;
    color: #007bff;
    vertical-align: -0.4em;
    margin-right: 5px;
}

.post blockquote:after {
    content: close-quote;
    font-size: 2em;
    color: #007bff;
    vertical-align: -0.4em;
    margin-left: 5px;
}

.blog-card img {
    transition: transform 0.3s ease; /* Efek transisi yang halus */
}

.blog-card img:hover {
    transform: scale(1.1); /* Zoom in gambar sebesar 10% */
}

/* Warna saat dihover */
.footer .col-md-3 li:hover i,
.footer .col-md-3 li:hover a {
    text-decoration: none;
    color: rgb(228, 194, 5); /* Warna emas */
}

.dropdown-menu {
    min-width: 70px !important;
}

/* Preloader dipindahkan ke public/css/components/preloader.css */

/* Di file home.css */
.dropdown-menu {
    --bs-dropdown-link-active-bg: var(
        --second-color
    ); /* Mengganti warna latar belakang aktif */
}

canvas {
    max-height: 750px !important;
}

/* Custom styling untuk carousel */
.carousel-caption {
    text-align: left;
    left: 10%;
    right: 10%;
    bottom: 20%;
}

.carousel-caption.text-end {
    text-align: right;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-carousel {
    padding: 10px 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-carousel-1 {
    background: linear-gradient(45deg, var(--main-color), var(--second-color));
    border: none;
    color: white;
}

.btn-carousel:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.style-header {
    margin: 0;
    line-height: 1.2; /* Sesuaikan jarak antar baris */
    white-space: normal;
    overflow-wrap: break-word; /* Pastikan teks bisa membungkus jika terlalu panjang */
}

.video-hero {
    position: relative;
}
.video-hero .scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.25)
    );
    z-index: 1; /* scrim DI BAWAH tombol */
    pointer-events: none; /* jangan blokir klik */
}
.video-hero .overlay {
    z-index: 2;
}
.play-btn {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* ── Accordion: Accent style ──────────────────────────────── */
.bk-acc-accent { display: flex; flex-direction: column; gap: .5rem; }

.bk-acc-accent-item {
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid #0d6efd;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.bk-acc-accent-item.collapsed {
    border-left-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.bk-acc-accent-item.collapsed:hover {
    border-left-color: #93c5fd;
    box-shadow: 0 3px 10px rgba(13,110,253,.10);
}

.bk-acc-accent-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 1.1rem;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #0d6efd;
    cursor: pointer;
    text-align: left;
    gap: .5rem;
    transition: color .2s;
}
.bk-acc-accent-item.collapsed .bk-acc-accent-btn { color: #334155; }
.bk-acc-icon {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    color: #0d6efd;
    transition: color .2s;
}
.bk-acc-accent-item.collapsed .bk-acc-icon { color: #94a3b8; }

.bk-acc-accent-body {
    padding: 0 1.1rem 1rem;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.75;
    border-top: 1px solid #e2e8f0;
    padding-top: .75rem;
}

/* ── Accordion: Filled style ──────────────────────────────── */
.bk-acc-filled {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.bk-acc-filled-item { border-bottom: 1px solid rgba(255,255,255,.15); }
.bk-acc-filled-item:last-child { border-bottom: none; }

.bk-acc-filled-btn {
    width: 100%;
    display: block;
    padding: .95rem 1.25rem;
    background: #0d6efd;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
    position: relative;
}
.bk-acc-filled-btn::after {
    content: '▾';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .25s;
    font-size: 16px;
}
.bk-acc-filled-btn.collapsed {
    background: #f1f5f9;
    color: #334155;
}
.bk-acc-filled-btn.collapsed::after {
    transform: translateY(-50%) rotate(-90deg);
    color: #94a3b8;
}
.bk-acc-filled-btn:hover { filter: brightness(.95); }

.bk-acc-filled-body {
    padding: .9rem 1.25rem 1.1rem;
    background: #f8fafc;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.75;
}
