@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #1f7114d1;
  text-decoration: none;
}

a:hover {
  color: rgba(234, 196, 23, 0.878);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleportfolio-navbaray", sans-serif;
}

.whatsapp-icon,
.call-icon {
  position: fixed;
  bottom: 25px;
  z-index: 2000;
} 

.whatsapp-icon {
  right: 115px; 
}

.call-icon {
  right: 60px; 
} 

.whatsapp-icon a,
.call-icon a {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon a {
  background-color: #25d366;
}

.call-icon a {
  background-color: #09407b;
}

/* Cambios específicos para dispositivos móviles */
@media only screen and (max-width: 767px) {
  .call-icon {
    right: 60px;
  }
}

@media only screen and (min-width: 768px) {
  .call-icon {
    display: none; 
  }
  
  .whatsapp-icon {
    right: 60px; 
  }
}

.cotizacion-btn {
  font-weight: bold;
  color: #28a745; 
  text-decoration: none;
  padding: 10px 15px; 
  border: 2px solid #28a745; 
  border-radius: 5px; 
  transition: background-color 0.3s ease; 
}

.cotizacion-btn:hover {
  background-color: #28a745; /* Cambia el color de fondo al pasar el ratón */
  color: #fff; /* Cambia el color del texto al pasar el ratón */
}

.productos-img {
  width: 90%; 
  height: auto; 
  max-width: 100%;
  border-radius: 5px;
  border: 4px solid #1f7114d1;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 30px;
  z-index: 996;
  background: #1f7114d1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #fbf711;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 72px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
}

#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 0;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "Open Sans", sans-serif;
}

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

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

/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
/* Header Social Links */
.header-social-links {
  margin: 0 50px 0 0;
}

@media (max-width: 768px) {
  .header-social-links {
    margin: 0 0 0 15px;
  }
}

.header-social-links a {
  color: #1f7114d1;
  display: inline-block;
  transition: color 0.3s;
  padding-left: 10px;
  font-size: 16px;
}

.header-social-links a:hover {
  color: rgba(234, 196, 23, 0.878);
  font-weight: bold;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  background-color: #fff; 
}

.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 30px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  color: #1f7114d1; 
  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: rgba(234, 196, 23, 0.878);
}

.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: #fff; 
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  color: #1f7114d1;
}

.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: rgba(234, 196, 23, 0.878);
}

.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 (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}


/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #364146;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #ffffff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(32, 38, 41, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #1f7114d1;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: rgba(234, 196, 23, 0.878);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #1f7114d1;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section - Mejorado con animación y carga optimizada
--------------------------------------------------------------*/
#hero {
  position: relative;
  width: 100%;
  height: calc(75vh - 50px);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden; /* Asegura que nada salga del contenedor */
  background: linear-gradient(
    #1f71140f,
    #1f71140f
    ),
    url("../img/banner-img-4.webp") center center / cover no-repeat;
  animation: fadeInBackground 3s ease-in-out forwards;
}

/* Animación del fondo */
@keyframes fadeInBackground {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#hero h1 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #ffffff;
}

#hero h2 {
  color: #f5f5f5;
  margin-bottom: 30px;
  font-size: 24px;
}

.hero-content {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  color: #fff;
  text-align: center;
  background: rgba(0, 22, 40, 0.6);
  border-radius: 8px;
  animation: fadeInContent 2s ease-in-out forwards;
}

/* Animación para el contenido */
@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Imagen hero */
#hero .hero-img img {
  width: 70%;
  max-width: 600px;
  border-radius: 10px;
  border: 4px solid #1f7114d1;
}

#hero img.img-fluid {
  max-width: 100%; /* Hace que la imagen sea completamente responsive */
  margin-top: 20px; /* Ajusta la posición vertical de la imagen según tu preferencia */
  border-radius: 5px;
}

.img-fluid{
  border-radius: 10px;
  border: 4px solid #1f7114d1;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  #hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  #hero h2 {
    font-size: 20px;
  }

  #hero .hero-img img {
    width: 60%;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 100vh;
  }

  #hero .hero-img img {
    width: 50%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 30px 20px; /* Ajuste de espaciado para dispositivos móviles */
  overflow: hidden;
}

.section-bg {
  background-color: #f7f8f9;
}

.section-title {
  text-align: center;
  padding-bottom: 20px; /* Ajuste de espaciado para dispositivos móviles */
}

