/*///////////////////////// GENERALES /////////////////////////*/
* {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Universe Next Pro";
  src: url(../fonts/UniversNextProBold.ttf);
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Universe Next Pro Condensed";
  src: url(../fonts/UniversNextProBoldCond.ttf);
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Universe Next Pro";
  src: url(../fonts/UniversNextProRegular.ttf);
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Universe Next Medium";
  src: url(../fonts/UniversNextProMedium.ttf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Universe Next Pro";
  src: url(../fonts/UniversNextProLight.ttf);
  font-weight: light;
  font-style: normal;
}

body {
  font-family: "Universe Next Pro";
  color: #1d1d1b;
  background-color: white;
  line-height: 1.1;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
}

h3 {
  font-size: 1.5rem;
}

.h4 {
  font-size: 1.3rem;
}

.condensed {
  font-family: "Universe Next Pro Condensed";
}
.medium {
  font-family: "Universe Next Medium";
}
img {
  width: 100%;
}

.img-rounded {
  border-radius: 25px;
}

a:hover {
  text-decoration: none;
}

strong,
b {
  font-weight: 700;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-700 {
  font-weight: 700;
}

.fs-18 {
  font-size: 18px;
}

.primary {
  color: #c6133f;
}

.primary-bg {
  background-color: #c6133f;
}

.secondary {
  color: #00648e;
}

.secondary-bg {
  background-color: #00648e;
}

.primary-dark {
  color: #88123d;
}

.primary-dark-bg {
  background-color: #88123d;
}

.dark {
  color: #1d1d1b;
}

.gray {
  color: #808080;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.no-wrap {
  white-space: nowrap;
}

.rotate {
  transform: scaleX(-1);
}

.wrapper {
  overflow: hidden;
}

.rounded-xl {
  border-radius: 20px;
}

/*///////////////////// BOTONES QUE PISAN BS //////////////////*/
.btn {
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 20px;
  transition: all 150ms ease-out;
  text-decoration: none !important;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  width: fit-content;
}

.btn-primary {
  border: 2px solid #ffffff;
  color: #c6133f;
  background-color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background: #c6133f;
  color: #ffffff;
  border: 2px solid#C6133F;
  transition: all ease 0.25s;
}

.btn-gray {
  border: 2px solid #1d1d1b81;
  color: #1d1d1b81;
  background-color: #ffffff;
}

.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active,
.btn-gray:not(:disabled):not(.disabled).active,
.btn-gray:not(:disabled):not(.disabled):active,
.show > .btn-gray.dropdown-toggle {
  background: #1d1d1b81;
  color: #1d1d1b;
  border: 2px solid #1d1d1b81;
  transition: all ease 0.25s;
}

/* Scroll top */
#scrollToTopBtn {
  position: relative;
  background-color: transparent;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-left: auto;
  display: block;
}

#scrollToTopBtn img {
  width: 48px;
  height: 48px;
}

/*///////////////////////// HEADER /////////////////////////*/
.menu {
  -webkit-transition: background 0.3s 0s linear;
  -moz-transition: background 0.3s 0s linear;
  -o-transition: background 0.3s 0s linear;
  transition: background 0.3s 0s linear;
  background-color: white;
}
.header-logo span{ visibility: hidden;}
.header-logo {
  width: 340px;
  height: 60px;
  background-image: url(../images/logo.svg);
  background-size: cover;
}

.navbar {
  z-index: 15;
  width: 100%;
  padding: 0.8rem 2rem;
  background-color: transparent;
  top: 0;
}

.nav-link {
  font-size: 22px;
  font-weight: 400;
  color: #ffffff !important;
  margin: 0.5rem 1rem;
  position: relative;
  padding: 0 0 0.8rem 0 !important;
}

