/*========== GOOGLE FONTS ==========*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;700&family=Roboto:wght@100..900&family=Raleway:wght@300;400;700&family=Play&display=swap');

/*========== VARIABLES ==========*/
:root {
  --header-font: 'Bebas Neue', sans-serif;
  --menu-font: 'Raleway', sans-serif;
  --body-font: 'Roboto', sans-serif;
  --highlight-font: 'Oswald', sans-serif;

  /* Tamaños y colores */
  --normal-font-size: 1rem;
  --text-color: black;
  --background-color: #f4f4f4;
  --header-bg-color: #2c3e50;
  --primary-color-1: #e74c3c;
  --primary-color: #e74c3c;
  --new-color: #1d3340;
}

h1 {
  font-size: 2.5rem;
  font-family: var(--header-font);
  color: var(--primary-color);
  letter-spacing: 0.1rem;
}

h2 {
  font-size: 2rem;
  font-family: var(--highlight-font);
  color: var(--text-color);
}

p {
  font-size: 1rem;
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
}

/* GENERAL STYLES */
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--background-color);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color-1);
  padding: 0 1rem;
  z-index: 100;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__img {
  margin-right: 100px;
  width: 180px;
  border-radius: 15px;
}

.header__toggle {
  font-size: 2rem;
  color: var(--background-color);
  cursor: pointer;
}

/* Estilo para el contenedor de búsqueda */


.header__search {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.header__search h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
  font-family: 'Comic Sans MS', cursive;
  font-size: 24px;
  color: var(--background-color);
}

@media (max-width: 768px) {
  .header__search h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header__search {
    padding: 0.5rem;
  }

  .header__search h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

/*========== NAV ==========*/
.nav {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 2rem 2rem 0;
  background-color: var(--primary-color-1);
  box-shadow: 2px 0 0 rgba(22, 8, 43, 0.1);
  z-index: 100;
  transition: .4s;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none;
}

.nav__container::-webkit-scrollbar {
  display: none;
}

.nav_link {
  text-decoration: none;
}

.nav_logo {
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-family: var(--header-font);
  font-size: 55px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__list,
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 2.5rem;
}

.nav__items {
  row-gap: 1.5rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--background-color);
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
  color: var(--background-color);
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
  color: var(--background-color);
}

.nav__logout {
  margin-top: 20rem;
}

.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: var(--background-color);
  border-radius: 1rem;
  margin-top: 1rem;
}

