/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  background: #fff;
  color: #225679;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #79EE94;
  transition: 0.5s;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: #79EE94;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "ADLaM Display", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/*loading-screen*/
  #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 87, 122,1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  #loading-screen .spinner {
    border: 10px solid rgba(0, 0, 0, 0.1);
    border-left-color: #79EE94;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  #loading-screen p {
    margin-top: 20px;
    padding-left: 17px;
    font-size: 2rem;
    font-weight: 700;
    color: #79EE94;
  }


/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #79EE94;
  color: #000;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #225679;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 2.5s linear infinite;
  animation: animate-preloader 2.5s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 20px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
}

#header.header-scrolled,
#header.header-pages {
  height: 60px;
  padding: 10px 0;
}

#header .logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #225679;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 7px 0;
  max-height: 40px;
}

.main-pages {
  margin-top: 60px;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/

#intro {
  width: 100%;
  position: relative;
  background: url("../assets/img/slides/intro-bg-2.png") center bottom no-repeat;
  background-size: cover;
  padding: 200px 0 120px 0;
}

#intro .intro-img {
  width: 50%;
  float: right;
  height: 50%;
  position: relative;
}

#intro .canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  pointer-events: none; /* No bloquea interacciones */
}

#intro .intro-info {
  width: 50%;
  float: left;
}

#intro .intro-info h2 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 600;
}

#intro .intro-info h2 span {
  color: #79EE94;
  /*text-decoration: underline;*/
}
#intro .intro-info p {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  /*text-decoration: underline;*/
}

#intro .intro-info .btn-get-started,
/*#intro .intro-info .btn-servicios {*/
.btn-spk {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 0 20px 20px 0;
  color: #fff;
  border: 2px solid #fff;
}

.btn-spk2 {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 0 20px 20px 0;
  color: #225679;
  border: 2px solid #225679;
}



#intro .intro-info .btn-get-started {
  background: #79EE94;
  border: 2px solid #79EE94;
  color: #fff;
}

#intro .intro-info .btn-get-started:hover {
  background: none;
  border-color: #fff;
  color: #fff;
}

/*#intro .intro-info .btn-servicios {
  border: 2px solid #fff;
}*/

/*#intro .intro-info .btn-servicios:hover { */
.btn-spk:hover {
  background: #79EE94;
  border-color: #79EE94;
  color: #225679;
}
.btn-spk2:hover {
  background: #79EE94;
  border-color: #79EE94;
  color: #225679;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */
.main-nav,
.main-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.main-nav a {
  display: block;
  position: relative;
  color: #225679;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: #79EE94;
  text-decoration: none;
}

.main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.main-nav .drop-down li {
  min-width: 180px;
  position: relative;
}

.main-nav .drop-down ul a {
  padding: 10px 20px;
  font-size: 13px;
  color: #004289;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
  color: #79EE94;
}

.main-nav .drop-down > a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.main-nav .drop-down .drop-down > a {
  padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
}
.flag-active{
  padding-right: 30px;
  line-height: revert;
}
.flag-inactive{
  line-height: 1.6em;
  width: 1.1em;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
}
.carousel-inner {
  padding-left: 4em;
  padding-right: 4em;
}

/* Mobile Navigation */

.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: rgba(19, 39, 57, 0.8);
  transition: 0.4s;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #79EE94;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: FontAwesome;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\f077";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  margin: 18px 18px 0 0;
  color: #004289;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(19, 39, 57, 0.8);
  overflow: hidden;
  display: none;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Sections Header
--------------------------------*/

.section-header h3 {
  font-size: 36px;
  color: #225679;
  text-align: center;
  font-weight: 500;
  position: relative;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 3rem;
  color: #000;
  width: 70%;
}

/* Section with background
--------------------------------*/

.section-bg {
  background: #225679;
}

.section-bg h3 {
  color: #79EE94;
}
.section-bg p {
  color: #fff;
}

/* nosotros Us Section
--------------------------------*/

#nosotros {
  background: #fff;
  padding: 60px 0;
}

#nosotros .nosotros-container .background {
  margin: 20px 0;
}

#nosotros .nosotros-container .content {
  background: #fff;
}

#nosotros .nosotros-container .title {
  color: #333;
  font-weight: 700;
  font-size: 32px;
}

#nosotros .nosotros-container p {
  line-height: 26px;
  font-size: 20px;
}

