.nav-link {
  font-size: larger;
}

.navbar {
  z-index: 999;
}

.imgrow img {
  width: 100%;
}

@media (max-width: 767.98px) {
  .navbar-collapse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f9c059;
    z-index: 99;
    padding-top: 5rem;
    transition: all .1s ease-in-out;
  }
}

@media (max-width: 767.98px) {
  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 767.98px) {
  .navbar-collapse.show {
    display: block !important;
  }
}

.fullsection {
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
}

#images img {
  max-width: 100%;
}

.greenbtn {
  background-color: #3a583e;
  color: white;
}

.greenbtn:hover {
  background-color: white;
  color: black;
}

/* logo */

.bg-dark-blue {
  background-color: #00112a;
}

.logo {
  font-family: "gravita-geo-variable", sans-serif;
  font-variation-settings: "wght" 400;
}

@media (min-width: 690px) {
  .statement {
    font-size: 2.5rem;
  }
}

@media (min-width: 690px) {
  .scroller p {
    font-size: 2rem;
  }
}

.navbar {
  position: sticky;
  position: -webkit-sticky;
  left: 0;
  top: 0;
  width: 100%;
  transform: translateX(-100%);
  transition: transform 1s ease-in-out;
  z-index: 999;
}

.navbar.sticky {
  transform: translateX(0);
}

.row {
  min-width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0px;
}

.headernav {
  position: absolute;
  width: 100%;
  bottom: 20%;
  background-color: rgba(0, 0, 0, 0.228);
}

.headertitle {
  position: absolute;
  width: 100vw;
  bottom: 30%;
  background-color: rgba(0, 0, 0, 0.228);
}

.headertitle h1 {
  font-size: 5rem;
}

.headernav a {
  font-size: 1.5rem;
  font-weight: 100;
  color: white;
}

.title {
  text-align: center;
  color: #FFF;
  max-width: 100%;
}

.title h1 {
  background-image: url(https://media.giphy.com/media/SpYbzArPT1ykRvvcXX/giphy.gif?cid=ecf05e4751553h6kql9ffa032kcqcmisolyuzrrzttdd5atd&ep=v1_gifs_related&rid=giphy.gif&ct=g);
  /*background-image: url(https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExbTFtd29rejVncnMzOGd4bnY2Z3puN2N0YTcyNTk5bnhyY3J3N2RnaCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/t2aAdTgnU9Ie6jvG0W/giphy.gif);*/
  background-size: cover;
  color: transparent;
  -moz-background-clip: text;
  -webkit-background-clip: text;
  text-transform: uppercase;
  font-size: 4rem;
}

.title p {
  background-image: url(https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExbTFtd29rejVncnMzOGd4bnY2Z3puN2N0YTcyNTk5bnhyY3J3N2RnaCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/t2aAdTgnU9Ie6jvG0W/giphy.gif);
  background-size: cover;
  color: transparent;
  -moz-background-clip: text;
  -webkit-background-clip: text;
  text-transform: uppercase;
}

.nav-item:active {
  background-color: black;
  color: white;
}

.primarybtn:hover {
  background-color: #004aad;
  color: white;
}

.primarybtn {
  font-size: 1.5rem;
  padding: 0.6em 0.8em;
  border-radius: 0rem;
  border: none;
  background-color: #ffffff;
  color: #004aad;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: inset -2px -2px 1px #000000b4;
}

@media (max-width: 690px) {
  .primarybtn {
    font-size: .8rem;
  }
}

.containerbtn {
  position: relative;
  padding: 2px;
  background: linear-gradient(90deg, rgb(184,137,23) , rgb(89,137,42));
  border-radius: 0rem;
  transition: all 0.4s ease;
}

.containerbtn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 0.9em;
  z-index: -10;
  filter: blur(0);
  transition: filter 0.4s ease;
}

.containerbtn:hover::before {
  background: linear-gradient(90deg, rgb(184,137,23) , rgb(90,138,43));
  filter: blur(1.2em);
}

.containerbtn:active::before {
  filter: blur(0.2em);
}

#do {
  transition: all 0.3s ease-in-out;
  position: relative;
}

#are {
  transition: all 2s ease-in-out;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #do {
    animation: moveUp linear forwards;
    animation-timeline: scroll();
  }
}

@media (prefers-reduced-motion: no-preference) {
  #are {
    animation: moveUp2 linear forwards;
    animation-timeline: scroll();
  }
}

@keyframes moveUp {
  from {
    transform: translateY(500px);
  }
  to {
    transform: translateY(0px);
  }
}

@keyframes moveUp2 {
  from {
    transform: translateY(500px);
  }
  to {
    transform: translateY(0px);
  }
}

@media (min-width: 576px) {
  .statement {
    font-size: 2.5rem;
  }
}

/* services */

.services-heading {
  text-transform: uppercase;
}

#services .row {
  background-color: #88bcff;
  /*box-shadow: 0px -6px 20px;*/
  margin-top: 1rem;
  border-top-left-radius: 1rem;
}

.services-img.active::after {
  opacity: 1;
}

.impactcampaigns {
  transition: all 0.8s ease-in-out;
  overflow: hidden;
  cursor: pointer;
  z-index: 50;
  position: relative;
  justify-content: start;
  padding-left: 1rem;
  margin-left: 1rem;
}

.impactcampaigns:hover .learn-more {
  background-color: #f9c059;
}

.image-container {
  transition: all 0.8s ease-in-out;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
}

/* Image - Normal State */

.image-container img {
  width: 30rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transition: all 0.5s ease-in-out;
}

/* Details - Initially Hidden */

.details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* When Clicked - Expand */

.impactcampaigns.expanded {
  flex-direction: column;
  align-items: center;
  z-index: 100;
}

.impactcampaigns.expanded .image-container {
  width: 100%;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.impactcampaigns.expanded .image-container img {
  width: 100%;
  height: 100px;
  border-radius: 0;
  object-fit: cover;
}

/* Show additional details */

.impactcampaigns.expanded .details {
  max-height: 500px;
  opacity: 1;
  padding-top: 1rem;
  z-index: 100;
}

.impactservice {
  max-width: 75%;
  min-width: 75%;
  z-index: 100;
  transition: all .8s ease-in-out;
}

.learn-more {
  background-color: white;
  border-radius: 5rem;
  text-align: center;
  opacity: 1;
  transition: all 0.8s ease-in-out;
  max-width: 50%;
  min-width: 50%;
}

.impactcampaigns.expanded .impactservice {
  width: 100%;
}

.impactcampaigns.expanded .learn-more {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
}

.indexup {
  z-index: 100;
}

