
:root{
  --bg: #ffffff;
  --text: #0b0d12;
  --muted: #5b657a;
  --card: #f3f5f8;
  --line: #e7ebf0;
  --accent: #3a4ee2; /* blue accent from logo */
}

:root.dark{
  --bg: #0b0d12;
  --text: #e9eef7;
  --muted: #9aa6bf;
  --card: #12161d;
  --line: #222a36;
  --accent: #3a4ee2;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;scroll-behavior:smooth;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{width:min(1120px,92%);margin-inline:auto}

.nav{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom:1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:700}
.brand img{width:32px;height:32px; border-radius:50% !important; box-shadow:none !important; background:none !important;}
.brand .name{letter-spacing:.3px}

.nav-links{display:flex;gap:18px;font-weight:600}
.nav-links a{padding:8px 12px;border-radius:12px}
.nav-links a:hover{background:var(--card)}

.theme-toggle{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:14px;
  padding:6px 10px;
  display:flex;align-items:center;gap:8px;
  cursor:pointer;
}
.theme-toggle span{font-size:14px;color:var(--muted)}

.hero{
  position:relative;min-height:88dvh;display:grid;place-items:center;
  overflow:hidden;
}
.hero-center{display:grid;place-items:center;text-align:center;gap:14px; padding:80px 0 60px}

@keyframes breathe{
  0%,100%{transform:scale(1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent), 0 12px 40px color-mix(in srgb, var(--accent) 16%, transparent);}
  50%{transform:scale(1.04); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 28%, transparent), 0 16px 60px color-mix(in srgb, var(--accent) 22%, transparent);}
}

.hero h1{font-size:clamp(36px,6vw,64px);line-height:1.05;margin:0}
.hero p{font-size:clamp(16px,2.6vw,20px);color:var(--muted);margin:0}
.hero-cta{margin-top:12px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.btn{
  background:var(--text);color:var(--bg);padding:12px 16px;border-radius:14px;font-weight:700;border:1px solid var(--text);
}
.btn.secondary{background:transparent;color:var(--text);border-color:var(--line)}
.btn:hover{transform:translateY(-1px)}
.hero-gradient{
  position:absolute;inset:0;pointer-events:none;opacity:.18;
  background: radial-gradient(600px 320px at 50% 30%, var(--accent), transparent 60%),
              radial-gradient(500px 220px at 70% 70%, var(--accent), transparent 60%);
  filter: blur(20px);
}

.section{padding:72px 0;border-top:1px solid var(--line)}
.section h2{font-size:clamp(24px,4vw,36px);margin:0 0 18px}
.section p.lead{color:var(--muted);margin-top:0}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;transition:transform .2s ease, box-shadow .2s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(0,0,0,.08)}
.card h3{margin:0 0 8px}
.card p{margin:0;color:var(--muted)}

.clients-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.client{aspect-ratio: 1.4 / 1; background:var(--card); border:1px dashed var(--line); border-radius:14px; display:grid; place-items:center; color:var(--muted); font-weight:600; overflow:hidden}
.client img{width:100%;height:100%;object-fit:cover}

.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer;transition:transform .2s}
.project:hover{transform:translateY(-3px)}
.project img{width:100%;height:200px;object-fit:cover}
.project .meta{padding:14px}
.project .title{font-weight:700;margin-bottom:6px}
.project .desc{color:var(--muted);margin:0}

.modal{
  position:fixed;inset:0;background:rgba(0,0,0,.6);
  display:none;align-items:center;justify-content:center;padding:24px;z-index:100;
}
.modal.open{display:flex}
.modal-card{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:18px;max-width:980px;width:min(980px,96%);overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.modal-card img{width:100%;height:auto;display:block}
.modal-card .body{padding:18px}
.modal-close{position:absolute;top:18px;right:18px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px 12px;cursor:pointer}

.form{display:grid;gap:12px;max-width:680px}
.input, .textarea{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--text)
}
.textarea{min-height:120px;resize:vertical}
.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.wa{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:var(--card);font-weight:700}
.footer{padding:28px 0;border-top:1px solid var(--line);text-align:center;color:var(--muted)}
.footer .nice{margin-top:8px;opacity:.9}