.section-title h2 {
  font-size: 24px; /* Tamaño de fuente reducido para dispositivos móviles */
  font-weight: 400;
  margin-bottom: 15px; /* Ajuste de espaciado para dispositivos móviles */
  padding-bottom: 0;
  font-family: "Poppins", sans-serif;
  color: black;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 0;
  margin-top: 40px;
}

.about .container {
  padding: 60px 50px;
}

@media (max-width: 992px) {
  .about .container {
    padding: 30px;
  }
}

.about .content h3 {
  font-weight: 400;
  font-size: 32px;
  color: black;
  font-family: "Poppins", sans-serif;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 4px;
  margin-bottom: 0;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #1f7114d1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/* Nuevo estilo para el borde */
.about .about-text-with-border {
  padding: 20px;
  border: 2px solid #1f7114d1;
  border-radius: 8px; /* Bordes redondeados */
  margin-bottom: 20px; /* Espaciado inferior */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  transition: all 0.3s ease-in-out; /* Transición para el hover */
}

.about .about-text-with-border:hover {
  border-color: #1f7114d1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Sombra más profunda al hover */
}

    /* Botones normales */
    .toggle-button {
      background-color: transparent;
      color: #1f7114d1;
      padding: 10px 15px;
      border: 2px solid transparent;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s, border-color 0.3s, color 0.3s;
      margin-right: 10px;
    }

    .toggle-button:hover {
      border-color: rgba(234, 196, 23, 0.878);
      color: rgba(234, 196, 23, 0.878);
    }

    /* Botón activo */
    .toggle-button.active {
      border-color: #1f7114d1;
      color: #1f7114d1;
      font-weight: bold;
    }

    /* Contenedor dinámico */
    .toggle-content-container {
      display: none; /* Ocultar por defecto */
      border: 2px solid transparent; /* Borde invisible por defecto */
      border-radius: 8px;
      padding: 20px;
      margin-top: 20px;
      background-color: #fff;
      color: #333;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      align-items: center;
      justify-content: center;
    }

    /* Mostrar el contenedor dinámico cuando está activo */
    .toggle-content-container.active {
      display: flex; /* Cambiar a flex para alinear los elementos */
    }

    /* Contenido alternante */
    .toggle-content {
      display: none;
    }

    .toggle-content.active {
      display: block;
    }

    /* Aseguramos que "Sobre Nosotros" quede fijo */
    .about-text-with-border {
      margin-bottom: 20px; /* Espacio fijo antes de los botones */
    }

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
  padding-bottom: 40px;
}

.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  border: 0;
  padding: 20px;
  transition: 0.3s;
  color: #364146;
  transition: 0.3s ease-in-out;
  border-radius: 0;
  border-left: 4px solid #fafbfb;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  color: #576971;
}

.features .nav-link p {
  font-size: 14px;
  margin-bottom: 0;
}

.features .nav-link:hover {
  background: #fafbfb;
}

.features .nav-link:hover h4 {
  color: #364146;
}

.features .nav-link.active {
  border-radius: 0;
  border: 0;
  border-left: 4px solid #1f7114d1;
  background: #fafbfb;
}

.features .nav-link.active h4 {
  color: #1f7114d1;
}

.features .tab-pane.active {
  animation: slide-down 0.5s ease-out;
}

.features .tab-content {
  text-align: right;
}

