/* ============================================================
   GLOBIFY – Shared Stylesheet
   Brand Colours:
     --navy:       #2d388a  (gradient start / primary)
     --blue:       #00aeef  (gradient end / accent)
     --dark-navy:  #0d3f8f  (wordmark / headings)
     --light-bg:   #eaf1fb  (section backgrounds)
   ============================================================ */

:root {
  --navy:      #2d388a;
  --blue:      #00aeef;
  --dark-navy: #0d3f8f;
  --light-bg:  #eaf1fb;
  --white:     #ffffff;
  --text:      #2c2c3e;
  --muted:     #6b7280;
  --gradient:  linear-gradient(135deg, #2d388a 0%, #00aeef 100%);
  --shadow:    0 4px 24px rgba(13, 63, 143, 0.10);
  --radius:    12px;
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { color: var(--dark-navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; color: var(--text); }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #dbeafe;
  box-shadow: 0 2px 12px rgba(13,63,143,0.07);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--dark-navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue); text-decoration: none; }

.nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none !important; }

/* Hamburger (mobile) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark-navy); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,174,239,0.25); text-decoration: none; }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-navy {
  background: var(--dark-navy);
  color: var(--white);
}

/* ── LAYOUT HELPERS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  background: var(--light-bg);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { color: var(--muted); max-width: 620px; margin: 0.8rem auto 0; font-size: 1.05rem; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(13,63,143,0.14); }

/* ── GRADIENT DIVIDER ── */
.divider {
  height: 4px;
  background: var(--gradient);
  border: none;
  border-radius: 2px;
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-navy);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
footer p, footer a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
footer a:hover { color: var(--blue); text-decoration: none; }

.footer-logo { height: 36px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── HERO GRADIENT BADGE ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #dbeafe;
    gap: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
