/* Premium Bootstrap Theme (2026) - Amanda Servis AC
   Clean, widely-used landing style + modern effects (blur, gradient, reveal, counters)
*/
:root{
  --bg:#0b1220;
  --bg2:#0f1b2d;
  --card: rgba(255,255,255,.08);
  --card2: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.14);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);

  --brand:#4ea8ff;
  --brand2:#7c5cff;
  --ok:#25D366;

  --shadow: 0 18px 55px rgba(0,0,0,.30);
  --shadow2: 0 10px 28px rgba(0,0,0,.18);

  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;

  --ring: 0 0 0 .22rem rgba(78,168,255,.25);
}

/* Light theme (default for "popular" look) */
html[data-theme="light"], html:not([data-theme]){
  --bg:#f7f9ff;
  --bg2:#eef3ff;
  --card: rgba(255,255,255,.78);
  --card2: rgba(255,255,255,.95);
  --stroke: rgba(15,27,45,.10);

  --text: rgba(15,27,45,.92);
  --muted: rgba(15,27,45,.70);

  --shadow: 0 18px 55px rgba(15,27,45,.14);
  --shadow2: 0 10px 28px rgba(15,27,45,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1100px 560px at 10% 5%, rgba(78,168,255,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(124,92,255,.14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  overflow-x:hidden;
}

/* Background effects */
#particles-js{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events:none;
  opacity:.55;
}
.bg-blobs{
  position: absolute;
  inset: -120px -120px auto -120px;
  height: 520px;
  pointer-events:none;
  z-index: -1;
  filter: blur(40px);
  opacity: .85;
}
.blob{
  position:absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(78,168,255,.55), rgba(78,168,255,0));
  animation: floaty 10s ease-in-out infinite;
}
.blob.b2{
  left: 55%;
  top: 30px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 30% 30%, rgba(124,92,255,.50), rgba(124,92,255,0));
  animation-duration: 12s;
}
.blob.b3{
  left: 20%;
  top: 220px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(37,211,102,.35), rgba(37,211,102,0));
  animation-duration: 14s;
}
@keyframes floaty{
  0%,100%{ transform: translateY(0) translateX(0) scale(1); }
  50%{ transform: translateY(18px) translateX(10px) scale(1.03); }
}

/* Navbar (popular style: blur + pill buttons) */
.navbar{
  transition: background .2s ease, box-shadow .2s ease;
}
.navbar-glass{
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}
html[data-theme="dark"] .navbar-glass{
  background: rgba(11,18,32,.55);
}
.navbar-brand img.navbar-logo{
  max-height: 110px;
  transition: transform .2s ease;
}
.navbar-brand:hover img.navbar-logo{ transform: scale(1.03); }

.navbar .nav-link{
  font-weight: 700;
  color: var(--text);
  opacity: .9;
  border-radius: 999px;
  padding: .55rem .9rem;
}
.navbar .nav-link:hover{
  background: rgba(255,255,255,.10);
  opacity: 1;
}
html[data-theme="light"] .navbar .nav-link:hover,
html:not([data-theme]) .navbar .nav-link:hover{
  background: rgba(15,27,45,.06);
}

