/* ============================================================
   DEMAND GROWTH PARTNER — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&display=swap');

:root {
  --blue:       #1A5FAB;
  --green:      #2EB67D;
  --navy:       #1A1A2E;
  --white:      #FFFFFF;
  --light-blue: #EBF3FB;
  --slate:      #6B7280;
  --light-gray: #F5F5F5;
  --border:     #E2E8F0;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --max-w: 1160px;
  --radius: 4px;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--gray { background: var(--light-gray); }
.section--navy { background: var(--navy); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }

.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section--navy .label,
.section--blue .label { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 56px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 20px; font-weight: 700; }

p { color: var(--slate); line-height: 1.75; }
.section--navy p, .section--blue p { color: rgba(255,255,255,0.75); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover { background: #1550921; filter: brightness(1.12); }

.btn--green {
  background: var(--green);
  color: var(--white);
}
.btn--green:hover { filter: brightness(1.1); }

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--navy); }

.btn--outline-blue {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn--outline-blue:hover { background: var(--blue); color: var(--white); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: 0 2px 24px rgba(26,31,46,0.10); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img { height: 44px; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--blue); }

.nav__cta { margin-left: 16px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer__brand p {
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  font-size: 15px;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__contact p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 8px;
}

.footer__contact a { color: var(--green); }
.footer__contact a:hover { text-decoration: underline; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(26,95,171,0.12);
  transform: translateY(-3px);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--light-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg { width: 24px; height: 24px; color: var(--blue); }

/* ── Divider accent ──────────────────────────────────── */
.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  .nav__links.open .nav__cta-mobile { display: block; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Page hero spacer ────────────────────────────────── */
.page-top { padding-top: 72px; }

/* ── Fade-in animation ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.animate-up:nth-child(1) { animation-delay: 0.1s; }
.animate-up:nth-child(2) { animation-delay: 0.2s; }
.animate-up:nth-child(3) { animation-delay: 0.3s; }
.animate-up:nth-child(4) { animation-delay: 0.4s; }
.animate-up:nth-child(5) { animation-delay: 0.5s; }
