:root {
  --ffhc-blue: #0866b3;
  --ffhc-blue-dark: #063f73;
  --ffhc-green: #149447;
  --ffhc-green-dark: #0b6b32;
  --ffhc-yellow: #ffd32a;
  --ffhc-ink: #10243a;
  --ffhc-muted: #64748b;
  --ffhc-soft: #f5faf7;
  --ffhc-border: #dce8e3;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ffhc-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--ffhc-blue);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--ffhc-green);
  --bs-btn-border-color: var(--ffhc-green);
  --bs-btn-hover-bg: var(--ffhc-green-dark);
  --bs-btn-hover-border-color: var(--ffhc-green-dark);
  --bs-btn-active-bg: var(--ffhc-green-dark);
  --bs-btn-active-border-color: var(--ffhc-green-dark);
}

.navbar {
  min-height: 78px;
  box-shadow: 0 10px 30px rgba(16, 36, 58, .08);
}

.navbar-brand img {
  width: 54px;
  height: 50px;
  object-fit: contain;
}

.navbar-brand span {
  display: grid;
  line-height: 1.1;
}

.navbar-brand strong {
  color: var(--ffhc-green);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.navbar-brand small {
  color: var(--ffhc-blue-dark);
  font-size: .78rem;
  font-weight: 700;
}

.nav-link {
  color: var(--ffhc-ink);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--ffhc-green);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/541638538_122153771552619018_5642438294370257625_n.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 28, 52, .9) 0%, rgba(5, 28, 52, .72) 42%, rgba(5, 28, 52, .18) 100%),
    linear-gradient(0deg, rgba(5, 28, 52, .35), rgba(5, 28, 52, .04));
  z-index: -1;
}

.hero-content {
  color: #fff;
  padding-top: 78px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .94;
  font-weight: 900;
}

.hero .lead {
  max-width: 760px;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, .9);
}

.eyebrow,
.section-kicker {
  color: var(--ffhc-yellow);
  display: inline-flex;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: .85rem;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--ffhc-green);
}

.section-kicker.light {
  color: var(--ffhc-yellow);
}

.impact-strip {
  display: grid;
  gap: 1px;
  margin-left: auto;
  max-width: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
}

.impact-strip div {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .16);
}

.impact-strip strong {
  display: block;
  color: var(--ffhc-yellow);
  font-size: 1.65rem;
  line-height: 1.1;
}

.impact-strip span {
  display: block;
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
}

.section {
  padding: 6rem 0;
}

.section-tint {
  background: var(--ffhc-soft);
}

.section-blue {
  background:
    linear-gradient(135deg, rgba(8, 102, 179, .96), rgba(6, 63, 115, .98)),
    url("../img/img18.jpg") center / cover;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2,
.section h2 {
  color: var(--ffhc-blue-dark);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 900;
}

.section-blue h2,
.section-blue .section-heading p {
  color: #fff;
}

.section-heading p,
.section p {
  color: var(--ffhc-muted);
  font-size: 1.03rem;
}

.section-blue p {
  color: rgba(255, 255, 255, .84);
}

.about-panel {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--ffhc-border);
  border-left: 6px solid var(--ffhc-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 36, 58, .08);
}

