/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --color-default: #fafafa;
  --color-primary: #27a776;
  --color-secondary: #ffffff;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*.class #id*/
body {
  background: #fff;
  color: #444;
  font-family: 'Poppins', sans-serif;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #32cf93;
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  display: none;
  background: #153d64;
  color: #fff;
  padding: 6px 12px 9px 12px;
  font-size: 16px;
  border-radius: 2px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
}

.back-to-top:focus {
  background: #A8C915;
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: #A8C915;
  color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 30px 10px 20px;
  background-color: #ffffff;
}

.header .logo {
  transition: 0.3s;
}

.header .logo img {
  max-height: 50px;
  margin-right: 8px;
  padding: 0px 0px 0px 105px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 400;
  color: #fff;
  font-family: var(--font-secondary);
}

.header .logo i {
  font-size: 32px;
  margin-right: 8px;
  line-height: 0;
}

@media (max-width: 575px) {
  .header .logo h1 {
    font-size: 26px;
  }

  .header .logo i {
    font-size: 24px;
  }
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: #153d64;
  padding-left: 15px;  
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: #A8C915;
}

@media (max-width: 575px) {
  .header .header-social-links a {
    padding-left: 5px;
  }
}



/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/

#intro {
  width: 100%;
  height: 80vh;
  position: relative;
  background-size: cover;
}

#intro .intro-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  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;
}

#intro .intro-content h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 64px;
  font-weight: 700;
}

#intro .intro-content h2 span {
  color: #A8C915;

}

#intro .intro-content .btn-get-started,
#intro .intro-content .btn-projects {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 20px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
}

#intro .intro-content .btn-get-started {
  background: #153d64;
  border: 2px solid #153d64;
  width: 220px;
}

#intro .intro-content .btn-get-started:hover {
  background: none;
  color: #153d64;
}

#intro .intro-content .btn-projects {
  background: #A8C915;
  border: 2px solid #A8C915;
  width: 220px;
}

#intro .intro-content .btn-projects:hover {
  background: none;
  color: #A8C915;
  border-radius: 40px;

}

#intro #intro-carousel {
  z-index: 8;
}

#intro #intro-carousel::before {
  content: '';
  /*background-color: rgba(255, 255, 255, 0.7);*/
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 7;
}

#intro #intro-carousel .item {
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition-property: opacity;
  position: relative;
}

#intro-carousel .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Aquí controlas la oscuridad de la superposición 
  rgb(115,211,4)
  rgb(4,91,252)
  rgb(252,164,28)
  
*/
  z-index: 1;
}

/*--------------------------------------------------------------
Intro Servicios
---------------------------------------------------------------*/

#intro-s {
  width: 100%;
  height: 40vh;
  position: relative;
  /*background: url("../img/intro-carousel/intro0.jpg") no-repeat;*/
  background-size: cover;
}

#intro-s .intro-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  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;
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 400;
    color: #153d64;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #A8C915;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--color-secondary);
    transition: 0.3s;
    border-radius: 4px;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: #A8C915;
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: #ffffff;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
    color: #153d64;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #A8C915;
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid black;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    color: #153d64;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin: 0 10px 0 10px;
  }

  .mobile-nav-hide {
    color: #153d64;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(22, 23, 24, 0.8);
    z-index: 9996;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Sections Header
--------------------------------*/

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  color: #153d64;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
  text-align: left;
}

.section-header h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 70px;
  height: 3px;
  background: #ffa516;
  bottom: 0;
  left: 0;
}

.section-header p {
  padding: 0;
  margin: 0;
}

/* About Section
--------------------------------*/

#about {
  padding: 30px 0 30px 0;
}

#about .about-img {
  overflow: hidden;
}

#about .about-img img {
  margin-left: 100px;
  max-width: 100%;
}

#about .content h2 {
  color: #153d64;
  font-weight: 720;
  font-size: 30px;
  font-family: 'Poppins', sans-serif;

}

#about .content h3 {
  color: #ffa516;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;

}

#about .content p {
  line-height: 26px;
}

#about .content p:last-child {
  margin-bottom: 0;
}

#about .content i {
  font-size: 20px;
  padding-right: 4px;
  color: #A8C915;
}

#about .content ul {
  list-style: none;
  padding: 0;
}

#about .content ul li {
  padding-bottom: 10px;
  text-align: justify;
}

