body {
  font-family: "circe", sans-serif;
}
@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }
}

.container {
  max-width: 1460px;
}

/* ===========================
   Varibles
=========================== */
:root {
  --blue-1: #D4E2EE;
  --blue-2: #2B71AC;
  --blue-3: #F4F8FB;
  --black: #1F1C1C;
  --grey: #707070;
  --p-1: #CDDDAA;
  --p-2: #63CFDD;
  --p-3: #8AD5B2;
  --p-4: #E5ADD6;
  --p-5: #FF8B76;
  --p-6: #120953;
}

/* ===========================
   Text
=========================== */
h1, .h1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 3.25rem);
  font-weight: bold;
}

h2, .h2 {
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.75rem);
  font-weight: bold;
}

h3, .h3 {
  font-size: clamp(1.35rem, 3.5vw + 0.5rem, 2.5rem);
  font-weight: bold;
}

h4, .h4 {
  font-size: clamp(1.25rem, 3vw + 0.1rem, 1.5rem);
  font-weight: bold;
}

h6, .h6 {
  font-weight: bold;
}

h2.wp-block-heading {
  font-size: 2em;
}

p {
  font-size: 1em;
}

a {
  color: black;
  text-decoration: none;
}
a:hover {
  color: var(--blue-2);
}

.ls-1 {
  letter-spacing: 0.1em;
}

.ls-2 {
  letter-spacing: 0.2em;
}

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

.larger {
  font-size: clamp(0.875rem, 1.5vw + 0.25rem, 1.25rem);
}

.underline {
  text-decoration: underline !important;
  cursor: pointer;
}

/* ===========================
    Buttons    
=========================== */
.btn.arrow {
  position: relative;
}
.btn.arrow:after {
  content: "";
  display: inline-block;
  background-image: url(../img/icon-arrow-o.svg);
  height: 1.6em;
  width: 1.6em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-top: -0.5em;
}

/* ===========================
   Nav
=========================== */
header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1024;
}
header.active {
  background-color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 767.98px) {
  header.active {
    background: none !important;
  }
}
header.active .hamburger span {
  background: white;
}
header.active nav a {
  color: white;
}
header .current_page_item,
header .current-menu-parent {
  font-weight: bold !important;
}
header .custom-logo-link {
  max-width: 297px;
  display: block;
}
header .custom-logo-link img {
  width: 100%;
  height: auto;
}
header .main-nav {
  height: 100px;
}
@media (max-width: 767.98px) {
  header .main-nav {
    height: 80px;
    width: 100%;
    display: flex;
  }
  header .main-nav .custom-logo-link {
    width: 49px;
    height: 30px;
    position: fixed;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
  }
  header .main-nav .custom-logo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
  header .main-nav .nav-wrapper {
    width: 100vw;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }
  header .main-nav .nav-wrapper.active {
    opacity: 1;
    pointer-events: inherit;
    transition: all 0.3s ease-in-out;
  }
  header .main-nav .menu-menu-1-container {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue-2);
    display: flex;
    align-items: center;
    padding-bottom: 200px;
  }
  header .main-nav .menu-menu-1-container > ul {
    flex-direction: column;
    font-size: 4vw;
    width: 100%;
  }
  header .main-nav .menu-menu-1-container > ul li {
    width: 100%;
  }
  header .main-nav .menu-menu-1-container > ul li a {
    display: block;
    width: 100%;
  }
}
header .top-nav {
  width: 100%;
  height: 40px;
  background-color: var(--blue-2);
}
header nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
header nav a:hover {
  color: white;
  text-decoration: underline;
}
header nav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  margin-bottom: 0;
}
header nav ul li {
  padding: 0 1em;
}
header nav ul li:last-of-type {
  padding-right: 0;
  margin-right: 0;
}
header .menu-item {
  margin-right: 1.5em;
}
header .menu-item-has-children {
  position: relative;
  padding-right: 1.5em;
}
header .menu-item-has-children::after {
  content: "";
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  background-image: url("../img/icon-arrow-down-line.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767.98px) {
  header .menu-item-has-children::after {
    display: none;
  }
}
header .menu li {
  position: relative;
}
header .menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  flex-direction: column;
  opacity: 0;
  background: white;
  min-width: 180px;
  padding: 10px 0;
}
@media (max-width: 767.98px) {
  header .menu li ul {
    position: relative;
    opacity: 1;
    background: transparent;
    padding: 10px 0;
  }
}
header .menu li ul li {
  white-space: nowrap; /* Prevents text wrapping */
  padding: 10px 20px;
  font-size: 0.875em;
}
@media (max-width: 767.98px) {
  header .menu li ul li {
    padding: 0 30px;
    font-size: 0.7em;
  }
}
header .menu li ul li a {
  color: var(--blue-2);
}
@media (max-width: 767.98px) {
  header .menu li ul li a {
    color: white;
  }
}
header .menu li:hover > ul {
  pointer-events: inherit;
  opacity: 1;
}

