html{
    scroll-behavior: smooth;
}

.bg-img {
    background: url("/background-bienvenido1.jpg");
    background-repeat: no-repeat;
    background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen */
    min-height: 100vh; /* Asegura que el contenedor ocupe al menos toda la pantalla */
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
  }

  @media screen and (max-width: 768px) {
    .bg-img {
      background-size: cover; /* Mantén la imagen ajustada al contenedor */
      background-position: center; /* Centra la imagen */
      min-height: 100vh; /* Mantén la altura completa de la pantalla */
      width: 100%;
    }
  }
.header {
    height: 100vh;
    width: 100%;
    max-width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 0;
    margin-bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Ajustes para pantallas pequeñas */
@media screen and (max-width: 768px) {
    .header {
        height: auto; /* Permite que el contenedor se ajuste automáticamente */
        background-size: contain; /* Asegura que la imagen no se deforme */
        background-position: center;
    }
}

.background {
    width: 100%;
    height: 100vh;
}



/*.foto-perfil {
    width: 250px;
    height: 200px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 100%;
    border: solid 3px aliceblue;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition:  1s all;
}
.foto-perfil:hover {
    width: 300px;
    height: 300px;
}

/*.nombre-usuario {
    color:rgb(5, 28, 131);
    font-size: 3rem;
    font: Arial;
    text-transform: capitalize;*/
    /*position: absolute;
    top: 60%;
    bottom: 0;
    left: 5%;
    right: 0;
    margin: auto;
    text-shadow: 0 0 80px rgba(0, 0, 0, 5);
    /*animation: giro 6s infinite 2s alternate;
}*/

.descripcion {
    color: aliceblue;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    text-transform: capitalize;
    
    padding: 1.5rem;
    border-radius: 24px;
    margin: auto;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);   
    width: 75%;
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
h1{
    text-align: center;
    position: relative;
    width: 100%;
    margin: 50px auto;
}
body{
    background-color: #ecf4fb;
}
h1::before{
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    background-color: black;
    top: 50%;
    bottom: 50%;
    z-index: -1;
}
h1 span{
    background-color:#ecf4fb;
    padding: 0 15px;
}


.img-gallery{
    width: 80%;
    margin: 55px auto 55px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 55px;
   
}
.img-gallery img{
    width: 100%;
    cursor: pointer;
    transition: 1s;
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);

}
.img-gallery img:hover{
    transform: scale(1.2);
}
.ful-img{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0,0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.ful-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
.ful-img img{
    width: 90%;
    max-width: 475px;
}
@media screen and (max-width:100vw) , (max-height: 100vh) {
    h1{
        text-decoration: underline;
    }
    h1::before{
        display: none;
    }
    h1 span{
        padding: 0;
    }
}*/

.informacion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    
    justify-content: space-evenly;
    width: 100%;
    height: 90%;
    
    
}

.videoContainer{
    position: relative;


}
.imgbtn{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    opacity: 0.8;
}
.informacion > h1{
    color: aliceblue;
    margin-bottom: 1rem;
       
}
.informacion  video {
    width: auto;
    height: 90vh;
    border-radius: 50px;
    padding: 3rem;
    background-color: rgba(0, 8, 121, 0.959);
    box-shadow: 0px 0px 15px rgba(61, 61, 61, 0.6);
    backdrop-filter: blur(10px);
}



.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
}




footer-section {
    color: black;
    padding: 2rem;
    width: 30%;
}
.footer-section > iframe {
    width: 100%;
    padding: 1rem;
    border-radius: 24px;
}
.footer-section > a {
    display: block;
    text-decoration: none;
    color: black;
    font-weight: 600;
    margin: 2rem;
}

@media (max-width: 100vw) {
    .background {
        height: 100vh;
        width: 100vw;
    }
    .footer-section{
        width: 100%;
        
    }
    .footer {
        flex-direction: column;
    }
}

.footer-section  input, .footer-section  textarea, .footer-section  button, .footer-section  input {
    
    width: 100%;
    margin: 1rem;
    padding: 0.75rem;
    border-radius: 24px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);

}
.footer-section > h3{
    color: white;
    margin-left: 25px;
    font-size: 2rem;
}
.form-section {
    width: 60%;
    min-height: 40%;
   margin: 0 auto;
}

.form-section #contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}

.form-section #contact-form #form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.form-section #contact-form .form-mini-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 5% 0;
}

.form-section .form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 10%;
}

.form-section .form-field input {
    width: 100%;
    height: 3rem;
    border-radius: 10px;
    margin: 10px 0;
    padding-left: 20px;
    font-size: medium;
}

.form-section .form-field label {
    font-weight: 600;
    color: black;
    letter-spacing: 4px;
}

.form-section .form-field span.contact-form-error {
    color: black;
    font-size: small;
    width: 100%;
    height: 5vh;
    display: none;
}




.form-section  #contact-form button {
    width: 40%;
    height: 3rem;
    border-radius: 10px;
    background: #4d4d4d;
    color: black;
    font-size: medium;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background .2%;
}

/*.form-section #contact-form button:hover {
    background: #00796B;
}*/

/* Agregar al final del archivo styles.css */

/* Estilos para la página de usuarios */
body {
    font-family: 'Inter', sans-serif;
}

.hero-gradient {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #2dd4bf 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.hero-divider {
    margin-top: 2rem;
}