:root {
  --bg: #ffffff;      /* white background */
  --surface: #ffffff; /* cards / surfaces also white */
  --card: #ffffff;
  --border: #dddddd;  /* light gray borders */
  --text: #222222;    /* dark text */
  --muted: #555555;   /* muted gray text */
  --primary: #0b63f6; /* brand blue */
  --accent: #22c55e;  /* accent green */
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0,0,0,0.08);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 2rem, var(--maxw)); margin: 0 auto; }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
.brand { display: flex; gap: .6rem; align-items: center; font-weight: 800; }
.logo {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg,var(--primary),#61a6ff);
  box-shadow: 0 4px 12px rgba(11,99,246,.3);
}

/* Desktop menu */
.menu { display: flex; gap: 1rem; align-items: center; margin: 0; padding: 0; }
.menu>li { position: relative; list-style: none; }
.menu>a, .menu>li>a {
  padding: .55rem .6rem; color: var(--muted); font-weight: 600; border-radius: 8px;
}
.menu>a:hover, .menu>li>a:hover {
  color: var(--text); background: rgba(0,0,0,.05);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 30px;
  left: 0;
  min-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .6rem;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px); /* small slide down */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#services .dropdown{
  min-width: 260px !important;
}

.menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: grid; /* if you need grid layout */
}
.dropdown a {
  display: block; padding: .55rem .6rem; border-radius: 8px; color: var(--muted);
}
.dropdown a:hover { background: rgba(0,0,0,.05); color: var(--text); }

/* Mobile nav */
#nav-toggle { display: none; }
.menu-btn {
  display: none; padding: .5rem .7rem; border: 1px solid var(--border); border-radius: 10px;
}
@media (max-width: 980px){
  .menu-btn{display:block}
  nav .menu{
    position:fixed; inset:60px 0 auto 0;
    background:#fff; border-bottom:1px solid var(--border);
    display:grid; gap:.4rem; padding:.8rem;
    transform:translateY(-120%); transition:transform .3s ease;
  }
  #nav-toggle:checked~nav .menu{transform:translateY(0)}
  .dropdown{position:relative;top:0;border:none;border-top:1px dashed var(--border);box-shadow:none}
}

/* ===== Hero ===== */
.hero{padding:3.2rem 0 2.2rem}
.hero .grid{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem}
.eyebrow{display:inline-flex;gap:.5rem;align-items:center;color:var(--accent);background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.25);padding:.25rem .55rem;border-radius:999px;font-weight:800}
h1{font-size:clamp(2rem,1.2rem + 2.8vw,3.2rem);line-height:1.12;margin:.5rem 0}
.lead{color:var(--muted)}
.cta{display:inline-block;padding:.7rem 1rem;border-radius:999px;
  font-weight:800;
  }
.btn{border:1px solid var(--border);padding:.7rem 1rem;border-radius:999px;background:linear-gradient(180deg,#f9f9f9,transparent);font-weight:700}
.hero-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1rem;box-shadow:var(--shadow)}

@media (max-width: 1000px){.hero .grid{grid-template-columns:1fr}}

/* ===== Sections ===== */
section{padding:3.2rem 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}
.section-head h2{margin:0;font-size:clamp(1.5rem,1.2rem + 1.1vw,2rem)}
.section-head p{color:var(--muted)}

/* Services grid */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1rem;box-shadow:var(--shadow)}
.card h3{margin:.2rem 0 .5rem}
.card p{color:var(--muted)}
@media (max-width:960px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.cards{grid-template-columns:1fr}}

/* Products mega */
.mega{grid-template-columns:repeat(2,1fr);gap:.2rem}

/* Portfolio */
.portfolio{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.tile{background:#fff;border:1px solid var(--border);border-radius:12px;padding:1rem;box-shadow:var(--shadow)}
.tile small{color:var(--muted)}
@media (max-width:960px){.portfolio{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.portfolio{grid-template-columns:1fr}}

/* Contact + Branches */
.contact{display:grid;grid-template-columns:.9fr 1.1fr;gap:1rem}
.branches{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}
.branch{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1rem}
form label{display:block;font-weight:700;margin-bottom:.25rem}
input,textarea{width:100%;padding:.8rem .9rem;border-radius:10px;border:1px solid var(--border);background:#fff;color:var(--text)}
textarea{min-height:140px;resize:vertical}
.actions{margin-top:.6rem;display:flex;gap:.8rem;align-items:center}

@media (max-width:1000px){.contact{grid-template-columns:1fr}.branches{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.branches{grid-template-columns:1fr}}

/* Footer */
footer{border-top:1px solid var(--border);background:#fff}
.foot{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;padding:2rem 0}
.foot-links{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem 1rem}
.legal{display:flex;justify-content:space-between;gap:.6rem 1rem;padding:1rem 0 2rem;border-top:1px dashed var(--border);color:var(--muted);flex-wrap:wrap}

/* Utilities */
.hidden{display:none}
.active{color:var(--primary) !important}
.gov-heading{text-align:center;font-size:2rem;margin-bottom:30px}
.gov-logos{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap}
.gov-logos img{width:500px;height:500px;object-fit:contain}

/* Remove default body/html spacing */
html, body { margin:0; padding:0; height:100%; }
body { display:flex; flex-direction:column; min-height:100vh; }
.container { flex:1; }
footer { margin-top:auto; }

/* About section */
.about-section {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: 80vh; text-align: left;
}
.about-section .cards {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 30px;
}
.about-section .card {
  flex: 1 1 280px; max-width: 320px; padding: 20px;
  border-radius: 12px; box-shadow: var(--shadow);
}
.foot-brand {
  margin-bottom: 0.6rem;
}
/* Header brand subtitle */
.brand-sub {
  font-weight: 600;
  color: var(--muted);
}

/* Logos */
.logo-img {
  width: 200px;
  height: 80px;
  border-radius: 9px;
}
.logo-img-lg {
  width: 200px;
  height: 80px;
  border-radius: 9px;
}

/* Footer brand spacing */
.foot-brand {
  margin-bottom: .6rem;
}

/* Muted paragraph */
.muted-text {
  color: var(--muted);
}

/* Hero actions (buttons row) */
.hero-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
}

/* Quick Links Card */
.hero-card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #ddd);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.08));
}

.hero-card b {
  display: block;
  font-size: 1.1rem;
  margin-bottom: .8rem;
  color: var(--text, #222);
}

/* Quick Links list inside hero card */
/* List styling */
.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  position: relative;
  padding: .5rem 0 .5rem 1.4rem;
  font-size: .95rem;
  color: var(--text-muted, #555);
  border-bottom: 1px solid var(--border, #eee);
}

.quick-links li:last-child {
  border-bottom: none;
}

/* Add an icon/bullet */
.quick-links li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary, #0b63f6);
  font-size: .9rem;
}
