:root {
    --primary-color: #0f75bc;
    --secondary-color: #50352a;
    --accent-secondary-color: #f8bb13;
    --bg-color: #EFE7DA;
    --text-color: #868686;
    --accent-color: #0f75bc;
    --white-color: #FFFFFF;
    --divider-color: #0f75bc1A;
    --dark-divider-color: #F7F3ED1A;
    --error-color: rgb(230, 87, 87);
    --default-font: "Plus Jakarta Sans", sans-serif;
    --accent-font: "Lora", serif;
}

.bg-primary-2 {
    background-color: var(--accent-secondary-color);
}

.bg-primary-1 {
    background-color: var(--primary-color);
}

.text1 {
    color: var(--primary-color);
}

/************************************/
/*** 	   02. General css		  ***/
/************************************/
.custom-logo-link img {
    width: 130px;
    height: auto;
}

body {
    position: relative;
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1em;
}

p {
    line-height: 1.7em;
    margin-bottom: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2em;
    color: #000;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    outline: 0;
}

a:focus {
    text-decoration: none;
    outline: 0;
}

nav {
    background-color: var(--secondary-color);
}

.navbar-expand-lg .navbar-nav .nav-item {
    margin: 0 15px;
}

/* Wrapper */
.hover-click-dropdown {
    position: relative;
}

/* Dropdown menu base */
.hover-click-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    border: none;
    border-radius: 12px;
    padding: 5px;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

/* Hover open */
.hover-click-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* When clicked (JS will add .open) */
.hover-click-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.hover-click-dropdown .dropdown-item {
    padding: 10px 18px;
    font-size: 15px;
    color: #333;
    transition: all 0.2s ease;
}

/* Item hover effect */
.hover-click-dropdown .dropdown-item:hover {
    background: var(--secondary-color);
    color: #fff;
    padding-left: 22px;
}

/* Toggle arrow smooth */
.hover-click-dropdown .dropdown-toggle::after {
    transition: transform 0.25s ease;
}

/* Rotate arrow on open */
.hover-click-dropdown:hover .dropdown-toggle::after,
.hover-click-dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar-expand-lg .navbar-nav .nav-item:last-child {
    margin-right: 0px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.carousel-caption {
    position: inherit;
    left: inherit;
    right: inherit;
    bottom: inherit;
    background-color: var(--primary-color);
}

.carousel-caption h1 {
    color: #fff;
    margin-bottom: 10px;
}

.btn {
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 600;
}

.py-70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.news p {
    color: #646464;
    font-size: .9rem;
}

.marquee-content a {
    color: #000;
}

.marquee-content a:hover {
    color: var(--accent-color);
}

.news-marquee {
    height: 520px;
    /* adjust height */
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    flex-direction: column;
    animation: scrollUp 20s linear infinite;
}

.marquee-content {
    padding: 10px 0;
}

.marquee-content .text {
    display: none !important;
}

.list-post-type .list-item {
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
}
.list-post-type .list-item figure{
    display: none !important;
}
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.news-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.btn.bg-primary-1:hover {
    background-color: #0f588d;
}

footer h5 {
    margin-bottom: 40px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 18px;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    list-style-type: none;
    margin: 20px 0;
}

footer ul li a {
    color: #fff;
}

footer .contact i {
    width: 30px;
    height: 30px;
    font-size: 20px;
    float: inline-start;
}

.social-media li {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 10px 0;
    margin: 0 10px 0 0;
    line-height: 2.3;
    border-radius: 100px;
    background-color: #fff;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75);
    text-align: center;
}

.social-media li i {
    font-size: 25px;
    color: var(--accent-color);
}

.social-media li:hover {
    background-color: var(--accent-secondary-color);
}

.social-media li:hover i {
    color: #fff;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.popup-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.popup-close {
    position: absolute;
    top: -21px;
    right: -21px;
    background: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    font-size: 40px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.breadcrumbs {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page-banner {
    position: relative;
    background: url('images/slider.jpg') center center / cover no-repeat;
    padding: 90px 0;
    color: #fff;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .5px;
    color: #fff;
}

.breadcrumb-custom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 10px;
    font-size: 15px;
}

.breadcrumb-custom li {
    color: #f1f1f1;
}

.breadcrumb-custom li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.breadcrumb-custom li a:hover {
    color: #ffc107;
}

.breadcrumb-custom li::after {
    content: "/";
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb-custom li:last-child::after {
    content: "";
    margin: 0;
}

.value-box {
    background: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 14px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    transition: .4s ease;
}

.value-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .15);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
}

.value-box h5 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #212529;
}

