
:root{
  --pink-1:#fff6f8;
  --pink-2:#ffe7ee;
  --pink-3:#ffd0e0;
  --accent:#331022;
  --muted:#8b5b66;
  --rose:#ff4f93;
  --rose-deep:#c70f5f;
  --glass: rgba(255,255,255,0.7);
  --nav-h: 78px;
}

/* reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background: linear-gradient(135deg,var(--pink-1) 0%, #ffeef4 50%, #ffffff 100%);
  color:var(--accent);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

:root {
  --site-header-h: 92px; /* try 78/92/110 — adjust until looks right */
}

/* sparkle bg */
.sparkle-bg{position:fixed;inset:0;z-index:-1;background-image:
  radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35) 2px, transparent 0),
  radial-gradient(circle at 80% 70%, rgba(255,182,193,0.18) 1px, transparent 0);
background-size:220px 220px,140px 140px;pointer-events:none;opacity:0.95}

/* container */
.service-container{max-width:1200px;margin:calc(var(--nav-h)+24px) auto;padding:0 20px 60px}

.intro-copy {
  flex: 1 1 60%;
  max-width: 680px;
  min-width: 280px;
}

.eyebrow{text-transform:uppercase;font-weight:700;color:var(--rose-deep);letter-spacing:1.6px;font-size:12px}
.hero-title{font-family:'Playfair Display',serif;font-size:44px;color:var(--accent);line-height:1.03;margin-top:10px}
.hero-title span{display:block;font-size:16px;color:var(--rose);font-weight:600;margin-top:8px}
.hero-sub{color:var(--muted);margin-top:12px}

