:root {
    --azul-oscuro: #003bb1;
    --azul-claro: #7ba9e6;
    --azul-claro-alpha: rgba(123, 169, 230, 0.9);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    /*
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    */
    min-height: 100vh;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

#blog {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blog-heading span {
    color: #003bb1;
}

.blog-heading h3 {
    font-size: 2.4rem;
    color: #2b2b2b;
    font-weight: 600;
}

.blog-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.blog-box {
    width: 350px;
    background-color: #fff;
    border: 1 solid #cecece;
    margin: 20px;
}

.blog-img {
    width: 100%;
    height: auto;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-text {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-text span {
    color: #003bb1;
    font-size: 0.9rem;
}

.blog-text .blog-title {
    padding-top: 25px;
    font-size: 1.3rem;
    font-weight: 500;
    color: #272727;
}

.blog-text .blog-title:hover {
    color: #7ba9e6;
    transition: all ease 0.3s;
}

.blog-text p {
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0;
}

.blog-text a {
    color: #0f0f0f;
}

.blog-text a:hover {
    color: #003bb1;
}

.scroll{
    height: 2200px;
}

/* Inicia Barra de Navegación Inferior */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(123, 169, 230, 0.95);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.bottom-nav.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgb(3, 49, 159);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
    min-width: 60px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    color: #fff;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    color: #4fd1c7;
    background: rgba(79, 209, 199, 0.1);
}

.nav-icon {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.2);
}

.nav-text {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Finaliza Barra de Navegación Inferior */

@media(max-width:1250px) {
    .blog-box {
        width: 300px;
    }
}

@media(max-width:1100px) {
    .blog-box {
        width: 70%;
    }
}

/* Responsive Design Menú de navegación Inferior */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 0.3rem;
    }
    
    .nav-item {
        min-width: 50px;
        padding: 0.3rem;
    }
    
    .nav-icon {
        font-size: 1.2rem;
    }
    
    .nav-text {
        font-size: 0.6rem;
    }
}
/* Responsive Design Menú de navegación Inferior */

@media(max-width:550px) {
    .blog-box {
        margin: 20px 10px;
        width: 100%;
    }

    #blog {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nav-text {
        display: none;
    }
    
    .nav-item {
        min-width: 45px;
    }
    
    .nav-icon {
        margin-bottom: 0;
        font-size: 1.1rem;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    color: #003bb1;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1rem;
    display: block;
    margin-top: 1rem;
    text-align: center;
    left: 50%;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}