#nosotros .nosotros-container p:last-child {
  margin-bottom: 0;
}

#nosotros .nosotros-container .icon-box {
  background: #444;;
  background-size: cover;
  padding: 0 0 30px 0;
}

#nosotros .nosotros-container .icon-box .icon {
  float: left;
  background: #fff;
  width: 64px;
  height: 64px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  border-radius: 50%;
  border: 2px solid #007bff;
  transition: all 0.3s ease-in-out;
}

#nosotros .nosotros-container img {
  width: 50%;
  transition: 0.3s;
} 

#nosotros .card-title{
  background-color: #225679;
  color: #fff;
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  margin: 0px;
}
#nosotros .card-title h5{
  margin: 0px;
}
#nosotros .card-text{
  background-color: #225679;
  color: #fff;
  width: 100%;
  padding-left: 2.5rem;
  padding-bottom: 0.5rem;
  font-style: italic;
  margin: 0px;
}
/* servicios Section
--------------------------------*/

#servicios {
  padding: 60px 0 40px 0;
  box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}
#servicios .card {
  margin-bottom: 2rem;
}
#servicios .card-title{
  background-color: #fff;
  color: #225679;
  width: 100%;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin: 0px;
}
#servicios .card-title h5{
  margin: 0px;
  color: #225679;
}
#servicios .card-title h5:hover{
  color: #79EE94;
}
#servicios .card-text{
  background-color: #fff;
  text-align: center;
  color: #225679;
  width: 100%;
  padding: 0.5rem;
  margin: 0px;
}

#servicios .title {
  margin-left: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#servicios .title a {
  color: #111;
}

#servicios .card-title:hover .title a {
  color: #79EE94;
}

#servicios .description {
  font-size: 14px;
  margin-left: 40px;
  line-height: 24px;
  margin-bottom: 0;
}

#lema{
  padding-top: 1.5rem;
  padding-bottom: 1.3rem;
  background-color: #79EE94;
}
#lema i{
  color: #fff;
}

/* proyectos Section
--------------------------------*/

#proyectos {
  padding: 60px 0;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
}

#proyectos #proyectos-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#proyectos #proyectos-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 6px 20px;
  font-size: 12px;
  line-height: 20px;
  color: #225679;
  border-radius: 50px;
  border: 1px solid #225679;
  text-transform: uppercase;
  background: #fff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#proyectos #proyectos-flters li:hover,
#proyectos #proyectos-flters li.filter-active {
  background: #79EE94;
  color: #225679;
  font-weight: 600;
}

#proyectos #proyectos-flters li:last-child {
  margin-right: 0;
}

#proyectos .proyectos-item {
  position: relative;
  overflow: hidden;
  margin: 5px 0px 40px 0px;
  padding: 20px;
  /*border-bottom: 1px solid #225679;*/
}

#proyectos .proyectos-item .proyectos-wrap {
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  margin: 0;
}

#proyectos .proyectos-item .proyectos-wrap:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  transition: 0.2s linear;
}

#proyectos .proyectos-info h5 {
  margin-top: 5px;
  margin-bottom: 3px;
}

#proyectos .proyectos-info p {
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info h4 {
  font-size: 22px;
  line-height: 1px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 0;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info h4 a {
  color: #fff;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info h4 a:hover {
  color: #007bff;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info p {
  padding: 0;
  margin: 0;
  color: #e2effe;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-preview,
#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-details {
  display: inline-block;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #007bff;
  border-radius: 50%;
  margin: 10px 4px 0 4px;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-preview i,
#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #fff;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-preview:hover,
#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-details:hover {
  background: #3395ff;
}

#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-preview:hover i,
#proyectos .proyectos-item .proyectos-wrap .proyectos-info .link-details:hover i {
  color: #fff;
}

#proyectos .proyectos-item .proyectos-wrap:hover {
  background: #003166;
}

#proyectos .proyectos-item .proyectos-wrap:hover .proyectos-info {
  opacity: 1;
}

#proyectos .border-bottom-fade {
  position: relative;
}

#proyectos .border-bottom-fade::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(34, 86, 121, 0) 0%, rgba(34, 86, 121, 1) 50%, rgba(34, 86, 121, 0) 100%);
}

/* contacto Section
--------------------------------*/

#contacto {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 0 25px 0;
  overflow: hidden;
}

#contacto h4,h5,h3{
  color: #fff;
}
#contacto img{
  height: 2.5rem;
}
#contacto .section-header {
  padding-bottom: 30px;
}

