@font-face {
  font-family: 'Bebas Kai';
  src: url('fonts/bebas-kai.woff2') format('woff2'),
    url('fonts/bebas-kai.woff') format('woff'),
    url('fonts/bebas-kai.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('CormorantGaramond-Italic.eot');
  src: url('CormorantGaramond-Italic.eot?#iefix') format('embedded-opentype'),
    url('CormorantGaramond-Italic.woff2') format('woff2'),
    url('CormorantGaramond-Italic.woff') format('woff'),
    url('CormorantGaramond-Italic.ttf') format('truetype'),
    url('CormorantGaramond-Italic.svg#CormorantGaramond-Italic') format('svg');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

* {

  --primary-font-family: "Bebas-kai", sans-serif;
  --primary-color: #145A44;
  --secondary-color: #2A7A60;


}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 35px;
}

h2 {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 28px;

}

h5 {
  font-family: var(--primary-font-family);
  font-size: 25px;
}

/* Header and Nav styles moved to common.css */




/* ── Section wrapper ── */
.referral-section {
  padding: 70px 0 60px;
}

/* ── Title ── */
.referral-section .section-title {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 35px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;

  /* Animation */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ── Intro paragraph ── */
.referral-section .intro-text {
  font-size: 16px;
  line-height: 35px;
  color: #000000;
  margin: auto;
  margin-bottom: 60px;
  max-width: 1000px;

  /* Animation */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

/* ── Flowchart image ── */
.flowchart-wrap {
  text-align: center;
  margin-bottom: 44px;

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.25s, transform 0.7s ease 0.25s;
}

.flowchart-wrap img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ── Body paragraphs ── */
.referral-body p {
  font-size: 16px;
  line-height: 35px;
  color: #000000;
  margin-bottom: 22px;

  /* Animation */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.referral-body p:nth-child(1) {
  transition-delay: 0.1s;
}

.referral-body p:nth-child(2) {
  transition-delay: 0.25s;
}

/* ── CTA Box ── */
.cta-box {
  padding: 44px 40px 40px;
  text-align: center;
  margin-top: 48px;

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.cta-box .cta-title {
  font-family: var(--primary-font-family);
  font-weight: 300;
  font-size: 35px;
  color: #000000;
  margin: 30px 0px;
}

.cta-box .cta-desc {
  font-size: 16px;
  color: #000000;
  max-width: 840px;
  margin: 0 auto 28px;
}

.cta-box .btn-get-started {
  background: #FFF6E5;
  border: 1px solid #1F3D2B;
  color: #1F3D2B;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 15px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cta-box .btn-get-started:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ── Animate-in state (triggered by JS) ── */
.referral-section .section-title.in-view,
.referral-section .intro-text.in-view,
.flowchart-wrap.in-view,
.referral-body p.in-view,
.cta-box.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .referral-section {
    padding: 48px 0 40px;
  }

  .cta-box {
    padding: 36px 20px 32px;
  }

  .cta-box::before {
    inset: 6px;
  }
}



/* ─── FOOTER SHELL ─── */
footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 80px 0;
}

/* ─── MAIN ROW ─── */
.footer-main-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

/* ─── BRAND COL ─── */
.footer-col-brand {
  flex: 0 0 auto;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-logo img {
  width: 180px;
  height: 170px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.25));

}

.brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 24px;
  color: #fff;
  white-space: nowrap;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-top: 2px;
  white-space: nowrap;
}

/* ─── VERTICAL DIVIDER ─── */
.v-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
  align-self: stretch;
  min-height: 140px;
  margin: 0 60px;
  flex-shrink: 0;
}

/* ─── LINKS & BUSINESS COLS ─── */
.footer-col-links,
.footer-col-business {
  flex: 0 0 auto;
}

.footer-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #fff;
}

.business-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 12px;
}

/* ─── BOTTOM BAR ─── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 16px;
  color: #fff;
}

/* ══════════════════════════════
       RESPONSIVE
    ══════════════════════════════ */

/* ── Medium tablets (992px – 1199px) ── */
@media (max-width: 1199px) {
  footer {
    padding: 50px 40px 0;
  }

  .v-divider {
    margin: 0 40px;
  }

  .foot-logo img {
    width: 150px;
    height: 140px;
  }

  .brand-text {
    font-size: 21px;
  }

  .footer-tagline {
    font-size: 14px;
  }
}

/* ── Small tablets (768px – 991px) ── */
@media (max-width: 991px) {
  footer {
    padding: 44px 28px 0;
  }

  .footer-main-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px;
  }

  .v-divider {
    display: none;
  }

  .footer-col-brand,
  .footer-col-links,
  .footer-col-business {
    flex: 1 1 200px;
    min-width: 160px;
    max-width: 260px;
  }

  .brand-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .foot-logo img {
    width: 120px;
    height: 110px;
  }

  .brand-text {
    font-size: 20px;
    white-space: normal;
  }

  .footer-tagline {
    font-size: 13px;
    white-space: normal;
  }
}

/* ── Mobile (max 767px) ── */
@media (max-width: 767px) {
  footer {
    padding: 36px 20px 0;
  }

  .footer-main-row {
    flex-direction: column;
    align-items: flex-start;
    /* LEFT align all columns */
    text-align: left;
    gap: 28px;
  }

  .footer-col-brand,
  .footer-col-links,
  .footer-col-business {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .footer-col-links,
  .footer-col-business {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 24px;
  }

  /* Brand block: logo + text side by side, left aligned */
  .brand-block {
    flex-direction: row;
    justify-content: flex-start;
    /* LEFT align */
    align-items: center;
    gap: 14px;
  }

  .brand-info {
    text-align: left;
  }

  .brand-text {
    white-space: normal;
    font-size: 19px;
  }

  .footer-tagline {
    white-space: normal;
    font-size: 13px;
  }

  .foot-logo img {
    width: 90px;
    height: 85px;
  }

  /* Links left aligned */
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* LEFT align */
  }

  .footer-bottom {
    margin-top: 32px;
    font-size: 0.8rem;
    text-align: center;
  }
}

/* ── Very small (max 380px) ── */
@media (max-width: 380px) {
  .brand-block {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    /* still LEFT */
  }

  .brand-info {
    text-align: left;
  }

  .foot-logo img {
    width: 75px;
    height: 70px;
  }

  .brand-text {
    font-size: 17px;
  }
}