body {
    background-color: var(--brand-white);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

nav a {
    color: #EEE;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    text-shadow: 10px 4px 10px rgba(0, 0, 0, 0.2);
}

nav a:hover {
    color: #FFF;
    text-shadow: 10px 4px 20px rgba(0, 0, 0, 0.8);
}

nav a.active {
    color: #FFF;
}


.hero {
    position: relative;
    height: 100vh;
    background-image: url("../media/revision-y-auditoria-actuarial/hero.webp");
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    background-attachment: fixed; /* Puede mejorar el efecto de desplazamiento */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* En lugar de reutilizar el fondo, usa un color transparente */
    z-index: 1;
}


.hero .row {
    position: relative;
    z-index: 2; /* Eleva el contenido por encima del pseudo-elemento */
}

.wave-end {
     background-image: url('../media/revision-y-auditoria-actuarial/wave-end.png');
     background-size: 100%;
     height: 100px;
     background-repeat: no-repeat;
     background-position: top;
}

h3 {

    margin: 1rem 0;
}

#beneficios div.row div.col-md-4 div {
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.lightning-icon {
    background-image: url('../media/revision-y-auditoria-actuarial/svgs/lightning.svg');
}

.umbrella-icon {
    background-image: url('../media/revision-y-auditoria-actuarial/svgs/umbrella.svg');
}

.star-icon {
    background-image: url('../media/revision-y-auditoria-actuarial/svgs/star.svg');
}

.curved {
    background: var(--brand-secondary);
    position: relative;
    width: 100%;
    min-height: 20%;
    z-index: 0;
    box-sizing: border-box;
    margin-top: 8rem;
}

.curved:before {
    content: '';
    background: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: -1;
    transform: translate(0px, -99%);
    transform-origin: top left;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

