html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 100px; /* adjust to your navbar height */
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.2;
	color: #222;
	background: #ffffff;
	font-size: 17px;
}

main a {
	color: #4336d8 !important;
	text-decoration: none;
}

    /* --- ARROW HOVER ANIMATION --- */
    /* Apply this class to links that should animate the arrow */

.link-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	text-decoration: none;
	transition: color 0.18s ease;
}

.link-arrow .arrow {
	display: inline-block; /* allow transform */
	transform: translateX(0);
	transition: transform 0.22s cubic-bezier(.2,.9,.2,1), opacity 0.18s;
	will-change: transform;
    /*font-weight: 700;*/
	line-height: 1;
}

    /* Move arrow to the right on hover/focus for mouse + keyboard users */

.link-arrow:hover .arrow, .link-arrow:focus .arrow, .link-arrow:focus-visible .arrow {
	transform: translateX(6px);
	color: #0a00a0;
    /* you can also slightly fade in/out if desired:
       opacity: 0.98;
    */
}

    /* optional: subtle arrow nudge on active */

.link-arrow:active .arrow {
	transform: translateX(2px);
}

    /* Accessibility: ensure focus is visible */

.link-arrow:focus-visible {
	outline: 3px solid rgba(99, 196, 174, 0.18);
	outline-offset: 3px;
	border-radius: 6px;
}

.navbar-brand img {
	width: 160px;
	height: auto;
}

.header-hero-gradient {
	position: relative;
	background: linear-gradient(to bottom, #000000, #000833, #001f4d);
	color: white;
	overflow: hidden;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0,0,0,0);
	backdrop-filter: blur(6px);
	z-index: 999;
	transition: background-color 0.3s ease;
	padding: 20px 0;
}

.navbar.scrolled {
	background: radial-gradient(circle, rgba(53,20,112,1) 0%, rgba(0,0,0,1) 100%);
}

.navbar .nav-link {
	color: white !important;
	transition: color 0.3s ease;
	font-size: 16px;
}

.navbar .nav-link:hover {
	color: #00ffd8 !important;
}

.navbar .nav-link.active {
  color: #047857; /* your brand green */
  font-weight: 600;
}

