:root {
  /* --background-color: #f6f9fb; Initial */
  --background-color: #ffffff;
  --primary-color: #003D25;
  --secondary-color: #859e92;
  --accent-color: #b68300;
  --accent-color-2: #d9dfcf;
  --grey-color: #f1f2ef;

  --text-color-dark: #1E1E1E;
  --text-color-light: white;

  --smaller-font-size: 1.4rem;
  --small-font-size: 1.6rem;
  --normal-font-size: 2rem;
  --large-font-size: 2.4rem;
  --larger-font-size: 3rem;

  --heading-subtitle-font-size: 2rem;
  --heading-title-font-size: 4rem;

  --img-border-radius: 0.3rem;
  --btn-border-radius: 0.4rem;
  --card-border-radius: 0.3rem;

  --secondary-font-family: "Newsreader", serif;
  --primary-font-family: "Poppins", sans-serif;

  /* Transition */
  --transition-time: 0.4s;
}

html {
  font-size: 10px;
}

b {
  font-weight: 600 !important;
}

/* BASE COMPONENTS */
.hyperlink {
  text-decoration: none;
  color: inherit !important;
}

.hyperlink:hover {
  color: var(--secondary-color) !important;
}

.clickable {
  cursor: pointer;
}

section {
  padding: 4rem 0;
}

.section-padding {
  padding: 18rem 0 4rem;
}

.section-padding-bottom {
  padding: 4rem 0 18rem;
}

select {
  min-height: 4rem;
  font-size: var(--normal-font-size) !important;
}

input {
  min-height: 4rem;
  font-size: var(--normal-font-size) !important;
}

input::placeholder,
textarea::placeholder {
  opacity: 0.4 !important;
}

textarea {
  min-height: 30rem !important;
  font-size: var(--normal-font-size) !important;
}

/* BASE COMPONENTS */

/* FLEX */
.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-flex-center-v {
  display: flex;
  align-items: center;
}

.d-flex-center-h {
  display: flex;
  justify-content: center;
}

/* FLEX */

/* IMG START */
.img {
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.ratio-1 {
  aspect-ratio: 1 / 1;
}

.ratio-l-2 {
  aspect-ratio: 2 / 1;
}

.ratio-p-2 {
  aspect-ratio: 1 / 2;
}

.ratio-l-3 {
  aspect-ratio: 3 / 2;
}

.ratio-p-3 {
  aspect-ratio: 2 / 3;
}

.ratio-l-4 {
  aspect-ratio: 5 / 4;
}

.ratio-p-4 {
  aspect-ratio: 4 / 5;
}

.ratio-l-5 {
  aspect-ratio: 6 / 5;
}

.ratio-p-5 {
  aspect-ratio: 5 / 6;
}

.ratio-l-9 {
  aspect-ratio: 10 / 9;
}

.ratio-p-9 {
  aspect-ratio: 9 / 10;
}

/* IMG END */

/* BUTTON START */
.btn {
  border-radius: var(--btn-border-radius);
  font-family: var(--primary-font-family);
  cursor: pointer;
  padding: .8rem 1.6rem;
  min-height: 4rem;
  transition: background-color var(--transition-time);
  border: 0;
}

.btn.main {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  width: auto;
}

.btn.main:hover {
  background-color: var(--secondary-color);
}

/* BUTTON  END*/

/* TEXT  START*/
.text {
  font-size: var(--normal-font-size);
  font-family: var(--primary-font-family);
  color: var(--text-color-dark);
  font-weight: 300;
}

.text.heading {
  font-family: var(--secondary-font-family);
  font-size: 6rem;
  letter-spacing: 2px;
  font-weight: normal;
}

.text.title {
  font-size: var(--heading-title-font-size);
  font-family: var(--secondary-font-family);
  color: var(--text-color-dark);
  font-weight: normal;
}

.text.subtitle {
  font-size: var(--heading-subtitle-font-size);
}

.text.large {
  font-size: var(--large-font-size);
}

.text.larger {
  font-size: var(--larger-font-size);
}

.text.small {
  font-size: var(--small-font-size) !important;
  font-weight: 300;
}

.text.smaller {
  font-size: var(--smaller-font-size);
  font-weight: 300;
}

.text-thin {
  font-weight: 200;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-justify {
  text-align: justify !important;
}

/* TEXT  END*/

/* POLICY CONTENT - styles Quill.js HTML output to match the design system */
.policy-content {
  font-family: var(--primary-font-family);
  color: var(--text-color-dark);
}

.policy-content h1,
.policy-content h2 {
  font-family: var(--primary-font-family);
  font-size: var(--larger-font-size);
  font-weight: 700;
  color: var(--text-color-dark);
  margin-top: 1.6rem;
  margin-bottom: 0;
}

.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
  font-family: var(--primary-font-family);
  font-size: var(--small-font-size);
  font-weight: 700;
  color: var(--text-color-dark);
  margin-top: 1.6rem;
  margin-bottom: 0;
}

.policy-content p {
  font-family: var(--primary-font-family);
  font-size: var(--small-font-size);
  font-weight: 400;
  color: var(--text-color-dark);
  margin-top: 1rem;
  margin-bottom: 0;
}

.policy-content ul,
.policy-content ol {
  margin-top: 1rem;
  margin-left: 1.2rem;
  padding-left: 2rem;
}

.policy-content li {
  font-family: var(--primary-font-family);
  font-size: var(--small-font-size);
  font-weight: 400;
  color: var(--text-color-dark);
  margin-top: 1rem;
}

.policy-content strong,
.policy-content b {
  font-weight: 700;
}

.policy-content li.ql-indent-1 { margin-left: 3em; }
.policy-content li.ql-indent-2 { margin-left: 6em; }
.policy-content li.ql-indent-3 { margin-left: 9em; }
.policy-content li.ql-indent-4 { margin-left: 12em; }

/* POLICY CONTENT END */

/* BG START */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-accent-2 {
  background-color: var(--accent-color-2) !important;
}

.bg-grey {
  background-color: var(--grey-color) !important;
}

.bg-dark-grey {
  background-color: #8e8f8d;
}

.bg-outline-white {
  border: 1px solid white;
}

.bg-img {
  background-position: center;
  background-size: cover;
  box-shadow: inset 0px 0px 0 2000px rgba(0, 0, 0, 0.4);
  border-radius: 2rem;
}

.bg-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  aspect-ratio: 2.5/1;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0px 0px 0 2000px rgba(0, 0, 0, 0.4);
  border-radius: 2rem;
  text-align: center;
}

