/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

/* CSS Variables */
:root {
  /* Font */
  --primary-font: 'Segoe UI', sans-serif;
  --heading-font-family: 'Dancing Script', cursive;
  --body-font-size: 16px;
  --line-height: 1.6;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  /* Ukuran Font Tambahan */
  --heading-font-size: 2.5rem;
  --subheading-font-size: 1.8rem;
  /* Color */
  --primary-color: #0077b6;
  --secondary-color: #555;
  --text-color-light: #444;
  --text-color-dark: #fff;
  --light-bg: #f9f9f9;
  --dark-bg: #2a2a2a;
  --card-bg: #fff;
  --accent-color: #ffbb33;
  --primary-button-color: #0077b6;
  --primary-button-text-color: #fff;
  /* Sizing & Spacing */
  --border-radius: 8px;
  --section-spacing: 20px;
  --section-padding: 15px;
  --title-margin-bottom: 9px;
  --card-border-width: 1px;
  --card-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --global-margin: 0;
  --global-padding: 0;
  --scroll-indicator-fade-duration: 0.8s;
  --scroll-indicator-fade-ease: ease-in-out;
  --transition: all 0.3s ease;
  --shadow: rgba(0, 0, 0, 0.12);
}

/* 🔹🔹🔹 STYLING 🔹🔹🔹 */
h1,
h2,
h3 {
  font-family: var(--heading-font-family);
}

body {
  font-family: var(--primary-font);
  font-size: var(--body-font-size);
  line-height: var(--line-height);
  background-color: #d7e1eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--global-padding);
}

h2,
h3,
p {
  margin: 0;
  padding: 0;
  font-family: var(--primary-font);
}

h2 {
  text-align: center;
  margin: 20px 0;
  font-size: 26px;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color);
}

/* Global Section Styling */
.section-wrapper,
.container_paket,
.vehicle-section,
.promo-section,
.services-container,
.about-us {
  margin-top: var(--section-spacing);
  margin-bottom: var(--section-spacing);
  padding: var(--section-padding);
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.section-wrapper h1 {
  font-size: 36px;
  font-weight: 700;
  text-transform: none;
  color: #1a1a1a;
  margin-bottom: 5px;
  font-family: var(--heading-font-family);
}

.section-wrapper h2 {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-button-color);
  margin-bottom: var(--title-margin-bottom);
}

.section-wrapper p.subtitle {
  font-size: 17px;
  font-style: italic;
  color: var(--text-color-light);
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width:500px) {
  .section-wrapper h1 {
    font-size: 28px;
  }

  .section-wrapper h2 {
    font-size: 24px;
  }
}

.section-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--title-margin-bottom);
  color: var(--primary-color);
}

