:root{
  --navy:#0a2a57;
  --orange:#f59e0b;
  --bg:#0b1220;
  --muted:#8aa3bf;
  --header-h: 64px; /* header height for offsets */
}

/* ===== Base ===== */
*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu;
  color:#0b1b2b; background:#fff;
}
.container{ max-width:1200px; margin:0 auto; padding:20px; }

/* ===== HEADER ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:#fff; border-bottom:1px solid #e5e7eb;
}
.site-header .container{ padding:6px 14px; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }

.brand{ display:flex; align-items:center; gap:10px; min-width:260px; }
.brand-mark{ width:44px; height:auto; border-radius:8px; object-fit:contain; }
.brand-title{ font-weight:800; font-size:1.08rem; color:var(--navy); line-height:1; }
.brand-title span{ color:var(--orange); }
.brand-tagline{ font-size:.74rem; color:#1f2a44; opacity:.85; margin-top:1px; }

.nav-menu{ display:flex; align-items:center; gap:22px; }
.nav-menu a{ color:var(--navy); text-decoration:none; font-weight:700; letter-spacing:.2px; }
.nav-menu a:hover{ color:var(--orange); }

/* ==== HAMBURGER (modern) ==== */
.nav-toggle{
  display:none;               /* shown on mobile in media query */
  position:relative;
  width:44px; height:44px;
  border:0; background:#fff;
  border-radius:999px;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  cursor:pointer;
}
.nav-toggle .bar{
  position:absolute; left:50%;
  width:22px; height:2px; background:#0b1b2b;
  border-radius:2px; transform:translateX(-50%);
  transition:transform .25s ease, opacity .2s ease, width .2s ease, top .25s ease;
}
.nav-toggle .bar:nth-child(1){ top:14px; }
.nav-toggle .bar:nth-child(2){ top:21px; }
.nav-toggle .bar:nth-child(3){ top:28px; }
.nav-toggle.is-open .bar:nth-child(1){ top:21px; transform:translateX(-50%) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2){ opacity:0; }
.nav-toggle.is-open .bar:nth-child(3){ top:21px; transform:translateX(-50%) rotate(-45deg); }

/* Backdrop for mobile nav */
.nav-backdrop{
  display:none; position:fixed;
  inset:calc(var(--header-h)) 0 0 0;  /* below header */
  background:rgba(0,0,0,.35); z-index:48;
}

