/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --primary-color: #0b9deb;
  --primary-hover-color: #052646;
  --grey-color-text: #000000cc;
  --black-color-text: #000000;
  --white-color-text: #ffffff;
  --border-color: #e2e8f0;
  --border-color-focus: #007fff;
  --link-color: #007fff;
  --sticky-header-height: 85px;
}

/* ─── Base ───────────────────────────────────────────────────────────────────── */
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Afacad", sans-serif;
  color: #000;
  text-rendering: geometricPrecision;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Amarante", serif;
  color: var(--black-color-text);
}

p {
  font-size: 19px;
  color: var(--grey-color-text);
  font-family: "Afacad", sans-serif;
  line-height: 1.5;
  text-align: justify;
}

a {
  color: var(--primary-color);
  text-decoration: none !important;
  transition: color 0.3s ease;
}
a:hover { color: var(--primary-hover-color); }

img { max-width: 100%; }
iframe { border: 0; max-width: 100%; display: block; margin: 0 auto; }

::selection { background-color: var(--primary-color); color: #fff; }

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(0,0,0,.1);
}
*::-webkit-scrollbar { width: 4px; }
*::-webkit-scrollbar-thumb { background: #888; border-radius: 7px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ─── Loader ─────────────────────────────────────────────────────────────────── */
.loader-wrapper {
  background: rgba(0,0,0,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 9999;
  top: 0;
  left: 0;
}
.loader {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 6px 2px rgba(0,0,0,.1);
}
.loader::before {
  content: "";
  width: 100px;
  height: 100px;
  border: 5px solid rgba(0,0,0,.05);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 1.5s infinite linear;
  display: block;
}
.loader img {
  width: 73%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.section-padding { padding-top: 50px; padding-bottom: 50px; }

/* ─── Announcement Bar ───────────────────────────────────────────────────────── */
.announcement-bar {
  display: none; /* shown by JS after dismissed-check */
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #052646 0%, #0b9deb 100%);
  color: #fff;
  font-family: "Afacad", sans-serif;
  font-size: 15px;
  padding: 10px 48px 10px 16px;
  position: relative;
  z-index: 1060;
  text-align: center;
}
.announcement-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.announcement-bar-inner span { color: #fff; }
.announcement-bar-cta {
  display: inline-block;
  background: #fff;
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.announcement-bar-cta:hover {
  background: var(--primary-hover-color);
  color: #fff !important;
}
.announcement-bar-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color .2s;
}
.announcement-bar-close:hover { color: #fff; }

/* ─── Blue Wave Section ──────────────────────────────────────────────────────── */
.section-blue {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-hover-color) 100%);
  position: relative;
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}
.section-blue::before,
.section-blue::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}
.section-blue::before {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,0 480,60 720,30 C960,0 1200,60 1440,30 L1440,0 L0,0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.section-blue::after {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,60 480,0 720,30 C960,60 1200,0 1440,30 L1440,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.section-blue .section-heading,
.section-blue h2, .section-blue h3, .section-blue p, .section-blue li, .section-blue small,
.section-blue .feature-title, .section-blue .text-muted,
.section-blue .feature-subtitle { color: #fff !important; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary, a.btn-primary {
  display: inline-block;
  color: var(--white-color-text) !important;
  background-color: var(--primary-color);
  border: 0 !important;
  font-weight: 400;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 60px;
  font-family: "Amarante", serif;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.btn-primary:hover, a.btn-primary:hover {
  background-color: var(--primary-hover-color);
  color: #fff !important;
}
.btn-white, a.btn-white {
  display: inline-block;
  color: var(--primary-color) !important;
  background-color: #fff;
  border: 0 !important;
  font-weight: 400;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 60px;
  font-family: "Amarante", serif;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.btn-white:hover, a.btn-white:hover {
  background-color: var(--primary-hover-color);
  color: #fff !important;
}
.btn-secondary, a.btn-secondary {
  display: inline-block;
  color: var(--black-color-text) !important;
  background-color: transparent;
  font-weight: 400;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 60px;
  border: 1px solid var(--black-color-text) !important;
  font-family: "Amarante", serif;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover, a.btn-secondary:hover {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}
.login-btn.btn-primary,
.signup-btn.btn-secondary {
  min-width: 144px;
  display: block;
}

/* ─── Header / Navbar ────────────────────────────────────────────────────────── */
#header {
  height: 135px;
  display: flex;
  align-items: center;
  background-color: #fff !important;
  position: relative;
  z-index: 1052;
  transition: all 0.5s ease;
}
#header.is-sticky {
  position: fixed;
  right: 0; left: 0; top: 0;
  transform: translateY(-100%);
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  height: 85px;
}
#header.is-sticky.awake { transform: translateY(0); }
#header .navbar-brand img { height: 120px; width: auto; max-height: none; }

/* CLS fix — remplace le padding-top inline dynamique du JS */
body.header-sticky-offset { padding-top: var(--header-height, 85px); }
#header.is-sticky .navbar-brand img { height: 90px; }

/* Sticky page-title banner — pinned just below the menu while scrolling */
.banner-sectoin { position: sticky; top: 0; z-index: 1051; }
body.header-sticky-offset .banner-sectoin { top: var(--sticky-header-height); }

.header-container { padding: 0 20px; }
.header-flex { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.header-flex .navbar { flex: 1; }
.header-flex .navbar .navbar-collapse { justify-content: flex-end; }

.navbar-nav .nav-link {
  color: #000 !important;
  font-size: 19px;
  font-weight: 500;
  padding: 0 !important;
  white-space: nowrap;
}
.navbar-expand-lg .navbar-nav .nav-item { margin-right: 43px; }
.navbar-expand-lg .navbar-nav .nav-item:last-child { margin-right: 0; }
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item .nav-link:hover { color: #065db5 !important; }

.extra_nav { margin-left: 32px; margin-right: 100px; }
.extra_nav .navbar-nav { flex-direction: row; align-items: center; gap: 12px; }

.langugae_filter .flag_ico { display: inline-flex; align-items: center; }
.langugae_filter .flag_ico .fi { width: 20px; height: 15px; border-radius: 2px; }
.lang-code { font-size: 14px; margin-left: 4px; font-weight: 500; }
.lang_drop { background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.lang_dropdown { min-width: 40px; }
.dropdown-menu {
  border: 0;
  border-radius: 13px;
  background: #fff;
  box-shadow: rgba(0,0,0,.1) 0px 4px 15px;
  padding: 7px 0;
}
.dropdown-item { font-size: 15px; padding: 6px 14px; }
.dropdown-item:hover { color: var(--primary-color); background: transparent; }

/* Mobile nav */
.for_mobile { display: none; }
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 1049;
}
.navbar-toggler { border: 0; padding: 4px; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  display: inline-block; width: 1.5em; height: 1.5em; background-size: cover;
}

/* ─── Banner / Hero ──────────────────────────────────────────────────────────── */
/* Home page : photo background with dark overlay */
.HomePage .banner-sectoin {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  padding: 15px 0;
  position: relative;
  z-index: 1;
  min-height: 45px;
  display: flex;
  align-items: center;
}
.HomePage .banner-sectoin::before {
  content: "";
  position: absolute;
  left: 0;
  z-index: -1;
  top: 0;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
}
/* Other pages : solid navy */
.banner-sectoin {
  background: #036;
  padding: 20px 0;
  min-height: 45px;
  display: flex;
  align-items: center;
}
.breadcrumb-box { display: flex; align-items: center; justify-content: center; height: 100%; }
.page_banner_heading {
  font-family: "Amarante", serif;
  font-size: 25px;
  color: #fff;
  text-align: center;
  margin: 0;
  font-weight: 400;
}
.page_banner_desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  margin: 0;
}

/* ─── Section headings ────────────────────────────────────────────────────────── */
.section-heading {
  font-family: "Amarante", serif;
  font-size: 1.6rem;
  color: var(--black-color-text);
  margin-bottom: 20px;
}
.heading-shap { position: relative; padding-bottom: 16px; }
.heading-shap::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 4px;
  background: var(--primary-color);
  border-radius: 4px;
}
.text-center .heading-shap::after,
.heading-shap.text-center::after { left: 50%; transform: translateX(-50%); }

.description-block { font-size: 18px; color: var(--grey-color-text); line-height: 1.7; }

/* ─── Quick blocks (Home 4 cards) ────────────────────────────────────────────── */
.quick-block {
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.quick-block:hover { box-shadow: 0 8px 32px rgba(11,157,235,.18); transform: translateY(-4px); }
.quick-block-icon { width: 80px; height: 80px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.quick-block-icon img { width: 100%; height: 100%; object-fit: contain; }
.quick-block h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--black-color-text) !important; }
.quick-block p { font-size: 15px; color: var(--grey-color-text) !important; flex: 1; }
.quick-block .btn-primary { margin-top: auto; font-size: 15px; padding: 10px 22px; }
.quick-block-fa-icon { font-size: 3rem; color: var(--primary-color); }

/* ─── Video Section ─────────────────────────────────────────────────────────── */
.video-section { padding-bottom: 60px; }

/* ─── Minds Driving ──────────────────────────────────────────────────────────── */
.minds-driving {
  background: transparent;
  padding: 60px 0;
}
.minds-driving .md-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-hover-color) 0%, var(--primary-color) 100%);
  border-radius: 24px;
  padding: 50px 60px;
}
.minds-driving .md-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.minds-driving p { color: rgba(255,255,255,.88); text-align: center; font-size: 18px; }

/* ─── Impact quote ────────────────────────────────────────────────────────────── */
.impact-quote-light {
  padding: 24px 32px;
  border-left: 4px solid var(--primary-color);
  background: #f0f8ff;
  border-radius: 8px;
  display: inline-block;
  max-width: 700px;
}
.impact-quote-light p {
  font-family: "Amarante", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--primary-color);
}
.impact-quote {
  border-left: none;
  padding: 24px 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}
.impact-quote p {
  font-family: "Amarante", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #fff;
}

/* ─── Feature rows ────────────────────────────────────────────────────────────── */
.feature-row { margin-bottom: 50px; }
.feature-title { font-size: 2rem; margin-bottom: 8px; }
.feature-subtitle { font-size: 1.1rem; margin-bottom: 12px; }

/* ─── Other features list ─────────────────────────────────────────────────────── */
.other-features-list { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; }
.other-feature-item { display: flex; align-items: center; gap: 10px; font-size: 17px; background: #fff; border-radius: 8px; padding: 10px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); width: 195px; }

/* ─── Home video ─────────────────────────────────────────────────────────────── */
.home-video-wrapper { border-radius: 0; overflow: hidden; }

/* ─── Download app ────────────────────────────────────────────────────────────── */
.dwl-app { display: flex; flex-wrap: wrap; gap: 16px; }
.subheading { font-size: 1.2rem; font-weight: 600; color: var(--primary-color); margin-bottom: 12px; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-tabs { gap: 10px; }
.faq-tabs .nav-link {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  padding: 8px 24px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.faq-tabs .nav-link:hover { background: var(--primary-color); color: #fff; }
.faq-tabs .nav-link.active { background: var(--primary-color); color: #fff; }

.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #e8f4fd;
  border-radius: 0 !important;
}
.faq-accordion .accordion-button {
  font-weight: 500;
  font-size: 1rem;
  color: var(--black-color-text);
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: #f0f8ff;
  box-shadow: none;
  border-radius: 15px 15px 0 0;
}
.faq-accordion .accordion-button::after {
  filter: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(42%) sepia(93%) saturate(500%) hue-rotate(175deg);
}
.faq-accordion .accordion-body {
  color: #555;
  line-height: 1.7;
  padding: 16px 20px 20px;
  background: #f0f8ff;
  border-radius: 0 0 15px 15px;
}

/* ─── Internal links ──────────────────────────────────────────────────────────── */
.internal-links-section { padding-top: 30px; padding-bottom: 30px; border-top: 1px solid #e8f4fd; }
.internal-links-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 12px; }
.internal-links-row { display: flex; flex-wrap: wrap; gap: 10px; }
.internal-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.internal-link-pill:hover { background: var(--primary-color); color: #fff; }

/* ─── Partners ────────────────────────────────────────────────────────────────── */
.partner-card { transition: box-shadow 0.3s ease, transform 0.3s ease; }
.partner-card:hover { box-shadow: 0 8px 32px rgba(11,157,235,.15) !important; transform: translateY(-3px); }
.partner-logo { max-height: 80px; object-fit: contain; }

/* ─── NGO image ──────────────────────────────────────────────────────────────── */
.ngoimg { border-radius: 16px; overflow: hidden; }
.ngoimg img { width: 100%; height: auto; }

/* ─── Contact ────────────────────────────────────────────────────────────────── */
.contactImg { border-radius: 16px; overflow: hidden; }
.contactImg img { width: 100%; height: auto; }
.contact-block .section-heading { font-size: clamp(1.4rem, 2.5vw, 2rem); }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
label {
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 7px;
  color: var(--black-color-text);
  font-family: "Amarante", serif;
  display: block;
}
.form-group { margin-bottom: 24px; }
.form-control {
  width: 100%;
  height: 54px;
  padding: 14px 19px;
  font-size: 1rem;
  color: #475f7b;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 90px;
  transition: border-color 0.15s ease;
}
.form-control:focus { border-color: #5a8dee; outline: 0; box-shadow: none; color: #475f7b; background: #fff; }
textarea.form-control { height: auto; border-radius: 16px; resize: vertical; }
select.form-control:not(.form-select) { appearance: auto; }
.form-control.is-invalid { border-color: #dc3545; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer_wrapper { background: #036; padding: 40px 0 20px; margin-top: 20px; }
.footer-main { border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 30px; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-nav a { color: #fff; font-size: 15px; text-decoration: none; white-space: nowrap; }
.footer-nav a:hover { color: var(--primary-color); }
.social-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
.social-links a img { width: 28px; height: 28px; transition: transform 0.2s; }
.social-links a:hover img { transform: scale(1.15); }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.6); padding-bottom: 10px; }

/* ─── Cookie consent ─────────────────────────────────────────────────────────── */
.cookiealert {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 20px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookiealert p { margin: 0; font-size: 14px; flex: 1; color: #333; text-align: left; }
.cookie-btn { display: flex; gap: 8px; }
.cookie-btn .btn { font-size: 13px; padding: 8px 16px; border-radius: 30px; }

/* ─── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .for_desktop { display: none !important; }
  .for_mobile { display: block !important; }
  #header { height: 100px; }
  #header .navbar-brand img { height: 80px; }

  #header .collapse:not(.show).menu-show {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    padding: 80px 24px 24px;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.1);
  }
  #header .collapse.menu-show .navbar-nav { flex-direction: column; }
  #header .collapse.menu-show .navbar-nav .nav-item { margin: 0 0 16px; }
  #header .collapse.menu-show .extra_nav { margin: 16px 0 0; }
  #header .collapse.menu-show .extra_nav .navbar-nav { flex-direction: column; align-items: flex-start; }

  .mobile_logo { position: absolute; top: 20px; left: 20px; }
  .mobile_logo img { max-height: 50px; }
  .menuClose-icon { position: absolute; top: 20px; right: 20px; background: none; border: 0; cursor: pointer; }

  body.scroll-off { overflow: hidden; }

  .banner-sectoin, .HomePage .banner-sectoin { min-height: 70px; padding: 15px 0; }
  .page_banner_heading { font-size: 22px; }
  .section-padding { padding-top: 36px; padding-bottom: 36px; }
  .quick-block { padding: 20px 16px; }
  .feature-row { margin-bottom: 32px; }
  .dwl-app { justify-content: center; }
}

@media (max-width: 767.98px) {
  p { font-size: 16px; }
  .btn-primary, a.btn-primary,
  .btn-secondary, a.btn-secondary { font-size: 16px; padding: 12px 22px; }
  .footer_wrapper { padding: 40px 0 0; }
  .cookiealert { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════
   CROWDFUNDING PAGE
═══════════════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────────── */
.cf-hero {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(160deg, #031d35 0%, #052646 50%, #0b9deb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px 0 80px;
}
.cf-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='30' cy='30' r='1.5' fill='rgba(255,255,255,.07)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.cf-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(3,29,53,.6) 100%);
  pointer-events: none;
}
.cf-hero-content { position: relative; z-index: 1; }
.cf-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: "Afacad", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.cf-hero-title {
  font-family: "Amarante", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff !important;
  line-height: 1.15;
  margin-bottom: 24px;
}
.cf-hero-subtitle {
  color: rgba(255,255,255,.85) !important;
  font-size: 20px;
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}
.cf-btn-hero { font-size: 20px; padding: 16px 44px; }
.cf-hero-hint {
  color: rgba(255,255,255,.6) !important;
  font-size: 15px;
  margin-top: 18px;
  text-align: center;
}

/* ── Video ──────────────────────────────────────────────────────── */
.cf-video-section { background: #f8fafc; }
.cf-video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(11,157,235,.2);
  aspect-ratio: 16 / 9;
}
.cf-video-wrapper iframe { width: 100%; height: 100%; display: block; }

/* ── Progress bar ───────────────────────────────────────────────── */
.cf-progress-section { }
.cf-progress-bar-wrap {
  background: rgba(255,255,255,.25);
  border-radius: 50px;
  height: 18px;
  margin: 24px 0 12px;
  overflow: hidden;
}
.cf-progress-bar {
  height: 100%;
  background: #fff;
  border-radius: 50px;
  transition: width 1.5s ease;
}
.cf-progress-stats {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 17px;
}

/* ── Story ──────────────────────────────────────────────────────── */
.cf-story-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}
.cf-story-list li span { text-align: left; }
.cf-story-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 18px;
  color: var(--grey-color-text);
}
.cf-story-list li i {
  color: var(--primary-color);
  font-size: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}
.cf-promise {
  background: #e8f4fd;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 17px !important;
  color: #000 !important;
}
.cf-story-visual {
  background: linear-gradient(135deg, #e8f4fd 0%, #d0eaf9 100%);
  border-radius: 20px;
  padding: 50px 30px;
}
.cf-story-icon { font-size: 80px; color: var(--primary-color); display: block; margin-bottom: 24px; }
.cf-agencies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.cf-agencies span {
  background: var(--primary-color);
  color: #fff;
  font-family: "Amarante", serif;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 50px;
}
.cf-agencies-label { font-size: 15px; color: var(--grey-color-text) !important; }

/* ── Team ───────────────────────────────────────────────────────── */
.cf-team-section { background: #f8fafc; }
.cf-team-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 24px rgba(11,157,235,.1);
  text-align: center;
  height: 100%;
}
.cf-team-avatar { font-size: 64px; color: var(--primary-color); margin-bottom: 16px; }
.cf-team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.cf-team-role { color: var(--primary-color) !important; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.cf-team-card p { text-align: center; }

/* ── Rewards ────────────────────────────────────────────────────── */
.cf-reward-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cf-reward-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.cf-reward-featured {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.cf-reward-featured h3,
.cf-reward-featured p,
.cf-reward-featured li { color: #000 !important; }
.cf-reward-star-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.cf-reward-emoji { font-size: 40px; margin-bottom: 12px; }
.cf-reward-price {
  font-family: "Amarante", serif;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 6px;
}
.cf-reward-featured .cf-reward-price { color: var(--primary-color); }
.cf-reward-title { font-size: 1.15rem; color: #fff !important; margin-bottom: 4px; text-align: center; }
.cf-reward-tagline { color: rgba(255,255,255,.75) !important; font-size: 15px; margin-bottom: 20px; text-align: center; }
.cf-reward-perks {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 260px;
  margin: 0 auto;
}
.cf-reward-perks li {
  font-size: 15px;
  color: rgba(255,255,255,.9) !important;
  padding: 7px 0 7px 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  text-align: left;
}
.cf-reward-perks li::before { content: '✓'; color: #6ee7b7; font-weight: 700; position: absolute; left: 0; top: 7px; }
.cf-reward-featured .cf-reward-perks li { color: #000 !important; border-color: rgba(0,0,0,.08); }
.cf-reward-featured .cf-reward-perks li::before { color: var(--primary-color); }
.cf-reward-why {
  font-size: 13px;
  color: rgba(0,0,0,.5) !important;
  margin-top: 16px;
  font-style: italic;
}

/* ── Founders section ───────────────────────────────────────────── */
.cf-big-claim {
  font-family: "Amarante", serif;
  font-size: 1.4rem;
  color: var(--primary-color) !important;
  margin: 20px 0;
  text-align: left;
}
.cf-quote {
  border-left: 4px solid var(--primary-color);
  background: #e8f4fd;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 17px;
  color: #000 !important;
  margin-top: 24px;
}
.cf-founders-visual {
  background: linear-gradient(135deg, #052646 0%, #0b9deb 100%);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  color: #fff;
}
.cf-founders-shield {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}
.cf-founders-shield i { font-size: 56px; color: #6ee7b7; }
.cf-founders-perks-list { text-align: left; }
.cf-founders-perk {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cf-founders-perk i { color: #6ee7b7; flex-shrink: 0; }

/* ── Budget ─────────────────────────────────────────────────────── */
.cf-budget-section { background: #f8fafc; }
.cf-budget-table { text-align: left; }
.cf-budget-row { margin-bottom: 20px; }
.cf-budget-label { font-size: 16px; color: var(--grey-color-text) !important; margin-bottom: 6px; }
.cf-budget-bar-outer { background: #e2e8f0; border-radius: 50px; height: 12px; }
.cf-budget-bar-inner { background: var(--primary-color); border-radius: 50px; height: 100%; }
.cf-budget-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--grey-color-text) !important;
  margin-top: 4px;
}
.cf-budget-total {
  display: flex;
  justify-content: space-between;
  font-family: "Amarante", serif;
  font-size: 18px;
  border-top: 2px solid var(--primary-color);
  padding-top: 14px;
  margin-top: 8px;
}

/* ── Stretch goals ──────────────────────────────────────────────── */
.cf-stretch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.cf-stretch-item {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform .2s;
}
.cf-stretch-item:hover { transform: translateY(-3px); }
.cf-stretch-amount {
  font-family: "Amarante", serif;
  font-size: 1.3rem;
  color: #6ee7b7;
  margin-bottom: 8px;
}
.cf-stretch-icon { font-size: 36px; margin-bottom: 10px; }
.cf-stretch-item h4 { color: #fff !important; font-size: 1rem; margin-bottom: 8px; }
.cf-stretch-item p { font-size: 14px; color: rgba(255,255,255,.8) !important; text-align: center; }

/* ── Timeline ───────────────────────────────────────────────────── */
.cf-timeline {
  position: relative;
  max-width: 720px;
  margin: 40px auto 0;
  padding-left: 40px;
}
.cf-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), #052646);
  border-radius: 3px;
}
.cf-timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.cf-timeline-dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary-color);
}
.cf-timeline-period {
  font-family: "Amarante", serif;
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 6px;
}
.cf-timeline-content p { font-size: 16px; color: var(--grey-color-text) !important; text-align: left; }

/* ── FAQ ────────────────────────────────────────────────────────── */
/* ── FAQ (dark background) ──────────────────────────────────────── */
.cf-faq-section {
  background: linear-gradient(160deg, #031d35 0%, #052646 50%, #0b4b7a 100%);
}
.cf-faq-section .section-heading { color: #fff !important; }
.cf-accordion { max-width: 800px; margin: 40px auto 0; }
.cf-accordion-item {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
}
.cf-accordion-btn {
  font-family: "Afacad", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  background-color: rgba(255,255,255,.08) !important;
  padding: 18px 24px;
  box-shadow: none !important;
}
.cf-accordion-btn::after { filter: brightness(10); }
.cf-accordion-btn:not(.collapsed) {
  background: var(--primary-color) !important;
  background-color: var(--primary-color) !important;
  color: #fff !important;
}
.cf-accordion-body { font-size: 16px; padding: 20px 24px; background: rgba(255,255,255,.05) !important; color: rgba(255,255,255,.85) !important; }

/* ── Final CTA (light background) ──────────────────────────────── */
.cf-final-cta {
  background: #f8fafc;
  padding: 100px 0;
}
.cf-final-cta h2 {
  font-family: "Amarante", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #000 !important;
  margin-bottom: 20px;
}
.cf-final-cta p { color: var(--grey-color-text) !important; font-size: 18px; text-align: center; }
.cf-final-impacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 36px 0;
}
.cf-final-impacts div {
  background: #e8f4fd;
  border: 1px solid #c3e0f7;
  border-radius: 50px;
  padding: 12px 24px;
  color: #000;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cf-final-impacts div i { color: var(--primary-color); }
.cf-final-tagline { font-size: 20px !important; color: #000 !important; margin-top: 8px; }
.cf-final-sig { color: var(--grey-color-text) !important; font-size: 16px !important; }

/* ── Crowdfunding responsive ────────────────────────────────────── */
@media (max-width: 767.98px) {
  .cf-hero { min-height: auto; padding: 50px 0 60px; }
  .cf-hero-title { font-size: 2rem; }
  .cf-btn-hero { font-size: 17px; padding: 14px 28px; }
  .cf-stretch-grid { grid-template-columns: 1fr 1fr; }
  .cf-timeline { padding-left: 30px; }
  .cf-timeline::before { left: 6px; }
  .cf-timeline-dot { left: -28px; }
  .cf-final-impacts { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .cf-stretch-grid { grid-template-columns: 1fr; }
}
