.container-servicios {
    background-color: whitesmoke; /* Color de respaldo si la imagen no carga */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    min-height: 800px;
    gap: 50px;
    width: 100%;
    /* Espacio entre texto y tarjetas */
}

.top-servicios{
    padding: 20px;
    justify-items: center;
}

.icon-aniversario{
    width: 120px;
    height: auto;
    animation: osilar 2s infinite ease-in-out;
    margin-bottom: 20px;
}

@keyframes osilar {
    0% ,100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.txt-servicios {
    display: flex;
    justify-content: center;  /* Centra horizontalmente */
    align-items: center;      /* Centra verticalmente */
    text-align: center; /* Asegura que el texto dentro también se centre */
    flex-direction: column; /* Para que los elementos se acomoden en columna */
    text-align: center;
    max-width: 900px;
    color: #002b5c;
}

.txt-servicios h2 {
    font-weight: 600;
    /* Azul elegante */
}

.txt-servicios p {
    margin-top: 15px;
    width: 80%;
}

.container-carta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* Espacio entre tarjetas */
    width: 100%;
    max-width: 1230px;
    padding: 0 20px;
}

.carta {
    width: 360px;
    min-width: 307px;
    height: 490px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*cursor: pointer;*/
}

.carta:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.div-img-carta {
    width: 100%;
    height: 50%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.img-carta {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carta:hover .img-carta {
    transform: scale(1.1);
}

.div-texto-carta {
    position: relative;
    width: 100%;
    height: 50%;
    background-color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
}

.div-texto-carta::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    border-radius: 50% 50% 0 0;
}

.txt-carta {
    display: flex;
    /* Activar flexbox */
    flex-direction: column;
    /* Alinear los elementos en columna */
    justify-content: center;
    /* Centrar verticalmente */
    align-items: center;
    /* Centrar horizontalmente */
    text-align: center;
}

.txt-carta h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #10385E;
    margin-bottom: 15px;
}

.txt-carta p {
    text-align: justify;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.txt-carta a{
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9rem;
}

.txt-carta p br {
    margin-bottom: 5px;
}

.info-adicional {
    display: none;
    flex-direction: column;
    /* Alinear los elementos en columna */
    justify-content: center;
    /* Centrar verticalmente */
    align-items: center;
    /* Centrar horizontalmente */
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 280px;
    text-align: left;
    z-index: 9;
    height: 200px;
}
.info-adicional p{
    margin: 15px;
    color: #002b5c;
}
.info-adicional ul {
    padding-left: 20px;
    font-size: 0.9rem;
    color: #444;
}

.info-adicional a {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    font-size: 0.9rem;
}

.cerrar-info,
.ver-mas {
    text-align: center;
    justify-content: center;
    /* Centrar verticalmente */
    align-items: center;
    /* Centrar horizontalmente */
    padding: 5px 10px;
    background-color: #002b5c;
    border-radius: 15px;
    color: white;
}
.cerrar-info i ,
.ver-mas i {
    margin-left: 5px;
}

.container-servicios .container-presentacion-seccion {
    background-image: url("../img/pexels-shottrotter-566061.webp");
    /* background-image: url("../img/convoy.jpeg"); */
}

.container-presentacion-seccion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centrar verticalmente */
    align-items: center;
    /* Centrar horizontalmente */
    color: white;
    gap: 30px;
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container-presentacion-seccion p {
    max-width: 572px;
}

.txt-inf {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente */
    align-items: center; /* Centrar horizontalmente */
    text-align: center;
    width: 100%;
}

.oculta {
    display: none;
}