.nav-link::after {
  content: "";
  background-color: #88123d;
  height: 3px;
  width: 25px;
  border-radius: 25px;
  margin: 0 auto;
  opacity: 0;
  transition: all 0.3s;
  position: absolute;
  left: 0;
  bottom: 5px;
  transform: translateX(-100%);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

.navbar.bsnav-sticky.bsnav-sticky-fade.sticked.in .header-logo {
  width: 290px;
  height: 51px;
  background-image: url(../images/logo-alt.svg);
  background-size: cover;
}

.navbar.bsnav-sticky.bsnav-sticky-fade.sticked.in {
  background-color: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 8px 15px -5px,
    rgba(0, 0, 0, 0.25) 0px 4px 10px -8px;
}

.navbar-toggler {
  padding: 0;
  cursor: pointer;
}

.navbar-toggler-icon,
.navbar-toggler-icon::after,
.navbar-toggler-icon::before {
  background: #ffffff !important;
  transition: 0.3s;
}

.sticked.in .navbar-toggler-icon,
.sticked.in .navbar-toggler-icon::after,
.sticked.in .navbar-toggler-icon::before {
  background: #00648e !important;
  transition: 0.3s;
}

/* Bs nav para el menú mobile */
.bsnav-mobile .navbar {
  left: 0 !important;
  transform: translate3d(-101%, 0, 0) !important;
}

.bsnav-mobile.in .navbar {
  transform: translate3d(0px, 0, 0) !important;
}

.bsnav-mobile .navbar {
  background: url(../../images/bg-menu.svg) #1d1d1b;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 95%;
  width: 40%;
  height: 100%;
  transition: 0.6s ease-in-out;
  padding: 6rem 2rem;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -moz-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  border-bottom: 4px solid #88123d;
}

/*//////////////////////// HOME ////////////////////////////*/
.main {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

/* Carousel de fondo */
.main-carousel-container {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.main-carousel-container .carousel,
.main-carousel-container .carousel-inner,
.main-carousel-container .carousel-item {
  height: 100%;
  width: 100%;
}

.carousel-item .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 25;
}

.slide-title {
  font-size: 58px;
  color: white;
}

.slide-logo {
  height: 75px;
  width: auto;
}

.main-carousel-buttons {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  width: 100%;
  position: absolute;
  z-index: 50;
  top: 0;
  bottom: 0;
  justify-content: space-between;
  height: 50px;
  margin: auto;
}

.main-carousel-container button {
  border: 0;
  outline: 0;
  background-color: transparent;
  opacity: 1;
  top: auto;
  width: auto;
  margin: 0 0.1rem;
  position: relative;
}

.carousel-indicators {
  margin-bottom: 2rem;
  z-index: 100;
}

.carousel-indicators li {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: transparent;
  transition: 0.3s;
  opacity: 1;
}

.carousel-indicators li.active {
  background-color: white;
}

.carousel-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  object-position: top center;
}

.carousel-slide-text {
  height: 99.95%;
  width: 170px;
  object-fit: cover;
  object-position: bottom;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

/* ABOUT */
.about-us {
  padding: 5rem 0;
}
.counter-image{ 
  width: 100%;
  max-width: 200px;
}
.counter-number {
  font-size: 72px;
  font-weight: 700;
  font-family: "Universe Next Pro Condensed";
  margin-bottom: 0;
  position: relative;
}
.counter-number::before{
  content: "+";
  width: 0;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  left: -28px;
  bottom: 59px;
  transition: 0.4s;
  font-size: 35px;
}

.counter-description {
  font-size: 22px;
  margin-bottom: 0;
}

/* SERVICIOS */
.service-container {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: end;
  justify-content: end;
  overflow: hidden;
}

.service-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 5;
  transition: 0.3s;
}

.service-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.service-overlay-secondary {
  background-color: #00638d;
}

.service-overlay-primary-dark {
  background-color: #8c1632;
}

.service-overlay-primary {
  background-color: #c6133f;
}

.service-container-title {
  transform: rotate(-90deg);
  transform-origin: bottom left;
  position: absolute;
  bottom: 2rem;
  left: 95%;
  right: 0;
  z-index: 10;
  transition: 0.3s;
}

.service-container h4 {
  position: relative;
  z-index: 10;
  color: white;
  font-weight: 700;
  font-size: 62px;
  display: inline-block;
}

.service-container:hover .service-bg {
  transform: scale(1.05);
}

.service-container:hover .service-container-title {
  left: 94%;
}

.service-container:hover .service-overlay {
  opacity: 0.5;
}

/* Carousel de logos*/
.customers-carousel {
  padding: 8rem 0;
  background-color: #1d1d1b;
}

#customersCarousel {
  max-height: 100px;
}