.hamburger {
  position: relative;
  width: 19px;
  height: 13px;
  z-index: 99;
  display: block;
}
.hamburger span {
  background: white;
  position: absolute;
  height: 2px;
  border-radius: 0;
  width: 100%;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
  top: 6px;
}
.hamburger span:nth-child(4) {
  top: 12px;
}
.hamburger.active span {
  background: white;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
.hamburger.active span:nth-child(1), .hamburger.active span:nth-child(4) {
  opacity: 0;
}
.hamburger.active span:nth-child(2) {
  transform: rotate(45deg);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}
.hamburger.active:before {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* ===========================
   Hero
=========================== */
.hero {
  --max-height: 780px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: var(--max-height);
}
.hero > div {
  width: 100%;
  height: 100%;
}
.hero iframe {
  background: var(--blue-2);
  height: 56.15vw;
  width: 100%;
}
.hero .bg {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  object-position: center;
}
.hero .video-mute-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.8509803922);
  color: #0b0b0b;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 600;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.hero .video-mute-toggle .icon {
  display: none;
  line-height: 0;
  width: 20px;
  vertical-align: middle;
}
.hero .video-mute-toggle .icon svg path {
  fill: currentColor;
  stroke: none;
}
.hero .video-mute-toggle .icon-volume-mute {
  display: block;
}
.hero .video-mute-toggle.is-unmuted {
  background: #0b0b0b;
  color: #ffffff;
}
.hero .video-mute-toggle.is-unmuted .icon-volume-mute {
  display: none;
}
.hero .video-mute-toggle.is-unmuted .icon-volume-up {
  display: inline-block;
}
.hero .video-mute-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.hero .video-mute-toggle:focus-visible {
  outline: 2px solid #0b0b0b;
  outline-offset: 2px;
}
.hero.home {
  max-height: 56.25vw;
  width: 100vw;
  aspect-ratio: 16/9;
  min-height: unset;
}
@media (max-width: 767.98px) {
  .hero {
    aspect-ratio: 1/1;
    min-height: 500px;
  }
  .hero iframe {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero .bg {
    min-height: 500px;
    height: 100%;
  }
  .hero .video-mute-toggle {
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }
}
.hero .fp {
  position: absolute;
  height: 95%;
  width: 70%;
  left: 30%;
  max-height: calc(100% - 140px);
  max-width: 1920px;
  max-height: calc(var(--max-height) - 140px);
  object-fit: contain;
  bottom: 0;
  object-position: right bottom;
}
@media (max-width: 1639.98px) {
  .hero .fp {
    width: 80%;
    right: 0;
  }
}
@media (max-width: 767.98px) {
  .hero .fp {
    width: 100%;
    right: 0;
    left: 0;
  }
}
.hero .fp.center {
  object-position: center bottom;
  left: 50%;
  transform: translateX(-50%) !important;
}
.hero .has-box .container {
  top: 190px;
  min-height: 450px;
  height: calc(35vw - 250px);
  max-height: calc(var(--max-height) - 250px);
  transform: translateX(-50%);
}
@media (max-width: 767.98px) {
  .hero .has-box .container {
    top: 140px;
    height: 460px;
  }
}

/* ===========================
   Other
=========================== */
article.page::before {
  content: "";
  display: block;
  height: 150px;
  background: var(--blue-2);
}

.keep-height {
  min-height: 200vw;
  height: auto !important;
}
@media (max-width: 991.98px) {
  .keep-height {
    min-height: 400vw;
    object-fit: cover;
  }
}
@media (max-width: 767.98px) {
  .keep-height {
    min-height: 500vw;
  }
}

.has-box .container {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  padding-top: calc(5em + 1vw);
  padding-bottom: calc(5em + 1vw);
  transform: translate(-50%, -50%);
}
.has-box .box {
  display: block;
  width: calc(100% - var(--bs-gutter-x));
  height: 100%;
  position: absolute;
  left: 50%;
  pointer-events: none;
  top: 0px;
  border: 15px solid white;
  transform: translateX(-50%);
}
.has-box.style-2 {
  margin: 10em auto;
}
.has-box.style-2 .box {
  height: calc(100% + 10em);
  width: calc(100% + 100px);
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 1639.98px) {
  .has-box.style-2 .box {
    width: 100%;
  }
}

.arrow-down {
  width: 2em;
  height: 2em;
  display: block;
  background-image: url(../img/arrow-down-o.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.decor-block {
  height: 1em;
  width: 2em;
  background: var(--blue-2);
}

.bg-blue {
  background: var(--blue-2);
}
.bg-blue * {
  color: white;
}

.bg-white {
  background: white;
}
.bg-white * {
  color: black;
}

hr {
  border: none;
  border-bottom: 1px solid var(--blue-2);
  opacity: 1;
}
hr.thick {
  border-width: 10px;
}

.z-1 {
  z-index: 1 !important;
}

.z-2 {
  z-index: 2 !important;
}

/* ===========================
   Project Boxs
=========================== */
.is-hidden {
  display: none !important;
}

.grid-item {
  background: white;
}

.filter-btn {
  cursor: pointer;
}
.filter-btn.active {
  pointer-events: none;
}
.filter-btn.active::after {
  opacity: 0.5 !important;
}

#search-input {
  border: none;
  border-bottom: 1px solid #ccc;
  text-align: center;
  text-transform: uppercase;
  padding: 0.5em 2em;
  font-size: 0.875em;
  font-weight: bold;
  margin-top: auto;
  position: relative;
  background-image: url(../img/icon-search.svg);
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 1em center;
  outline: none !important;
}
#search-input:focus {
  border-bottom: 1px solid var(--blue-2);
}

@media (max-width: 767.98px) {
  .project-wrapper h4 {
    font-size: clamp(1.5rem, 5vw + 0.1rem, 2.5rem);
  }
}
.project-wrapper .info {
  display: flex;
  flex-direction: column;
}
.project-wrapper .project-item-wrapper {
  display: flex;
  flex-direction: column;
}
.project-wrapper .project {
  text-decoration: none;
  position: relative;
  border-top: 5px solid;
  border-color: var(--blue-2);
  transition: all 0.3s ease-in-out;
}
.project-wrapper .project::after {
  content: "";
  display: block;
  max-width: 105px;
  max-height: 107px;
  width: 20%;
  height: 20%;
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  background-image: url("../img/icon-arrow.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 767.98px) {
  .project-wrapper .project::after {
    width: 15%;
    height: 15%;
    left: 1.5rem;
    bottom: 1.5rem;
  }
}
.project-wrapper .project:hover {
  background: var(--blue-1);
  box-shadow: -1px 10px 29px 0px rgba(0, 0, 0, 0.5);
}
.project-wrapper .project:hover * {
  color: var(--blue-2);
}
.project-wrapper .project:hover::after {
  opacity: 0.75;
}
.project-wrapper img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media (max-width: 991.98px) {
  .project-wrapper img {
    aspect-ratio: 4/3;
  }
}

.type {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 0.2em;
  text-transform: uppercase;
  line-height: 1em;
}
@media (max-width: 767.98px) {
  .type {
    font-size: 0.75em;
  }
}
.type-commercial::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-1);
}
.type-commercial::after {
  content: "commercial";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}
