/* Project-specific layout, built on top of the compiled Bootstrap base in
   static/vendor/volunteer/css/style.css. Editorial split-panel language
   (navy + lime green, italic Playfair Display headings, pill buttons)
   inspired by debobeth.org's real visual identity, with original copy,
   our own brand colors, and CC-BY-licensed stock imagery. */

:root {
  --brand-navy: #0a3d7a;
  --brand-navy-dark: #072b57;
  --brand-lime: #93c312;
  --brand-lime-dark: #75990e;
  --brand-text: #333333;
  --brand-bg-light: #f7f8f5;
  --shadow-soft: 0 0.5rem 1.5rem rgba(10, 61, 122, 0.1);
  --shadow-lift: 0 1rem 2.5rem rgba(10, 61, 122, 0.18);
}

/* Placeholder logo mark (icon badge) until a real logo is supplied */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 50%;
  background-color: var(--brand-navy);
  color: var(--brand-lime);
  font-size: 1.1rem;
  margin-right: 0.6rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}

*::selection {
  background-color: var(--brand-lime);
  color: #14210a;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--brand-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-navy);
  transition: color 0.2s ease;
}

.py-6 {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

/* Heading language: upright bold serif + italic accent-colored serif */
h1, h2, h3, .heading-serif {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
}

.accent-italic {
  font-style: italic;
  color: var(--brand-lime);
}

.section-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--brand-navy);
  margin-bottom: 0.6rem;
}

/* Pill buttons */
.btn {
  border-radius: 50px !important;
  padding: 0.7rem 1.85rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  box-shadow: 0 0.4rem 1rem rgba(10, 61, 122, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 0.6rem 1.4rem rgba(10, 61, 122, 0.32);
}

.btn-lime {
  background-color: var(--brand-lime);
  border-color: var(--brand-lime);
  color: #14210a;
  box-shadow: 0 0.4rem 1rem rgba(147, 195, 18, 0.35);
}

.btn-lime:hover {
  background-color: var(--brand-lime-dark);
  border-color: var(--brand-lime-dark);
  color: #14210a;
  box-shadow: 0 0.6rem 1.4rem rgba(147, 195, 18, 0.4);
}

/* Top info bar */
.top-info-bar {
  background-color: #fff;
  border-bottom: 1px solid #ececec;
  padding: 1rem 0;
}

.top-info-bar .info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-info-bar .info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.top-info-bar .info-item:hover .info-icon {
  background-color: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.top-info-bar .info-item a {
  color: var(--brand-text);
  text-decoration: none;
}

.top-info-bar .info-item a:hover {
  color: var(--brand-navy);
}

.top-info-bar .info-item strong {
  display: block;
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

/* Main nav */
.main-nav {
  background-color: var(--brand-navy);
  padding: 0;
  transition: box-shadow 0.25s ease;
}

.main-nav.is-scrolled {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
}

.main-nav .navbar-brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  font-size: 1.4rem;
}

.main-nav .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.4rem;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.5rem 0.7rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-nav .navbar-toggler:hover {
  border-color: var(--brand-lime);
  color: var(--brand-lime);
}

.main-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(147, 195, 18, 0.35);
  outline: none;
}

.main-nav .nav-link {
  color: #fff;
  font-weight: 700;
  font-size: calc(0.85rem + 2px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 1rem 1rem !important;
  text-align: center;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.6rem;
  height: 2px;
  background-color: var(--brand-lime);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav .nav-link small {
  display: block;
  text-transform: none;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: normal;
  opacity: 0.65;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
  color: var(--brand-lime);
}

.main-nav .nav-link.active::after,
.main-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.main-nav .social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav .social-icons a:hover {
  background-color: var(--brand-lime);
  border-color: var(--brand-lime);
  color: var(--brand-navy-dark);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .main-nav .social-icons {
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* Hero */
.hero-banner {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.hero-banner.hero-banner-video {
  min-height: max(480px, 68vh);
}

.hero-banner .carousel-item {
  height: 68vh;
  min-height: 480px;
  background-size: cover;
  background-position: center;
}

.hero-banner .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 43, 87, 0.92) 0%, rgba(7, 43, 87, 0.72) 40%, rgba(7, 43, 87, 0.2) 78%, rgba(7, 43, 87, 0) 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 43, 87, 0.92) 0%, rgba(7, 43, 87, 0.72) 40%, rgba(7, 43, 87, 0.2) 78%, rgba(7, 43, 87, 0) 100%);
}

.hero-banner .hero-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-banner h1 {
  font-size: 3.1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-floats {
  position: absolute;
  left: 2rem;
  bottom: -2.5rem;
  z-index: 3;
  gap: 1rem;
}

.hero-floats img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lift);
}

/* Services section: decorative blob backdrop */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.services-section::before {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(147, 195, 18, 0.25), transparent 70%);
}

