.ergo {
  padding-bottom: 100px;
  padding-top: 80px;
}
.ergo h3 {
  margin-bottom: 1rem;
}
.ergo p {
  max-width: 495px;
}

.wrap {
  display: flex;
  align-items: center;
}
.wrap .current-page {
  font-weight: 700;
  font-size: 20px;
  margin-right: 1rem;
}

.about + .ergo-gallery {
  padding: 150px 0 0;
}

.ergo-gallery {
  padding: 90px 0 0;
  background-color: #c0b06e;
}
.ergo-gallery h3 {
  font-weight: 600;
  margin: 1rem 0;
}
.ergo-gallery ul {
  padding-left: 1rem;
  margin-bottom: 2rem;
}
.ergo-gallery .video-container iframe {
  width: 100%;
}
.ergo-gallery p {
  padding-bottom: 1rem;
}
.ergo-gallery .swiper-gallery,
.ergo-gallery .swiper-gallery2 {
  position: relative;
}
.ergo-gallery .swiper-slide {
  cursor: pointer;
}
.ergo-gallery .swiper-button-next,
.ergo-gallery .swiper-button-prev {
  display: none;
}
.ergo-gallery .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: #c9c9c9;
  opacity: 1;
}
.ergo-gallery .swiper-pagination-bullet-active {
  background: black;
}
.ergo-gallery .swiper-pagination {
  bottom: -50px;
}
.ergo-gallery .cards-container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 25px;
  justify-content: space-between;
  padding-top: 1rem;
}
.ergo-gallery .cards-container .card {
  min-height: 180px;
  border-radius: 0;
  border: none;
  flex: 1 1 auto;
  background: white;
  text-decoration: none;
}
.ergo-gallery .cards-container .card:focus .card-body, .ergo-gallery .cards-container .card:hover .card-body, .ergo-gallery .cards-container .card:active .card-body {
  background: #9594bb;
}
.ergo-gallery .cards-container .card:focus .card-btn, .ergo-gallery .cards-container .card:hover .card-btn, .ergo-gallery .cards-container .card:active .card-btn {
  color: white;
}
.ergo-gallery .cards-container .card:focus h4, .ergo-gallery .cards-container .card:hover h4, .ergo-gallery .cards-container .card:active h4 {
  color: white;
}
.ergo-gallery .cards-container .card h4 {
  font-size: 18px;
}
.ergo-gallery .cards-container .card .card-btn {
  position: relative;
  border: none;
  background: transparent;
  align-self: flex-end;
  font-size: 14px;
  font-weight: 500;
  padding-right: 3rem;
  color: transparent;
}
.ergo-gallery .cards-container .card .card-btn::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  background-image: url("../images/arrow-black.svg");
  background-size: contain;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
}
.ergo-gallery .cards-container .card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: background-color 0.5s ease;
}
.ergo-gallery .img-container {
  margin-top: 2rem;
}
.ergo-gallery .links {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.ergo-gallery .links a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.ergo-page header .mobile .logo-wrap img {
  width: 50px;
}
.ergo-page .ergo-gallery {
  background-color: #ded5b2;
  padding: 50px 0;
}
.ergo-page .ergo-gallery h3 {
  font-size: 16px;
  margin-top: 25px;
  font-weight: 500;
}
.ergo-page .ergo-gallery h2 {
  font-size: 24px;
  margin: 14px 0 0;
  color: black;
  border: none;
}
.ergo-page .ergo-gallery span a {
  color: black;
  text-decoration: none;
  position: relative;
}
.ergo-page .ergo-gallery span a::after {
  content: "";
  background-color: black;
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
}
.ergo-page .ergo-gallery p + .links {
  margin-top: 2rem;
}

@media screen and (max-width: 767px) {
  .ergo-gallery .video-container iframe {
    height: 300px;
  }
}
@media screen and (min-width: 768px) {
  .ergo {
    padding: 200px 0;
  }
  .ergo-gallery .cards-container .card {
    min-height: 240px;
    max-width: 300px;
  }
}
@media screen and (min-width: 992px) {
  .ergo {
    padding: 400px 0;
  }
  .ergo-gallery {
    padding: 120px 0 0;
  }
  .ergo-gallery.py-5 {
    padding: 5rem 0 !important;
  }
  .ergo-gallery.py-5 p {
    max-width: 505px;
  }
  .ergo-gallery ul li {
    font-size: 21px;
  }
  .ergo-gallery h3 {
    font-size: 32px;
    margin-bottom: 2rem;
  }
  .ergo-gallery p {
    font-size: 18px;
  }
  .ergo-gallery .video-container iframe {
    height: 620px;
  }
  .ergo-gallery .img-container2 img {
    max-height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .ergo-gallery .swiper-gallery2 img {
    max-height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .ergo-gallery .swiper-pagination-bullet {
    display: none;
  }
  .ergo-gallery .swiper-wrapper {
    overflow-x: unset;
  }
  .ergo-gallery .swiper-button-next,
  .ergo-gallery .swiper-button-prev {
    display: block;
    top: unset;
    bottom: -65px;
    width: 15px;
    height: 15px;
    color: black;
  }
  .ergo-gallery .swiper-button-next::after,
  .ergo-gallery .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
  }
  .ergo-gallery .swiper-button-prev {
    left: 0;
  }
  .ergo-gallery .swiper-button-next {
    right: unset;
    left: 60px;
  }
  .ergo-gallery .cards-container .card h4 {
    font-size: 21px;
  }
  .ergo-gallery .img-container {
    margin-top: 1rem;
  }
  .ergo-gallery .img-container img {
    max-height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .ergo-gallery .links {
    flex-direction: row;
    -moz-column-gap: 30px;
         column-gap: 30px;
    margin-top: 6rem;
  }
  .ergo-page .ergo-gallery {
    padding: 140px 0 80px;
  }
  .ergo-page .ergo-gallery .links {
    margin-top: 8rem;
  }
  .ergo-page .ergo-gallery h3 {
    font-size: 18px;
    margin-top: 40px;
  }
  .ergo-page .ergo-gallery h2 {
    font-size: 32px;
  }
  .ergo-page .ergo-gallery span a {
    font-weight: 500;
  }
  .ergo-page .ergo-gallery p {
    margin-bottom: 2rem;
  }
}
@media screen and (min-width: 1200px) {
  .ergo-gallery .img-container2 img,
  .ergo-gallery .swiper-gallery2 img {
    max-height: 650px;
  }
  .ergo-gallery .cards-container .card {
    max-width: 340px;
  }
}
@media screen and (min-width: 1400px) {
  .ergo-gallery .video-container iframe {
    height: 725px;
  }
  .ergo-gallery .cards-container .card {
    max-width: 400px;
  }
  .ergo-gallery .img-container2 img,
  .ergo-gallery .swiper-gallery2 img {
    max-height: 750px;
  }
}
.modal-content {
  background: white;
  height: 100%;
  border-radius: 0;
  width: 100vw;
}

.modal-header {
  border: none;
  padding-top: 2rem;
}
.modal-header .logo {
  width: 80px;
}

.modal-dialog {
  height: 100vh;
  margin: 0;
}
.modal-dialog .nav-link {
  font-weight: 400;
  font-size: 18px;
  color: black;
  padding: 12px 16px;
  position: relative;
}
.modal-dialog .nav-link::before {
  content: "";
  width: calc(100% - 32px);
  height: 1px;
  background-color: black;
  position: absolute;
  bottom: 5px;
  visibility: hidden;
}
.modal-dialog .nav-link:focus::before, .modal-dialog .nav-link:hover::before, .modal-dialog .nav-link.active::before {
  visibility: visible;
}
.modal-dialog .nav-link:focus:focus span, .modal-dialog .nav-link:focus:hover span, .modal-dialog .nav-link:hover:focus span, .modal-dialog .nav-link:hover:hover span, .modal-dialog .nav-link.active:focus span, .modal-dialog .nav-link.active:hover span {
  font-weight: 700;
}
.modal-dialog .btn-close {
  background-image: url("../images/close-icon.svg");
  background-size: contain;
  opacity: 1;
  width: 22px;
  margin-right: 8px;
}

.modal-body {
  padding-top: 4rem;
}
.modal-body .nav {
  align-items: center;
}

.modal-footer {
  border: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 1rem;
  padding-bottom: 2rem;
}
.modal-footer h5 {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  max-width: 255px;
}
.modal-footer .modal-logo img {
  width: 50px;
}

.modal-backdrop.show {
  opacity: 0;
}
.contact-section {
  padding: 100px 0;
  background-color: #87a176;
}
.contact-section.top-border .container:first-of-type > .row:first-of-type::before {
  top: -40px;
}
.contact-section h2 {
  margin-bottom: 1.5rem;
}
.contact-section p {
  color: white;
}
.contact-section form {
  margin-top: 1rem;
}
.contact-section .col-lg-6 {
  padding: 0;
  margin-bottom: 10px;
}
.contact-section .col-12 {
  padding: 0;
}
.contact-section input {
  min-height: 60px;
  border-radius: 0;
}
.contact-section input::-moz-placeholder {
  color: #9c9c9b;
  font-weight: normal;
}
.contact-section input::placeholder {
  color: #9c9c9b;
  font-weight: normal;
}
.contact-section .btn-row .col-12 {
  display: flex;
  justify-content: flex-end;
}
.contact-section button {
  margin-top: 20px;
  padding: 15px 25px;
  border-radius: 10px;
  border: none;
  background-color: #bdae67;
  color: white;
}

@media screen and (max-width: 991px) {
  .contact-section #subject {
    min-height: 120px;
    position: relative;
  }
  .contact-section #subject::-moz-placeholder {
    position: absolute;
    top: 0;
    padding-top: 25px;
  }
  .contact-section #subject::placeholder {
    position: absolute;
    top: 0;
    padding-top: 25px;
  }
}
@media screen and (min-width: 992px) {
  .contact-section {
    padding: 240px 0;
  }
  .contact-section p {
    max-width: 560px;
  }
  .contact-section.top-border .container:first-of-type > .row:first-of-type::before {
    top: -65px;
  }
  .contact-section .col-lg-6 {
    margin-bottom: 25px;
  }
  .contact-section button {
    margin-top: 25px;
  }
  .contact-section form .col-lg-6:first-of-type {
    padding-left: 0;
    padding-right: 15px;
  }
  .contact-section form .col-lg-6:last-of-type {
    padding-right: 0;
    padding-left: 15px;
  }
  .contact-section form .col-12 {
    padding: 0;
  }
}
.sintelestes {
  background-color: #56a1bb;
  padding: 100px 0;
}
.sintelestes .img-container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 25px;
  -moz-column-gap: 25px;
       column-gap: 25px;
  justify-content: space-between;
}
.sintelestes .img-container .card:active {
  width: 45.33%;
}