#contacto .contacto-about h3 {
  font-size: 36px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #007bff;
}

#contacto .contacto-about p {
  font-size: 14px;
  line-height: 24px;
  font-family: "Open Sans", sans-serif;
  color: #888;
}

#contacto .social-links {
  padding-bottom: 20px;
}

#contacto .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #225679;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: 1px solid #fff;
}

#contacto .social-links a:hover {
  background: #79EE94;
  color: #225679;
  border: 1px solid #79EE94;
}

#contacto .info {
  color: #fff;
}

#contacto .info i {
  font-size: 32px;
  color: #fff;
  float: left;
  line-height: 1;
}

#contacto .info p {
  padding: 0 0 10px 36px;
  line-height: 28px;
  font-size: 14px;
}

#contacto .form #sendmessage {
  color: #007bff;
  border: 1px solid #007bff;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contacto .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contacto .form #sendmessage.show,
#contacto .form #errormessage.show,
#contacto .form .show {
  display: block;
}

#contacto .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contacto .form input,
#contacto .form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}
#contacto .form-control{
  margin-bottom: 0.6em;
}
#contacto .form button[type="submit"] {
  background: #225679;
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 8px 30px;
  color: #fff;
  transition: 0.3s;
}
#contacto .form button[type="submit"]:disabled, 
button[disabled] {
    background-color: #ccc; /* Color de fondo gris */
    color: #666; /* Color del texto */
    cursor: not-allowed; /* Cambia el cursor a "no permitido" */
    opacity: 0.7; /* Reduce la opacidad */
    border: 1px solid #aaa; /* Borde más claro */
}

#contacto .form button[type="submit"]:not(:disabled):hover {
  color: #225679;
  background: #79EE94;
  border: 1px solid #79EE94;
  cursor: pointer;
}

#rueda {
  color: #79EE94;
}
#saveContactTitle {
  color: #225679;
}
#acepto{
  padding: 5px 0px 10px 0px;
  color: #fff;
  font-weight: 700;
}
#acepto input[type="checkbox"]{
  width: 20px; /* Ajusta el tamaño del checkbox */
  height: 20px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
  border-radius: 4px; /* Bordes redondeados */
}
#acepto input[type="checkbox"]:checked {
  background-color: #79EE94; /* Fondo verde */
  color: #225679; /* Color del ícono del checkbox */
  border-color: #79EE94; /* Color del borde */
  appearance: none; /* Elimina el estilo predeterminado del checkbox */
  font-weight: bold;
  content: "✔"; /* Agrega un ícono de check */
}
#acepto a:hover {
  color: #225679;
  background: #79EE94;
  border: 1px solid #79EE94;
  border-radius: 5px;
  cursor: pointer;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background: #fff;
  margin:0;
  padding: 10px 0 10px 0;
  color: #225679;
  font-size: 14px;
}

#footer .btn-spk2 {
  font-size: 12px;
  padding: 5px 10px 5px 10px;
  border: 1px solid;
  margin-top: 12px;
  margin-bottom: 9px;
}
#footer .btn-spk2:hover {
  color: #225679;
  background: #79EE94;
  border-radius: 10px;
  cursor: pointer;
}
/*--------------------------------------------------------------
# cabecera
--------------------------------------------------------------*/
.cabecera h3{
  margin-top: 120px;
  color: #225679;
}


/*--------------------------------------------------------------
# servicio
--------------------------------------------------------------*/
.servicio .section-header {
  padding-top: 30px;
  padding-bottom: 30px;
}

.servicio p {
  font-size: 1.3rem;
}

.servicio .main-img{
  max-height: 18rem;
  text-align: center;
    margin-left: auto;
    margin-right: auto
}

.main-img img{
  max-height: 18rem;
}

.servicio .card img{
  width:auto;
  max-height: 12rem;
  padding-bottom: 0.5rem;
}

.servicio .card {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
} 
.servicio .card h5{
  font-size: 1.2rem;
  text-align: center;
  margin: 0px;
} 

.section-bg .servicio .card h5{
  color: #79EE94;
} 
.clearfix .servicio .card h5{
  color:#225679;
} 
.servicio .card-title {
  margin-bottom: 0.4rem;
}