.type-retirement::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-4);
}
.type-retirement::after {
  content: "retirement";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}
.type-office::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-2);
}
.type-office::after {
  content: "OFFICE / MIXED USE";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}
.type-residential::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-3);
}
.type-residential::after {
  content: "residential";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}
.type-retirement::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-4);
}
.type-retirement::after {
  content: "retirement";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}
.type-schools::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-5);
}
.type-schools::after {
  content: "schools";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}
.type-storage::before {
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background: var(--p-6);
}
.type-storage::after {
  content: "STORAGE & INDUSTRIAL";
  margin-left: 0.5em;
  margin-top: 0.3em;
  text-transform: uppercase;
  display: block;
  line-height: 1em;
}

/* ===========================
   Featured Projects
=========================== */
.featured-projects .overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3em;
  width: 100%;
  height: 100%;
}
@media (max-width: 767.98px) {
  .featured-projects .overlay {
    padding: 1.5em;
  }
}
.featured-projects .overlay * {
  position: relative;
  z-index: 1;
}
.featured-projects .overlay::after {
  content: "";
  left: 0;
  top: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(171deg, rgb(25, 76, 117) 15%, rgba(22, 72, 112, 0) 100%);
  z-index: 0;
  mix-blend-mode: multiply;
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}
.featured-projects .swiper-slide:hover .overlay::after {
  opacity: 0.8;
  background-color: var(--blue-2);
  mix-blend-mode: multiply;
}
.featured-projects a.link {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 9;
}
.featured-projects img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media (max-width: 991.98px) {
  .featured-projects img {
    aspect-ratio: 4/3;
  }
}
@media (max-width: 767.98px) {
  .featured-projects img {
    aspect-ratio: 3/5;
  }
}

