/* NIA Africa — Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import "tailwindcss";

:root {
  --teal-50: #E8F0F1;
  --teal-100: #D1E0E2;
  --teal-200: #A3C1C4;
  --teal-300: #7BA2A6;
  --teal-400: #5F7474;
  --teal-500: #3D5C5F;
  --teal-600: #2A4D52;
  --teal-700: #1A3F44;
  --teal-800: #123F46;
  --teal-900: #0D2E33;
  --teal-950: #081E22;

  --gold-50: #FBF3E4;
  --gold-100: #F7E6C8;
  --gold-200: #EFD096;
  --gold-300: #E7BB6A;
  --gold-400: #D99A3D;
  --gold-500: #C5852E;
  --gold-600: #A66E24;
  --gold-700: #85571F;

  --sage-50: #F2F8F5;
  --sage-100: #E0F0E8;
  --sage-200: #C8E4D5;
  --sage-300: #B8D9C9;
  --sage-400: #9BC7B0;
  --sage-500: #7DB597;

  --cream-50: #FBFAF7;
  --cream-100: #F5F1E8;
  --cream-200: #EDE6D5;

  --border: #D9E2DD;

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  --max-width: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream-50);
  color: var(--teal-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.text-balance { text-wrap: balance; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
.navbar.solid {
  background: var(--teal-800);
  box-shadow: 0 4px 20px rgba(8, 30, 34, 0.2);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
@media (min-width: 768px) { .navbar .container { height: 5rem; } }

.navbar-logo { display: flex; align-items: center; gap: 0.625rem; }
.navbar-logo img {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(217, 154, 61, 0.4);
  transition: transform 0.2s;
}
.navbar-logo:hover img { transform: scale(1.05); }
.navbar-logo .logo-text { line-height: 1; }
.navbar-logo .logo-name {
  font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.125rem;
}
.navbar-logo .logo-tag {
  display: block; font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: rgba(231, 187, 106, 0.8); margin-top: 2px;
}

.nav-links { display: none; align-items: center; gap: 1.75rem; list-style: none; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: rgba(245, 241, 232, 0.9);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-300); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--gold-400); transition: width 0.2s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  display: none; align-items: center; gap: 0.5rem;
  background: var(--gold-400); color: var(--teal-800); font-weight: 600;
  font-size: 0.875rem; padding: 0.625rem 1.25rem; border-radius: 9999px;
  transition: all 0.2s;
}
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-cta:hover { background: var(--gold-300); box-shadow: 0 8px 20px rgba(217, 154, 61, 0.3); transform: translateY(-2px); }

.nav-toggle { display: flex; align-items: center; justify-content: center; color: #fff; padding: 0.5rem; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu { display: none; background: var(--teal-800); border-top: 1px solid rgba(26, 63, 68, 0.5); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 1rem 1.25rem; }
.mobile-menu li { }
.mobile-menu li a {
  display: block; padding: 0.75rem 0; font-weight: 500;
  color: rgba(245, 241, 232, 0.9); transition: color 0.2s;
}
.mobile-menu li a:hover, .mobile-menu li a.active { color: var(--gold-300); }
.mobile-menu .nav-cta { display: flex; justify-content: center; margin-top: 0.5rem; width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 9999px; transition: all 0.2s; cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--gold-400); color: var(--teal-800); padding: 0.875rem 1.75rem; }
.btn-primary:hover { background: var(--gold-300); box-shadow: 0 12px 24px rgba(217, 154, 61, 0.3); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: #fff; padding: 0.875rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Hero (home) */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,63,70,0.88) 0%, rgba(26,63,68,0.65) 50%, rgba(13,46,51,0.78) 100%);
}
.hero-content { position: relative; z-index: 10; }
.hero-content .container { padding-top: 7rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .hero-content .container { padding-top: 10rem; padding-bottom: 0; } }
.hero h1 {
  font-size: 2.25rem; color: #fff; max-width: 48rem; line-height: 1.05;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero h1 .accent { color: var(--gold-300); font-style: italic; }
.hero p { margin-top: 1.5rem; font-size: 1.125rem; color: rgba(245,241,232,0.85); max-width: 42rem; line-height: 1.7; }
@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }
.hero-buttons { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
.hero-pillars { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-pillars .pillar { display: flex; align-items: center; gap: 0.625rem; color: rgba(245,241,232,0.7); font-size: 0.875rem; font-weight: 500; }
.hero-pillars .pillar svg { width: 1.25rem; height: 1.25rem; color: var(--gold-300); }
.hero-fade-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 6rem; background: linear-gradient(to top, var(--cream-50), transparent); z-index: 10; }

/* Page hero */
.page-hero { position: relative; height: 52vh; min-height: 380px; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,63,70,0.82) 0%, rgba(18,63,70,0.5) 100%);
}
.page-hero-content { position: relative; z-index: 10; }
.page-hero h1 { font-size: 2.25rem; color: #fff; max-width: 48rem; line-height: 1.1; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p { margin-top: 1.25rem; font-size: 1.125rem; color: rgba(245,241,232,0.8); max-width: 42rem; line-height: 1.7; }
@media (min-width: 768px) { .page-hero p { font-size: 1.25rem; } }

/* Sections */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-cream { background: var(--cream-100); }
.section-paper { background: var(--cream-50); }
.section-teal { background: var(--teal-800); }
.section-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(18,63,70,0.06) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Section labels */
.eyebrow {
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold-500);
}
.section-teal .eyebrow { color: var(--gold-400); }
.section-title {
  margin-top: 0.75rem; font-size: 1.875rem; color: var(--teal-800); line-height: 1.2;
}
.section-teal .section-title { color: #fff; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-subtitle { margin-top: 1.25rem; font-size: 1.125rem; color: var(--teal-400); line-height: 1.7; max-width: 42rem; }
.section-teal .section-subtitle { color: rgba(245,241,232,0.7); }

/* Two-column layout */
.two-col { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* Cards */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid-2 { grid-template-columns: 1fr; }
.card-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .card-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border-radius: 1rem; padding: 1.75rem;
  border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(18,63,70,0.08); }
.card-teal {
  background: rgba(26,63,68,0.5); border: 1px solid rgba(26,63,68,0.4); border-radius: 1rem; padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card-teal:hover { border-color: rgba(217,154,61,0.4); transform: translateY(-4px); }
.card-teal h3 { color: #fff; font-size: 1.125rem; margin-bottom: 0.5rem; }
.card-teal p { font-size: 0.875rem; color: rgba(245,241,232,0.6); line-height: 1.6; }

.card-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  background: rgba(184,217,201,0.3);
}
.section-teal .card-icon { background: rgba(217,154,61,0.15); }
.card-icon svg { width: 1.5rem; height: 1.5rem; color: var(--teal-700); }
.section-teal .card-icon svg { color: var(--gold-300); }
.card-icon-gold { background: rgba(217,154,61,0.15); }
.card-icon-gold svg { color: var(--gold-300); }
.card-icon-sage { background: rgba(184,217,201,0.3); }
.card-icon-sage svg { color: var(--teal-700); }

.card h3 { font-size: 1.125rem; color: var(--teal-800); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--teal-400); line-height: 1.6; }

/* Program detail rows */
.program-row { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .program-row { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.program-row + .program-row { margin-top: 5rem; }
@media (min-width: 768px) { .program-row + .program-row { margin-top: 7rem; } }
.program-image { position: relative; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 20px 40px rgba(18,63,70,0.15); }
.program-image img { width: 100%; height: 340px; object-fit: cover; }
@media (min-width: 768px) { .program-image img { height: 440px; } }
.program-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(18,63,70,0.9); backdrop-filter: blur(4px);
  border-radius: 9999px; padding: 0.375rem 1rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--gold-300);
}
.program-content h2 { font-size: 1.5rem; color: var(--teal-800); }
@media (min-width: 768px) { .program-content h2 { font-size: 1.875rem; } }
.program-content p { margin-top: 1rem; font-size: 1.125rem; color: var(--teal-400); line-height: 1.7; }
.program-points { margin-top: 1.5rem; list-style: none; }
.program-points li {
  display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.375rem 0;
  font-size: 0.875rem; color: var(--teal-500);
}
.program-points li::before {
  content: ''; margin-top: 0.5rem; width: 0.375rem; height: 0.375rem;
  border-radius: 50%; background: var(--gold-400); flex-shrink: 0;
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.stat-card {
  text-align: center; border-radius: 1rem; padding: 1.5rem;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
}
.stat-card .stat-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; color: var(--gold-300); }
@media (min-width: 768px) { .stat-card .stat-value { font-size: 3rem; } }
.stat-card .stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(245,241,232,0.7); }
.stat-card-light {
  text-align: center; border-radius: 1rem; padding: 1.5rem;
  background: rgba(26,63,68,0.5); border: 1px solid rgba(26,63,68,0.3);
}
.stat-card-light .stat-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; color: var(--gold-300); }
@media (min-width: 768px) { .stat-card-light .stat-value { font-size: 3rem; } }
.stat-card-light .stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(245,241,232,0.7); }

