/* =========================================================
   NetVision Solutions — palette derived from the company logo
   ========================================================= */
:root {
  --navy:        #0a1a33;   /* dark text / "Net" wordmark */
  --navy-soft:   #16294a;
  --blue:        #0057b8;   /* primary brand blue */
  --blue-dark:   #003f8a;
  --accent:      #0089ff;   /* light blue accent / "Vision" wordmark */
  --accent-soft: #4fb2ff;
  --bg:          #ffffff;
  --bg-alt:      #f4f8fd;
  --bg-soft:     #eaf2fc;
  --text:        #1c2b3f;
  --text-muted:  #5a6b82;
  --border:      #e1e9f4;
  --success:     #1aa464;
  --radius:      14px;
  --shadow:      0 10px 30px rgba(10, 26, 51, 0.08);
  --shadow-lg:   0 20px 50px rgba(10, 26, 51, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .6em;
}

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { list-style: none; margin: 0; padding: 0; }

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

.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 137, 255, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 137, 255, .38); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; }
.btn-nav { padding: 10px 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand img { height: 80px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--navy); font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-color: var(--accent); }
.main-nav a.btn { color: #fff !important; border: none; }
.main-nav a.btn:hover { color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 80% 20%, var(--bg-soft), var(--bg) 60%);
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 44px; margin-bottom: 20px; }
.hero p.lead { font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  background: linear-gradient(160deg, var(--navy), var(--blue-dark) 55%, var(--accent));
  border-radius: 24px;
  min-height: 340px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.hero-art img { max-height: 200px; filter: brightness(0) invert(1); opacity: .92; }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats div { text-align: left; }
.hero-stats strong { display: block; font-family: 'Poppins',sans-serif; font-size: 28px; color: var(--navy); }
.hero-stats span { font-size: 13px; color: var(--text-muted); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: 32px; }

/* ---------- Services / Cards ---------- */
.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(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px; color: #fff;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin-bottom: 0; }

/* ---------- Why us / features list ---------- */
.feature-list { display: grid; gap: 20px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.feature-item h4 { margin-bottom: 4px; font-size: 16px; }
.feature-item p { margin-bottom: 0; font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--blue-dark) 60%, var(--blue));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Projects ---------- */
.filter-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  background: #fff; border: 1px solid var(--border); color: var(--text-muted);
  padding: 9px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: all .15s ease;
}
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.project-card { overflow: hidden; padding: 0; }
.project-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 50px;
  border-bottom: 1px solid var(--border);
  color: var(--blue);
}
.project-body { padding: 24px; }
.tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--blue);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: .03em;
}
.tag.camera { color: var(--accent); }
.project-meta { font-size: 13px; color: var(--text-muted); margin-top: 14px; display: flex; justify-content: space-between; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--navy); }
.form-group .req { color: #e0524d; }
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
textarea { resize: vertical; min-height: 120px; }

.radio-group { display: flex; gap: 14px; flex-wrap: wrap; }
.radio-option {
  flex: 1;
  min-width: 140px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-alt);
  transition: all .15s ease;
}
.radio-option input { display: none; }
.radio-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--bg-soft);
  color: var(--blue);
}

.alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 14.5px;
}
.alert-success { background: #e7f8ef; color: #1aa464; border: 1px solid #b9ecd1; }
.alert-error { background: #fdecec; color: #d1453b; border: 1px solid #f6c6c3; }

/* ---------- Contact page layout ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.info-card { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.info-row { display: flex; gap: 16px; margin-bottom: 24px; }
.info-row .ic {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-row h4 { font-size: 15px; margin-bottom: 3px; }
.info-row p { margin: 0; font-size: 14.5px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 24px; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-grid .card { text-align: center; padding: 26px 18px; }
.value-grid .icon { margin: 0 auto 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 42px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-link { color: rgba(255,255,255,.35) !important; font-size: 12.5px; }
.admin-link:hover { color: rgba(255,255,255,.7) !important; }

/* ---------- Page header banner (About/Projects/Contact/Quote) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--navy), var(--blue-dark));
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: rgba(255,255,255,.75); margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.7); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero-art { order: -1; min-height: 220px !important; }
  section { padding: 60px 0; }
}

@media (max-width: 720px) {
  .header-inner { padding: 12px 20px; }
  .brand img { height: 38px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .main-nav a.btn { margin-top: 10px; text-align: center; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .grid-3, .grid-2, .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .cta-band { padding: 36px 24px; }
  .cta-band h2 { font-size: 24px; }
  .section-head h2 { font-size: 26px; }
  .hero-stats { gap: 20px; }
  .form-card, .info-card { padding: 26px 20px; }
  .radio-group { flex-direction: column; }
  .radio-option { min-width: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 26px; }
  .eyebrow { font-size: 12px; padding: 6px 13px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 14px 24px; }
  .hero-stats strong { font-size: 22px; }
  .card { padding: 24px 20px; }
  .cta-band { padding: 28px 18px; border-radius: 18px; }
  .cta-band .btn { width: 100%; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 13px; }
  .page-banner { padding: 44px 0; }
  .page-banner h1 { font-size: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
