:root {
  --bg: #ffffff;
  --surface: #f6f8fc;
  --surface-2: #eef3ff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #2f6bff;
  --accent-dark: #1e4ed8;
  --border: #dbe3f4;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 999;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: var(--surface);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
}

h2 {
  font-size: clamp(1.45rem, 3.3vw, 2.2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 227, 244, 0.7);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-menu a {
  color: #1f2937;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  border: 1px solid var(--border);
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1f2937;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 20% 30%, #e9f0ff 0, transparent 42%),
    radial-gradient(circle at 90% 10%, #edf8ff 0, transparent 28%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy p {
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.72rem 1.1rem;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section-head {
  max-width: 74ch;
  margin-bottom: 1.6rem;
}

.projects-subhead {
  margin-top: 2rem;
}

.stats-grid,
.mission-grid,
.service-grid,
.project-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-value {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.stat-label {
  margin: 0;
  font-size: 0.92rem;
}

.mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card,
.project-card,
.contact-grid article,
.form-wrap,
details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-card,
.service-card,
.project-card,
.contact-grid article,
details {
  padding: 1.1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card {
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
  border-color: #bfd0ff;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  background: #eaf0ff;
  border-color: #c3d2ff;
  color: #173894;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  box-shadow: 0 4px 16px rgba(20, 32, 64, 0.06);
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.tag {
  background: #eff4ff;
  color: #294aab;
  border: 1px solid #cfddff;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.tag-accent {
  background: #2f6bff;
  color: #fff;
  border: none;
}

.featured-project {
  border-color: #bfd0ff;
  background: linear-gradient(180deg, #f4f8ff, #ffffff);
}

.project-list {
  margin: 0 0 0.9rem;
  padding-left: 1rem;
  color: var(--muted);
}

.roadmap-note {
  margin-bottom: 0.6rem;
  color: #1f3a8a;
}

.text-link {
  font-weight: 600;
  color: var(--accent);
}

.tools-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.tools-grid span {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
  color: #334155;
  background: #fbfcff;
}

.why-list {
  margin: 0;
  padding-left: 1.1rem;
  max-width: 70ch;
}

.form-wrap {
  padding: 1.2rem;
}

.enquiry-form {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.9rem;
}

input,
textarea {
  font: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid #bad0ff;
  outline-offset: 1px;
  border-color: #9ebbff;
}

.full-width {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 0.86rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}

summary + p {
  margin-top: 0.8rem;
}

.cta-band {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.cta-band-inner {
  border-radius: var(--radius);
  border: 1px solid #bfd0ff;
  background: linear-gradient(120deg, #f1f6ff, #ffffff);
  padding: clamp(1.1rem, 3vw, 1.8rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.1rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #1fa855;
  color: #fff;
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(31, 168, 85, 0.3);
  z-index: 110;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  background: #179247;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .stats-grid,
  .service-grid,
  .project-grid,
  .mission-grid,
  .contact-grid,
  .field-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 4%;
    display: none;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.68rem 0;
    width: 100%;
  }

  .nav-menu.open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
