/********** Template CSS **********/
:root {
  --primary: #015e70;
  --secondary: #80353e;
  --tertiary: #e9a81d;
  --light: #eef9ff;
  --dark: #091e3e;
}

h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}

.btn {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

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

.btn-primary,
.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.top-shape::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 100%;
  top: 0;
  left: -17px;
  background: var(--primary);
  transform: skew(40deg);
}

/* Header: brand bar + always-visible menu strip */
.navbar-brand {
  margin-right: 0;
  padding: 0;
}

.navbar-updates-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-menu-strip {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #ffffff;
  border-top: 1px solid rgba(9, 30, 62, 0.08);
  box-shadow: 0 10px 24px -22px rgba(9, 30, 62, 0.55);
}

.nav-menu-strip .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.nav-menu-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 5px;
  padding: 9px 0;
}

.nav-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--dark);
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-menu-link:hover,
.nav-menu-link:focus-visible {
  background: var(--light);
  color: var(--primary);
}

.nav-menu-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 94, 112, 0.22);
}

.nav-menu-link.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.nav-menu-link.active:hover,
.nav-menu-link.active:focus-visible {
  background: #014a58;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .nav-menu-strip-inner {
    gap: 2px 4px;
    padding: 8px 0;
  }

  .nav-menu-link {
    padding: 7px 12px;
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .navbar-updates-btn {
    padding: 0.5rem 1.05rem;
    font-size: 0.9rem;
  }

  .nav-menu-strip .container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .nav-menu-strip-inner {
    gap: 2px;
    padding: 7px 0;
  }

  .nav-menu-link {
    padding: 7px 11px;
    font-size: 14px;
  }
}

@media (max-width: 359.98px) {
  .navbar {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .navbar-updates-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
  }

  .nav-menu-link {
    padding: 6px 9px;
    font-size: 13px;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(9, 59, 69), rgba(5, 65, 77, 0.7));
  z-index: 1;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  opacity: 1;
  z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.75rem;
  height: 2.75rem;
  background-size: 1.1rem 1.1rem;
  background-color: rgba(9, 59, 69, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  backdrop-filter: blur(2px);
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary);
  border-color: #fff;
  transform: scale(1.08);
}

@media (min-width: 991.98px) {
  .banner {
    position: relative;
    margin-top: -90px;
    z-index: 1;
  }
}

/* Intro image */
.intro-img-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(9, 30, 62, 0.35);
}

.intro-img-frame img {
  display: block;
  transition: transform 0.6s ease;
}

.intro-img-frame:hover img {
  transform: scale(1.03);
}

.section-title h5::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 3px;
  right: -55px;
  bottom: 11px;
  background: var(--primary);
}

.section-title h5::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 3px;
  right: -75px;
  bottom: 11px;
  background: var(--secondary);
}

.twentytwenty-wrapper {
  height: 100%;
}

.hero-header {
  background: linear-gradient(135deg, rgb(9, 59, 69), rgba(5, 65, 77, 0.7)),
    url(../images/migrant-1.jpg) center center no-repeat;
  background-size: cover;
}