/* Partner grid */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 640px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: repeat(5, 1fr); } }
.partner-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 130px; background: var(--cream-100);
  border-radius: 1rem; padding: 1.25rem; border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.partner-card:hover { border-color: var(--gold-400); box-shadow: 0 4px 12px rgba(18,63,70,0.08); }
.partner-card .partner-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(184,217,201,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
  transition: transform 0.2s;
}
.partner-card:hover .partner-icon { transform: scale(1.1); }
.partner-card .partner-icon svg { width: 1.25rem; height: 1.25rem; color: var(--teal-700); }
.partner-card .partner-name { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--teal-700); line-height: 1.2; }
.partner-card .partner-type { margin-top: 0.25rem; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal-400); transition: color 0.2s; }
.partner-card:hover .partner-type { color: var(--gold-500); }

/* Image card with overlay */
.img-card { position: relative; border-radius: 1.5rem; overflow: hidden; }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-card .img-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(13,46,51,0.9) 0%, rgba(18,63,70,0.75) 50%, rgba(26,63,68,0.5) 100%);
}
.img-card .img-overlay-content { padding: 2rem; max-width: 42rem; }
@media (min-width: 768px) { .img-card .img-overlay-content { padding: 3.5rem; } }
.img-card .img-overlay h2 { font-size: 1.75rem; color: #fff; }
@media (min-width: 768px) { .img-card .img-overlay h2 { font-size: 2.25rem; } }
.img-card .img-overlay p { margin-top: 1rem; font-size: 1.125rem; color: rgba(245,241,232,0.8); }

/* Badge card */
.badge-card {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--teal-800); color: #fff; border-radius: 1rem; padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15); max-width: 240px;
}
.badge-card .badge-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; color: var(--gold-300); }
.badge-card .badge-label { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(245,241,232,0.8); }
.badge-gold {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold-400); color: var(--teal-800); border-radius: 1rem; padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15); max-width: 220px;
}
.badge-gold .badge-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.badge-gold .badge-label { margin-top: 0.25rem; font-size: 0.875rem; }

