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

body {
  font-family: "Noto Sans", sans-serif;
  color: #231f20;
  background-color: white;
}

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

.wrapper {
  overflow: hidden;
}

img {
  width: 100%;
}

a:hover {
  text-decoration: none;
}

strong,
b {
  font-weight: 600;
}

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

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

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

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

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

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

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

.primary {
  color: #2a3891;
}

.primary-bg {
  background-color: #2a3891;
}

.light-blue {
  color: #309bd2;
}

.gray {
  color: #787978;
}

.light-gray {
  color: #dee5e4;
}

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

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

.italic {
  font-style: italic;
}

.noto {
  font-family: "Noto Sans", sans-serif;
}

.encode {
  font-family: "Encode Sans", sans-serif;
}

.rounded {
  border-radius: 20px !important;
}

/*///////////////////// BOTONES QUE PISAN BS //////////////////*/
.btn {
  border-radius: 26px;
  font-size: 16px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  transition: all 0.4s ease-out;
  text-decoration: none !important;
  position: relative;
}

.btn-primary-gradient {
  color: white;
  position: relative;
  z-index: 1;
}

.btn-primary-gradient::before {
  background: linear-gradient(to right, #2a3891, #2a3891);
}

.btn-primary-gradient::after {
  background: linear-gradient(to right, #309bd2, #2a3891);
}

.btn-primary-gradient::before,
.btn-primary-gradient::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform-origin: right;
  border-radius: 40px;
  z-index: -1;
  transition: all 0.5s;
}

.btn-primary-gradient:hover,
.btn-primary-gradient:focus,
.btn-primary-gradient:active {
  color: white;
  box-shadow: none;
}

.btn-primary-gradient:hover::after {
  opacity: 0;
}

.btn-blue {
  background-color: #2a3891;
  border-color: #2a3891;
  color: white;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
  background-color: #309bd2;
  border-color: #309bd2;
  color: white;
  box-shadow: none;
}

.text-button {
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.text-button span {
  margin-left: 5px;
  transition: 0.3s;
}

.text-button:hover span {
  margin-left: 10px;
}

/* FLOAT BTN */
.wsp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0px 10px 15px -7px rgba(0, 0, 0, 0.52);
  -webkit-box-shadow: 0px 10px 15px -7px rgba(0, 0, 0, 0.52);
  -moz-box-shadow: 0px 10px 15px -7px rgba(0, 0, 0, 0.52);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.wsp-float img {
  width: 34px;
  height: 34px;
  filter: brightness(10);
}

.wsp-float:hover {
  text-decoration: none;
  color: white;
  background-color: #18b853;
}

/*///////////////////////// 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;
}

.top-header {
  position: absolute;
  z-index: 5;
  margin: 1rem 2rem;
  width: calc(100% - 4rem);
  left: 0;
  right: 0;
}

.contact-info {
  display: inline-flex;
  align-items: center;
  color: #231f20;
  font-size: 15px;
}

.contact-info span {
  color: #309bd2;
  margin-right: 0.2rem;
}

.contact-info img {
  transition: 0.3s;
}

.contact-info:hover img {
  transform: scale(1.1);
}

.header-logo {
  height: 70px;
}

.collapse {
  justify-content: end;
}

.navbar-nav {
  align-items: center;
}

.navbar {
  z-index: 100;
  padding: 1rem 1.4rem;
  background-color: white;
  border-radius: 20px;
  margin: 3.6rem 2rem 1rem 2rem;
}

.nav-link {
  font-size: 16px;
  font-weight: 400;
  color: #231f20 !important;
  margin: 0 1.2rem !important;
  position: relative;
  padding: 6px 0px !important;
}

.nav-link.active-nav {
  font-weight: 600;
}

.navbar .nav-item .nav-link::after,
.navbar-light .navbar-nav > .nav-link.active::after {
  content: "";
  background-color: #2a3891;
  height: 2px;
  width: 28px;
  border-radius: 15px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: -5;
  opacity: 0;
  transition: all 0.3s;
  transform: translateY(20px);
}

.navbar .nav-item a:hover::after,
.navbar .nav-item .active-nav::after {
  content: "";
  opacity: 1;
  transform: translateY(0px);
}

.nav-item.in a::after,
.nav-item.in:hover a::after {
  content: none;
}

/* Desplegable */
.dropdown-menu {
  width: 280px !important;
  border-radius: 5px !important;
  border: 0;
  padding: 1rem;
  text-align: left;
  align-items: baseline;
}

.dropdown-menu-divider {
  width: 100%;
  height: 1px;
  background-color: #2a389118;
  margin: 0.8rem 0;
}

.dropdown-menu a {
  color: #231f20 !important;
  font-size: 16px;
  position: relative;
  display: block;
  transition: 0.3s;
}

.dropdown-menu li {
  position: relative;
  width: 100%;
}

.dropdown-menu li::after {
  content: "\e5c8";
  font-family: "Material Icons";
  color: #2a3891;
  top: 0;
  position: absolute;
  right: 0;
  opacity: 0;
  transition: 0.3s;
}

.dropdown-menu li:hover::after {
  opacity: 1;
}
.dropdown-menu li:hover a {
  color: #2a3891 !important;
}

.navbar.bsnav-sticky.bsnav-sticky-slide.sticked.in {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 8px 15px -5px,
    rgba(0, 0, 0, 0.25) 0px 4px 10px -8px;
  top: 0;
  margin: 1rem 2rem 1rem 2rem;
}

/* Bs nav para el menú mobile */
.navbar-toggler {
  right: 20px;
}

.bsnav-sticky.bsnav-sticky-slide.navbar-toggler-icon,
.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon::after,
.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon::before {
  transition: 0.3s !important;
}

.navbar.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon,
.navbar.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon::after,
.navbar.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon::before {
  background-color: #434746 !important;
}

.navbar-toggler.toggler-spring.active .navbar-toggler-icon {
  transition-delay: 0.22s;
  background-color: transparent !important;
}

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

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

.bsnav-mobile .navbar.bsnav-dark {
  background: #fff !important;
  width: 290px;
  padding: 0px 0 15px;
  box-shadow: 2px 2px 8px -2px rgba(0, 0, 0, 0.45);
  -webkit-box-shadow: 2px 2px 8px -2px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 2px 2px 8px -2px rgba(0, 0, 0, 0.45);
}

.bsnav-dark {
  margin: 1rem;
}

.bsnav-mobile {
  z-index: 1000;
}

/*//////////////////////// MAIN-HERO ////////////////////////////*/
.main-section {
  height: 100vh;
  position: relative;
  line-height: 1.2;
  overflow: hidden;
  padding: 4rem 2rem 2rem 2rem;
  background-image: url(../images/bg-hero.svg);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-title {
  font-size: 60px;
  line-height: 0.91;
  margin-top: 2rem;
}

.main-title-bottom {
  font-size: 52px;
  line-height: 1;
}

.text-shadow {
  text-shadow: 1px 3px 6px rgba(0, 0, 0, 0.233);
}

.main-section .carousel {
  height: calc(100% - 7.5rem);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 7.5rem;
}

.main-section .carousel-inner {
  height: 100%;
}

.main-section .carousel-item,
.main-section .carousel-item.active {
  height: 100%;
}

.main-section .carousel-item img,
.main-section .carousel-item.active img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}

.main-section .carousel-caption {
  bottom: 0;
  z-index: 10;
  position: absolute;
  top: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 90%;
  max-width: 650px;
  left: 10%;
  right: auto;
  transition: 0.3s;
  text-align: left;
}

.hero-dots {
  position: absolute;
  bottom: 5%;
  z-index: 50;
  left: 0;
  right: 0;
}

.main-section .carousel-indicators {
  align-items: center;
  position: relative;
  margin: auto;
}

.main-section .carousel-indicators li {
  width: 20px;
  height: 10px;
  background-color: #ffffff40;
  border-radius: 10px;
  box-sizing: border-box !important;
  background-clip: border-box;
  border: 0 !important;
}

.main-section .carousel-indicators li.active {
  width: 50px;
  height: 10px;
  background-color: #fff;
}

.senasa-slide {
  width: 100% !important;
  max-width: 400px !important;
  object-fit: contain !important;
  height: auto !important;
}

/*///////////////////////// animation zoom /////////////////////////*/

.animaZoom {
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.infinite-zoom {
  -webkit-animation: zoomSlow 35s infinite linear;
  -moz-animation: zoomSlow 35s infinite linear;
  animation: zoomSlow 35s infinite linear;
}

@-webkit-keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/*///////////////////////// Nosotros //////////////////////////*/
.about-us {
  padding: 6rem 0;
  position: relative;
  background-image: url(../images/bg-about.svg);
  background-size: auto;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.senasa {
  height: 80px;
  width: auto;
  margin: 1.9rem auto 0 auto;
  display: block;
}

/* Animación logo */
.rotate-text-container {
  position: absolute;
  width: 155px;
  height: 155px;
  right: -3rem;
  top: -3rem;
}

.rotate-text-img {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 85px;
  height: 72px;
  transform: translate(-50%, -50%);
  z-index: 5;
  overflow: hidden;
}

.rotate-text-img img {
  width: 100%;
  height: 100%;
}

.rotate-text-text {
  width: 168px;
  height: 168px;
  animation: girar 10s linear infinite;
  background: white;
  border-radius: 50%;
  border: 8px solid white;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*///////////////////////// Servicios //////////////////////////*/
.services {
  padding: 4rem 0;
  background-image: url(../images/bg-servicios.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 1.4rem;
  border-radius: 20px;
}

#servicesCarousel .f-carousel__slide {
  width: 25%;
  padding: 0.4rem;
  position: relative;
}

.service-container {
  height: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  padding: 1.4rem;
  text-align: left;
  position: relative;
  transition: all 0.5s;
  overflow: hidden;
  background-color: white;
  border-radius: 20px;
  margin-bottom: 1.6rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  z-index: 5;
  position: relative;
}

.service-title {
  position: relative;
  z-index: 5;
  color: #2a3891;
  transition: 0.3s;
  font-weight: 700;
  transform: translateY(40px);
}

.service-description {
  color: #231f20;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 17px;
  z-index: 5;
  position: relative;
  transition: 0.3s;
  transform: translateY(40px);
}

.service-container .text-button {
  z-index: 5;
  position: relative;
  color: #309bd2;
  transform: translateY(100px);
}

.service-img {
  opacity: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: 0.3s;
}

.service-container-overlay {
  width: 100%;
  height: 230px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  opacity: 0;
}

.service-container:hover .service-img {
  opacity: 1;
}

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

.service-container:hover .service-title,
.service-container:hover .service-description {
  color: white;
  transform: translateY(0px);
}

.service-container:hover .text-button {
  transform: translateY(0px);
}

/*///////////////////////// Ubicacion //////////////////////////*/
.location {
  padding: 5rem 0;
  background-image: url(../images/bg-ubicacion.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 5%;
  margin: 3rem 0;
}

.custom-list {
  padding-left: 0;
  list-style: none;
}

.custom-list li {
  margin-bottom: 0.6rem;
}

.custom-list li::before {
  content: "\e5ca";
  font-family: "Material Icons";
  color: #309bd2;
  margin-right: 0.4rem;
  top: 0.2rem;
  position: relative;
}

.three-cols-list {
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
}

.two-cols-list {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

/*///////////////////////// FAQS //////////////////////////*/
.faqs {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f3f5f5, #ffffff);
}

.accordion-divider {
  width: 100%;
  height: 1px;
  background-color: #2a389128;
}

.accordion .card {
  border-radius: 0px !important;
  border: 0;
  margin-bottom: 0;
  background-color: transparent;
  transition: 0.3s;
}

.accordion .card-header {
  background-color: transparent !important;
  padding: 0;
  border: 0;
}

.accordion .card-header .btn {
  text-transform: none;
  font-size: 18px;
  font-weight: 600;
  font-family: "Encode Sans", sans-serif;
  padding: 1.2rem 3.2rem 1.2rem 0rem;
  width: 100%;
  color: #2a3891;
  transition: 0.3s;
  background-color: transparent;
}

.accordion .btn:focus {
  box-shadow: none;
}

.accordion .card-body {
  padding: 0 0 1rem 0;
  background-color: transparent;
}

.accordion button::after {
  content: "\e931";
  font-family: "Material Symbols Outlined";
  position: absolute;
  right: 1.2rem;
  top: 1rem;
  transition: 0.3s;
  color: #309bd2;
}

.accordion button.collapsed::after {
  content: "\e145";
  font-family: "Material Symbols Outlined";
}

/*///////////////////////// Testimonios //////////////////////////*/
.testimonials {
  padding: 6rem 0;
  background-image: url(../images/bg-testimonios.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 1.4rem;
  border-radius: 20px;
}

#testimonialsCarousel .f-carousel__slide {
  width: 50%;
  padding: 0.4rem;
  position: relative;
}

.f-carousel__dot {
  width: 12px;
  height: 12px;
  background-color: #ffffff38;
}

.f-carousel__dots li {
  opacity: 1;
  margin: 1rem 0.2rem !important;
}

.f-carousel__dots li button {
  width: 12px;
  height: 12px;
}

.f-carousel__dots li.is-current button {
  width: 50px;
  height: 12px;
  background-color: white;
  border-radius: 10px;
}

.f-carousel__dots li.is-current .f-carousel__dot {
  background-color: white;
}

.testimonial-container {
  background-color: #ffffff;
  padding: 1.4rem 3rem 1.4rem 1.4rem;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: baseline;
  border-radius: 20px;
  position: relative;
  margin-bottom: 1.4rem;
}

.testimonial-container::before {
  content: url(../images/quote.svg);
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.testimonial-stars {
  height: 18px;
  width: auto;
  margin-bottom: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.testimonial-author img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
}

/*///////////////////////// Novedades //////////////////////////*/
.news {
  background-color: #dee5e4c9;
  padding: 4rem 0;
}

.card-news {
  border-radius: 20px;
  transition: 0.3s;
  overflow: hidden;
  color: #1a2b3c;
  background-color: #2a3891;
  outline: 2px solid #f3f4f5;
  outline-offset: -1px;
  transition: 0.3s;
}

.card-news:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-news:hover img {
  opacity: 0.5;
}

.card-news img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: 0.3s;
}

.card-news-txt {
  padding: 1rem;
  overflow: hidden;
  background-color: #ffffff;
}

.card-news-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 21px;
  font-weight: 700;
  color: #2a3891;
  font-family: "Encode Sans", sans-serif;
}

.card-news-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
}

.card-news-txt .text-button {
  transform: translateY(200px);
}

.card-news:hover .text-button {
  transform: translateY(0);
}

/*///////////////////////// FOOTER //////////////////////////*/
footer {
  background: url("../images/bg-footer.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  color: white;
  padding: 4rem 0 0 0;
  position: relative;
  border-radius: 50px 50px 0 0;
}

footer::after {
  content: "";
  width: 100%;
  height: 200px;
  background-color: #dee5e4c9;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

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

footer h6 {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

footer h6::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: #1173a4;
}

footer ul {
  padding-left: 0;
}

footer ul li {
  list-style: none;
  margin: 0.8rem 0px;
}

footer ul li a {
  font-size: 16px;
  color: #fff;
  transition: 0.3s;
}

footer ul li a span,
footer ul li p span {
  color: #1173a4;
}

footer ul li a:hover {
  color: #1173a4;
}

footer ul li p,
footer ul li a {
  display: flex;
  align-items: start;
}

.data-fiscal {
  width: 60px;
}

.orange {
  color: #ff8800;
}

.social-media-container {
  display: flex;
  align-items: center;
}

.social-media-container a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #309bd2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  margin-right: 0.6rem;
}

.social-media-container img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: 0.3s;
  filter: brightness(10);
}

.social-media-container a:hover {
  background-color: #1173a4;
}

.social-media-container a:hover img {
  transform: scale(1.1);
}

.copy-end {
  background-color: #1b245e;
  margin-top: 4rem;
}

.copy-end p {
  font-size: 14px;
  color: #959595;
}

.copy-end img {
  max-width: 20px;
}

/*///////////////////////// INTERNAS ////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////*/

/* Institucional */
.section-header {
  min-height: 520px;
  background: url(../images/bg-section-header.svg) #fff;
  padding: 10rem 0 3rem 0;
  background-position: right bottom;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.section-header-container {
  background-color: white;
  padding: 1.4rem;
  border-radius: 20px;
  overflow: hidden;
}

.bread-nav {
  display: flex;
  align-items: center;
}

.bread-nav a {
  color: #231f20;
  padding-right: 0.2rem;
  font-size: 15px;
  transition: 0.3s;
}
.bread-nav a:hover {
  font-weight: 500;
}

.current-link {
  color: #309bd2 !important;
  position: relative;
  padding-left: 1rem;
}

.current-link::before {
  content: "\e315";
  font-family: "Material Icons";
  color: #309bd2;
  position: absolute;
  left: 0;
  bottom: 0;
  line-height: 1.2;
}

.about-internal {
  padding: 4rem 0;
}

#sobre-nosotros {
  scroll-margin-top: 16rem;
}

.btn-nav {
  background-color: #dee5e4;
  border-color: #dee5e4;
  color: #2a3891;
  opacity: 0.7;
  display: flex !important;
  gap: 0.6rem;
  white-space: nowrap;
  font-weight: 600;
  padding: 12px 30px;
  position: relative;
  z-index: 1;
  border: 0;
  transition: 0.3s !important;
}

.btn-nav img {
  height: 22px;
  width: auto;
  transition: 0.3s;
}

.btn-nav::before {
  background: linear-gradient(to right, #309bd2, #2a3891);
}

.btn-nav::after {
  background: #dee5e4;
}

.btn-nav::before,
.btn-nav::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform-origin: right;
  border-radius: 40px;
  z-index: -1;
  transition: all 0.5s;
}

.btn-nav:hover,
.btn-nav:focus,
.btn-nav:active,
.btn-nav.active {
  color: white;
  box-shadow: none;
}

.btn-nav:hover::after,
.btn-nav.active::after {
  opacity: 0;
}

.btn-nav:hover,
.btn-nav.active {
  opacity: 1;
}

.btn-nav:hover img,
.btn-nav.active img {
  filter: brightness(10);
}

#specialitiesCarousel .f-carousel__slide {
  width: 65%;
  padding: 0.6rem;
  position: relative;
}

.speciality-container {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 3rem 1.4rem;
  height: 350px;
  margin-bottom: 2rem;
  transition: 0.3s;
}

.speciality-container:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.speciality-container:hover img {
  filter: brightness(1.05);
}

.speciality-description {
  position: relative;
  z-index: 5;
  background-color: #2a3891;
  border-radius: 10px;
  padding: 2rem 1rem 1rem 1rem;
  color: white;
  max-width: 250px;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.speciality-description-light {
  background-color: #309bd2;
}

.speciality-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

#specialitiesCarousel .f-carousel__dot {
  background-color: #2a3891a2;
}

#specialitiesCarousel .f-carousel__dots li.is-current button {
  background-color: #2a3891;
}

#specialitiesCarousel .f-carousel__dots li.is-current .f-carousel__dot {
  background-color: #2a3891;
}

.team {
  padding: 2rem 0 8rem 0;
  background: linear-gradient(to bottom, #f3f5f5, #ffffff);
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  transition: 0.3s;
  object-fit: cover;
}

.team-member:hover img {
  filter: brightness(1.05);
}

.vision {
  padding: 4rem 0;
  background-image: url(../images/bg-mision.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 1.4rem;
  border-radius: 20px;
  color: white;
  margin-top: -4rem;
}

.btn-accordion {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: white !important;
  justify-content: start;
}

.btn-accordion img {
  width: 48px;
  height: 48px;
}

.btn-accordion::after {
  content: "\e931";
  color: #fff !important;
}

.accordion-divider-white {
  background-color: #ffffff60;
}

/*//////////////////  SERVICIOS ///////////////////////
//////////////////////////////////////////////////////*/
.services-section {
  padding: 5rem 0;
}
.service-container-internal {
  background-color: #f3f5f5;
}

.modal-content {
  border-radius: 20px;
  border: 0;
  padding: 2rem 1.6rem;
  position: relative;
}

.close {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  opacity: 0.8;
  z-index: 5;
}

.service-icon-modal {
  width: 90px;
  height: 90px;
  display: block;
  margin: 0 auto;
}

/*//////////////////  CONTACTO ////////////////////////////
///////////////////////////////////////////////////////////*/
.contact-section {
  padding: 5rem 0;
}

.contact-section-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.contact-section-block img {
  width: 55px;
  height: 55px;
}

.contact-section-block a {
  color: #231f20;
  transition: 0.3s;
}

.contact-section-block a:hover {
  color: #309bd2;
}

.contact-divider {
  width: 100%;
  height: 2px;
  background-color: #dee5e4;
  margin-bottom: 1.6rem;
}

.form-container {
  background-color: #f3f5f5;
  border-radius: 20px;
  padding: 1.8rem;
}

/*/ Formulario /*/
.form-control {
  border: 1px solid #2a38912a;
  border-radius: 20px;
  transition: 0.3s;
  font-weight: 300;
  color: #434746;
  background: white;
  transition: 0.3s;
}

form label {
  font-weight: 600;
  color: #2a3891;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 0.4rem;
}

.form-control:hover,
.form-control:focus {
  border-color: #2a3891;
  background: white;
  box-shadow: none;
  color: #434746e3;
}

.form-control::placeholder {
  color: #434746e3;
}

.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: #ffffffad url(../images/loading.gif) center no-repeat;
}

.loading {
  display: none;
}

/*////////////////////// RESPONSIVE //////////////////*/
@media (max-width: 1600px) {
  .navbar {
    padding: 1rem 1.2rem;
  }

  .header-logo {
    height: 60px;
  }
  .nav-link {
    margin: 0 0.6rem !important;
  }
}

@media (max-width: 1440px) {
  .location {
    padding: 4rem 0;
    background-position: -5%;
  }
}

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

  .navbar-brand {
    margin: 0;
  }

  .nav-link,
  .nav-item .btn,
  .dropdown-menu a {
    font-size: 15px;
  }

  .main-section .carousel {
    height: calc(100% - 6.5rem);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 6.5rem;
  }
}

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

  .nav-link {
    margin: 0 0.4rem !important;
  }

  .location {
    background-position: -20%;
  }
}

@media (max-width: 1199px) {
  .nav-item {
    width: 100%;
  }
  .navbar-nav {
    align-items: start;
  }
  .dropdown-menu {
    width: calc(100% - 2rem) !important;
    padding: 1rem 1rem 1rem 2rem !important;
  }
}

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

  .main-section .carousel {
    height: calc(100% - 7.5rem);
    margin-top: 7.5rem;
  }

  .rotate-text-container {
    width: 145px;
    height: 145px;
    right: 1rem;
    top: -3rem;
  }

  .rotate-text-img {
    position: absolute;
    top: 53%;
    left: 58%;
  }

  #servicesCarousel .f-carousel__slide {
    width: 50%;
  }

  .location {
    background-position: -90%;
    background-size: 80%;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }

  .navbar,
  .navbar.bsnav-sticky.bsnav-sticky-slide.sticked.in {
    margin: 1rem;
  }

  .navbar-brand {
    display: block;
  }

  .nav-item > .navbar-nav .nav-item {
    margin: 0;
  }

  .nav-item > .navbar-nav {
    padding: 0 15px;
  }

  .main-section {
    padding: 1rem;
  }

  .services,
  .testimonials,
  .vision {
    margin: 1rem;
  }

  .location {
    background-image: none;
  }

  .section-header {
    padding: 8rem 0 3rem 0;
  }

  #specialitiesCarousel .f-carousel__slide {
    width: 85%;
  }
}

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

  .header-logo {
    height: 55px;
  }

  .main-section .carousel {
    height: calc(100% - 6.5rem);
    margin-top: 6.5rem;
  }

  .main-section .carousel-caption {
    width: 90%;
    left: 0;
    right: 0;
  }

  .main-title {
    font-size: 46px;
  }

  .location {
    padding: 4rem 0 1rem 0;
  }

  .three-cols-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }

  .two-cols-list {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }

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

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

  footer ul li a,
  .contact-section-block a {
    word-break: break-word;
  }

  .copyright {
    flex-wrap: wrap;
  }

  .copyright a {
    margin: 5px auto 0px auto;
  }

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

  .section-header {
    min-height: 650px;
    padding: 7rem 0 7rem 0;
  }
  .section-header-container {
    margin: 1rem;
  }

  #specialitiesCarousel .f-carousel__slide {
    width: 95%;
  }

  .modal-content {
    padding: 1.4rem .2rem;
    position: relative;
  }
}

@media (max-width: 375px) {
}

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

  .bsnav-mobile .navbar.bsnav-dark {
    width: 230px;
  }
}
