
/* 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 - soft red scheme for government website */
:root { 
  --background-color: #ffffff;       /* Background color for the entire website */
  --default-color: #212529;          /* Default text color */
  --heading-color: #2d465e;          /* Headings and titles */
  --accent-color: #CD5C5C;           /* Soft red accent for buttons, links, important elements */
  --surface-color: #ffffff;           /* Surface for cards, boxed elements */
  --contrast-color: #ffffff;          /* Text contrast on accent colors */
}

/* Nav Menu Colors */
:root {
  --nav-color: #212529;                     /* Default nav link color */
  --nav-hover-color: #B04040;              /* Hover or active nav link (slightly darker red) */
  --nav-mobile-background-color: #ffffff;  /* Mobile nav background */
  --nav-dropdown-background-color: #ffffff;/* Dropdown background */
  --nav-dropdown-color: #212529;           /* Dropdown link color */
  --nav-dropdown-hover-color: #B04040;     /* Dropdown link hover color */
}
/* Root Warna Dari Berita */
:root {
  --breadcrumb-box-color: #FDECEA; /* warna latar khusus breadcrumb box */
}



/* Root Warna Dari Footer */
:root {
  --footer-bg: #1a1a1a;          
  --footer-text: #f5f5f5;         
  --footer-link: #e0e0e0;         
  --footer-link-hover: #ff3333;   
  --footer-border: rgba(255,255,255,0.15);
  --footer-icon: #bbbbbb;         
  --footer-icon-hover: #ff3333;   
}


/* Color Presets for sections */
.light-background {
  --background-color: #FDECEA;  /* Very soft red background */
  --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);
}

/* 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 {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

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

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

.header .btn-getstarted:hover,
.header .btn-getstarted: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 .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

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

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    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;
    transition: 0.3s;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-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;
  }
}

/* Navmenu - Mobile */
@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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    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 (Custom Red-White Soft Theme)
--------------------------------------------------------------*/
.footer {
  color: var(--footer-text);
  background-color: var(--footer-bg);
  font-size: 14px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
  color: var(--footer-text);
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--footer-border);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--footer-link-hover);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: transparent;
  color: var(--footer-text);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--footer-link-hover);
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: #cc0000;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--footer-border);
  font-size: 16px;
  color: var(--footer-icon);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--footer-icon-hover);
  border-color: var(--footer-icon-hover);
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  margin-bottom: 15px;
  color: #e0e0e0; /* abu terang */
  border-left: 3px solid var(--footer-link-hover); /* garis merah aksen */
  padding-left: 8px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 6px;
  font-size: 12px;
  color: var(--footer-link-hover);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: var(--footer-link);
  line-height: 1;
  transition: 0.3s;
}

.footer .footer-links ul a:hover {
  color: var(--footer-link-hover);
}

.footer .footer-about a {
  color: var(--footer-link-hover); /* merah sesuai tema */
  font-size: 24px;
  font-weight: 700;
  font-family: var(--heading-font);
  letter-spacing: 0.5px;
}


.footer .footer-contact p {
  margin-bottom: 5px;
  color: var(--footer-link);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-link);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
  color: var(--footer-link);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: 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 #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s 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: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# 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);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  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 70%);
}

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

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

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

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

.hero .download-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color) 90%, black 50%);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 30px 10px 30px;
  border-radius: 3px;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .download-btn+.download-btn {
  margin-left: 20px;
}

.hero .download-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .download-btn i {
  font-size: 16px;
  line-height: 0;
  margin-right: 8px;
}

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

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

  .hero .download-btn {
    font-size: 14px;
    padding: 8px 20px 10px 20px;
  }
}

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

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .icon-box {
  display: flex;
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.features .icon-box i {
  font-size: 44px;
  line-height: 44px;
  color: var(--accent-color);
  margin-right: 15px;
}

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

/*--------------------------------------------------------------
# Feature Details Section
--------------------------------------------------------------*/
.feature-details .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.feature-details .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .feature-details .features-item+.features-item {
    margin-top: 40px;
  }
}

.feature-details .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.feature-details .features-item ul {
  list-style: none;
  padding: 0;
}