.related-projects img {
  aspect-ratio: 2/1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}
.related-projects .project {
  position: relative;
}
.related-projects .project:nth-of-type(2n) {
  flex-direction: row-reverse;
}
.related-projects .project:after {
  content: "";
  display: block;
  width: 4em;
  height: 4em;
  background-image: url(../img/icon-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 1em;
  bottom: 1em;
}
.related-projects .project:hover:after {
  opacity: 0.7;
}

.featured-projects-nav .swiper-button-next,
.featured-projects-nav .swiper-button-prev {
  position: relative;
  width: 105px;
  height: 100px;
  left: unset;
  right: unset;
  top: unset;
  margin: unset;
  transition: all 0.3s ease-in-out;
}
.featured-projects-nav .swiper-button-next::after,
.featured-projects-nav .swiper-button-prev::after {
  content: "";
  display: block;
  position: relative;
  width: 20%;
  height: 20%;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../img/icon-arrow-o.svg");
}
.featured-projects-nav .swiper-button-next:hover,
.featured-projects-nav .swiper-button-prev:hover {
  opacity: 0.75;
}
.featured-projects-nav .swiper-button-prev::after {
  transform: rotate(180deg);
}

/* ===========================
   Read more
=========================== */
@media (max-width: 767.98px) {
  .read-more-wrapper .read-more-bg {
    min-height: 100vw;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
  }
}
.read-more-wrapper.active .read-more {
  transform: translate(-50%, -50%) rotate(180deg);
}
.read-more-wrapper.active::after {
  opacity: 1;
  transition-delay: 0s;
}
.read-more-wrapper.active .more {
  opacity: 1;
  transition-delay: 0.3s;
}
.read-more-wrapper::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background: var(--blue-2);
  mix-blend-mode: multiply;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transition-delay: 0.5s;
}
.read-more-wrapper > img {
  position: relative;
  z-index: 0;
}
.read-more-wrapper .read-more {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20vw;
  max-width: 100px;
}
.read-more-wrapper .read-more img {
  width: 100%;
  height: auto;
}
.read-more-wrapper .more {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transition-delay: 0;
}

