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

.navbar {
  z-index: 999;
}

.imgrow img {
  width: 100%;
}

.bgblue {
  background-color: #00112a;
}

.nav-item {
  transition: all .5s ease-in-out;
}

.nav-item:active {
  transform: translateX(100%);
  background: linear-gradient(to bottom, #3a583e, #2e4631);
  transition: all .8s ease-in-out;
}

.nav-item a:hover {
  color: white;
  transition: all .8s ease-in-out;
}

.nav-item:hover {
  transform: translatex(-3%) translateY(-3%);
  border-radius: .2rem;
  background: linear-gradient(to bottom, #3a583e, #2e4631);
  transition: all .8s ease-in-out;
}

@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: linear-gradient(to bottom, #3a583e, #2e4631);
  color: white;
  border-radius: 0px;
  font-size: 1.2rem;
  border: none;
  transition: all .5s ease-in-out;
}

.greenbtn:hover {
  background: none;
  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: #03102a;
  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;
  padding-left: 1rem;
  margin-left: 1rem;
}

@media (min-width: 769px) {
  #services .row {
    padding-left: 10rem;
  }
}

.impactservice p {
  min-height: 4rem;
  max-width: 75%;
}

.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: 15rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transition: all 0.5s ease-in-out;
  object-position: center;
}

/* 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: 200px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

/* 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;
  color: #b8860b;
}

.text-gold {
  color: #b8860b;
}

.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;
  justify-content: end;
}

.nextbtn {
  color: rgb(255, 213, 0);
}

/* Default (image right) */

.image-container {
  right: 0;
  left: auto;
}

/* Reversed (image left) */

.impactcampaigns.reverse .image-container {
  left: 0;
  right: auto;
}

/* Keep consistent layout when expanded */

.impactcampaigns.expanded.reverse .image-container {
  left: auto;
  right: auto;
  position: relative;
}

/* Default layout (text left, image right) */

.impactcampaigns {
  flex-direction: row;
}

/* Reverse layout (image left, text right) */

.impactcampaigns.reverse {
  flex-direction: row-reverse;
}

/* When expanded, make sure both use vertical layout */

.impactcampaigns.expanded {
  flex-direction: column;
}

.impactcampaigns.expanded.reverse {
  flex-direction: column;
}

/* Main accordion item background */

.accordion-item {
  background: linear-gradient(to right, #004aad, #f9c059);
  color: white;
  border: none;
}

/* Accordion button styling */

.accordion-button {
  background-color: transparent;
  color: white;
  font-weight: 600;
  border: none;
  box-shadow: none;
}

/* When accordion is open */

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Accordion content area */

.accordion-body {
  background-color: rgba(0, 0, 0, 0.2);
  color: #f1f1f1;
  padding: 1rem 1.25rem;
}

/* Optional: smoother transition and rounded corners */

.accordion-collapse {
  transition: all 0.3s ease-in-out;
}

.accordion-item:first-of-type, .accordion-item:last-of-type {
  border-radius: 0px;
}

/* New Services */

.service-btn:hover {
  background-color: #b8860b;
  transition: all .3s;
}

@keyframes zoomOffRight {
  0% {
    transform: scale(1) translateX(0);
    opacity: 1;
  }
  100% {
    transform: scale(1.2) translateX(200%);
    opacity: 0;
  }
}

.zoom-off-right {
  animation: zoomOffRight 0.6s forwards ease-in;
}

.carousel-slide-container {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.slide-1.active {
  z-index: 2;
  transform: translateX(0);
  opacity: 1;
}

.slide-1.out {
  transform: translateX(200%);
  opacity: 0;
  z-index: 1;
}

.slide-2 {
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%);
}

.slide-2.in {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}

