/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444;
}

a {
  color: #006738;
  /* Color de los enlaces */
}

a:hover {
  color: #9eccf4;
  /* Cambia el color de los enlaces al pasar el mouse */
  text-decoration: none;
  /* Elimina el subrayado de los enlaces */
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-primary {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  padding: 6px 0;
  height: auto;
  z-index: 997;
  border-bottom: 1px solid #eee;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  width: 100%;
  /* Ocupa el ancho completo del espacio disponible */
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  /* Ajusta según necesites */
}

.header-logo img {
  max-height: 64px;
  /* Controla el tamaño aquí */
  width: auto;
  /* Mantener el aspecto ratio */
}

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

/* Desktop Navigation */
.header-nav {
  display: flex;
  align-items: center;
}

.header-nav>ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.header-nav>ul>li {
  padding: 0 10px;
  /* Espaciado horizontal entre items */
}

.header-nav>ul>li>a {
  text-decoration: none;
  color: #006738;
  /* Color del texto */
  transition: color 0.3s;
  font-weight: bold;
  /* Texto en negrita */
}

.header-nav>ul>li:hover>a {
  color: #91c943;
  /* Color al pasar el mouse */
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: #4A453E;
  transition: 0.4s;
}

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

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

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

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

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

.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: 15px;
  top: 20px;
  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 {
  color: #4A453E;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(31, 53, 72, 0.7);
  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;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: calc(100vh - 114px);
  padding: 0;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center 20%;
  /* Cambia a 'center top' */
  background-repeat: no-repeat;
}

.carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 2;
  max-width: 65%;
  /* Ajusta el valor según necesites */
  /*border: 2px solid #000;  Borde negro de 2 píxeles */
}

.carousel-content {
  position: relative;
  text-align: left;
  /* Cambia esto según tu preferencia */
}

.carousel-content h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 48px;
  font-weight: 900;
}

.carousel-content p {
  color: #fff;
  width: 80%;
  animation-delay: 0.4s;
}

.btn-get-started:hover {
  background: #C19B5C;
}

@media (max-width: 768px) {
  .carousel-content h2 {
    font-size: 28px;
  }

  .carousel-content p {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .carousel-content p {
    width: 60%;
  }
}

/*--------------------------------------------------------------
# Flip Card
--------------------------------------------------------------*/

/* Estilos para el contenedor de las tarjetas */
#cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-top: 40px; /* Agregar margen superior aquí */
}

.card-wrapper {
  width: 100%;
  background-color: #ffffff; /* Fondo blanco */
  padding: 20px; /* Espacio interior */
  border-radius: 10px; /* Bordes redondeados opcionales */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra opcional para profundidad */
  text-align: center;
  max-width: 1600px; /* Limitar el ancho máximo del contenedor */
  margin: 0 auto; /* Centrar horizontalmente */
}

.card-container {
  display: flex;
  justify-content: center; /* Alinear tarjetas horizontalmente al centro */
  gap: 20px; /* Espacio entre tarjetas */
  flex-wrap: wrap; /* Permitir que las tarjetas se envuelvan en varias líneas si es necesario */
  width: 100%; /* Asegura que el contenedor de tarjetas ocupe el ancho completo disponible */
}

.card {
  background-color: transparent;
  width: 350px; /* Ajusta el ancho de la tarjeta */
  height: 400px; /* Ajusta la altura de la tarjeta */
  perspective: 1000px;
  margin: 10px; /* Espacio entre las tarjetas */
  border-radius: 10px; /* Bordes redondeados */
  overflow: hidden; /* Para asegurar que el contenido no se desborde */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
  border-radius: 10px; /* Bordes redondeados */
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 10px; /* Bordes redondeados */
}

.card-front {
  background: #f9f9f9;
  color: black;
}

.card-front img {
  max-width: 100%;
  height: 100%;/* Cambiar 'auto' a '100%' para que ocupe toda la altura */
  border-radius: 10px; /* Bordes redondeados para la imagen también */
  object-fit: cover; /* Ajusta cómo se redimensiona la imagen */
  object-position: center; /* Ajusta la posición de la imagen dentro del contenedor */
}

.card-back {
  background: white;
  color: white;
  transform: rotateY(180deg);
  padding: 10px;
  display: flex; /* Asegurar que el contenido de la tarjeta trasera esté centrado */
  align-items: center;
  justify-content: center;
  flex-direction: column; /* Permitir que los elementos hijos se apilen verticalmente */
  text-align: center; /* Alinear el texto al centro */
  height: 100%; /* Asegurar que ocupe toda la altura de la tarjeta */
}

.text-container {
  display: flex;
  flex-direction: column; /* Apilar los elementos verticalmente */
  align-items: center;
  justify-content: center;
  width: 100%; /* Ocupa todo el ancho del contenedor */
  height: 100%; /* Ocupa toda la altura del contenedor */
  padding: 0px; /* Añadir algo de padding para que el texto no esté pegado a los bordes */
  /* border: 2px solid red;  Agregar borde rojo para visualizar los límites del contenedor */
}

.text-container p {
  font-size: 16px; /* Ajustar el tamaño de la letra */
  margin: 10px 0; /* Quitar el margen predeterminado del párrafo */
  line-height: 1.5; /* Ajustar la altura de línea para mejorar la legibilidad */
  text-align: center; /* Justificar el texto */
  hyphens: auto; /* Permitir que las palabras se dividan automáticamente */
  width: 100%; /* Ajustar el ancho del párrafo dentro del contenedor */
}