.nav__dropdown-content {
  display: grid;
  row-gap: .5rem;
  padding: .75rem 2.5rem .75rem 1.8rem;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.nav_dropdown-icon {
  color: var(--header-bg-color);
}

.nav__dropdown-item:hover {
  color: var(--header-bg-color);
}

.nav__dropdown-icon {
  margin-left: auto;
  transition: .4s;
}

.nav__dropdown:hover {
  max-height: 100rem;
}

.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.show-menu {
  left: 0;
}

.active {
  color: var(--header-bg-color);
}

/* ========== MEDIA QUERIES ==========*/
@media screen and (min-width: 768px) {
  body {
    padding: 0px 0px 0px 60px;
    margin: 0;
  }

  .header {
    padding: 0 3rem 0 6rem;
  }

  .header__toggle {
    display: none;
  }

  .header__logo {
    width: 200px;
    height: 100px;
  }

  .header__img {
    width: 100px;
    height: 50px;
  }

  .nav {
    left: 0;
    padding: 1.2rem 1.5rem 0;
    width: 68px;
  }

  .nav__items {
    row-gap: 1.7rem;
  }

  .nav__icon {
    font-size: 1.3rem;
  }

  .nav__logo-name,
  .nav__name,
  .nav__subtitle,
  .nav__dropdown-icon {
    opacity: 0;
    transition: .3s;
  }

  .nav:hover {
    width: 219px;
  }

  .nav:hover .nav__logo-name {
    opacity: 1;

  }

  .nav:hover .nav__subtitle {
    opacity: 1;
  }

  .nav:hover .nav__name {
    opacity: 1;
  }

  .nav:hover .nav__dropdown-icon {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .nav__logo-img {
    max-width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .nav__logo-img {
    max-width: 100px;
  }
}

/* Ajusta los estilos responsivos */
@media (max-width: 768px) {
  .header__container {
    height: auto;
    margin: 5px;

  }

  .header__container a span {
    font-size: 1.5rem;
  }

  .header__img {
    width: 150px;
  }
}



.content {
  max-width: 90%; /* Ajusta el ancho a un porcentaje */
  margin: 2rem auto;
  padding: 1.5rem; /* Usar rem */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #2c3e50;
  color: white; /* Texto blanco */
  border: 3.5px solid #e74c3c; /* Borde blanco de 2px */
  border-radius: 20px; /* Radio del borde */
}

.content p{
  color: white;
}
.content-2 {
  max-width: 90%; /* Ajusta el ancho a un porcentaje */
  margin: 2rem auto;
  padding: 1.5rem; /* Usar rem */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #2c3e50;
  color: white; /* Texto blanco */
  border-radius: 20px; /* Radio del borde */
  border: 3.5px solid #e74c3c; /* Borde blanco de 2px */
}


.content-2 p{
  color: white;
}
.content .history {
  margin-bottom: 1.5rem;
  color:white;
}

.content .quote {
  font-style: italic;
  margin: 1.5rem 0; /* Usar rem */
}

.imagen1 img {
  width: 30%;
  height: auto;
}

img {
  width: 48%;
  height: auto;
}

.imagenes-pequeñas {
  justify-content: column;
  gap: 18.9%; /* Usar rem */
}

.imagen-pequena {
  width: 18.9%;
  height: auto;
}

/* Encuesta */
.content-f {
  max-width: 90%;
  margin: 1rem auto;
  padding: 1rem;
  background-color: #aba08a;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  text-align: center;
  color: #fff; /* Título en blanco */
}


iframe {
  width: 100%; /* Ancho completo del contenedor */
  height: 330px;
  border: none;
  font-style: italic;
  margin: 1.5rem 0; /* Usar rem */
}

@media screen and (max-width: 768px) { 
  .content {
    margin-top: 150px;
  }
}

.info-empresa .contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-empresa .contenedor h2 {
  width: 100%;
  color: white;
}

.info-empresa .fila {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
}

.info-empresa .vision,
.info-empresa .mision {
  width: 45%;
}

.info-empresa .vision h3,
.info-empresa .mision h3 {
  text-align: center; /* Centrar los títulos */
  font-size: 1.8rem; /* Ajustar el tamaño del título */
  color: white; /* Títulos en blanco */
}

.info-empresa .vision p,
.info-empresa .mision p {
  font-size: 1.2rem; /* Hacer los párrafos más grandes */
  line-height: 1.6; /* Mejorar la legibilidad */
  color: white; /* Texto blanco */
}

.imagen-texto-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 90%;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.imagen {
  flex: 1;
  text-align: center;
}

.imagen img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.texto {
  flex: 1.5;
}

.texto h3 {
  font-size: 2rem;
  color:white;
  margin-top: 1rem;
  text-align: center;
}

.lista-valores {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas */
  gap: 2rem; /* Mayor espacio entre las filas y columnas */
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.lista-valores li {
  font-size: 1.3rem;
  color: white; /* Texto blanco */
  display: flex;
  align-items: center;
  gap: 1rem; /* Espacio entre el ícono y el texto */
  justify-content: flex-start; /* Alineación inicial */
}


/* Responsivo */
@media screen and (max-width: 600px) {
  .lista-valores {
    grid-template-columns: 1fr; /* Una sola columna en pantallas pequeñas */
    text-align: center;
  }

  .lista-valores li {
    font-size: 1.5rem; /* Aumento en pantallas pequeñas */
    justify-content: center;
  }
  #valores {
    color: white; /* Cambiar el color del texto a blanco */
  }  
}





/* Contenedor principal */
.team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.team p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color:white;
}

/* Grid de miembros del equipo */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Estilo de cada miembro del equipo */
.team-member {
  text-align: center;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-member p {
  font-size: 1rem;
  color: #555;
}

/* Estilos responsivos */
@media (max-width: 768px) {

  .team p {
    font-size: 0.9rem;
  }

  .team-member {
    padding: 1rem;
  }

  .team-member h3 {
    font-size: 1rem;
  }

  .team-member p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {


  .team p {
    font-size: 0.85rem;
  }

  .team-member img {
    width: 80px;
    height: 80px;
  }

  .team-member h3 {
    font-size: 0.9rem;
  }

  .team-member p {
    font-size: 0.8rem;
  }
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  color: #555; /* Color base de los iconos */
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2); /* Efecto de agrandar al pasar el ratón */
  color: #007bff; /* Color cuando el ratón pasa */
}

/* Estilo para cada red social específica */
.social-links a.facebook:hover {
  color: #3b5998; /* Color de Facebook */
}

.social-links a.instagram:hover {
  color: #c13584; /* Color de Instagram */
}

.social-links a.whatsapp:hover {
  color: #25D366; /* Color de WhatsApp */
}

/* Estilo para los iconos (si se requiere ajustar su tamaño o forma) */
.social-links i {
  font-size: 24px; /* Tamaño del icono */
}


/* Estilo para la sección de Logros y Premios */
#logros .container {
  width: 90%;
  margin: 0 auto;
}


#logros p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: black;
}.TX {
  color: white;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

/* Estilos para los logros */
.achievement {
  position: relative;
  border: 2px solid #e0e0e0;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: white;
}

.achievement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  border-radius: 10px;
  z-index: -1;
}

/* Hover effect */
.achievement:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.achievement img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.achievement h3 {
  font-size: 1.5rem;
  color: #0f2b5d;
  margin-bottom: 10px;
}

.achievement p {
  font-size: 1rem;
  color: #084a8c;
}

/* Media Queries para Responsividad */
@media (max-width: 1024px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas más pequeñas */
  }
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr; /* Una columna en dispositivos móviles */
  }

  #logros p {
    font-size: 1rem; /* Reduce el tamaño del texto en pantallas pequeñas */
  }
}