/* ===========================
   Footer
=========================== */
footer .logo {
  max-width: 500px;
  display: block;
}
footer .border-right {
  border-right: 1px solid #ccc;
}
@media (max-width: 991.98px) {
  footer .border-right {
    border-right: none;
  }
}
footer strong {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 2em;
}
footer strong a {
  font-size: inherit;
}
footer .border-top {
  border: none !important;
  position: relative;
}
footer .border-top::before {
  content: "";
  position: absolute;
  width: calc(100% - var(--bs-gutter-x) * 0.5);
  display: block;
  top: 0;
  background: var(--blue-2);
  height: 10px;
  left: calc(var(--bs-gutter-x) * 0.5);
}
footer .border-bottom {
  border: none !important;
  position: relative;
}
footer .border-bottom::after {
  content: "";
  position: absolute;
  width: calc(100% - var(--bs-gutter-x) * 0.5);
  display: block;
  bottom: 0;
  background: var(--blue-2);
  height: 10px;
  left: calc(var(--bs-gutter-x) * 0.5);
}

/* ===========================
   Single-Projects
=========================== */
.single-projects .hero {
  max-height: 700px;
}
.single-projects .hero > div:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background: var(--blue-2);
  top: 0;
  left: 0;
  mix-blend-mode: multiply;
  z-index: 0;
}
.single-projects .hero > div:after > div {
  z-index: 2;
}
.single-projects .hero .bg {
  position: relative;
  z-index: -1;
}

/* ===========================
   Careers
=========================== */
.page-template-page-careers .hero h1 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 0.5em;
  width: 100%;
  text-align: center;
  display: block;
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .page-template-page-careers .hero h1 {
    bottom: unset;
    top: 230px;
  }
}
.page-template-page-careers .hero h1::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(0deg, rgb(2, 23, 41) 15%, rgba(7, 48, 81, 0) 100%);
  z-index: -1;
}
@media (max-width: 991.98px) {
  .page-template-page-careers .hero h1::before {
    display: none;
  }
}

.form-wrapper > img {
  min-height: 920px;
  object-fit: cover;
}

/* ===========================
   Gravity Form
=========================== */
.gform_confirmation_wrapper {
  text-align: center;
}

.gfield {
  margin-bottom: 2em !important;
}

.gform_wrapper.gravity-theme {
  --main-color: white;
}

.gform_wrapper.gravity-theme.color_wrapper {
  --main-color: #555;
}

.gform_wrapper.gravity-theme.color_wrapper input[type=checkbox]:checked + .gfield_consent_label::before {
  filter: invert(1);
}

.gform_wrapper.gravity-theme input,
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme select {
  background: transparent;
  box-shadow: none;
  outline: none;
  border: none;
  font-size: 1em !important;
  border-bottom: 1px solid var(--main-color);
  color: var(--main-color);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 0;
}
.gform_wrapper.gravity-theme input::placeholder,
.gform_wrapper.gravity-theme textarea::placeholder,
.gform_wrapper.gravity-theme select::placeholder {
  color: var(--main-color);
}
@media (max-width: 767.98px) {
  .gform_wrapper.gravity-theme input[type=file],
  .gform_wrapper.gravity-theme textarea[type=file],
  .gform_wrapper.gravity-theme select[type=file] {
    border-bottom: none !important;
  }
}

.gform_wrapper.gravity-theme .gfield_label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gform_wrapper.gravity-theme input[type=checkbox] {
  display: none;
}

/* Style the label that comes after the checkbox */
.gfield_consent_label {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
  line-height: 24px;
  color: var(--main-color);
}
.gfield_consent_label a {
  color: inherit;
}
.gfield_consent_label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--main-color);
  background: transparent;
  border-radius: 50%; /* Makes it a circle */
  transition: all 0.2s ease-in-out;
}

/* Checked state: blue filled circle with checkmark */
input[type=checkbox]:checked + .gfield_consent_label::before {
  background-color: transparent;
  border-color: var(--main-color);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4 8L11 1' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.ginput_container_fileupload input {
  cursor: pointer;
  font-size: 1em;
  line-height: 2em !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background-image: url("../img/icon-upload.svg") !important;
  background-size: auto 50% !important;
  background-repeat: no-repeat !important;
  background-position: center right !important;
}

