:root {
  /* Logo Exclusive Palette: Royal Navy (#03287d), Midnight (#021a48), Emerald (#069531), Center Teal (#03655d), Ice Sky (#dbeef9), and Mint Glow (#d7f2e1) */
  --theme-deep: #021a48;
  --theme-navy: #021a48;
  --theme-primary: #03287d;
  --theme-primary-hover: #021c5f;
  --theme-green: #069531;
  --theme-green-hover: #047225;
  --theme-teal: #03655d;
  --theme-muted: #0d3862;
  --theme-border: #a8d2f0;
  --theme-border-strong: #03287d;
  --theme-border-green: #069531;
  --theme-surface: #dbeef9;
  --theme-surface-alt: #d7f2e1;
  --theme-bg: #d7eef9;
  --theme-canvas: linear-gradient(180deg, #d0eaf8 0%, #ddf0fa 25%, #e4f6ec 65%, #d3f2df 100%);
  --theme-text-light: #d8effd;
  --theme-text-light-muted: #97cbf2;
  --theme-gradient: linear-gradient(135deg, #03287d 0%, #03655d 48%, #069531 100%);
  --theme-gradient-hover: linear-gradient(135deg, #021f63 0%, #02524a 48%, #047526 100%);
  --theme-gradient-rev: linear-gradient(135deg, #069531 0%, #03655d 52%, #03287d 100%);
  --radius: 18px;
  --shadow: 0 10px 28px rgba(3, 40, 125, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: var(--theme-deep);
  background: var(--theme-canvas);
  background-attachment: fixed;
  font-size: 16.5px;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body.nav-open,
html.nav-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

body.nav-open .main-nav {
  touch-action: pan-y !important;
}

p {
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 12px;
}

button, input, select, textarea {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

img, svg, video {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  background: var(--theme-navy);
  color: var(--theme-text-light);
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-contact a {
  color: var(--theme-text-light);
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.top-contact a:hover {
  color: #ffffff;
  opacity: 0.95;
  text-decoration: underline;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--theme-text-light);
  text-decoration: none;
}

.top-social a:nth-child(1) { background: #1877f2; }
.top-social a:nth-child(2) { background: #25d366; }
.top-social a:nth-child(3) { background: #03655d; }
.top-social a:nth-child(4) { background: #0a66c2; }

/* HEADER & NAVIGATION */
.site-header {
  background: #cfe8f8;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--theme-border);
  box-shadow: 0 4px 18px rgba(3, 40, 125, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(207, 232, 248, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(2, 26, 72, 0.16);
  border-bottom-color: var(--theme-border-strong);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 255px;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 24px;
  color: var(--theme-navy);
  letter-spacing: .5px;
}

.brand b {
  font-size: 13px;
  color: var(--theme-primary);
  letter-spacing: 1.3px;
}

.brand em {
  font-style: normal;
  color: var(--theme-green);
  font-weight: 800;
  font-size: 14px;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.main-nav > a:first-child {
  margin-left: auto;
}

.main-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav > a:not(.nav-cta) {
  color: var(--theme-navy);
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
}

.main-nav > a:not(.nav-cta):hover {
  background: transparent;
  border: none;
  color: var(--theme-primary);
  text-decoration: none;
}

.main-nav > a:not(.nav-cta).active {
  background: transparent;
  border: none;
  color: var(--theme-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--theme-primary);
}

.nav-cta {
  height: 44px;
  padding: 0 22px;
  background: var(--theme-gradient);
  color: var(--theme-text-light) !important;
  border: 1px solid rgba(11, 78, 162, 0.25);
  box-shadow: 0 3px 12px rgba(11, 78, 162, 0.22);
  margin-left: 12px;
  font-weight: 700;
  font-size: 17px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #083b7b 0%, #057228 100%);
  border-color: rgba(11, 78, 162, 0.35);
  color: var(--theme-text-light) !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface-alt);
  color: var(--theme-navy);
  font-size: 25px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #cce7f8 0%, #dbf0fa 50%, #daf3e3 100%);
  border-bottom: 1px solid var(--theme-border);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  min-height: 520px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 36px 42px max(24px, calc((100% - 1280px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hero-man-img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center right;
  display: block;
  margin: 0;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 6%, rgba(0, 0, 0, 0.85) 12%, black 20%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 6%, rgba(0, 0, 0, 0.85) 12%, black 20%);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0 10px;
}

.highlight.highlight-yellow {
  background: var(--theme-primary);
  color: var(--theme-text-light);
  font-weight: 800;
  border: 1.5px solid var(--theme-green);
  padding: 8px 18px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(3, 40, 125, 0.2);
}



.hero-blue-bar {
  background: var(--theme-gradient);
  color: var(--theme-text-light);
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  width: fit-content;
  max-width: fit-content;
  align-self: flex-start;
  margin: 10px 0 14px;
  font-size: 16px;
  border: 1px solid var(--theme-green);
}

.text-blue { color: var(--theme-primary); }
.text-green { color: var(--theme-green); }
.text-yellow { color: #34d399; }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: .98;
  margin: 0;
  color: var(--theme-primary);
}

.hero h1 span {
  display: block;
  color: var(--theme-green);
}

.eyebrow {
  display: inline-block;
  color: var(--theme-primary);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  margin: 0;
  color: var(--theme-navy);
}

.hero h1 span {
  display: block;
  color: var(--theme-primary);
}

.hero h2 {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--theme-green);
  margin: 12px 0;
}

.highlight {
  display: inline-block;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  padding: 8px 18px;
  border-radius: 9px;
  font-weight: 800;
  color: var(--theme-navy);
  font-size: 15.5px;
}

.hero p {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--theme-muted);
  max-width: 660px;
  margin: 0 0 16px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: none;
  cursor: pointer;
}

.btn-navy,
.btn-primary {
  background: var(--theme-primary);
  color: #ffffff !important;
  border: 2px solid var(--theme-primary);
  border-radius: 30px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(3, 40, 125, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  transition: all 0.2s ease;
}

.btn-navy:hover,
.btn-primary:hover {
  background: var(--theme-primary-hover);
  border-color: var(--theme-primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 40, 125, 0.32);
}

.btn-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  border: 2px solid #1ebe5d !important;
  border-radius: 30px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-whatsapp svg {
  fill: #ffffff;
  flex-shrink: 0;
  vertical-align: middle;
}

.spinner-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spinBtn 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spinBtn {
  to { transform: rotate(360deg); }
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14.5px;
}

.btn-outline-green {
  background: var(--theme-surface-alt);
  color: var(--theme-green) !important;
  border: 2px solid var(--theme-green);
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
}

.btn-outline-green:hover {
  background: var(--theme-green);
  color: var(--theme-text-light) !important;
}

.btn-gold-pill {
  background: var(--theme-gradient) !important;
  color: var(--theme-text-light) !important;
  border: 1.5px solid var(--theme-green) !important;
  border-radius: 30px !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 14px rgba(3, 40, 125, 0.25) !important;
}

.btn-gold-pill:hover {
  background: var(--theme-gradient-hover) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-text-light) !important;
  transform: translateY(-2px);
}

.icon-green {
  background: rgba(6, 139, 50, 0.12) !important;
  color: var(--theme-green) !important;
  border-color: rgba(6, 139, 50, 0.25) !important;
}

.icon-blue {
  background: rgba(0, 40, 120, 0.1) !important;
  color: var(--theme-primary) !important;
  border-color: rgba(0, 40, 120, 0.25) !important;
}

.btn-outline {
  border-color: var(--theme-primary);
  background: var(--theme-surface);
  color: var(--theme-primary);
}

.btn-outline:hover {
  background: var(--theme-surface-alt);
  color: var(--theme-navy);
}

/* CONSULTANT CARD */
.consult-card {
  background: var(--theme-surface);
  border: 2px solid var(--theme-border-strong);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  color: var(--theme-navy);
}

.consult-card .amount {
  font-size: 38px;
  font-weight: 900;
  color: var(--theme-primary);
}

.consult-card strong {
  font-size: 20px;
  color: var(--theme-navy);
}

.consult-card hr {
  border: 0;
  border-top: 1px solid var(--theme-border);
  margin: 16px;
}

/* TRUST STRIP */
.trust-strip {
  margin: 38px auto 32px;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--theme-border);
  color: var(--theme-navy);
}

.trust-item small {
  color: var(--theme-muted);
}

.trust-item:last-child {
  border-right: 0;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--theme-surface-alt);
  color: var(--theme-primary);
  font-size: 20px;
  font-weight: 900;
  flex: none;
  border: 1px solid var(--theme-border);
}

/* SECTIONS */
.section {
  padding: 45px 0;
}

.section.alt {
  background: var(--theme-surface-alt);
}

.section.sky {
  background: var(--theme-surface-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 25px;
}

.section-title h2 {
  font-size: 32px;
  margin: 0;
  color: var(--theme-navy);
}

.section-title h2 span {
  color: var(--theme-primary);
}

.section-title p {
  color: var(--theme-muted);
  margin: 8px auto 0;
  max-width: 760px;
  font-size: 17.5px;
  line-height: 1.6;
}

/* CARDS & LOAN GRID */
.loan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  border: 1px solid var(--theme-border);
  border-radius: 17px;
  padding: 24px;
  background: var(--theme-surface);
  box-shadow: 0 6px 18px rgba(20, 32, 48, 0.08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--theme-deep);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--theme-border-strong);
  box-shadow: var(--shadow);
}

.card h2 {
  color: var(--theme-navy);
}

.card h2 small {
  color: var(--theme-muted);
}

.card h3 {
  margin: 10px 0 5px;
  color: var(--theme-navy);
  font-size: 19px;
}

.card h3 small {
  display: block;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: var(--theme-primary);
  font-size: 15px;
}

.card p {
  margin: 0 0 10px;
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.6;
}

.card p:last-child {
  margin-bottom: 0;
}

/* LOAN CARDS WITH BANNERS */
.card.loan-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--theme-surface);
}

.loan-banner {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-surface-alt);
  line-height: 0;
}

.loan-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 505 / 183;
  object-fit: cover;
  display: block;
}

.loan-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.loan-card-body h3 {
  margin: 0 0 6px;
  color: var(--theme-navy);
  font-size: 19px;
}

.loan-card-body h3 small {
  display: block;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: var(--theme-primary);
  font-size: 15px;
  margin-top: 2px;
}

.loan-card-body p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.loan-points {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loan-points li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-deep);
  position: relative;
  padding-left: 24px;
}

.loan-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--theme-green);
  font-weight: 800;
  font-size: 14px;
}

.loan-card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.btn-apply {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(3, 40, 125, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(3, 40, 125, 0.32);
}

/* AIF SECTION FROM MOCKUP */
.aif-banner-card {
  background: var(--theme-gradient);
  border-radius: 26px;
  padding: 24px;
  color: var(--theme-text-light);
  border: 3px solid #7fe1a5;
  box-shadow: 0 12px 36px rgba(3, 40, 125, 0.25);
  display: grid;
  grid-template-columns: 0.65fr 1.55fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.aif-left-farmer {
  text-align: center;
}

.aif-farmer-img {
  width: 100%;
  max-width: 220px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  border: 3px solid #7fe1a5;
  background: #cce7f8;
  box-shadow: 0 8px 24px rgba(2, 26, 72, 0.25);
  display: block;
  margin: 0 auto;
}

.aif-center-info h2 {
  color: var(--theme-text-light);
  font-size: 26px;
  margin: 6px 0 4px;
  line-height: 1.15;
}

.eyebrow-light {
  color: #a7f3d0;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 12px;
  text-transform: uppercase;
}

.aif-sub-pill {
  background: var(--theme-navy);
  color: var(--theme-text-light);
  border: 1.5px solid var(--theme-green);
  padding: 7px 18px;
  border-radius: 20px;
  font-weight: 700;
  display: inline-block;
  margin: 8px 0 16px;
  font-size: 15px;
}

.aif-banner-card .aif-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.aif-banner-card .aif-feature {
  background: rgba(2, 26, 72, 0.45);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(168, 210, 240, 0.6);
  color: var(--theme-text-light);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 26, 72, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aif-banner-card .aif-feature:hover {
  transform: translateY(-2px);
  background: rgba(3, 101, 93, 0.65);
  border-color: #7fe1a5;
  box-shadow: 0 6px 16px rgba(2, 26, 72, 0.32);
}

.aif-feat-icon {
  font-size: 18px;
  line-height: 1;
}

.aif-banner-card .aif-rate {
  background: #d8edf9;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  color: var(--theme-navy);
  box-shadow: 0 8px 24px rgba(2, 26, 72, 0.2);
  border: 2px solid var(--theme-green);
}

.aif-rate-title {
  color: var(--theme-green);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px;
}

.aif-coins-wrap {
  font-size: 26px;
  margin: 2px 0;
}

.aif-banner-card .aif-rate strong {
  color: var(--theme-primary);
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.aif-banner-card .aif-rate span {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--theme-green);
  display: block;
  margin-top: 4px;
}

.aif-banner-card .aif-rate p {
  color: var(--theme-muted);
  font-size: 14px;
  margin: 10px 0 0;
  line-height: 1.45;
}

/* BENEFICIARIES HEADER PILL */
.benefit-header-pill {
  background: var(--theme-gradient);
  color: var(--theme-text-light);
  font-size: 18px;
  font-weight: 800;
  padding: 10px 32px;
  border-radius: 30px;
  display: table;
  margin: 0 auto 24px;
  box-shadow: 0 4px 14px rgba(3, 40, 125, 0.2);
  border: 1.5px solid var(--theme-green);
}

.section-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title-wrap h2 {
  font-size: 32px;
  margin: 0;
}

.section-title-wrap p {
  margin: 6px 0 0;
  color: var(--theme-muted);
  font-size: 17.5px;
  line-height: 1.6;
}

.section-title-wrap .btn {
  margin-left: auto;
}

/* BENEFIT GRID */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.benefit {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 16px 8px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-navy);
  box-shadow: 0 4px 12px rgba(20, 32, 48, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.benefit:hover {
  transform: translateY(-3px);
  border-color: var(--theme-border-strong);
  box-shadow: 0 8px 20px rgba(20, 32, 48, 0.1);
}

.benefit-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  box-shadow: 0 2px 6px rgba(20, 32, 48, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.benefit-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefit b {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--theme-navy);
}

.benefit small {
  color: var(--theme-muted);
  font-size: 12.5px;
  line-height: 1.25;
  margin-top: 4px;
  display: block;
}

/* WHY US */
.why {
  background: var(--theme-surface-alt);
  border-radius: 22px;
  padding: 25px;
  border: 1px solid var(--theme-border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.why .card {
  background: var(--theme-surface);
}

.why .card p {
  font-size: 15.5px;
  line-height: 1.55;
}

/* CONTACT BAND */
.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  align-items: center;
  background: linear-gradient(135deg, #d2eaf8 0%, #d8f3e5 100%);
  padding: 32px 36px;
  border-radius: 22px;
  border: 2px solid var(--theme-primary);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  color: var(--theme-navy);
}

.contact-band h2 span {
  color: var(--theme-primary);
}

.contact-band p {
  font-size: 17px;
  line-height: 1.6;
  margin: 10px 0 0;
}

.contact-info p {
  margin: 7px 0;
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-info a:not(.btn) {
  color: var(--theme-primary);
  font-weight: 700;
}

.contact-cta-wrap {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.contact-band-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  padding-top: 6px;
}

/* PAGE HERO */
.page-hero {
  padding: 48px 0 42px;
  text-align: center;
  background: linear-gradient(180deg, #cce7f8 0%, #dbf0fa 60%, #daf3e3 100%);
  border-bottom: 2px solid var(--theme-border);
}

.page-hero .eyebrow {
  display: inline-block;
  margin: 0 auto 10px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin: 0 0 12px;
  color: var(--theme-navy);
  line-height: 1.15;
}

.page-hero h1 span {
  display: block;
  color: var(--theme-primary);
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.page-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--theme-muted);
  font-size: 17.5px;
  line-height: 1.65;
}

/* COMMON LAYOUTS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  color: var(--theme-navy);
}

.step-num {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--theme-surface-alt);
  color: var(--theme-primary);
  border: 1px solid var(--theme-border);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step b {
  color: var(--theme-primary);
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.step p {
  color: var(--theme-muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

/* CHECKLIST */
.checklist {
  display: grid;
  gap: 10px;
}

.check {
  background: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--theme-navy);
  font-size: 15.5px;
  line-height: 1.55;
}

/* FORMS */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  color: var(--theme-navy);
  font-size: 15.5px;
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--theme-border);
  border-radius: 11px;
  padding: 12px;
  background: #e6f3fc;
  font: inherit;
  font-size: 15.5px;
  color: var(--theme-navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--theme-green);
  background: #edf6fd;
  box-shadow: 0 0 0 3px rgba(6, 149, 49, 0.25);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-grid button,
.form-grid .btn,
.field.full > button,
.field.full > .btn {
  justify-self: start;
  width: fit-content;
  align-self: flex-start;
  margin-top: 6px;
}

/* NOTICES & ALERTS */
.notice {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-left: 5px solid var(--theme-primary);
  padding: 15px 18px;
  border-radius: 10px;
  color: var(--theme-navy);
  font-size: 15.5px;
  line-height: 1.6;
}

.success {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-left: 5px solid var(--theme-primary);
  padding: 12px;
  border-radius: 10px;
  color: var(--theme-navy);
  margin-bottom: 15px;
}

/* FOOTER */
.footer {
  background: var(--theme-navy);
  color: var(--theme-text-light);
  margin-top: 40px;
  border-top: 1px solid var(--theme-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 30px;
  padding: 42px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 58px;
}

.footer-brand div {
  display: grid;
  line-height: 1.1;
}

.footer-brand strong {
  font-size: 22px;
  color: var(--theme-text-light);
}

.footer-brand span {
  color: var(--theme-text-light-muted);
  font-weight: 800;
}

.footer-brand b {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: var(--theme-text-light-muted);
}

.footer p {
  color: var(--theme-text-light-muted);
  font-size: 14.5px;
  margin: 6px 0;
  line-height: 1.6;
}

.footer-wa-badge-wrap {
  margin-top: 10px;
}

.footer .footer-wa-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #25d366;
  border-radius: 50%;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
  margin: 0 !important;
}

.footer .footer-wa-badge:hover {
  transform: translateY(-1px) scale(1.1);
  background: #1eb956;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
}

.footer .footer-wa-badge svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--theme-text-light);
}

.footer h4 small {
  display: block;
  color: var(--theme-text-light-muted);
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
}

.footer div > a {
  display: block;
  color: var(--theme-text-light-muted);
  font-size: 14px;
  margin: 6px 0;
  transition: color 0.2s;
}

.footer div > a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer p a {
  display: inline;
  color: var(--theme-text-light);
  font-size: 14.5px;
  margin: 0 0 0 4px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer p a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--theme-primary);
  color: var(--theme-text-light);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(168, 210, 240, 0.2);
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--theme-text-light-muted);
  font-size: 12.5px;
}

.footer-bottom b {
  color: var(--theme-text-light);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-bottom a {
  display: inline;
  color: var(--theme-text-light);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* FLOATING WHATSAPP BUTTON (BOTTOM-RIGHT CORNER) */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--theme-text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 4px 12px rgba(2, 26, 72, 0.2);
  z-index: 9999;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  border: 2px solid #a7f3d0;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.58), 0 6px 16px rgba(2, 26, 72, 0.3);
  color: var(--theme-text-light);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
  display: block;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover svg {
  transform: rotate(6deg) scale(1.05);
}

/* ==========================================================================
   CONSULTATION POPUP MODAL (BLUR BACKGROUND)
   ========================================================================== */
.consult-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.consult-modal.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.consult-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 26, 72, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.consult-modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 2px solid var(--theme-border-strong);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(2, 26, 72, 0.35);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-modal.active .consult-modal-card {
  transform: scale(1) translateY(0);
}

.consult-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef5fb;
  border: 1px solid var(--theme-border);
  color: var(--theme-navy);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.consult-modal-close:hover {
  background: #021a48;
  color: #ffffff;
  transform: rotate(90deg);
}

.consult-modal-header {
  text-align: center;
  margin-bottom: 18px;
}

.modal-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--theme-teal);
  margin-bottom: 4px;
}

.consult-modal-header h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--theme-navy);
}



.consult-modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consult-modal-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.consult-modal-form .form-field.full {
  grid-column: 1 / -1;
}

.consult-modal-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--theme-navy);
}

.consult-modal-form input,
.consult-modal-form select,
.consult-modal-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--theme-border);
  font-size: 14.5px;
  font-family: inherit;
  background: #fbfdff;
  color: var(--theme-navy);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consult-modal-form input:focus,
