/**
* Template Name: KnightOne
* Template URL: https://bootstrapmade.com/knight-simple-one-page-bootstrap-template/
* Updated: Oct 16 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #282828; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #585757; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #585757; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(
        var(--accent-color) 50%,
        color-mix(in srgb, var(--accent-color), transparent 75%) 52%
    );
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header (halaman menu)
--------------------------------------------------------------*/
.header {
  --background-color: #ba2c2c;
  --default-color: #ffffff;
  --heading-color: #ffffff;

  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s ease;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

/*--------------------------------------------------------------
# Header untuk Landing Page
--------------------------------------------------------------*/
.header-home {
  background: transparent;
  position: fixed;
  width: 100%;
  padding: 10px 0;
  z-index: 999;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  border: none;
}

/* Efek saat di-scroll */
.header-home.scrolled {
  background: #ba2c2c; /* warna #8dbcc7 tapi transparan */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.header-home .logo {
    line-height: 1;
}

.header-home .logo img {
    max-height: 60px;
    margin-right: 8px;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 60px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 26px;
    margin: 0;
    border-radius: 50px;
    transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
    .header-home .logo {
        order: 1;
    }

    .header .logo {
        order: 1;
    }

    .header .logo h1 {
        font-size: 24px;
    }

    .header .cta-btn {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 20px;
    }

    .header .navmenu {
        order: 3;
    }
}

.org-chart {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.node {
  position: relative;
  background: linear-gradient(to bottom, #1e3c72, #2a5298);
  color: white;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 10px auto;
  width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.node strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.node small {
  font-size: 13px;
}

.foto {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #b40000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  font-weight: bold;
}

/* Garis penghubung vertikal */
.connector {
  width: 2px;
  background: #555;
  height: 30px;
  margin: 0 auto;
}

/* Barisan horizontal */
.children {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  position: relative;
}

/* Garis horizontal antar anak */
.children::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #555;
}

/* Garis koneksi vertikal ke bawah */
.children > div::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: #555;
  transform: translateX(-50%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu > ul > li {
        white-space: nowrap;
        padding: 15px 14px;
    }

    .navmenu > ul > li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: color-mix(in srgb, var(--nav-color), transparent 30%);
        font-size: 15px;
        padding: 0 2px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu > ul > li > a:before {
        content: "";
        position: absolute;
        height: 2px;
        bottom: -27px;
        left: 0;
        background-color: var(--nav-hover-color);
        visibility: hidden;
        width: 0px;
        transition: all 0.3s ease-in-out 0s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover > a:before,
    .navmenu .active:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 150px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 13px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(
            in srgb,
            var(--accent-color),
            transparent 90%
        );
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}
/* Footer Global */
.footer {
  font-size: 14px;
}

.footer p {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.footer hr {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--accent-color);
    border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
}

.page-title:before {
    content: "";
    background-color: color-mix(
        in srgb,
        var(--background-color),
        transparent 50%
    );
    position: absolute;
    inset: 0;
}

.page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, 
.section { 
    color: var(--default-color); 
    background-color: var(--background-color); 
    padding: 0px 0; 
    scroll-margin-top: 72px; 
    overflow: clip; 
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 57px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    padding-bottom: 5px;
    position: relative;
}

.section-title h2:after {
    content: "";
    position: absolute;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
}

.section-title p {
    margin-bottom: 0;
    color: color-mix(in srgb, var(--default-color) 90%, white 50%);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
    position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
    content: "";
    background: rgba(0, 0, 0, 0.4); /* efek gelap 40% (boleh diubah) */
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 10px 0 20px 0;
    font-size: 24px;
}

/* VIDEO WRAPPER */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* VIDEO FIT PAS */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain; /* 🔥 video tidak crop / tidak zoom */
  background: #000; /* biar aman */
  pointer-events: none;
}

/* Slide aktif */
.hero-bg-slideshow .slide.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .hero p {
        font-size: 18px;
        line-height: 24px;
    }
}


/*--------------------------------------------------------------
# Sambutan Section
--------------------------------------------------------------*/
.foto-profil {
    width: 250px; /* ukuran lingkaran */
    height: 250px;
    border-radius: 50%; /* lingkaran */
    overflow: hidden; /* potong gambar di luar lingkaran */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* bayangan */
    display: flex; /* supaya img center */
    justify-content: center;
    align-items: center;
}

.foto-profil img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* isi penuh tanpa gepeng */
}


.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.video-container {
  position: relative;
  z-index: 10000;
  max-width: 900px;
  width: 90%;
}

.video-container video {
  width: 100%;
  border-radius: 15px;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 45px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

  .video-wrapper video {
    filter: brightness(70%);
    transition: .3s;
  }
  .video-wrapper:hover video {
    filter: brightness(100%);
  }

/*--------------------------------------------------------------
# Sambutan Section
--------------------------------------------------------------*/
.sambutan {
    padding: 120px 0;
}

.sambutan h4 {
    font-size: 22px;
    color: #198754; /* hijau */
}

.sambutan .sambutan-text {
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
    text-align: justify;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about {
    background-color: #8dbcc7;
    color: #000000;
}

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

.about ul li {
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.about ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--accent-color);
}

.about .read-more {
    background: #ba2c2c;
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about .read-more i {
    font-size: 18px;
    margin-left: 5px;
    line-height: 0;
    transition: 0.3s;
}

.about .read-more:hover {
    background: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .read-more:hover i {
    transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# News Section
--------------------------------------------------------------*/
.news-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all ease-in-out 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    font-family: "Poppins";
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.news-content h3:hover {
    color: var(--accent-color);
}

.news-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #ffffff;
    margin-top: auto;
}

.news-footer .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-footer .views {
    margin-left: 8px;
    color: #777;
}

.news-footer .date {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}


/*--------------------------------------------------------------
# Profile Section
--------------------------------------------------------------*/
/* Tombol tab horizontal di atas gambar */
.struktur-tabs {
  gap: 10px;
}

.struktur-tabs button {
  background: #ba2c2c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.struktur-tabs button.active,
.struktur-tabs button:hover {
  background: #8a1f1f;
}

/* Konten gambar */
.struktur-content {
  display: none;
  margin-top: 15px; /* jarak tombol ke gambar */
}

.struktur-content.active {
  display: block;
}

.struktur-content h5 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

/*--------------------------------------------------------------
# PPID Section
--------------------------------------------------------------*/

.ppid-header-bar {
max-width: 1300px;
margin: 0 auto;   
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  padding: 20px 0;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.section-ppid {
  position: relative;
  background: url('../images/bg.jpg') center/cover no-repeat;
  padding: 60px 0;
}

.section-ppid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.466);
  z-index: 1;
}

.section-ppid > * {
  position: relative;
  z-index: 2;
}

.section-ppid .container {
  max-width: 1300px; /* sama seperti video di bawah */
  background-image: url('../images/galeri/PPID BERSAMA.jpeg');
  background-size: cover;
  background-position: top 20% center;
  background-repeat: no-repeat;
  border-radius: 0px;
  overflow: hidden;
  color: #000;
  position: relative;
  padding: 190px 20px;
  margin: 0 auto; /* biar center */
  height: 500px;
}

.section-ppid .container {
  position: relative;
  z-index: 1;                       /* supaya teks di atas overlay */
}
.section-ppid * {
  position: relative;
  z-index: 1;
}
/* Kotak pencarian */
.search-box input {
  width: 260px;
  border-radius: 25px;
  border: none;
  padding: 8px 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin: 0 auto; /* biar center */
}

.icon-box {
  width: 70px;
  margin: auto;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.icon-box:hover {
  transform: translateY(-5px);
}

/* Warna hover spesifik */
.icon-profil:hover { background-color: #CBEAF1; }   /* Biru muda */
.icon-visi:hover { background-color: #FFF3CD; }     /* Kuning pastel */
.icon-struktur:hover { background-color: #D4EDDA; } /* Hijau lembut */
.icon-tugas:hover { background-color: #F8D7DA; }    /* Merah muda */
.icon-jadwal:hover { background-color: #E0F7FA; }   /* Biru langit */

.btn-ppid {
  background-color: #8CBCC4; /* Warna biru muda seperti di gambar */
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0; /* Biar sudut kotak, bukan bulat */
  padding: 10px 30px;
  margin: 8px 0;
  display: inline-block;
  font-size: 16px;
  box-shadow: none;
  transition: all 0.3s ease;
  width: auto;
  min-width: 400px; /* biar tombol lebih panjang */
}

.btn-ppid:hover {
  background-color: #7AA9B1; /* sedikit lebih gelap saat hover */
  cursor: pointer;
}

/* ==========================
   DAFTAR INFORMASI PUBLIK
========================== */

.info-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px 15px;
    background-color: #ba2c2c;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 70px;
}

.info-btn:hover {
    background-color: #ba2c2c;
    color: #fff;
    transform: translateY(-3px);
}

/* khusus yang dikecualikan */
.info-btn.danger {
    background-color: #ba2c2c;
}

@media (max-width: 768px) {
    .info-btn {
        font-size: 14px;
        padding: 16px 10px;
    }
}

/* ======== TABEL UMUM UNTUK SEMUA BAGIAN PPID ======== */

/* Style umum tabel */
.table-custom {
  width: 100%;
  max-width: 940px; /* Biar lebar tabel pas seperti sebelumnya */
  margin: 0 auto; /* Tengah secara horizontal */
  border-collapse: collapse;
  border: 1px solid #0B1D4D; /* Biru tua */
  font-family: 'Poppins', sans-serif;
  text-align: left;
  font-size: 15px;
}

/* Header tabel */
.table-custom thead {
  background-color: #0B1D4D; /* Biru tua */
  color: white;
}

.table-custom thead th {
  padding: 12px 15px;
  border: 1px solid #0B1D4D;
  text-align: center;
}

/* Baris isi tabel */
.table-custom tbody td {
  padding: 12px 15px;
  border: 1px solid #cbd5e1; /* abu lembut */
}

/* Warna selang-seling baris */
.table-custom tbody tr:nth-child(even) {
  background-color: #E8F1F2; /* abu muda */
}
.table-custom tbody tr:nth-child(odd) {
  background-color: #ffffff; /* putih */
}

/* Link “Unduh” */
.table-custom a {
  color: #F28C38; /* oranye */
  font-weight: 600;
  text-decoration: none;
}

.table-custom a:hover {
  text-decoration: underline;
}

.section-ppid {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.bg-light {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.section-slogan {
  margin-top: 0;
  padding-top: 0;
  background: none; /* hilangkan abu-abu dari section utama */
  display: flex;
  justify-content: center; /* biar kontainer center */
}

.section-slogan .slogan-box {
  background-color: #f8f9fa; /* warna abu */
  max-width: 1300px; /* sama seperti banner */
  width: 100%;
  padding: 15px 0; /* jarak dalam */
  text-align: center;
}

/*--------------------------------------------------------------
# Lembaga Section
--------------------------------------------------------------*/

.section {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  margin-bottom: 40px;
}

.section h5 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

/* ===== Info Box ===== */
.info-box {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.info-box h6 {
  color: #0B1D4D;
  font-weight: 700;
  border-bottom: 1px dashed #0B1D4D;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

/* ===== Tabel Rinci ===== */
.info-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.info-table td {
  padding: 6px 8px;
  vertical-align: top;
}

.info-table td:first-child {
  width: 180px;
  font-weight: 600;
  color: #333;
}

.logo-cell {
  text-align: center;
  color: #777;
}

/* ===== Tabel Umum ===== */
.table-custom {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.table-custom th, .table-custom td {
  border: 1px solid #ccc;
  padding: 8px 10px;
}

.table-custom thead th {
  background-color: #0B1D4D;
  color: white;
  text-align: center;
}

.table-custom tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-custom td:first-child {
  text-align: center;
}

/* ===== Toolbar (pencarian + jumlah entri) ===== */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.toolbar select,
.toolbar input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 13px;
}

/* ===== Pagination ===== */
.pagination-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.pagination {
  display: flex;
  gap: 5px;
}

.pagination button {
  border: 1px solid #ccc;
  background-color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.pagination .active {
  background-color: #0B1D4D;
  color: white;
  font-weight: 600;
}

/*--------------------------------------------------------------
# SOTK Section
--------------------------------------------------------------*/
.sotk-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all ease-in-out 0.3s;
    height: 300px;
    display: flex;
    flex-direction: column;
}

/* Overlay saat hover pada gambar */
.sotk-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.sotk-thumb img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Overlay selalu tampil */
.sotk-thumb .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: #ba2c2c;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;

    /* Penting: tampil selalu */
    opacity: 1;
    transform: translateY(0);
}

/* Hilangkan efek hover apapun */
.sotk-thumb:hover .overlay {
    opacity: 1;
    transform: none;
}

.sotk-thumb:hover img {
    transform: none;
}

.overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.overlay p {
    font-size: 14px;
    margin: 5px 0 0;
}

.sotk-content {
    font-family: "Poppins";
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sotk-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.sotk-content p {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-wrapper,
.sotk-wrapper {
  position: relative;
}

.news-arrow,
.sotk-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  color: #c62828;
  background: rgba(255,255,255,0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: .3s;
}

.news-arrow:hover,
.sotk-arrow:hover {
  background: #c62828;
  color: white;
}
.news-prev,
.sotk-prev {
  left: -78px;
}

.news-next,
.sotk-next {
  right: -78px;
}

/* Sembunyikan arrow di HP (max-width 576px) */
@media (max-width: 576px) {
  .news-arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .news-arrow {
    display: none !important;
  }
}

.sotk-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #ffffff;
    margin-top: auto;
}

.sotk-footer .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sotk-footer .views {
    margin-left: 8px;
    color: #777;
}

.sotk-footer .date {
    background: var(--accent-color);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.geo-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2rem;
}

.geo-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.geo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.geo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
}

.geo-list i {
  color: #0d6efd;
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f1f5ff;
  padding: 14px 16px;
  border-radius: 14px;
}

.info-badge i {
  font-size: 24px;
  color: #0d6efd;
}

.dusun-item {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: 0.3s;
}

.dusun-item:hover {
  background: #e9f0ff;
}

/*--------------------------------------------------------------
# Penduduk Section
--------------------------------------------------------------*/
.box-card {
    width: auto;        
    max-width: 320px;   
    margin: auto; 
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.legend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 20px; 
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.call-to-action:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.call-to-action .container {
    position: relative;
    z-index: 3;
}

.call-to-action h3 {
    color: var(--default-color);
    font-size: 28px;
    font-weight: 700;
}

.call-to-action p {
    color: var(--default-color);
}

.call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    background: var(--accent-color);
    color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
    position: relative;
    min-height: 400px;
}

.features .features-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.features .features-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.features .features-item i {
    font-size: 48px;
    color: var(--accent-color);
    margin-right: 20px;
    line-height: 0;
}

.features .features-item p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .clients-wrap {
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 85%);
    border-left: 1px solid
        color-mix(in srgb, var(--default-color), transparent 85%);
}

.clients .client-logo {
    background-color: var(--surface-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid
        color-mix(in srgb, var(--default-color), transparent 85%);
    border-bottom: 1px solid
        color-mix(in srgb, var(--default-color), transparent 85%);
    overflow: hidden;
}

.clients .client-logo img {
    padding: 50px;
    max-width: 80%;
    transition: 0.3s;
}

@media (max-width: 640px) {
    .clients .client-logo img {
        padding: 30px;
        max-width: 50%;
    }
}

.clients .client-logo:hover img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
    padding: 120px 0;
    position: relative;
    clip-path: inset(0);
}

.stats img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.stats:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 20%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.stats .container {
    position: relative;
    z-index: 3;
}

.stats .subheading {
    text-align: center;
}

.stats .subheading h3 {
    font-weight: 700;
    font-size: 36px;
}

.stats .stats-item {
    padding: 30px;
    width: 100%;
}

.stats .stats-item span {
    font-size: 48px;
    display: block;
    color: var(--default-color);
    font-weight: 700;
}

.stats .stats-item p {
    padding: 0;
    margin: 0;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* DEFAULT = GRID (untuk desktop dan tablet) */
.gallery-swiper .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* HP MODE → ubah jadi slider */
@media (max-width: 576px) {

  .gallery-swiper .swiper-wrapper {
    display: flex !important;   /* aktifkan slider */
  }

  .swiper-slide {
    width: 100% !important;
  }
}

/*--------------------------------------------------------------
# Maps Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0px 5px 90px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.pricing .pricing-item h3 {
    padding: 15px;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.pricing .pricing-item h4 {
    color: var(--accent-color);
    font-size: 42px;
    font-family: var(--default-font);
    font-weight: 500;
}

.pricing .pricing-item h4 sup {
    font-size: 20px;
    top: -15px;
    left: -3px;
}

.pricing .pricing-item h4 span {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 16px;
    font-weight: 300;
}

.pricing .pricing-item ul {
    padding: 20px 0;
    list-style: none;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
}

.pricing .pricing-item ul li {
    padding-bottom: 16px;
}

.pricing .pricing-item ul .na {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    text-decoration: line-through;
}

.pricing .pricing-item .btn-wrap {
    padding: 15px;
    text-align: center;
}

.pricing .pricing-item .btn-buy {
    color: var(--accent-color);
    background-color: transparent;
    border: 2px solid var(--accent-color);
    display: inline-block;
    padding: 10px 40px 12px 40px;
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--heading-font);
    font-weight: 600;
    transition: 0.3s;
}

.pricing .pricing-item .btn-buy:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .recommended .btn-buy {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .recommended .btn-buy:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .recommended-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-size: 13px;
    padding: 3px 25px 6px 25px;
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    border-radius: 50px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Box Visi & Misi --- */
.visi-box,
.misi-box {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 0;
}

.visi-box h3,
.misi-box h3 {
    background-color: #f3a44b; /* warna orange bagian atas */
    color: #000;
    font-weight: 700;
    padding: 12px;
    margin: 0;
}

.visi-box .faq-content,
.misi-box .faq-content {
    padding: 20px;
}

.visi-box p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.misi-box ol {
    padding-left: 20px;
    margin: 0;
}

.misi-box ol li {
    font-size: 18px;
    line-height: 1.8;
}

/* Responsif */
@media (max-width: 768px) {
    .visi-box p,
    .misi-box ol li {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
# Structure Section
--------------------------------------------------------------*/

.struktur-section {
    padding: 40px;
}

.struktur-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* === BAGIAN KIRI === */
.struktur-left {
    flex: 1.3;
}

.struktur-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.struktur-content.active {
    display: block;
}

.struktur-content h5 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.struktur-content img {
    width: 100%;
    height: auto;
}

/* === BAGIAN KANAN === */
.struktur-right {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* === MENU TAB HORIZONTAL === */
.tab-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    width: 65%;
}

.tab-header button {
    background: none;
    border: none;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.tab-header button.active {
    color: #004aad;
    font-weight: 700;
}

/* Garis bawah animasi di tombol aktif */
.tab-header button.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #004aad;
    transition: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts article {
    background: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.recent-posts .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.recent-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-bottom: 10px;
}

.recent-posts .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.recent-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.recent-posts .title a:hover {
    color: var(--accent-color);
}

.recent-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.recent-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.recent-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item {
    margin-top: 40px;
}

.contact .info-item i {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .php-email-form {
    height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .swiper-wrapper {
    height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
    width: 48px;
    height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 24px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {
    .portfolio-details .swiper-button-prev,
    .portfolio-details .swiper-button-next {
        display: none;
    }
}

.portfolio-details .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.portfolio-details .portfolio-info h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    bottom: 0;
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
    text-transform: uppercase;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
    padding: 8px 40px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50px;
    transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
    padding: 30px 30px 0 30px;
    position: relative;
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50px;
    border: 6px solid var(--background-color);
    float: left;
    margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 5px 0;
    padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
    font-style: italic;
    margin: 0 0 15px 0 0 0;
    padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.service-details .services-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid
        color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.service-details .services-list a.active {
    color: var(--heading-color);
    font-weight: 700;
    border-color: var(--accent-color);
}

.service-details .services-list a:hover {
    border-color: var(--accent-color);
}

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.service-details ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.service-details ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.blog-posts .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.blog-posts .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.blog-posts .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog-posts .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.blog-posts .title a:hover {
    color: var(--accent-color);
}

.blog-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.blog-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.blog-posts .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}

/* Card berita */
.blog-posts article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

/* Hover card */
.blog-posts a:hover article {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Gambar */
.blog-posts .post-img {
    overflow: hidden;
}

.blog-posts .post-img img {
    transition: transform 0.4s ease;
}

/* Judul */
.blog-posts .title {
    transition: color 0.3s ease;
}

.blog-posts a:hover .title {
    color: #ba1414; /* hijau Bootstrap */
}

/* Cursor */
.blog-posts a {
    display: block;
    height: 100%;
}

/* Item berita lainnya */
.berita-hover {
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.berita-slider {
    transition: opacity 0.3s ease-in-out;
}

.berita-slider.fade-out {
    opacity: 0;
}


/* Hover effect */
a:hover .berita-hover {
    background-color: #f8f9fa;
    transform: translateX(6px);
}

/* Gambar */
.berita-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Judul */
.berita-title {
    font-size: 14px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

a:hover .berita-title {
    color: #bf1717;
}

/* Deskripsi */
.berita-desc {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 4px;
}

/* Tanggal */
.berita-time {
    font-size: 12px;
    color: #adb5bd;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
    padding-top: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-pagination li {
    margin: 0 5px;
    transition: 0.3s;
}

.blog-pagination li a {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
    color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
    padding-bottom: 30px;
}

.blog-details .article {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog-details .title {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 30px 0;
}

.blog-details .content {
    margin-top: 20px;
}

.blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog-details .content blockquote {
    overflow: hidden;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog-details .content blockquote p {
    color: var(--default-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog-details .content blockquote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog-details .meta-top {
    margin-top: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog-details .meta-top ul li + li {
    padding-left: 20px;
}

.blog-details .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

.blog-details .meta-bottom {
    padding-top: 10px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    display: inline;
}

.blog-details .meta-bottom a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
    color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
}

.blog-details .meta-bottom .cats li {
    display: inline-block;
}

.blog-details .meta-bottom .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
}

.blog-details .meta-bottom .tags li {
    display: inline-block;
}

.blog-details .meta-bottom .tags li + li::before {
    padding-right: 6px;
    color: var(--default-color);
    content: ",";
}

.blog-details .meta-bottom .share {
    font-size: 16px;
}

.blog-details .meta-bottom .share i {
    padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
    padding: 10px 0;
}

.blog-comments .comments-count {
    font-weight: bold;
}

.blog-comments .comment {
    margin-top: 30px;
    position: relative;
}

.blog-comments .comment .comment-img {
    margin-right: 14px;
}

.blog-comments .comment .comment-img img {
    width: 60px;
}

.blog-comments .comment h5 {
    font-size: 16px;
    margin-bottom: 2px;
}

.blog-comments .comment h5 a {
    font-weight: bold;
    color: var(--default-color);
    transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
    color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
    padding-left: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
    font-size: 20px;
}

.blog-comments .comment time {
    display: block;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
    padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
    padding-top: 10px;
}

.comment-form form {
    background-color: var(--surface-color);
    margin-top: 30px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
    font-weight: bold;
    font-size: 22px;
}

.comment-form form p {
    font-size: 14px;
}

.comment-form form input {
    background-color: var(--surface-color);
    color: var(--default-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
    font-size: 14px;
    border-radius: 4px;
    padding: 10px 10px;
}

.comment-form form input:focus {
    color: var(--default-color);
    background-color: var(--surface-color);
    box-shadow: none;
    border-color: var(--accent-color);
}

.comment-form form input::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
    background-color: var(--surface-color);
    color: var(--default-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
    border-radius: 4px;
    padding: 10px 10px;
    font-size: 14px;
    height: 120px;
}

.comment-form form textarea:focus {
    color: var(--default-color);
    box-shadow: none;
    border-color: var(--accent-color);
    background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
    margin-bottom: 25px;
}

.comment-form form .btn-primary {
    border-radius: 4px;
    padding: 10px 20px;
    border: 0;
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
    color: var(--contrast-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
    background-color: var(--surface-color);
    padding: 30px;
    margin: 60px 0 30px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.widget-item {
    margin-bottom: 40px;
}

.widget-item:last-child {
    margin-bottom: 0;
}

.blog-author-widget img {
    max-width: 120px;
    margin-right: 20px;
}

.blog-author-widget h4 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 0px;
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
    margin: 5px 0;
}

.blog-author-widget .social-links a {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    margin-right: 5px;
    font-size: 18px;
}

.blog-author-widget .social-links a:hover {
    color: var(--accent-color);
}

.blog-author-widget p {
    font-style: italic;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin: 10px 0 0 0;
}

.search-widget form {
    background: var(--background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
    padding: 3px 10px;
    position: relative;
    border-radius: 50px;
    transition: 0.3s;
}

.search-widget form input[type="text"] {
    border: 0;
    padding: 4px 10px;
    border-radius: 4px;
    width: calc(100% - 40px);
    background-color: var(--background-color);
    color: var(--default-color);
}

.search-widget form input[type="text"]:focus {
    outline: none;
}

.search-widget form button {
    background: none;
    color: var(--default-color);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    font-size: 16px;
    padding: 0 16px;
    transition: 0.3s;
    line-height: 0;
}

.search-widget form button i {
    line-height: 0;
}

.search-widget form button:hover {
    color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
    border-color: var(--accent-color);
}

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

.categories-widget ul li {
    padding-bottom: 10px;
}

.categories-widget ul li:last-child {
    padding-bottom: 0;
}

.categories-widget ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.categories-widget ul a:hover {
    color: var(--accent-color);
}

.categories-widget ul a span {
    padding-left: 5px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
}

.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
    margin-bottom: 0;
}

.recent-posts-widget .post-item img {
    width: 80px;
    margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
    color: var(--default-color);
    transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
    color: var(--accent-color);
}

.recent-posts-widget .post-item time {
    display: block;
    font-style: italic;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

.tags-widget ul li {
    display: inline-block;
}

.tags-widget ul a {
    background-color: color-mix(in srgb, var(--default-color), transparent 94%);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    border-radius: 50px;
    font-size: 14px;
    padding: 5px 15px;
    margin: 0 6px 8px 0;
    display: inline-block;
    transition: 0.3s;
}

.tags-widget ul a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.tags-widget ul a span {
    padding-left: 5px;
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 14px;
}