.gform_required_legend {
  display: none;
}

.gform_wrapper.gravity-theme input[type=submit] {
  background: var(--blue-2);
  color: white;
  border-bottom: none;
  padding: 0.75em 2em;
  font-weight: bold;
}

.gform_wrapper.gravity-theme #field_submit, .gform_wrapper.gravity-theme .gform_footer {
  justify-content: flex-end;
}

.gform_wrapper.gravity-theme .gfield_required {
  color: var(--main-color) !important;
}

/* ===========================
   Charity
=========================== */
.org-icon {
  display: block;
  position: relative;
  border: 1px solid #ccc;
  transition: all 0.3s ease-in-out;
}
.org-icon::after {
  content: "";
  display: block;
  padding-bottom: 120%;
}
.org-icon:hover {
  border-color: var(--blue-1);
  box-shadow: -1px 10px 29px 0px rgba(0, 0, 0, 0.3);
}
.org-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  max-width: 220px;
  height: 40%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
}

/* ===========================
   Leadership
=========================== */
.member {
  display: block;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1639.98px) {
  .member p {
    min-height: 2.5em;
  }
}
@media (max-width: 991.98px) {
  .member h1 {
    font-size: 3ch;
  }
  .member p {
    min-height: 2.5em;
  }
}
.member > * {
  position: relative;
  z-index: 1;
}
.member img {
  height: auto;
  aspect-ratio: 1.15/1;
  object-fit: contain;
  object-position: center bottom;
}
.member::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--blue-2);
  z-index: -1;
  opacity: 0.3;
}
.member::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../img/teams/back-splash.png) no-repeat center bottom;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  z-index: 0;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.member:hover::after {
  opacity: 1;
}
.member .job-title {
  max-width: 383px;
  min-height: 3em;
}

/* ===========================
   Services
=========================== */
.accordion-toggle {
  background: transparent;
  color: white;
  padding: 1em 0;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  outline: none;
  position: relative;
}
.accordion-toggle::after {
  content: "";
  display: block;
  width: 0.75em;
  height: 0.75em;
  position: absolute;
  background-image: url(../img/arrow-down-o.svg);
  background-size: contain;
  background-repeat: no-repeat;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}
.accordion-toggle.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-item:last-of-type .accordion-content {
  border: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.accordion-content.open {
  padding: 3em 0;
  max-height: 500px; /* Adjust as needed */
}

/* ===========================
   Projects Map
=========================== */
.map-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}
.map-container #map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#legend {
  padding: 8px;
  background: #fff;
  font-size: 0.9em;
  white-space: nowrap;
  border-top: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
}
#legend .legend-item {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}
#legend .legend-item:hover {
  background-color: #f0f0f0;
}
#legend .legend-item.active {
  background-color: var(--blue-2);
  font-weight: bold;
  color: white;
}
#legend .legend-item.inactive {
  opacity: 0.4;
}
#legend .color-box {
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  display: inline-block;
  border-radius: 50%;
}

/* Custom marker cluster colors - blue #2B71AC */
.marker-cluster-small {
  background-color: rgba(43, 113, 172, 0.6);
}
.marker-cluster-small div {
  background-color: rgba(43, 113, 172, 0.8);
}

.marker-cluster-medium {
  background-color: rgba(43, 113, 172, 0.6);
}
.marker-cluster-medium div {
  background-color: rgba(43, 113, 172, 0.8);
}

.marker-cluster-large {
  background-color: rgba(43, 113, 172, 0.6);
}
.marker-cluster-large div {
  background-color: rgba(43, 113, 172, 0.9);
}

.marker-cluster {
  background-clip: padding-box;
  border-radius: 20px;
}
.marker-cluster div {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  margin-top: 5px;
  text-align: center;
  border-radius: 15px;
  font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.marker-cluster span {
  line-height: 30px;
  color: #fff;
}

.leaflet-right {
  display: none !important;
}

.custom-accordion {
  width: 100%;
}

.gform-field-label a {
  text-decoration: underline !important;
}