.bg-appointment {
  background: linear-gradient(rgba(9, 30, 62, 0.85), rgba(9, 30, 62, 0.85)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.appointment-form {
  background: rgba(6, 163, 218, 0.7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
  transition: 0.5s;
}

.service-item:hover img {
  transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
  position: absolute;
  content: "";
  top: 50%;
  bottom: 0;
  left: 15px;
  right: 15px;
  border-radius: 100px / 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
  opacity: 1;
}

.bg-offer {
  background: url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.offer-text {
  background: rgba(6, 163, 218, 0.85);
}

.price-carousel .owl-nav {
  position: absolute;
  width: calc(100% + 45px);
  height: 45px;
  top: calc(50% - 22.5px);
  left: -22.5px;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
}

.price-carousel:hover .owl-nav {
  opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}

.bg-testimonial {
  background: url(../images/smart-2.jpg) center center no-repeat;
  background-size: cover;
}

.testimonial-carousel {
  background: rgba(6, 163, 218, 0.85);
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: calc(100% + 46px);
  height: 46px;
  top: calc(50% - 23px);
  left: -23px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}

.testimonial-carousel .owl-item img {
  width: 120px;
  height: 100px;
}

.logo {
  width: 180px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .logo {
    width: 140px;
  }

  /* Tighten gap between navbar and the first (intro) image */
  .intro-section {
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Shrink the gap below the image (vertical row gutter) on mobile */
  .intro-section .row {
    --bs-gutter-y: 1rem;
  }

  /* Reduce the space beneath the first text block (after "...möchten.") */
  .intro-section .row.mt-4 {
    margin-top: 0.25rem !important;
  }
}

@media (max-width: 359.98px) {
  .logo {
    width: 130px;
  }
}

#header-carousel .carousel-item {
  position: relative;
  height: 87vh;
  overflow: hidden;
}

#header-carousel .carousel-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Soft gradient for legibility of controls/indicators */
#header-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 59, 69, 0) 0%,
    rgba(9, 59, 69, 0) 80%,
    rgba(9, 59, 69, 0.25) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Ken Burns: slow zoom on the active slide */
#header-carousel .carousel-item.active img {
  animation: carouselKenBurns 5s ease-out forwards;
}

@keyframes carouselKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header-carousel .carousel-item.active img {
    animation: none;
  }
}

@media (max-width: 1000px) {
  #header-carousel .carousel-item {
    height: 450px;
  }
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    height: 420px;
  }
}

.text-primary {
  color: var(--primary) !important;
}

.text-tertiary {
  color: var(--tertiary) !important;
}

.btn-primary {
  background: var(--primary) !important;
  border: #015e70;
}

.btn-primary:hover {
  background: var(--primary);
  border: #015e70;
}

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background: var(--secondary);
  border: #722f37;
}

.btn-tertiary {
  background: var(--tertiary);
  border-color: var(--tertiary);
  color: #ffffff;
}

.btn-tertiary:hover {
  background: #f2b32c;
  border-color: #f2b32c;
  color: #ffffff;
}

.text-secondary {
  color: var(--secondary) !important;
}

.program-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  background: white;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(114, 47, 55, 0.15);
}

.program-card .icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, #722f37 0%, #8b3a44 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
}

.program-card .icon-wrapper i {
  color: #d4af37;
}

.program-card .card-title {
  color: #722f37;
}

.program-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-tertiary {
  background-color: #d4af37;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary {
  background-color: #722f37;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #015e70;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-tertiary:hover {
  background-color: #b8941f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.hover-gold:hover {
  color: #d4af37 !important;
}

.btn-outline-secondary {
  border: 2px solid #722f37;
  color: #722f37;
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #722f37;
  color: white;
  border: none;
}

.bg-primary {
  background-color: #187e93 !important;
}

/*** Service ***/
.service-item {
  background: var(--light);
  transition: 0.5s;
}

.service-item * {
  transition: 0.5s;
}

.service-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.amount-btn.active {
  background-color: #d4af37;
  border-color: #d4af37;
  color: white;
}