.services-section::after {
  width: 380px;
  height: 380px;
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(10, 61, 122, 0.12), transparent 70%);
}

.services-section .container {
  position: relative;
  z-index: 1;
}

/* Service cards: image w/ zoom, floating icon badge, decorative numeral, arrow link */
.services-grid > div {
  transition: transform 0.35s ease;
}

.services-grid > div:hover {
  transform: translateY(-8px);
}

.service-card {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services-grid > div:hover .service-card {
  box-shadow: var(--shadow-lift);
}

.service-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.service-card-media .service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.services-grid > div:hover .service-card-bg {
  transform: scale(1.1);
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 43, 87, 0.55), transparent 60%);
}

.service-card-icon {
  position: absolute;
  left: 1.5rem;
  bottom: -1.6rem;
  z-index: 2;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background-color: var(--brand-navy);
  box-shadow: var(--shadow-soft);
  border: 3px solid #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card-icon.icon-alt {
  background-color: var(--brand-lime);
  color: var(--brand-navy-dark);
}

.services-grid > div:hover .service-card-icon {
  transform: scale(1.12) rotate(-8deg);
}

.service-card-body {
  position: relative;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-index {
  position: absolute;
  top: 0.25rem;
  right: 1.25rem;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--brand-navy);
  opacity: 0.06;
  line-height: 1;
  user-select: none;
}

.service-card-body p {
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
  text-decoration: none;
}

.service-card-link .icon-arrow_forward {
  transition: transform 0.25s ease;
}

.service-card-link:hover {
  color: var(--brand-lime-dark);
}

.service-card-link:hover .icon-arrow_forward {
  transform: translateX(4px);
}

/* Split panels (no gutter, full-bleed image/color halves) */
.split-panel {
  --bs-gutter-x: 0;
}

.split-panel .split-text {
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-panel .split-text.bg-navy {
  background-color: var(--brand-navy);
  color: #fff;
}

.split-panel .split-image {
  min-height: 440px;
  background-size: cover;
  background-position: center;
}

/* Intro section: animated blob backdrop + layered photo stack + highlights list */
.intro-section {
  position: relative;
  overflow: hidden;
}

.intro-section::before,
.intro-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.intro-section::before {
  width: 460px;
  height: 460px;
  top: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(147, 195, 18, 0.22), transparent 70%);
  animation: introBlobFloat1 18s ease-in-out infinite;
}

.intro-section::after {
  width: 400px;
  height: 400px;
  bottom: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(10, 61, 122, 0.14), transparent 70%);
  animation: introBlobFloat2 22s ease-in-out infinite;
}

.intro-section .container {
  position: relative;
  z-index: 1;
}

@keyframes introBlobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.12); }
}

@keyframes introBlobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-section::before,
  .intro-section::after {
    animation: none;
  }
}

.intro-image-stack {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}

.intro-image-stack::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  height: 88%;
  background-color: var(--brand-lime);
  border-radius: 1.25rem;
  z-index: 0;
}

.intro-image-stack img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 420px;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lift);
  margin: 1.75rem 0 0 1.75rem;
  display: block;
}

.intro-highlights {
  margin: 0 0 1.75rem;
}

.intro-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.intro-highlights li:last-child {
  margin-bottom: 0;
}