.navbar-toggler {
	border: none;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.hero {
  position: relative;
  padding: 9rem 0;
  text-align: left;
  color: white;
  overflow: hidden;

  /* background image setup */
  background-image: url("../images/hero_bg-blue.png"); /* your image */
  background-size: contain;       /* keep full image visible */
  background-repeat: no-repeat;   /* don’t tile */
  background-position: right center; /* stick to the right */
  background-color: #000; /* fallback color for empty space */
}

.hero::before {
	content: "";
	position: absolute;
	top: 60%;
	left: 50%;
	width: 1600px;
	height: 1100px;
	background: radial-gradient(circle at 55% 55%, rgba(0,0,109,0.55) 0%, rgba(0,0,109,0.3) 20%, rgba(0,0,109,0.1) 40%, rgba(0,0,0,0) 70%),
    radial-gradient(circle at 50% 40%, rgba(255,0,255,0.45) 0%, rgba(255,0,255,0.25) 20%, rgba(255,0,255,0.1) 40%, rgba(0,0,0,0) 70%);
	transform: translate(-50%, -50%);
	z-index: 0;
	pointer-events: none;
}

.hero .hero-content {
	text-align: left;
	padding-left: 20px;
}

.hero h1 {
	font-size: 4.7rem;
	font-weight: 900;
	margin-bottom: 0rem;
	color: white;
	position: relative;
	z-index: 1;
}

.hero h2 {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #67F4CF;
	position: relative;
	z-index: 1;
}

.hero p {
	font-size: 1.2rem;
	margin: 0 0 1.5rem 0;
	max-width: 680px;
	line-height: 1.8rem;
	position: relative;
	z-index: 1;
}

.cta {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	border-radius: 999px;
	background-color: #5b3ffc;
	color: #fff !important;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-decoration: none;
	position: relative;
	z-index: 1;
	margin-top: 1rem;
}

.cta:hover {
	background-color: #241868;
	text-decoration: none;
	color: #ffffff !important;
}

.cta-outline {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border: 1px solid #ffffff;
	border-radius: 999px;
	background-color: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	position: relative;
	z-index: 1;
	color: #fff !important;
}

.cta-outline:hover {
	background-color: transparent;
	border: 1px solid #67f4cf;
	color: #67f4cf !important;
}

.section-icons {
  width: 180px;
  height: auto; /* keep proportions */
  max-width: 100%; /* don’t overflow container */
}

.section-icons-sm {
  width: 100px;
  height: auto; /* keep proportions */
  max-width: 100%; /* don’t overflow container */
}

@media (max-width: 991.98px) {
  .section-icons {
    width: 200px;
  }
}

@media (max-width: 575.98px) {
  .section-icons {
    width: 150px;
  }
}

section {
	padding: 4rem 0;
}

    /* Sections 2–8 Apple-style background colors */

.section-2 {
	background-color: #F5F7FA; /* very light gray-blue */
	color: #111; /* dark text */
	padding: 5rem 0;
}

.section-3 {
	background-color: #EDE7FF; /* soft lavender */
	color: #111;
	padding: 5rem 0;
}

.section-4 {
	background-color: #FFF8E1; /* soft pale yellow */
	color: #111;
	padding: 5rem 0;
}

.section-5 {
	background-color: #E6FFF2; /* soft mint green */
	color: #111;
	padding: 5rem 0;
}

.section-6 {
	background-color: #FFECEF; /* soft pink-peach */
	color: #111;
	padding: 5rem 0;
}

.section-7 {
	background-color: #F0FFF5; /* soft honeydew/light green */
	color: #111;
	padding: 5rem 0;
}

.section-8 {
	background-color: #FFF9F0; /* warm beige/cream */
	color: #111;
	padding: 5rem 0;
}

    /* Optional: adjust headings and captions for better contrast */

.section-2 h3, .section-3 h3, .section-4 h3, .section-5 h3, .section-6 h3, .section-7 h3, .section-8 h3 {
	color: #111;
}

.section-2 p, .section-3 p, .section-4 p, .section-5 p, .section-6 p, .section-7 p, .section-8 p {
	color: #444; /* softer text for readability */
}

    /* Maintain spacing for sections */

.section-2, .section-3, .section-4, .section-5, .section-6, .section-7, .section-8 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

section:last-of-type {
	border-bottom: none;
}

section p {
	line-height: 1.8rem;
	color: #777777;
	font-size: 1.1rem;
}

p.caption {
	font-size: 1.3rem;
	font-weight: 800;
	color: #111111;
}

section .purple {
	background-color: #EAEEF9;
}

.campaign-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  max-width: 360px;
  width: 100%;
}

.campaign-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.campaign-img {
  width: 100%;
  /*height: 200px;*/
  object-fit: cover;
}

.campaign-body h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.campaign-raised {
  font-weight: 600;
  color: #222;
}

.campaign-goal {
  font-size: 0.9rem;
  color: #555;
}



.campaign-body {
  padding: 1rem 1.25rem 1.5rem;
}

.campaign-goal strong {
  color: #000;
}

.progress {
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.75rem;
}

.campaign-btn {
  display: inline-block;
  background: #5b3ffc;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.campaign-btn:hover {
  background: #241868;
  color: #fff;
}


h2, h3 {
	font-weight: 600;
	margin-bottom: 1rem;
}