.support-card {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.support-card:hover {
  box-shadow: 0 8px 25px rgba(114, 47, 55, 0.15) !important;
}

.resource-card {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(114, 47, 55, 0.15) !important;
}

.resource-icon {
  min-width: 40px;
}

.gallery-item {
  width: 100%;
  height: 250px; /* fixed height */
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures consistent aspect ratio */
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  width: 50px;
  background-color: rgba(255, 255, 255, 0.9);
}

.facts-section {
  position: relative;
  overflow: hidden;
}

.fact-card {
  height: 180px;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.fact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fact-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.fact-card-2 {
  background: linear-gradient(135deg, var(--primary) 0%, #017a8f 100%);
  border: 3px solid var(--primary);
}

.fact-card-1 {
  background: linear-gradient(135deg, #ffffff 0%, var(--light) 100%);
  border: 3px solid var(--primary);
}

.fact-card-3 {
  background: linear-gradient(135deg, var(--secondary) 0%, #9a4450 100%);
  border: 3px solid var(--secondary);
}

.fact-card-4 {
  background: linear-gradient(135deg, var(--tertiary) 0%, #cb9f3f 100%);
  border: 3px solid var(--tertiary);
}

.fact-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fact-icon-1 {
  background: linear-gradient(135deg, #ffffff 0%, var(--light) 100%);
  border: 3px solid var(--primary);
}

.fact-icon-2 {
  background: linear-gradient(135deg, var(--primary) 0%, #017a8f 100%);
  border: 3px solid var(--primary);
}

.fact-icon-3 {
  background: linear-gradient(135deg, var(--tertiary) 0%, #f5bc3d 100%);
  border: 3px solid #ffffff;
}

.fact-icon-4 {
  background: linear-gradient(135deg, var(--secondary) 0%, #9a4450 100%);
  border: 3px solid var(--secondary);
}

.fact-icon-wrapper i {
  font-size: 28px;
}

.fact-content {
  position: relative;
  z-index: 2;
}

.fact-content h5 {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.fact-content h1 {
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: count-glow 2s ease-in-out infinite;
}

@keyframes count-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.fact-card-1 .fact-content h5,
.fact-card-1 .fact-content h1 {
  color: var(--primary);
}

.fact-card-2 .fact-content h5 {
  color: #fff;
}

.fact-card-2 .fact-content h1 {
  color: #fff;
}

.fact-card-3 .fact-content h5,
.fact-card-3 .fact-content h1 {
  color: #ffffff;
}

.fact-card-4 .fact-content h5 {
  color: var(--dark);
}

.fact-card-4 .fact-content h1 {
  color: var(--secondary);
}

.fact-icon-1 i {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fact-icon-2 i {
  color: #ffffff;
}

.fact-icon-3 i {
  color: var(--secondary);
}

.fact-icon-4 i {
  color: #ffffff;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: sparkle-float 3s ease-in-out infinite;
}

.sparkle-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.sparkle-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes sparkle-float {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-20px) scale(1);
  }
}

@media (max-width: 991px) {
  .fact-card {
    height: 160px;
    margin-bottom: 20px;
  }

  .fact-content h1 {
    font-size: 2rem;
  }

  .fact-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .fact-icon-wrapper i {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .fact-card {
    height: auto;
    min-height: 140px;
  }

  .fact-content h5 {
    font-size: 0.9rem;
  }

  .fact-content h1 {
    font-size: 1.8rem;
  }
}

.initiatives-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #017a8f 50%,
    var(--dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.initiatives-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(233, 168, 29, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(128, 53, 62, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.initiatives-section .section-title h5 {
  color: var(--tertiary) !important;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  display: inline-block;
  border: 2px solid var(--tertiary);
}

.initiatives-section .section-title h1 {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.initiatives-section .section-title p {
  color: var(--light) !important;
  font-size: 1.1rem;
}

.initiative-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 100%;
  border: 3px solid transparent;
}

.initiative-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid var(--tertiary);
}

.initiative-content {
  padding: 30px;
}

.initiative-content h5 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.initiative-content h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--tertiary));
  border-radius: 2px;
}

.initiative-content p {
  color: var(--dark);
  line-height: 1.7;
  font-size: 1rem;
}

.initiative-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--tertiary) 0%, #f5bc3d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -35px auto 20px;
  border: 4px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.initiative-icon i {
  font-size: 30px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .initiative-image {
    height: 180px;
  }

  .initiative-content {
    padding: 20px;
  }

  .initiative-content h5 {
    font-size: 1.1rem;
  }
}

.who-we-serve-section {
  background: linear-gradient(135deg, #015e70 0%, #027a8f 100%);
  position: relative;
  overflow: hidden;
}

.who-we-serve-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(233, 168, 29, 0.1) 0%,
    transparent 70%
  );
  animation: float-circle 20s ease-in-out infinite;
}

.who-we-serve-section::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(128, 53, 62, 0.08) 0%,
    transparent 70%
  );
  animation: float-circle 25s ease-in-out infinite reverse;
}

@keyframes float-circle {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

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

.section-title2 h5 {
  color: #e9a81d !important;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.section-title2 h1 {
  color: #eef9ff !important;
  font-weight: 800;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.section-title2 p {
  color: rgba(238, 249, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.program-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  overflow: hidden;
}

.card-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #015e70 0%, #027a8f 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(1, 94, 112, 0.3);
  transition: all 0.4s ease;
}

.card-icon {
  font-size: 2.5rem;
  color: #eef9ff;
}

.card-title {
  color: #015e70 !important;
  font-weight: 700;
  font-size: 1.3rem;
}

.card-text {
  color: #2c3e50 !important;
  line-height: 1.8;
}

.btn-involved {
  background: var(--secondary);
  background-size: 200% auto;
  color: white;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 25px rgba(70, 45, 27, 0.4);
  transition: all 0.4s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
}

/* ===== Updates Overview ===== */
.updates-section {
  background: linear-gradient(180deg, #f6fafb 0%, #ffffff 100%);
}

.updates-section .section-title p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #5b6b78;
}

.update-feature-card {
  background: #ffffff;
  border: 1px solid rgba(1, 94, 112, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(9, 30, 62, 0.45);
}

.update-feature-card .row {
  min-height: 440px;
}

.update-feature-media {
  position: relative;
  display: block;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: #062f38;
}

.update-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s ease;
}

.update-feature-media::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 45, 53, 0) 45%,
    rgba(5, 45, 53, 0.55) 100%
  );
  pointer-events: none;
}

.update-feature-card:hover .update-feature-media img {
  transform: scale(1.045);
}

.update-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--tertiary);
  color: var(--dark);
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
}

.update-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(1.75rem, 3.5vw, 3rem);
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  margin-bottom: 1.15rem;
  color: #66757f;
  font-size: 0.9rem;
}

.update-meta i {
  margin-right: 0.45rem;
  color: var(--secondary);
}

.update-feature-body h2 {
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
}

.update-feature-body .update-excerpt {
  margin-bottom: 1rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
}

.update-feature-body > p {
  color: #4a5a66;
  line-height: 1.8;
}

.update-read-btn {
  align-self: flex-start;
  margin-top: 0.75rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
}

.updates-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.4rem;
  background: #ffffff;
  border: 1px dashed rgba(1, 94, 112, 0.25);
  border-radius: 14px;
  color: #5b6b78;
  text-align: center;
}

.updates-note i {
  color: var(--tertiary);
  font-size: 1.15rem;
}

/* ===== Homepage Recent Updates ===== */
.recent-updates-section {
  background: linear-gradient(180deg, #f6fafb 0%, #ffffff 100%);
}

.recent-updates-section .section-title p {
  max-width: 660px;
  margin: 1rem auto 0;
  color: #5b6b78;
}

.recent-update-head {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e5edf1;
  text-align: center;
}

.recent-update-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--tertiary);
  color: var(--dark);
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
}