.feature-details .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.feature-details .features-item ul li:last-child {
  padding-bottom: 0;
}

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

.feature-details .features-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-wrapper {
  height: auto;
}

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

.gallery .swiper-pagination .swiper-pagination-bullet {
  background-color: var(--background-color);
  border: 1px solid var(--accent-color);
  width: 12px;
  height: 12px;
  opacity: 1;
}

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

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 60px 0;
  }

  .gallery .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.2);
    border-radius: 25px;
    transition: none;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid var(--background-color);
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

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

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

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

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  padding: 60px 40px;
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  font-size: 48px;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

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

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  background-color: var(--background-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
}

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

.pricing .featured {
  z-index: 10;
}

.pricing .featured .pricing-item {
  background: var(--accent-color);
}

@media (min-width: 992px) {
  .pricing .featured .pricing-item {
    transform: scale(1.02, 1.1);
  }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
  color: var(--contrast-color);
}

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

.pricing .featured .buy-btn:hover {
  background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: 0.3s;
}

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

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  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: 20px;
  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 {
  background-color: var(--accent-color);
  transition: 0.3s;
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover,
.faq .faq-container .faq-active .faq-toggle,
.faq .faq-container .faq-active .faq-icon,
.faq .faq-container .faq-active .faq-content {
  color: var(--contrast-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);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
}

.contact .info-item i {
  font-size: 38px;
  line-height: 0;
  color: var(--accent-color);
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

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

.contact .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
  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: color-mix(in srgb, var(--background-color), transparent 50%);
  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] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/* Stats Card Landingpage */
.stats-card {
      /* background-color: #FDECEA; */
      /* soft red background */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .stats-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .icon-stat {
      transition: transform 0.3s ease;
    }

    .stats-card:hover .icon-stat {
      transform: scale(1.2);
    }
/*--------------------------------------------------------------
# Starter Section Stats Di Landing Page
--------------------------------------------------------------*/
#stats-landingpage{
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

/* Heading dalam konten utama (kiri) */
.content-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd; /* garis abu soft */
  position: relative;
  width: 100%;
}

/* Accent strip */
.content-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* Sidebar wrapper (kanan) */
.sidebar-box {
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0; /* flat */
}

/* Sidebar Title */
.sidebar-title {
  font-size: 18px; /* lebih besar dari sebelumnya */
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

/* Accent strip */
.sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

/* Title Icon */
.sidebar-title i {
  font-size: 20px;
  color: var(--accent-color);
}

/* List Group */
.sidebar-box .list-group {
  padding-left: 10px; /* agak masuk ke kanan */
}

.sidebar-box .list-group-item {
  border: none;
  padding: 8px 0;
}

.sidebar-box .list-group-item a {
  text-decoration: none;
  color: var(--default-color);
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover efek */
.sidebar-box .list-group-item a:hover {
  color: var(--accent-color);
}

.sidebar-box .list-group-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.sidebar-box .list-group-item a:hover::after {
  width: 100%;
}

/* Breadcrumb Section */
.breadcrumbs {
  background-color: var(--surface-color); /* section putih */
  padding: 20px 0; 
}

/* Container khusus breadcrumb */
.breadcrumbs .breadcrumb-box {
  background-color: var(--breadcrumb-box-color); /* pakai light-background (soft red) */
  padding: 12px 20px;
  border-radius: 6px;
}

/* Breadcrumb List */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

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

.breadcrumbs ol li + li::before {
  content: "/";
  padding-right: 10px;
  color: var(--nav-color);
}

/* Link style */
.breadcrumbs a {
  color: var(--nav-color);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--nav-hover-color);
}

/* Active item */
.breadcrumbs .active {
  color: var(--nav-hover-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 15px 0;
  }

  .breadcrumbs ol {
    font-size: 13px;
  }
}


/*--------------------------------------------------------------
# Starter Section Berita Di Landing Page
--------------------------------------------------------------*/
/* Section News di Landing Page */
 #home-news {
    padding: 0;
  }
  .home-news-section {
    background: var(--background-color, #f9fafc);
  }

  /* Berita utama */
  /* Container utama */
  .home-news-main {
    overflow: hidden;
    border-radius: 10px;
  }

  /* Lock height untuk image utama */
  .home-news-main img {
    height: 490px;
    /* bisa disesuaikan */
    object-fit: cover;
    /* crop gambar supaya tidak melar */
    width: 100%;
    transition: transform 0.5s ease;
  }

  /* Hover zoom */
  .home-news-main:hover img {
    transform: scale(1.05);
  }

  /* Mobile: biar lebih kecil */
  @media (max-width: 991.98px) {
    .home-news-main img {
      height: 250px;
      /* lebih rendah di tablet/HP */
    }
  }


  /* Overlay transparan */
  .home-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #fff;
    transition: all 0.4s ease;
  }

  /* Judul & excerpt */
  .home-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
  }

  /* Excerpt (deskripsi singkat) */
  .home-news-excerpt,
  .home-news-excerpt p {
    margin: 0 !important;
    /* buang semua margin */
    padding: 0;
    line-height: 1.4;
  }

  .home-news-excerpt {
    font-size: 0.85rem;
    color: #666;
  }

  /* Link selengkapnya */
  .home-news-readmore {
    font-size: 0.8rem;
    transition: color 0.3s;
  }

  .home-news-readmore:hover {
    color: #0056b3;
  }

  /* Hover effect: gambar zoom sedikit */
  .home-news-main img {
    transition: transform 0.5s ease;
  }

  .home-news-main:hover img {
    transform: scale(1.05);
  }

  /* Hover effect: overlay lebih gelap */
  .home-news-main:hover .home-news-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
  }

  /* Responsiveness */
  @media (max-width: 991.98px) {
    .home-news-title {
      font-size: 1.2rem;
    }

    .home-news-excerpt {
      font-size: 0.85rem;
    }
  }

  /* List berita */
  .home-news-list .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
  }

  .home-news-list .list-group-item:hover {
    background: #f1f5ff;
  }

  .home-news-list img {
    object-fit: cover;
    border-radius: 6px;
  }

  /* Responsiveness */
  @media (max-width: 991.98px) {
    .home-news-main .card-title {
      font-size: 1.25rem;
    }

    .home-news-list h6 {
      font-size: 0.95rem;
    }
  }