.section-description {
  font-size: var(--body-font-size);
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

/* Style umum untuk semua button */
button,
.primary-button {
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  padding: 10px 20px;
}

/* Tombol utama (link/button khusus) */
.primary-button {
  display: inline-block;
  background-color: var(--primary-button-color);
  color: var(--primary-button-text-color);
  text-decoration: none;
  margin-top: 10px;
}

.section-maps {
  margin: 60px auto;
  max-width: 1000px;
  padding: var(--section-padding);
  text-align: center;
}

.section-maps .map-container {
  border-radius: var(--border-radius, 12px);
  overflow: hidden;
  box-shadow: var(--card-box-shadow, 0 4px 12px rgba(0, 0, 0, 0.1));
}

.section-maps iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* =========================================================
   Global Body dan Layout
   ========================================================= */
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

/* Saat modal aktif, kunci scroll */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ===============================
   Garis Dekoratif Umum
   =============================== */
.divider-line {
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(270deg, #23589f, #6fa8dc, #d7e1eb, #6fa8dc, #23589f);
  background-size: 400% 100%;
  border-radius: 2px;
  margin: 16px 0;
  animation: gradientFlow 8s ease-in-out infinite;
  transition: height 0.4s ease, border-radius 0.4s ease, filter 0.4s ease;
  filter: brightness(1);
}

/* Animasi gradien bergerak lembut dan berulang dua arah */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Efek hover interaktif */
.divider-line:hover {
  height: 6px;
  border-radius: 4px;
  filter: brightness(1.15);
}

/* ===============================
   Garis Dekoratif di Footer
   =============================== */
.footer-container .divider-line {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(270deg, #23589f, #6fa8dc, #d7e1eb, #6fa8dc, #23589f);
  background-size: 400% 100%;
  animation: gradientFlow 14s ease-in-out infinite;
}

/* ===============================
   Full Bleed Helper
   =============================== */
.full-bleed {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ===============================
   Aksesibilitas & Fokus
   =============================== */
:focus {
  outline: 3px solid rgba(0, 119, 182, 0.25);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 🔹🔹🔹 BAGIAN SIDEBAR 🔹🔹🔹 */
/* ==========================
   Sidebar - CSS
============================= */
/* HEADER */
.template-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #23589f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.template-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.template-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.template-logo-link:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.template-logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.template-logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.template-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.template-brand .template-jakalelana {
  font-size: 1.2em;
  color: var(--text-color-dark);
}

.template-brand .template-tour {
  font-size: 0.80em;
  color: var(--text-color-dark);
  letter-spacing: 0.35em;
}

.template-brand .template-separator {
  width: 100%;
  height: 0.05em;
  background: var(--text-color-dark);
  margin: 0.2em 0;
}

/* TOGGLE MENU */
.template-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
  padding: 5px;
}

.template-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-color-dark);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.template-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.template-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.template-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* SIDEBAR NAVIGATION */
.template-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #1e447f;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  transition: right 0.5s ease;
  z-index: 1100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.template-nav.open {
  right: 0;
}

.template-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.template-nav a {
  color: var(--text-color-dark);
  padding: 18px 20px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  border-radius: var(--border-radius);
}

.template-nav a i {
  margin-right: 20px;
  min-width: 25px;
  text-align: center;
}

.template-nav.open a {
  opacity: 1;
  transform: translateX(0);
}

.template-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-color);
}

/* SUBMENU */
.template-submenu {
  display: none;
  flex-direction: column;
  background: #1b3a66;
}

.template-has-submenu.open>.template-submenu {
  display: flex;
}

.template-submenu a {
  font-weight: 500;
  font-size: 0.95rem;
}

/* MENU AKTIF */
.template-nav a.template-active {
  background: rgba(255, 255, 255, 0.25);
  border-left: 4px solid var(--accent-color);
  color: var(--accent-color);
  font-weight: var(--font-weight-bold);
}

/* NONAKTIFKAN FOCUS OUTLINE DI MENU SIDEBAR */
.template-nav a:focus,
.template-submenu a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* BACKDROP */
.template-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.25);
  z-index: 1090;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.template-nav-backdrop.active {
  display: block;
  opacity: 1;
}

/* DESKTOP MODE */
@media (min-width: 768px) {
  .template-menu-toggle {
    display: none;
  }

  .template-nav {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    background: none;
    padding-top: 0;
  }

  .template-menu {
    display: flex;
    gap: 10px;
  }

  .template-nav a {
    opacity: 1;
    transform: none;
    padding: 14px 20px;
    border-radius: 4px;
    transition: background 0.3s;
  }

  .template-nav a:hover {
    background: rgba(35, 88, 159, 0.8);
  }

  .template-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    border-radius: 6px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: #1e447f;
  }

  .template-has-submenu:hover>.template-submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .template-submenu .template-has-submenu {
    position: relative;
  }

  .template-submenu .template-has-submenu>.template-submenu {
    top: 0;
    left: 100%;
    border-radius: 6px;
    display: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: #1b3a66;
  }

  .template-submenu .template-has-submenu:hover>.template-submenu {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }

  .template-submenu a {
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    transition: background 0.3s ease;
  }

  .template-submenu a:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .template-submenu .template-has-submenu>a::after {
    content: "▶";
    font-size: 0.7rem;
    position: absolute;
    right: 10px;
  }
}

/* BODY LOCK SAAT SIDEBAR AKTIF */
body.no-scroll {
  overflow: hidden;
}