/* === Responsive Navbar === */
.menu-toggle{display:none;font-size:22px;cursor:pointer;margin-right:12px}
.mobile-menu{display:none;flex-direction:column;background:var(--bg);border-top:1px solid var(--line);}
.mobile-menu a{padding:14px 20px;border-bottom:1px solid var(--line)}
.mobile-menu a:hover{background:var(--card)}
@media(max-width:768px){
  .nav-inner{flex-wrap:wrap}
  .nav-links{display:none}
  .menu-toggle{display:block}
  .mobile-menu.open{display:flex;animation:fadeIn .3s ease forwards}
}
@keyframes fadeIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

/* === Fade-in Animation === */
.fade-in {
  opacity:0;
  transition:opacity 1.2s ease;
}
.fade-in.visible {
  opacity:1;
}

/* IE/Edge */
  scrollbar-width: none;     /* Firefox */
  padding-block: 6px;
}
.clients-scroll::-webkit-scrollbar{ display:none; }

.clients-track{
  display:flex;
  gap:14px;
  width:max-content;
  align-items:center;
}

.client{
  flex:0 0 auto;
  width:clamp(140px, 28vw, 220px);
  height:clamp(90px, 16vw, 140px);
  background:var(--card);
  border:1px dashed var(--line);
  border-radius:14px;
  overflow:hidden;
}
.client img{width:100%;height:100%;object-fit:cover}