/* Pillar cards (impact) */
.pillar-card { background: var(--cream-100); border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); }
.pillar-card .pillar-img { position: relative; height: 13rem; }
.pillar-card .pillar-img img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card .pillar-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,46,51,0.6), transparent); }
.pillar-card .pillar-img-icon {
  position: absolute; bottom: 1rem; left: 1rem;
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}
.pillar-card .pillar-img-icon svg { width: 1.25rem; height: 1.25rem; color: var(--teal-800); }
.pillar-card .pillar-body { padding: 1.5rem; }
.pillar-card .pillar-num { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--gold-500); margin-bottom: 0.5rem; }
.pillar-card .pillar-body h3 { font-size: 1.125rem; color: var(--teal-800); margin-bottom: 0.75rem; }
.pillar-card .pillar-body p { font-size: 0.875rem; color: var(--teal-400); line-height: 1.6; }

/* Testimonial cards */
.testimonial-card { background: var(--teal-800); border-radius: 1rem; padding: 2rem; position: relative; }
.testimonial-card .quote-icon { width: 2.5rem; height: 2.5rem; color: rgba(217,154,61,0.4); margin-bottom: 1rem; }
.testimonial-card p { color: rgba(245,241,232,0.85); font-size: 1.125rem; font-style: italic; line-height: 1.7; }
.testimonial-card .author { margin-top: 1.25rem; color: var(--gold-300); font-weight: 500; font-size: 0.875rem; }

