/* =========================
   Variables y Layout General
   ========================= */
:root {
  --color-principal: #0077b6;
  --color-secundario: #00b4d8;
  --color-texto: #222;
  --color-blanco: #fff;
  --color-negro: #000;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f7f7;
  color: var(--color-texto);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   Header y Navegación
   ========================= */
header {
  background: none;
  color: var(--color-texto);
  padding: 20px 0;
  text-align: center;
}



.container-barra-navegacion {
 background-color: black;
 display: flex;
 min-width: 100%;
 height: 40px;

}

.opcion-container{
  background-color: black;
  max-width: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  min-height: 100%;
  align-content: center;
  transition: all 0.3s ease-in-out;
}

.opcion-container:hover{
  transform: translateY(25px);
  background-color: black;
}


}

.container-header-flex{
  display: flex;
  justify-content: center;
  align-items: center;
}

a{
  color: rgb(248, 245, 245);
  text-decoration: none;
}

.logo {
  height: 280px;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  position: relative;
  color: var(--color-blanco);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1rem;
  transition: all 1s;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 50px;
  padding-top: 30px;
  padding: 50px;
  color: black;
  transition: all 0.3s ease-in-out;
  box-shadow: 3px 3px 25px 2px rgba(0, 0, 0, 0.192);
  border-radius: 25px;
}



.hero-content:hover{
  transform: translateY(-15px);
}

.hero h2,
.hero p,
.hero .btn {
  position: relative;
  margin: 1.5rem 0 2rem 0;
  z-index: 2;
}

/* =========================
   Botón General
   ========================= */
.btn-solicitar{
    color: rgb(0, 0, 0);
    font-size: 20px;
    width: 300px;
    height: 50px;
    padding: 10px;
    border: 2px solid #1a9dc5;
    border-radius: 50px;
    box-shadow: 0 8px 18px #1a9dc5(77, 78, 78, 0.404);
    transition: all 0.3s ease;
  }

.btn-solicitar, .btn-enviar{
    background: linear-gradient(#1a9dc5) no-repeat 
    calc(200% - var(--p, 0%)) 100% / 200% var(--p, 0.2em);
    transition: 0.3s var(--t, 0s), background-position 0.3s 
    calc(0.3s - var(--t, 0s)) ;
  }

.btn-solicitar:hover, .btn-enviar:hover{
    --p: 100%;
    --t: 0.3s;
    color: #ffffff;
    box-shadow: 5px 5px 20px #1a9dc5;
  }

/* =========================
   Intro y Features
   ========================= */
.intro {
  padding: 2rem;
  text-align: center;
}

.features {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0;
  gap: 2rem;
}

.feature-icon {
  height: 50px;
  margin-bottom: 10px;
}

/* =========================
   Contacto
   ========================= */

.contacto{
  justify-items: center;
  margin-bottom: 50px;
}

.container-form{
  max-width: 600px;
  background: #F8F9FD;
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
  border-radius: 40px;
  padding: 25px 35px;
  border: 5px solid rgb(255, 255, 255);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
  margin: 20px;
  box-sizing: border-box;
}

.heading {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  color: rgb(16, 137, 211);
  margin-bottom: 20px;
}

.label-text{
    color: rgb(16, 137, 211);
}

.contacto1, .contacto2{
    color: rgb(16, 137, 211);
    font-size: 15px;
}

.contacto1{
  padding-bottom: 25px;
}

.form {
  margin-top: 20px;
}

.form .input, textarea {
  width: 100%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-bottom: 35px;
  margin-top: 10px;
  box-shadow: #cff0ff 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
  box-sizing: border-box;
  resize: none;
}



textarea:focus {
  outline: none;
  border-inline: 2px solid #12B1D1;
}

.form .input::-moz-placeholder {
  color: rgb(170, 170, 170);
}

.form .input::placeholder {
  color: rgb(170, 170, 170);
}

.form .input:focus {
  outline: none;
  border-inline: 2px solid #12B1D1;
}

.form .login-button {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  color: white;
  padding-block: 15px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
  border: none;
  transition: all 0.2s ease-in-out;
}

.form .login-button:hover {
  transform: scale(1.03);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
}

.form .login-button:active {
  transform: scale(0.95);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}



/* =========================
   Carrusel de Imágenes
   ========================= */

/* Carrusel moderno */
.carousel-section {
  margin: 3rem auto;
  text-align: center;
  min-width: 100%;
}

.carousel {
  background-color: rgba(255, 255, 255, 0.767);
  position: relative;
  min-width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  background: #fff;
}

.carousel-track {
  display: flex;
  position: relative;
  width: 100%;
  height: 350px;
}

.carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0,0,0,0.55);
  color: #fff;
  width: 100%;
  padding: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
}

.carousel-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-principal);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
  opacity: 0.8;
  transition: background 0.2s;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn:hover {
  background: var(--color-secundario);
  opacity: 1;
}

@media (max-width: 900px) {
  .carousel-track, .carousel-slide img {
    height: 220px;
  }
}

/* =========================
   Patrocinadores
   ========================= */
.panteners-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 5rem;
}
h2{
  text-align: center;
}

.panteners-logos img {
  height: 80px;
  filter: grayscale(0.2);
  transition: filter 0.2s;
  gap: 200px;
  margin-bottom: 50px;
  transition: all 0.2s ease-in-out;
}

.panteners-logos img:hover {
  filter: none;
  transform: translateY(-5px);
}

/* =========================
   Footer
   ========================= */
footer {
  background: var(--color-principal);
  color: var(--color-blanco);
  text-align: center;
  padding: 15px 0;
  margin-top: auto;
}

/* =========================
   Media Queries (Responsive)
   ========================= */
@media (max-width: 900px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
  .container-header-flex{
    flex-direction: column;
    gap: 1rem;
  }


}