.consult-modal-form select:focus,
.consult-modal-form textarea:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(3, 40, 125, 0.15);
  background: #ffffff;
}

.consult-modal-form textarea {
  resize: vertical;
  min-height: 70px;
}

.consult-modal-form .form-actions {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.modal-submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 16.5px;
  font-weight: 700;
  justify-content: center;
  border-radius: 10px;
}

@media (max-width: 540px) {
  .consult-modal-card {
    padding: 22px 16px 18px;
    border-radius: 16px;
  }
  .consult-modal-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .consult-modal-form .form-field.full {
    grid-column: auto;
  }
  .consult-modal-header h3 {
    font-size: 20px;
  }
}

   COMPREHENSIVE RESPONSIVE SYSTEM
   Supports:
   - Mobiles: iPhone SE (375px), iPhone 16 (393px), iPhone 16 Pro Max (430px),
              Pixel 9 (412px), Pixel 9 Pro, Pixel 10, Samsung Galaxy A55 (412px)
   - Foldables: Galaxy Z Fold 6 (344px folded, 768px unfolded), Pixel 9 Pro Fold
   - Tablets & Desktops: iPad Mini (768px), Surface Pro 10 (912px), iPad Pro 13 (1024px)
   - Smart Displays & Large Screens: Nest Hub Max (1280px) and above
   ========================================================================== */

