/* AgentiveGIS — Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0C447C;
  --green:  #1D9E75;
  --gray:   #888780;
  --light:  #F4F7FB;
  --dark:   #0a2d52;
  --text:   #1a1a2e;
  --muted:  #64748b;
  --white:  #ffffff;
  --border: #dde4ed;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--muted); line-height: 1.75; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--light); }

/* ── Navigation ── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: 1100px; margin: 0 auto; height: 155px;
}
.nav-logo img { height: 135px; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.92rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--green); color: #fff !important; font-weight: 600 !important;
  padding: 8px 20px; border-radius: 6px; transition: background .2s !important;
}
.nav-cta:hover { background: #179467 !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0;
  transition: .3s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 60%, #1a5c9e 100%);
  color: #fff; padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-block; background: rgba(29,158,117,0.2); border: 1px solid rgba(29,158,117,0.5);
  color: #4dd9a8; font-size: 0.78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 720px; }
.hero h1 span { color: #4dd9a8; }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.75); max-width: 580px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 7px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #179467; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(29,158,117,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--dark); color: #fff; }

/* ── Stats bar ── */
.stats-bar { background: var(--dark); padding: 28px 0; }
.stats-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: #4dd9a8; display: block; }
.stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ── Value props ── */
.vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.vp-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 28px 24px; transition: box-shadow .2s, transform .2s;
}
.vp-card:hover { box-shadow: 0 8px 28px rgba(12,68,124,0.1); transform: translateY(-3px); }
.vp-icon { font-size: 2rem; margin-bottom: 14px; }
.vp-card h3 { color: var(--navy); margin-bottom: 10px; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.svc-card {
  border-radius: 10px; padding: 32px 26px; position: relative; overflow: hidden;
  border: 1px solid var(--border); background: #fff; transition: box-shadow .2s, transform .2s;
}
.svc-card:hover { box-shadow: 0 10px 32px rgba(12,68,124,0.12); transform: translateY(-3px); }
.svc-card.featured {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.svc-card.featured h3, .svc-card.featured p { color: rgba(255,255,255,0.9); }
.svc-badge {
  position: absolute; top: 16px; right: 16px; background: var(--green);
  color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
}
.svc-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 14px 0 4px; }
.svc-card.featured .svc-price { color: #4dd9a8; }
.svc-period { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.svc-card.featured .svc-period { color: rgba(255,255,255,0.55); }
.svc-features { list-style: none; margin-top: 18px; }
.svc-features li { font-size: 0.88rem; color: var(--muted); padding: 5px 0; border-bottom: 1px solid var(--border); }
.svc-card.featured .svc-features li { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.1); }
.svc-features li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.svc-card.featured .svc-features li::before { color: #4dd9a8; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--navy));
  color: #fff; text-align: center; padding: 80px 0;
}
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 32px; }

/* ── About page ── */
.about-hero { background: var(--light); padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; margin-top: 48px; }
.about-sidebar { background: var(--navy); border-radius: 10px; padding: 28px 24px; color: #fff; }
.about-sidebar h3 { color: #4dd9a8; margin-bottom: 16px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; }
.cred-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.cred-item:last-child { border-bottom: none; }
.cred-item strong { color: #4dd9a8; display: block; font-size: 1rem; }
.about-content h2 { color: var(--navy); margin-bottom: 18px; }
.about-content p { margin-bottom: 16px; }

/* ── Services detail page ── */
.svc-detail { padding: 48px 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.svc-detail h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; }
.svc-detail .price-tag { font-size: 1.3rem; font-weight: 800; color: var(--green); margin-bottom: 14px; }
.deliverables { list-style: none; margin-top: 12px; }
.deliverables li { font-size: 0.9rem; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.deliverables li::before { content: '→ '; color: var(--green); font-weight: 700; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.contact-info h3 { color: var(--navy); margin-bottom: 16px; }
.contact-info p { margin-bottom: 20px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.contact-detail .icon { font-size: 1.2rem; }
.contact-form { background: var(--light); border-radius: 10px; padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  color: var(--text); background: #fff; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.55);
  padding: 40px 0; font-size: 0.82rem; text-align: center;
}
footer a { color: rgba(255,255,255,0.55); }
footer a:hover { color: #fff; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.footer-logo img { height: 72px; opacity: 0.8; }
.footer-links { display: flex; gap: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }

/* ── Page hero ── */
.page-hero { background: var(--navy); color: #fff; padding: 60px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 10px; font-size: 1.05rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .vp-grid, .services-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .svc-detail-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 0 50px; }
  .section { padding: 56px 0; }
}