.value-box p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}

.content p {
    margin: 10px 0;
}

.content li {
    margin: 10px 0;
}

.contact-section {
    background: #f8f9fa;
}

/* ===== Top Info Boxes ===== */
.contact-box {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 14px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .4s ease;
}

.contact-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
}

.contact-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-box p {
    font-size: 15px;
    color: #6c757d;
}

.contact-box a {
    color: #0d6efd;
    text-decoration: none;
}

/* ===== Form & Map Card ===== */
.contact-card,
.map-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    height: 100%;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 12px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu li a {
    padding: 15px 10px;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 600;
}
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: all .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-date {
    font-size: 13px;
    color: #999;
}

.blog-content h5 {
    margin: 8px 0;
}

.blog-content p {
    font-size: 14px;
    color: #666;
}

.read-more {
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* SIDEBAR */
.blog-sidebar .sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* CATEGORY SIDEBAR */
.category-list {
    padding: 0;
    margin: 0;
}

.category-list li {
    list-style: none;
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 10px;
    color: #222;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Left Accent Line */
.category-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0;
    background: #000;
    border-radius: 0 4px 4px 0;
    transform: translateY(-50%);
    transition: height 0.3s ease;
}

/* Hover Effect */
.category-list a:hover {
    background: #fff;
    transform: translateX(6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.category-list a:hover::before {
    height: 70%;
}

/* Optional Arrow Icon */
.category-list a::after {
    content: "→";
    font-size: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.category-list a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* LATEST POSTS SIDEBAR */
.latest-post {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.latest-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Image */
.latest-post img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Title */
.latest-post a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    text-decoration: none;
}

.latest-post a:hover {
    text-decoration: underline;
}

/* Date */
.latest-post span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #888;
}

/* SEARCH SIDEBAR */
.sidebar-search .search-wrap {
    position: relative;
}

.sidebar-search .search-wrap i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
}

.sidebar-search input.form-control {
    height: 48px;
    padding-left: 42px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
    box-shadow: none;
}

/* Focus – clean, no drama */
.sidebar-search input.form-control:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 1px #000;
}

/* PAGINATION WRAP */
.pagination-wrap {
    margin-top: 50px;
}

/* Base */
.pagination {
    gap: 8px;
}

.pagination .page-item .page-link {
    min-width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* Hover */
.pagination .page-item .page-link:hover {
    background: #f5f5f5;
    border-color: #000;
    color: #000;
}

/* Active */
.pagination .page-item.active .page-link {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Disabled */
.pagination .page-item.disabled .page-link {
    color: #aaa;
    border-color: #eee;
    background: #fafafa;
    pointer-events: none;
}

/* Remove Bootstrap focus glow */
.pagination .page-link:focus {
    box-shadow: none;
}

/* BLOG DETAIL */
.blog-detail {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
}

/* META */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.blog-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

/* TITLE */
.blog-title {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #111;
}

/* CONTENT */
.blog-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* POST NAVIGATION */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-nav {
    width: 50%;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.post-nav:hover {
    background: #f8f8f8;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.nav-label {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 6px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

/* MOBILE */
@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
    }

    .post-nav {
        width: 100%;
        text-align: left;
    }
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: #777;
    margin-bottom: 16px;
}

.blog-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    font-size: 14px;
    color: #555;
}

.hover-click-dropdown .nav-item {
    margin: 0 !important;
}

.carousel-control-next,
.carousel-control-prev {
    width: 50px !important;
    height: 50px !important;
    top: 35%;
    background-color: var(--secondary-color);
}