/**
* 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: "Raleway", 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: #c5a059; /* 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. */
  --footer-color: #7c191e;

  /* Warna Ori */
  /* --background-color: #ffffff; 
  --default-color: #444444; 
  --heading-color: #282828; 
  --accent-color: #C5A059; 
  --surface-color: #ffffff;
  --contrast-color: #ffffff; 
  --footer-color: #7414fa; */
  /* Warna Ori */
}

/* 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: #dfca9b; /* 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: #dfca9b; /* 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
--------------------------------------------------------------*/
.header {
  --background-color: #7c191e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  /* transition: all 0.3s; */
  transition: top 0.3s ease;
  z-index: 997;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  top: 36px;
}
.header.header-scrolled {
  top: 0;
}
/* .header.fixed-top {
  top: 36px;
  z-index: 1000;
} */

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

.header .logo img {
  max-height: 36px;
  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 .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;
  }
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #7c191e;
  top: 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
/* BTN MENU PPID */

/* Penyesuaian agar rapi saat dibuka di HP (Mobile Menu) */
@media (max-width: 1199px) {
  .navmenu .btn-ppid {
    margin-left: 0;
    margin-top: 15px;
    justify-content: center;
    width: fit-content;
  }
}
/* BTN MENU PPID */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu .btn-ppid {
    /* background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important; */
    color: #ffffff !important;
    padding: 6px 25px !important;
    border-radius: 50px !important;
    margin-left: 20px;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Bayangan lembut ke bawah */
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navmenu .btn-ppid i {
    font-size: 1.1rem;
  }

  .navmenu .btn-ppid:hover {
    background: linear-gradient(135deg, #5a1115 0%, #7c191e 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Bayangan lembut ke bawah */
    color: #ffffff !important;
  }

  /* BTN LOGIN */
  .navmenu .btn-login {
    /* background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important; */
    color: #ffffff !important;
    padding: 6px 20px !important;
    border-radius: 50px !important;
    margin-left: 10px;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navmenu .btn-login i {
    font-size: 1.1rem;
  }

  .navmenu .btn-login:hover {
    background: linear-gradient(135deg, #c804b5 0%, #7f02bd 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(25, 135, 84, 0.4);
    color: #ffffff !important;
  }
  /* BTN LOGIN */

  .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: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    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;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--footer-color);
  font-size: 14px;
  text-align: left;
  padding: 0px 0;
  position: relative;
  margin-top: 60px;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}
.footer h5 {
  font-size: 26px;
  font-weight: 600;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 5px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/* footer tambahan */

/* Tentang dengan logo */
.footer-about-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  justify-content: flex-start;
}

.footer-about-header img {
  width: 60%;
  height: auto;
}

.footer-about-header .footer-title {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 576px) {
  .footer-about-header {
    justify-content: center;
  }

  .footer-about-header img {
    width: 50%;
  }
}

.footer-contact,
.footer-links {
  list-style: none;
  padding: 0;
  justify-content: flex-start;
}

.footer-contact li,
.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cfd8dc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fd0dc5;
  padding-left: 5px;
}

/* Galeri */
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.footer-gallery img {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s;
}

.footer-gallery img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  background: #081421;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 13px;
  color: #90a4ae;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-gallery {
    justify-content: center;
  }
}
/* footer tambahan */

/* Tes Footer */
.footer-bottom {
  background: var(--footer-color);
  padding: 14px 0;
  margin-top: 40px;
  font-size: 13px;
  color: #9fb3c8;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* Copyright kiri */
/* .footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
} */

/* Sosial media kanan */
.footer-social a {
  color: #9fb3c8;
  font-size: 16px;
  margin-left: 12px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #0d6efd;
}

/* Responsive */
@media (max-width: 576px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-social a {
    margin-left: 8px;
    margin-right: 8px;
  }
}

/* Tes Footer */

/*--------------------------------------------------------------
# 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 0px 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: 32px;
  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: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

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

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

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

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  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;
  position: relative;
  padding: 80px 0;
  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: color-mix(in srgb, var(--background-color), transparent 30%);
  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;
}

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.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: var(--accent-color);
  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(--accent-color), transparent 20%);
}

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid var(--surface-color);
  height: 100%;
}

.services .service-item .icon {
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# 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 {
  position: relative;
}

.stats img {
  position: absolute;
  inset: 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%);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# 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 .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

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

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# 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: 38px;
  font-weight: 500;
  padding: 0;
  text-align: justify;
  font-family: var(--nav-font);
  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;
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 20px;
  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); */
  background-color: #d90827;
  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: 100px;
}

.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;
  text-align: justify;
  line-height: 1.9;
  font-size: 17px;
}
.blog-details break-after {
  display: block;
  margin-bottom: 14px;
  content: "";
}
.blog-details strong {
  display: block;
  margin: 20px 0 10px;
  font-weight: 600;
  font-size: 18px;
}

.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;
  text-align: justify;
}

