:root {
  --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: #040677; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1acc8d; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff; /* The default color of the main navmenu links */
  --nav-hover-color: #1acc8d; /* 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: #1acc8d; /* 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: #f4f5fe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #08005e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0c0091;
  --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(--nav-font) !important;
}

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(--nav-font) !important;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

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

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

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #10058c;
}

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

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

  .navmenu li {
    position: relative;
  }

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

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

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 20%);
    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: -6px;
    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: 25px;
  }

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

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: white;
  background-color: #0d6efd; /* Biru Bootstrap */
  transform: translateY(-2px);
}

/* Ukuran default (desktop) */
.logo-footer {
  height: 130px;
}

.company-name {
  font-size: 24px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.small-text {
  font-size: 14px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fs-icon {
  font-size: 1.2rem;
}

.text-contact {
  font-size: 1rem;
}

/* Responsive: Mobile */
@media (max-width: 576px) {
  .logo-footer {
    height: 90px;
  }

  .company-name {
    font-size: 18px;
  }

  .small-text {
    font-size: 12px;
  }

  .icon-circle {
    width: 36px;
    height: 36px;
  }

  .fs-icon {
    font-size: 1rem;
  }

  .text-contact {
    font-size: 0.9rem;
  }
}

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

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

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

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

.page-title nav 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: 100px;
  overflow: clip;
}

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

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

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0;
  font-family: var(--nav-font) !important;
}

/* Overlay hitam transparan */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#hero .container,
#hero .hero-img img,
#hero h1,
#hero p,
#hero .d-flex {
  position: relative;
  z-index: 2;
}

/* Lapisan warna tambahan (jika dipakai) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  z-index: 2;
}

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

/* Judul */
.hero h1 {
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
}

.hero h1 span {
  color: var(--heading-color);
  border-bottom: 4px solid var(--accent-color);
}

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

/* Tombol utama */
.hero .btn-get-started {
  display: inline-block;
  padding: 10px 28px 12px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  border-radius: 50px;
  font-family: var(--heading-font);
  color: var(--contrast-color);
  background: var(--accent-color);
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  color: var(--contrast-color);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Tombol video */
.hero .btn-watch-video {
  margin-left: 25px;
  font-size: 16px;
  font-weight: 600;
  color: var(--default-color);
  transition: 0.5s;
}

.hero .btn-watch-video i {
  margin-right: 8px;
  font-size: 32px;
  line-height: 0;
  color: var(--accent-color);
  transition: 0.3s;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.spongebob-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.spongebob-bubbles span {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset -4px -4px 10px rgba(255, 255, 255, 0.8),
    4px 4px 10px rgba(0, 0, 0, 0.1);
  animation: spongebobFloat 12s infinite ease-in-out;
  opacity: 0.7;
}

.spongebob-bubbles span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  width: 30px;
  height: 30px;
}
.spongebob-bubbles span:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
  width: 50px;
  height: 50px;
}
.spongebob-bubbles span:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
}
.spongebob-bubbles span:nth-child(4) {
  left: 55%;
  animation-delay: 1s;
  width: 70px;
  height: 70px;
}
.spongebob-bubbles span:nth-child(5) {
  left: 70%;
  animation-delay: 3s;
  width: 40px;
  height: 40px;
}
.spongebob-bubbles span:nth-child(6) {
  left: 85%;
  animation-delay: 5s;
}
.spongebob-bubbles span:nth-child(7) {
  left: 15%;
  animation-delay: 6s;
  width: 45px;
  height: 45px;
}
.spongebob-bubbles span:nth-child(8) {
  left: 60%;
  animation-delay: 1.5s;
}

@keyframes spongebobFloat {
  0% {
    transform: translateY(100vh) scale(1);
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

/* Gambar animasi */
.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* Responsif */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

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

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

/* Waves SVG */
.hero .hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.6;
}

.hero .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.4;
}

.hero .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
}

/* Keyframes animasi */
@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0);
  }
  100% {
    transform: translate(-90px, 0);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0);
  }
  100% {
    transform: translate(85px, 0);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0);
  }
  100% {
    transform: translate(85px, 0);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 100px;
}

/* Subjudul & Judul */
.about .subtitle,
.about .content h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
}

.about .content h2,
.about h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--default-color);
}

