:root {
  --color-primary: #fff8f6; /* white */
  --color-secondary: #ff3600; /* Orange */
  --color-dark: #282828; /* dark */
  --color-salmon: #fff7f5;
}
/* html {
    margin: 0 !important;
  } */
body {
  font-family: "DM Sans", sans-serif;
  background-color: #ffffff;
}

/* ===== Background Colors ===== */
.bg-primary {
  background-color: var(--color-primary);
}
.bg-secondary {
  background-color: var(--color-secondary);
}
.bg-dark {
  background-color: var(--color-dark);
}
.bg-salmon {
  background-color: var(--color-salmon);
}

/* ===== Text Colors ===== */
.text-primary {
  color: var(--color-primary);
}
.text-secondary {
  color: var(--color-secondary);
}
.text-dark {
  color: var(--color-dark);
}
.text-salmon {
  color: var(--color-salmon);
}

/* ===== Border Colors ===== */
.border-primary {
  border-color: var(--color-primary);
}
.border-secondary {
  border-color: var(--color-secondary);
}
.border-dark {
  border-color: var(--color-dark);
}
.border-salmon {
  border-color: var(--color-salmon);
}

/* ===== Hover States (custom class names) ===== */
.hover\:bg-primary:hover {
  background-color: var(--color-primary);
}
.hover\:bg-secondary:hover {
  background-color: var(--color-secondary);
}
.hover\:bg-dark:hover {
  background-color: var(--color-dark);
}
.hover\:bg-salmon:hover {
  background-color: var(--color-salmon);
}

.hover\:text-primary:hover {
  color: var(--color-primary);
}
.hover\:text-secondary:hover {
  color: var(--color-secondary);
}
.hover\:text-dark:hover {
  color: var(--color-dark);
}
.hover\:text-salmon:hover {
  color: var(--color-salmon);
}

.hover\:border-primary:hover {
  border-color: var(--color-primary);
}
.hover\:border-secondary:hover {
  border-color: var(--color-secondary);
}
.hover\:border-dark:hover {
  border-color: var(--color-dark);
}
.hover\:border-salmon:hover {
  border-color: var(--color-salmon);
}

.group:hover .group-hover\:bg-primary {
  background-color: var(--color-primary);
}
.group:hover .group-hover\:bg-secondary {
  background-color: var(--color-secondary);
}
.group:hover .group-hover\:bg-dark {
  background-color: var(--color-dark);
}
.group:hover .group-hover\:bg-salmon {
  background-color: var(--color-salmon);
}

.group:hover .group-hover\:text-primary {
  color: var(--color-primary);
}
.group:hover .group-hover\:text-secondary {
  color: var(--color-secondary);
}
.group:hover .group-hover\:text-dark {
  color: var(--color-dark);
}
.group:hover .group-hover\:text-salmon {
  color: var(--color-salmon);
}

.group:hover .group-hover\:border-primary {
  border-color: var(--color-primary);
}
.group:hover .group-hover\:border-secondary {
  border-color: var(--color-secondary);
}
.group:hover .group-hover\:border-dark {
  border-color: var(--color-dark);
}
.group:hover .group-hover\:border-salmon {
  border-color: var(--color-salmon);
}

/* Hamburger Transition */
.hamburger-line {
  transition: transform 0.3s ease;
}
.hamburger-open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-open .line2 {
  opacity: 0;
}
.hamburger-open .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
  max-height: 0;
}
.mobile-menu.open {
  max-height: 500px; /* Adjust max-height as per your content */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.rotate-left svg {
  transform: rotate(-135deg); /* arrow mengarah ke kiri */
}

.rotate-right svg {
  transform: rotate(45deg); /* arrow mengarah ke kanan */
}

/* SWIPER  */
/* Cange color dot default */
.swiper-pagination-bullet {
  background-color: #ccc;
  opacity: 1;
}

/* active */
.swiper-pagination-bullet-active {
  background-color: #ff3600; /* ganti dengan warna lo */
}

.swiper-wrapper {
  height: auto;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
  display: inline-block;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}
.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .toggle-slider {
  background-color: #4ade80;
}
input:checked + .toggle-slider::before {
  transform: translateX(26px);
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
  display: inline-block;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}
.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}
input:checked + .toggle-slider {
  background-color: #4ade80;
}
input:checked + .toggle-slider::before {
  transform: translateX(26px);
}


 .rich-text h1, 
  .rich-text h2, 
  .rich-text h3 {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .rich-text h1 { font-size: 2rem; }
  .rich-text h2 { font-size: 1.5rem; }
  .rich-text h3 { font-size: 1.25rem; }

  .rich-text p {
    margin-bottom: 1rem;
  }

  .rich-text ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }

  .rich-text ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }

  .rich-text blockquote {
    padding-left: 1rem;
    border-left: 4px solid #ccc;
    color: #555;
    font-style: italic;
    margin-bottom: 1rem;
  }

  .rich-text a {
    color: var(--color-secondary);
    text-decoration: underline;
  }