/* Services Section
--------------------------------*/

#services {
  padding: 30px 0 0 0;
}

#services .box {
  padding: 40px;
  height: 280px;
  margin-bottom: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #fff;
  transition: 0.4s;

}

/*centrar tabla div */
#unico {
  transform: translate(50%, 0%);
}

#services .box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

#services .box .icon {
  float: left;
  margin-left: -20px;
}

#services .box .icon i {
  color: #fff;
  font-size: 64px;
  transition: 0.5s;
  line-height: 0;
  margin-top: 34px;
  align-self: left;

}


#services .box .icon i:before {
  background: #153d64;
  background: linear-gradient(45deg, #A8C915 0%, #a3ebd5 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#services .box h4 {
  margin-left: 100px;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 22px;
}



#services a {
  color: #444;
}

#services .box p {
  font-size: 14px;
  margin-left: 100px;
  margin-bottom: 0;
  line-height: 24px;
}



/* Valores Section
--------------------------------*/

#valores {
  margin-top: 10px;
  padding: 30px 0 0 0;
}

#valores .box {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Alinea el contenido espaciando uniformemente */
  min-height: 300px; /* siempre debe ser mayor a lo que este en el texto, dejar colchon*/
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #fff;
  transition: 0.4s;

}

#valores .box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

#valores .box h4 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 30px;
  color: #A8C915;
}

#valores .box p {
  font-size: 16px;
  text-align: justify;
}


/* Ambiente Section
--------------------------------*/

#ambiente {
  padding: 30px 0 30px 0;
}

#ambiente .ambiente-img {
  overflow: hidden;
}

#ambiente .ambiente-img img {
  margin-left: 8px;
  max-width: 100%;
}

#ambiente .content h2 {
  color: #153d64;
  font-weight: 720;
  font-size: 40px;
  font-family: 'Poppins', sans-serif;

}

#ambiente .content h3 {
  color: #ffa516;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;

}

#ambiente p {
  text-align: justify;
}

#ambiente .content p {
  line-height: 26px;
}

#about .content p:last-child {
  margin-bottom: 0;
}

#about .content i {
  font-size: 20px;
  padding-right: 4px;
  color: #A8C915;
}

#about .content ul {
  list-style: none;
  padding: 0;
}

#ambiente .content ul li {
  padding-bottom: 10px;
  text-align: justify;
}

/* Partners Section
--------------------------------*/

#partners {
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  height: 350px;
  padding: 20px;
  padding-top: 40px;
}


#partners .owl-nav,
#partners .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#partners .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#servicio h3 {
  color: #153d64;
}

#partners .owl-dot.active {
  background-color: #A8C915;
}

#partners img {
  max-width: 80%;
  transition: 0.3s;
  padding: 5px 0;
  text-align: center;

}

#partners img:hover {
  opacity: 1;
}

#listImages {
  text-align: center;
  padding: 20px;
  white-space: nowrap;
  overflow-x: auto;
  /* Permite el desplazamiento horizontal si las imágenes no caben */
}

#listImages img {
  vertical-align: middle;
  /* Alinea verticalmente las imágenes */
  max-height: 100px;
  /* Altura máxima para las imágenes */
  margin: 0 10px;
  /* Espaciado uniforme alrededor de las imágenes */
  display: inline-block;
  /* Las imágenes se muestran en línea */
  width: auto;
  /* Mantiene la proporción de las imágenes */
}

/* Asegúrate de que las imágenes se escalen bien en dispositivos móviles */
@media (max-width: 768px) {
  #listImages img {
    max-height: 80px;
    /* Altura más pequeña para dispositivos móviles */
  }
}

/* Services Page Section
--------------------------------*/

/*--------Principal Section----------*/

#serv-principal {
  background-color: white;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 500px;
  padding: 20px;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Centrar contenido verticalmente */
  text-align: center;
  /* Centrar contenido horizontalmente si es necesario */
  height: auto;
}
/*---------Dark Section---------*/

#serv-dark {
  background-color: #153d64;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 300px;
  padding: 20px;
  padding-top: 40px;

}

#serv-dark h2 {
  color: white;
}

#serv-dark h4 {
  color: white;
  font-size: 20px;
  text-align: justify;
}