/* Deskripsi */
.about .description,
.about .content p.description {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--default-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

/* Tombol Pelajari Lebih Lanjut */
.about .content .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: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

/* Icon Box */
.about .icon-box {
  text-align: center;
  padding: 20px;
  background-color: var(--surface-color);
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.about .icon-box:hover {
  transform: translateY(-5px);
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.about .icon-box img,
.icon-img {
  width: 84px;
  height: auto;
  transition: transform 0.3s ease;
}

.about .icon-box:hover img {
  transform: scale(1.1);
}

.about .icon-box h5,
.icon-title {
  margin-top: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--default-color);
}

/* ------------------------------
# Responsive
------------------------------ */
@media (max-width: 768px) {
  .about h2 {
    font-size: 26px;
  }

  .about .icon-box img,
  .icon-img {
    width: 64px;
  }

  .about .icon-box h5,
  .icon-title {
    font-size: 14px;
  }

  .about .content p.description {
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Custom Card Section
--------------------------------------------------------------*/

/* Wrapper untuk semua kartu layanan */
.service-wrapper {
  background-color: #4e73df;
  border-radius: 16px;
  padding: 30px 20px;
  width: 100%;
  display: block;
}

/* Kartu layanan individual */
.service-card {
  background-color: #ffffff;
  padding: 15px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Gambar di dalam kartu */
.service-card img {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 10px auto;
  display: block;
}

/* Judul layanan */
.service-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 10px 0 4px;
  text-transform: uppercase;
}

/* Harga layanan */
.service-price {
  font-size: 15px;
  font-weight: 500;
  color: #4e73df;
  margin: 0;
}

.carousel-inner img {
  transition: transform 0.5s ease;
}
.carousel-item:hover img {
  transform: scale(1.02);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/* --------------------------------------------------------------
# Details Section
-------------------------------------------------------------- */

/* Features Item */
.details .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

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

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

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

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

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

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

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

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

/* --------------------------------------------------------------
# Section Title Styling
-------------------------------------------------------------- */

/* Default h2 Title Style */
.details .section-title h2 {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 32px;
  padding-bottom: 10px;
}

.details .section-title h2::before,
.details .section-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: var(--default-color);
}

.details .section-title h2::before {
  left: -60px;
}

.details .section-title h2::after {
  right: -60px;
}

.details .section-title p {
  margin-top: 10px;
  font-size: 18px;
  color: var(--default-color);
}

/* --------------------------------------------------------------
# Details Section
-------------------------------------------------------------- */

#details .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

#details .section-header .decorated-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

#details .section-header .decorated-title h2 {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 32px;
  color: var(--accent-color);
  margin: 0;
}

#details .section-header .decorated-title::before,
#details .section-header .decorated-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--accent-color);
  max-width: 80px;
  opacity: 0.5;
}

#details .section-header p {
  font-size: 18px;
  color: #6c757d;
  margin-top: 0.5rem;
}

#details .section-header p span {
  color: var(--accent-color);
  font-weight: 600;
}

@media (max-width: 576px) {
  #details .section-header .decorated-title h2 {
    font-size: 24px;
  }

  #details .section-header p {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------
# Video Reels Styling
-------------------------------------------------------------- */

/* Wrapper kartu video */
.reel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  aspect-ratio: 9 / 16; /* pertahankan rasio card */
}
.reel-wrapper:hover {
  transform: scale(1.01);
}

/* Frame video + overlay */
.reel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000; /* saat poster belum load */
  aspect-ratio: 16 / 9; /* rasio konten video (silakan ubah bila perlu) */
}
.reel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* potong rapi bila rasio tak sama */
}

/* Overlay play penuh layar */
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.reel-overlay:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* Tombol play ala YouTube */
.reel-play {
  width: 78px;
  height: 54px;
  border-radius: 12px;
  background: #ff0000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  display: inline-block;
}
.reel-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
}

/* Saat video diputar */
.reel.is-playing .reel-overlay {
  display: none;
}

/* Responsive */
@media (max-width: 576px) {
  .reel-play {
    width: 64px;
    height: 44px;
  }
  .reel-play::before {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
  }
}

/* --------------------------------------------------------------
# Global Section Header Reuse
-------------------------------------------------------------- */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .decorated-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-header .decorated-title h2 {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 32px;
  color: var(--accent-color);
  margin: 0;
}

.section-header .decorated-title::before,
.section-header .decorated-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--accent-color);
  max-width: 80px;
  opacity: 0.5;
}

.section-header p {
  font-size: 18px;
  color: #6c757d;
  margin-top: 0.5rem;
}

.section-header p span {
  color: var(--accent-color);
  font-weight: 600;
}