#customersCarousel .f-carousel__slide {
  width: 20%;
  padding: 1rem;
}

#customersCarousel .f-carousel__viewport {
  width: 90%;
  margin: auto;
}

#customersCarousel img {
  height: 65px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.3s;
}

#customersCarousel img:hover {
  filter: none;
  opacity: 1;
}

#customersCarousel button {
  color: white;
}

/* Banner */
.banner {
  background-image: url(../images/bg-banner.jpg);
  min-height: 720px;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  padding: 4rem 0 6rem 0;
  display: flex;
  align-items: end;
}

/*///////////////////////// FOOTER //////////////////////////*/
.icon-iso{
  max-width: 240px;
}
footer {
  background: #4d4d4d;
  padding: 2rem 0 2rem 0;
  color: #cccccc;
}

footer a {
  transition: 0.3s;
  color: #cccccc;
}

footer a:hover {
  color: #c6133f !important;
}

.logo-footer {
  max-width: 280px;
}

.social-media-container img {
  width: 41px;
  transition: 0.3s;
}

.social-media-container img:hover {
  transform: translateY(-6px);
}

footer ul {
  padding: 0;
  list-style: none;
  margin-top: 1rem;
}

footer ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: end;
}

footer ul li img {
  width: 41px;
  height: 41px;
  margin-right: 0.4rem;
}

form .form-control {
  border: 0;
  border-bottom: 1px solid #ffffff;
  transition: 0.3s;
  border-radius: 0px;
  background-color: transparent;
  font-size: 18px;
  color: white;
  min-width: 320px;
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #cccccc;
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #cccccc;
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: #cccccc;
}

.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #cccccc;
}

form .form-control:hover,
form .form-control:focus {
  border-color: #88123d;
  background-color: transparent;
  box-shadow: none !important;
  color: white;
}

.btn-form {
  font-size: 18px;
  outline: 0;
  border: 0;
  font-weight: 700;
  border-bottom: 1px solid white;
  color: #cccccc;
  background-color: transparent;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  text-transform: uppercase;
}

.btn-form:hover,
.btn-form:focus {
  border-bottom: 1px solid white;
  color: #414141;
  background-color: #cccccc;
}

.relative {
  position: relative;
}

#response {
  background: #2ec770;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 25px 10px;
  position: absolute;
  top: 0px;
}

.fx-fading-circle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: #e2e6f6c7 url(../images/loading.gif) center no-repeat;
}

.loading {
  display: none;
}