.text-container h2 {
  color: #fff;
  margin: 10px 0; /* Margen superior e inferior */
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 0;
}

.card-wrapper h2 {
  color: #006738;
  margin-bottom: 25px;
  font-size: 32px;
  font-weight: 600;
  padding-bottom: 0;
}

.card-wrapper p {
  color: black;
  width: 80%;
  animation-delay: 0.1s;
}

/* Estilo para el texto animado */
.animated.fadeInDown {
  animation: fadeInDown 1s;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


#backToTop {
  display: none; /* Oculto por defecto */
  position: fixed; /* Fijado en la pantalla */
  bottom: 20px; /* Distancia desde la parte inferior */
  right: 20px; /* Distancia desde la parte derecha */
  z-index: 99; /* Asegura que está encima de otros elementos */
  font-size: 24px; /* Tamaño de la flecha */
  background-color: #555; /* Color de fondo */
  color: black; /* Color de la flecha */
  padding: 10px;
  border-radius: 50%; /* Hacerlo redondo */
  text-align: center;
  cursor: pointer; /* Mostrar cursor de puntero */
  transition: opacity 0.3s; /* Suave transición al mostrar/ocultar */
}

#backToTop:hover {
  background-color: #333; /* Cambia de color al pasar el mouse */
}




/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/


#imagenAlten{
  width: 90%;
  margin-bottom: 30px;
  margin-top: 5px;
  }
  
  
  #imagenAlten:hover{
    -webkit-transform:scale(1.05);
  
  }
  
  #imagenMelaza{
  width: 90%;
  margin-bottom: 30px;
  margin-top: 5px;
  }
  
  
  #imagenMelaza:hover{
    -webkit-transform:scale(1.05);
  
  }
  
  
  .services {
    padding-bottom: 30px;
  }
  
  .services .icon-box {
    margin-bottom: 20px;
    text-align: center;
  }
  
  .services .icon {
    display: flex;
    justify-content: center;
  }
  
  .services .icon i {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background: #428bca;
    border-radius: 50%;
    transition: 0.5s;
    color: #428bca;
    font-size: 40px;
    overflow: hidden;
    padding-top: 20px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
  }
  
  .services .icon-box:hover .icon i {
    box-shadow: 0px 0 30px rgba(66, 139, 202, 0.5);
  }
  
  .services .title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
    padding-bottom: 15px;
  }
  
  .services .title a {
    color: #444;
    transition: 0.3s;
  }
  
  .services .title a:hover {
    color: #428bca;
  }
  
  .services .title::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: #428bca;
    bottom: 0;
    left: calc(50% - 25px);
  }
  
  .services .description {
    line-height: 24px;
    font-size: 14px;
  }

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

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

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #592E1E;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/

#cajaMapa {
  height: 300px;
  width: 100%;
  padding: 2%;
  -webkit-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.19);
  -moz-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.19);
  box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.19);
}

.inputs {
  margin-top: 1%;
  margin-bottom: 1%;
  text-align: center;

}

.input {
  width: 100%;
  border: solid .2px rgb(218, 216, 216);
  padding-left: 2%;
  font-size: 14px;
  height: 40px;
}

#textarea {
  font-size: 14px;
  width: 100%;
  border: solid .2px rgb(218, 216, 216);
  padding-left: 1%;

}


#btnEnviar {
  background: #592E1E;
  border: 0px;
  width: 150px;
  height: 40px;
  color: white;
  font-size: 15px;
}


#btnEnviar:hover {
  background: #C19B5C;


}



#cajaform {
  padding-top: 2%;
  -webkit-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.19);
  -moz-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.19);
  box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.19);

}



.contact .info-box {
  color: #444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
}

.contact .info-box i {
  font-size: 32px;
  color: #428bca;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #9eccf4;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #592E1E;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.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: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.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;
  -webkit-animation: animate-loading 1s linear infinite;
  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::focus,
.contact .php-email-form textarea::focus {
  background-color: #428bca;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

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

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

.contact .php-email-form button[type="submit"]:hover {
  background: #6aa3d5;
}

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

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

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

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

#footer {
  background: #4A453E;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #5c768d;
  border-top: 1px solid #768fa6;
  border-bottom: 1px solid #67839c;
  padding: 60px 0 30px 0;
}

#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: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #768fa6;
  color: #fff;
  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: #428bca;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  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: #9eccf4;
  font-size: 18px;
  line-height: 1;
}

#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: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #9eccf4;
}


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

#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: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #428bca;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #5295ce;
}

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

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

#footer .credits a {
  color: #9eccf4;
}


.CajaPadre {
  display: flex;
}


#caja1 {
  display: flex;
  width: 20%;
  align-items: center;


}

#caja2 {
  width: 80%;
  font-size: 14px;
  padding: 5%;
  text-align: justify;
}


@media (max-width: 700px) {

  #imgIdentidad {
    width: 100%;
    margin-left: 0px;
    margin-top: 10%;
  }

  #caja2 {

    text-align: center;

  }

  #imagenSemilla {
    width: 50%;

  }

  #contenedorImagenSemilla {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;

  }

  .CajaPadre {
    display: block;
  }


  #caja1 {
    width: 30%;
    margin-left: 35%;
  }


  #caja2 {
    width: 100%;

  }


}