.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 img:hover {
  transform: scale(1.1);
  transition: transform 0.3s;
}

.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(--footer-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;
}

/* slider berita*/

.news-slider {
  width: 100%;
}

.news-slider img {
  height: 90vh;
  object-fit: cover;
}

/* Overlay caption */
.news-caption {
  background: rgb(160, 4, 4);
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
}

/* Animasi teks */
.carousel-item .animate-caption {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.carousel-item.active .animate-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Fade antar slide */
.carousel-fade .carousel-item {
  transition: opacity 0.8s ease-in-out;
}

/* Cursor drag hint */
.carousel {
  cursor: grab;
}
.carousel:active {
  cursor: grabbing;
}

/* ===== NEWS CAPTION ===== */
.news-caption-custom {
  background: linear-gradient(135deg, #ce143f72, rgba(21, 60, 218, 0.255));
  padding: 25px 28px;
  border-radius: 14px;
  max-width: 1000px;
  animation: captionFadeUp 0.7s ease;
}

/* Badge kecil */
.news-badge {
  display: inline-block;
  background: #dfca9b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Judul */
.news-caption-custom h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #ffffff;
}
.news-caption-custom h3:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Deskripsi */
.news-caption-custom p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 18px;
}

.news-action .btn-news {
  background: white;
  color: #0d6efd;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.news-action .btn-news:hover {
  background: linear-gradient(135deg, #1d14ce72, rgba(21, 60, 218, 0.255));
  color: white;
}
/* Indikator Progres Bar ala Instagram Story */
.carousel-indicators {
  bottom: 5px;
  gap: 10px;
}
.carousel-indicators button {
  height: 4px;
  border-radius: 4px;
  width: 40px !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}
.carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 0.4) !important;
}
.carousel-indicators button.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #fff;
  width: 100%;
  animation: progressIndicator 5s linear forwards; /* 5s = 5000ms sesuai interval */
}
@keyframes progressIndicator {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ===== BUTTON CUSTOM ===== */
.btn-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-news span {
  transition: transform 0.3s ease;
}

.btn-news:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
  transform: translateY(-2px);
}

.btn-news:hover span {
  transform: translateX(4px);
}

/* ===== ANIMASI ===== */
@keyframes captionFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .news-caption-custom {
    max-width: 100%;
    padding: 18px;
  }

  .news-caption-custom h3 {
    font-size: 1.4rem;
  }
}
.btn-news-outline {
  border: 2px solid #0d6efd;
  color: #0d6efd;
  background: transparent;
}
.btn-news-outline:hover {
  background: #0d6efd;
  color: #fff;
}
.btn-news {
  background: linear-gradient(135deg, #00695c, #004d40);
}

/* =========================================
       CUSTOM CSS TOPBAR (FIXED ALIGNMENT)
    ========================================= */
.topbar-modern {
  /* background: linear-gradient(135deg, #00695c, #004d40); */
  color: #e2e8f0 !important;
  font-size: 0.85rem;

  /* KUNCI PERBAIKAN: Reset padding bawaan template dan kunci tinggi */
  padding: 0 !important;
  min-height: 42px;
  display: flex !important;
  align-items: center !important;
  /* Paksa ke tengah secara vertikal */
  /* border-bottom: 2px solid #0d6efd; */
}

/* Memastikan container di dalamnya merentang penuh dan sejajar */
.topbar-modern .topbar-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  /* Tengah vertikal */
  margin: 0 auto;
  /* Tengah horizontal */
}

/* Reset margin elemen bawaan yang sering bikin mepet ke bawah */
.topbar-modern p,
.topbar-modern span,
.topbar-modern div {
  margin-bottom: 0 !important;
  line-height: 1.2;
}

.topbar-modern i {
  color: #ffffff;
  display: flex;
  align-items: center;
}

/* CSS Animasi Ticker (Tetap Sama) */
.topbar-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  display: flex;
  align-items: center;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-slide 30s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
  cursor: default;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding-right: 4rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Efek Media Sosial */
.topbar-social a {
  color: #94a3b8;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.topbar-social a:hover {
  color: #ffffff;
  background-color: #0d6efd;
  transform: translateY(-2px);
}

/* TOP BAR */
.topbar {
  /* background: linear-gradient(135deg, #c804b5 0%, #7f02bd 100%) !important; */
  background: #c5a059;
  /* background: linear-gradient(90deg, #0163ed, #a313f1); */
  color: #e0e6ed;
  font-size: 13px;
  height: 36px;
  position: relative;
  z-index: 1002;
  /* transition: 0.5s; */
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 6px 0;
}

/* Kiri */
.topbar-time {
  white-space: nowrap;
}

.topbar-time i {
  color: #0d6efd;
  margin-right: 5px;
}

.time-separator {
  margin: 0 6px;
}

/* Tengah */
.topbar-marquee {
  flex: 1;
  overflow: hidden;
}

.topbar-marquee marquee {
  color: #e0e6ed;
}

/* Kanan */
.topbar-social {
  white-space: nowrap;
}