/* ===============================
   DATETIME — ONE LINE RESPONSIVE
=============================== */
/* MOBILE FIRST */
#datetime {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  color: var(--text-color-dark);
  background: var(--primary-color);
  padding: 8px 16px;
  margin: 10px auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  max-width: 95%;
  white-space: nowrap;
  transition: all 0.3s ease;
}

#datetime i {
  color: var(--accent-color);
}

#datetime .separator {
  opacity: 0.6;
}

@media screen and (min-width: 768px) {
  #datetime {
    font-size: 14px;
    padding: 8px 20px;
    max-width: 100%;
  }
}

/* ===============================
   HERO BANNER
=============================== */
.banner-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* 🔹 MOBILE */
@media (max-width: 767px) {
  .banner-container {
    height: auto;
  }

  .banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin-top: 6.5vh;
  }
}

/* 🔹 DESKTOP */
@media (min-width: 1024px) {
  .banner-container {
    height: 600px;
  }

  .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    margin-top: 0;
  }
}

/* ===============================
   SUPPORT BUTTON WRAPPER
=============================== */
.support-btn-wrapper {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  color: #222;
  user-select: none;
  max-width: 280px;
}

/* Show support button */
.support-btn-wrapper.show {
  opacity: 1;
  visibility: visible;
}

/* Main support button */
.support-btn {
  background-color: #25d366;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  outline-offset: 2px;
}

.support-btn:focus {
  outline: 2px solid #1ebe57;
  outline-offset: 2px;
}

