/* =====================
   Root & Warna Tema
===================== */
:root {
  --sc-primary: #ff7a00;
  --sc-dark: #0f172a;
  --sc-light: #fff7ed;
  --sc-text: #334155;
}

/* =====================
   Reset & Body
===================== */
body {
  font-family: system-ui, sans-serif;
  color: var(--sc-text);
  margin: 0;
  line-height: 1.6;
}

/* =====================
   Navbar
===================== */
.navbar {
  background: var(--sc-primary);
}
.navbar .nav-link,
.navbar .navbar-brand {
  color: #fff !important;
  font-weight: 500;
}
.navbar .nav-link:hover {
  text-decoration: underline;
}

/* =====================
   Hero Section
===================== */
.hero {
  background: var(--sc-light);
  padding: 60px 0;
}
.hero h1 {
  color: var(--sc-primary);
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

/* =====================
   Section Titles
===================== */
.section-title {
  color: var(--sc-primary);
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}

/* =====================
   Cards & Icon Pills
===================== */
.card-feature,
.card-step {
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center; /* pastikan semua content center */
}
.card-step {
  border: 1px solid #f1f5f9;
}
.card-feature:hover,
.card-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Icon pill */
.icon-pill {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #ffb347);
  color: #fff;
  font-size: 36px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 0 auto 12px auto; /* center horizontal */
}
.icon-pill:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

/* =====================
   Buttons
===================== */
.btn {
  padding: 0.7rem 1.3rem;
  font-weight: 500;
  border-radius: 8px;
}
.btn-primary {
  background: var(--sc-primary);
  border: none;
}
.btn-primary:hover {
  background: #ff8a33;
}
.btn-outline-light {
  border-color: #fff;
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--sc-primary);
}

/* =====================
   Kalkulator
===================== */
#kalkulator .card {
  background: #fff;
}
#kalkulator input {
  border-radius: 6px;
}

/* =====================
   FAQ Accordion
===================== */
.accordion-button {
  background: var(--sc-light);
  color: var(--sc-primary);
}
.accordion-button:not(.collapsed) {
  background: var(--sc-primary);
  color: #fff;
}
.accordion-body {
  color: var(--sc-text);
}

/* =====================
   Footer
===================== */
footer {
  background: var(--sc-dark);
  color: #cbd5e1;
  padding: 40px 20px;
}
footer a {
  color: #ffe9d6;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* =====================
   WhatsApp Floating Button
===================== */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

/* =====================
   Modal Form Inputs
===================== */
.modal .form-control {
  border-radius: 6px;
}

/* =====================
   Responsive Fixes
===================== */
@media (max-width: 992px){
  .navbar .btn-outline-light {
    display: none;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 576px){
  .icon-pill {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

/* =====================
   Navbar Logo Responsive
===================== */
.navbar-logo {
  height: 50px;        /* saiz default logo */
  max-height: 60px;    /* maksimum bila skrin besar */
  object-fit: contain;  /* pastikan logo tidak stretch */
}

/* Pastikan logo vertikal center dengan button/menu */
.navbar-brand {
  display: flex;
  align-items: center;
}

/* Adjust spacing antara logo dan menu/btn bila mobile */
@media (max-width: 991.98px) {
  .navbar-collapse .d-flex.gap-2 {
    justify-content: center;
    margin-top: 10px;
  }
}

/* Optional: sedikit padding kiri untuk logo bila desktop */
@media (min-width: 992px) {
  .navbar-brand {
    padding-left: 0.5rem;
  }
}
