body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #c5bfae;
  background-image: linear-gradient(to right, #e4ae68 0%, #e67409 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #d49433;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}













/* Header Section */
/* Ajusta el contenedor */
.intro {
  display: flex;
  justify-content: center; /* Centra los elementos horizontalmente */
  align-items: center; /* Centra los elementos verticalmente */
  margin-top: 80px;
  width: 100%;
  background: url(../img/intro-bg7.png) center center no-repeat;
  background-color: #fff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 50vw;
  max-height: 100vh;
  overflow: hidden; /* Evita que el contenido se desborde */
}

/* Estilo para el texto OCULTO PORQUE ESTA AGREGADO EN LA IMAGEN*/

/*
.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(53, 52, 52, 0.7); /* Fondo negro con transparencia */
  /*padding: 1vw 1vw; /* 🔹 Aumenta el padding superior e inferior */
  /*display: inline-block;
  border-radius: 5px;
  position: absolute; /* Para que se ubique relativo al contenedor */
  
  /* Posición basada en porcentaje para que sea responsivo */
  /*top: 530%;  /* Ajustado en porcentaje en lugar de píxeles */
  /*left: 94%; /* Centrado horizontalmente */
  /*transform: translate(-50%, -50%); /* Centrar con precisión */

  

  /* Ajuste de tamaño del texto y ancho para hacerlo responsivo 
  max-width: 50vw; /* Relativo al ancho de la pantalla */
 /* font-size: 2.1vw; /* Tamaño del texto proporcional a la pantalla */
  /*word-wrap: break-word;
  /*text-align: center;
  box-sizing: border-box;
}

/* Responsivo: En pantallas más pequeñas */
@media (max-width: 768px) {
  .intro h1 {
    max-width: 80vw; /* Ajusta el ancho del texto */
    font-size: 3vw; /* Reduce el tamaño de fuente proporcionalmente */
    padding: 3vw; /* Ajusta el padding */
    top: 40%; /* Reposiciona ligeramente para mejorar la alineación */
    left: 50%; /* Mantiene el centrado */
  }
}










/* Botón personalizado */
/* Botón personalizado */
.intro .btn-custom {
  position: absolute; /* Posiciona el botón dentro del contenedor */
  bottom: -320%; /* Ubicado a 20% desde la parte inferior del contenedor */
  left: 94%; /* Centrado horizontalmente */
  transform: translateX(-50%); /* Ajusta el centrado con precisión */
  padding: 10px 20px; /* Tamaño del botón */
  background-color: #46484a; /* Color de fondo */
  color: #fff; /* Color del texto */
  border: none; /* Sin borde */
  border-radius: 5px; /* Bordes redondeados */
  text-transform: uppercase; /* Texto en mayúsculas */
  font-weight: bold; /* Texto en negrita */
  font-size: 1.2rem; /* Tamaño de fuente */
  cursor: pointer; /* Cursor de mano al pasar */
}

/* Responsivo: Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .intro .btn-custom {
    bottom: -530%; /* Baja el botón para que sea más visible */
    left: 123%; /* Mantiene el centrado */
    transform: translateX(-50%); /* Centrado horizontalmente */
    padding: 8px 16px; /* Ajusta el tamaño para pantallas más pequeñas */
    font-size: 1rem; /* Reduce el tamaño de fuente */
  }
}





.intro p {
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 15vh; /* 15% de la altura de la ventana */
  padding-bottom: 20vh; /* 20% de la altura de la ventana */
  text-align: center;
}















/* Features Section */

.section-title h2 {
  margin-top: 30px; /* Ajusta el valor según sea necesario */
}


#features {
  background: #fff;
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #FF7E5F 0%, #FEB47B 100%);  /* colores #6372ff 0%, #5ca9fb*/
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}





/* About Section */
#about {
  padding: 100px 0;
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}



/* Services Section */
/* Servicios - Nueva Sección */
#services {
  padding: 100px 0;
/*  background: #dac482; /* fondo principal services*/
background: linear-gradient(to right, #FF7E5F, #FEB47B); /* Colores originales fondo contactos #6372ff 0%, #5ca9fb */
  color: #333;
  text-shadow: none;
}
#services .service-desc {
  margin: 20px 10px 30px;
  padding: 20px;
  border-radius: 15px;
  background: #f9f9f9;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
#services .service-desc:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}
#services h2 {
  font-size: 50px;
  text-transform: none;
  color: #fbf9f7;/*#f36f21; texto título*/
  margin-bottom: 20px;
}
#services i.fa {
  font-size: 50px;
  width: 80px;
  height: 80px;
  padding: 20px;
  background: #f36f21;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
#services h3 {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  text-transform: none;
}
#services p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}










/* Responsividad */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .col-md-6 {
    flex: 1 1 100%; /* Asegura que los elementos ocupen el 100% del ancho disponible en pantallas pequeñas */
    padding: 10px; /* Añade algo de espaciado */
  }

  h2 {
    font-size: 1.5rem; /* Reduce el tamaño de la fuente para pantallas pequeñas */
    margin-bottom: 50px; /* Ajusta el margen inferior */
  }

  .feature-item p {
    font-size: 1rem; /* Ajusta el tamaño de la fuente de las características */
  }
}







