/* ============================================================
   GeoTechSavvy — Global Styles
   Theme: Light Professional / Consulting Firm
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-2:        #f5f7fa;
  --bg-3:        #ebeef3;
  --bg-card:     #ffffff;

  --navy:        #0f2240;
  --navy-mid:    #1a3560;
  --teal:        #0a7d8c;
  --teal-light:  #0f9eaf;
  --teal-pale:   #ebf6f8;
  --green:       #1a7a4a;
  --green-light: #22a063;
  --green-pale:  #e8f5ee;
  --gold:        #b8832a;
  --gold-pale:   #fef8ee;

  --text:        #0f2240;
  --text-body:   #334155;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --text-dim:    #c0ccd8;

  --border:      #dde4ec;
  --border-2:    #eaecf0;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --transition: 0.25s ease;
  --shadow-sm: 0 1px 6px rgba(15,34,64,0.07);
  --shadow:    0 4px 18px rgba(15,34,64,0.09);
  --shadow-lg: 0 12px 40px rgba(15,34,64,0.12);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 99px; }

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: rgba(10,125,140,0.12); color: var(--navy); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Header / Nav ───────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
#header.scrolled {
  box-shadow: 0 2px 20px rgba(15,34,64,0.35);
  border-bottom-color: rgba(255,255,255,0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
/* Fallback logo mark when no image */
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.logo-text .accent { color: #5ecfdb; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav-links .nav-cta {
  background: var(--teal);
  color: #fff !important;
  font-weight: 600;
  margin-left: 10px;
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav-links .nav-cta:hover {
  background: var(--teal-light) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--bg-2);
  transform: translateY(-1px);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
}
.btn-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  box-shadow: 0 4px 14px rgba(10,125,140,0.3);
  transform: translateY(-1px);
}
.btn-green {
  background: var(--green);
  color: #fff;
  border: 2px solid var(--green);
}
.btn-green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  box-shadow: 0 4px 14px rgba(26,122,74,0.3);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(10,125,140,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* ── Section Heading ─────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 26px; height: 1px;
  background: var(--teal);
  opacity: 0.45;
}
.section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-heading h2 em {
  font-style: italic;
  color: var(--teal);
}
.section-intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  width: 44px; height: 3px;
  background: var(--teal);
  border-radius: 99px;
  margin: 12px auto 0;
}

/* ── Tags ──────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 99px;
}
.tag-teal  { color: var(--teal);  background: var(--teal-pale);  border: 1px solid rgba(10,125,140,0.2); }
.tag-navy  { color: var(--navy);  background: var(--bg-3);       border: 1px solid var(--border); }
.tag-gold  { color: var(--gold);  background: var(--gold-pale);  border: 1px solid rgba(184,131,42,0.2); }
.tag-green { color: var(--green); background: var(--green-pale); border: 1px solid rgba(26,122,74,0.2); }

/* ── Icon Box ─────────────────────────────────────────────────── */
.icon-box {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: var(--teal-pale);
  color: var(--teal);
  transition: var(--transition);
}
.icon-box.navy { background: var(--bg-3); color: var(--navy); }
.icon-box.gold  { background: var(--gold-pale); color: var(--gold); }
.icon-box.green { background: var(--green-pale); color: var(--green); }

/* ── Reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Form Elements ───────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-body); }
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 13px;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,125,140,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

/* ── Page Hero Banner ──────────────────────────────────────────── */
.page-hero {
  padding: 136px 0 72px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(10,125,140,0.035) 79px,
      rgba(10,125,140,0.035) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(10,125,140,0.035) 79px,
      rgba(10,125,140,0.035) 80px
    );
  pointer-events: none;
}
.page-hero-inner { text-align: center; position: relative; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: var(--teal); font-weight: 600; }
.breadcrumb i { font-size: 0.55rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: #5ecfdb; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: #5ecfdb; color: #5ecfdb; background: rgba(94,207,219,0.08); }
.footer-certs {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-certs span { font-size: 0.8rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 8px; }
.footer-certs span i { color: #5ecfdb; }
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col ul li a:hover { color: #5ecfdb; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom a:hover { color: #5ecfdb; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    padding: 0 32px;
    z-index: 999;
  }
  .nav-links.active { transform: none; }
  .nav-links a { font-size: 1.15rem; padding: 14px 20px; border-radius: var(--radius); width: 100%; color: rgba(255,255,255,0.75); }
  .nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
  .nav-links .nav-cta { margin: 12px 0 0; width: 100%; text-align: center; display: flex; justify-content: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