/* Mission/Vision cards */
.mv-card {
  background: rgba(26,63,68,0.5); border: 1px solid rgba(26,63,68,0.4);
  border-radius: 1.5rem; padding: 2.5rem;
}
.mv-card .mv-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: rgba(217,154,61,0.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.mv-card .mv-icon svg { width: 1.75rem; height: 1.75rem; color: var(--gold-300); }
.mv-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .mv-card h3 { font-size: 1.875rem; } }
.mv-card p { color: rgba(245,241,232,0.75); line-height: 1.7; font-size: 1.125rem; }

/* Contact form */
.contact-form { background: var(--cream-100); border: 1px solid var(--border); border-radius: 1.5rem; padding: 1.5rem; }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--teal-700); margin-bottom: 0.375rem; }
.form-input, .form-textarea {
  width: 100%; background: var(--cream-50); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 0.75rem 1rem; color: var(--teal-800);
  font-family: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--teal-300); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(217,154,61,0.2); }
.form-textarea { resize: none; }
.form-error {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
  background: #fff1f2; border: 1px solid #fecdd3; border-radius: 0.75rem;
  padding: 0.75rem 1rem; color: #be123c; margin-bottom: 1.25rem;
}
.form-error svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.form-success { text-align: center; padding: 4rem 2rem; }
.form-success svg { width: 4rem; height: 4rem; color: var(--gold-400); margin: 0 auto 1.25rem; }
.form-success h3 { font-size: 1.5rem; color: var(--teal-800); margin-bottom: 0.75rem; }
.form-success p { color: var(--teal-400); max-width: 24rem; margin: 0 auto; font-size: 1.125rem; }

/* Contact info */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item .info-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(184,217,201,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--teal-700); }
.contact-info-item .info-title { font-weight: 600; color: var(--teal-800); }
.contact-info-item .info-sub { font-size: 0.875rem; color: var(--teal-400); margin-top: 0.125rem; }