.btn-brand{
  background: linear-gradient(135deg, rgba(78,168,255,1), rgba(124,92,255,1));
  border: none;
  color:#fff;
  font-weight: 800;
  border-radius: 999px;
  padding: .75rem 1.05rem;
  box-shadow: 0 14px 28px rgba(78,168,255,.20);
}
.btn-brand:hover{ transform: translateY(-1px); color:#fff; }

.btn-whatsapp{
  background: linear-gradient(135deg, rgba(37,211,102,1), rgba(18,140,126,1));
  border: none;
  color:#fff;
  font-weight: 800;
  border-radius: 999px;
  padding: .75rem 1.05rem;
  box-shadow: 0 14px 28px rgba(37,211,102,.18);
}
.btn-whatsapp:hover{ transform: translateY(-1px); color:#fff; }

.btn-soft{
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 999px;
  font-weight: 800;
  padding: .75rem 1.05rem;
  box-shadow: var(--shadow2);
}
.btn-soft:hover{ transform: translateY(-1px); color: var(--text); }
.btn-soft:focus{ box-shadow: var(--ring); }

/* Hero */
.hero{
  position: relative;
  padding: 110px 0 40px;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  color: var(--muted);
  font-weight: 700;
}
.hero h1{
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  letter-spacing: .2px;
  font-weight: 800;
}
.hero p.lead{
  color: var(--muted);
  max-width: 56ch;
}
.hero-card{
  background: var(--card2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card img{
  width:100%;
  height:auto;
  display:block;
}

/* Section */
.section{
  padding: 65px 0;
}
.section-title{
  font-weight: 900;
  letter-spacing: .2px;
}
.section-sub{
  color: var(--muted);
  max-width: 70ch;
}
.divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stroke), transparent);
  margin: 18px 0 0;
}

/* Cards */
.cardx{
  background: var(--card2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cardx:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-bubble{
  width: 46px; height: 46px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(78,168,255,.20), rgba(124,92,255,.16));
  border: 1px solid var(--stroke);
}
.cardx .muted{ color: var(--muted); }

/* Pricing */
.price{
  font-weight: 900;
  font-size: 2.0rem;
}
.price small{ font-size: .95rem; color: var(--muted); font-weight:700; }

/* Testimonial */
.swiper{
  padding-bottom: 34px;
}
.t-card{
  background: var(--card2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow2);
  padding: 22px;
}
.stars{ letter-spacing: 2px; }

/* FAQ */
.accordion-item{
  border: 1px solid var(--stroke);
  background: transparent;
}
.accordion-button{
  background: var(--card2);
  color: var(--text);
  font-weight: 800;
}
.accordion-button:not(.collapsed){
  background: linear-gradient(135deg, rgba(78,168,255,.18), rgba(124,92,255,.14));
  color: var(--text);
}
.accordion-body{ background: var(--card2); color: var(--muted); }

/* Forms */
.form-control, .form-select{
  border-radius: 14px;
  padding: .8rem .9rem;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.65);
}
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select{
  background: rgba(255,255,255,.10);
  color: var(--text);
}
.form-control:focus, .form-select:focus{
  box-shadow: var(--ring);
  border-color: rgba(78,168,255,.55);
}

/* Footer */
footer{
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.35);
}
html[data-theme="dark"] footer{ background: rgba(11,18,32,.45); }

/* Back to top */
#back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow2);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 1100;
}
#back-to-top.show{ opacity: 1; visibility: visible; }
#back-to-top:hover{ transform: translateY(-2px); }

