/* ============================================================
   betgive™ — Main Stylesheet
   betgive.org
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:   #0a1628;
  --blue-mid:    #0e2550;
  --blue-accent: #1a3a7a;
  --teal:        #00c6b8;
  --teal-light:  #4de0d6;
  --white:       #ffffff;
  --off-white:   #f4f7fb;
  --gray-light:  #e8edf5;
  --gray-text:   #6b7a99;
  --font:        'Montserrat', sans-serif;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(10,22,40,0.14);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--blue-dark);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { color: #3a4a6b; }

/* --- Utilities --- */
.container      { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section        { padding: 80px 0; }
.section--dark  { background: var(--blue-dark); }
.section--mid   { background: var(--blue-mid); }
.section--gray  { background: var(--off-white); }
.text-center    { text-align: center; }
.text-white     { color: var(--white) !important; }
.text-white p   { color: rgba(255,255,255,0.82); }
.text-teal      { color: var(--teal); }
.badge          { display: inline-block; background: rgba(0,198,184,0.15); color: var(--teal); border: 1px solid var(--teal); border-radius: 20px; padding: 4px 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
}
.btn-primary  { background: var(--teal); color: var(--blue-dark); }
.btn-primary:hover { background: var(--teal-light); color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,198,184,0.35); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-dark); transform: translateY(-2px); }
.btn-dark     { background: var(--blue-dark); color: var(--white); }
.btn-dark:hover { background: var(--blue-accent); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,198,184,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--blue-dark);
  padding: 20px 24px 28px;
  z-index: 999;
  border-bottom: 1px solid rgba(0,198,184,0.2);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, #0a2040 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(0,198,184,0.06)'/%3E%3C/svg%3E") repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.hero-badge { margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 340px;
  height: 340px;
}
.hero-card {
  position: absolute;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-card-back {
  background: linear-gradient(135deg, #0e2550, #1a3a7a);
  top: 40px; right: 0;
  width: 260px;
  border: 1px solid rgba(0,198,184,0.2);
}
.hero-card-front {
  background: linear-gradient(135deg, #00c6b8, #0095c8);
  top: 0; left: 0;
  width: 280px;
}
.card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 8px; color: var(--blue-dark); }
.card-value { font-size: 2rem; font-weight: 900; color: var(--blue-dark); }
.card-value-sub { font-size: 0.8rem; font-weight: 600; color: var(--blue-dark); opacity: 0.7; margin-top: 4px; }
.card-metric { margin-bottom: 20px; }
.card-dots { display: flex; gap: 6px; margin-top: 16px; }
.card-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(10,22,40,0.3); }
.card-dot.active { background: var(--blue-dark); }

/* Stats ticker */
.stats-ticker {
  background: rgba(0,198,184,0.1);
  border-top: 1px solid rgba(0,198,184,0.2);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--teal); display: block; }
.stat-label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 56px; }
.section-header p { max-width: 600px; margin: 12px auto 0; font-size: 1.05rem; }

/* ============================================================
   FEATURES / PRODUCTS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), #0095c8);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(0,198,184,0.1));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0095c8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  color: var(--blue-dark);
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(0,198,184,0.4);
}
.step-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step-card p { font-size: 0.9rem; }

/* ============================================================
   PARTNER LOGOS
   ============================================================ */
.logo-section { padding: 60px 0; }
.logo-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 28px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: center;
}
.logo-pill {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-accent);
  letter-spacing: 0.03em;
  transition: background var(--transition);
}
.logo-pill:hover { background: rgba(0,198,184,0.15); }

/* ============================================================
   VALUES / ABOUT
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,198,184,0.2);
  border-radius: 16px;
  padding: 36px 28px;
  transition: background var(--transition);
}
.value-card:hover { background: rgba(0,198,184,0.08); }
.value-icon { font-size: 2.4rem; margin-bottom: 18px; }
.value-card h3 { color: var(--white); margin-bottom: 12px; }
.value-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-accent));
  display: flex; align-items: center; justify-content: center;
}
.team-photo img {
  width: 90px;
  height: auto;
  opacity: 0.28;
  filter: brightness(0) invert(1);
}
.team-info { padding: 24px; }
.team-info h3 { margin-bottom: 4px; }
.team-role { color: var(--teal); font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }
.team-info p { font-size: 0.9rem; }

/* ============================================================
   REQUIREMENTS / ELIGIBILITY
   ============================================================ */
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.req-list { list-style: none; }
.req-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
}
.req-list li:last-child { border-bottom: none; }
.req-check { color: var(--teal); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.req-x     { color: #e05555; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   CONTACT / FORMS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p  { margin-bottom: 28px; }
.contact-point {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.contact-point-icon {
  width: 44px; height: 44px;
  background: rgba(0,198,184,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
form .form-group { margin-bottom: 20px; }
form label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--blue-dark);
}
form input, form textarea, form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--blue-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
form input:focus, form textarea:focus, form select:focus { border-color: var(--teal); }
form textarea { resize: vertical; min-height: 130px; }
form .form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #0095c8 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--blue-dark); margin-bottom: 16px; }
.cta-banner p  { color: rgba(10,22,40,0.75); font-size: 1.05rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 120px 0 70px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(0,198,184,0.15);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin: 14px 0 24px;
  max-width: 280px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: all var(--transition);
  margin-right: 8px;
}
.footer-social a:hover { background: var(--teal); color: var(--blue-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.footer-legal a:hover { color: var(--teal); }

/* ============================================================
   PARTNERS PAGE
   ============================================================ */
.partners-section { padding: 70px 0; }
.partners-divider { border: none; border-top: 1px solid var(--gray-light); margin: 56px 0; }
.partner-intro { max-width: 640px; margin: 0 auto 48px; text-align: center; }

/* ============================================================
   APPLICATION PAGE
   ============================================================ */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.checklist { list-style: none; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
  color: #3a4a6b;
}
.checklist li:last-child { border-bottom: none; }

/* ============================================================
   ALERT / SUCCESS MESSAGES
   ============================================================ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}
.alert-success { background: rgba(0,198,184,0.12); color: #007a70; border: 1px solid var(--teal); }
.alert-error   { background: rgba(224,85,85,0.1);  color: #b33030; border: 1px solid #e05555; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid    { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .team-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .stats-row { gap: 32px; }
  .features-grid  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .req-grid       { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .app-grid       { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr !important; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .cta-actions    { flex-direction: column; align-items: center; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .page-hero { padding: 100px 0 56px; }
}