/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg:hover {
  background: rgba(153, 102, 255, 0.2); /* Fondo morado claro al pasar el cursor */
  transition: all 0.3s ease-in-out;
}


.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}


.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  backface-visibility: hidden;
  transform: translateY(0);
}




/* Team Section */
#Marcas {
  padding: 700px 0;
}

#marcas .section-title p {
  font-size: 15px; /* Ajusta el tamaño */
}



/* Carrusel */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Transición suave */
}

.carousel-item {
  flex: 0 0 33.33%; /* Esto asegura que se muestren 3 tarjetas a la vez */
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  max-height: 200px;
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}












/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #ff7f00 0%, #ffb84d 100%);/* to right, #ff7f00 0%, #ffb84d 100% Colores originales fondo contactos #6372ff 0%, #5ca9fb*/
  color: rgba(255, 255, 255, 0.75);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}

/*contactos */

#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}














/* Estilo para los iconos */
.social a {
  display: inline-block;
  background-color: #413f3f; /* Fondo blanco */
  border-radius: 50%; /* Hace el fondo circular */
  padding: 10px; /* Tamaño del círculo */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Estilo inicial de los íconos */
.social a i, 
#contact .social i.fa {
    color: #FF8C00 !important; /* Color anaranjado */
}

/* Efecto al pasar el mouse */
.social a:hover {
  background-color: #473f3f; /* Fondo negro al pasar el mouse */
}

/* Hover de los íconos */
.social a:hover i, 
#contact .social i.fa:hover {
    color: #FF8C00 !important; /* Anaranjado también al pasar el mouse */
    background: #fff !important; /* Fondo blanco */
}











/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}






.intro-text {
  margin-left: -150; /* O ajusta el valor a lo que necesites las mejores maquinas expendedoras header */
  padding-left: -90px; /* Agrega o ajusta el valor para mover más hacia la izquierda */
}










/* Contenedor del carrusel GALERIA */
.slick-prev,
.slick-next {
  position: absolute !important;
  top: 50% !important;
  
  /*border: none !important;
  font-size: 2rem !important;*/
  color: rgb(155, 57, 57) !important; /* Color de las flechas */
  z-index: 10 !important; /* Asegura que las flechas estén sobre otros elementos */
  cursor: pointer !important; /* Cambia el cursor al pasar por encima */
  transition: color 0.3s ease !important; /* Efecto suave al cambiar color */
}

/* Flecha izquierda (anterior) */
.slick-prev {
  left: 10px !important; /* Coloca la flecha a la izquierda */
}

/* Flecha derecha (siguiente) */
.slick-next {
  right: 10px !important; /* Coloca la flecha a la derecha */
}

/* Efecto cuando se pasa el mouse sobre las flechas */
.slick-prev:hover,
.slick-next:hover {
  color: #ff9800 !important; /* Cambia el color de la flecha al pasar el mouse */
}

/* Estilos para los puntos de navegación (si los tienes habilitados) */
.slick-dots li button:before {
  font-size: 12px !important;
  color: #fff !important; /* Color de los puntos */
}




































/* Asegura que todo el contenido de la página se ajuste y sea fluido */
body, html {
  margin: 0;
  padding: 0;
  height: 100%; /* Asegura que el cuerpo ocupe toda la altura de la pantalla */

  width: 100%;  /* Asegura que el cuerpo ocupe todo el ancho de la pantalla MR */
}

/* Contenedor principal que envuelve todo el contenido */
.main-container {
  display: flex;
  flex-direction: column; /* Organiza los elementos de arriba hacia abajo */
  min-height: 100vh; /* Asegura que el contenedor principal ocupe toda la altura de la pantalla */
  justify-content: flex-start; /* Alinea los elementos al principio */
  overflow: auto; /* Permite que los elementos se desplacen si es necesario */
}

/* Secciones individuales: Servicios, Galería, etc. */
.section {
  flex: 1; /* Hace que cada sección ocupe el espacio disponible */
  padding: 20px;
  box-sizing: border-box; /* Asegura que el padding no afecte el tamaño */
  overflow: hidden; /* Evita el desbordamiento */
}

/* Asegura que el contenido se ajuste a pantallas pequeñas */
@media (max-width: 768px) {
  .section {
    padding: 10px; /* Reduce el padding para pantallas pequeñas */
  }

  .gallery-item {
    flex: 1 0 100%; /* Hace que cada item ocupe el 100% de ancho en pantallas pequeñas */
    margin: 5px 0;
  }
}


.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro con opacidad */
  z-index: 1040 !important;  /* Fondo de overlay */
}

.modal-content {
  z-index: 1050; /* Modal encima del fondo */
  border-radius: 10px; /* Opcional: agrega bordes redondeados al modal */
}