/* ctas */
.hero-ctas {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:28px;font-weight:700;text-decoration:none}
.btn-primary{background:linear-gradient(135deg,var(--rose-deep),var(--rose));color:#fff;box-shadow:0 10px 30px rgba(199,15,95,0.18)}
.btn-secondary{background:transparent;color:var(--accent);border:2px solid rgba(199,15,95,0.06)}

/* hero deco */
.hero-deco {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-card{width:110px;height:110px;border-radius:18px;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#ffdde8,#ffbedf);box-shadow:0 18px 40px rgba(255,120,165,0.09)}
.logo-sq{font-weight:800;color:#fff;font-family:'Playfair Display';font-size:28px;background:linear-gradient(135deg,var(--rose),var(--rose-deep));padding:16px;border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.35)}

.deco-tag{position:absolute;bottom:8px;left:8px;background:rgba(255,255,255,0.85);padding:6px 10px;border-radius:8px;font-weight:700;color:var(--rose-deep);font-size:12px}

/* section */
.service-section{margin-top:40px;padding:34px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,0.98),rgba(255,246,249,0.95));border:1px solid rgba(255,200,215,0.35);box-shadow:0 24px 60px rgba(255,110,160,0.06)}

.section-title-wrapper{text-align:center;margin-bottom:18px}
.section-title{font-family:'Playfair Display',serif;font-size:30px;color:var(--accent);font-weight:700}
.section-underline{width:86px;height:6px;margin:10px auto 0;border-radius:6px;background:linear-gradient(90deg,var(--pink-3),var(--rose));box-shadow:0 8px 20px rgba(255,100,150,0.12)}

/* grid + panel */
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;position:relative;padding:8px}
.services-grid::before{content:"";position:absolute;left:4%;right:4%;top:4%;bottom:-8%;border-radius:20px;background:linear-gradient(180deg,rgba(255,238,245,0.55),rgba(255,245,250,0.36));filter:blur(18px);z-index:0;pointer-events:none}

/* card */
.service-card{position:relative;z-index:2;display:grid;grid-template-columns:88px 1fr;gap:16px;align-items:start;padding:22px;border-radius:14px;background:linear-gradient(180deg,#fff,#fff9fb);border:1px solid rgba(255,200,215,0.45);box-shadow:0 14px 36px rgba(255,105,160,0.06);overflow:visible;transform:translateY(20px);opacity:0;transition:all .4s cubic-bezier(.2,.9,.25,1)}
.service-card.is-visible{transform:none;opacity:1}

/* icon */
.service-icon{width:88px;height:88px;border-radius:14px;display:grid;place-items:center;font-size:30px;color:var(--rose-deep);background:linear-gradient(135deg,#fff,#ffeef6);box-shadow:inset 0 2px 6px rgba(255,255,255,0.6),0 8px 20px rgba(255,100,150,0.06);transition:transform .32s ease}
.service-card:hover .service-icon{transform:translateY(-6px) rotate(-4deg)}

/* ribbon */
.ribbon{position:absolute;left:-36px;top:12px;transform:rotate(-14deg);background:linear-gradient(135deg,#ff6aa6,#ff337a);color:#fff;padding:6px 52px;font-weight:800;border-radius:6px;font-size:12px;box-shadow:0 8px 20px rgba(255,80,150,0.12);z-index:4}

/* content */
.service-content h3{font-size:18px;margin:0;color:var(--accent);font-weight:800}
.service-content .lead{color:var(--muted);margin-top:6px;font-size:14px;line-height:1.5}
.divider{height:1px;margin:12px 0;background:linear-gradient(90deg, rgba(255,230,240,0.6), rgba(255,255,255,0.6));border-radius:2px}

/* price */
.price-row{display:flex;gap:10px;align-items:center;margin-top:8px;flex-wrap:wrap}
.price-label{color:var(--muted);font-weight:600;font-size:13px}
.price{background:rgba(255,107,147,0.12);color:var(--rose-deep);font-weight:800;padding:6px 12px;border-radius:12px;font-size:14px;box-shadow:0 6px 14px rgba(255,107,147,0.06)}

/* floating glow under card */
.service-card::after{content:"";position:absolute;left:8%;right:8%;bottom:-18px;height:32px;border-radius:50%;background:radial-gradient(ellipse at center, rgba(255,107,147,0.12) 0%, rgba(255,107,147,0.06) 40%, transparent 70%);filter:blur(12px);z-index:0;transition:all .28s}
.service-card:hover::after{height:48px;bottom:-28px;filter:blur(18px)}

/* cta */
.cta-section{margin-top:60px;text-align:center;padding:42px;border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,0.9),rgba(255,240,248,0.85));box-shadow:0 20px 60px rgba(255,182,193,0.12)}
.cta-content h3{font-family:'Playfair Display',serif;color:var(--rose-deep);font-size:32px;margin-bottom:8px}
.cta-content p{color:var(--muted);margin-bottom:18px}
.cta-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.cta-buttons .btn-primary{padding:14px 26px}

/* footer */
.service-footer{text-align:center;padding:26px;color:var(--muted);font-size:14px;margin-top:36px;border-top:1px solid rgba(255,182,193,0.12)}

/* responsive */
@media (max-width:980px){
  .hero-inner{flex-direction:column;align-items:flex-start}
  .deco-card{display:none}
  .service-card{grid-template-columns:72px 1fr;padding:18px;border-radius:12px}
  .service-icon{width:72px;height:72px;font-size:26px;border-radius:12px}
  .section-title{font-size:26px}
}
@media (max-width:480px){
  .nav-links{display:none}
  .hero-title{font-size:28px}
  .service-container{margin-top:20px;padding-bottom:40px}
  .services-grid{gap:14px}
  .service-card{padding:14px}
  .service-icon{width:60px;height:60px;font-size:22px}
}
@media (prefers-reduced-motion: reduce){
  *{transition:none!important;animation:none!important}
}
/* --- fix hero alignment supaya center betul2 --- */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto; /* ni penting untuk center */
}

.hero-intro {
  text-align: left;
  border-radius: 26px;
  padding: 60px 40px;
}

@media (max-width: 920px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  .intro-copy { max-width: 92%; }
  .hero-deco { order: 2; transform: translateY(0); }
  .hero-ctas { justify-content: center; }
}

/* Extra fallback if something still overrides: force center on large screens */
@media (min-width: 1100px) {
  .service-container { padding-left: 20px; padding-right: 20px; }
}

.service-header,
.service-header.hero-intro,
.hero-inner,
.intro-copy,
.hero-deco {
  width: auto !important;
  float: none !important;
}

/* hero layout proper center */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* text side width control */
.intro-copy {
  flex: 1 1 55%;
  min-width: 280px;
}

/* right side deco box */
.hero-deco {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* responsive stacking */
@media (max-width: 950px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .intro-copy {
    flex: none;
    max-width: 90%;
  }
  .hero-deco {
    order: 2;
  }
}

/* reset any stray left offsets from parent containers */
.service-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;   /* override other global paddings that push it */
  padding-right: 0 !important;
}

/* if some parent used float/absolute, force normal flow */
.service-header,
.service-header.hero-intro,
.hero-inner,
.intro-copy,
.hero-deco {
  float: none !important;
  position: relative !important;
  width: auto !important;
}

/* strong centering layout for hero inner */
.hero-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 36px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* handle large left nav or header offsets by shifting hero to center of viewport */
@media (min-width: 1200px) {
  /* This will center hero regardless of weird parent paddings */
  .service-header.hero-intro {
    transform: translateX(calc((100% - 100vw) / 2)) !important;
  }
}

/* mobile-friendly fallback */
@media (max-width: 950px) {
  .service-header.hero-intro { padding: 36px 20px !important; }
  .hero-inner { flex-direction: column !important; text-align: center !important; align-items: center !important; }
  .intro-copy { max-width: 92% !important; }
  .hero-deco { order: 2 !important; margin-top: 10px !important; }
}

/* soft light on both sides */
.service-header.hero-intro::before,
.service-header.hero-intro::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}
.service-header.hero-intro::before {
  left: -80px;
  background: radial-gradient(circle at right, #fff0f6, transparent 70%);
}
.service-header.hero-intro::after {
  right: -80px;
  background: radial-gradient(circle at left, #ffd4e7, transparent 70%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* center both text and deco evenly */
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.intro-copy {
  text-align: center;
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-deco {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-8px);
}

.deco-card {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ff8fbf, #ff4f93);
  box-shadow: 0 20px 40px rgba(255, 105, 160, 0.25);
  position: relative;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(6px); }
}

/* responsive stack */
@media (max-width: 980px) {
  .hero-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .intro-copy { order: 1; }
  .hero-deco { order: 2; transform: none; }
  .service-header.hero-intro { padding: 50px 28px; }
}

/* add soft glow both sides (optional but makes it look even) */
.service-header.hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 120%;
  height: 100%;
  left: -10%;
  right: -10%;
  background: radial-gradient(circle at center, rgba(255,180,200,0.25), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* ensure content stays middle */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

/* center text nicely */
.intro-copy {
  flex: 1 1 55%;
  min-width: 280px;
  text-align: left;
}

/* responsive - stack when small */
@media (max-width: 950px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .intro-copy {
    max-width: 90%;
    text-align: center;
  }
}

html, body {
  box-sizing: border-box;
  overflow-x: hidden; /* avoid horizontal scroll offsets */
}

/* 2) Ensure the main page container is centered and consistent */
.service-container {
  max-width: 1150px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;  /* keep small inside padding */
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* 3) Make hero a centered constrained card that never spans the whole viewport */
.service-header.hero-intro {
  width: 80% !important; /* dulu 100%, bagi ada ruang kiri kanan sikit */
  max-width: 1300px !important; /* lebih luas dari 1150px */
  margin: 200px auto 0 !important; /* turun sikit dari atas */
  left: auto !important;
  right: auto !important;
  position: relative !important;
  transform: none !important;
  padding: 80px 80px !important; /* tambah padding kiri kanan */
  box-sizing: border-box !important;

  background: radial-gradient(circle at 20% 40%, #ffeaf4 0%, #ffd1e3 35%, #ffb9d9 70%, #ffb3d4 100%);
  border-radius: 36px;
  box-shadow: 0 40px 120px rgba(255, 130, 160, 0.3), inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
  isolation: isolate;
  background-position: center center !important;
  transition: all 0.4s ease-in-out;
}

/* Optional – hover animation bagi efek premium sikit */
.service-header.hero-intro:hover {
  transform: translateY(-4px);
  box-shadow: 0 60px 130px rgba(255, 100, 150, 0.35), inset 0 1px 0 rgba(255,255,255,0.7);
}


/* 4) Force hero-inner to center its children and remain inside the hero card */
.hero-inner {
  max-width: 1050px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;                /* avoid extra internal offsets */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 36px !important;
  box-sizing: border-box !important;
}

/* 5) If some parent used float/absolute, make hero elements normal flow */
.service-header,
.service-header.hero-intro,
.hero-inner,
.intro-copy,
.hero-deco {
  float: none !important;
  position: relative !important;
  width: auto !important;
}

/* 6) Responsive: stack cleanly on small screens */
@media (max-width: 960px) {
  .service-header.hero-intro { padding: 40px 20px !important; max-width: 920px !important; }
  .hero-inner { flex-direction: column !important; text-align: center !important; gap: 20px !important; }
  .intro-copy { max-width: 92% !important; }
  .hero-deco { order: 2 !important; margin-top: 6px !important; }
}

/* 7) TEMP DEBUG OUTLINE — comment out when finished */
.service-header.hero-intro { outline: none !important; }

[style*="transform: translateX("] {
  transform: none !important;
}

/* ===== Move hero section slightly downward ===== */
.service-header.hero-intro {
  margin-top: 90px !important; /* ubah ikut rasa, boleh 50px or 60px */
}

/* kalau hero-deco tak ada, center-kan text */
.hero-inner {
  justify-content: center !important;
  text-align: center !important;
}

.intro-copy {
  flex: none !important;
  max-width: 700px !important;
}

.hero-ctas {
  justify-content: center !important;
}

.service-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  background: linear-gradient(135deg, #ffd1e1, #ffbad3);
  border: none;
  color: var(--accent);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 120, 160, 0.12);
}

.filter-btn:hover {
  background: linear-gradient(135deg, #ffb6ce, #ff94bc);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
}

/* filter buttons */
.service-filter {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:28px;
  flex-wrap:wrap;
}

.filter-btn {
  background: linear-gradient(135deg, #ffdbe9, #ffc9e0);
  border: none;
  color: var(--accent);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 28px;
  cursor: pointer;
  transition: all .22s ease;
  box-shadow: 0 6px 16px rgba(255,120,160,0.08);
}

.filter-btn:hover { transform: translateY(-3px); }
.filter-btn.active { background: linear-gradient(135deg, var(--rose-deep), var(--rose)); color:#fff; box-shadow: 0 12px 28px rgba(199,15,95,0.2); }

/* hide animation */
.service-card { transition: opacity .36s ease, transform .36s ease; }
.service-card.hide { opacity:0; transform: translateY(6px) scale(.995); pointer-events:none; display:none; }

/* === CTA UPGRADE SECTION === */
.cta-section {
  position: relative;
  text-align: center;
  padding: 70px 40px;
  margin-top: 80px;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff0f7, #ffe3ee, #ffd6e6);
  box-shadow: 0 20px 60px rgba(255, 150, 180, 0.15);
  overflow: hidden;
  isolation: isolate;
}

/* shiny moving glow behind */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 200, 230, 0.7), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(255, 170, 210, 0.5), transparent 70%);
  filter: blur(70px);
  z-index: -1;
  animation: shimmerMove 8s ease-in-out infinite alternate;
  opacity: 0.9;
}

/* shimmer animation */
@keyframes shimmerMove {
  0% {
    transform: translate(-10%, -10%);
  }
  100% {
    transform: translate(10%, 10%);
  }
}

/* text styling */
.cta-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--rose-deep);
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--rose-deep), #ff6fae, #ff94c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.cta-content p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

/* buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary.glow-btn {
  position: relative;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(255, 100, 160, 0.3);
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-primary.glow-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.5), transparent, rgba(255,255,255,0.4));
  transform: translateX(-100%);
  transition: all 0.8s ease;
}

.btn-primary.glow-btn:hover::after {
  transform: translateX(100%);
}

.btn-primary.glow-btn:hover {
  box-shadow: 0 0 40px rgba(255, 100, 160, 0.5);
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 160, 190, 0.6);
  color: var(--accent);
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 180, 210, 0.1);
  transform: translateY(-2px);
}

/* responsive */
@media (max-width: 600px) {
  .cta-content h3 { font-size: 28px; }
  .cta-section { padding: 50px 20px; }
}

/* soft glows both sides */
.service-header.hero-intro::before,
.service-header.hero-intro::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 200px;
  filter: blur(70px);
  opacity: .28;
  z-index: 0;
  pointer-events: none;
}
.service-header.hero-intro::before { left: -60px; background: radial-gradient(circle at right, rgba(255,240,250,0.9), transparent 70%); }
.service-header.hero-intro::after  { right: -60px; background: radial-gradient(circle at left, rgba(255,200,230,0.9), transparent 70%); }

/* inner layout */
.hero-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; position:relative; z-index:2; max-width:1100px; margin:0 auto; }
.intro-copy { flex:1 1 58%; min-width:260px; text-align:left; }

/* text styling */
.eyebrow { font-size:12px; letter-spacing:1.6px; color: #c70f5f; font-weight:700; margin-bottom:8px; text-transform:uppercase; }
.hero-title { font-family: 'Playfair Display', serif; font-size:56px; line-height:1; color:#37111f; margin:6px 0 10px; font-weight:800; letter-spacing:-1px; }
.hero-title span { display:block; font-size:16px; color:#ff6fae; font-weight:600; margin-top:10px; }
.hero-sub { color:#6f4a52; margin-top:18px; font-size:16px; max-width:760px; }

/* CTA buttons — glam */
.hero-ctas { margin-top:26px; display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.btn-primary.glow-btn {
  position:relative; display:inline-flex; align-items:center; gap:10px;
  background: linear-gradient(135deg,#c70f5f,#ff4f93);
  color:#fff; padding:14px 26px; border-radius:40px; font-weight:800; text-decoration:none;
  box-shadow: 0 18px 40px rgba(199,15,95,0.22), 0 6px 18px rgba(255,100,160,0.12);
  overflow:hidden;
}
.btn-primary.glow-btn::before{
  content:""; position:absolute; left:-40%; top:-20%; width:60%; height:180%; transform: rotate(25deg); background: linear-gradient(90deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08), rgba(255,255,255,0.22)); transition: transform .9s ease; opacity:0.9;
}
.btn-primary.glow-btn:hover::before { transform: translateX(220%) rotate(25deg); }
.btn-primary.glow-btn:active { transform: translateY(1px) scale(.995); }

/* secondary */
.btn-secondary { display:inline-flex; align-items:center; gap:10px; padding:12px 22px; border-radius:36px; text-decoration:none; color:#39121a; background:rgba(255,255,255,0.6); border:1px solid rgba(199,15,95,0.06); font-weight:700; }

/* deco card */
.hero-deco { flex:0 0 220px; display:flex; align-items:center; justify-content:center; }
.deco-card { width:140px; height:140px; border-radius:20px; display:grid; place-items:center; position:relative; z-index:3;
  background: linear-gradient(145deg,#ff8fbf,#ff4f93); box-shadow: 0 20px 60px rgba(255,105,160,0.18);
  transform: translateY(-6px); animation: floatHero 5s ease-in-out infinite;
}
.logo-sq { font-family:'Playfair Display'; color:#fff; font-weight:900; font-size:34px; padding:8px 12px; border-radius:10px; background: rgba(255,255,255,0.08); }
.deco-tag { position:absolute; bottom:10px; left:12px; background: rgba(255,255,255,0.95); color:#c70f5f; padding:6px 8px; border-radius:8px; font-weight:700; font-size:12px; }

@keyframes floatHero { 0%,100%{ transform: translateY(-6px)} 50% { transform: translateY(6px)} }

/* responsive: stack & center text on small screens */
@media (max-width:980px){
  .hero-inner { flex-direction:column; align-items:center; text-align:center; gap:22px; }
  .intro-copy { text-align:center; }
  .hero-title { font-size:38px; }
  .deco-card { width:110px; height:110px; }
  .service-header.hero-intro { padding:48px 28px; margin-top:24px; }
}

/* accessibility focus */
.service-header .btn-primary:focus, .service-header .btn-secondary:focus { outline: 3px solid rgba(255,180,210,0.28); outline-offset:4px; }

/* final micro tweak — make whole hero sit a little lower than nav */
.service-header.hero-intro { margin-top: 86px; } /* adjust number till visually perfect */

/* animated soft overlay for shifting gradient */
.hero-overlay {
  position:absolute; inset:0; z-index:0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12), transparent 10%),
              radial-gradient(circle at 80% 70%, rgba(255,240,250,0.06), transparent 8%);
  mix-blend-mode: screen;
  pointer-events:none;
  animation: overlayShift 10s linear infinite alternate;
  filter: blur(8px);
}
@keyframes overlayShift {
  0% { transform: translate(-6px,-4px) scale(1.02); }
  100% { transform: translate(6px,6px) scale(1.01); }
}

/* sparkle particle container (will be populated by JS) */
.hero-sparkles { position:absolute; inset:-10% -5% auto -5%; height:140%; z-index:0; pointer-events:none; overflow:hidden; }

/* inner layout - ensure content sits above sparkles */
.hero-inner { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:40px; max-width:1100px; margin:0 auto; }
.intro-copy { flex:1 1 58%; min-width:260px; }

/* headline - shimmering gradient text + glow */
.hero-title {
  font-family:'Playfair Display', serif;
  font-size:64px;
  line-height:1;
  margin: 6px 0 12px;
  font-weight:900;
  letter-spacing:-1px;
  color: #3a0f1a;
  position:relative;
  display:inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, #3a0f1a 0%, #3a0f1a 40%, #ff6fae 60%, #ff9fc8 100%);
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 3.5s linear infinite;
  text-shadow: 0 8px 30px rgba(255,120,160,0.08);
}
@keyframes titleShimmer {
  0% { background-position: 0% 50%; filter: drop-shadow(0 6px 20px rgba(255,120,160,0.04)); }
  50% { background-position: 100% 50%; filter: drop-shadow(0 10px 40px rgba(255,120,160,0.08)); }
  100% { background-position: 0% 50%; }
}
.hero-title span { display:block; font-size:16px; color: #ff6fae; font-weight:600; margin-top:8px; }

/* descriptive text */
.hero-sub { color:#6f4a52; margin-top:18px; font-size:16px; max-width:760px; }

/* CTA buttons - gradient + light sweep + soft shadow */
.hero-ctas { margin-top:26px; display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.btn-primary.glow-btn {
  position:relative; display:inline-flex; align-items:center; gap:12px; padding:14px 30px; border-radius:44px;
  background: linear-gradient(135deg,#d81266,#ff4f93); color:#fff; font-weight:800; text-decoration:none;
  box-shadow: 0 20px 40px rgba(216,18,102,0.18);
  overflow:hidden;
}
.btn-primary.glow-btn .btn-ico { transform: translateY(-1px); font-size:18px; }

/* sweeping shine layer */
.btn-primary.glow-btn::after {
  content:""; position:absolute; left:-60%; top: -10%; width:40%; height:140%;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06), rgba(255,255,255,0.18));
  transform: rotate(25deg);
  transition: transform .9s cubic-bezier(.2,.9,.25,1);
  filter: blur(6px);
}
.btn-primary.glow-btn:hover::after { transform: translateX(240%) rotate(25deg); }

/* subtle pulsing halo */
.btn-primary.glow-btn::before {
  content:""; position:absolute; inset:-8px; border-radius:44px; z-index:-1; background: radial-gradient(circle, rgba(255,120,160,0.08), transparent 40%); opacity:1; transition: all .35s ease;
}
.btn-primary.glow-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 34px 80px rgba(216,18,102,0.18); }

/* secondary button */
.btn-secondary { display:inline-flex; align-items:center; gap:10px; padding:12px 22px; border-radius:36px; background: rgba(255,255,255,0.85); border:1px solid rgba(199,15,95,0.06); color:#39121a; font-weight:700; text-decoration:none; }

/* glitter accent on hero-sparkles children (JS will add .spark) */
.hero-sparkles .spark { position:absolute; width:8px; height:8px; border-radius:50%; background:linear-gradient(90deg,#fff,#ffd9ee); opacity:0.95; box-shadow: 0 0 12px rgba(255,200,230,0.9); transform: translate3d(0,0,0); animation: sparkFloat var(--dur) linear infinite; pointer-events:none; }
@keyframes sparkFloat {
  0% { transform: translateY(0) scale(0.6) rotate(0); opacity:0.9; }
  50% { transform: translateY(-20px) scale(1.2) rotate(180deg); opacity:1; }
  100% { transform: translateY(0) scale(0.8) rotate(360deg); opacity:0.7; }
}

/* deco card with subtle parallax & glossy highlight */
.hero-deco { flex:0 0 200px; display:flex; align-items:center; justify-content:center; }
.deco-card { width:140px; height:140px; border-radius:20px; display:grid; place-items:center; position:relative;
  background: linear-gradient(145deg,#ff87b9,#ff4f93); box-shadow: 0 22px 50px rgba(255,80,140,0.16);
  transition: transform .36s cubic-bezier(.2,.9,.25,1);
}
.logo-sq { font-family:'Playfair Display'; color:#fff; font-weight:900; font-size:34px; padding:8px 12px; border-radius:10px; background: rgba(255,255,255,0.08); }
.deco-card::after { content:""; position:absolute; inset:auto 8px 8px auto; width:64px; height:28px; background: rgba(255,255,255,0.25); border-radius:14px; transform: rotate(-12deg); filter: blur(2px); }

/* make hero sit lower if nav overlapping - tweak numeric to fit */
.service-header.hero-intro { margin-top: 160px; }

/* responsiveness */
@media (max-width:980px){
  .hero-inner { flex-direction:column; align-items:center; text-align:center; gap:20px; }
  .hero-title { font-size:36px; }
  .service-header.hero-intro { padding: 44px 26px; margin-top:48px; }
  .deco-card { width:96px; height:96px; }
}

/* accessibility focus */
.btn-primary.glow-btn:focus, .btn-secondary:focus { outline: 3px solid rgba(255,180,210,0.25); outline-offset:4px; }

/* ===== quick override: push hero down so text no longer cropped ===== */
:root { --site-header-h: 92px; } /* kalau header tinggi 78px tukar ke 78 */

/* ensure header space accounted for on anchors/scroll */
html { scroll-padding-top: calc(var(--site-header-h) + 12px); }

/* main override — change the  (use 80/100/140 to test) */
.service-header.hero-intro {
  margin-top: calc(var(--site-header-h) + 24px) !important; /* increase the 24px to push further */
}

/* responsive smaller gap on phones */
@media (max-width: 768px) {
  :root { --site-header-h: 72px; }
  .service-header.hero-intro {
    margin-top: calc(var(--site-header-h) + 12px) !important;
    padding: 36px 20px !important; /* keep padding cozy on mobile */
  }
}