/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE SYSTEM
   Precisely calibrated for:
   - Mobiles:
     * iPhone SE (375 x 667)
     * iPhone 16 (393 x 852)
     * iPhone 16 Pro Max (440 x 956)
     * Pixel 9 / Pixel 9 Pro / Pixel 10 (412 x 924)
     * Samsung Galaxy A55 (384/412 x 915)
   - Foldables:
     * Galaxy Z Fold 6 (344px folded outer, 768px unfolded inner)
     * Pixel 9 Pro Fold (400px folded outer, 1080px unfolded inner)
   - Tablets & Desktops:
     * iPad Mini (768 x 1024)
     * iPad Pro 13 (1024 x 1366)
     * Surface Pro 10 (912 x 1368)
   - Smart Displays & Widescreens:
     * Nest Hub Max (1280 x 800) and above
   ========================================================================== */

/* --- 1. Large Tablets, iPad Pro 13, Nest Hub Max & Laptops (1024px to 1280px) --- */
@media (max-width: 1280px) {
  .container {
    width: calc(100% - 40px);
    max-width: 1200px;
  }

  .hero-content {
    padding: 38px 28px 36px max(20px, calc((100% - 1200px) / 2));
  }

  .hero h1 {
    font-size: clamp(34px, 4.6vw, 54px);
  }

  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .aif-banner-card {
    grid-template-columns: 0.7fr 1.4fr 0.9fr;
    gap: 18px;
    padding: 22px;
  }
}