.topbar-social a {
  color: #e0e6ed;
  margin-left: 12px;
  font-size: 15px;
  transition: 0.3s;
}

.topbar-social a:hover {
  color: #0d6efd;
}

/* Responsive */
@media (max-width: 768px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .topbar-marquee {
    order: 3;
    width: 100%;
  }
}

/* =========================================
       PERBAIKAN KHUSUS MOBILE (Layar HP < 768px)
    ========================================= */
@media (max-width: 768px) {
  .topbar-modern {
    min-height: 38px; /* Dibuat sedikit lebih ramping di HP */
    font-size: 0.75rem; /* Ukuran teks diperkecil agar tidak kepanjangan */
  }

  /* Merapatkan jarak (gap) dan mengecilkan ikon pada bagian Waktu */
  .topbar-time {
    gap: 0.35rem !important;
  }
  .topbar-time i {
    font-size: 0.85rem;
  }

  /* Memperkecil tombol bulat media sosial agar proporsional */
  .topbar-social {
    gap: 0.35rem !important;
  }
  .topbar-social a {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  /* Memastikan container tidak menempel tajam ke ujung pinggir layar HP */
  .topbar-modern .topbar-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Penyesuaian ekstra untuk layar HP yang sangat sempit (misal < 360px) */
@media (max-width: 360px) {
  .topbar-time span#jam {
    letter-spacing: normal !important; /* Menghilangkan jarak antar huruf */
    font-size: 0.7rem;
  }
  .topbar-social a {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
}
/* TOP BAR */

/*----------------------------------------------------------------------------------------------- */

/* Tampil Berita HOME */
/* NEWS CARD */
/* === CARD STRUCTURE === */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* === IMAGE + HOVER === */
.news-thumb {
  position: relative;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover img {
  transform: scale(1.1);
}

/* overlay */
.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-thumb::after {
  opacity: 1;
}

.badge-floating {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #c5a059;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* === BODY === */
.news-card .card-body {
  flex-grow: 1;
}
.news-title {
  font-family: "Poppins", serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2c3e50;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.news-title:hover {
  color: #c5a059;
}

/* Ringkasan dibatasi */
.news-card .card-text {
  /* text-align: justify; */
  /* text-justify: inter-word; */

  display: -webkit-box;
  -webkit-line-clamp: 3; /* desktop */
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

/* Mobile clamp */
@media (max-width: 576px) {
  .news-card .card-text {
    -webkit-line-clamp: 2;
  }
}

/* === FOOTER === */
.news-card .card-footer {
  background: #fff;
  border-top: none;
}

.read-more {
  font-size: 14px;
  font-weight: 500;
  color: #c5a059;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* === SKELETON LOADING === */
/* === CARD STRUCTURE === */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* === IMAGE + HOVER === */
.news-thumb {
  position: relative;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover img {
  transform: scale(1.1);
}

/* overlay */
.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-thumb::after {
  opacity: 1;
}

/* === BODY === */
.news-card .card-body {
  flex-grow: 1;
}

/* Ringkasan dibatasi */
.news-card .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* desktop */
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

/* Mobile clamp */
@media (max-width: 576px) {
  .news-card .card-text {
    -webkit-line-clamp: 2;
  }
}

/* === FOOTER === */
.news-card .card-footer {
  background: #fff;
  border-top: none;
}

.read-more {
  font-size: 14px;
  font-weight: 500;
  color: #c5a059;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;

  color: #7c191e;
  background: transparent;
  border: 1px solid #7c191e;
  border-radius: 20px;

  transition: all 0.3s ease;
}
.btn-readmore:hover {
  background: #c5a059;
  color: #fff;
}
.btn-readmore i {
  transition: transform 0.3s ease;
}
.news-card:hover .btn-readmore i {
  transform: translateX(4px);
}

/* === SKELETON LOADING === */
.skeleton * {
  color: transparent !important;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: 4px;
}

@keyframes skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.skeleton img {
  visibility: hidden;
}

/* skeleton selesai */
.news-card.loaded .skeleton {
  animation: none;
  background: none;
}

/* SIDEBAR HOME PAGE*/
.sidebar-card {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

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

/* TITLE */
.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  border-left: 4px solid #c5a059;
  padding-left: 10px;
  margin-bottom: 15px;
  color: #7c191e;
}

/* POSTER SIDE BAR HOME */
.poster-sidebar {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.poster-sidebar img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-sidebar:hover img {
  transform: scale(1.08);
}

.poster-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-weight: 600;
}

.poster-caption small {
  display: block;
  font-weight: 400;
  opacity: 0.9;
}
.sidebar-sticky {
  position: sticky;
  top: 90px;
  /* sesuaikan tinggi navbar */
}

/* VISITOR */
.visitor-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px 10px;
  transition: all 0.3s ease;
}

.visitor-item span {
  font-size: 13px;
  color: #6c757d;
}

.visitor-item strong {
  display: block;
  font-size: 20px;
  color: #7c191e;
}

.visitor-item:hover {
  background: #c5a059;
  color: #fff;
}

.visitor-item:hover span,
.visitor-item:hover strong {
  color: #fff;
}

/* Agenda */
/* Modifikasi panah Accordion */
.custom-accordion .accordion-button::after {
  background-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Warna teks dan background saat Accordion terbuka */
.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--bs-primary) !important;
  background-color: transparent !important;
  box-shadow: none;
}

/* Hilangkan border biru saat di-klik (focus) */
.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

/* Animasi Hover (Geser kanan) */
.custom-accordion .accordion-item {
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease;
}
.custom-accordion .accordion-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .poster-card img {
    height: 130px;
  }
}

/* End Side Bar Berita Home Page */

/* ANIMASI MASUK */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate.show {
  opacity: 1;
  transform: none;
}

/* Hilangkan style default link */
.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Badge kategori */
.badge-kategori {
  font-size: 12px;
  margin-bottom: 8px;
  padding: 6px 10px;
}

/* Warna kategori */
.bg-berita {
  background: #05cfb3;
}
.bg-pengumuman {
  background: #dc3545;
}
.bg-agenda {
  background: #198754;
}
.bg-opini {
  background: #6f42c1;
}

/* Hover kategori */
.news-card:hover .badge-kategori {
  opacity: 0.9;
  transform: translateY(-1px);
  background-color: #c5a059;
}

.news-meta {
  font-size: 0.85rem;
  color: #888;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 15;
}

.news-meta i {
  color: #7c191e;
  margin-right: 4px;
}

/* Hover efek */
.news-card:hover .news-meta {
  color: #7c191e;
}
.news-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Hover read more */
.read-more {
  font-size: 14px;
  font-weight: 500;
  color: #d4166c;
}

.news-card:hover .read-more {
  text-decoration: underline;
}

.pagination .page-link {
  color: var(--insp-primary);
  border: none;
  margin: 0 4px;
  border-radius: 8px;
  font-weight: 600;
  background-color: #f8f9fa;
  transition: 0.3s;
}

.pagination .active .page-link,
.pagination .page-link:hover {
  background-color: var(--insp-primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(124, 25, 30, 0.2);
}

/* Tampil Berita HOME */
/*----------------------------------------------------------------------------------------------- */

/* =====================================================
   STRUKTUR ORGANISASI (TREE VIEW)
   ===================================================== */

/* =====================================================
    Modal Bagan Organisasi
   ===================================================== */
/* .modal-pejabat-modern {
  border-radius: 20px;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, #6f42c1, #0a58ca);
  color: #fff; */
/* padding: 30px 20px 20px; */
/* }
.modal-header h5 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}
.modal .badge {
  background: var(--background-color);
  color: #ffffff;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 50px;
}

.modal-avatar {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px; 
  border: 5px solid #fff;
  margin-bottom: 10px;
  display: block;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
}

.modal-body h6 {
  font-size: 16px;
  font-weight: 600;
}

.info-grid i {
  color: #fdd10d;
  margin-right: 6px;
}

.fungsi-list {
  list-style: none;
  padding-left: 0;
}

.fungsi-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.fungsi-list li i {
  color: #0d6efd;
  margin-top: 2px;
} */

/* =====================================================
 END MODAL BAGAN ORGANISASI
   ===================================================== */
/* =========================
   WRAPPER
========================= */
/* .org-wrapper {
    position: relative;
} */
/* .org-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
} */
.org-chart {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 40px 20px;
}

/* =========================
   ROW LEVEL
========================= */
.org-chart .row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  flex-wrap: wrap;
}

/* level khusus */
.level-1 {
  margin-bottom: 11px;
  justify-content: center;
}
.level-2 {
  margin-bottom: 10px;
  /* transform: translateX(400px); */
}
.level-3 {
  margin-bottom: 30px;
  /* transform: translateX(400px); */
}
.level-4 {
  margin-top: 10px;
}

/* spacer untuk posisi sekretaris */
.spacer {
  /* flex: 10px; */
  width: 160px;
}

/* =========================
   NODE / CARD
========================= */
.org-node {
  width: 220px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  cursor: pointer;
}

.org-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* foto */
.org-node img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* nama & jabatan */
.org-node .name {
  font-weight: 600;
  font-size: 15px;
}

.org-node .jabatan {
  font-size: 13px;
  color: #0d6efd;
  margin-top: 4px;
}

/* =========================
   CONNECTOR
========================= */
.connector {
  width: 2px;
  height: 45px;
  background: #dee2e6;
}

.connector.small {
  height: 30px;
}

/* =========================
   JUNCTION IRBAN
========================= */
/* .junction {
  width: 70%;
  height: 2px;
  background: #dee2e6;
  margin: 10px auto 0;
} */
/* =====================================================
   END STRUKTUR ORGANISASI (TREE VIEW)
   ===================================================== */
/* .node {
  text-align: center;
  cursor: pointer;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(159, 8, 8, 0.903);
  transition: 0.3s;
} */
/* .node:hover {
  transform: translateY(-6px);
}

.node-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.fungsi-list li {
  list-style: none;
  text-align: left;
  margin-bottom: 6px;
}
.fungsi-list i {
  color: #fd1d0d;
  margin-right: 6px;
}
.struktur-tree ul {
  padding-top: 40px;
}

.struktur-tree li {
  padding: 20px 15px;
}

.struktur-node {
  width: 300px; 
  height: 230px; 
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center;
  overflow: hidden; 
} */
/* 
.struktur-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.struktur-photo img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 14px;
}

.struktur-nama {
  margin: 12px 0 4px;
  font-weight: 600;
  font-size: 16px;
}

.struktur-jabatan {
  font-size: 13px;
  color: #6c757d;
} */

/* .struktur-tree {
  text-align: center;
  overflow-x: auto;
  padding: 30px 0;
} */

/* LIST UTAMA */
/* .struktur-tree ul {
  padding-top: 20px;
  position: relative;
  display: flex;
  justify-content: center;
} */

/* ITEM */
/* .struktur-tree li {
  list-style: none;
  text-align: center;
  position: relative;
  padding: 20px 0px 50px 0px;
} */

/* GARIS HORIZONTAL */
/* .struktur-tree li::before,
.struktur-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 2px solid #a40101;
  width: 50%;
  height: 20px;
} */

/* .struktur-tree li::before {
  right: 50%;
}

.struktur-tree li::after {
  right: auto;
  left: 50%;
} */

/* SINGLE CHILD */
/* .struktur-tree li:only-child::before,
.struktur-tree li:only-child::after {
  display: none;
} */

/* GARIS TURUN */
/* .struktur-tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px solid #a40101;
  width: 0;
  height: 20px;
}  */

/* CARD NODE */
/* .node {
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  cursor: pointer;
  margin: auto;
  text-align: center;
  display: inline-block;
  min-width: 220px;
}
.node strong {
  display: block;
  font-size: 14px;
}
.node span {
  font-size: 12px;
  color: #b00000;
}

.node:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
} */

/* FOTO */
.node-photo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0d6efd;
  background: #fff;
}

/* NAMA */
.node-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 10px;
  line-height: 1.3;
}

/* JABATAN */
.node-title {
  font-size: 14px;
  color: #ffffff;
}

/* KEPALA / PIMPINAN */
.node.kepala {
  background: linear-gradient(135deg, #0d6efd, #084298);
  color: #ffffff;
}

.node.kepala .node-title {
  color: #eaefe9;
}

.node.kepala img {
  border-color: #ffffff;
}
/* BARIS KHUSUS IRBAN */
.irban-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

/* JAGA GARIS TETAP RAPI */
/* .irban-row > li::before,
.irban-row > li::after {
  border-top: 2px solid #a40101;
} */

/* RESPONSIVE */
/* @media (max-width: 768px) {
  .struktur-tree ul {
    flex-direction: column;
  }

  .struktur-tree li::before,
  .struktur-tree li::after,
  .struktur-tree ul ul::before {
    display: none;
  }
}
@media (max-width: 992px) {
  .org-chart .row {
    gap: 30px;
    flex-wrap: wrap;
  }

  .junction {
    width: 90%;
  }
} */
/* =====================================================
   ANIMASI STRUKTUR ORGANISASI
   ===================================================== */

/* ANIMASI MASUK NODE */
/* @keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */
/* 
.struktur-tree li {
  animation: fadeDown 0.6s ease forwards;
}


/* ===== TUGAS POKO dan FUNGSI ===== */

.tupoksi-wrapper {
  padding: 80px 0 120px 0;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Desain Card Tugas Pokok (Standout/Wibawa) */
.tugas-box-premium {
  background: linear-gradient(145deg, #1e3a8a 0%, #0c4ee8 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-bottom: 6px solid #fbbf24;
  /* Garis emas di bawah */
}

.tugas-bg-icon {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.03);
  z-index: -1;
  transform: rotate(15deg);
}

.tugas-text-content {
  font-size: 1.35rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

/* Desain List Fungsi */
.fungsi-list-wrapper {
  margin-top: -20px;
  /* Menarik list sedikit ke atas agar menyatu dengan card tugas */
}

.fungsi-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #ffffff;
  padding: 1.8rem 2rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.fungsi-item-modern:hover {
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.08);
  border-color: rgba(251, 191, 36, 0.4);
  /* Border berubah sedikit keemasan saat hover */
}

.fungsi-icon-box {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background-color: rgba(30, 58, 138, 0.08);
  color: #1e3a8a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.fungsi-item-modern:hover .fungsi-icon-box {
  background-color: #1e3a8a;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.fungsi-text {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-top: 0.2rem;
}

/* Animasi Muncul Halus */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: revealAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes revealAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .tugas-box-premium {
    padding: 2.5rem 1.5rem;
  }

  .tugas-text-content {
    font-size: 1.15rem;
  }

  .fungsi-item-modern {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
}

/*--------------------------------------------------------------
start page header breadcrumb
--------------------------------------------------------------*/

.page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("/assets/img/header-bg.jpg") center/cover no-repeat;
}

.page-header .breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.page-header .breadcrumb a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.page-header .breadcrumb-item.active {
  color: #6b7280;
}

/*--------------------------------------------------------------
end page header breadcrumb
--------------------------------------------------------------*/

.breadcrumbs {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 14px;
  /* background: transparent; */
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px;
  margin-bottom: 50px;
  text-align: center;
  flex-wrap: wrap;
}
.breadcrumbs-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  color: #1f2937;
}
.breadcrumbs li {
  color: #555;
}
.breadcrumbs li.active {
  font-weight: bold;
  color: #0d3b66;
}
.breadcrumbs li::before {
  content: ">";
  margin: 0 8px;
  color: #999;
}

.breadcrumbs li:first-child::before {
  content: "";
}
/* Aktif saat ini */
.breadcrumbs-wrapper {
  margin-top: 56px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);

  /* WARNA ELEGAN */
  /* background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f1f5f9 100%); */
  position: relative;
  /* padding: 50px 0 20px; */
  text-align: center;
  padding: 80px 0 10px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* DISABLE BREADCRUMB DEFAULT KNIGHTONE */
.page-title,
.page-title .breadcrumbs {
  display: none !important;
}

.breadcrumbs-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.55); */
}
.breadcrumbs-wrapper nav {
  position: relative;
  z-index: 2;
  display: flex;
  /* text-align: center; */
}
.breadcrumbs-wrapper .container {
  position: relative;
  z-index: 2;
  /* background-color: violet; */
}
.breadcrumbs-wrapper {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .breadcrumbs-wrapper {
    margin-top: 48px;
    padding: 36px 15px 16px;
  }

  .breadcrumbs-title {
    font-size: 24px;
  }
}

/* end breadcrumbs  */
/*--------------------------------------------------------------
# end breadcrumbs
--------------------------------------------------------------*/

.news-share {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-share span {
  font-weight: 600;
}

.news-share a {
  font-size: 20px;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.news-share a:nth-child(2) {
  background: #1877f2;
} /* Facebook */
.news-share a:nth-child(3) {
  background: #000;
} /* Twitter/X */
.news-share a:nth-child(4) {
  background: #25d366;
} /* WhatsApp */
.news-share a:nth-child(5) {
  background: #0088cc;
} /* Telegram */

/* Gallery.php  */
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.3s;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-info h6 {
  font-weight: 600;
  margin-bottom: 2px;
}

.gallery-info small {
  color: #777;
}
/* Gallery.php  */

/*--------------------------------------------------------------
# Dokumen PHP
--------------------------------------------------------------*/
.table th {
  background: #f5f5f5;
}

.widget-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.table td i {
  font-size: 18px;
  margin-right: 8px;
}

.modal-body iframe {
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* End Dokumen PHP  */

/* Dokumen Page */
/* Strive-like hover effect */
.dokumen-card {
  transition: all 0.25s ease;
}

.dokumen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}
.btn[style*="linear-gradient"] {
  transition: all 0.25s ease;
}

.btn[style*="linear-gradient"]:hover {
  filter: brightness(1.08);
}
.dokumen-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Batasi deskripsi 3 baris */
.dokumen-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Dokumen Page */

/* ===== CKEDITOR CONTENT FIX ===== */
.content-berita {
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
}
.content-berita img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}
.sidebar-card {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.sidebar-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* =========================
   SIDEBAR BERITA POPULER
========================= */

/* Animasi Hover Khusus Kategori */
.kategori-item {
  background-color: #f8f9fa; /* Warna dasar abu-abu sangat terang */
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.kategori-item:hover {
  background-color: #ffffff;
  border-color: rgba(13, 110, 253, 0.3); /* Border biru transparan */
  transform: translateX(6px); /* Bergeser ke kanan sedikit */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.kategori-item:hover .kategori-text {
  color: var(--bs-primary) !important; /* Teks jadi biru */
}

.kategori-item:hover .kategori-badge {
  background-color: var(
    --bs-primary
  ) !important; /* Background badge jadi biru */
  color: #ffffff !important; /* Angka badge jadi putih */
  border-color: var(--bs-primary) !important;
}

.popular-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b2d72; /* biru bootstrap */
  text-align: justify;
  line-height: 1.4;
  text-decoration: none;
}

.popular-title:hover {
  color: #084298; /* biru lebih gelap */
  /* text-decoration: underline; */
}

/* =========================
   HERO LOGO LINK TERKAIT 
========================= */
/* 
.related-apps {
  border-top: 1px solid #eee;
}

.app-card {
  display: block;
  background: #fff;
  padding: 25px 20px;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.app-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
} */

.related-apps-section {
  position: relative;
  background: #f8f9fa;
  overflow: hidden;
}

/* Pattern 1 (kanan atas) */
.related-apps-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
  background: radial-gradient(
    circle at center,
    rgba(13, 110, 253, 0.12) 0%,
    rgba(13, 110, 253, 0.08) 30%,
    transparent 70%
  );
  z-index: 0;
}
/* Pattern 2 (kiri bawah) */
.related-apps-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: -120px;
  background: radial-gradient(
    circle at center,
    rgba(255, 193, 7, 0.12) 0%,
    transparent 70%
  );
  z-index: 0;
}
/* Pastikan konten di atas pattern */
.related-apps-section .container {
  position: relative;
  z-index: 1;
}

/* SWIPER WRAPPER FIX */
.relatedSwiper {
  padding: 10px 40px; /* ruang untuk panah */
}
/* SLIDE */
.relatedSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px; /* tinggi konsisten */
}

.app-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-item img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: 0.3s ease;
  filter: grayscale(15%);
}

