/* ═════════════════════════════════════════════════════════════
   Civiqli Child Theme — Main Stylesheet
   Parent: Astra | Author: Civiqli Development Team
═════════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --green-primary:  #135336;
  --green-nav-pill: #BBDFCA;
  --green-bright:   #8DC63F;
  --hero-bg:        #C4D8C4;
  --off-white:      rgba(255, 255, 242, 1);
  --white:          #ffffff;
  --dark:           rgba(25, 26, 35, 1);
  --font-main:      'Jost', sans-serif;
  --container-max:  1440px;
  --container-pad:  40px;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--green-primary);
  background: #fff;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── ASTRA OVERRIDES ────────────────────────────────────────── */
#masthead,
#colophon,
.ast-masthead-custom-menu-items,
.main-header-bar,
.ast-below-header,
.ast-above-header,
#ast-fixed-header,
.ast-primary-header-bar,
.footer-widget-area,
/* .site-footer, */
.ast-breadcrumbs-wrapper,
.ast-blog-single-element,
.entry-header,
.entry-footer,
.page-header,
.ast-comment-list,
#comments,
.ast-page-builder-template .entry-header,
.ast-single-post-order { display: none !important; }

.ast-page-builder-template,
.ast-full-width-layout,
#content,
.ast-container,
.site-content,
#primary,
.content-area,
.site-main,
.ast-article-post,
article.post,
article.page,
.entry-content,
.post-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
}

.ast-container { max-width: 100% !important; }
.ast-flex { display: block !important; }

.admin-bar .ast-fixed-header-active .site { padding-top: 0 !important; }
html { margin-top: 0 !important; }
body.admin-bar { padding-top: 32px; }

/* ── HEADER / NAVBAR ────────────────────────────────────────── */
.civiqli-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.admin-bar .civiqli-header { top: 32px; }

.civiqli-header.scrolled {
  background: rgba(196, 216, 196, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(19, 83, 54, 0.08);
}

.civiqli-header.scrolled-dark {
  background: rgba(10, 40, 25, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--container-pad);
  position: relative;
}

.site-logo a { display: flex; align-items: center; }

.header-logo {
  height: 32px;
  width: auto;
  display: block;
}

.civiqli-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.civiqli-nav .nav-links li a {
  color: var(--green-primary);
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background-color 0.25s ease;
  white-space: nowrap;
  display: block;
  text-decoration: none;
}

.civiqli-nav .nav-links li.current-menu-item > a,
.civiqli-nav .nav-links li.current_page_item > a {
  background-color: var(--green-nav-pill);
  font-weight: 500;
}

.civiqli-nav .nav-links li a:hover {
  background-color: rgba(187, 223, 202, 0.5);
}

.header-dark .civiqli-nav .nav-links li a { color: #fff; }

.header-dark .civiqli-nav .nav-links li.current-menu-item > a,
.header-dark .civiqli-nav .nav-links li.current_page_item > a {
  background-color: rgba(255, 255, 255, 0.15);
}

.header-dark .civiqli-nav .nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header-dark .hamburger span { background: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  border-radius: 10px;
  transition: background-color 0.25s ease;
}

.hamburger:hover { background-color: rgba(187, 223, 202, 0.5); }
.header-dark .hamburger:hover { background-color: rgba(255, 255, 255, 0.1); }

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HOMEPAGE HERO ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--hero-bg);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

.hero-city {
  position: absolute;
  right: -60px;
  top: 0;
  width: 78%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-city::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32%;
  height: 100%;
  background: linear-gradient(to right, #C4D8C4 0%, rgba(196,216,196,0) 100%);
  z-index: 2;
}

.hero-city img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.hero-content {
  padding-top: 140px;
  max-width: 560px;
  padding-bottom: 120px;
}

.hero-content h1 {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 85px;
  line-height: 105px;
  color: var(--green-primary);
  letter-spacing: 0;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--green-primary);
  margin-bottom: 45px;
  line-height: 1.6;
}

.btn-waitlist {
  display: inline-block;
  background-color: var(--green-primary);
  color: var(--off-white);
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 500;
  padding: 16px 40px;
  border-radius: 50px;
  border: 1px solid var(--dark);
  transition: opacity 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-waitlist:hover { opacity: 0.87; transform: translateY(-2px); }

/* ── INNER PAGE HERO ─────────────────────────────────────────── */
.page-hero {
  padding: 160px var(--container-pad) 80px;
  background-color: var(--hero-bg);
  width: 100%;
}

.page-hero-inner { max-width: var(--container-max); margin: 0 auto; }

.page-hero h1 {
  font-size: 64px;
  line-height: 80px;
  font-weight: 500;
  margin-bottom: 20px;
}

.page-subheading { font-size: 20px; line-height: 1.6; max-width: 700px; }

/* ── GENERAL SECTIONS ────────────────────────────────────────── */
.page-section { padding: 80px 0; width: 100%; }

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-inner h2 { font-size: 48px; line-height: 1.2; font-weight: 500; margin-bottom: 24px; }
.section-body { font-size: 18px; line-height: 1.7; }

/* ═════════════════════════════════════════════════════════════
   CHARGE PAGE
═════════════════════════════════════════════════════════════ */

.charge-hero { width: 100%; overflow: hidden; }

.charge-hero-bg {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: 20% center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 120px;
  padding-bottom: 60px;
}

.charge-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.45) 100%);
}

