/* 
  PT. MAHA MERU CONSULTANT - Official Stylesheet
  Brosur-Matched Theme:
  - Base: Crisp Clean White (#FFFFFF) & Light Sky (#F0F7FF / #E2E8F0)
  - Primary Brand: Deep Navy Blue (#0A2540 / #0B2545)
  - Secondary Brand: Vibrant Golden Yellow (#FDB813 / #F59E0B)
  - Text Primary: Deep Dark Charcoal (#0F172A / #1E293B) - 100% High Contrast
  - Pill Headers: Deep Navy (#0A2540) with Crisp White (#FFFFFF) text
  - Footer & Contact Ribbon: Solid Deep Navy (#071E3D) with Crisp Pure White text
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@600;700;800&family=Caveat:wght@700&display=swap');

:root {
  --color-primary: #0A2540;
  --color-primary-dark: #071E3D;
  --color-primary-light: #133E87;
  --color-gold: #FDB813;
  --color-gold-hover: #E5A50A;
  --color-gold-dark: #B45309;
  --color-text-main: #0F172A;
  --color-text-muted: #334155;
  --color-sky-light: #F0F7FF;
  --color-sky-border: #BAE6FD;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0F172A;
}

body {
  background-color: #FFFFFF;
  color: #0F172A;
  line-height: 1.6;
}

/* Ensure no text is invisible or washed-out gray */
h1, h2, h3, h4, h5, h6 {
  color: #0A2540;
  font-weight: 800;
}

p, span, li, label {
  color: #1E293B;
}

.font-handwriting {
  font-family: 'Caveat', cursive, sans-serif;
}

.font-display {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

/* Brosur Header Pills */
.pill-header-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0A2540;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 24px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

.pill-header-navy svg,
.pill-header-navy span {
  color: #FFFFFF !important;
}

.pill-header-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FDB813;
  color: #0A2540 !important;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 24px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(253, 184, 19, 0.35);
}

/* Yellow Ribbon / Angle Badge like flyer */
.ribbon-yellow {
  background-color: #FDB813;
  color: #0A2540;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(253, 184, 19, 0.3);
  display: inline-block;
  transform: rotate(-1deg);
}

/* Giant PBG and SLF Blocks matching flyer */
.box-pbg-giant {
  background-color: #FDB813;
  color: #0A2540;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  padding: 10px 24px;
  border-radius: 16px;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(253, 184, 19, 0.35);
  letter-spacing: 0.05em;
}

.box-slf-giant {
  background-color: #0A2540;
  color: #FFFFFF;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  padding: 10px 24px;
  border-radius: 16px;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3);
  letter-spacing: 0.05em;
}

/* Light Sky Box (Flyer Layanan Kami box) */
.card-sky-flyer {
  background-color: #F0F7FF;
  border: 2px solid #BAE6FD;
  border-radius: 20px;
}

/* Yellow Circle Icon Item */
.icon-circle-gold {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FDB813;
  color: #0A2540;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(253, 184, 19, 0.3);
  flex-shrink: 0;
}

.icon-circle-navy {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0A2540;
  color: #FDB813;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
  flex-shrink: 0;
}

/* Hover Elevation */
.card-flyer-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-flyer-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -8px rgba(10, 37, 64, 0.12);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp .btn-wa {
  position: relative;
  width: 62px;
  height: 62px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
}

.floating-whatsapp .btn-wa:hover {
  transform: scale(1.08);
  background-color: var(--color-whatsapp-dark);
}

.floating-whatsapp .pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--color-whatsapp);
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.floating-whatsapp .tooltip-wa {
  background: #0A2540;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.35s ease-out;
  opacity: 0;
}

.faq-answer.open {
  max-height: 600px;
  opacity: 1;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-chevron.rotate {
  transform: rotate(180deg);
}

/* Maps Iframe Box */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(10, 37, 64, 0.15);
  border: 4px solid #BAE6FD;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #0A2540;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #133E87;
}