.feature-icon {
	color: #FF286B;
	font-size: 1.2rem;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.features-section ul li {
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
}

.features-section {
	background-color: #EEF1FD;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

    /* Contact Form */

.form-card {
	background: #fff;
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.input-border {
	display: block;
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 0.375rem;
	font-size: 1rem;
}

.btn-brand {
  background: #3A1F5B;       /* same purple as .cta */
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  transition: background 0.3s ease;
  border: none;
}

.btn-brand:hover {
  background: #130016;       /* darker purple hover */
  color: #fff;
}

.hidden {
	display: none;
}

@media (max-width: 767.98px) {
	.hero h1 {
		font-size: 3rem;
	}
	
	.hero h2 {
		font-size: 1.5rem;
	}
}
    @media (max-width: 575.98px) {
	.hero {
		padding: 6rem 1rem;
	}
	
	.hero h1 {
		font-size: 2.2rem;
	}
	
	.hero h2 {
		font-size: 1.2rem;
	}
}

    footer {
	background-color: #000;
	color: #bbb;
	padding: 4rem 0 2rem;
	font-size: 0.9rem
}

footer a {
	color: #bbb;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
}

.footer-logo img {
	width: 130px;
	margin-bottom: 1.5rem;
}

.footer-title {
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 1rem;
	color: #fff;
}

.social-icons a {
	font-size: 1.2rem;
	margin-right: 0.75rem;
	color: #bbb;
}

.social-icons a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid #333;
	margin-top: 2rem;
	padding-top: 1rem;
	font-size: 0.9rem;
	color: #777;
}

@media (max-width: 767.98px) {
	.features-section ul {
		padding-left: 0.5rem;
	}
	
	.features-section ul li {
		font-size: 1rem;
		margin-bottom: 0.65rem;
	}
	
	.hero h1 {
		font-size: 3rem;
	}
	
	.hero h2 {
		font-size: 1.5rem;
	}
}

    @media (max-width: 575.98px) {
	.hero {
		padding: 6rem 1rem;
	}
	
	.hero h1 {
		font-size: 2.2rem;
	}
	
	.hero h2 {
		font-size: 1.2rem;
	}
	
	.hero p {
		font-size: 0.95rem;
		line-height: 1.5rem;
	}
}

    @media (min-width: 1200px) {
	h3 {
		font-size: 2.5rem;
		font-weight: 900;
	}
}

    @media (max-width: 991.98px) {
	.navbar-collapse {
		background: linear-gradient(rgba(0,0,0,0.95), rgba(0,0,0,0.85));
		padding: 1rem;
		border-radius: 0.5rem;
	}
	
	.navbar-nav .nav-link {
		color: #fff !important;
		text-align: left;
		padding: 0.5rem 0;
	}
}

    @media (max-width: 991.98px) {
	.header-hero-gradient .navbar .navbar-collapse.collapsing, .header-hero-gradient .navbar .navbar-collapse.show {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,8,51,0.92) 55%, rgba(0,31,77,0.90) 100%) !important;
		padding: 1rem;
		border-radius: 0 0 12px 12px;
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		box-shadow: 0 12px 30px rgba(0,0,0,0.35);
		z-index: 1000;
	}
	
	.header-hero-gradient .navbar-nav .nav-link {
		color: #fff !important;
		text-align: left;
		padding: 0.5rem 0.75rem;
	}
}

    /* validation message styles */

.field-error {
	color: #c7254e;
	font-size: 0.9rem;
	margin-top: 0.25rem;
	display: none;
}

.is-invalid {
	border-color: #c7254e !important;
}

.alert-inline {
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	display: none;
}

.alert-inline.success {
	background: #e6ffef;
	color: #064e3b;
	border: 1px solid #bbf7d0;
}

.alert-inline.error {
	background: #fff1f2;
	color: #9f1239;
	border: 1px solid #fecaca;
}

    /* Apply white border edge-to-edge */

section {
	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
	border-left: 10px solid #fff;
	border-right: 10px solid #fff;
	margin: 0;
	padding: 4rem 0;
	box-sizing: border-box;
	width: 100%;           /* ensures full width */
}

    /* Remove border from hero */