@keyframes slide-down {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .row {
  display: flex;
  flex-wrap: wrap; /* Permite que los cuadros se ajusten en varias filas */
  gap: 15px; /* Espaciado entre los cuadros */
  justify-content: center; /* Centra los cuadros en pantallas más pequeñas */
}

.services .col-12, .services .col-sm-6, .services .col-md-4, .services .col-lg-3 {
  flex: 0 0 auto; /* No ajusta el tamaño del cuadro automáticamente */
  width: 250px; /* Ancho fijo del cuadro */
  height: 350px; /* Altura fija del cuadro */
  display: flex;
  justify-content: center;
}

.services .icon-box {
  width: 100%; /* Asegura que el contenido del cuadro llene el espacio */
  height: 100%; /* Asegura que el cuadro mantenga la altura fija */
  padding: 20px;
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  border-radius: 4px;
  text-align: center;
  border: 3px solid #1f7114; /* Añade un borde verde de 4 px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services .icon-box:hover {
  transform: translateY(-5px);
  border-color: #1f7114d1; /* Oscurece ligeramente el borde al hacer hover */
}


.services .icon i {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 15px;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #111;
  padding: 10px 15px;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
  border: none; /* Elimina el borde */
}

.services .title a:hover,
.services .title a.active {
  background: none; /* Elimina el fondo al pasar el mouse o estar activo */
  border: none; /* Elimina el borde al pasar el mouse o estar activo */
  color: rgba(234, 196, 23, 0.878); /* Cambia el color al amarillo deseado */
}

.services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

/* Estilo para los iconos y colores de cada icon-box */
.services .icon-box-green2 .icon i {
  color: #1f7114d1;
}

.services .icon-box-green2:hover {
  border-color: #1f7114d1;
}

.services .icon-box-green .icon i {
  color: #41cf2e;
}

.services .icon-box-green:hover {
  border-color: #41cf2e;
}

/*--------------------------------------------------------------
# Responsividad (Media Queries)
--------------------------------------------------------------*/

/* Pantallas medianas (tabletas) */
@media (max-width: 991px) {
  .services .col-sm-6 {
    flex: 0 0 auto; /* Mantiene el tamaño fijo */
    margin-bottom: 15px;
  }
}

/* Pantallas pequeñas (teléfonos) */
@media (max-width: 576px) {
  .services .col-sm-6 {
    flex: 0 0 auto; /* Mantiene el tamaño fijo */
    margin-bottom: 15px;
  }

  .services .row {
    justify-content: center; /* Centra los cuadros en pantallas pequeñas */
  }
}


/*-----------------------
  #Portfolio
-----------------------*/

/* PortfolioNavbar */
.portfolio {
  padding-bottom: 40px;
}

#portfolio-navbar {
  text-align: center;
}

#portfolio-navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap !important;
}

#portfolio-navbar li {
  display: inline-block;
  margin-right: 20px;
  white-space: nowrap !important;
}

#portfolio-navbar a {
  text-decoration: none;
  font-size: 16px;
  color: #1f7114d1;
  padding: 10px 15px;
  border-radius: 4px;
  border: 2px solid #1f7114d1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  white-space: nowrap !important;
}

#portfolio-navbar a:hover {
  background: #fafbfb;
  border-color: rgba(234, 196, 23, 0.878);
  color: rgba(234, 196, 23, 0.878);
}

#portfolio-navbar a.active {
  background: #fafbfb;
  border-color: rgba(234, 196, 23, 0.878);
  color: rgba(234, 196, 23, 0.878);
}

/* Añadir sección @media para dispositivos móviles */
@media only screen and (max-width: 767px) {
  #portfolio-navbar ul {
    text-align: center;
    padding: 10px 0; /* Añade espacio alrededor de la lista */
  }

  @media only screen and (max-width: 768px) {
    #portfolio-navbar {
      display: none;
    }
  }
  #portfolio-navbar li {
    display: block; /* Cambia a disposición de bloque en dispositivos móviles */
    margin: 10px 0; /* Espaciado entre elementos para dispositivos móviles */
  }

  #portfolio-navbar a {
    text-decoration: none;
    font-size: 14px;
    color: #1f7114d1;
    padding: 8px 12px;
    border-radius: 4px;
    border: 2px solid #1f7114d1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: block; /* Cambia a disposición de bloque en dispositivos móviles */
    margin: 0 auto; /* Centra los elementos */
  }

  #portfolio-navbar a:hover,
  #portfolio-navbar a.active {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #fafbfb;
    border-color: rgba(234, 196, 23, 0.878);
    color: rgba(234, 196, 23, 0.878);
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #1f7114d1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  font-family: "Poppins", sans-serif;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: rgba(234, 196, 23, 0.878);
}

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

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #1f7114d1;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #1f7114d1;
  font-size: 14px;
  text-transform: uppercase;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  bottom: 10%;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #1f7114d1;
  margin: 0 2px;
  font-size: 24px;
  display: inline-block;
  transition: 0.3s;
  background: #eaf8ff;
  border-radius: 50px;
  line-height: 0;
  padding: 6px;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #fff;
  color: rgba(234, 196, 23, 0.878);
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  top: calc(50% - 48px);
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: calc(50% - 50px);
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1f7114d1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1f7114d1;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(54, 65, 70, 0.08);
  border: 2px solid #1f7114d1;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../img/cta-bg-2.jpg") center center;
  background-size: cover;
  padding: 80px 0;
}