.support-btn:hover {
  background-color: #1ebe57;
  transform: scale(1.15);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Animasi putar 360 derajat untuk icon headset */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateBack360 {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.support-btn i.fas.fa-headset {
  display: inline-block;
  transition: transform 0.6s ease;
}

/* Saat aktif, mainkan animasi putar searah */
.support-btn-wrapper.active .support-btn i.fas.fa-headset {
  animation: rotate360 0.6s forwards;
}

/* Saat menutup, animasi balik putar */
.support-btn-wrapper.rotating-back .support-btn i.fas.fa-headset {
  animation: rotateBack360 0.6s forwards;
}

/* Support panel dropdown */
.support-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: rgba(255 255 255 / 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 280px;
  padding: 12px 0;
  font-size: 12px;
  color: #222;
  user-select: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.support-btn-wrapper.active .support-panel {
  opacity: 1;
  visibility: visible;
}

/* List utama */
.support-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Item list */
.support-panel ul>li {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  color: #222;
  transition: background-color 0.3s ease;
  font-size: 12px;
}

.support-panel ul>li:focus,
.support-panel ul>li:hover {
  background-color: rgba(37, 211, 102, 0.15);
  outline: none;
}

.support-panel ul>li i {
  margin-right: 10px;
  font-size: 14px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  color: #25d366;
}

.whatsapp-header {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  font-size: 0.75rem;
  cursor: pointer;
  user-select: none;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: rgba(37, 211, 102, 0.15);
  color: #25d366;
  transition: background-color 0.3s ease;
}

.whatsapp-header:hover {
  background-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-header i.fab.fa-whatsapp {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
}

/* WhatsApp sublist */
.support-sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 28px;
  font-size: 11px;
  color: #444;
}

.support-sublist li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  cursor: default;
  color: #333;
}

.support-sublist li i {
  margin-right: 8px;
  font-size: 12px;
  color: #666;
  width: 16px;
  flex-shrink: 0;
}

.support-sublist li a {
  color: #25d366;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 11px;
}

.support-sublist li a:hover,
.support-sublist li a:focus {
  color: #1ebe57;
  text-decoration: underline;
  outline: none;
}

/* Halaman Kontak & Email */
.support-panel li.info,
.support-panel li.email {
  font-size: 12px;
  cursor: pointer;
}

.support-panel li.info i,
.support-panel li.email i {
  color: #555;
}

.support-panel li.email a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.support-panel li.email a:hover,
.support-panel li.email a:focus {
  color: #25d366;
  text-decoration: underline;
  outline: none;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .support-btn-wrapper {
    max-width: 90vw;
    right: 8px;
    bottom: 12px;
  }

  .support-panel {
    width: 65vw;
    right: 0;
  }
}

/* footer */
.footer-container {
  width: 100%;
  background: #23589f;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  color: var(--text-color-dark);
  position: relative;
  box-sizing: border-box;
  text-align: center;
  /* info kantor tetap rata kiri */
}

/* Info kantor */
.footer-info {
  font-size: 0.4em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.footer-info-block strong {
  color: #fff;
  font-size: 1.1em;
}

/* Navigasi */
.footer-container .footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.footer-container .footer-nav a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1em;
  color: var(--text-color-dark);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-container .footer-nav a:hover {
  color: var(--accent-color);
  transform: scale(1.05);
}

.footer-container .separator {
  color: rgba(255, 255, 255, 0.6);
}

/* Copyright rata tengah */
.footer-container .copyright {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-top: 10px;
}

/* Responsive Desktop */
@media (min-width: 768px) {
  .footer-container {
    padding: 32px 24px;
    gap: 18px;
  }

  .footer-info {
    font-size: 1.1em;
  }

  .footer-info-block strong {
    font-size: 1.2em;
  }

  .footer-container .footer-nav a {
    font-size: 1.1em;
  }

  .footer-container .copyright {
    font-size: 0.9em;
  }
}

/* HP kecil */
@media (max-width: 400px) {
  .footer-container {
    padding: 20px 12px;
    gap: 10px;
  }

  .footer-info {
    font-size: 0.9em;
  }

  .footer-info-block strong {
    font-size: 1em;
  }

  .footer-container .footer-nav a {
    font-size: 0.85em;
    gap: 3px;
  }

  .footer-container .copyright {
    font-size: 0.75em;
  }
}

/* Brand Font */
.jakalelana-font {
  font-family: 'Laila', serif;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  color: #23589f;
  background: linear-gradient(90deg,
      #23589f 0%,
      #23589f 40%,
      #ffffff 50%,
      #23589f 60%,
      #23589f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 17s ease-in-out infinite;
  -webkit-text-stroke: 0.3px #ffffff;
}

@keyframes shimmer {

  0%,
  75% {
    background-position: -200% center;
  }

  90% {
    background-position: 200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ------------------------------
   FAQ Global Style (Clean Version)
--------------------------------*/
.faq {
  margin-top: 2rem;
  max-width: 800px;
  margin-inline: auto;
  font-family: "Poppins", sans-serif;
}

.faq h2 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--primary-color);
  font-weight: 700;
}

/* === Item Wrapper === */
.faq .faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background: white;
}

/* === Tombol pertanyaan === */
.faq .faq-question {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: background 0.3s ease;
  border-radius: 8px;
}

.faq .faq-question:hover {
  background: #23589f;
}

/* === Ikon panah kanan dibuat otomatis via CSS === */
.faq .faq-question::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.35s ease;
}

/* Saat dibuka, panah berputar ke atas */
.faq .faq-question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-135deg);
}

/* === Jawaban FAQ === */
.faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f8fbff;
  border-left: 3px solid var(--accent-color);
  transition: max-height 0.45s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.faq .faq-answer.show {
  max-height: 400px;
  padding: 1rem 1.2rem;
}

/* === Responsif (mobile) === */
@media (max-width: 600px) {
  .faq h2 {
    font-size: 1.4rem;
  }

  .faq .faq-question {
    font-size: 0.95rem;
    padding: 0.8rem 0.9rem;
  }
}

/* === TOAST BAWAH (Info / Success / Error) === */
#infotoast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(59, 130, 246, 0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 1100;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 85%;
  text-align: center;
}

/* Saat muncul */
#infotoast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  animation: fadeSlide 0.35s ease;
}

/* Warna per tipe */
#infotoast.info {
  background: rgba(59, 130, 246, 0.9);
}

#infotoast.success {
  background: rgba(34, 197, 94, 0.9);
}

#infotoast.error {
  background: rgba(239, 68, 68, 0.9);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}