@media (max-width: 480px) {
  .achievement h3 {
    font-size: 1.2rem; /* Ajusta el tamaño del título */
  }

  .achievement p {
    font-size: 0.9rem; /* Ajusta el tamaño del texto */
  }
}


#portafolio {
  font-size: 2.5rem; /* Título más grande */
  color: #2c3e50; /* Color de texto */
  margin-bottom: 1.5rem;
}

#pdf-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: #0f2b5d;
}

/* Ajustes para el iframe */
iframe {
  width: 100%; /* Hacer que el iframe ocupe el 100% del contenedor */
  height: 600px; /* Altura fija para el iframe */
  border: none; /* Sin borde */
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

/* Responsivo: Ajustes para pantallas pequeñas */
@media screen and (max-width: 768px) {
  #pdf-section {
    padding: 0.5rem; /* Reducir el padding en pantallas pequeñas */
  }
  
  iframe {
    height: 500px; /* Ajustar la altura del iframe */
  }
}
.fondo {
  background-color: #f0f0f0;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  margin-bottom: 30px;
  max-width: 90%; /* Ajusta el ancho a un porcentaje */
  margin: 2rem auto;
  padding: 1.5rem; /* Usar rem */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-color: #2c3e50;
  color: white; /* Texto blanco */
  border: 3.5px solid #e74c3c; /* Borde blanco de 2px */
  border-radius: 20px; /* Radio del borde */
}



/* Separador-Titulos*/
.separador {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 40px;

}

/* Estilos para el título dentro de la sección separadora */
.separador h2 {
  color: #2c3e50;
  padding: 15px 20px;
  display: inline-block;
  border-radius: 50px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.separador h2:hover {
  background-color: #dc3545;
  transform: translateY(-5px);
}
/* Estilos para la sección separadora */
.separador-1 {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

/* Estilos para el título dentro de la sección separadora */
.separador-1 h2 {
  color: white;
  padding: 15px 20px;
  display: inline-block;
  border-radius: 50px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.separador-1 h2:hover {
  background-color: #dc3545;
  transform: translateY(-5px);
}

/* WhatsApp-Flotante*/
.container-boton {
  background-color: #2e6329;
  border: 1px solid #fff;
  position: fixed;
  z-index: 999;
  border-radius: 100%;
  bottom: 15px;
  right: 15px;
  padding: 15px;
  transition: ease 0.3s;
  animation: efecto 1.2s infinite;
}

.container-boton:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

.boton {
  width: 60px;

  transition: ease 1s;
}

@keyframes efecto {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
  }

  100% {
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
  }
}
/* Estilo para el contenedor del PDF */
#pdf-section {
  padding: 20px;
  background-color: #f9f9f9; 
  margin: 30px 0; 
  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}


#portafolio {
  font-size: 24px;
  font-weight: bold;
  color: #333;  
  margin-bottom: 20px;  
  text-align: center; 
}

#pdf-section iframe {
  border-radius: 8px;  
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); 
}

@media (max-width: 768px) {
  #pdf-section iframe {
    height: 400px; 
  }
}

/* FOOTER GENERAL */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 5px solid #e74c3c;
}

/* TÍTULOS */
.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #e74c3c;
  font-family:"Yatra One", system-ui; 
}

/* SECCIÓN CONTACT INFO */
.contact-info {
  width: 48%;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid white;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info hr {
  border: 1px solid #fff;
  margin: 10px 0;
}

/* SECCIÓN REDES SOCIALES */
.social-media {
  width: 48%;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.social-media .separator {
  width: 60px;
  height: 2px;
  background-color: #e74c3c;
  margin-bottom: 15px;
}

.social-media p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ITEMS DE REDES SOCIALES */
.social-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.social-item a {
  color: #ecf0f1;
  font-size: 1.8rem;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-item a:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

.description {
  font-size: 1rem;
  color: #bdc3c7;
}

/* SECCIÓN SUGERENCIAS */
.sugerencias {
  margin-top: 20px;
}

.sugerencias h3 {
  font-size: 1.2rem;
  color: #e74c3c;
  margin-bottom: 10px;
}

.sugerencias form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sugerencias input,
.sugerencias textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #e74c3c;
  border-radius: 5px;
  background-color: white;
  color:black;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.sugerencias input:focus,
.sugerencias textarea:focus {
  border-color: #e74c3c;
  background-color: white;
  outline: none;
}

.sugerencias textarea {
  resize: none;
  height: 100px;
}

.sugerencias button {
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #ecf0f1;
  background-color: #e74c3c;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sugerencias button:hover {
  background-color: #e74c3c;
  transform: scale(1.05);
}

.sugerencias button:active {
  transform: scale(1);
}

/* MEDIA QUERY PARA RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .social-media {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
    border: none;
  }

  .contact-info h3,
  .social-media h3 {
    text-align: center;
  }

  .social-item {
    justify-content: center;
  }
}