/* === Responsive Grid Fix for Focus and Projects === */
.cards, .projects{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
@media(max-width:768px){
  .cards, .projects{grid-template-columns:1fr;}
}

/* === v5: Clients isolated + marquee === */
.section{ position:relative; z-index:1; }
#clients{ overflow:visible; }
#clients .container{ position:relative; }
.clients-wrap{ position:relative; overflow:hidden; }

.clients-scroll{
  overflow:hidden;
  position:relative;
  padding-block: 6px;
}
.clients-track{
  display:flex;
  gap:14px;
  width:max-content;
  align-items:center;
  will-change: transform;
}
.client{
  flex:0 0 auto;
  width:clamp(140px, 28vw, 220px);
  height:clamp(90px, 16vw, 140px);
  background:var(--card);
  border:1px dashed var(--line);
  border-radius:14px;
  overflow:hidden;
}
.client img{width:100%;height:100%;object-fit:cover}

/* v5: Responsive grid precedence */
.cards, .projects{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media(max-width:768px){
  .cards, .projects{ grid-template-columns:1fr; }
}

/* v5: theme toggle nicer spacing */
.theme-toggle{ display:flex; align-items:center; gap:6px; }

/* v6: WhatsApp button styling */
.wa{
  background:#25D366;
  color:#0b0d12;
  border-color:#1DA851;
  font-weight:800;
}
.wa:hover{
  filter:brightness(0.95);
  transform:translateY(-1px);
}

/* v6: Contact grid with nice day spot */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  align-items:start;
}
.nice-spot{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  min-height:220px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}
.nice-spot::before{
  content:"";
  position:absolute;
  width:220px;height:220px;border-radius:50%;
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  filter: blur(22px);
  transform: translate(40%, -30%);
  opacity:.35;
}
.nice-spot-inner{
  font-size:clamp(24px,4vw,32px);
  font-weight:800;
  opacity:.9;
}
@media(max-width:768px){
  .contact-grid{ grid-template-columns:1fr; }
}

/* v15: Social-proof bar style */
.social-proof-bar{
  margin: 16px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  background: #3a4ee2;
  color: #fff;
  border-radius: 36px;
  padding: 18px 26px;
  box-shadow: 0 10px 34px rgba(58,78,226,.25);
  max-width: 1120px;
}
.social-proof-bar .stat{display:flex;flex-direction:column;align-items:center;justify-content:center}
.social-proof-bar .num{font-weight:900;font-size:clamp(28px,5vw,48px);line-height:1;margin-bottom:4px}
.social-proof-bar .label{opacity:.9;font-weight:700;text-align:center}

/* CTA pills */
.hero-cta .btn{border-radius:20px;padding:12px 20px;min-width:180px}
.btn{background:#3a4ee2;border:1px solid #3a4ee2;color:#fff}
.btn.secondary{background: color-mix(in srgb, #3a4ee2 12%, var(--bg)); color:#3a4ee2; border-color: color-mix(in srgb, #3a4ee2 55%, var(--bg));}
.btn.secondary:hover{background: color-mix(in srgb, #3a4ee2 22%, var(--bg));}


/* v16: social-proof alignment polish */
.social-proof-bar{ align-items: center; }
.social-proof-bar .stat{
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 96px; /* equal height across stats */
}
.social-proof-bar .num{
  margin: 0;           /* remove extra offset */
  line-height: 1;      /* consistent baseline */
}
.social-proof-bar .label{
  margin: 0;
  text-align: center;
}
@media (min-width: 1440px){
  .social-proof-bar .stat{ min-height: 110px; }
}

img.logo, .logo img { border: none !important; border-radius: 50% !important; }

/* --- Logo cleanup (web_v3) --- */
[class*="logo"], [id*="logo"] {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}
img.logo, [class*="logo"] img, [id*="logo"] img {
  border: none !important;
  border-radius: 50% !important;
  display: block;
}

.nav .brand img{border-radius:50% !important; box-shadow:none !important; background:none !important;}

/* --- Hero logo size & shape fix (web_v5) --- */
.hero-logo{
  width: clamp(120px, 22vw, 220px) !important;
  height: clamp(120px, 22vw, 220px) !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block;
  box-shadow: none !important;
  background: none !important;
}

/* nav hover accent */
.nav-links a:hover, .nav-links a:focus { color: var(--accent) !important; }
.mobile-menu a:hover, .mobile-menu a:focus { color: var(--accent) !important; }

/* --- CEO card layout (web_v7) --- */
.about{padding:80px 0}
.about-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:26px;align-items:start}
@media (max-width:880px){ .about-grid{grid-template-columns:1fr} }
.ceo-card{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:var(--card);
  border-radius:16px;padding:14px}
.ceo-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;display:block}
.ceo-meta{display:grid;gap:2px}
.ceo-name{font-weight:800}
.ceo-title{font-weight:600;color:var(--muted);font-size:14px}
.ceo-social a{color:var(--accent);text-decoration:none;font-weight:600;font-size:14px}
.ceo-copy{margin-top:12px;color:var(--muted)}

.map-widget{border:1px solid var(--line);background:var(--card);border-radius:14px;overflow:hidden}
.gmaps-head{padding:12px 14px;border-bottom:1px solid var(--line);display:grid;gap:8px}
.gmaps-head .place{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gmaps-head .title{font-weight:700}
.gmaps-link{font-weight:600;color:var(--accent);text-decoration:none}
.rating{display:flex;align-items:center;gap:8px}
.rating-text{color:var(--muted)}
.interactions{font-size:14px;color:var(--muted)}
.gmaps-embed iframe{width:100%;height:280px;border:0;display:block}
@media (max-width:880px){ .gmaps-embed iframe{height:260px} }

.clients-track img.client-logo{height:42px;width:auto;display:block}

/* Client logo sizing & cleanup override */
.clients-wrap { --logo-h: 88px; } /* atur sesuai selera */
.client .client-logo{
  height: var(--logo-h);
  width: auto;
  display:block;
  border-radius:0 !important;   /* no rounding */
  padding:0 !important;          /* no extra padding */
  background:transparent !important;
  image-rendering:-webkit-optimize-contrast;
}
/* mobile */
@media (max-width:640px){ .clients-wrap{ --logo-h:72px; } }
/* sedikit jarak antar item agar lega */
#clients-track .client{ padding-inline:16px; }