.app-item img:hover {
  transform: scale(1.08);
  filter: grayscale(0%);
}
/* =========================
   HERO LOGO LINK TERKAIT 
========================= */

/* ===============================
   VISI PREMIUM SECTION
================================ */

.profil-wrapper {
  padding: 80px 0 120px 0;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* 1. Kiri: Sticky Visi Sidebar */
.sticky-visi {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  /* Jarak dari atas layar saat di-scroll */
  z-index: 10;
}

.visi-box-editorial {
  /* Menggunakan gradasi biru gelap keemasan untuk kesan Wibawa/Pengawasan */
  background: linear-gradient(145deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

/* Hiasan Lingkaran Abstrak di Visi */
.visi-box-editorial::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  border-radius: 50%;
}

.visi-title-tag {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fbbf24;
  /* Aksen emas untuk Inspektorat */
  margin-bottom: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.visi-title-tag::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(251, 191, 36, 0.5);
}

.visi-text-editorial {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.4;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* 2. Kanan: List Misi Scrolling */
.misi-wrapper {
  padding-left: 3rem;
}

@media (max-width: 991px) {
  .misi-wrapper {
    padding-left: 0;
    margin-top: 3rem;
  }

  .sticky-visi {
    position: relative;
    top: 0;
  }
}

.misi-header {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 2.5rem;
}

.misi-item-editorial {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.misi-item-editorial:hover {
  border-left-color: #fbbf24;
  /* Hover aksen emas */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  transform: translateX(8px);
  background: #ffffff;
}

.misi-num-editorial {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  transition: color 0.3s ease;
  min-width: 50px;
}

.misi-item-editorial:hover .misi-num-editorial {
  color: #1e3a8a;
  /* Angka menjadi biru gelap saat di-hover */
}

.misi-text-editorial {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  padding-top: 0.3rem;
}

/* Animasi Load */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: revealAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes revealAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   PREMIUM GOVERNMENT GALLERY
=============================== */

.gallery-header {
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
}

.gallery-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.gallery-header p {
  opacity: 0.9;
}

.gallery-wrapper {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Masonry */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 250px; /* 🔥 Semua sama tinggi */
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.gallery-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.gallery-item.show {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 penting supaya crop rapi */
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Pagination */
.pagination-wrapper {
  padding: 80px 0;
}

.pagination .page-link {
  border-radius: 30px !important;
  margin: 0 5px;
}

.pagination .active .page-link {
  background: #0d6efd;
  border-color: #0d6efd;
}

/* Materi Edukasi */
/* Latar belakang halaman (Opsional, jika belum diatur di style.css utama) */
#materi-edukasi {
  background-color: #f8fafc;
}

/* Style Header Banner */
.edu-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.edu-header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
}

/* Style Kartu Materi */
.edu-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.edu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.edu-card-top {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tombol Play Melayang untuk Video */
.play-btn-overlay {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.edu-card:hover .play-btn-overlay {
  transform: scale(1.15);
}

/* Utilities */
.cursor-pointer {
  cursor: pointer;
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-bg-light:hover {
  background-color: #f8f9fa !important;
}
/* Materi Edukasi */

/* =====================================================
   WBS
   ===================================================== */
.wbs-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.wbs-header::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(220, 38, 38, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
}
.wbs-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.form-control,
.form-select {
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}
.form-control:focus,
.form-select:focus {
  background-color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.15);
}
.file-drop-area {
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  background-color: #f8fafc;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.file-drop-area:hover {
  border-color: #dc2626;
  background-color: #fef2f2;
}
.step-box {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border-bottom: 4px solid #dc2626;
}
/* ========================================================
   PERBAIKAN FORM LACAK WBS KHUSUS MOBILE (ANDROID)
======================================================== */
@media (max-width: 767.98px) {
  /* 1. Paksa ukuran form turun dari Large (LG) ke Reguler */
  #formTrackWBS .input-group-lg > .form-control,
  #formTrackWBS .input-group-lg > .btn,
  #formTrackWBS .input-group-lg > .input-group-text {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    font-size: 0.85rem !important; /* Mengecilkan teks placeholder */
  }

  /* 2. Kurangi ruang kosong di sebelah kiri ikon tiket */
  #formTrackWBS .input-group-text {
    padding-left: 1rem !important;
    padding-right: 0.5rem !important;
  }

  /* 3. Kurangi ruang kosong di dalam tombol Lacak */
  #btnTrack {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
/* =====================================================
   WBS
   ===================================================== */

/* =====================================================
   STRUKTUR ORGANISASI NEW
   ===================================================== */
/* Struktru Organisasi NEW */

/* --- KARTU PEJABAT --- */
.org-card-modern {
  width: 100%; /* Mengikuti lebar kolom Bootstrap */
  max-width: 310px; /* Batas maksimal agar tidak terlalu raksasa di layar besar */
  margin: 0 auto; /* Menjaga kartu tetap di tengah kolom */
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Memastikan kontainer tombol juga mengikuti lebar kartu */
.btn-tim-wrapper {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
}
.org-card-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 20px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.org-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #7c191e);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.org-card-modern:hover {
  transform: translateY(-10px);
}
.org-card-modern:hover .org-card-inner {
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.12);
  border-color: rgba(13, 110, 253, 0.15);
}
.org-card-modern:hover .org-card-inner::before {
  opacity: 1;
}

/* --- AVATAR KARTU --- */
.avatar-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  transition: transform 0.4s ease;
}
.avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}
.org-card-modern:hover .avatar-container {
  transform: scale(1.08);
  background: linear-gradient(135deg, #c5a059);
}

.pejabat-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7c191e;
  margin-bottom: 12px;
  line-height: 1.4;
}
.pejabat-badge {
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 50rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  white-space: normal;
  line-height: 1.4;
}

/* --- SECTION LABEL STYLING --- */
.section-label {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 1.4rem;
  color: #2b3445;
}
.section-label::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #0d6efd;
  border-radius: 50rem;
}

/* --- MODAL KOMDIGI STYLE TWEAKS --- */
/* Tombol Close melayang di atas foto */
.btn-close-floating {
  background-color: #ffffff !important;
  border-radius: 50%;
  padding: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 1 !important;
  transition: all 0.2s;
}
.btn-close-floating:hover {
  transform: scale(1.1);
  background-color: #f8d7da !important;
}
/* --- CUSTOM SCROLLBAR MODAL --- */
.custom-scrollbar {
  overflow-x: hidden;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f8f9fa;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.area-tim-staf {
  transition: all 0.5s ease-in-out;
}
.org-minicard {
  /* Memastikan kartu mini punya lebar yang konsisten di dalam grid */
  height: 100%;
}

/* Hover Khusus Mini Card */
.org-minicard:hover {
  transform: translateY(-4px);
}
.org-minicard:hover .org-card-inner {
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.1);
}
.org-minicard .org-card-inner::before {
  display: none; /* Hilangkan garis gradasi atas di mini card */
}

/* ========================================================
   SIHIR CSS: RESPONSIF KHUSUS UNTUK TIM STAF
======================================================== */

/* 1. Kondisi Standar (Laptop/Desktop) */
.area-tim-staf .org-card-modern {
  max-width: 310px; /* Kartu tetap besar di Laptop */
  transition: all 0.3s ease;
}

/* 2. Kondisi Khusus Layar Kecil (Android/iPhone - Max 768px) */
@media (max-width: 767.98px) {
  /* Membuat kartu tim di dalam collapse menjadi lebih kecil */
  .area-tim-staf .org-card-modern {
    max-width: 100% !important;
    margin-bottom: 10px;
  }

  .area-tim-staf .org-card-inner {
    padding: 15px 10px !important; /* Ruang dalam lebih sempit */
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: row !important; /* Foto dan Nama jadi sampingan di HP */
    align-items: center !important;
    text-align: left !important;
    min-height: 80px !important;
  }

  /* Mengecilkan Foto Pejabat di dalam Tim (khusus mobile) */
  .area-tim-staf .avatar-container {
    width: 50px !important;
    height: 50px !important;
    margin: 0 15px 0 0 !important; /* Geser ke samping foto */
    flex-shrink: 0;
  }

  /* Menyesuaikan Teks Nama & Jabatan di Mobile */
  .area-tim-staf .pejabat-name {
    font-size: 0.85rem !important;
    margin-bottom: 2px !important;
    text-align: left !important;
  }

  .area-tim-staf .pejabat-badge {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    display: inline-block !important;
  }

  /* Mengatur Grid agar 2 kolom di HP */
  .area-tim-staf .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
  }

  .area-tim-staf .col-auto {
    flex: 0 0 50%; /* Membagi 2 kolom pas di layar HP */
    max-width: 50%;
    padding: 5px !important;
  }
}

/* Struktru Organisasi NEW */
/* =====================================================
   STRUKTUR ORGANISASI NEW
   ===================================================== */