.update-body h2.recent-update-title {
  margin: 1rem 0 0.6rem;
  padding-left: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
}

.update-body h2.recent-update-title::before {
  display: none;
}

.recent-update-subtitle {
  margin-bottom: 1.25rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
}

.recent-update-meta {
  justify-content: center;
  margin-bottom: 0;
}

.recent-update-photo {
  margin-bottom: 2.25rem;
}

.recent-updates-more {
  margin-top: 3.5rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(1, 94, 112, 0.12);
}

.recent-updates-more-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.recent-updates-more-heading h3 {
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.recent-updates-more-heading p {
  margin-bottom: 0;
  color: #5b6b78;
}

/* ===== Earlier Updates ===== */
.updates-archive {
  margin-top: 3.25rem;
}

.updates-archive-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.updates-archive-heading h3 {
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.updates-archive-heading p {
  margin-bottom: 0;
  color: #5b6b78;
}

.update-archive-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(1, 94, 112, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -35px rgba(9, 30, 62, 0.45);
}

.update-archive-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #062f38;
}

.update-archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.7s ease;
}

.update-archive-media--photo img {
  object-position: center 45%;
}

.update-archive-card:hover .update-archive-media img {
  transform: scale(1.045);
}

.update-archive-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
}

.update-archive-body .update-meta {
  margin-bottom: 0.8rem;
}