.intro-highlights .icon-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: rgba(147, 195, 18, 0.15);
  color: var(--brand-lime-dark);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Standalone accented blockquote (e.g. About page mission statement) */
.blockquote-accent {
  max-width: 700px;
  border-left: 3px solid var(--brand-lime);
  padding-left: 1.25rem;
}

/* Values section: dark backdrop + glass value cards */
.values-section {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-navy-dark);
  color: #c9d4e3;
}

.values-section::before,
.values-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  z-index: 0;
  pointer-events: none;
}

.values-section::before {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(147, 195, 18, 0.28), transparent 70%);
}

.values-section::after {
  width: 400px;
  height: 400px;
  bottom: -160px;
  right: -130px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.values-section .container {
  position: relative;
  z-index: 1;
}

.values-section .section-eyebrow {
  color: var(--brand-lime);
}

.values-section h2 {
  color: #fff;
}

.value-card {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border-radius: 1.25rem;
  border-top: 4px solid var(--brand-lime);
  padding: 2.75rem 1.75rem 2rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--brand-navy);
  box-shadow: 0 1.75rem 3.25rem rgba(0, 0, 0, 0.38);
}

.value-card .value-index {
  position: absolute;
  top: 0.25rem;
  right: 1.1rem;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-navy);
  opacity: 0.07;
  user-select: none;
}

.value-card .icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  background-color: var(--brand-lime);
  color: var(--brand-navy-dark);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.value-card:hover .icon-wrap {
  background-color: var(--brand-navy);
  color: var(--brand-lime);
  transform: scale(1.08);
}

.value-card h3 {
  color: var(--brand-navy);
}

.value-card p {
  color: #666 !important;
}

/* Contact page: animated blob backdrop for the map + form section */
.contact-page-section {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-bg-light);
}

.contact-page-section::before,
.contact-page-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.contact-page-section::before {
  width: 460px;
  height: 460px;
  top: -90px;
  left: -90px;
  background: radial-gradient(circle, rgba(147, 195, 18, 0.4), transparent 65%);
  animation: contactBlobFloat1 20s ease-in-out infinite;
}

.contact-page-section::after {
  width: 420px;
  height: 420px;
  bottom: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(10, 61, 122, 0.35), transparent 65%);
  animation: contactBlobFloat2 24s ease-in-out infinite;
}

.contact-page-section .container {
  position: relative;
  z-index: 1;
}

@keyframes contactBlobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -35px) scale(1.1); }
}

@keyframes contactBlobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 35px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page-section::before,
  .contact-page-section::after {
    animation: none;
  }
}

/* Job application header: back link + pill badges */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--brand-lime);
}

.back-link .icon-chevron-left {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.back-link:hover .icon-chevron-left {
  transform: translateX(-3px);
}

.job-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.job-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.job-pill span[class^="icon-"] {
  color: var(--brand-lime);
}

/* Job application page: animated blob backdrop + job summary card */
.apply-page-section {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-bg-light);
}

.apply-page-section::before,
.apply-page-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.apply-page-section::before {
  width: 460px;
  height: 460px;
  top: -90px;
  left: -90px;
  background: radial-gradient(circle, rgba(10, 61, 122, 0.35), transparent 65%);
  animation: applyBlobFloat1 20s ease-in-out infinite;
}

.apply-page-section::after {
  width: 420px;
  height: 420px;
  bottom: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(147, 195, 18, 0.4), transparent 65%);
  animation: applyBlobFloat2 24s ease-in-out infinite;
}

.apply-page-section .container {
  position: relative;
  z-index: 1;
}

@keyframes applyBlobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -40px) scale(1.1); }
}

@keyframes applyBlobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .apply-page-section::before,
  .apply-page-section::after {
    animation: none;
  }
}

.job-summary-card {
  background-color: #fff;
  border-radius: 1.25rem;
  border-top: 4px solid var(--brand-lime);
  box-shadow: 0 1rem 2.25rem rgba(10, 61, 122, 0.1);
  padding: 2.5rem;
  height: 100%;
}

.job-summary-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background-color: var(--brand-navy);
  color: var(--brand-lime);
}

.job-summary-card .job-meta-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.job-summary-card .job-meta-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: #555;
}

