*{
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}

body{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

/*Efecto de desenfoque en la capa y en el gradiente */
.image-gradient{
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur{
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}

/*Contenedor*/
.container{
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/*Encabezado*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    /* background-color: rgb(0, 0, 0); */
    background-color: transparent;
}

header .logo{
    width: 300px;
    right: 100px;
}

header h1{
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

nav{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a{
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    z-index: 999;
}

nav a:hover{
    color: #a7a7a7;
}

.btn-cono{
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.btn-cono:hover{
    background-color: white;
}

/*Contenedor del Main*/
main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content{
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.tag-box{
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient{
    to{
        background-position: 200%;
    }
}

.tag-box .tag{
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover{
    color: #5300a0;
}

.content h1{
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description{
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started{
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-get-started:hover{
    background-color: #1a1a1a;
}

.btn-signing-main{
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-signing-main:hover{
    background-color: gray;
}

.robot-3d{
    position: absolute;
    top: -20%;
    right: -20%;
    z-index: 0;
}

/* Botón de menú */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 999;
}

/* Sidebar oculto por defecto */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -250px;
    height: 100vh;
    width: 150px;
    background-color: black;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}

/* Enlaces del sidebar */
.mobile-nav a,
.mobile-nav button {
    display: block;
    margin: 1rem 0;
    text-align: center;
    color: #e7e7e7;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav button:hover {
    color: #a7a7a7;
}

/* Mostrar sidebar al activar */
.mobile-nav.active {
    right: 0;
}

/*Responsivo*/
@media (max-width: 1300px){
    header{
        padding: 1rem 0.5rem;
    }

    .content{
        margin-top: 85%;
    }

    .robot-3d{
        scale: 0.8;
        top: -20%;
        right: 2%;
    }
}

@media (max-width: 768px){
    header{
        padding: 1rem 0.1rem;
    }

    nav{
        display: flex;
    }

    header h1{
        font-size: 2rem;
    }

    .btn-cono{
        padding: 0.6rem 1.5rem;
    }

    .content{
        margin-top: 25rem;
    }

    .robot-3d{
        scale: 0.5;
        top: -35%;
        right: 0;
        width: 100%;
    }

    .content{
        max-width: 30rem;
        margin-left: 10%;
    }

    .tag-box{
        width: 12rem;
    }

    .content h1{
        font-size: 2.5rem;
    }

    .description{
        font-size: 1rem;
    }

    .btn-get-started{
        font-size: 0.8rem;
        padding: 0.8rem 1.2rem;
    }

    .btn-signing-main{
        font-size: 0.8rem;
        padding: 0.8rem 2rem;
    }
    header nav {
        display: none;
    }

    /* Muestra el botón de menú */
    .menu-toggle {
        display: block;
    }

    /* Mostrar/Ocultar sidebar con JavaScript */
    .mobile-nav.active {
        display: flex;
    }
}

/*Estilos para convenios*/
/* Sección de Convenios */
.convenios-gallery {
    padding: 60px 30px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.gallery-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.convenio-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.convenio-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.convenio-card:hover {
    transform: translateY(-5px);
}

.convenio-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    transition: all 0.3s ease;
}
/* Estilo específico cuando el video está en modo pantalla completa */
.convenio-video:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain; /* Muestra todo el video sin recortar */
    background-color: black; /* Opcional: fondo negro si aparecen bordes */
}

.convenio-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.convenio-card-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}


/* Footer */
#footer {
    background-color: transparent;
    color: #e7e7e7;
    padding: 40px 20px;
    margin-top: auto; /* Para evitar que tape el contenido */
    border-top: none;
}

.container__footer {
    max-width: 1170px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.hefo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hefo img {
    height: 30px;
}

.hefo .title__utb {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-left: 8px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.footer-col {
    flex: 1 1 20%; /* Responsive - ocupa espacio dinámico */
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 15px;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    background-color: #ffb700;
    height: 2px;
    width: 50px;
}

.footer__ul {
    list-style: none;
    padding: 0;
}

.li__footer {
    margin-bottom: 10px;
}

.a__footer {
    font-size: 14px;
    color: #bbbbbb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.a__footer:hover {
    color: #ffffff;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ffffff;
    color: #000;
}

.dr_utb {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: 20px;
}


/*marca de agua*/

/* Capa para tapar la marca de agua */
@media (max-width: 768px) {
.watermark-cover {
    position: absolute;
    top: 740px; /* Ajusta según sea necesario */
    left: 220px; /* Ajusta según sea necesario */
    width: 90px; /* Ancho suficiente para cubrir la marca de agua */
    height: 15px; /* Altura suficiente para cubrir la marca de agua */
    background-color: rgb(0, 0, 0); /* Color igual al fondo para que no se note */
    z-index: 999; /* Asegura que esté encima de todo */
}}