/* Footer */
.footer { background: var(--teal-950); color: rgba(245,241,232,0.6); padding: 3rem 0; }
.footer .container { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .footer .container { flex-direction: row; } }
.footer-logo { display: flex; align-items: center; gap: 0.625rem; }
.footer-logo img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; border: 2px solid rgba(217,154,61,0.3); }
.footer-logo .logo-name { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.125rem; }
.footer-logo .logo-tag { display: block; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(231,187,106,0.6); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: 0.875rem; }
.footer-nav a { transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-tag { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.footer-tag svg { width: 1rem; height: 1rem; color: rgba(217,154,61,0.6); flex-shrink:0;}
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(26,63,68,0.6); text-align: center; font-size: 0.75rem; color: rgba(245,241,232,0.4); }

/* Link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold-500); font-weight: 600; transition: color 0.2s;
}
.section-teal .link-arrow { color: var(--gold-300); }
.link-arrow:hover { color: var(--gold-400); }
.section-teal .link-arrow:hover { color: var(--gold-200); }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* CTA section */
.cta-banner { position: relative; border-radius: 1.5rem; overflow: hidden; }
.cta-banner img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 768px) { .cta-banner img { height: 400px; } }
.cta-banner .cta-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(13,46,51,0.9) 0%, rgba(18,63,70,0.75) 50%, rgba(26,63,68,0.5) 100%);
}
.cta-banner .cta-content { padding: 2rem 2rem; max-width: 42rem; }
@media (min-width: 768px) { .cta-banner .cta-content { padding: 0 3.5rem; } }
.cta-banner h2 { font-size: 1.75rem; color: #fff; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.25rem; } }
.cta-banner p { margin-top: 1rem; font-size: 1.125rem; color: rgba(245,241,232,0.8); }

/* Decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob-gold { background: rgba(217,154,61,0.08); }
.blob-teal { background: rgba(26,63,68,0.1); }

/* Reveal animation */
.reveal { opacity: 1; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Fade-up animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-up { animation: fadeUp 0.7s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }

/* Image grid (about team) */
.img-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.img-grid-2 img { width: 100%; height: 16rem; object-fit: cover; border-radius: 1rem; box-shadow: 0 8px 20px rgba(18,63,70,0.1); }
.img-grid-2 img:nth-child(2) { margin-top: 2rem; }

/* Text helpers */
.text-teal-400 { color: var(--teal-400); }
.text-teal-500 { color: var(--teal-500); }
.text-teal-700 { color: var(--teal-700); }
.text-teal-800 { color: var(--teal-800); }
.text-white { color: #fff; }
.text-gold-300 { color: var(--gold-300); }
.text-gold-500 { color: var(--gold-500); }
.text-cream-70 { color: rgba(245,241,232,0.7); }
.font-600 { font-weight: 600; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-14 { margin-bottom: 3.5rem; }
@media (min-width: 768px) { .mb-14 { margin-bottom: 3.5rem; } }
.space-y > * + * { margin-top: 1.25rem; }
.space-y-sm > * + * { margin-top: 1rem; }
.max-w-2xl { max-width: 42rem; }
.text-center { text-align: center; }
.relative { position: relative; }
.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: block; } }

/* Container Blocks */
.contact-section {
    background-color: #fcf9f4; /* Match screen canvas cream background */
    padding: 5rem 2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 4.5fr 5.5fr; /* Precise proportional columns layout split */
    }
}

/* Left Typography & Branding Panel */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.eyebrow-tag {
    color: #bf814b; /* Clean golden layout accent */
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.75rem;
}

.main-heading {
    color: #0b343a; /* Deep layout brand teal signature tone */
    font-size: 2.35rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1.25rem 0;
}

.sub-paragraph {
    color: #617d82; /* Muted slate teal readability paragraph weight */
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Informational Blocks List Layout */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.icon-circle {
    width: 2.75rem;
    height: 2.75rem;
    background-color: #e5edea; /* Soft mint/sage ring tint fill */
    color: #0b343a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-text h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #0b343a;
    font-weight: 600;
}

.item-text p {
    margin: 0.15rem 0 0 0;
    font-size: 0.85rem;
    color: #617d82;
}

/* Banner Component Images */
.banner-image-wrapper {
    width: 100%;
    max-width: 380px;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

    .banner-image-wrapper img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

/* Right Side Card Panel */
.form-card {
    background-color: #f6f1e5; /* Distinct warm inner card background wrapper */
    border-radius: 1.75rem;
    padding: 2.5rem;
    border: 1px solid rgba(11, 52, 58, 0.04);
}

.actual-input-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-twin {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row-twin {
        grid-template-columns: 1fr 1fr;
    }
}

/* Form Input Element Controls */
.input-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .input-field-group label {
        font-size: 0.85rem;
        font-weight: 500;
        color: #2b4e54;
    }

    .input-field-group input,
    .input-field-group textarea {
        width: 100%;
        background-color: #ffffff;
        border: 1px solid rgba(11, 52, 58, 0.12);
        border-radius: 0.75rem;
        padding: 0.9rem 1.15rem;
        font-size: 0.95rem;
        color: #0b343a;
        outline: none;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }

        .input-field-group input::placeholder,
        .input-field-group textarea::placeholder {
            color: #b0c2c5;
        }

        .input-field-group input:focus,
        .input-field-group textarea:focus {
            border-color: #d69443;
            box-shadow: 0 0 0 3px rgba(214, 148, 67, 0.15);
        }

    .input-field-group textarea {
        resize: none;
    }

/* CTA Execution Control Form Button Layout */
.cta-submit-button {
    background-color: #da9743; /* Match distinct golden brown button element background */
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    padding: 1.1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
    margin-top: 0.5rem;
}

    .cta-submit-button:hover {
        background-color: #c48332;
    }

/* Success State View Elements */
.success-view-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    color: #da9743;
    margin-bottom: 1.25rem;
}

.success-view-pane h3 {
    font-size: 1.5rem;
    color: #0b343a;
    margin: 0 0 0.75rem 0;
}

.success-view-pane p {
    color: #617d82;
    font-size: 1rem;
    max-width: 320px;
    line-height: 1.5;
    margin: 0 0 1.75rem 0;
}

.reset-link-btn {
    background: none;
    border: none;
    color: #bf814b;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.95rem;
}
