/*
Theme Name: VantageNorth Compliance
Description: Custom WordPress theme for VantageNorth
Author: Your Name
Version: 1.0
*/

:root {
  --navy: #1a3a5c;
  --navy-mid: #152f4a;
  --blue: #1f4570;
  --blue-light: #2a6496;
  --accent: #4a8c3f;
  --accent-light: #5aa34e;
  --grey-1: #f4f6f9;
  --grey-2: #e2e8f0;
  --grey-3: #94a3b8;
  --text: #1a2332;
  --text-light: #4a5568;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 76px;
  background: rgba(26,58,92,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,140,63,0.2);
  transition: all 0.3s ease;
}
.nav-logo { display: flex; align-items: center; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none; font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--navy) !important;
  padding: 0.5rem 1.3rem; border-radius: 3px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-light) !important; color: var(--navy) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh; background: var(--navy); display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 5% 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,58,92,0.45) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 10% 80%, rgba(74,140,63,0.12) 0%, transparent 60%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74,140,63,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(74,140,63,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem; color: var(--accent);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1.6rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--accent);
}
h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white); line-height: 1.15; font-weight: 700; margin-bottom: 1.4rem;
}
h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.72); font-size: 1.1rem; line-height: 1.7;
  max-width: 560px; margin-bottom: 2.6rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: var(--navy); padding: 0.85rem 2rem;
  border-radius: 3px; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  letter-spacing: 0.03em; transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.35); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 3px; font-weight: 500; font-size: 0.95rem;
  text-decoration: none; transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(74,140,63,0.08); }
.hero-stats {
  position: relative; z-index: 2; display: flex; gap: 3rem; margin-top: 5rem;
  padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--accent); font-weight: 700; }
.stat-label { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-top: 0.2rem; letter-spacing: 0.04em; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.35); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; z-index: 2; animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTIONS COMMON ── */
section { padding: 100px 5%; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.7rem; color: var(--blue-light);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--blue-light); }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--navy); line-height: 1.2; font-weight: 700; }
h2 em { color: var(--blue); font-style: normal; }

/* ── MISSION BAND ── */
#mission { background: var(--grey-1); padding: 80px 5%; }
.mission-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.mission-text p { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; margin-top: 1.2rem; }
.values-list { display: flex; flex-direction: column; gap: 1.5rem; }
.value-item { display: flex; gap: 1.2rem; padding: 1.4rem; background: var(--white); border-left: 3px solid var(--blue); border-radius: 0 6px 6px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.value-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.value-title { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.25rem; }
.value-desc { font-size: 0.87rem; color: var(--text-light); line-height: 1.6; }

/* ── SERVICES ── */
#services { background: var(--white); }
.services-header { max-width: 1100px; margin: 0 auto 3.5rem; display: flex; justify-content: space-between; align-items: flex-end; }
.services-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--grey-1); border-radius: 8px; padding: 2rem; border: 1px solid var(--grey-2); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; cursor: pointer; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,58,92,0.12); border-color: var(--blue-light); }
.service-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.7rem; }
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.2rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font-size: 0.73rem; background: var(--grey-2); color: var(--text-light); padding: 0.25rem 0.65rem; border-radius: 20px; font-weight: 500; }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); font-size: 0.85rem; font-weight: 600; text-decoration: none; margin-top: 1.2rem; transition: gap 0.2s; }
.service-link:hover { gap: 0.7rem; }

/* ── REGIONS ── */
#regions { background: var(--navy); padding: 80px 5%; }
.regions-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
#regions h2 { color: var(--white); }
#regions p { color: rgba(255,255,255,0.6); margin-top: 0.8rem; font-size: 1rem; }
.region-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.region-tag { background: rgba(255,255,255,0.07); border: 1px solid rgba(74,140,63,0.35); color: var(--accent); padding: 0.6rem 1.4rem; border-radius: 30px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em; }

/* ── TEAM ── */
#team { background: var(--grey-1); }
.team-header { max-width: 1100px; margin: 0 auto 3.5rem; }
.team-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid var(--grey-2); transition: box-shadow 0.25s; }
.team-card:hover { box-shadow: 0 12px 32px rgba(26,58,92,0.1); }
.team-avatar { height: 220px; background: linear-gradient(135deg, var(--navy-mid), var(--blue)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 3.5rem; color: rgba(255,255,255,0.25); font-weight: 700; position: relative; overflow: hidden; }
.team-avatar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to top, rgba(26,58,92,0.4), transparent); }
.team-info { padding: 1.5rem; }
.team-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.team-title { font-size: 0.82rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; margin: 0.25rem 0 0.7rem; }
.team-bio { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; }

/* ── CTA BAND ── */
#cta { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); padding: 100px 5%; position: relative; overflow: hidden; }
#cta::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; border-radius: 50%; background: rgba(74,140,63,0.07); }
.cta-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
#cta h2 { color: var(--white); }
#cta p { color: rgba(255,255,255,0.7); margin-top: 1rem; line-height: 1.7; font-size: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.07em; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 4px; padding: 0.75rem 1rem; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.92rem; transition: border-color 0.2s; outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-submit { background: var(--accent); color: var(--navy); border: none; padding: 0.9rem 2rem; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.15s; letter-spacing: 0.03em; align-self: flex-start; }
.btn-submit:hover { background: var(--accent-light); transform: translateY(-1px); }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; flex-shrink: 0; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.contact-detail label { display: block; font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.contact-detail span { color: rgba(255,255,255,0.8); font-size: 0.92rem; }

/* ── FOOTER ── */
footer { background: #0d1f35; padding: 60px 5% 30px; border-top: 1px solid rgba(74,140,63,0.15); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .nav-logo { font-size: 1.2rem; display: block; margin-bottom: 0.8rem; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.87rem; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem; color: rgba(255,255,255,0.25); font-size: 0.8rem; }

/* ── FADE-IN ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mission-inner, .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 2rem; }
}
@media (max-width: 600px) {
  .services-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
}