/* Rest styling for Button Shortcode in article */
.rich-text .buttonSection h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;   /* font-bold */
}
.rich-text .buttonSection h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;    /* font-semibold */
}
.rich-text .buttonSection h3 {
  font-size: 1.5rem;   /* text-2xl */
  font-weight: 600;
}
.rich-text .buttonSection p {
  font-size: 1rem;     /* text-base */
  line-height: 1.5rem; /* leading-normal */
}
.rich-text .buttonSection .btnPrimary {
  color: #fff;
  text-decoration: none;
}
.rich-text .buttonSection .btnSecondary {
  color: #020202;
  text-decoration: none;
}
.rich-text .buttonSection .btnSecondary:hover {
  color: #fff;
  text-decoration: none;
}
.rich-text .buttonSection .btnOutline {
  color: #020202;
  text-decoration: none;
}
  /* Rest styling for CTA Shortcode in article */
.rich-text .ctaSection {
    all: unset;          /* hapus semua styling yang diwariskan */
    display: block;      /* balikin minimal ke block biar tetep kelihatan */
}
.rich-text .ctaSection h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;   /* font-bold */
}
.rich-text .ctaSection h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;    /* font-semibold */
}
.rich-text .ctaSection h3 {
  font-size: 1.5rem;   /* text-2xl */
  font-weight: 600;
}
.rich-text .ctaSection p {
  font-size: 1rem;     /* text-base */
  line-height: 1.5rem; /* leading-normal */
}
.rich-text .ctaSection a {
  color: #fff;
  text-decoration: none;
}
  /* Rest styling for Brand Logo Shortcode in article */
.rich-text .brandSection {
    all: unset;          /* hapus semua styling yang diwariskan */
    display: block;      /* balikin minimal ke block biar tetep kelihatan */
}
.rich-text .brandSection h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;   /* font-bold */
  margin-top: 0;
}
.rich-text .brandSection h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;    /* font-semibold */
}
.rich-text .brandSection h3 {
  font-size: 1.5rem;   /* text-2xl */
  font-weight: 600;
}
.rich-text .brandSection p {
  font-size: 1rem;     /* text-base */
  line-height: 1.5rem; /* leading-normal */
}
.rich-text .brandSection a {
  color: #fff;
  text-decoration: none;
}
  /* Rest styling for accordion Shortcode in article */
.rich-text .accordionSection {
    all: unset;          /* hapus semua styling yang diwariskan */
    display: block;      /* balikin minimal ke block biar tetep kelihatan */
}
.rich-text .accordionSection h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;   /* font-bold */
  margin-top: 0;
}
.rich-text .accordionSection h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;    /* font-semibold */
}
.rich-text .accordionSection h3 {
  font-size: 1.25rem;   /* text-xl */
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}
.rich-text .accordionSection p {
  font-size: 1rem;     /* text-base */
  line-height: 1.5rem; /* leading-normal */
}
.rich-text .accordionSection a {
  color: #fff;
  text-decoration: none;
}
  /* Rest styling for calloutSection Shortcode in article */
.rich-text .calloutSection {
    all: unset;          /* hapus semua styling yang diwariskan */
    display: block;      /* balikin minimal ke block biar tetep kelihatan */
}
.rich-text .calloutSection h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;   /* font-bold */
  margin-top: 0;
  margin-bottom: 0;
}
.rich-text .calloutSection h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;    /* font-semibold */
  margin-top: 0;
  margin-bottom: 0;
}
.rich-text .calloutSection h3 {
  font-size: 1.25rem;   /* text-xl */
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}
.rich-text .calloutSection p {
  font-size: 1rem;     /* text-base */
  line-height: 1.5rem; /* leading-normal */
  margin-bottom: 0;
}
.rich-text .calloutSection a {
  color: #fff;
  text-decoration: none;
}

  /* Rest styling for tableSection Shortcode in article */
.rich-text .tableSection {
    all: unset;          /* hapus semua styling yang diwariskan */
    display: block;      /* balikin minimal ke block biar tetep kelihatan */
}