.section-bg .servicio .card {
  background-color: #225679 !important;
  color: #fff;
} 
/*--------------------------------------------------------------
# modal
--------------------------------------------------------------*/
.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.modal img{
  height: 40px;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  transform: none;
}
.modal.modal-static .modal-dialog {
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  display: flex;
  max-height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}
.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}
.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  color: #225679;
  font-size: 1.6rem;
  font-weight: 400;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
  margin: 0.25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

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

  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
  }

  .modal-sm {
    max-width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg,
.modal-xl {
    max-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

/*--------------------------------------------------------------
# ChatBox styles
--------------------------------------------------------------*/
#chatbot-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background:  #79EE94;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#chatbot-icon i {
  color: white;
}

/* Ventana de chat */
#chatbox-modal {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  height: 395px;
  background: #22567999;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1001;
  font-family: "Open Sans", sans-serif;
}
.chat-box {
  display: flex;
  flex-direction: column;
}
.chat-container {
  display: flex; 
  align-items: center; 
  gap: 5px; 
}
.chat-container img{
  height: 40px; 
}

/* Encabezado */
.chatbox-header {
  background: #22567969;
  color: #79EE94;
  padding: 0px 10px 0px 10px;
  height: 40px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}
.chatbox-header span {
  padding-top:8px;
}

.chatbox-header button {
  background: none;
  padding:0;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* Área de mensajes con scroll */
#chatbox-content {
  height: 300px;
  overflow-y: auto;
  padding: 5px;
  background: #f1f1f1;
}

#chatbox-messages {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.chat-message  {
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 5px;
  max-width: 75%;
}

.received {
  background-color: #79ee94bf; /* Light green */
  align-self: flex-start;
  color: #225679;
}
.received img{
  height:20px;
}

.sent {
  background-color:  #2256795b; 
  align-self: flex-end;
  color: black;
}

/* Input */
#chatbox-input {
  display: flex;
  padding: 10px;
  background: #ffffff;
  border-top: 1px solid #ccc;
  margin-top: 0px;
}

#chatbox-text {
  flex-grow: 1;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#chatbox-input button {
  background: #79EE94;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 5px;
}
button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #4caf50; /* Green */
  color: #fff;
  cursor: pointer;
}
#chatbox-input button:hover {
  background-color: #45a049; /* Darker green */
}

input[type="text"] {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 200px;
  margin-right: 10px;
}


/*-----------  crad-corousel  ---------------------------*/
.card-carousel {
  --card-width: 80%;
  --card-max-width: 280px;
  --card-height: 350px;
  --carousel-min-width: 600px;
  z-index: 1;
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: var(--card-height);
  min-width: var(--carousel-min-width);
  transition: filter .3s ease;
}
.card-carousel.smooth-return {
  transition: all .2s ease;
}

.cardServ {
  background: whitesmoke;
  width: var(--card-width);
  max-width: var(--card-max-width);
  text-align: center;
  padding: 1em;
  min-width: 250px;
  height: var(--card-height);
  position: absolute;
  margin: 0 auto;
  color: rgba(0,0,0,.5);
  transition: inherit;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
  border-radius: 1em;
  filter: brightness(.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cardServ.highlight {
  filter: brightness(1);
}

.cardServ-title{
  margin-top: -1.5em;
}

.cardServ-title a{
  font-family: "ADLaM Display", sans-serif;
  font-size: 1.4em;
  font-weight: 700;
}

.image-container {
  width: 15em;
  height: 15em;
  position: relative;
  background-size: cover;
  margin-bottom: 2em;
  border-radius: 100%;
  padding: 1em;
  -webkit-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
  box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
}

.image-container::after {
  content: "";
  display: block;
  width: 120%;
  height: 120%;
  position: absolute;
  top: calc(-10% - 3px);
  left: calc(-10% - 3px);
}


/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 991px) {
  #header {
    height: 60px;
    padding: 10px 0;
  }

  #header .logo h1 {
    font-size: 28px;
    padding: 8px 0;
  }

  #intro {
    padding: 140px 0 60px 0;
  }

  #intro .intro-img {
    width: 80%;
    float: none;
    margin: 0 auto 25px auto;
    position: relative;
  }

  #intro .intro-info {
    width: 80%;
    float: none;
    margin: auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

@media (max-width: 767px) {
  #intro .intro-info {
    width: 100%;
  }

  #intro .intro-info h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .section-header p {
    width: 100%;
  }
}

@media (max-width: 574px) {
  #intro {
    padding: 100px 0 20px 0;
  }
}