:root {
  --brand-primary: #0d6efd;
}

body { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

.navbar .brand-logo {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-primary); color: #fff; font-weight: 700;
}
/* Brand image */
.navbar .brand-img { height: 36px; width: auto; display: inline-block; }
/* Brand text next to logo */
.navbar .brand-text { font-weight: 700; font-size: 1.1rem; color: #0b1220; margin-left: .35rem; }
.navbar .brand-img { height: 36px; width: auto; display: inline-block; flex-shrink: 0; }
.navbar .brand-text { font-weight: 700; font-size: 1.1rem; color: #0b1220; margin-left: .35rem; white-space: nowrap; }

/* Navbar spacing */
.navbar-nav { gap: 1.25rem; }
.navbar-nav .nav-link { padding-left: .6rem; padding-right: .6rem; }
.navbar .btn { margin-left: 1.1rem; }
/* Keep navbar aligned with Bootstrap container widths on large screens.
   On very small screens, ensure it uses full width with comfortable padding. */
@media (max-width: 575.98px) {
  .navbar .container { max-width: 100%; padding-left: 1rem; padding-right: 1rem; }
}

.hero-section {
  padding-top: 96px; padding-bottom: 72px; min-height: 75vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-illustration,
.about-illustration {
  height: 260px; border-radius: 16px;
  background: radial-gradient(120px 120px at 30% 30%, rgba(13,110,253,.15), transparent),
              radial-gradient(150px 150px at 70% 60%, rgba(13,110,253,.12), transparent),
              #ffffff;
  border: 1px solid #e9ecef;
}

/* Hero image styling */
.hero-image { border-radius: 16px; box-shadow: none; }
@media (max-width: 767.98px) {
  .hero-image { display: none !important; }
}

/* About image styling */
.about-image { border-radius: 16px; box-shadow: none; }
@media (max-width: 767.98px) {
  .about-image { display: none !important; }
}

/* Layanan icons: plain bigger icon with more bottom spacing */
.layanan-icon { font-size: 3.25rem; line-height: 1; display: inline-block; margin-bottom: 1.25rem; }

.pricing-card.popular { transform: translateY(-6px); }

.footer { background: #0b1220; color: #cbd5e1; }
.footer a { color: #e2e8f0; text-decoration: none; }
/* No underline on footer links in all states */
.footer a:hover,
.footer a:focus,
.footer a:visited { text-decoration: none; }
.footer .footer-title { color: #94a3b8; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.footer .social a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border:1px solid #233047; border-radius:8px; margin-right:.5rem; }
.footer .footer-list li { line-height: 1.6; }
.footer .footer-list i { margin-top: .2rem; }

/* Mega Menu */
.mega-menu { min-width: min(720px, 100%); max-width: 100vw; overflow-x: auto; }
@media (max-width: 991.98px) { /* below lg breakpoint */
  .mega-menu { min-width: 100%; position: static !important; }
  .navbar .dropdown-menu.mega-menu { width: 100% !important; }
  .navbar .collapse { padding-top: .5rem; padding-bottom: .75rem; }
  .navbar-nav { gap: .5rem; }
}
.mega-menu .mm-item { padding: .85rem 1rem; border-radius: .6rem; }
.mega-menu .mm-item:hover { background: #f1f5f9; }
.mm-title { margin-bottom: .25rem; font-weight: 600; }
.mm-desc { font-size: .9rem; color: #64748b; margin-bottom: 0; }
.mm-icon { width: 52px; height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-right: .75rem; font-size: 1.25rem; }
.mm-icon.primary { background: #e7f1ff; color: #0d6efd; }
.mm-icon.success { background: #e8fff3; color: #16a34a; }
.mm-icon.warning { background: #fff6e6; color: #d97706; }

/* Home enrichment */
.feature-icon { font-size: 2.75rem; color: var(--brand-primary); line-height: 1; }
.features-grid .feature-card { text-align: center; }
.testimonial { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.25rem; }

/* Looser section spacing */
section.py-5 { padding-top: 7rem !important; padding-bottom: 7rem !important; }

/* CTA section styling */
.cta-section {
  background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

/* */

/* Pricing table styles (moved from views/services/ujianonline.ejs) */
.pricing-card { border: 1px solid #eef2f5; border-radius: 12px; overflow: hidden; }
.pricing-card { position: relative; }
.pricing-card .card-body { padding: 1.5rem; }
.pricing-card .price-big { font-size: 1.8rem; font-weight: 700; }
.price-badge { display:block; width:calc(100% - 2rem); margin:.45rem 1rem; white-space:normal; border-radius:999px; padding:.45rem .9rem; box-shadow:0 2px 6px rgba(0,0,0,0.06); }
.pricing-card .btn-outline-primary { padding-top:.6rem; padding-bottom:.6rem; }
.pricing-card .features-list li {
  padding: .5rem 0;
  border-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.pricing-card .features-list li i {
  color: #28a745;
  margin-top: .125rem; /* visually center with multiline text */
  flex: 0 0 22px; /* fixed width for icon column */
  width: 22px;
}
.pricing-card hr.pricing-divider { border-top: 1px solid #f0f2f4; margin: 1rem 0 1.25rem; }
.pricing-card .btn-choose { background:#0b2540; color:#fff; border:none; padding:.7rem 1rem; border-radius:.6rem; }
@media (min-width: 992px) {
  .pricing-card .price-big { font-size: 2rem; }
}
/* Billing toggle (TailAdmin-like) */
.billing-toggle { background: #e9ecef; display: inline-flex; align-items: center; padding: 4px; }
.billing-toggle .toggle-label { display: inline-block; padding: .45rem 1.1rem; border-radius: 999px; margin: 0 2px; cursor: pointer; color: #6c757d; font-weight: 600; transition: all .12s ease; }
.billing-toggle .toggle-label.active { background: #ffffff; color: #0d6efd; box-shadow: 0 6px 18px rgba(13,110,253,0.12); }
@media (max-width: 576px) {
  .billing-toggle .toggle-label { padding: .35rem .8rem; font-size: .95rem; }
}

/* Promo ribbon */
.pricing-card .ribbon {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #d63384; /* pinkish red for promo */
  color: #fff;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 3;
}

@media (max-width: 576px) {
  .pricing-card .ribbon { font-size: .8rem; right: 10px; top: 10px; }
}