/*///////////////////////// INTERNAS //////////////////////////
////////////////////////////////////////////////////////////*/
.section-header {
  padding: 3rem 0 1rem 0;
  min-height: 430px;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.section-overlay {
  display: none;
  width: 100%;
  opacity: 0.7;
  height: 70%;
  position: absolute;
  top: 0;
  left: 0;
  background: #000000;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Empresa */
.section-header.section-header-empresa {
  background-image: url(../images/bg-empresa.jpg);
}

/* Linea de tiempo */
.timeline {
  padding: 5rem 0 10rem 0;
  background-color: white;
  position: relative;
}

/* Swipper */
.time-line-container {
  color: #00648e;
  padding: 0.5rem;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  margin: 0 1rem;
}

.time-line-year {
  position: absolute;
  top: -5.5rem;
  line-height: 1;
  color: #cccccc;
  text-align: left;
  opacity: 1;
  transition: 0.3s;
}

.time-line-container:hover .time-line-year {
  color: #00648e;
}

.time-line-dot {
  width: 26px;
  height: 26px;
  background-color: #c6133f;
  transition: 0.3s;
  border: 6px solid #f1c6d1;
  border-radius: 50%;
  position: absolute;
  top: -3rem;
  z-index: 10;
}

.time-line-container:hover .time-line-dot {
  transform: scale(1.1);
}

.timeline-content {
  text-align: center;
  opacity: 0.6;
  transition: 0.3s;
}

.time-line-container:hover .timeline-content {
  opacity: 1;
}

.timeline-content img {
  width: 100%;
  height: 175px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.gallerySlider {
  margin-top: 6rem;
}

.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.gallerySlider__swiper {
  overflow: visible;
}

.gallerySlider__slider {
  position: relative;
  max-width: 15%;
}

.gallerySlider__nav {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gallerySlider__navProgress {
  height: 5px;
  position: relative;
  flex: 1;
  background-color: #cccccc;
}

.gallerySlider .swiper-pagination-progressbar-fill {
  background-color: #cccccc;
}

.gallerySlider__navProgress::before {
  background-color: #cccccc;
}

/* Fin swipper */

.swipe-icon {
  width: 55px;
  position: absolute;
  bottom: 4rem;
  left: auto;
  right: 4rem;
  margin-left: auto;
  margin-right: auto;
  z-index: 5;
}

.slide-left {
  -webkit-animation: slide-left 0.6s 1s infinite alternate both;
  animation: slide-left 0.6s 1s infinite alternate both;
}

/**
 * ----------------------------------------
 * animation slide-left
 * ----------------------------------------
 */
@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
  }
}

@keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
  }
}

.members-carousel {
  padding: 6rem 0;
  background-color: #e6e6e6;
}

#membersCarousel {
  max-height: 650px;
}

#membersCarousel .f-carousel__nav {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 1rem;
  right: 5rem;
  position: relative;
}

#membersCarousel .f-carousel__nav button {
  position: relative;
  transform: none;
  color: #4d4d4d;
  margin: 1rem;
}

#membersCarousel .f-carousel__slide {
  width: 28%;
  padding: 0.5rem;
}

.member-container {
  height: 510px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #000000;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  width: 100%;
  height: 250px;
  z-index: 5;
  opacity: 0;
  transition: 0.3s;
}

.member-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.member-hide {
  position: absolute;
  bottom: 0;
  padding: 1.4rem;
  left: 0;
  z-index: 10;
  transform: translateY(200px);
  transition: 0.3s;
}

.member-name {
  color: white;
  font-size: 40px;
  line-height: 1;
}

.member-container:hover .member-overlay {
  opacity: 1;
}

.member-container:hover .member-hide {
  transform: translateY(0px);
}

/* Modal */
.modal-content {
  border-radius: 20px;
  padding: 1.2rem 0.4rem;
}

.close {
  position: absolute;
  z-index: 5;
  right: 0.8rem;
  top: 0.4rem;
  font-size: 28px;
}

.modal-content .member-img {
  width: 100%;
  object-fit: cover;
  height: 490px;
  border-radius: 20px;
}

.modal-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-social a {
  display: block;
  transition: 0.3s;
}

.modal-social a img {
  height: 42px;
  width: auto;
}

.modal-social a:hover {
  transform: translateY(-5px);
}

/* Banner */
.banner-empresa {
  background-image: url(../images/bg-banner-empresa.jpg);
  min-height: 950px;
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  padding: 4rem 0 6rem 0;
  display: flex;
  align-items: end;
}

.banner-empresa img {
  width: 100%;
  max-width: 400px;
  margin-top: 3rem;
}