/*--------------------------------------------------------------
# Starter Section Berita
--------------------------------------------------------------*/
/* Section Berita*/
#berita {
    padding-top: 10px;  /* sebelumnya 60px */
}
.berita {
  padding: 50px 0;
  background: #fff;
}

/* Item berita */
.berita-item {
  transition: all 0.3s ease-in-out;
}
.berita-item:hover {
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.berita-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.berita-item img:hover {
  transform: scale(1.08);
}

/* Judul */
.judul-berita {
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.judul-berita:hover {
  color: #e63946;
}

/* Meta Info (Versi Baru yang Elegan) */
.berita-meta {
  font-size: 0.85rem;
  color: var(--default-color);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.berita-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--default-color) !important;
}

.berita-meta i {
  font-size: 0.8rem;
  color: var(--accent-color) !important; /* accent merah lembut */
}

@media (max-width: 768px) {
  .berita-item .me-3{ 
    margin: 0 !important;  
  }
  .berita-item img {
    width: 100% !important;
    height: auto !important;
  }
}


/* Read More */
.read-more {
  font-weight: 500;
  color: #e63946;
  text-decoration: none;
}
.read-more:hover {
  color: #c92c3a;
}

/* Sidebar */
.list-group-item a {
  text-decoration: none;
  color: #333;
}
.list-group-item a:hover {
  color: #e63946;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .berita-item {
    flex-direction: column;
  }
  .berita-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
}


/* Detail Berita Styling */
.detail-berita {
    color: var(--default-color);
    background: var(--surface-color);
}

.detail-berita .title-berita {
    color: var(--heading-color);
    font-weight: 700;
}

.underline-judul {
    width: 40px;
    height: 2px;
    background: #e0e0e0;  /* soft grey, modern */
    border-radius: 1px;
    margin-top: 6px;
    margin-bottom: 14px;
}
.meta-berita span {
    color: var(--default-color);
}