@media (max-width: 576px) {
  .section-header .decorated-title h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background-color: #fff;
  position: relative;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

/* Carousel Container */
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

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

/* Pagination Bullets */
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

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

/* Testimonial Item */
.testimonials .testimonial-item {
  text-align: center;
}

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

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

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

/* Quote Icons */
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

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

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

/* Star Rating */
.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

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

/* Testimonial Image */
.testimonial-img-small {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-img-small:hover {
  transform: scale(1.03);
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .testimonial-img-small {
    max-width: 400px;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

.modal-img-small {
  max-width: 250px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 576px) {
  .contact-footer h4 {
    font-size: 18px;
  }
  .contact-footer .fs-6 {
    font-size: 14px;
  }
  .contact-footer .fs-5 {
    font-size: 18px;
  }
  .contact-footer .btn {
    font-size: 14px;
    padding: 0.5rem 1.25rem;
  }
}

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

/* =========================
   Logo Perusahaan: Desktop vs Mobile
========================= */
.img-desktop {
  display: block;
}
.img-mobile {
  display: none;
}

@media (max-width: 768px) {
  .img-desktop {
    display: none;
  }
  .img-mobile {
    display: block;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
  }
}

/* =========================
   Variabel posisi & ukuran WA
========================= */
:root {
  --wa-size: 56px; /* diameter bulat */
  --wa-bottom: 20px; /* jarak dari bawah (desktop) */
  --wa-right: 20px; /* jarak dari kanan (desktop) */
  --wa-gap: 12px; /* jarak antara tombol WA dan chatbox */
}

/* =========================
   FAB WhatsApp (pill + bulat)
========================= */
.wa-fab {
  position: fixed;
  bottom: var(--wa-bottom);
  right: var(--wa-right);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1060;
  user-select: none;
  cursor: pointer;
}

/* pill teks "Chat via WhatsApp" – selalu tampil */
.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.92); /* gelap & kontras */
  border: 1px solid rgba(255, 255, 255, 0.14); /* garis tipis */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.wa-text {
  white-space: nowrap; /* cegah terpotong */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.wa-arrow {
  font-size: 1rem;
  opacity: 0.95;
}

/* bulat hijau dengan ikon WA */
.wa-circle {
  width: var(--wa-size);
  height: var(--wa-size);
  border-radius: 50%;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.wa-circle i {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.wa-fab:hover .wa-circle {
  transform: scale(1.06);
  background: #1ebe5d;
}
.wa-fab:focus-visible,
.wa-pill:focus-visible,
.wa-circle:focus-visible {
  outline: 2px solid #1ebe5d;
  outline-offset: 2px;
}

/* =========================
   Chatbox (muncul di atas FAB)
========================= */
.chatbox {
  position: fixed;
  bottom: calc(var(--wa-bottom) + var(--wa-size) + var(--wa-gap));
  right: var(--wa-right);
  width: 320px;
  max-width: 92vw;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none; /* dibuka via JS */
  flex-direction: column;
  z-index: 1070;
  animation: fadeInUp 0.3s ease-in-out;
  font-family: "Segoe UI", sans-serif;
}

/* Header / Body / Footer */
.chatbox-header {
  background: #25d366;
  color: #fff;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.chatbox-header .close-chatbox {
  cursor: pointer;
  font-size: 20px;
}

.chatbox-body {
  padding: 15px;
  background: #f9f9f9;
  font-size: 14px;
  color: #333;
  max-height: 200px;
  overflow-y: auto;
}
.chatbox-footer {
  padding: 10px 15px;
  background: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.chatbox input {
  width: 100%;
  font-size: 14px;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  transition: border 0.2s ease;
}
.chatbox input:focus {
  border-color: #25d366;
}

/* Pesan */
.chat-message {
  margin-bottom: 10px;
  font-size: 14px;
}
.admin-message {
  background: #e2e3e5;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 85%;
  float: left;
  clear: both;
}
.user-message {
  background: #dcf8c6;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 85%;
  float: right;
  clear: both;
}

/* =========================
   Animasi
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  :root {
    --wa-bottom: 15px;
    --wa-right: 15px;
  }
  .wa-fab {
    gap: 8px;
  }
  .wa-pill {
    padding: 9px 12px;
    font-size: 0.95rem;
  }
  .chatbox {
    right: var(--wa-right);
    width: 90%;
  }
}
@media (max-width: 480px) {
  :root {
    --wa-bottom: 14px;
    --wa-right: 14px;
  }
  .wa-fab {
    gap: 8px;
  }
  .wa-pill {
    padding: 8px 10px;
    font-size: 0.9rem;
  } /* tetap tampil di mobile */
}
@media (max-width: 400px) {
  .chatbox {
    width: 94%;
  }
  .glightbox-container {
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
  }
  .gslide-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
}
@media (max-width: 576px) {
  .glightbox-clean .gslide-description {
    font-size: 14px;
    padding: 10px;
  }
  .glightbox-container {
    padding: 0 !important;
  }
}

/* =========================
   Hero Typography
========================= */
#hero h1,
#hero p {
  font-family: "Poppins", sans-serif !important;
}
@media (max-width: 768px) {
  #hero h1 {
    font-size: 1.4rem !important;
  }
  #hero p {
    font-size: 0.95rem !important;
  }
}