.update-archive-body h4 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.update-archive-body h4.update-title--long {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.35;
}

.update-archive-body h4 a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.update-archive-body h4 a:hover {
  color: var(--secondary);
}

.update-archive-body .update-excerpt {
  margin-bottom: 0.75rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.update-archive-body > p {
  color: #4a5a66;
  line-height: 1.8;
}

.update-archive-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.update-archive-link:hover {
  color: var(--primary);
}

/* ===== Update Detail ===== */
.update-hero h1.update-title--long {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.18;
}

.update-feature-body h2.update-title--long {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  line-height: 1.3;
}

.update-dateline {
  margin: 1.15rem 0 0;
  color: var(--tertiary);
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.update-photo {
  margin: 0 0 2.5rem;
  text-align: center;
}

.update-photo img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 28px 60px -30px rgba(9, 30, 62, 0.55);
}

.update-photo figcaption {
  max-width: 640px;
  margin: 1.1rem auto 0;
  color: #5b6b78;
  font-size: 0.93rem;
  font-style: italic;
  line-height: 1.75;
}

.update-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 7.5rem;
  background: linear-gradient(
    130deg,
    #052d35 0%,
    var(--primary) 55%,
    #027a8f 100%
  );
  color: #ffffff;
}

.update-hero::before {
  position: absolute;
  content: "";
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(233, 168, 29, 0.22) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.update-hero::after {
  position: absolute;
  content: "";
  bottom: -260px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(128, 53, 62, 0.35) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.update-hero .container {
  position: relative;
  z-index: 2;
}

.update-breadcrumb {
  margin-bottom: 1.5rem;
  background: transparent;
  font-size: 0.88rem;
}

.update-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.3s ease;
}

.update-breadcrumb .breadcrumb-item a:hover {
  color: #ffffff;
}

.update-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.update-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

.update-org {
  margin-bottom: 1rem;
  color: var(--tertiary);
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.update-hero h1 {
  margin-bottom: 0.9rem;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.08;
}

.update-subtitle {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Jost", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.update-meta--hero {
  margin-top: 1.9rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.update-meta--hero span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.update-meta--hero i {
  color: var(--tertiary);
}

.update-portrait {
  position: relative;
  max-width: 400px;
  margin: 0 0 0 auto;
}

.update-portrait::before {
  position: absolute;
  content: "";
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  border: 2px solid rgba(233, 168, 29, 0.5);
  border-radius: 24px;
}

.update-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.65);
}

.update-portrait figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.update-article-wrap {
  position: relative;
  z-index: 2;
  margin-top: -4.5rem;
  padding-bottom: 4.5rem;
  background: #f6fafb;
}

.update-paper {
  padding: clamp(1.5rem, 4.5vw, 4rem);
  background: #ffffff;
  border: 1px solid rgba(1, 94, 112, 0.06);
  border-radius: 26px;
  box-shadow: 0 40px 90px -55px rgba(9, 30, 62, 0.5);
}

.update-body {
  color: #3c4a56;
  font-family: "Open Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
}

.update-body p {
  margin-bottom: 1.35rem;
}

.update-salutation {
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.update-body h2 {
  position: relative;
  margin: 3rem 0 1.4rem;
  padding-left: 1.15rem;
  color: var(--primary);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.35;
}

.update-body h2::before {
  position: absolute;
  content: "";
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--secondary), var(--tertiary));
  border-radius: 4px;
}

.update-month {
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 1.1em;
  font-weight: 700;
}