#serv-dark img {
  max-width: 100%;
  transition: 0.3s;
  padding: 5px 0;
  text-align: center;

  border-radius: 15px 15px 15px 15px;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;
  border: 0px solid #000000;
}

/*--------White Section----------*/

#serv-white {
  background-color: white;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  height: 300px;
  padding: 20px;
  padding-top: 40px;

}

#serv-white h2 {
  color: #153d64;
  text-align: justify;
}

#serv-white h4 {
  color: black;
  font-size: 20px;
  text-align: justify;
}

#serv-white img {
  max-width: 100%;
  transition: 0.3s;
  padding: 5px 0;
  text-align: center;

  border-radius: 15px 15px 15px 15px;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;
  border: 0px solid #000000;
}

#izquierda {
  float: left;

}

#derecha {

  float: right;
  text-align: center;

}


/* Clients Section
--------------------------------*/

#clients {
  padding: 30px 0;
}

#clients img {
  max-width: 90%;
  opacity: 0.5;
  transition: 0.3s;
  padding: 5px 0;
  text-align: center;

}

#clients img:hover {
  opacity: 1;
}

#clients .owl-nav,
#clients .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#clients .owl-dot.active {
  background-color: #A8C915;
}

/* Our Portfolio Section
--------------------------------*/

#portfolio {
  background: #fff;
  padding: 30px 0;
}

#portfolio .portfolio-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all ease-in-out 0.4s;
}

/*Divisiones*/
#centrado {

  justify-content: center;

}

/* Call To Action Section
--------------------------------*/

#call-to-action {
  /*background: #29317A;*/
  /*background: #262626;*/
  background-color: #153d64;
  background-size: cover;
  padding: 40px 0px 10px 15px;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

#call-to-action .cta-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #A8C915;
  border: 3px solid #ffa516;
}
 .cta-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #153d64;
  color: #153d64;
}

.cta-btn:hover {
  background: #A8C915;
  border: 3px solid #ffa516;
}

/* Contact Section
--------------------------------*/

#contact {
  padding: 30px 0;
  /*background-color: #262626;*/
}

#contact .contact-info {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  text-align: center;
}

/*ícono*/
#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 3px;
  color: #A8C915;
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: #444;
}

#justificar {
  text-align: justify;
}

/*Texto grande*/
#contact .contact-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffa516;
}

#contact .contact-info a {
  color: #444;
}

#contact .contact-info a:hover {
  color: #153d64;
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  margin-bottom: 20px;
}

#contact #google-map {
  height: 290px;
  margin-bottom: 20px;
}


#contenedor {
  margin: auto;
  width: 100%;
  height: 550px;

}

#datos {
  margin: auto;
  margin: 20px;
  width: 40%;
  float: left;

}

#mapa {
  margin: auto;
  margin: 20px;

  width: 52%;
  float: right;
  margin-top: 95px;

}

/*-------------------------------------------------------------
    Escribe section
    ---------------------------------------------------------*/

#escribe {
  background: #fff;
  padding: 40px;
}

#escribe .form #sendmessage {
  color: #153d64;
  border: 1px solid #153d64;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#escribe .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#escribe .form #sendmessage.show,
#escribe .form #errormessage.show,
#escribe .form .show {
  display: block;
}

#escribe .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#escribe .form input,
#escribe .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#escribe .form button[type="submit"] {
  background: #153d64;
  border: 0;
  border-radius: 3px;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

#escribe .form button[type="submit"]:hover {
  background: #A8C915;
}

#lista {
  font-size: 15px;
  margin-left: 20px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/


#footer .copyright {
  color: #fff;
  text-align: center;
  padding-top: 5px;

}


@media (min-width: 768px) {

  #contact .contact-address,
  #contact .contact-phone,
  #contact .contact-email {
    padding: 10px 0;
  }

  #contact .contact-phone {
    border-top: 1px solid #153d64;
    border-bottom: 1px solid #153d64;
  }
}

@media (min-width: 769px) {
  #call-to-action .cta-btn-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }

  #header {
    padding: 20px 0;
    height: 74px;
  }

  #header #logo h1 {
    font-size: 34px;
  }

  #header #logo img {
    max-height: 40px;
  }

  #nav-menu-container {
    display: none;
  }

  #mobile-nav-toggle {
    display: inline;
  }

  #about .about-img {
    height: auto;
  }

  #about .about-img img {
    margin-left: 0;
    padding-bottom: 30px;
  }
}