/* Mobile CTA bar */
.mobile-cta{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: min(760px, calc(100% - 20px));
  z-index: 1200;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.mobile-cta a{ flex:1; text-decoration:none; }

/* Mobile CTA sizing fix (small phones) */
.mobile-cta{
  bottom: calc(12px + env(safe-area-inset-bottom));
}
.mobile-cta .btn{
  padding: 12px 14px;
  font-weight: 800;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 420px){
  .mobile-cta{
    width: calc(100% - 16px);
    padding: 8px;
    gap: 6px;
    border-radius: 18px;
  }
  .mobile-cta .btn{
    padding: 10px 10px;
    font-size: .92rem;
  }
}


/* Logo responsive */
@media (max-width: 991.98px){
  .navbar-brand img.navbar-logo{ max-height: 110px; }
  .hero{ padding-top: 95px; }
  .mobile-cta{ display:flex; }
}

/* Readability fix: About content card if white background exists */
html[data-theme="dark"] .about-content{
  background:#fff !important;
  color:#0b1220 !important;
}
html[data-theme="dark"] .about-content *{
  color: inherit;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .blob{ animation:none !important; }
  .cardx, .btn-brand, .btn-whatsapp, .btn-soft{ transition:none !important; }
}



/* ===== Utilities used across pages ===== */
.section-pad{ padding: 64px 0; }
.page-wrap{ padding-top: 92px; }
.page-hero{ padding: 36px 0 10px; }
.fw-800{ font-weight: 800; }

.card-glass{
  background: var(--card2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.badge-soft{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid var(--stroke);
  color: var(--text);
}

.text-gradient{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero{
  position: relative;
  padding: 110px 0 40px;
  overflow: hidden;
}
.hero-media img{
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.price{ font-size: 1.7rem; font-weight: 900; letter-spacing: .2px; }

.btn-ok{
  background: linear-gradient(135deg, rgba(37,211,102,.95), rgba(18,140,126,.92));
  border: none;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(37,211,102,.18);
}
.btn-ok:hover{ transform: translateY(-1px); }

.btn-warn{
  background: linear-gradient(135deg, rgba(255,111,97,.95), rgba(255,138,101,.92));
  border: none;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(255,111,97,.18);
}
.btn-warn:hover{ transform: translateY(-1px); }

/* Inputs */
.input-soft{
  background: rgba(255,255,255,.10);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
}
html[data-theme="light"] .input-soft{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,27,45,.12);
  color: rgba(15,27,45,.92);
}
.input-soft:focus{
  outline:none;
  box-shadow: 0 0 0 .2rem rgba(78,168,255,.25);
  border-color: rgba(78,168,255,.55);
}


/* =========================
   Contrast fixes (dark/light)
========================= */
.text-muted{ color: var(--muted) !important; }

/* Links */
a{ color: inherit; }
a:hover{ color: var(--brand); }

/* Bootstrap link-light in light mode can become too pale */
.link-light{ color: var(--text) !important; opacity: .9; }
.link-light:hover{ opacity: 1; color: var(--brand) !important; }

/* FAQ accordion (avoid text-white issues) */
.accordion-item{
  background: var(--card2);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  box-shadow: var(--shadow2);
}
.accordion-button{
  background: transparent !important;
  color: var(--text) !important;
  font-weight: 800;
}
.accordion-button:focus{ box-shadow: var(--ring); }
.accordion-button::after{ filter: brightness(1.1); }
.accordion-body{
  color: var(--text) !important;
}
html[data-theme="light"] .accordion-body{
  color: rgba(15,27,45,.86) !important;
}

/* If any element still uses forced white text in light mode */
html[data-theme="light"] .text-white{ color: var(--text) !important; }



/* =========================
   Price list section
========================= */
.price-filter .btn-filter{
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: .5rem .85rem;
  font-weight: 700;
  box-shadow: var(--shadowSoft);
}
.price-filter .btn-filter:hover{ transform: translateY(-1px); }
.price-filter .btn-filter.active{
  background: linear-gradient(135deg, rgba(78,168,255,.30), rgba(124,92,255,.25));
}

.price-card{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card2);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadowSoft);
  height:100%;
}
.price-name{
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}
.price-desc{
  font-size: .92rem;
  margin-top: 6px;
}
.price-amount{
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: .2px;
  margin-top: 2px;
}
.badge-soft{
  background: rgba(255,255,255,.12);
  border: 1px solid var(--stroke);
  color: var(--text);
  border-radius: 999px;
  padding: .35rem .55rem;
  font-weight: 800;
}

/* Make outline buttons readable in both themes */
.btn-call,
.btn-outline-light{
  border-color: var(--stroke) !important;
  color: var(--text) !important;
}
.btn-call:hover,
.btn-outline-light:hover{
  background: rgba(255,255,255,.10) !important;
}

/* Filter visibility */
.price-item{ transition: opacity .2s ease, transform .2s ease; }
.price-item.is-hidden{ opacity: 0; transform: scale(.98); pointer-events:none; position:absolute; left:-9999px; }




/* =========================
   Extra contrast safety
========================= */
.text-body{ color: var(--text) !important; }
.text-dark{ color: var(--text) !important; } /* prevent forced dark on dark theme */
.text-light{ color: var(--text) !important; } /* prevent forced light on light theme */

.bg-white{
  background: var(--card2) !important;
  color: var(--text) !important;
}

.card, .list-group-item, .modal-content{
  background: var(--card2) !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}

.table{
  color: var(--text) !important;
}
.table thead th{ color: var(--text) !important; }
.table td, .table th{ border-color: var(--stroke) !important; }

.form-control, .form-select{
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}
.form-control::placeholder{ color: var(--muted) !important; opacity: .9; }



/* =========================
   Order helper + table + contrast fixes
========================= */
.form-soft{
  background: var(--card2) !important;
  border: 1px solid var(--stroke) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
  padding: 12px 14px;
}
.form-soft::placeholder{ color: var(--muted) !important; opacity: .9; }
.form-soft:focus{ box-shadow: var(--ring) !important; border-color: rgba(78,168,255,.55) !important; }

.chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: .85rem;
  line-height: 1;
}

.table-wrap{
  overflow:hidden;
}
.price-table thead th{
  color: var(--muted);
}
.price-table td, .price-table th{
  color: var(--text);
}
.price-table .tr-divider td{
  padding: 8px 0;
}
.price-table .tr-divider td:before{
  content:'';
  display:block;
  height:1px;
  background: var(--stroke);
  width:100%;
}

/* Price filter hide */
.price-item.is-hidden{ display:none !important; }

/* Bootstrap utility fixes for readability */
.text-muted{ color: var(--muted) !important; }
.link-light{ color: var(--text) !important; }
.link-light:hover{ color: var(--text) !important; opacity:.85; }

.btn-outline-light{
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}
.btn-outline-light:hover{
  background: var(--card) !important;
  border-color: var(--stroke) !important;
}
.btn-outline-light:focus{ box-shadow: var(--ring) !important; }

.accordion-button{
  color: var(--text) !important;
}
.accordion-button::after{
  filter: invert(1) opacity(.8);
}
html[data-theme="light"] .accordion-button::after{
  filter: none;
}
.accordion-body{ color: var(--muted) !important; }

/* Small phones: tighten CTA + buttons */
@media (max-width: 420px){
  .btn-order-main{ width: 100%; }
  .price-table td:nth-child(4),
  .price-table th:nth-child(4){ display:none; } /* hide estimasi column on very small screens */
}

/* === Compact Price Table === */
.price-table th,
.price-table td{
  padding: 8px 10px;          /* lebih ramping */
  font-size: 0.92rem;
  vertical-align: middle;
}

.price-table thead th{
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .3px;
}

.price-table .fw-800{
  font-size: 0.95rem;
}

/* Chip jadi kecil & rapi */
.price-table .chip{
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Tombol pesan jadi lebih kecil */
.price-table .btn-sm{
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Divider antar kategori lebih tipis */
.price-table .tr-divider td{
  padding: 6px 0;
}
.price-table .tr-divider{
  border-top: 1px dashed rgba(0,0,0,.1);
}

/* Card tabel jangan terlalu tebal */
.table-wrap{
  padding: 12px !important;
}

/* Mobile lebih padat lagi */
@media (max-width: 576px){
  .price-table th,
  .price-table td{
    font-size: 0.8rem;
    padding: 6px 6px;
  }

  .price-table .btn-sm{
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .price-table .chip{
    font-size: 0.65rem;
    padding: 2px 6px;
  }
}

/* =========================
   FORCE COMPACT PRICE TABLE
   taruh paling bawah style.css
========================= */

.card-glass.table-wrap { padding: 12px !important; }

.card-glass .price-table { font-size: 0.88rem !important; }

.card-glass .price-table th,
.card-glass .price-table td{
  padding: 7px 10px !important;
  line-height: 1.25 !important;
}

.card-glass .price-table thead th{
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
  opacity: .85;
}

.card-glass .price-table .fw-800{
  font-size: 0.92rem !important;
}

.card-glass .price-table .chip{
  font-size: 0.68rem !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
}

.card-glass .price-table .btn.btn-sm{
  font-size: 0.72rem !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
}

/* Divider antar kategori */
.card-glass .price-table tr.tr-divider td{
  padding: 6px 0 !important;
}
.card-glass .price-table tr.tr-divider{
  border-top: 1px dashed rgba(0,0,0,.14);
}

/* Mobile: lebih padat lagi */
@media (max-width: 576px){
  .card-glass .price-table th,
  .card-glass .price-table td{
    padding: 6px 7px !important;
    font-size: 0.78rem !important;
  }
  .card-glass .price-table .btn.btn-sm{
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }
  .card-glass .price-table .chip{
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
  }
}