.update-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.update-entry {
  position: relative;
  min-width: 0;
  padding: 1.5rem 1.65rem;
  background: #f8fbfc;
  border: 1px solid rgba(1, 94, 112, 0.09);
  border-radius: 16px;
  overflow-wrap: break-word;
}

.update-entry::before {
  position: absolute;
  content: "";
  top: 1.15rem;
  bottom: 1.15rem;
  left: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--primary),
    rgba(1, 94, 112, 0)
  );
  border-radius: 3px;
}

.update-project {
  min-width: 0;
  margin-top: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(233, 168, 29, 0.3);
  border-left: 4px solid var(--tertiary);
  border-radius: 12px;
  overflow-wrap: break-word;
}

.update-project--alt {
  border-color: rgba(1, 94, 112, 0.22);
  border-left-color: var(--primary);
}

.update-bullet {
  color: var(--secondary);
}

.update-callout {
  margin: 2.5rem 0;
  padding: 1.65rem 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(1, 94, 112, 0.07),
    rgba(233, 168, 29, 0.1)
  );
  border: 1px solid rgba(1, 94, 112, 0.1);
  border-left: 5px solid var(--secondary);
  border-radius: 18px;
}

.update-tagline {
  margin: 2.5rem 0;
  padding: 1.35rem 1.6rem;
  background: #f8fbfc;
  border-left: 5px solid var(--tertiary);
  border-radius: 12px;
  color: var(--primary);
  font-family: "Jost", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
}

.update-signature {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid #e5edf1;
}

.update-signature p {
  margin-bottom: 0.2rem;
}

.update-signature-name {
  margin: 0.4rem 0 0.5rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.update-footer-card {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(
    130deg,
    #052d35 0%,
    var(--primary) 70%,
    #027a8f 100%
  );
  border-radius: 18px;
  color: #ffffff;
}

.update-footer-brand {
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.update-footer-tagline {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.update-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.update-footer-links a {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.update-footer-links a:hover {
  color: var(--tertiary);
  border-color: var(--tertiary);
}

.update-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5edf1;
}

.update-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7a85;
}

.update-share > span {
  margin-right: 0.25rem;
  color: var(--secondary);
  font-family: "Jost", sans-serif;
  font-weight: 600;
}

.update-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.update-share a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Keep the longer navigation comfortable on smaller laptops */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .navbar-brand .logo {
    width: 160px;
  }
}

@media (max-width: 991.98px) {
  .update-hero {
    padding: 3rem 0 6rem;
  }

  .update-feature-card .row {
    min-height: 0;
  }

  .update-feature-media {
    min-height: 320px;
  }

  .update-portrait {
    max-width: 330px;
    margin: 1rem auto 0;
  }

  .update-article-wrap {
    margin-top: -3.25rem;
  }
}

@media (max-width: 767.98px) {
  .update-feature-media {
    min-height: 280px;
  }

  .update-archive-media--photo {
    aspect-ratio: 4 / 5;
  }

  .update-archive-media--photo img {
    object-position: center 30%;
  }

  .update-badge {
    top: 16px;
    left: 16px;
  }

  .update-body {
    font-size: 1rem;
  }

  .update-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .update-hero {
    padding: 2.5rem 0 5.5rem;
  }

  .update-portrait {
    max-width: 280px;
  }

  .update-portrait::before {
    display: none;
  }

  .update-meta--hero span {
    width: 100%;
    justify-content: flex-start;
  }

  .update-article-wrap {
    margin-top: -3rem;
  }

  .update-paper {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .update-entry {
    padding: 1.15rem 1.2rem;
  }

  .update-project {
    padding: 1rem 1.05rem;
  }

  .update-callout {
    padding: 1.25rem 1.2rem;
  }

  .update-footer-card {
    padding: 1.4rem;
  }
}

/* Keep labels white on all primary (green) buttons in every state */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:disabled,
.btn-primary.disabled,
.btn-check:focus + .btn-primary,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.show > .btn-primary.dropdown-toggle {
  color: #ffffff !important;
}