.animate-text-color {
  color: #fff;
  font-size: 38px;
}

.download-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #00648e;
  font-size: 18px;
  font-weight: 700;
  transition: 0.3s;
}

.download-container img {
  height: 40px;
  width: auto;
}

.download-container:hover {
  transform: translateY(-5px);
}

/*////////////////////// INTERNAS SERVICIOS //////////////////*/
/* Desarrollos */
.section-header.section-header-desarrollos {
  background-image: url(../images/bg-desarrollos-section.jpg);
}

.project-container {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.project-container-sm {
  height: 390px;
}

.project-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  z-index: 5;
  transition: 0.3s;
  background-color: #202020bd;
}

.project-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.project-text {
  text-align: center;
  overflow: hidden;
}

.project-hide {
  transition: 0.5s;
  transform: translateY(150px);
  color: white;
  font-size: 21px;
  position: relative;
  z-index: 10;
  margin-top: 1rem;
  opacity: 0;
  padding-bottom: 0.4rem;
  width: fit-content;
  left: 0;
  right: 0;
  margin: auto;
}

.project-hide::after {
  content: "";
  width: 0;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: 0.4s;
}

.project-hide:hover::after {
  width: 100%;
}

.project-container:hover .project-hide {
  transform: translateY(0px);
  opacity: 1;
}

.project-container-title {
  position: relative;
  z-index: 10;
  font-weight: 700;
  color: white;
  font-size: 40px;
  line-height: 1;
  padding: 0 1rem;
}
.project-container-image {
  position: relative;
  z-index: 10;
  margin-bottom: 20px;
  padding: 0 1rem;
}

.project-container:hover .project-bg {
  transform: scale(1.05);
}

.project-container:hover .project-overlay {
  opacity: 0.4;
}

/* Modal */
.marker {
  width: 20px;
  height: auto;
}

.projectCarousel button {
  border: 0;
  outline: 0;
  background-color: transparent;
  opacity: 1;
  width: 30px;
  margin: 0 1rem;
}

.projectCarousel .carousel-indicators {
  margin-bottom: 1rem;
}

.projectCarousel .carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid white;
  background-color: transparent;
  transition: 0.3s;
  opacity: 1;
}

.carousel-indicators li.active {
  background-color: white;
}

.projectCarousel .carousel-item img {
  height: 420px;
  width: 100%;
  object-fit: cover;
}

/* Constructora */
.section-header.section-header-constructora {
  background-image: url(../images/bg-constructora-section.jpg);
}

/* Soluciones operativas */
.section-header.section-header-soluciones {
  background-image: url(../images/bg-soluciones-section.jpg);
}

/*////////////////////// RESPONSIVE //////////////////*/

@media (max-width: 1360px) {
  .carousel-item .container {
    padding: 0 2rem;
  }

  .service-container {
    min-height: 675px;
  }
}