.rounded {
  border-radius: 2rem !important;
}

.rounded-top {
  border-radius: 2rem 2rem 0 0 !important;
}

.rounded-end {
  border-radius: 0 2rem 2rem 0 !important;
}

.rounded-start {
  border-radius: 2rem 0 0 2rem !important;
}

.rounded-start-top {
  border-radius: 2rem 0 0 2rem !important;
}

/* BG END */

/* WIDTH START */
.w-max-content {
  width: max-content;
}

/* WIDTH END */


/* NAVBAR START */
.topbar {
  background-color: var(--primary-color);
  text-align: start;
  padding: 1rem 0;
}

.navbar-content {
  width: 100%;
}

/* NAVBAR END */

/* HOME PAGE */
#testimonies .carousel__icon {
  background: var(--primary-color);
  color: white;
  border-radius: 100rem;
}

/* HOME PAGE */

/* GALLERY PAGE */

.gallery-tabs-wrap {
  padding-bottom: 10rem;
}

/* Tab pills like your reference */
/*! UNUSED  **/
/* .gallery-tabs .gallery-tab-btn {
  background: #efefef;
  color: #6b6b6b;
  border: 0;
  border-radius: 8px;
  padding: 14px;
  font-weight: 400;
  line-height: 1;
}

.gallery-tabs .gallery-tab-btn:hover {
  background: #55c96f;
  color: #0f2a16;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid #0f2a16;
  transition: background 0.5s ease;
}

.gallery-tabs .gallery-tab-btn.active {
  background: #55c96f;
  font-weight: bold;
  color: #0f2a16;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid #0f2a16;
} */
/*! UNUSED  **/

/* Masonry: 5 cols desktop, 2 tablet, 1 mobile */
.masonry {
  margin: 0 auto;
}

.masonry-sizer,
.masonry-item {
  width: calc((100% - 40px) / 5);
  box-sizing: border-box;
}

@media (max-width: 991.98px) {

  .masonry-sizer,
  .masonry-item {
    width: calc((100% - 10px) / 2);
  }

  /*! CURRENTLY UNUSED
  /* .gallery-tabs .gallery-tab-btn {
    padding: 12px 18px;
    } */
}

@media (max-width: 575.98px) {

  .masonry-sizer,
  .masonry-item {
    width: 100%;
  }
}

/* Tiles */
.masonry-item {
  padding: 0;
  margin-bottom: 10px;
  /* vertical gap like reference */
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  /* match reference: square */
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* subtle hover overlay */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* lock scroll when lightbox open */
body.lb-open {
  overflow: hidden;
}

/* Lightbox overlay */
.lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
}

/* Top bar */
.lb-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  /* allow clicks only on buttons */
}

.lb-counter {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
  pointer-events: auto;
  padding: 10px;
}

.lb-close {
  pointer-events: auto;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  font-size: 28px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}

