/* ==========================================
   UBONGO SIMULATIONS — style.css
   ========================================== */

:root {
  --primary:        #3B35B0;
  --primary-dark:   #2E29A0;
  --primary-med:    #5650C8;
  --primary-light:  #6B65CC;
  --accent:         #64D990;
  --accent-dark:    #4CC47B;
  --accent-faint:   #EDFAF3;
  --white:          #FFFFFF;
  --text-dark:      #111827;
  --text-med:       #4B5563;
  --text-light:     #9CA3AF;
  --border:         #E5E7EB;
  --card-bg:        #F9FAFB;
  --radius:         12px;
  --radius-sm:      8px;
  --max-w:          1200px;
  --nav-h:          72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-med);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
  font-weight: 400;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  font-size: 16px;
  padding: 16px 36px;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--primary);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
}
.logo-icon { height: 28px; width: auto; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn { color: var(--primary-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

/* ===== HERO ===== */
.hero {
  background: var(--primary);
  padding: calc(var(--nav-h) + 48px) 0 64px;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  padding: 8px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  backdrop-filter: blur(4px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}
.hero-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PARTNERS ===== */
.partners {
  background: var(--primary-light);
  padding: 36px 0;
}
.partners-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: 28px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  opacity: 0.85;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 56px;
}
.partner-logo:hover { opacity: 1; }
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== MISSION / VISION ===== */
.mission {
  padding: 96px 0;
  background: var(--white);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.mission-card { }
.icon-box {
  width: 52px;
  height: 52px;
  background: var(--accent-faint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.mission-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.mission-card p {
  font-size: 15px;
  color: var(--text-med);
  line-height: 1.75;
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.features-inner { text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.feature-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin: 20px 0 10px;
  color: var(--text-dark);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.7;
}

/* ===== WHY ===== */
.why {
  background: var(--primary);
  padding: 96px 0;
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text .section-eyebrow { color: var(--accent); }
.why-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.why-text > p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 32px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.check-icon { flex-shrink: 0; margin-top: 1px; }
.why-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ===== PROCESS ===== */
.process {
  padding: 96px 0;
  background: var(--white);
}
.process-inner { text-align: center; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.process-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.step-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: #C8F5DF;
  line-height: 1;
  margin-bottom: 24px;
}
.process-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.process-card p {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.7;
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  background: var(--primary);
  padding: 96px 0;
  text-align: center;
}
.testimonial-inner { max-width: 760px; margin: 0 auto; }
.quote-mark { margin-bottom: 28px; display: flex; justify-content: center; }
.testimonial blockquote {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 36px;
}
.quote-attr strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.quote-attr span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ===== TEAM ===== */
.team {
  padding: 96px 0;
  background: var(--white);
}
.team-inner { text-align: center; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.09); }
.team-photo { overflow: hidden; }
.team-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s;
}
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-info { padding: 24px; }
.team-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.team-role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.team-info p {
  font-size: 14px;
  color: var(--text-med);
  line-height: 1.65;
}
.advisors-banner {
  background: linear-gradient(135deg, #6B65D0 0%, #9B96E8 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  color: var(--white);
}
.advisors-banner h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}
.advisors-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.cta-inner > p {
  font-size: 16px;
  color: var(--text-med);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-fine {
  margin-top: 20px !important;
  font-size: 13px;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.footer-contact li strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid,
  .process-grid,
  .team-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-image { order: -1; max-width: 600px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }
  .nav-links .btn {
    margin: 8px 24px 0;
    width: calc(100% - 48px);
    justify-content: center;
  }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .features-grid,
  .process-grid,
  .team-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
  .partners-logos { gap: 28px; }
  .why-inner { grid-template-columns: 1fr; }
  .why-image { max-width: 100%; }
  .hero { padding-bottom: 64px; }
  .hero-heading { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .section-heading { font-size: 28px; }
  .advisors-banner { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .partner-logo svg { transform: scale(0.85); transform-origin: left center; }
}
