﻿/* Syntech Engineering Sdn Bhd 鈥?site styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1565d8;
  --cyan: #18b5e8;
  --amber: #ffb400;
  --ink: #1b2533;
  --muted: #5b6676;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { fill: currentColor; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #c9d6e8; }
.section.dark h2, .section.dark h4 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); }
.section.dark .section-head p { color: #9fb2cc; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section.dark .eyebrow, .hero .eyebrow { color: var(--cyan); }
.accent { background: linear-gradient(90deg, #3fe0d0, #3aa0ff 55%, #8a5cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; border: 2px solid var(--blue); cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); background: #0f53b8; box-shadow: 0 8px 20px rgba(21, 101, 216, .35); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #f0f4fa; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.4rem; letter-spacing: .1em; }
.brand small { font-size: .66rem; letter-spacing: .18em; opacity: .85; margin-top: 3px; }
.header.scrolled .brand { color: var(--navy); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: rgba(255,255,255,.88); font-weight: 500; font-size: .95rem; }
.menu a:not(.btn):hover { color: #fff; }
.header.scrolled .menu a:not(.btn) { color: var(--ink); }
.header.scrolled .menu a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.header.scrolled .nav-toggle span { background: var(--navy); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 20%, #1a4f96 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a1830 100%); color: #c9d6e8; padding: 150px 0 110px; }
.hero h1 { color: #fff; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.12rem; max-width: 580px; color: #b6c6dc; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; }
.hero-badges li { display: flex; align-items: center; gap: 6px; }
.hero-badges svg { width: 18px; color: var(--amber); }

.hero-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 380px; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); }
.orbit::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(24,181,232,.25); }
.core { position: absolute; inset: 50%; width: 150px; height: 150px; margin: -75px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 70px rgba(24,181,232,.45); }
.core img { width: 142px; }
.node { position: absolute; width: 104px; height: 104px; margin: -52px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-size: .8rem; font-weight: 600; animation: float 5s ease-in-out infinite; }
.node svg { width: 34px; }
.n1 { top: 4%; left: 50%; } .n1 svg { color: var(--amber); }
.n2 { top: 72%; left: 10%; animation-delay: -1.6s; } .n2 svg { color: var(--cyan); }
.n3 { top: 72%; left: 90%; animation-delay: -3.2s; } .n3 svg { color: #6ee7b7; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* About */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.two-col p { color: var(--muted); }
.facts { display: flex; gap: 32px; margin-top: 28px; }
.facts div { display: flex; flex-direction: column; }
.facts strong { font-size: 2.2rem; color: var(--blue); line-height: 1; }
.facts span { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.about-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; border-top: 4px solid var(--blue); }
.about-card dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 12px 16px; font-size: .95rem; }
.about-card dt { color: var(--muted); }
.about-card dd { margin: 0; font-weight: 600; }
.about-card ul { margin: 0; padding-left: 18px; font-weight: 500; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,31,58,.12); }
.card .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; margin-bottom: 20px; }
.card .icon svg { width: 28px; }
.card p { color: var(--muted); }
.card ul { padding: 0; margin: 0; list-style: none; }
.card li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line); font-size: .94rem; }
.card li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 64px; }
.step { position: relative; padding: 22px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step span { font-size: 1.6rem; font-weight: 800; color: var(--cyan); }
.step h4 { margin: 6px 0; font-size: 1rem; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Industries */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--navy); transition: border-color .2s, background .2s; }
.sector:hover { border-color: var(--blue); background: #f5f9ff; }
.sector svg { width: 36px; flex: none; color: var(--blue); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--amber); }
.why p { margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--blue), var(--cyan)); color: #e9f5ff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #e9f1fd; color: var(--blue); flex: none; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { color: var(--navy); }
.contact-list span, .contact-list a { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(21,101,216,.15); }
.form .invalid { border-color: #d93636; }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #13834a; }
.form-status.err { color: #d93636; }

.map { position: relative; margin-top: 56px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map .btn { position: absolute; left: 16px; bottom: 16px; }

/* Footer */
.footer { background: #071426; color: #8ea2bd; padding: 64px 0 24px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h5 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a:not(.brand) { display: block; color: #8ea2bd; padding: 3px 0; }
.footer a:not(.brand):hover { color: #fff; }
.footer .brand { margin-bottom: 16px; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 60; transition: transform .2s; }
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .node { animation: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cards, .why-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .sectors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .menu { position: fixed; inset: 88px 0 auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-130%); transition: transform .3s; }
  .menu.open { transform: none; }
  .menu a:not(.btn) { color: var(--ink) !important; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 12px; }
  .header.menu-open { background: #fff; }
  .header.menu-open .brand { color: var(--navy); }
  .header.menu-open .nav-toggle span { background: var(--navy); }
  .cards, .why-grid, .sectors, .form .row, .footer-inner { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .about-card dl { grid-template-columns: 1fr; gap: 2px; }
  .about-card dd { margin-bottom: 10px; }
  .facts { gap: 20px; }
  .hero { padding: 120px 0 80px; }
  .form { padding: 24px; }
}