.charge-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  color: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.charge-hero-content h1 {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0;
  align-self: flex-start;
}

.charge-hero-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.80);
  max-width: 260px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 40px;
}

.charge-conversion {
  background-color: var(--green-primary);
  color: #fff;
  padding: 100px 0;
  width: 100%;
}

.charge-conversion-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.conversion-text { margin-bottom: 70px; }

.conversion-text h2 {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.conversion-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  max-width: 600px;
}

.conversion-text strong { color: #fff; font-weight: 600; }

.conversion-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}

.step-icon { display: none; }

.step img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 25px;
  filter: brightness(0) saturate(100%) invert(68%) sepia(20%) saturate(500%) hue-rotate(100deg) brightness(95%);
}

.step span {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  width: 50px;
  margin-bottom: 35px;
}

.step-arrow svg { width: 100%; }

.charge-cta {
  width: 100%;
  background-color: #F8F9F2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.charge-banner-top,
.charge-banner {
  background-color: var(--green-nav-pill);
  width: 100%;
  text-align: center;
  padding: 37px 20px;
  border-top: 1px solid rgba(19, 83, 54, 0.1);
}

.charge-banner-top p,
.charge-banner p {
  font-family: var(--font-main);
  color: var(--green-primary);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
}

.charge-banner p strong { font-weight: 700; }

.charge-cta-inner {
  max-width: 1200px;
  width: 100%;
  padding: 60px var(--container-pad);
  margin: 0 auto;
}

.cta-cards { display: flex; gap: 25px; }

.cta-card {
  flex: 1;
  border-radius: 16px;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

.card-waitlist { background-color: var(--green-primary); }
.card-council  { background-color: #151A16; }

.cnac-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cnac-inline-logo {
    height: 25px;
    width: auto;
    display: block;
}

.cta-card h3 {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.cta-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 45px;
  flex-grow: 1;
}

.cta-btn {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-white { background-color: #fff; color: var(--green-primary); }
.btn-bright { background-color: #4DE361; color: #000; }

.btn-bright:hover {
  background-color: rgba(77, 227, 97, 0.65) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
}

.btn-outline-waitlist {
  background-color: #fff;
  color: var(--green-primary);
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 16px 28px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  margin-top: 0;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.btn-outline-waitlist:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  opacity: 1 !important;
}

/* ═════════════════════════════════════════════════════════════
   CNAC MODAL
═════════════════════════════════════════════════════════════ */
.cnac-modal-overlay,
.waitlist-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cnac-modal-overlay.active,
.waitlist-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cnac-modal-card {
  background-color: var(--green-primary);
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  padding: 28px 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  max-height: 92vh;
  overflow-y: auto;
}

.cnac-modal-overlay.active .cnac-modal-card { transform: translateY(0); }

.cnac-modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.cnac-modal-close:hover { color: #fff; }

.cnac-context-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cnac-modal-card h2 {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.cnac-form { display: flex; flex-direction: column; gap: 14px; }

.cnac-form-row { display: flex; gap: 20px; width: 100%; }

.cnac-form-group { display: flex; flex-direction: column; gap: 10px; flex: 1; }

.cnac-form-group label { font-size: 15px; font-weight: 500; color: #fff; letter-spacing: 0.2px; }

.cnac-form-group input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 15px 24px;
  font-size: 15px;
  color: #fff;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cnac-form-group input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cnac-form-group input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1); }

.cnac-submit-btn {
  background-color: #ffffff;
  color: var(--green-primary);
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 14px 48px;
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-main);
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.cnac-submit-btn:hover { opacity: 0.87; transform: translateY(-2px); }
/* .cnac-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; } */

.cnac-status-msg { font-size: 14px; text-align: center; min-height: 20px; }
.status-success { color: var(--green-nav-pill); }
.status-error   { color: #ff6b6b; }

.waitlist-modal-card {
  background-color: var(--green-primary);
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
  padding: 44px 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.waitlist-modal-overlay.active .waitlist-modal-card { transform: translateY(0); }

.waitlist-modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.waitlist-modal-close:hover { color: #fff; }

.waitlist-modal-title {
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 500;
  color: #FDFCFA;
  line-height: 1.25;
  margin: 0 0 28px 0;
  letter-spacing: -0.3px;
}

.waitlist-modal-form {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.waitlist-input-group { flex: 1; }

.waitlist-input-group input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(253, 252, 250, 0.4);
  border-radius: 100px;
  padding: 18px 28px;
  font-family: var(--font-main);
  font-size: 18px;
  color: #FDFCFA;
  outline: none;
  transition: border-color 0.2s ease;
}

.waitlist-input-group input::placeholder { color: rgba(253, 252, 250, 0.6); }
.waitlist-input-group input:focus { border-color: #FDFCFA; }

.waitlist-submit-btn {
  background-color: #fff;
  color: var(--green-primary);
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 16px 28px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0;
  transition: opacity 0.25s ease, transform 0.2s ease;
  text-align: center;
}

.waitlist-submit-btn:hover { opacity: 0.87; transform: translateY(-2px); }

.waitlist-status-msg {
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  margin-top: 16px;
  color: var(--green-nav-pill);
}

/* ── Modal responsive ─── */
@media (max-width: 768px) {
  .cnac-modal-card { padding: 40px 24px 35px; border-radius: 20px; }
  .cnac-modal-card h2 { font-size: 24px; margin-bottom: 25px; }
  .cnac-form-row { flex-direction: column; gap: 22px; }
  .cnac-form-group input { padding: 13px 20px; font-size: 14px; }

  .waitlist-modal-card { padding: 40px 24px; border-radius: 24px; }
  .waitlist-modal-title { font-size: 28px; margin-bottom: 28px; }
  .waitlist-modal-form { flex-direction: column; align-items: stretch; gap: 12px; }
  .waitlist-input-group input { padding: 14px 22px; font-size: 15px; }
  .waitlist-submit-btn {
	  padding: 14px 32px; 
	  font-size: 16px; 
/* 	  width: 100%;  */
	}

}

/* ═════════════════════════════════════════════════════════════
   FOOTER
═════════════════════════════════════════════════════════════ */
.site-footer {
  display: block !important;
  background-color: var(--green-primary);
  color: var(--white);
  padding: 60px 0 28px;
  width: 100%;
}

.footer-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  gap: 40px;
}

.social-col h3 { font-family: var(--font-main); font-size: 36px; font-weight: 400; color: var(--white); margin-bottom: 28px; line-height: 1.1; }
.social-col h3 strong { font-weight: 700; }

.social-icons { display: flex; align-items: center; gap: 28px; }

.social-icons a {
  color: var(--white);
  font-size: 26px;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

.social-icons a:hover { opacity: 0.75; transform: translateY(-2px); }

.contact-col { padding-top: 8px; }
.contact-col p { margin-bottom: 16px; font-size: 18px; line-height: 1.4; }
.contact-col p:last-child { margin-bottom: 0; }
.contact-col a { color: var(--white); transition: opacity 0.25s ease; }
.contact-col a:hover { opacity: 0.75; }

.logo-col { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 4px; }
.footer-logo { height: 70px; width: auto; display: block; }

.engineered-by {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--green-bright);
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tyren-icon { font-size: 12px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; }

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; letter-spacing: 0.2px; }

/* ═════════════════════════════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .hero-content h1 { font-size: 70px; line-height: 88px; }
  .hero-city { width: 74%; right: -40px; }
}

@media (max-width: 1024px) {
  .hero-content h1 { font-size: 58px; line-height: 74px; }
  .hero-city { width: 70%; }
  .conversion-steps { max-width: 100%; gap: 15px; }
  .step img { height: 65px; }
  .step-arrow { width: 35px; }
  .cta-card { padding: 40px 30px; }
  .cta-card h3 { font-size: 24px; }
}

@media (max-width: 768px) {
  :root { --container-pad: 20px; }

  body.admin-bar .civiqli-header { top: 46px; }

  .hamburger { display: flex; }

  .civiqli-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(196, 216, 196, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(19, 83, 54, 0.12);
    padding: 12px 16px 20px;
    z-index: 999;
  }

  .civiqli-nav.open { display: block; }

  .civiqli-nav .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
  .civiqli-nav .nav-links li { width: 100%; }
  .civiqli-nav .nav-links li a { font-size: 18px; width: 100%; padding: 12px 14px; }
  .header-dark .civiqli-nav { background: rgba(10, 40, 25, 0.97); }

  /* ── Homepage hero MOBILE FIX ── */
  .hero-section {
    /* Use dvh so browser chrome is excluded — prevents overflow on mobile */
    height: 100dvh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hero-city {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* GPU-composited layer stops image moving on scroll */
    transform: translateZ(0);
    will-change: transform;
  }

  .hero-city::after { display: none; }

  .hero-city img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: multiply;
  }

  .hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    max-width: 100%;
    margin: 0;
    width: 100%;
    min-height: 100%;
  }

  .hero-content {
    padding: 100px 24px 0;
    max-width: 100%;
  }

  .hero-content h1 { font-size: 42px; line-height: 52px; margin-bottom: 16px; }
  .hero-subtitle   { font-size: 16px; margin-bottom: 0; }

 .btn-waitlist {
    display: inline-block;
    margin: 0 0 48px 24px;
    font-size: 17px;
    padding: 16px 40px;
    width: auto !important;
    border-radius: 50px !important;
}

  /* Charge hero */
  .charge-hero-bg { padding-top: 100px; }
  .charge-hero-content h1 { font-size: 30px; }
  .charge-hero-sub { font-size: 14px; }

  /* Conversion */
  .charge-conversion { padding: 60px 0; }
  .conversion-text h2 { font-size: 28px; }
  .conversion-text p  { font-size: 16px; }
  .conversion-steps { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 4px; max-width: 100%; flex-wrap: nowrap; }
  .step { width: auto; flex: 1; margin-bottom: 0; }
  .step img { height: 48px; margin-bottom: 12px; }
  .step span { font-size: 9px; letter-spacing: 0.5px; }
  .step-arrow { margin-bottom: 28px; margin-top: 0; transform: none; width: 20px; flex-shrink: 0; }
  .step-arrow svg { width: 20px; }

  /* CTA */
  .cta-cards { flex-direction: column; }
  .charge-cta-inner { padding: 40px 20px; }
  .charge-banner-top p, .charge-banner p { font-size: 15px; }

  /* Inner page hero */
  .page-hero { padding: 140px 20px 60px; }
  .page-hero h1 { font-size: 42px; line-height: 54px; }

  /* Footer */
  .site-footer { padding: 48px 0 24px; }
  .footer-top { flex-direction: column; gap: 40px; padding-bottom: 36px; }
  .social-col h3 { font-size: 28px; }
  .social-icons { gap: 20px; }
  .social-icons a { font-size: 22px; }
  .contact-col p { font-size: 16px; }
  .footer-logo { height: 100px; }
  .logo-col { align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-content h1  { font-size: 36px; line-height: 46px; }
  .hero-subtitle    { font-size: 15px; }
  .btn-waitlist     { font-size: 17px; padding: 16px 36px; margin-bottom: 40px; }
  .charge-hero-content h1 { font-size: 28px; }
  .charge-hero-bg   { min-height: 80vh; }
  .cta-card         { padding: 28px 24px; }
  .social-col h3    { font-size: 24px; }
  .footer-bottom p  { font-size: 12px; }
}

/* ═════════════════════════════════════════════════════════════
   CONNECT PAGE
═════════════════════════════════════════════════════════════ */

.connect-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.connect-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 0;
}

.connect-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.20) 55%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.connect-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad) 80px;
    align-self: flex-end;
}

.connect-title {
    font-family: var(--font-main);
    font-size: 88px;
    font-weight: 500;
    color: #FDFCFA;
    margin: 0 0 20px 0;
    line-height: 1.05;
    letter-spacing: -1px;
    max-width: 560px;
}

.connect-subtitle {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    color: rgba(253, 252, 250, 0.75);
    line-height: 1.6;
    margin: 0;
    max-width: 420px;
    letter-spacing: 0.2px;
}

@media (max-width: 1199px) {
    .connect-title    { font-size: 72px; }
    .connect-subtitle { font-size: 18px; }
}

@media (max-width: 768px) {
    .connect-title        { font-size: 52px; }
    .connect-subtitle     { font-size: 17px; max-width: 100%; }
    .connect-hero-content { padding-bottom: 60px; }
}

@media (max-width: 480px) {
    .connect-title        { font-size: 40px; letter-spacing: -0.5px; }
    .connect-subtitle     { font-size: 16px; }
    .connect-hero-content { padding-bottom: 48px; }
    .connect-hero-img     { object-position: center top; }
}

/* ═════════════════════════════════════════════════════════════
   CONNECT PAGE — CONTACT SECTION
═════════════════════════════════════════════════════════════ */

.connect-contact-section { background-color: #F5F5E8; width: 100%; padding: 80px 0 0; }

.connect-contact-grid {
    display: flex;
    flex-direction: row;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad) 80px;
    gap: 80px;
}

.contact-reach-col,
.contact-where-col { flex: 1; }

.contact-col-heading { font-family: var(--font-main); font-size: 36px; font-weight: 500; color: var(--green-primary); margin: 0 0 40px 0; line-height: 1.1; }

.contact-entry { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }

.contact-entry-label { font-family: var(--font-main); font-size: 15px; font-weight: 500; color: var(--green-primary); line-height: 1.4; }
.contact-entry-label--bold { font-size: 17px; font-weight: 600; }

.contact-entry-value { font-family: var(--font-main); font-size: 16px; font-weight: 400; color: var(--green-primary); line-height: 1.5; text-decoration: none; transition: opacity 0.2s ease; }

a.contact-entry-value:hover { opacity: 0.65; }
.contact-entry-note { color: var(--green-primary); opacity: 0.7; }

.contact-entry-divider { display: block; width: 100%; height: 1px; background-color: var(--green-primary); opacity: 0.2; margin-top: 16px; }

.connect-contact-banner {
    background-color: #E8EDD8;
    border-top: 2px solid rgba(19, 83, 54, 0.35);
    width: 100%;
    padding: 36px var(--container-pad);
    text-align: center;
}

.connect-contact-banner p { font-family: var(--font-main); font-size: 16px; font-weight: 400; color: var(--green-primary); line-height: 1.7; margin: 0; }
.connect-contact-banner strong { font-weight: 700; }

@media (max-width: 768px) {
    .connect-contact-section { padding-top: 60px; }
    .connect-contact-grid { flex-direction: column; gap: 56px; padding-bottom: 60px; }
    .contact-col-heading { font-size: 28px; margin-bottom: 28px; }
    .contact-entry-value { font-size: 15px; }
    .connect-contact-banner p { font-size: 15px; }
}

@media (max-width: 480px) {
    .contact-col-heading { font-size: 24px; }
    .connect-contact-banner { padding: 28px var(--container-pad); }
}

/* ═════════════════════════════════════════════════════════════
   HOMEPAGE — STORY / MANIFESTO SECTION
═════════════════════════════════════════════════════════════ */

.home-story-section {
    position: relative;
    width: 100%;
    background-color: var(--green-primary);
    overflow: hidden;
    padding: 100px var(--container-pad) 0;
    box-sizing: border-box;
    /* Min height so the bg image has room to breathe below text */
    min-height: 680px;
    display: flex;
    flex-direction: column;
}

/* ── Background wireframe city image ── */
.story-bg-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Image sits in the lower half — height auto so proportions stay */
    height: 65%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 0;
    /* Subtle top fade so image blends into the green bg */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    opacity: 0.9;
}

/* ── Text content block ── */
.story-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-bottom: 320px; /* Space so text doesn't overlap city image too much */
}

.story-heading {
    font-family: var(--font-main);
    font-size: 56px;
    font-weight: 500;
    color: #FDFCFA;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0 0 36px 0;
}

.story-line {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    color: rgba(253, 252, 250, 0.85);
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.story-line--muted {
    color: rgba(253, 252, 250, 0.6);
    font-style: italic;
}

.story-line--bold {
    font-size: 20px;
    font-weight: 600;
    color: #FDFCFA;
    margin-bottom: 40px;
}

/* ── CTA Button ── */
.story-cta-btn {
    display: inline-block;
    background: transparent;
    color: var(--green-primary);
    background-color: #FDFCFA;
    border: 1px solid #FDFCFA;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

.story-cta-btn:hover {
    background-color: rgba(253, 252, 250, 0.88);
    transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .story-heading { font-size: 46px; }
}

@media (max-width: 768px) {
    .home-story-section {
        padding: 80px var(--container-pad) 0;
        min-height: 600px;
    }

    .story-heading     { font-size: 36px; margin-bottom: 28px; }
    .story-line        { font-size: 16px; }
    .story-line--bold  { font-size: 18px; }
    .story-content     { padding-bottom: 260px; max-width: 100%; }

    .story-bg-img {
        height: 55%;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
    }
}

@media (max-width: 480px) {
    .home-story-section { padding: 60px var(--container-pad) 0; }
    .story-heading      { font-size: 30px; }
    .story-content      { padding-bottom: 220px; }

    .story-cta-btn {
        display: inline-block;
    }
}

/* ═════════════════════════════════════════════════════════════
   HOMEPAGE — CIVIC INTELLIGENCE SECTION
═════════════════════════════════════════════════════════════ */

.home-intel-section {
    background-color: #FDFCFA;
    width: 100%;
    padding: 120px var(--container-pad);
    box-sizing: border-box;
    overflow: hidden;
}

.home-intel-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ── Left: Content ── */
.intel-content-side {
    flex: 1.1;
    max-width: 620px;
}

.intel-heading {
    font-family: var(--font-main);
    font-size: 52px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--green-primary);
    margin: 0 0 36px 0;
    letter-spacing: -1px;
}

.intel-paragraph {
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.6;
    color: var(--green-primary);
    margin: 0 0 24px 0;
    font-weight: 400;
    opacity: 0.85;
}

/* ── Language chips ── */
.intel-languages-wrapper {
    margin: 36px 0 28px 0;
}

.intel-lang-label {
    display: block;
    font-family: var(--font-main);
    font-size: 17px;
    color: var(--green-primary);
    margin-bottom: 16px;
    opacity: 0.85;
}

.intel-lang-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intel-lang-chips .chip {
    font-family: var(--font-main);
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 500;
    display: inline-block;
}

.chip-english { background-color: #D3EADC; color: #135336; }
.chip-pidgin  { background-color: #FCDAD7; color: #6E211A; }
.chip-yoruba  { background-color: #FCEFD2; color: #6B4E12; }
.chip-hausa   { background-color: #D6F2FE; color: #104F6E; }
.chip-igbo    { background-color: #E2DEF7; color: #352B75; }

/* ── Subtext + branding ── */
.intel-subtext-tag {
    display: block;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--green-primary);
    margin-bottom: 20px;
    opacity: 0.75;
}

.intel-branding-footer {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 400;
    color: var(--green-primary);
    margin: 0 0 40px 0;
    line-height: 1.3;
}

.intel-branding-footer strong {
    font-weight: 600;
    color: var(--green-primary);
}

/* ── CTA button ── */
.intel-action-btn {
    display: inline-block;
    background-color: var(--green-primary);
    color: #FDFCFA !important;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 500;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.intel-action-btn:hover,
.intel-action-btn:active,
.intel-action-btn:focus {
    background-color: #0E3E28;
    color: #FDFCFA !important;
    transform: translateY(-2px);
}

/* ── Right: Image ── */
.intel-visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intel-image-wrapper {
    width: 100%;
    max-width: 560px;
}

.intel-main-graphic {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .intel-heading          { font-size: 44px; }
    .home-intel-container   { gap: 40px; }
}

@media (max-width: 991px) {
    .home-intel-section     { padding: 80px var(--container-pad); }
    .home-intel-container   { flex-direction: column; gap: 56px; }
    .intel-content-side     { max-width: 100%; }
    .intel-image-wrapper    { max-width: 480px; }
}

@media (max-width: 575px) {
    .intel-heading          { font-size: 34px; margin-bottom: 28px; }
    .intel-paragraph        { font-size: 16px; }
    .intel-lang-chips .chip { padding: 7px 16px; font-size: 14px; }
    .intel-branding-footer  { font-size: 20px; }
}

/* ═════════════════════════════════════════════════════════════
   HOMEPAGE — TYREN MOVEMENT SECTION
═════════════════════════════════════════════════════════════ */

.home-movement-section {
    background-color: var(--green-primary);
    width: 100%;
    padding: 100px var(--container-pad);
    box-sizing: border-box;
}

.home-movement-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ── ROW 1: text left on desktop ── */
.movement-row-top {
    width: 100%;
}

.movement-paragraph {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.65;
    color: rgba(253, 252, 250, 0.85);
    margin: 0;
    font-weight: 400;
    max-width: 480px;
}

/* ── ROW 2: video full width centered ── */
.movement-row-video {
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-player-wrapper:hover .video-thumbnail {
    transform: scale(1.02);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.video-player-wrapper:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.28);
}

.play-button-icon {
    width: 88px;
    height: 88px;
    background-color: #FDFCFA;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-button-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent var(--green-primary);
    margin-left: 5px;
}

.video-player-wrapper:hover .play-button-icon {
    transform: scale(1.1);
}

/* ── ROW 3: badges left | title center | button right ── */
.movement-row-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.movement-bottom-left {
    flex-shrink: 0;
}

.download-action-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

/* Badges and button sit in the same row */
.movement-badges-btn-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.download-heading {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 500;
    color: #FDFCFA;
    margin: 0;
    letter-spacing: -0.5px;
}

.store-badges-img {
    height: 48px;
    width: auto;
    display: block;
}

/* Title */
.movement-display-title {
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: #FDFCFA;
    margin: 0;
    letter-spacing: -1px;
    max-width: 420px;
    text-align: right;
}

/* Desktop title — inside bottom row, right-aligned */
.movement-title-desktop {
    flex: 1;
    text-align: right;
    display: block;
}

/* Mobile title — above video, hidden on desktop */
.movement-title-mobile {
    display: none;
}

/* Waitlist button */
.waitlist-trigger-btn {
    display: inline-block;
    background-color: #FDFCFA;
    color: var(--green-primary) !important;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 500;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-end;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.waitlist-trigger-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .movement-display-title { font-size: 42px; }
}

@media (max-width: 991px) {
    .home-movement-section  { padding: 80px var(--container-pad); }
    .movement-display-title { font-size: 42px; }
    .video-player-wrapper   { border-radius: 24px; max-width: 100%; }
}

@media (max-width: 768px) {
    .home-movement-container { gap: 32px; }

    /* Show mobile title, hide desktop title */
    .movement-title-mobile  { display: block; }
    .movement-title-desktop { display: none; }

    .movement-display-title { font-size: 34px; letter-spacing: -0.5px; }
    .movement-paragraph     { font-size: 17px; max-width: 100%; }
    .download-heading       { font-size: 24px; }
    .store-badges-img       { height: 40px; }

    .movement-row-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .movement-badges-btn-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .waitlist-trigger-btn {
        width: auto;
    	text-align: center;
    	align-self: flex-start;
    }

    .play-button-icon { width: 72px; height: 72px; }
    .play-button-icon::after {
        border-width: 10px 0 10px 17px;
        margin-left: 4px;
    }
}

@media (max-width: 480px) {
    .movement-display-title { font-size: 28px; }
    .movement-paragraph     { font-size: 16px; }
}

/* Desktop: show inline para, hide mobile para */
.movement-para-mobile  { display: none; }

/* Mobile: hide desktop para, show mobile para */
@media (max-width: 768px) {
    .movement-para-desktop { display: none; }
    .movement-para-mobile  { display: block; }
}



/* ── AUTOFILL OVERRIDE ──────────────────────────────────── */
.waitlist-input-group input:-webkit-autofill,
.waitlist-input-group input:-webkit-autofill:hover,
.waitlist-input-group input:-webkit-autofill:focus,
.cnac-form-group input:-webkit-autofill,
.cnac-form-group input:-webkit-autofill:hover,
.cnac-form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--green-primary) inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ── ASTRA BLUE REMOVAL ─────────────────────────────────── */
a, a:hover, a:focus, a:active, a:visited { color: inherit; }

.ast-separate-container .ast-article-post a,
.entry-content a,
.entry-content a:hover,
.single-post .entry-content a { color: var(--green-primary) !important; }

:root {
  --ast-global-color-0: var(--green-primary) !important;
  --ast-global-color-1: var(--green-primary) !important;
  --ast-global-color-2: var(--green-primary) !important;
}

button:focus, input:focus, select:focus, textarea:focus, a:focus {
  outline-color: var(--green-primary) !important;
  box-shadow: none !important;
}

/* Astra button defaults — scoped to avoid overriding modals */
.ast-button,
.button,
.ast-btn {
  background-color: var(--green-primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  border: none !important;
}

/* Modal button overrides — must come after Astra overrides */
button.cnac-submit-btn,
button.cnac-submit-btn:hover,
button.cnac-submit-btn:focus {
  background-color: #ffffff !important;
  color: var(--green-primary) !important;
  border: 1px solid #ffffff !important;
}

button.waitlist-submit-btn,
button.waitlist-submit-btn:hover,
button.waitlist-submit-btn:focus {
  background-color: #ffffff !important;
  color: var(--green-primary) !important;
  border: 1px solid #ffffff !important;
}