/* --- 1b. iPad Pro 13 Portrait (1024px) & Pixel 9 Pro Fold Unfolded (1080px) --- */
@media (min-width: 992px) and (max-width: 1120px) {
  .container {
    width: calc(100% - 36px);
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand b {
    font-size: 11.5px;
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav > a {
    padding: 0 8px;
    font-size: 15.5px;
    white-space: nowrap;
  }

  .nav-cta {
    padding: 0 14px;
    margin-left: 6px;
    font-size: 15px;
    white-space: nowrap;
  }
}

/* --- 2. Medium Tablets, Surface Pro 10 (912px) & iPad Mini Landscape (<= 991px) --- */
@media (max-width: 991px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand {
    min-width: auto;
  }

  .nav-wrap {
    min-height: 74px;
    gap: 12px;
  }

  /* Header & Mobile Toggle Menu */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #cfe8f8;
    border: 2px solid var(--theme-border-strong);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(2, 26, 72, 0.28);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 1001;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    display: flex;
    animation: navSlideDown 0.25s ease forwards;
  }

  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav > a {
    width: 100%;
    height: 46px;
    margin-left: 0;
    justify-content: flex-start;
    padding: 0 16px;
    font-size: 18px;
    border-radius: 10px;
  }

  .main-nav > a:first-child {
    margin-left: 0;
  }

  .nav-cta {
    margin: 8px 0 0;
    width: 100%;
    justify-content: center;
    height: 46px;
    font-size: 17px;
  }

  /* Hero Section (Stacked for Tablets) */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    padding: 34px 20px 26px;
    align-items: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-blue-bar {
    margin: 10px auto 14px;
    align-self: center;
  }

  .hero p {
    font-size: 17.5px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    max-width: 620px;
  }

  .actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 0;
  }

  .hero-man-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
  }

  /* Agriculture Infrastructure Fund (AIF) */
  .aif-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
    padding: 22px 18px;
  }

  .aif-left-farmer {
    order: 1;
  }

  .aif-center-info {
    order: 2;
  }

  .aif-rate {
    order: 3;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }

  .aif-sub-pill {
    display: inline-block;
  }

  .aif-banner-card .aif-features {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Grid Layouts on Tablet */
  .loan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .two-col,
  .contact-band {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-cta-wrap {
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .contact-cta-wrap .btn-whatsapp,
  .contact-cta-wrap .btn-call-consultant {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--theme-border);
  }

  .trust-item:nth-child(2n) {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* --- 3. Portrait Tablets & Foldables Unfolded (<= 768px, e.g. iPad Mini 768px, Z Fold 6 unfolded) --- */
@media (max-width: 768px) {
  .topbar-inner {
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    text-align: center;
  }

  .topbar-left {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }

  .top-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(30px, 7.5vw, 44px);
  }

  .hero p {
    font-size: 16.5px;
    line-height: 1.6;
  }

  .page-hero {
    padding: 34px 0 26px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 6.5vw, 36px);
  }

  .page-hero p {
    font-size: 16.5px;
    line-height: 1.6;
  }

  .card p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .loan-points li {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .check {
    font-size: 15px;
    line-height: 1.55;
  }

  .section {
    padding: 34px 0;
  }

  .section-title h2,
  .section-title-wrap h2 {
    font-size: 26px;
  }

  .section-title-wrap .btn {
    margin-left: auto;
    align-self: flex-end;
  }

  /* AIF Features: 2 Columns for optimal touch readability */
  .aif-banner-card .aif-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .loan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .benefit {
    padding: 14px 8px;
  }

  .benefit-icon-wrap {
    width: 48px;
    height: 48px;
  }

  .why-card .icon {
    margin: 0 auto 14px;
  }

  .contact-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 12px;
  }

  .contact-cta-wrap .btn-whatsapp,
  .contact-cta-wrap .btn-call-consultant,
  .contact-cta-wrap .btn {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    width: fit-content;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .form-grid button,
  .form-grid .btn,
  .field.full > button,
  .field.full > .btn {
    justify-self: center;
    align-self: center;
    margin: 8px auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}

/* --- 4. Standard Mobiles (<= 560px, e.g. iPhone 16 Pro Max 440px, Pixel 9 412px, Galaxy A55, iPhone 16 393px, iPhone SE 375px) --- */
@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    min-width: auto;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .main-nav {
    top: calc(100% + 6px);
    left: 0;
    right: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand b {
    font-size: 11px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero-content {
    padding: 26px 14px 20px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 15px;
  }

  .hero-badges {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .hero-badges .highlight {
    font-size: 14px;
    padding: 7px 16px;
    width: 100%;
    text-align: center;
  }

  .hero-blue-bar {
    font-size: 14px;
    padding: 7px 18px;
    width: fit-content;
    max-width: 100%;
    align-self: center;
    text-align: center;
  }

  .hero p {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .hero-man-img {
    max-height: 320px;
  }

  .trust-strip {
    margin: 26px auto 26px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--theme-border);
    padding: 14px;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .loan-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  /* AIF Banner on Phones */
  .aif-banner-card {
    padding: 18px 14px;
    border-radius: 20px;
    gap: 18px;
  }

  .aif-farmer-img {
    max-width: 190px;
    height: 210px;
  }

  .aif-sub-pill {
    font-size: 13.5px;
    padding: 6px 14px;
    width: 100%;
  }

  .aif-banner-card .aif-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .aif-banner-card .aif-feature {
    padding: 11px 12px;
    font-size: 14px;
  }

  .aif-rate {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .aif-banner-card .aif-rate strong {
    font-size: 42px;
  }

  .card {
    padding: 18px 14px;
  }

  .card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .loan-points li {
    font-size: 14px;
    line-height: 1.5;
  }

  .check {
    font-size: 14.5px;
    line-height: 1.5;
    padding: 12px 14px;
  }

  .contact-band {
    padding: 20px 16px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* --- 5. Foldables Folded & Ultra-Compact Screens (<= 360px, e.g. Galaxy Z Fold 6 folded 344px) --- */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 16px);
  }

  .nav-wrap {
    min-height: 60px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 15px;
    letter-spacing: 0;
  }

  .brand b {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 18px;
    padding: 0;
  }

  .main-nav {
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    padding: 10px;
  }

  .hero-content {
    padding: 18px 6px 14px;
  }

  .hero h1 {
    font-size: 23px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-blue-bar {
    font-size: 11.5px;
    padding: 5px 10px;
  }

  .hero-badges .highlight {
    font-size: 11.5px;
    padding: 5px 8px;
  }

  .actions .btn {
    font-size: 13.5px;
    padding: 10px 12px;
  }

  .hero-man-img {
    max-height: 240px;
  }

  .aif-banner-card {
    padding: 14px 10px;
  }

  .aif-farmer-img {
    max-width: 140px;
    height: 160px;
  }

  .aif-banner-card .aif-feature {
    font-size: 12.5px;
    padding: 8px 10px;
  }

  .aif-banner-card .aif-rate strong {
    font-size: 32px;
  }

  .card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .loan-points li {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .check {
    font-size: 13.5px;
    padding: 10px 12px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .benefit {
    padding: 8px 4px;
  }

  .benefit-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .benefit b {
    font-size: 11.5px;
  }

  .benefit small {
    font-size: 10px;
  }

  .benefit-header-pill {
    font-size: 12px;
    padding: 5px 12px;
  }

  .topbar-left span {
    font-size: 10px;
  }

  .top-contact a {
    font-size: 10.5px;
  }

  .whatsapp-float {
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .consult-modal {
    padding: 8px;
  }

  .consult-modal-card {
    padding: 16px 12px 14px;
    border-radius: 14px;
    max-height: 95vh;
  }

  .consult-modal-header h3 {
    font-size: 20px;
  }

  .consult-modal-form input,
  .consult-modal-form select,
  .consult-modal-form textarea {
    padding: 8px 10px;
    font-size: 13.5px;
  }
}

/* ========================================================
   PARTNER ELIGIBILITY PAGE STYLES
   ======================================================== */
.facility-pill {
  background: var(--theme-surface-alt);
  border: 2px solid var(--theme-green);
  color: var(--theme-green);
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 16px;
  display: inline-block;
  margin-top: 14px;
  box-shadow: 0 4px 12px rgba(6, 149, 49, 0.15);
}

.partner-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.benefit-card {
  background: #ffffff;
  border: 1.5px solid var(--theme-border);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(3, 40, 125, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-border-strong);
  box-shadow: 0 12px 28px rgba(3, 40, 125, 0.16);
}

.benefit-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
  border: 2px solid var(--theme-border-strong);
  color: var(--theme-primary);
  flex-shrink: 0;
}

.benefit-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: var(--theme-primary);
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--theme-muted);
  margin: 0;
  flex: 1;
}

.badge-tag {
  background: var(--theme-navy);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.qual-box {
  background: #ffffff;
  border: 1.5px solid var(--theme-border);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 6px 18px rgba(3, 40, 125, 0.08);
}

.qual-box h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 22px;
  color: var(--theme-navy);
  border-bottom: 2px solid var(--theme-border);
  padding-bottom: 10px;
}

.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15.5px;
}

.qual-item:last-child {
  margin-bottom: 0;
}

.qual-badge {
  background: var(--theme-surface-alt);
  border: 1.5px solid var(--theme-green);
  color: var(--theme-green);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.inquiry-form-card {
  background: #ffffff;
  border: 1.5px solid var(--theme-border);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 6px 18px rgba(3, 40, 125, 0.08);
}

.inquiry-form-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 22px;
  color: var(--theme-navy);
  border-bottom: 2px solid var(--theme-border);
  padding-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--theme-navy);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--theme-border);
  border-radius: 10px;
  font-size: 14.5px;
  background: #f8fafc;
  color: var(--theme-deep);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--theme-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(3, 40, 125, 0.12);
}

.form-btn-wrap {
  margin-top: 14px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.btn-submit-app {
  background: var(--theme-gradient);
  color: #ffffff;
  border: none;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(3, 40, 125, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-app:hover {
  background: var(--theme-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 40, 125, 0.35);
}

@media (max-width: 1024px) {
  .partner-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-benefits-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}



