.secondary-gradient-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #07435d 0%,
    rgba(7, 67, 92, 0) 50%,
    #07435d 95%
  );
  z-index: 2;
}

@media (min-width: 390px) and (min-width: 390px) {
  @media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
      border-top: 4px solid #afcd36;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0.3125rem;
      border-bottom-left-radius: 0.3125rem;
      box-shadow: 0px 12px 15px rgba(140, 152, 164, 0.1);
    }
  }
}

.dropdown-item {
  color: #07435c;
}

[class*="navbar-expand"] .dropdown-item:hover {
  color: #afcd36;
  background-color: transparent;
}
.img_text_cont {
  position: relative;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.3125rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 10%;
  padding-right: 10%;
}

.img_text_cont:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

@media (min-width: 390px) and (min-width: 390px) {
  .blockquote p {
    font-size: 1.2rem;
    border-left: 0px;
    margin-bottom: 0;
    color: white;
  }

  .blockquote {
    border-left: 0px;
  }
}

.blockquote-footer {
  display: block;
  font-size: 80%;
  color: #ffffff;
}
.carousel-caption {
  opacity: 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item:hover .carousel-caption {
  opacity: 1;
}

.carousel-indicators {
  margin-left: 0px;
  margin-right: 0px;
}

.carousel-indicators .active {
  height: 17px;
  width: 17px;
  border: thin solid #07435d;
  border-radius: 17px;
  display: inline-block;
  background-color: #07435d;
}

.carousel-indicators li {
  /* background-color: #07435d; */
  height: 17px;
  width: 17px;
  border: thin solid #07435d;
  border-radius: 17px;
  padding-left: 1px;
  padding-right: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.wrapper::after {
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
}

.text-secondary {
  color: #07435c !important;
}

.intro_section {
  margin-top: 0;
}

.dzs_size {
  height: 700px !important;
}

.hero-text {
  text-align: center;
  position: absolute;
  /*top: 50%;*/
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 170px;
  z-index: 10;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1),
    1px 1px 4px rgba(0, 0, 0, 0.5);
  height: 100%;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Move background image to the left on mobile, center on larger screens */
.bg-mobile-left {
  background-position: left center;
}

@media (min-width: 390px) {
  .bg-mobile-left {
    background-position: center center;
  }
}

.hero-text_2 {
  text-align: left;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: none;
  color: white;
  font-size: 200px;
  width: auto;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1),
    4px 4px 4px rgba(0, 0, 0, 0.5);
}

.banner-title {
  display: block;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0px 25px 0px 100px;
  border-radius: 0 0.5rem 0.5rem 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(5px);
  border-top: thin solid rgb(255, 255, 255);
  border-right: thin solid rgb(255, 255, 255);
  border-bottom: thin solid rgb(255, 255, 255);
  border-left: none;
  margin-left: 0;
}
.banner-title h1 {
  letter-spacing: 2px;
}

.circle-icon {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.card {
  border: thin solid rgba(140, 152, 164, 0.5);
  box-shadow: none !important;
  background-color: #fdfdfd;
}

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@media (max-width: 800px) {
  .dzs_size {
    height: 400px !important;
  }

  .hero-text {
    font-size: 100px;
  }
}

.bg-footer {
  background-color: #07435c;
}

.btn-center-sp {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -45px;
}

.navbar-toggler {
  background-color: #fff;
}

.toggler-icon {
  font-size: 1.5rem;
  font-weight: 400;
}

.text_shadow {
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1),
    1px 1px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 1175px;
    margin: 1.75rem auto;
  }
}

.section_header {
  margin-left: 4.5rem;
}

.gallery-container {
  display: flex;
  flex-direction: row-reverse; /* TOC on right */
  gap: 2rem;
  align-items: flex-start;
}
.bd-toc {
  width: 260px;
  min-width: 180px;
  max-width: 320px;
  flex-shrink: 0;
}
.bd-main {
  flex: 1 1 0%;
  width: 100%;
}
.bd-intro {
  width: 900px;
  max-width: none; /* Make intro wider on desktop */
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 900px) {
  .gallery-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .bd-toc {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
  .bd-main,
  .bd-intro {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .bd-intro {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
