:root {
    --primaryColor: #fa394a;
    --secondaryColor: #ffc333;
    --white: #ffffff;
    --black: #000000;
    --lightBlue: #336699;
    --darkBlue: #253a69;
    --gray: #6c757d;
    --lightGray: #dee2e6;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
}

.site-header {
    background-color: var(--darkBlue);
    color: var(--white);
    position: relative;
    z-index: 10;
    padding: 1rem;
}

.site-header img {
    height: 100px !important;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-brand {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.site-brand img {
    height: 80px;
    margin-right: 0.75rem;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--white);
    margin: 0 0 0 0.5rem;
}

.menu-btn {
    display: none;
}

.menu-icon {
    cursor: pointer;
    display: inline-block;
    padding: 1rem;
    user-select: none;
}

.menu-icon .navicon,
.menu-icon .navicon:before,
.menu-icon .navicon:after {
    background: var(--white);
    height: 2px;
    width: 24px;
    display: block;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-out, top 0.3s ease-out;
}

.menu-icon .navicon {
    position: relative;
}

.menu-icon .navicon:before {
    content: "";
    top: -6px;
}

.menu-icon .navicon:after {
    content: "";
    top: 6px;
}

.menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
    top: 0;
}

.menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
    top: 0;
}

.nav {
    display: none;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding-left: 0;
    background-color: var(--darkBlue);
    margin-top: 1rem;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.menu-btn:checked ~ .nav {
    display: flex;
    opacity: 1;
    max-height: 500px;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
}

.nav-link {
    color: var(--white) !important;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border: none;
    width: 100%;
}

.nav-link:hover {
    background-color: var(--primaryColor);
    color: var(--white) !important;
}

@media (min-width: 992px) {
    .menu-icon {
        display: none;
    }

    .nav {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
        background-color: transparent;
        margin-top: 0;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        width: auto;
    }

    .site-header .container {
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) {
    .nav {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
        background-color: transparent;
        margin-top: 0;
        opacity: 1 !important;
        max-height: none !important;
    }
}

@media (max-width: 992px) {
    .site-header .container {
        flex-direction: column;
        /* align-items: flex-start; */
    }

    .menu-icon {
        align-self: flex-end;
    }

    .nav {
        align-items: center;
    }

    .brand-title {
        display: none;
    }
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.breadcrumb-item a {
    color: var(--gray);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primaryColor) !important;
}

.breadcrumb-item.active {
    color: var(--primaryColor) !important;
    font-weight: bold;
}

.breadcrumb-divider {
    border-bottom: 1px solid var(--lightGray);
    margin-bottom: 1rem;
}

footer {
    background-color: var(--darkBlue);
    color: var(--white);
    padding-top: 2rem;
    margin-top: auto;
}

.footer-links a {
    color: var(--white);
    margin-right: 1rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-logos img {
    height: 100px !important;
    margin-right: 1rem;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .alphabet button {
        flex: 0 0 calc(100% / 6 - 0.5rem);
    }

    .footer-logos img {
        height: 30px;
    }

    .row {
        flex-direction: column;
    }
}

.menu-icon {
    margin-left: auto;
}

.footer {
    position: relative;
    text-align: center;
    background: linear-gradient(
        60deg,
        rgba(84, 58, 183, 1) 0%,
        rgba(0, 172, 193, 1) 100%
    );
    color: white;
}

footer div {
    position: relative;
}

footer div p {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: black; /* Ajusta si necesitas contraste */
    text-align: center;
}

.logo {
    width: 50px;
    fill: white;
    padding-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

.inner-header {
    height: 65vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
    h1 {
        font-size: 24px;
    }
}
