* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: relative;
    background-size: cover;
}

.navegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(0, 0, 0);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.navegacion {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.navegacion ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.navegacion ul li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: rgb(0, 0, 0);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navegacion ul li a:hover::after {
    width: 100%;
}

.logo {
    flex: 1;
    z-index: 1001;
}

.logo a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    font-family: "Abyssinica SIL", serif;
    transition: all 0.3s ease;
}

.logo a:hover{
    transform: scale(105);
}

.navegacion nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navegacion nav ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.navegacion nav ul li a:hover {
    transform: scale(1.1);
}

.navegacion nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after {
    width: 100%;
}

.entrar {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1001;
}

.ingresar-btn {
    background-color: #000000;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ingresar-btn:hover {
    background-color: #0066cc;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.ingresar-btn:active {
    background-color: #002f60;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    color: #333;
}

#inicio {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('wp5446506.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 40px;
}

.hero h1 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
}

.button {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.button a, .button button {
    background: #0b0b0b;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.button button:hover {
    background: #ffffff;
    transform: scale(1.05);
    color: #000;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 8px;
    overflow: hidden;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
}

.encabezado{
    text-align: center;
    color:#000;
}

.planos{
    align-items: center;
}

.imagen{
    width: 800px;
    margin-left: 8%;
}

.info-containe{
    height: 600px;
    margin-left: 8%;
    border-radius: 10%;
    box-shadow: black;
    margin-top: 2%;
}

.info-container {
    font-size: 16px;
   margin-top: 2%;
    margin: auto;
    padding: 18px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
   width: 1000px;
    box-shadow: #000;
}

.info-text {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: #000000;
    text-align: justify;
    margin-bottom: 15px;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

.info-text:hover {
    background-color: #e0e0e0;
}

.info-description:hover {
    background-color: #e0e0e0;
}

.ihome {
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.ihome:hover {
    color: #000;
}

.titulo{
   text-align: center;
    margin-top: 3%;
    color: #ffffff;
}

.container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.imagen{
    border-radius: 10%;
}

.container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.item {
    position: relative;
    width: 250px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease-in-out, z-index 0.2s ease-in-out;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.hidden-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.item:hover {
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
    width: 300px;
    height: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #ccc;
}

.item:hover .hidden-image {
    transform: translateY(-110px);
}

.info-box {
    position: absolute;
    width: 100%;
    padding: 10px;
    text-align: center;
    bottom: -100px;
    opacity: 0;
    transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
    color: #ffffff;
    font-size: 14px;
}

.item:hover .info-box {
    bottom: 10px;
    opacity: 1;
}

footer {
    background-color: #2e68b0;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    font-size: 18px;
}

.ingresar-btn:active {
    background-color: #002f60;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fondo{
    background-color: #002f60;
}