/* ========================================
   TASSIR FUND - WEBSITE STYLES
   ======================================== */

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

:root {
  --primary-dark: #1a1a1a;
  --primary-darker: #111111;
  --accent-green: #3D8B37;
  --accent-green-hover: #357A30;
  --accent-green-light: rgba(61, 139, 55, 0.12);
  --accent-gold: #D4A853;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text-gray: #b0b0b0;
  --text-muted: #888888;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-light: #e0e0e0;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--primary-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-green);
  color: var(--white);
  border-color: var(--accent-green);
}

.btn-primary:hover {
  background-color: var(--accent-green-hover);
  border-color: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 139, 55, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background-color: rgba(17, 17, 17, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  transition: opacity var(--transition);
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-cta {
  color: var(--white) !important;
  margin-left: 8px;
  padding: 10px 24px !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  background: var(--primary-dark);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(61, 139, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(61, 139, 55, 0.04) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(61, 139, 55, 0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(61, 139, 55, 0.2);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background-color: var(--primary-darker);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.trust-stat-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* ---------- About Section ---------- */
.about {
  background-color: var(--light-gray);
  color: var(--primary-dark);
}

.about .section-label {
  color: var(--accent-green);
}

.about .section-desc {
  color: #555;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 12px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-light);
  border-radius: 12px;
  color: var(--accent-green);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ---------- Challenge Section ---------- */
.challenge {
  background-color: var(--primary-dark);
}

.challenge .section-desc {
  color: var(--text-gray);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--transition);
}

.challenge-card:hover {
  border-color: rgba(61, 139, 55, 0.3);
}

.challenge-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-gold);
}

.challenge-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.solution-statement {
  text-align: center;
  padding: 32px;
  background: rgba(61, 139, 55, 0.08);
  border: 1px solid rgba(61, 139, 55, 0.2);
  border-radius: 12px;
}

.solution-statement p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.solution-statement span {
  color: var(--accent-green);
}

/* ---------- How It Works Section ---------- */
.how-it-works {
  background-color: var(--primary-dark);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(61, 139, 55, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-light);
  border-radius: 50%;
  color: var(--accent-green);
  border: 2px solid rgba(61, 139, 55, 0.2);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 100px;
  color: rgba(61, 139, 55, 0.3);
}

.step-connector svg {
  width: 28px;
  height: 28px;
}

/* ---------- What We Fund Section ---------- */
.what-we-fund {
  background-color: var(--light-gray);
  color: var(--primary-dark);
}

.what-we-fund .section-desc {
  color: #555;
}

.fund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.fund-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fund-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.fund-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-light);
  border-radius: 16px;
  color: var(--accent-green);
}

.fund-icon svg {
  width: 30px;
  height: 30px;
}

.fund-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.fund-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.6;
}

/* Fund details */
.fund-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.fund-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.eligibility,
.dont-fund {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.eligibility h3,
.dont-fund h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.eligibility-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px solid var(--border-light);
}

.eligibility-list li:last-child {
  border-bottom: none;
}

.eligibility-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-green);
}

.dont-fund .eligibility-list svg {
  color: #DC3545;
}

.dont-fund p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* Pricing Example */
.pricing-example {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-light);
  margin-top: 40px;
}

.pricing-example h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-example .pricing-subtitle {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 24px;
}

.pricing-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: var(--light-gray);
}

.pricing-item .pricing-label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 6px;
  font-weight: 500;
}

.pricing-item .pricing-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.pricing-item.highlight {
  background: #2D5016;
}

.pricing-item.highlight .pricing-label {
  color: rgba(255,255,255,0.7);
}

.pricing-item.highlight .pricing-value {
  color: var(--white);
}

.pricing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pricing-option {
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.pricing-option strong {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 4px;
  font-weight: 600;
}

.pricing-option span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-note {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2D5016;
  padding: 14px;
  background: rgba(45, 80, 22, 0.08);
  border-radius: 8px;
}

/* ---------- Financing Template Section ---------- */
.template {
  background-color: var(--primary-dark);
}

.template-content {
  max-width: 900px;
  margin: 0 auto;
}

.template-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
}

.template-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-light);
  border-radius: 16px;
  color: var(--accent-green);
}

.template-icon svg {
  width: 36px;
  height: 36px;
}

.template-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.template-info p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.template-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.template-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  padding: 12px 24px;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.template-tabs {
  margin-bottom: 32px;
}

.template-tabs h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.template-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.template-section-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--transition);
}

.template-section-card:hover {
  border-color: rgba(61, 139, 55, 0.3);
}

.template-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-green);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.template-section-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.template-section-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.template-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(61, 139, 55, 0.08);
  border: 1px solid rgba(61, 139, 55, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
}

.template-notice svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent-green);
  margin-top: 2px;
}

.template-notice p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ---------- FAQ Section ---------- */
.faq {
  background-color: var(--primary-dark);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent-green);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-gray);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
  padding-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.faq-answer ul {
  padding-left: 20px;
  list-style: disc;
}

.faq-answer li {
  margin-bottom: 6px;
  list-style: disc;
}

/* ---------- Application Section ---------- */
.apply {
  background-color: var(--light-gray);
  color: var(--primary-dark);
}

.apply .section-desc {
  color: #555;
}

.apply-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.apply-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 24px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.required {
  color: #e53935;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--primary-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(61, 139, 55, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53935;
}

.form-error {
  font-size: 0.8rem;
  color: #e53935;
  margin-top: 4px;
  min-height: 18px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1.05rem;
  padding: 16px;
}

.apply-alt {
  text-align: center;
  padding: 28px 0;
}

.apply-alt p {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 6px;
}

.email-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
}

.email-link:hover {
  text-decoration: underline;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-light);
  border-radius: 50%;
  color: var(--accent-green);
}

.form-success .success-icon svg {
  width: 36px;
  height: 36px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--primary-darker);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  height: 34px;
  margin-bottom: 16px;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-green);
}

.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.footer-contact a:hover {
  color: var(--accent-green);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  transition: all var(--transition);
}

.social-link:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  background: var(--accent-green-light);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Scroll Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    flex: 1 1 calc(50% - 16px);
    max-width: none;
  }

  .fund-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-header {
    margin-bottom: 48px;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-darker);
    padding: calc(var(--nav-height) + 24px) 24px 24px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 60px) 24px 60px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Trust bar mobile */
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Grids mobile */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    flex: 1 1 100%;
  }

  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .fund-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fund-stats {
    grid-template-columns: 1fr;
  }

  .fund-details {
    grid-template-columns: 1fr;
  }

  .pricing-breakdown {
    grid-template-columns: 1fr;
  }

  .pricing-options {
    grid-template-columns: 1fr;
  }

  /* Template mobile */
  .template-card {
    flex-direction: column;
    padding: 28px;
    gap: 20px;
  }

  .template-actions {
    flex-direction: column;
  }

  .template-actions .btn {
    justify-content: center;
  }

  .template-sections-grid {
    grid-template-columns: 1fr;
  }

  /* Form mobile */
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .apply-form {
    padding: 28px 20px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .container {
    padding: 0 16px;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }
}
