/* SMARTNET SOLUTIONS SDN BHD — site stylesheet */

:root {
  --orange-1: #ff8a1e;
  --orange-2: #ff5b1f;
  --red-1: #e6321f;
  --ink: #1c1f26;
  --ink-soft: #4a4f5a;
  --paper: #ffffff;
  --paper-soft: #f7f7f9;
  --line: #e9e9ee;
  --purple: #7b3fb0;
  --pink: #d63a7e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 31, 38, 0.08);
  --shadow-sm: 0 4px 14px rgba(28, 31, 38, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Poppins", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Brand gradient helpers ---------- */
.grad-text {
  background: linear-gradient(100deg, var(--orange-1), var(--red-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--orange-1), var(--red-1));
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 50, 31, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230, 50, 31, 0.34); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-outline:hover { border-color: var(--orange-2); color: var(--orange-2); }

.btn-light {
  background: #fff;
  color: var(--red-1);
}
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  height: 46px;
  width: 46px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: 0.2px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-name span {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover { color: var(--ink); background: var(--paper-soft); }

.nav-links a.active {
  color: var(--red-1);
  background: linear-gradient(100deg, rgba(255,138,30,0.12), rgba(230,50,31,0.12));
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1f26 0%, #241a2e 55%, #2c1420 100%);
  color: #fff;
}

.hero-net {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffb87a;
  background: rgba(255, 138, 30, 0.14);
  border: 1px solid rgba(255, 138, 30, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p.lead {
  font-size: 1.08rem;
  color: #d6d7de;
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(6px);
}

.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

.hero-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-card .ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-1), var(--red-1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card .ico svg { width: 22px; height: 22px; stroke: #fff; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }

.section-soft { background: var(--paper-soft); }

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }

.section-head .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red-1);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .ico-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-1), var(--red-1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .ico-lg svg { width: 28px; height: 28px; stroke: #fff; fill: none; }

.card h3 { margin: 0 0 10px; font-size: 1.12rem; font-weight: 700; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

.card ul.sub-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.card ul.sub-list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card ul.sub-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-1), var(--red-1));
  flex-shrink: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card .cap {
  padding: 14px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
}

.stat { text-align: center; }
.stat .num {
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(100deg, var(--orange-1), var(--red-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; margin-top: 4px; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  background: linear-gradient(135deg, #1c1f26, #2c1420);
  border-radius: 22px;
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-media .badge-logo {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  width: 96px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.about-media h3 { font-size: 1.4rem; margin: 0 0 8px; font-weight: 800; }
.about-media p { color: #d6d7de; margin: 0; font-size: 0.95rem; }
.about-media .reg { margin-top: 22px; font-size: 0.82rem; color: #ffb87a; font-weight: 700; letter-spacing: 0.4px; }

.value-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.value-list li { display: flex; gap: 16px; }
.value-list .ico-sm {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-1), var(--red-1));
  display: flex; align-items: center; justify-content: center;
}
.value-list .ico-sm svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
.value-list h4 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 700; }
.value-list p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.info-card .row { display: flex; gap: 16px; align-items: flex-start; }
.info-card .row + .row { margin-top: 20px; }

.info-card .ico-sm {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-1), var(--red-1));
  display: flex; align-items: center; justify-content: center;
}
.info-card .ico-sm svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
.info-card h4 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 700; }
.info-card p, .info-card a { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.info-card a:hover { color: var(--red-1); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper-soft);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange-2);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange-1), var(--red-1));
  color: #fff;
  border-radius: 24px;
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: 1.6rem; font-weight: 800; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: #14161c;
  color: #b9bac2;
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: 42px; border-radius: 9px; }
.footer-brand span { font-weight: 800; color: #fff; font-size: 1rem; }

.site-footer h5 {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b9bac2; font-size: 0.92rem; }
.site-footer a:hover { color: #ffb87a; }
.site-footer p { font-size: 0.92rem; margin: 0 0 10px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #1c1f26 0%, #241a2e 55%, #2c1420 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: #d6d7de; margin: 0; max-width: 560px; }
.crumbs { font-size: 0.85rem; color: #ffb87a; font-weight: 700; letter-spacing: 0.4px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 60px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s; max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { margin-left: 0; margin-top: 8px; justify-content: center; }
  .nav-toggle { display: block; }
  .brand-name { max-width: 60vw; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
  .hero-inner { gap: 28px; }
  .hero-card { padding: 22px; }
  .about-media { padding: 30px; }
  .form-card { padding: 26px; }
  .info-card { padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand img { height: 38px; width: 38px; }
  .brand-name { font-size: 0.88rem; max-width: 46vw; }
  .brand-name span { font-size: 0.6rem; }
  .nav-links { top: 100%; }
  section { padding: 44px 0; }
  .hero-inner { padding: 40px 0 40px; }
  .hero h1 { letter-spacing: -0.2px; }
  .hero p.lead { font-size: 1rem; }
  .page-hero { padding: 44px 0; }
  .eyebrow { font-size: 0.7rem; padding: 6px 12px; }
  .card { padding: 24px 20px; }
  .card .ico-lg { width: 48px; height: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat .num { font-size: 1.6rem; }
  .stat .label { font-size: 0.8rem; }
  .cta-band { padding: 28px 20px; border-radius: 18px; }
  .cta-band h2 { font-size: 1.3rem; }
  .cta-band > *:last-child { width: 100%; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .about-media { padding: 24px; }
  .form-card { padding: 20px; }
  .info-card { padding: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .map-frame iframe { height: 220px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