.job-summary-card .job-meta-list li:last-child {
  margin-bottom: 0;
}

.job-summary-card .job-meta-list span[class^="icon-"] {
  color: var(--brand-lime-dark);
}

/* Job listing cards */
.job-card {
  border-radius: 0.75rem;
  border-left: 4px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-left-color: var(--brand-lime);
}

.job-card h3 {
  transition: color 0.3s ease;
}

.job-card:hover h3 {
  color: var(--brand-navy);
}

.job-card-btn .icon-arrow_forward {
  transition: transform 0.25s ease;
  margin-left: 0.25rem;
}

.job-card:hover .job-card-btn .icon-arrow_forward {
  transform: translateX(4px);
}

/* Referral CTA: rounded image card with overlay content */
.referral-cta {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lift);
}

.referral-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 43, 87, 0.94) 0%, rgba(7, 43, 87, 0.78) 45%, rgba(7, 43, 87, 0.25) 100%);
}

.referral-cta-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 3.5rem;
  max-width: 560px;
}

.referral-cta-content .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--brand-lime);
  color: var(--brand-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
  .referral-cta-content {
    padding: 2.25rem;
  }
}

/* Mission + quote cards */
.mission-section-alt {
  background-color: var(--brand-bg-light);
}

.mission-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  background-color: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 3rem;
}

.mission-card .quote-mark {
  position: absolute;
  top: -1.5rem;
  right: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: 9rem;
  line-height: 1;
  color: var(--brand-navy);
  opacity: 0.06;
  pointer-events: none;
}

.mission-card blockquote {
  position: relative;
  border-left: 3px solid var(--brand-lime);
  padding-left: 1.25rem;
  font-size: 1.05rem;
}

.mission-card .icon-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background-color: var(--brand-lime);
  color: var(--brand-navy-dark);
}

/* Mission + quote split */
.quote-panel {
  background-color: var(--brand-lime);
  color: #14210a;
  padding: 4.5rem 3.5rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-panel .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #14210a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

/* Contact form section */
.contact-form-section {
  background-color: var(--brand-bg-light);
}

.form-card {
  background-color: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
}

.form-card .form-control,
.form-card .form-select {
  border-radius: 0.6rem;
  border-color: #dfe3e6;
  padding: 0.75rem 1rem;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 0.2rem rgba(10, 61, 122, 0.12);
}

.contact-map-frame {
  height: 100%;
  min-height: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* Footer */
footer.site-footer-main {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-navy-dark);
  color: #c9d4e3;
  border-top: 3px solid var(--brand-lime);
}

footer.site-footer-main::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(147, 195, 18, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

footer.site-footer-main .container {
  position: relative;
  z-index: 1;
}

footer.site-footer-main a {
  color: #c9d4e3;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer.site-footer-main a:hover {
  color: var(--brand-lime);
}

footer.site-footer-main h3 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

footer.site-footer-main .navbar-brand {
  font-size: 1.6rem;
}

footer.site-footer-main .social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

footer.site-footer-main .social-icons a:hover {
  background-color: var(--brand-lime);
  border-color: var(--brand-lime);
  color: var(--brand-navy-dark);
  transform: translateY(-2px);
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links li a {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.footer-links li a::before {
  content: "\f054";
  font-family: "icomoon";
  font-size: 0.6rem;
  opacity: 0;
  margin-right: 0;
  transition: opacity 0.2s ease, margin-right 0.2s ease;
}

.footer-links li a:hover::before {
  opacity: 1;
  margin-right: 0.4rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.footer-contact-list li span[class^="icon-"] {
  color: var(--brand-lime);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.back-to-top-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: var(--brand-lime);
  color: var(--brand-navy-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
  z-index: 1030;
}

.back-to-top-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-fab:hover {
  background-color: var(--brand-lime-dark);
}

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--brand-lime);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .split-panel .split-text,
  .quote-panel {
    padding: 3rem 1.75rem;
  }

  .hero-banner h1 {
    font-size: 2.2rem;
  }

  .hero-floats {
    display: none !important;
  }
}