.cta h3 {
  color: #364146;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #576971;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: #1f7114d1;
}

.cta .cta-btn:hover {
  background: rgba(234, 196, 23, 0.878);
}

@media (min-width: 1024px) {
  .cta {
    background-attachment: fixed;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Portfolio Section Styles */
#portfolio {
  padding: 50px 0; /* Adjust the padding as needed */
}

#portfolio-navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

#portfolio-navbar li {
  margin: 0 15px;
}

#portfolio-navbar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

/*------------------------------------------------------- 
  Testimonials Section Styles 
-------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

/* Establece una altura específica para las imágenes en dispositivos de escritorio */
.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px; /* Altura para dispositivos de escritorio */
}

.testimonial-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 auto;
  display: block;
  border: 4px solid #1f7114d1; /* Marco verde por defecto */
  transition: border-color 0.3s ease-in-out;
}

/* Cambiar a amarillo al pasar el mouse */
.testimonials .testimonial-item .testimonial-img:hover {
  border-color: rgba(234, 196, 23, 0.878); /* Marco amarillo en hover */
}

/* Establece una altura específica para las imágenes en dispositivos de escritorio */
@media only screen and (min-width: 769px) {
  .testimonials .testimonial-item .testimonial-img {
    height: 320px; /* Ajusta la altura según tus necesidades */
  }
}

@media (max-width: 768px) {
  .testimonials .testimonial-item .testimonial-img {
    width: 470px; /* Ajusta el ancho deseado para dispositivos pequeños */
    -webkit-object-fit: cover;
    height: 350px; /* Ajusta la altura deseada */
    object-fit: cover; /* Asegura que las imágenes se recorten proporcionalmente sin deformarse */
    border-radius: 6px; /* Mantén los bordes redondeados */
    margin: 0 auto; /* Centra la imagen */
  }

  .testimonials .testimonial-item {
    min-height: inherit;
    margin-bottom: 20px;
  }
}

/* Resto de los estilos */
.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: #f4f6f7;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-pagination {
  margin-top: auto;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1f7114d1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1f7114d1;
}

/* Estilos del Swiper */
.swiper-container {
  width: 100%;
  padding: 2%;
  box-sizing: border-box;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 2%; /* Distancia entre elementos */
}

.swiper-img {
  width: 100px;
  height: 50px;
  object-fit: contain;
  border-radius: 3px;
  border: 3px solid transparent;
  transition: border-color 0.3s ease-in-out;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 767px) {
  .swiper-slide {
    margin-right: 2%; /* Ajusta la distancia entre elementos para dispositivos móviles */
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: url("../img/") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.team::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 9;
}

.extra-space {
  height: 20px; /* Ajusta la altura según sea necesario para el espacio adicional */
}


.team .container {
  position: relative;
  z-index: 10;
  
}

.team .member {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  
}

.team .member .pic {
  overflow: hidden;
}

.team .member .member-info {
  position: absolute;
  top: 85%;
  left: 20px;
  right: 20px;
  background: #FFF;
  margin-bottom: 100px;
  padding: 20px 0;
  color: #364146;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  max-height: 500px;
  border-color: #1f7114d1;
  border-radius: 10px;
  border: 4px solid #1f7114d1;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.team .member .info2 {
  color: transparent; /* Puedes cambiar esto al color que desees */
  /* Agrega otras propiedades si es necesario */
}

.team .member:hover .member-info {
  max-height: 500px;
  border-color: rgba(234, 196, 23, 0.878);
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: #364146;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #b5c1c6;
  bottom: 0;
  left: calc(50% - 25px);
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #627680;
}

.team .member .social a:hover {
  color: #1f7114d1;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

@media (max-width: 992px) {
  .team .member {
    margin-bottom: 150px;
  }
}
/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .clients-wrap {
  border: 1px solid #eceff0; /* Unifica los bordes en una sola línea */
  margin-top: 20px;
}

.clients .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eceff0;
  overflow: hidden;
  background: #fff;
  height: 200px;        /* Altura base, ajústala según necesidad */
  padding: 10px;        /* Padding reducido para aprovechar el espacio */
}

/* Estilos unificados para las imágenes */
.clients .client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;  /* Se adapta sin recortar */
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  margin: 0 auto;
}