.about-logo {
  width: 138px;
  height: 126px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.about-panel h3,
.feature-card h3,
.project-card h3 {
  color: var(--ffhc-blue-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.feature-card,
.project-card {
  height: 100%;
  padding: 1.45rem;
  border-radius: 8px;
}

.feature-card {
  border: 1px solid var(--ffhc-border);
  background: #fff;
}

.feature-card i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  background: rgba(20, 148, 71, .12);
  color: var(--ffhc-green);
  font-size: 1.5rem;
}

.wide-photo {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(16, 36, 58, .16);
}

.focus-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.focus-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .75rem;
  align-items: start;
  color: var(--ffhc-ink);
  font-weight: 650;
}

.focus-list i {
  color: var(--ffhc-green);
  font-size: 1.25rem;
}

.project-card {
  background: #fff;
  border-top: 5px solid var(--ffhc-yellow);
}

.project-card span {
  color: var(--ffhc-green);
  display: block;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.project-card p {
  color: var(--ffhc-muted);
  margin-bottom: 0;
}

.values-block {
  padding: 2rem;
  border-radius: 8px;
  background: var(--ffhc-blue-dark);
}

.values-block h2,
.values-block p {
  color: #fff;
}

.mini-value {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--ffhc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ffhc-blue-dark);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(16, 36, 58, .06);
}

.gallery-section {
  background: #f8fbff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:first-child,
.gallery-grid img:nth-child(2) {
  grid-column: span 2;
  height: 300px;
}

.gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-modal .modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-modal .modal-header {
  background: var(--ffhc-blue-dark);
  color: #fff;
  border-bottom: 4px solid var(--ffhc-yellow);
}

.gallery-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 900;
}

.gallery-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: .9;
}

.gallery-modal .modal-body {
  padding: 0;
  background: #071729;
}

.gallery-modal .carousel-item {
  background: #071729;
}

.gallery-modal .carousel-item img {
  width: 100%;
  height: min(76vh, 760px);
  object-fit: contain;
  background: #071729;
}

.gallery-modal .carousel-control-prev,
.gallery-modal .carousel-control-next {
  width: 13%;
  opacity: 1;
}

.gallery-modal .carousel-control-prev-icon,
.gallery-modal .carousel-control-next-icon {
  width: 3.2rem;
  height: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
  background-color: rgba(8, 102, 179, .86);
  background-size: 52%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
}

.gallery-modal .carousel-indicators {
  flex-wrap: wrap;
  gap: .25rem;
  margin-right: 7%;
  margin-bottom: 1rem;
  margin-left: 7%;
}

.gallery-modal .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gallery-nav-labels {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
  pointer-events: none;
  text-transform: uppercase;
}

.partners {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.partner-list span {
  padding: .8rem 1rem;
  border: 1px solid var(--ffhc-border);
  border-radius: 6px;
  background: #fff;
  color: var(--ffhc-blue-dark);
  font-weight: 900;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(245, 250, 247, .98), rgba(245, 250, 247, .9)),
    url("../img/img1.jpg") center / cover;
}

.contact-form {
  padding: 1.5rem;
  border: 1px solid var(--ffhc-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(16, 36, 58, .1);
}

.contact-form .form-label {
  color: var(--ffhc-blue-dark);
  font-weight: 800;
}

.contact-form .form-control {
  min-height: 48px;
  border-color: #cddfd7;
  border-radius: 6px;
}

.contact-form textarea.form-control {
  min-height: 148px;
}

.contact-form .form-control:focus {
  border-color: var(--ffhc-green);
  box-shadow: 0 0 0 .2rem rgba(20, 148, 71, .16);
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 36, 58, .12);
}

.contact-card div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: .75rem;
  align-items: start;
}

.contact-card i {
  color: var(--ffhc-green);
  font-size: 1.25rem;
}

.contact-card a {
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 1.5rem 0;
  background: var(--ffhc-blue-dark);
  color: rgba(255, 255, 255, .84);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 5rem);
  }

  .impact-strip {
    margin-left: 0;
  }

  .section {
    padding: 4.5rem 0;
  }

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

  .gallery-grid img,
  .gallery-grid img:first-child,
  .gallery-grid img:nth-child(2) {
    grid-column: auto;
    height: 220px;
  }

  .gallery-modal .carousel-item img {
    height: calc(100vh - 130px);
  }

  .gallery-modal .carousel-control-prev,
  .gallery-modal .carousel-control-next {
    width: 18%;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand small {
    max-width: 180px;
  }

  .btn-lg {
    width: 100%;
  }

  .about-panel,
  .values-block,
  .contact-card {
    padding: 1.35rem;
  }

  .wide-photo {
    min-height: 300px;
  }

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

  .gallery-grid img,
  .gallery-grid img:first-child,
  .gallery-grid img:nth-child(2) {
    height: 240px;
  }
}