.meta-berita i {
    color: var(--accent-color);
}

/* Styling konten dari editor (responsif & clean) */
.content-berita p,
.content-berita ul,
.content-berita ol {
    color: var(--default-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-berita img {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: 6px;
}

/* Responsiveness untuk padding/margin di mobile */
@media (max-width: 576px) {
    .detail-berita .title-berita {
        font-size: 1.4rem;
    }
    .meta-berita {
        font-size: 0.8rem;
    }
}

/* Jika ingin sedikit shadow agar lebih modern */
.detail-berita {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}


.share-divider {
    border-top: 1.5px solid #cfcfcf;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.share-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.share-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0.9;
}

.share-icon.whatsapp { background-color: #25D366; }
.share-icon.facebook { background-color: #3b5998; }
.share-icon.twitter  { background-color: #1DA1F2; }

.share-label {
    margin-right: 8px;
    font-weight: 500;
    color: var(--default-color);
}

.tautan-terkait a {
    color: var(--default-color);
    text-decoration: none;
}

.tautan-terkait a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Starter Section Infografis
--------------------------------------------------------------*/

#infografis {
    padding-top: 10px; 
}

.card-infografis {
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.card-infografis img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* supaya cropping bagus */
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card-infografis:hover img {
  transform: scale(1.1);
  filter: brightness(0.75);
}

.card-infografis .card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
}

.card-infografis:hover .card-overlay {
  opacity: 1;
}

/* Ratio 1:1 jika butuh square:
   Bisa pakai aspect-ratio: 1/1 (Bootstrap 5.3 support)
*/
.infografis-square {
  aspect-ratio: 1/1;
}


/* Pagination Custom sesuai warna tema */
.pagination .page-link {
  color: var(--default-color);
  border: 1px solid #ddd;
}

.pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.pagination .page-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}


/*--------------------------------------------------------------
# Starter Section Kontak
--------------------------------------------------------------*/
/* Section Kontak */

#kontak {
    padding-top: 10px; 
}
/* Wrapper konsisten dengan berita */
.kontak-wrapper .title-berita {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
}
.kontak-wrapper .underline-judul {
  height: 4px;
  width: 72px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Card contact */
.card-contact {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.card-contact .card-title {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 14px;
}

/* Thumbnail / logo */
.brand-thumb {
  width: 72px; 
  height: 72px; 
  object-fit: cover; 
  border-radius: 12px;
}

/* Daftar kontak */
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list i {
  font-size: 1.2rem;
  color: var(--accent-color);
  line-height: 40px;
  text-align: center;
}
.contact-list span {
  display: block;
  font-size: .85rem;
  color: var(--default-color);
  opacity: .7;
}
.contact-list a, .contact-list p {
  margin: 0;
  color: var(--default-color);
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Tombol utama */
.btn {
  border-radius: 12px;
  font-weight: 500;
}
.btn-primary {
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black);
}
.btn-outline-primary {
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
}
.btn-outline-primary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/* Sosial media minimalis */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; 
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--heading-color);
  color: var(--heading-color);
  font-size: 1.1rem;
  background: var(--surface-color);
  transition: all .25s ease;
}
.social-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 0 6px rgba(205,92,92,0.25); /* glow lembut dari accent */
}

/* Responsif */
@media (max-width: 768px) {
  .brand-thumb { width: 56px; height: 56px; }
  .btn { flex: 1; } /* tombol full width di mobile */
  .card-contact { padding: 16px; }
}


/*--------------------------------------------------------------
# Starter Section Tentang Kami
--------------------------------------------------------------*/
/* Section Tentang kami */
#tentang {
    padding-top: 10px; 
}

/* Profil Aplikasi */
.app-profile {
  background: var(--background-color);
  border: 1px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.app-logo {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.app-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.2rem;
}

.app-tagline {
  font-size: 1rem;
  color: var(--accent-color);
  margin: 0;
}

.app-desc {
  font-size: 0.95rem;
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Fitur List */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--default-color);
}
.feature-list i {
  color: var(--accent-color);
  margin-right: 8px;
}