/* ===== HERO ===== */
.hero{
  display:grid; grid-template-columns:1fr 1fr; gap:28px;
  align-items:center;
  min-height: calc(100vh - var(--header-h));
  padding-top:12px; padding-bottom:24px; margin:0 auto 40px;
}
.hero-text{ max-width:560px; }
.hero h1{ font-size:42px; line-height:1.1; margin:.2em 0; }
.hero p{ color:#1f2937; margin:0 0 18px; }
.btn{
  display:inline-block; background:linear-gradient(120deg,var(--navy),#1e40af);
  color:#fff; padding:12px 18px; border-radius:12px; font-weight:600; text-decoration:none;
}
.hero-media img{
  width:100%; display:block; border-radius:16px;
  height: calc(100vh - var(--header-h) - 48px);
  object-fit: cover; box-shadow:0 12px 26px rgba(0,0,0,.12);
}

/* ===== CORE OFFERINGS ===== */
.core-section{
  position:relative;
  background:#f6f7f8 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><circle cx='1' cy='1' r='1' fill='%23e5e7eb'/></svg>") repeat;
  padding:80px 0; margin-top:20px;
}
.core-title{
  text-align:center; font-size:46px; letter-spacing:2px; font-weight:900; margin:0 0 48px; line-height:1.1;
}
.core-blue{ color:var(--navy); } .core-orange{ color:var(--orange); }

.core-decor img{ max-width:140px; height:auto; display:block; opacity:.9; }
.core-decor.top-left{ position:absolute; top:18px; left:18px; }
.core-decor.top-right{ position:absolute; top:18px; right:18px; }
.core-decor.bottom-center{ display:flex; justify-content:center; margin-top:40px; }
.core-decor.bottom-center img{ max-width:520px; }

.offerings-grid{ display:grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap:24px; }
.offer-card{
  background:#fff; border-radius:18px; padding:20px;
  box-shadow:0 10px 26px rgba(0,0,0,.08); text-align:center; transition:transform .25s;
}
.offer-card:hover{ transform:translateY(-6px); }
.offer-card h3{
  font-size:1.02rem; margin:0 0 10px; display:inline-block;
  padding:10px 16px; border-radius:20px; color:#fff;
}
.offer-card.navy h3{ background:var(--navy); }
.offer-card.orange h3{ background:var(--orange); }
.offer-card img{ width:100%; height:auto; border-radius:12px; margin:12px 0; }
.offer-card p{ color:#1f2937; line-height:1.5; margin:0; }

/* ===== GENERIC ===== */
.section-title{ text-align:center; font-size:40px; margin:0 0 20px; line-height:1.1; }
.center{ text-align:center; }
.vision-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.card{ background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:18px; }

/* ===== WHY CHOOSE VIRAMA ===== */
#why-virama{ scroll-margin-top: 80px; padding-top: 10px; }
#why-virama .section-title{ font-size:46px; margin-bottom:40px; text-transform:uppercase; }

.contact-list{ list-style:none; padding:0; margin:10px auto 0; max-width:700px; color:#1f2937; }
.contact-list li{ padding:6px 0; border-bottom:1px dashed #e5e7eb; }
.contact-list li:last-child{ border-bottom:0; }

/* Footer (legacy small) */
.site-footer{ text-align:center; color:#6b7280; padding:30px 16px; border-top:1px solid #eee; margin-top:40px; }

/* ===== OUR VISION & MISSION ===== */
.vm-section { background:#f6f7f8; border-radius:18px; padding:30px 24px; margin:20px auto 18px; }
.vm-wrap { display:grid; grid-template-columns: 1.2fr .8fr; gap:20px; align-items:center; }
.vm-title { font-size: clamp(28px, 3.2vw, 40px); line-height:1.1; font-weight:900; letter-spacing:.3px; margin:0 0 10px; color:var(--navy); }
.vm-title .accent { color:var(--orange); }
.vm-block h4 { font-size:18px; margin:6px 0 4px; color:var(--navy); }
.vm-block p { margin:0 0 8px; color:#1f2937; font-size:0.96rem; line-height:1.5; }

.polaroids{ position:relative; width:min(420px,100%); margin-inline:auto; }
.polaroid{
  background:#fff; border:1px solid #e5e7eb; border-radius:8px;
  box-shadow:0 12px 26px rgba(0,0,0,.12);
  transform:rotate(-2.5deg); padding:10px 10px 18px; width:100%;
}
.polaroid img{ width:100%; height:auto; border-radius:6px; display:block; }
.polaroid-caption{ text-align:center; font-weight:800; color:var(--navy); margin-top:8px; }

/* ===== WHY CHOOSE (card) ===== */
.why-section { background:#fff; border-radius:18px; padding:26px 20px; margin-top:10px; position:relative; }
.why-title { font-size: clamp(28px, 3.2vw, 40px); line-height:1.1; font-weight:900; letter-spacing:.3px; margin:0 0 18px; text-transform:uppercase; }
.why-title .accent { color:var(--orange); }
.why-wrap { display:grid; grid-template-columns: 0.8fr 1.2fr; gap:24px; align-items:center; }
.why-card{ background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:14px; }
.why-card ul{ margin:0 0 6px 16px; line-height:1.55; }
.why-card b{ color:#0b1b2b; }
.why-section .polaroid{ transform: rotate(-3deg); width:100%; max-width:420px; margin:0 auto; }
.why-section .polaroid img{ border-radius:8px; }

/* ===== Modern Footer ===== */
.footer {
  background:#f9fafb; border-top:1px solid #e5e7eb; padding:50px 20px;
  text-align:center; color:#1f2937;
}
.footer-title{ font-weight:700; font-size:1.2rem; color:var(--navy); margin-bottom:20px; }
.social-icons{ display:flex; justify-content:center; gap:14px; margin-bottom:26px; flex-wrap:wrap; }
.social-icons a{
  width:44px; height:44px; border:1px solid #cbd5e1; border-radius:50%;
  display:flex; align-items:center; justify-content:center; transition:.3s; background:#fff;
}
.social-icons a:hover{ border-color:var(--orange); transform:translateY(-3px); }
.social-icons img{ width:22px; height:22px; object-fit:contain; }
.footer-links{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding:0; margin:20px 0 18px; font-size:.95rem; }
.footer-links li{ border-right:1px solid #cbd5e1; padding-right:10px; }
.footer-links li:last-child{ border-right:none; }
.footer-links a{ color:#1f2937; text-decoration:none; }
.footer-links a:hover{ color:var(--orange); }
.footer-copy{ color:#6b7280; font-size:.9rem; margin-top:8px; }

/* ===== WhatsApp pill ===== */
.wa-pill{
  position:fixed; right:18px; bottom:18px; background:var(--orange);
  color:#fff; border-radius:999px; display:flex; align-items:center; gap:10px;
  padding:12px 18px; box-shadow:0 10px 24px rgba(0,0,0,.25); font-weight:700; text-decoration:none; z-index:60;
}
.wa-text{ font-size:16px; }
.wa-dot{ position:absolute; right:10px; top:6px; width:10px; height:10px; background:#ef4444; border-radius:50%; box-shadow:0 0 0 2px rgba(255,255,255,.8); }
.wa-pill:hover{ transform:translateY(-2px); }

/* ===== Responsive ===== */
@media (max-width:1200px){ .offerings-grid{ grid-template-columns: repeat(3, minmax(220px,1fr)); } }
@media (max-width:1024px){ .hero h1{ font-size: clamp(38px, 5.2vw, 48px); } }
@media (max-width:920px){
  .hero{ grid-template-columns:1fr; gap:18px; min-height: calc(100dvh - var(--header-h)); }
  .hero-media img{ height:auto; max-height:50vh; object-fit:cover; }
  .vision-grid{ grid-template-columns:1fr; }
  #why-virama{ scroll-margin-top: 84px; padding-top: 28px; }

  /* Show hamburger; convert nav to dropdown */
  .nav-toggle{ display:flex; align-items:center; justify-content:center; }
  .nav-menu{
    position:fixed; left:12px; right:12px; top:calc(var(--header-h) + 10px);
    background:#fff; border:1px solid #e5e7eb; border-radius:14px;
    box-shadow:0 18px 36px rgba(0,0,0,.12);
    display:none; flex-direction:column; gap:0; padding:10px; z-index:49;
    transform:translateY(-8px); opacity:0; transition:opacity .18s ease, transform .18s ease;
  }
  #primary-nav.open{ display:flex; transform:translateY(0); opacity:1; }
  .nav-menu a{ padding:12px 10px; border-radius:10px; }
  .nav-menu a:hover{ background:#f6f7f8; color:var(--navy); }

  body.menu-open{ overflow:hidden; }
  .nav-backdrop.show{ display:block; }

  .footer-links{ flex-direction:column; gap:8px; }
  .footer-links li{ border:none; padding:0; }
}
@media (max-width:780px){ .offerings-grid{ grid-template-columns: repeat(2, minmax(200px,1fr)); } }
@media (max-width:640px){
  .offerings-grid{ grid-template-columns:1fr; }
  .wa-pill{ right:14px; bottom:14px; padding:12px 16px; }
  .site-header .container{ padding:6px 12px; }
  .brand-mark{ width:40px; }
  .brand-title{ font-size:1rem; }
  .brand-tagline{ font-size:.7rem; }
  .nav-menu{ gap:16px; }
  .about-title{ font-size:32px; }
  .vm-title, .why-title{ font-size:26px; }
  .vm-wrap, .why-wrap{ gap:14px; }
}

/* Compact ABOUT US */
.about-section{ background:#f9fafb; padding:60px 0; scroll-margin-top: var(--header-h); }
.about-title{ text-align:center; font-size: clamp(44px, 6vw, 72px); font-weight:900; margin-bottom:60px; line-height:1.05; }
/* ===== CONTACT SECTION ===== */
#contact-us .contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
}
#contact-us .contact-info{
  width: min(720px, 100%);
  background:#fff;
  text-align: center;
  align-items: center;
  padding: 28px 24px;
  border: 1px solid #e6e9f2;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(10,42,87,.08);
}
#contact-us .ci-block{
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
#contact-us .ci-img{ width:56px; height:56px; }
#contact-us .ci-title{ font-weight:700; color:var(--navy); margin: 6px 0 6px; }
#contact-us .contact-info a{
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
#contact-us .contact-info a:hover{
  color: var(--orange);
  text-decoration: underline;
}
@media (max-width: 480px){
  #contact-us .ci-block{ grid-template-columns: 56px 1fr; gap: 12px; }
  #contact-us .ci-img{ width:48px; height:48px; }
}


/* ==== FLOATING SOCIAL BUTTONS ==== */
.social-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 999;
}

/* Instagram bulat */
.social-float .ig-btn {
  width: 55px; height: 55px;
  display: flex; align-items: center; justify-content: center;
  background: #0a2a57;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform .25s ease, background .25s ease;
}
.social-float .ig-btn:hover {
  transform: scale(1.1);
  background: #e76f51;
}
.social-float img {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: invert(1);
}

/* WhatsApp dengan teks di samping */
.wa-btn {
  display: flex;
  align-items: center;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  padding: 8px 16px 8px 10px;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.wa-btn img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