/* Center stage */
.lb-center {
  position: absolute;
  inset: 60px 0 70px 0;
  /* full width so image can center */
  display: flex;
  align-items: center;
  justify-content: center;
  /* ✅ drag behavior */
  cursor: grab;
  touch-action: pan-y;
  /* allow vertical scroll, handle horizontal ourselves */
  user-select: none;
}

.lb-center.is-dragging {
  cursor: grabbing;
}

.lb-media {
  /* wrapper that moves */
  will-change: transform;
}


.lb-viewport {
  width: min(90vw, 900px);
  height: 75vh;
  overflow: hidden;
  position: relative;
}

.lb-track {
  height: 100%;
  display: flex;
  will-change: transform;
}

.lb-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: min(90vw, 900px);
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

/* Arrows */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  width: 8vw;
  height: 85%;
  font-size: 6rem;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
}

.lb-prev {
  left: 0px;
}

.lb-next {
  right: 0px;
}

/* Title bottom center */
.lb-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .lb-center {
    inset: 60px 16px 70px 16px;
  }

  .lb-img {
    max-width: min(70vw, 580px);
  }

  .lb-nav {
    width: 8vw;
    height: 85%;
    font-size: 6rem;
  }

  .lb-prev {
    left: 15px;
  }

  .lb-next {
    right: 15px;
  }
}

/* GALLERY PAGE */

/* LAYANAN PAGE */

#layanan {
  img {
    height: 345px;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
  }
}

/* wrap background */
.services-wrap {
  background: #eef1ed;
  border-radius: 20px;
  padding: 10px;
}

/* 2x2 grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* each card */
.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
}

/* icon box */
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #dfe6d8;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

/* text */
.service-text {
  margin: 0;
  font-size: 16px;
  color: #1f2a22;
  line-height: 1.2;
}

/* LAYANAN PAGE */

/* CHECKOUT PAGE */

.summary-card {
  background: rgb(0, 61, 37);
  color: rgb(254, 255, 250);
  border-radius: 12px;
  padding: 16px;
}

.summary-row .label {
  opacity: 0.85;
}


.terms-box {
  background: #f2f2f2;
  border-radius: 12px;
  padding: 14px;
}

.terms-box-inner {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
}

.terms-content {
  max-height: 260px;
  overflow: auto;
  padding-right: 8px;
}

.terms-link {
  text-decoration: underline;
  cursor: pointer;
}

.terms-accept {
  display: flex;
  align-items: center;
  gap: 6px;

  a:hover {
    text-decoration: underline !important;
  }
}

/* CHECKOUT PAGE */

/* FOOTER */

/* Colors */
.li-footer {
  color: #fefffa;
}

/* CTA strip */
.li-footer-cta {
  background-color: #577550;
  background-image: url("https://d32r7frle5tqk6.cloudfront.net/footer/pattern.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.li-footer-cta__title {
  color: #fefffa;
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.2;
  max-width: 640px;
}

/* Floating image (desktop) */
.li-footer-cta__image {
  position: absolute;
  right: 4rem;
  top: -80px;
  width: 416px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

/* Main footer */
.li-footer-main {
  background: #003d25;
  position: relative;
  z-index: 1;

  .container .row {
    margin-bottom: 8rem;
  }
}

.li-footer-logo {
  width: 56px;
  height: auto;
}

.li-footer-links a,
.li-footer-link {
  text-decoration: none;
  display: inline-block;
  padding: .75rem 0;
}

.li-footer-links a:hover,
.li-footer-link:hover {
  text-decoration: underline;
  color: white !important;
}

.li-social {
  color: #fefffa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.li-footer-copyright {
  font-weight: 600;
}

/* Improve overlap spacing so the floating image doesn't collide with content */
@media (min-width: 992px) {
  .li-footer-main {
    padding-top: 2.5rem;
    /* gives breathing room under the floating image */
  }
}

/* FOOTER */

/* SKELETON */
.skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #cfcfcf 37%, #e0e0e0 63%);
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 2rem;
}

.skeleton-text {
  background: linear-gradient(90deg, #e0e0e0 25%, #cfcfcf 37%, #e0e0e0 63%);
  border-radius: 4px;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

/* SKELETON */

/* FLATPICKR */

.fp-wrap {
  position: relative;
}

.fp-icon-btn {
  -webkit-appearance: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  color: #000 !important;
}

.fp-icon-btn:hover {
  opacity: 1;
}

/* add right padding so text doesn't overlap icon */
.fp-wrap :deep(.flatpickr-input) {
  padding-right: 44px !important;
}

/* FLATPICKR */

/* LOADER */
/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m:
    conic-gradient(#0000 10%, #000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn)
  }
}

/* LOADER */