/*========== 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: #e74c3c;
}

/* 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);
  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: white;
  cursor: pointer;
}

/* Estilo para el contenedor de búsqueda */
.header__search {
  display: flex;
  align-items: center;
  position: relative;
}

/* Estilo del campo de entrada */
.search__input {
  padding: 10px 35px 10px 15px; /* Ajustar espacio para el ícono */
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 200px;
  font-size: 14px;
  transition: width 0.3s ease;
}

.search__input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Agregar el ícono dentro del campo */
.search__input::placeholder {
  color: #777;
  font-size: 14px;
  position: absolute;
  left: 10px;
}

/* Estilo de la lupa dentro del campo de búsqueda */
.search__input::before {
  content: "🔍";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #777;
  pointer-events: none;
}
/*========== NAV ==========*/
.nav {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 2rem 2rem 0;
  background-color:#e74c3c;
  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: white;
}

.nav__icon {
  font-size: 1.2rem;
  margin-right: .5rem;
  color: #f4f4f4;
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  white-space: nowrap;
  color: #f4f4f4;
}

.nav__logout {
  margin-top: 20rem;
}

.nav__dropdown {
  overflow: hidden;
  max-height: 21px;
  transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
  background-color: white;
  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: black;
}

.nav_dropdown-icon {
  color:#2c3e50;
}

.nav__dropdown-item:hover {
  color:#2c3e50;
}

.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:#2c3e50;
}

/* ========== 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;
  }
}


/* ========== Carrusel-slider==========*/
#container-slider {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 0;
}

#slider {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 500px;
}

#slider li {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -ms-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
  z-index: -1;
  opacity: 0;
}

#container-slider .arrowPrev,
#container-slider .arrowNext {
  font-size: 30pt;
  color: rgba(204, 204, 204, 0.65);
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50px;
  z-index: 2;
}

#container-slider .arrowNext {
  left: initial;
  right: 50px !important;
}

.content_slider {
  padding: 15px 30px;
  color: #FFF;
  width: 100%;
  height: 100%;
}

.content_slider div {
  text-align: center;
  margin-top: 200px;
}

.content_slider h2 {
  font-family: 'arial';
  font-size: 30pt;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;

}

.content_slider p {
  font-size: 15pt;
  font-family: 'arial';
  color: #FFF;
  margin-bottom: 20px;
}

#slider li .content_slider {
  background: rgba(0, 0, 0, 0.50);
  padding: 10px 125px;
}

.content_slider {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btnSlider {
  color: #FFF;
  font-size: 15pt;
  font-family: 'arial';
  letter-spacing: 1px;
  padding: 10px 50px;
  border: 1px solid #CCC;
  background: rgba(37, 40, 80, 0.55);
  border-radius: 31px;
  text-decoration: none;
  transition: .5s all;
}

.btnSlider:hover {
  background: #111;
  border: 1px solid #111;
}

.listslider {
  position: absolute;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: 50%;
  bottom: 5%;
  list-style: none;
  z-index: 2;
  transform: translateX(-50%);
}

.listslider li {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  cursor: pointer;
  margin: 0 5px;
}

.listslider li a {
  background: #CCC;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: block;
}

.item-select-slid {
  background: #FFF !important;
}

@media screen and (max-width: 460px) {
  .content_slider h2 {
    font-size: 15pt !important;
  }

  .content_slider p {
    font-size: 12pt !important;
  }

  #container-slider .arrowPrev,
  #container-slider .arrowNext {
    font-size: 20pt;
  }

  #container-slider .arrowPrev {
    left: 15px;
  }

  #container-slider .arrowNext {
    right: 15px !important;
  }

  #slider {
    height: 400px;
    min-height: 400px;
  }

  #slider li .content_slider {
    padding: 10px 35px;
  }

  .btnSlider {
    padding: 10px 30px;
    font-size: 10pt;
  }
}


/* Contenedor principal */
.services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Estilo de cada servicio */
.service {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.service h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.service p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Estilos responsivos */
@media (max-width: 768px) {

  .service {
    padding: 1rem;
  }

  .service h3 {
    font-size: 1.2rem;
  }

  .service p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .separador h2 {
    font-size: 1.5rem;
  }

  .service img {
    width: 80px;
  }

  .service h3 {
    font-size: 1rem;
  }

  .service p {
    font-size: 0.85rem;
  }
}

/* Contenedor principal */
.team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.team p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #666;
}

/* 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;
  }
}


/* Contenedor principal */
.blog .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid de publicaciones del blog */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Estilo de cada publicación */
.post {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.post img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  margin-bottom: 1rem;
}

.post h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.post p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.post a {
  display: inline-block;
  margin-top: 1rem;
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #007BFF;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.post a:hover {
  background-color: #007BFF;
  color: #fff;
}

/* Estilos responsivos */
@media (max-width: 768px) {

  .post {
    padding: 1rem;
  }

  .post h3 {
    font-size: 1.2rem;
  }

  .post p {
    font-size: 0.9rem;
  }

  .post a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {

  .post img {
    margin-bottom: 0.8rem;
  }

  .post h3 {
    font-size: 1rem;
  }

  .post p {
    font-size: 0.85rem;
  }

  .post a {
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
  }
}
/* Estilos generales para la sección */
.separador {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f4f4f4;
}

.separador h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Contenedor principal */
.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Estilos para el slider de testimonios */
.testimonials-slider {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  flex: 0 0 auto;
  width: 300px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: center;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.testimonial p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial span {
  display: block;
  font-size: 1.1rem;
  color: #333;
  font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .testimonial {
    width: 250px;
    padding: 1rem;
  }

  .testimonial p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .separador h2 {
    font-size: 1.5rem;
  }

  .testimonial {
    width: 90%;
    padding: 1rem;
  }

  .testimonial p {
    font-size: 0.85rem;
  }
}


/* 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 {
  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);
  }
}

/* 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: #ecf0f1;
  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;
  }
}