@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --gh-green: #0a4a3c;
  --gh-green-light: #1fa971;
  --gh-ink: #041612;
  --bg-soft: #f5f7f6;
  --card-bg: rgba(11, 23, 20, 0.86);
  --radius-lg: 20px;
  --radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
      font-family: "Inter", sans-serif;
  /* font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
  color: #15221c;
  background: var(--bg-soft);
  margin: 0px;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

a {
  color: var(--gh-green-light);
  text-decoration: none;
}

/* .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
} */


@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

h1,
h2,
h3 {
  color: var(--gh-ink);
  margin: 0 0 12px;
}

p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.cta {
  display: flex;
  gap: 10px;
  align-items: center;

}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #000;
  font-weight: 600;
  transition: all .15s ease;
  font-size: 14px;
}

.btn.primary {
  background: linear-gradient(135deg, #1fa971, #0a4a3c);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid #0a4a3c;
}

header {
  padding: 16px 0px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

header.sticky-top {
  background: #FFFFFF;
  -webkit-backdrop-filter: blur(.6rem);
  backdrop-filter: blur(.6rem);
  background: hsla(0, 0%, 100%, .5);
}
header.sticky-top .brand svg path:nth-of-type(1) {
  fill: #000 !important;
  /* your color */
}


/* HERO */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(31, 169, 113, 0.32), transparent 55%),
    linear-gradient(135deg, rgba(10, 74, 60, 0.9), #020909 80%);
  color: #fff;
  display: flex;
  align-items: center;
  /* margin-top: 32px; */
  padding: 109px 0 40px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 32px; */
  font-size: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: url('../images/logo.svg') center/contain no-repeat, linear-gradient(135deg, #1fa971, #0a4a3c);
}
#checkeligibility{
  scroll-margin-top: 100px;
}
.hero-inner {
  display: grid;
  /* grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 32px; */
    grid-template-columns: minmax(0, 3fr) minmax(0, 3.1fr);
      gap: 16px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.4vw + 1.8rem, 3.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-copy p.sub {
  font-size: 1.02rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 26, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.hero-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* HERO PHOTO CARD */
.hero-photo {
  margin-top: 26px;
  /* max-width: 420px; */
    max-width: 450px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}


/* HERO FORM */
.hero-form-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: floatIn 480ms ease-out 60ms both;
  margin-bottom: 16px;
}

.hero-form-card h2 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.hero-form-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group {
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

input,
select,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 9px 12px;
  font-size: 0.9rem;
  background: rgba(4, 11, 9, 0.7);
  color: #fff;
  outline: none;
}

textarea {
  border-radius: 14px;
  resize: vertical;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.small-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.small-checkbox input {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

button.primary {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 10px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #1fa971, #0a4a3c);
  color: #fff;
  margin-top: 4px;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

button.primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

button.primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-footnote {
  font-size: 11px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

/* SECTIONS */
section {
  padding: 56px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e6f5ef;
  color: var(--gh-green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(6, 18, 14, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6, 18, 14, 0.07);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: rgba(31, 169, 113, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 16px;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  position: relative;
  padding-left: 32px;
}

.step-num {
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(10, 74, 60, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gh-green);
  background: #f1faf6;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ELIGIBILITY CHECKLIST */
.checklist {
  background: #041612;
  color: #e9f9f3;
  border-radius: var(--radius-md);
  padding: 18px 18px 14px;
}

.checklist h3 {
  color: #e9f9f3;
  margin-bottom: 6px;
}

.checklist ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.9rem;
}

.checklist li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: #73e0aa;
}

/* LOAN OPTIONS */
.loan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .loan-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.loan-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 0.92rem;
}

.loan-note {
  font-size: 0.8rem;
  color: #5b6a63;
  margin-top: 6px;
}


details {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
  padding: 12px 14px;
  cursor: default;
}

summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

details[open] summary {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}

details[open] summary img {
  transform: rotate(180deg);
}

summary::-webkit-details-marker {
  display: none
}

details[open] {
  background: #ffffff
}




/* FAQ */
/* .faq-item {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 10px;
  padding: 12px 14px;
  cursor: default;
} */

.faq-q {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.faq-a {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #46554e;
}

/* STICKY CTA */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: linear-gradient(to top, rgba(4, 22, 18, 0.96), rgba(4, 22, 18, 0.92), transparent);
  padding: 10px 0 16px;
  margin-top: 20px;
}

.sticky-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #041612;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #e9f9f3;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .sticky-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* FOOTER */
footer {
  padding: 28px 0 22px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #5b6a63;
  background: #f2f5f3;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ANIMATIONS */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px),
(min-width: 577px) and (max-width: 768px) {
  
  .hero {
      padding: 153px 0 40px;
    }
  .hero-copy h1 {
    font-size: 32px;
  }

  .btn {
    font-size: 12px;
    padding: 10px 10px;
  }

  .hero-top .brand {
    margin-bottom: 24px;
  }

  .hero-top {
    flex-wrap: wrap;
    /* display: block; */
  }

  .sticky-inner {
    border-radius: 30px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .btn {
    font-size: 12px;
    padding: 10px 10px;
  }

  .hero-top {
    flex-wrap: wrap;
    /* display: block; */
  }
}