@media (max-width: 1240px) {
  .carousel-item .container {
    padding: 0 4rem;
  }

  .service-container {
    min-height: 600px;
  }

  .gallerySlider__slider {
    max-width: 20%;
  }

  #membersCarousel .f-carousel__slide {
    width: 35%;
  }

  .animate-text-color {
    font-size: 34px;
  }

  .download-container {
    font-size: 17px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .main-carousel-buttons {
    padding: 0 1rem;
  }

  .counter-number {
    font-size: 65px;
  }

  .service-container {
    min-height: 520px;
  }

  .service-container h4 {
    font-size: 46px;
  }

  .slide-title {
    font-size: 48px;
    color: white;
  }

  #membersCarousel .f-carousel__slide {
    width: 40%;
  }

  .animate-text-color {
    font-size: 32px;
  }

  .download-container {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .main {
    height: 85vh;
  }
  .h2 {
    font-size: 1.75rem;
  }
  .h3 {
    font-size: 1.5rem;
  }
  .bsnav-mobile .navbar {
    width: 50%;
  }

  .slide-logo {
    height: 60px;
  }

  .counter-number {
    font-size: 56px;
  }

  .service-container h4 {
    font-size: 42px;
  }

  .service-container {
    min-height: 410px;
  }

  .service-container-title {
    transform: none;
    bottom: 2rem;
    right: 2rem;
    left: auto;
  }

  .service-container:hover .service-container-title {
    right: 3rem;
    left: auto;
  }

  #customersCarousel .f-carousel__slide {
    width: 25%;
    padding: 1rem;
  }

  .banner {
    min-height: 520px;
  }

  .slide-title {
    font-size: 40px;
    color: white;
  }

  form .form-control {
    min-width: auto;
  }

  .section-header {
    min-height: 280px;
  }

  .section-overlay {
    display: block;
  }

  .timeline {
    padding: 2rem 0 10rem 0;
  }

  .gallerySlider__slider {
    position: relative;
    flex: 0 0 65%;
    max-width: 65%;
  }

  #membersCarousel .f-carousel__slide {
    width: 70%;
  }

  #membersCarousel .f-carousel__nav {
    right: 1rem;
  }

  .modal-content .member-img {
    height: 350px;
  }

  .modal-dialog {
    max-width: 590px;
  }

  .banner-empresa {
    background-position: center;
  }

  .project-container,
  .project-container-sm {
    height: 340px;
  }
}

@media (max-width: 525px) {
  .bsnav-mobile .navbar {
    width: 75%;
    padding: 6rem 1.2rem;
  }

  .nav-link {
    margin: 0.5rem 0;
  }

  .header-logo {
    width: 270px;
    height: 47px;
    margin-top: 3px;
  }


  .carousel-item .container {
    padding: 0 1rem;
    padding-top: 8rem;
  }

  .main-carousel-buttons {
    display: none;
  }

  .slide-logo {
    height: 40px;
  }

  .carousel-slide-text {
    width: 70px;
  }

  .counter-number {
    font-size: 38px;
  }
  .counter-number::before{
  left: -14px;
    bottom: 33px;
    transition: 0.4s;
    font-size: 22px;
}
  .counter-description {
    font-size: 16px;
  }

  .service-container {
    min-height: 320px;
  }

  #customersCarousel .f-carousel__viewport {
    width: 100%;
  }

  #customersCarousel .f-carousel__dots {
    bottom: -4rem;
  }

  #customersCarousel .f-carousel__dot {
    width: 16px;
    height: 16px;
  }

  #customersCarousel .f-carousel__slide {
    width: 50%;
    padding: 1rem;
  }

  .slide-title {
    font-size: 35px;
  }

  form .form-group {
    width: 100%;
  }

  form .form-control {
    margin-bottom: 1rem;
    width: 100%;
  }

  footer .h4 {
    font-size: 20px;
  }

  .mobile-alignment {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .members-carousel {
    padding: 3rem 0;
  }

  #membersCarousel .f-carousel__slide {
    width: 90%;
  }

  .member-name {
    font-size: 34px;
  }

  .banner-empresa {
    min-height: 650px;
    padding: 6rem 0;
  }

  .animate-text-color {
    font-size: 26px;
  }

  .projectCarousel .carousel-item img {
    height: 340px;
  }
  .project-container-title {
    font-size: 34px;
  }
}

@media (max-width: 375px) {
  .header-logo {
    height: 47px;
  }

  .navbar.bsnav-sticky.bsnav-sticky-fade.sticked.in .header-logo {
    height: 47px;
    width: 270px;
  }
}

@media (max-width: 335px) {
  .header-logo {
    height: 40px;
  }

  .navbar.bsnav-sticky.bsnav-sticky-fade.sticked.in .header-logo {
    height: 35px;
  }

  .counter-number {
    font-size: 42px;
  }

  footer .h4 {
    font-size: 18px;
  }
}
