/* ============================================================
   eb5immigration.co.za — Main Stylesheet
   Version: 1.0.0 | 2026-03-04
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --color-primary: #0a2463;       /* Deep navy — trust, authority */
  --color-secondary: #c9a84c;     /* Gold — prestige, investment */
  --color-accent: #1e6091;        /* Mid blue — links, CTAs */
  --color-success: #2d6a4f;
  --color-text: #1a1a2e;
  --color-text-muted: #4a5568;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fc;
  --color-border: #e2e8f0;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier New', monospace;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(10,36,99,0.08);
  --shadow-hover: 0 8px 40px rgba(10,36,99,0.16);
  --max-width: 1200px;
  --transition: 0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 2px solid var(--color-secondary);
}
.btn-primary:hover { background: var(--color-primary); color: var(--color-secondary); border-color: var(--color-primary); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-primary);
  transition: all var(--transition);
}
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-large { padding: 1.125rem 2.5rem; font-size: 1.1rem; }

/* ── Navigation ────────────────────────────────────────────── */
#site-header { background: var(--color-primary); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
#main-nav { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 2rem; height: 72px; }
.nav-brand { flex-shrink: 0; }
.nav-brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; flex: 1; }
.nav-links a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
.nav-links a:hover { color: var(--color-secondary); }
.nav-cta { flex-shrink: 0; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a8a 60%, #1e6091 100%);
  color: white;
  padding: 6rem 1.5rem;
  text-align: center;
  max-width: 100%;
}
.hero-section h1 { color: white; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.hero-section .highlight { color: var(--color-secondary); }
.hero-badge { display: inline-block; background: var(--color-secondary); color: var(--color-primary); font-weight: 700; font-size: 0.8rem; padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-description { font-size: 1.2rem; color: rgba(255,255,255,0.9); max-width: 680px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-trust span::before { content: "✓ "; color: var(--color-secondary); }

/* ── Visa Cards ────────────────────────────────────────────── */
.visa-section { background: var(--color-bg-alt); max-width: 100%; padding: 5rem 1.5rem; }
.visa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: var(--max-width); margin: 0 auto; }
.visa-card { background: white; border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); transition: box-shadow var(--transition); border-top: 4px solid var(--color-secondary); }
.visa-card:hover { box-shadow: var(--shadow-hover); }
.visa-card h3 a { color: var(--color-primary); }
.visa-highlights { margin: 1rem 0; padding-left: 0; }
.visa-highlights li { padding: 0.35rem 0; padding-left: 1.25rem; position: relative; font-size: 0.9rem; color: var(--color-text-muted); }
.visa-highlights li::before { content: "→"; position: absolute; left: 0; color: var(--color-secondary); }
.visa-cta { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--color-accent); }

/* ── SA Context ────────────────────────────────────────────── */
.sa-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 2rem; }
.sa-pillar { padding: 1.5rem; border-left: 4px solid var(--color-secondary); background: var(--color-bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.sa-pillar h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ── AI Section ────────────────────────────────────────────── */
.ai-section { background: var(--color-primary); color: white; max-width: 100%; padding: 5rem 1.5rem; text-align: center; }
.ai-section h2 { color: white; }
.ai-section p { color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 2rem; }
.ai-agents-preview { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.agent-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 0.75rem 1.25rem; text-align: center; }
.agent-name { display: block; font-weight: 700; color: var(--color-secondary); font-size: 0.9rem; }
.agent-role { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-section { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.75rem; cursor: pointer; }
.faq-item p { color: var(--color-text-muted); }

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section { background: var(--color-bg-alt); text-align: center; max-width: 100%; padding: 5rem 1.5rem; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; color: var(--color-text-muted); }

/* ── Footer ────────────────────────────────────────────────── */
#site-footer { background: var(--color-primary); color: rgba(255,255,255,0.8); padding: 4rem 1.5rem 2rem; }
.footer-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--color-secondary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--color-secondary); }
.footer-contact { margin-top: 1.5rem; font-size: 0.85rem; }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; gap: 0.5rem; }
  .visa-cards { grid-template-columns: 1fr; }
  .sa-pillars { grid-template-columns: 1fr; }
}