.hero {
	border: none !important;
}

    /* ---- Equal-height columns + exact 10px gutter ----
       Use the class `cols-10` on rows you want this on.
       We use flex + gap so columns are the same height and have an exact 10px gutter. */

.cols-10 {
	display: flex;
	flex-wrap: wrap;      /* allows cols to wrap on small screens */
	gap: 10px;            /* exact 10px gutter between columns (both axes) */
	align-items: stretch; /* make children stretch to same height */
	margin-left: 0;       /* ensure no unintended offset */
	margin-right: 0;
}

    /* Make bootstrap column children act as column flex containers so their children
       (your text, form-card, images) can size/stay padded while the column itself fills height */

.cols-10 > [class*="col-"] {
	display: flex;
	flex-direction: column;
	min-height: 0; /* lets children shrink properly */
    /* ensure columns grow to fill space when in 2-column layout */
	flex: 1 1 0%;
}

    /* If you wrap inner content in an extra container (eg. .inner), let it fill column */

.cols-10 > [class*="col-"] > .inner {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

    /* On very small viewports use default stacking but keep vertical gap from gap property */

@media (max-width: 575.98px) {
	.cols-10 {
		gap: 12px;
	} /* slightly larger vertical spacing on mobile (optional) */
}

/* --- Mobile Improvements --- */

/* Navbar: reduce padding on mobile */
@media (max-width: 575.98px) {
  .navbar {
    padding: 12px 0;
  }
  .navbar-brand img {
    width: 120px;
  }
}

/* Hero text: better scaling for very small screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  .hero h2 {
    font-size: 1rem;
  }
  .hero p {
    font-size: 0.9rem;
    line-height: 1.4rem;
  }
}

/* Prevent forced equal-height when stacked (mobile) */
@media (max-width: 767.98px) {
  .cols-10 {
    display: block; /* stack normally */
  }
  .cols-10 > [class*="col-"] {
    display: block;
    flex: none;
  }
}

/* Mobile: show icons, centered with spacing */
@media (max-width: 767.98px) {
  .section-icons {
    display: block !important;
    width: 120px;
    margin: 1.5rem auto 0.5rem;
  }

  /* Center the icon wrapper on mobile */
  .cols-10 > [class*="col-"].text-center .inner {
    padding: 1rem 0 0.5rem;
  }

  /* Add padding to text content on mobile */
  .cols-10 > [class*="col-"] .inner {
    padding: 1.25rem 0.5rem;
  }

  /* Section-level padding adjustments */
  .section-2, .section-3, .section-4, .section-5, .section-6 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* Section borders: add inner padding so text isn’t squeezed */
@media (max-width: 575.98px) {
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Form: better touch targets */
@media (max-width: 575.98px) {
  .form-card {
    padding: 1.25rem;
  }
  .input-border {
    font-size: 0.95rem;
    padding: 0.5rem 0.65rem;
  }
  .btn-brand {
    font-size: 1rem;
    padding: 0.65rem;
  }
}
/* Inner section padding */
.section-2 .inner, .section-3 .inner,
.section-4 .inner, .section-5 .inner, .section-6 .inner {
  padding: 3rem 2.5rem;
}

@media (max-width: 767.98px) {
  .section-2 .inner, .section-3 .inner,
  .section-4 .inner, .section-5 .inner, .section-6 .inner {
    padding: 1.5rem 0.5rem;
  }
  /* On mobile, sections 3 and 5 (icon-first) keep icon at top, text below */
  .section-3 .col-12.col-md-6:first-child,
  .section-5 .col-12.col-md-6:first-child {
    order: -1;
  }
  /* Campaign cards: full width on very small screens */
  .campaign-card {
    max-width: 100%;
  }
  /* Contact section: stack clearly */
  #contact .col-12.col-lg-6:first-child {
    margin-bottom: 1.5rem;
  }
  /* Feature cards: reduce padding on mobile */
  .card.p-4 {
    padding: 1.25rem !important;
  }
}