/* Efecto hover */
.clients .client-logo:hover img {
  filter: none;
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Carousel Base Styles
--------------------------------------------------------------*/
.clients-carousel {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Adaptaciones para distintos dispositivos
--------------------------------------------------------------*/
/* Escritorio: Pantallas mayores a 1000px */
@media only screen and (min-width: 1001px) {
  .clients .client-logo {
    height: 250px;
  }
}

/* Rango Intermedio: Pantallas entre 601px y 767px */
@media (min-width: 601px) and (max-width: 767px) {
  .clients .client-logo {
    height: 180px;
  }
}

/* Móviles: Pantallas de 600px o menos */
@media (max-width: 600px) {
  .clients .client-logo {
    height: 140px;
  }
}

/*--------------------------------------------------------------
# Toggle Buttons y otros elementos
--------------------------------------------------------------*/
.toggle-container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.toggle-button {
  padding: 10px 15px;
  min-width: 100px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  color: #1f7114d1;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.toggle-button i {
  font-size: 16px;
  line-height: 0;
  margin-left: 5px;
}

.toggle-button:hover,
.toggle-button.collapsed {
  color: rgba(234, 196, 23, 0.878);
  border: 2px solid rgba(234, 196, 23, 0.878);
  border-radius: 8px;
  padding: 10px 15px;
  transition: border-color 0.3s, padding 0.3s;
}

.toggle-button-less {
  display: none;
  margin-top: 10px;
  cursor: pointer;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #fff;
  text-align: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: 2px solid #e9ecee;
}

.pricing h3 {
  font-weight: 400;
  padding: 20px 15px;
  font-size: 18px;
  font-weight: 400;
  color: #777777;
}

.pricing h4 {
  font-size: 36px;
  color: #1f7114d1;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.pricing h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #444444;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing ul li {
  padding-bottom: 16px;
}

.pricing ul i {
  color: #1f7114d1;
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .btn-wrap {
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: #1f7114d1;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing .featured {
  background: #1f7114d1;
  border-color: #1f7114d1;
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na {
  color: #fff;
}

.pricing .featured .btn-buy {
  background: #fff;
  color: #1f7114d1;
}

.pricing .advanced {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: #1f7114d1;
  color: #fff;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq {
  padding: 60px 0;
}

.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid #e3e7e9;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq .faq-list .question {
  display: block;
  position: relative;
  font-family: #1f7114d1;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-left: 25px;
  cursor: pointer;
  color: #1f7114d1;
  transition: 0.3s;
}

.faq .faq-list i {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 25px;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list .collapsed {
  color: black;
}

.faq .faq-list .collapsed:hover {
  color: #1f7114d1;
}

.faq .faq-list .collapsed .icon-show {
  display: inline-block;
  transition: 0.6s;
}

.faq .faq-list .collapsed .icon-close {
  display: none;
  transition: 0.6s;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  border: 3px solid #1f7114; /* Borde verde de 4 px */
  border-radius: 4px;
}
.contact .info:hover {
  border-color: #1f7114d1; /* Cambia a un verde más oscuro en hover */
}

.contact .info i {
  font-size: 20px;
  color: #1f7114d1;
  float: left;
  width: 44px;
  height: 44px;
  background: #f2f4f5;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #364146;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #627680;
}

.contact .info .social-links {
  padding-left: 60px;
}

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

.contact .info .social-links a:hover {
  background: #1f7114d1;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i,
.contact .info .horario:hover i{
  background: #1f7114d1;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  border: 2px solid #e9ecee;
  border-radius: 4px;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  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 {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #1f7114d1;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: rgba(234, 196, 23, 0.878);
}

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

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

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f4f6f7;
  min-height: 40px;
  margin-top: 70px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 600;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #4c5c63;
  content: "/";
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #f7f8f9;
  padding: 0 0 30px 0;
  color: #364146;
  font-size: 14px;
}

#footer .footer-top {
  background: #fff;
  padding: 60px 0 30px 0;
  border-top: 2px solid #e9ecee;
  border-bottom: 2px solid #e9ecee;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #576971;
}

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

#footer .footer-top .social-links a:hover {
  background: #1f7114d1;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #364146;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #1f7114d1;
  font-size: 18px;
  line-height: 1;
  margin-left: -5px;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #1f7114d1;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #1f7114d1;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  border: 1px solid #e3e7e9;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: -1px;
  right: -2px;
  bottom: -1px;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #1f7114d1;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #1f7114d1;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 8px;
  text-align: center;
  font-size: 13px;
  color: #364146;
}