@media (max-width: 767px) {
  #intro .intro-content h2 {
    font-size: 34px;
  }

  #services .box .box {
    margin-bottom: 20px;
  }

  #services .box .icon {
    float: none;
    text-align: center;
    padding-bottom: 15px;
    background-color: fceef3;
  }

  #services .box h4,
  #services .box p {
    margin-left: 0;
    text-align: center;
  }

  #testimonials .testimonial-item {
    margin: 30px 10px;
  }
}

@media (max-width: 576px) {
  #contact #google-map {
    margin-top: 20px;
  }
}

/* Servicios Especificos  Section
--------------------------------*/
#servicio {
  padding: 40px 0 40px 0;
}

#servicio .box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Alinea el contenido espaciando uniformemente */
  min-height: 350px;
  /* Ajusta este valor según sea necesario para ajustarse al contenido más largo */
  border-radius: 10px;
  /* Bordes redondeados */
  transition: all 0.3s ease-in-out;
}

#servicio .box:hover {
  transform: scale(1.1);
}

#servicio .icon {
  margin: 0 auto 15px auto;
  padding-top: 12px;
  display: inline-block;
  text-align: center;
  width: 60px;
  height: 60px;
}

#servicio .icon i {
  font-size: 36px;
  line-height: 1;
}

#servicio .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#servicio .title a {
  color: #111;
}

#servicio .box:hover .title a {
  color: #153d64;
}

#servicio .description {
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 0;
  text-align: left;
}

#servicio .row p {
  text-align: justify;
}

.box .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  /* Espacio debajo del icono */
  background-size: cover;
  background-position: center;
}

.box h4 {
  margin: 0;
  /* Elimina márgenes predeterminados */
  padding: 0;
  text-align: center;
}

.box p {
  flex-grow: 1;
  /* Permite que el párrafo ocupe todo el espacio disponible */
  text-align: justify;
  margin-top: 10px;
}

/* Asegúrate de que los elementos inferiores (p, y otros posibles botones o links) no empujen hacia arriba el contenido */
.box .footer-content {
  margin-top: auto;
  /* Empuja el contenido inferior hacia abajo */
}

/* Contact Section
--------------------------------*/

#contact {
  padding: 30px 0;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #153d64;
}

#contact .contact-info a {
  color: #000;
}

#contact .contact-info a:hover {
  color: #A8C915;
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  margin-bottom: 20px;
}

@media (min-width: 768px) {

  #contact .contact-address,
  #contact .contact-phone,
  #contact .contact-email {
    padding: 20px 0;
  }
}

@media (min-width: 768px) {
  #contact .contact-phone {
    border: transparent;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;

  }
}

#contact #google-map {
  height: 290px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  #contact #google-map {
    margin-top: 20px;
  }
}

#contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

#contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ffa516;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

#contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

#contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

#contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

#contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

#contact .php-email-form input,
#contact .php-email-form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#contact .php-email-form input::focus,
#contact .php-email-form textarea::focus {
  background-color: #50d8af;
}

#contact .php-email-form button[type=submit] {
  background: #50d8af;
  border: 0;
  border-radius: 3px;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

#contact .php-email-form button[type=submit]:hover {
  background: #2dc899;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Section with background
--------------------------------*/
.section-bg {
  background: #e3eefb;
}

/* Imagenes logo servicios */
#logos {
  text-align: center;
  padding: 5px;

}

#logos img {
  margin-left: 20px;
}

#footer {
  background: #153c64b2;
  padding: 0 0 30px 0;
  font-size: 14px;
  
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #d3d3d3;
}

#footer .credits a {
  color: #ffffff;
}

.icon {
  background-color: #ffffff;
  /* Color de fondo */
  background-blend-mode: multiply;
  /* Mezcla el color de fondo con la imagen del icono */
}

  .box:hover {
    background-color: #f5f5f5; /* cambia ligeramente el fondo */
    transform: translateY(-5px); /* levanta la caja un poco */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* sombra más marcada */
  }
  .box a {
    color: #333;
    text-decoration: none;
  }

  .box {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
  }

  .box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  }

  .box .icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
  }

  .box a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }

  .box a:hover {
    color: #007bff;
  }

  @media (max-width: 768px) {
    .box {
      height: auto;
      padding: 20px 0;
    }
  }