@media screen and (min-width: 992px) {
  .sintelestes {
    padding: 240px 0;
  }
  .sintelestes .img-container {
    margin-top: 3rem;
  }
  .sintelestes .img-container a {
    width: 22.33%;
  }
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.no-footer {
  height: max-content;
}

body {
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  padding: 0 20px;
}

section {
  padding: 30px 0;
}

.bg-figure {
  background-image: url("../images/background-figure.svg");
  background-repeat: no-repeat;
}

p {
  font-weight: 400;
}

img {
  width: 100%;
}

h1 {
  color: white;
  font-weight: 600;
  font-size: 24px;
  margin: 1rem 0;
}

h2 {
  font-weight: 600;
  font-size: 18px;
}

h3 {
  font-weight: 400;
  font-size: 24px;
}

.intro {
  background-color: #9594bb;
  padding: 100px 0 70px;
}
.intro .img-wrapper {
  margin-bottom: 1rem;
}
.intro .text-wrapper {
  text-align: center;
}
.intro a {
  text-decoration: none;
  color: black;
}

header {
  background: white;
  height: 85px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 11;
}
header .nav-link.active {
  font-weight: 700 !important;
}
header .logo img {
  max-width: 290px;
}
header .nav.d-lg-flex {
  justify-content: space-between;
  position: relative;
}
header .nav.d-lg-flex a {
  color: black;
  font-size: 16px;
  font-weight: 500;
  transition: font-weight 0.3s ease;
  padding-bottom: 3px;
}
header .nav.d-lg-flex a:hover, header .nav.d-lg-flex a:active {
  font-weight: 700;
}
header .mobile {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
}
header .mobile img {
  width: 45px;
}
header .mobile .logo-wrap img {
  width: 180px;
}
header .mobile-menu-wrap {
  border: none;
  background: none;
}

footer {
  padding: 80px 0 20px;
}
footer .footer-logo {
  text-align: center;
  margin-bottom: 2rem;
}
footer .footer-logo img {
  width: 80px;
}
footer h5 {
  margin-bottom: 2rem;
}
footer p,
footer h5 {
  text-align: center;
  font-weight: 600;
}

.ergo-gallery h2,
.about h2,
.sintelestes h2,
.contact-section h2 {
  font-weight: 600;
  font-size: 36px;
  color: white;
  border-bottom: 2px solid white;
  padding-bottom: 15px;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

.about {
  padding: 130px 0;
  background-color: #bb8585;
}
.about .logo img {
  width: 94px;
  margin-bottom: 1.5rem;
}
.about p {
  color: white;
}

@media screen and (min-width: 768px) {
  footer .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer p {
    font-size: 15px;
  }
  footer h5 {
    font-size: 18px;
    max-width: 275px;
  }
}
@media screen and (min-width: 992px) {
  h1 {
    font-size: 70px;
  }
  p {
    font-size: 21px;
  }
  section {
    background-position: top right;
  }
  .bottom-shadow {
    box-shadow: inset 0 -20px 25px -15px rgba(0, 0, 0, 0.3);
  }
  .intro {
    padding: 240px 0 150px;
  }
  .intro a {
    font-size: 18px;
  }
  .intro .text-wrapper {
    text-align: left;
  }
  .intro h1 {
    margin: 0 0 2rem;
  }
  header {
    padding: 1.5rem 0 1rem;
    height: 120px;
  }
  header .col-12 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  h2 {
    font-size: 46px;
  }
  .txt-wrap {
    text-align: left;
  }
  .txt-wrap p {
    font-size: 20px;
  }
  .ergo-gallery h2,
  .about h2,
  .sintelestes h2,
  .contact-section h2 {
    font-size: 70px;
    margin-bottom: 2rem;
  }
  .about {
    padding: 250px 0 400px;
  }
  .about .row {
    justify-content: flex-start;
  }
  .about .logo img {
    width: 110px;
  }
}
@media screen and (min-width: 1200px) {
  .bg-figure {
    background-size: 70%;
  }
  header .nav.d-lg-flex a {
    padding: 8px 35px 3px;
  }
}
@media screen and (min-width: 1400px) {
  .about {
    padding: 350px 0 400px;
  }
}