/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    transition: all .3s ease;
    z-index: 999;
}

.navbar{
    background: linear-gradient(
        to right,
        rgba(0,0,0,.85),
        rgba(0,0,0,.55)
    );
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner .overlay{
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.45);
}

.page-banner{
    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding-top: 140px;

    overflow: hidden;

    background:
        url('../img/about-banner.jpg')
        center center/cover no-repeat;

    background-size: cover !important;
    background-position: center !important;
}

.navbar-brand img {
    object-fit: contain;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: .3s;
    position: relative;
}

.navbar .nav-link:hover {
    color: #8bc34a !important;
}

/* Línea animada */

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #8bc34a;
    transition: .3s;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* MOBILE */

/* =========================
   HERO SECTION
========================= */

.hero-section{
    position: relative;
    height: 100vh;
    background: url('../img/hero.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Overlay oscuro elegante */

.hero-section .overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.75),
        rgba(0,0,0,.45),
        rgba(0,0,0,.30)
    );
}

/* Contenido */

.hero-content{
    position: relative;
    z-index: 2;
    color: white;
    max-width: 850px;
}

/* Badge */

.hero-badge{
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 5px;
    font-size: 14px;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

/* TITULO */

.hero-content h1{
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

/* Texto verde */

.hero-content h1 span{
    color: #7ed957;
}

/* Párrafo */

.hero-content p{
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
    margin-bottom: 40px;
    max-width: 700px;
}

/* Botones */

.hero-buttons{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn{
    border-radius: 12px;
    font-weight: 600;
    transition: .3s ease;
}

/* Hover botones */

.hero-buttons .btn-success:hover{
    transform: translateY(-3px);
}

.hero-buttons .btn-outline-light:hover{
    transform: translateY(-3px);
}

/* RESPONSIVE */

    .hero-section .overlay{

        background: linear-gradient(
            to bottom,
            rgba(0,0,0,.55),
            rgba(0,0,0,.72)
        );
    }

    .hero-content{

        max-width: 100%;

        margin: auto;

        padding-inline: 10px;
    }

    /* BADGE */
    .hero-badge{

        font-size: 13px;

        padding: 8px 16px;

        margin-bottom: 18px;
    }

    /* TITLE */
    .hero-content h1{

        font-size: 42px;

        line-height: 1.15;

        margin-bottom: 20px;
    }

    /* TEXT */
    .hero-content p{

        font-size: 17px;

        line-height: 1.8;

        margin-bottom: 30px;
    }

    /* BUTTONS */
    .hero-buttons{

        justify-content: center;

        gap: 12px;
    }

    .hero-buttons .btn{

        width: 100%;

        max-width: 230px;

        padding: 14px 20px;

        font-size: 15px;
    }

    /* TAGS */
    .hero-tags{

        justify-content: center;

        gap: 10px;

        margin-top: 25px;
    }

    .hero-tag{

        font-size: 12px;

        padding: 10px 14px;
    }

/* Descripción */

.hero-description{
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
    margin-bottom: 30px;
    max-width: 700px;
}

/* TAGS */
/* TAGS */

.hero-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 45px;
}

/* TAG */

.hero-tag{
    display: flex;
    align-items: center;
    gap: 12px;

    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.18);

    backdrop-filter: blur(14px);

    color: white;

    padding: 14px 22px;

    border-radius: 60px;

    font-weight: 600;

    font-size: 15px;

    transition: .35s ease;

    animation: floatTag 4s ease-in-out infinite;

    box-shadow:
        0 10px 30px rgba(0,0,0,.20);
}

/* ICONOS */

.hero-tag i{

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(126,217,87,.18);

    border-radius: 50%;

    color: #7ed957;

    font-size: 16px;

    transition: .3s ease;
}

/* Hover */

.hero-tag:hover{

    transform: translateY(-6px);

    border-color: #7ed957;

    background: rgba(255,255,255,.14);

}

/* Hover icon */

.hero-tag:hover i{

    background: #7ed957;

    color: white;

    transform: rotate(8deg) scale(1.08);

}

/* Delays */

.hero-tag:nth-child(2){
    animation-delay: .8s;
}

.hero-tag:nth-child(3){
    animation-delay: 1.5s;
}

/* FLOAT */

@keyframes floatTag{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-10px);
    }

    100%{
        transform: translateY(0px);
    }

}

/* =========================
   FOOTER
========================= */

.main-footer{
    background: #0f1720;
    color: white;
    padding-top: 90px;
    position: relative;
}

/* Línea superior decorativa */

.main-footer::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        to right,
        #7ed957,
        #4caf50
    );
}

/* =========================
   FOOTER BRAND
========================= */

.footer-brand{

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

/* LOGO */

.footer-logo-img{

    width: 70px;

    height: 70px;

    object-fit: contain;
}

/* TEXT */

.footer-brand-text{

    display: flex;

    flex-direction: column;
}

/* TITLE */

.footer-brand-text h3{

    margin: 0;

    color: white;

    font-size: 24px;

    font-weight: 800;
}


/* SUBTITLE */

.footer-brand-text span{

    color: rgba(255,255,255,.65);

    font-size: 13px;

    letter-spacing: 1px;
}

/* Logo */

.footer-logo{
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
}

.main-logo{
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: .3s ease;
}

/* BRAND */

.brand-area{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.main-logo{
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Texto */

.brand-text{
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title{
    color: white;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-text small{
    color: rgba(255,255,255,.7);
    font-size: 12px;
    letter-spacing: 1px;
}

/* Texto */

.footer-text{
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Títulos */

.footer-title{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

/* Links */

.footer-links{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li{
    margin-bottom: 14px;
}

.footer-links a{
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover{
    color: #7ed957;
    padding-left: 5px;
}

/* Contacto */

.footer-contact{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li{
    margin-bottom: 16px;
    color: rgba(255,255,255,.7);
}

/* Redes */

.footer-social{
    display: flex;
    gap: 15px;
}

.footer-social a{
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: .3s;
}

.footer-social a:hover{
    background: #7ed957;
    transform: translateY(-4px);
}

/* Bottom */

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 60px;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p{
    margin: 0;
    color: rgba(255,255,255,.6);
}



/* =========================
   PAGE BANNER
========================= */

.page-banner .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.60);
}

.page-banner .container{
    position: relative;
    z-index: 2;
}



.page-banner h1{
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}
.page-banner{
    color: #fff;
}

.page-banner p{
    font-size: 20px;
    color: rgba(255,255,255,.85);
}

/* =========================
   ABOUT
========================= */

.about-section{
    background: #fff;
}

.about-image{
    position: relative;
}

.about-image img{
    width: 100%;
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(0,0,0,.12);
}

/* BADGE */

.section-badge{
    display: inline-block;

    background: rgba(126,217,87,.12);

    color: #4caf50;

    padding: 10px 18px;

    border-radius: 40px;

    font-weight: 700;

    margin-bottom: 20px;
}

/* TITLE */

.section-title{
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* TEXT */

.about-text{
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 17px;
}

/* =========================
   MISSION VISION
========================= */

.mission-vision{
    background: #f5f7fa;
}

/* CARD */

.info-card{

    background: white;

    padding: 45px;

    border-radius: 24px;

    height: 100%;

    transition: .35s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,.06);
}

/* Hover */

.info-card:hover{

    transform: translateY(-10px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);
}

/* ICON */

.info-icon{

    width: 80px;
    height: 80px;

    background: rgba(126,217,87,.12);

    color: #4caf50;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    margin-bottom: 25px;
}

/* TITLES */

.info-card h3{

    font-size: 32px;
    font-weight: 800;

    margin-bottom: 20px;
}

/* TEXT */

.info-card p{

    color: #666;

    line-height: 1.9;

    margin: 0;
}

/* MOBILE */

/* =========================
   INSTITUTIONAL NOTE
========================= */

.institutional-note{
    background: white;
}

/* BOX */

.note-box{

    display: flex;
    gap: 30px;

    background:
        linear-gradient(
            135deg,
            #0f1720,
            #1e293b
        );

    color: white;

    padding: 45px;

    border-radius: 28px;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0,0,0,.12);
}

/* Efecto */

.note-box::before{

    content: '';

    position: absolute;

    top: -50px;
    right: -50px;

    width: 180px;
    height: 180px;

    background:
        rgba(126,217,87,.12);

    border-radius: 50%;
}

/* ICON */

.note-icon{

    min-width: 80px;
    height: 80px;

    background:
        rgba(126,217,87,.15);

    border: 1px solid rgba(126,217,87,.30);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;

    color: #7ed957;
}

/* CONTENT */

.note-content{
    position: relative;
    z-index: 2;
}

.note-content h3{

    font-size: 32px;

    font-weight: 800;

    margin-bottom: 20px;
}

/* TEXT */

.note-content p{

    color: rgba(255,255,255,.82);

    line-height: 1.9;

    margin-bottom: 18px;

    font-size: 16px;
}

/* =========================
   SERVICES
========================= */

.services-section{
    background: #f5f7fa;
}

/* HEADER */

.section-header{
    max-width: 700px;
    margin: auto;
}

/* CARD */

.service-card{

    background: white;

    border-radius: 24px;

    overflow: hidden;

    transition: .4s ease;

    height: 100%;

    box-shadow:
        0 10px 30px rgba(0,0,0,.06);
}

/* Hover */

.service-card:hover{

    transform: translateY(-12px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.12);
}

/* IMAGE */

.service-image{
    height: 260px;
    overflow: hidden;
}

.service-image img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

/* Zoom */

.service-card:hover .service-image img{
    transform: scale(1.08);
}

/* CONTENT */

.service-content{
    padding: 35px;
}

/* ICON */

.service-icon{

    width: 70px;
    height: 70px;

    background: rgba(126,217,87,.12);

    color: #4caf50;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    margin-bottom: 25px;

    transition: .3s ease;
}

/* Hover icon */

.service-card:hover .service-icon{

    background: #4caf50;

    color: white;

    transform: rotate(6deg);
}

/* TITLE */

.service-content h3{

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 18px;
}

/* TEXT */

.service-content p{

    color: #666;

    line-height: 1.8;

    margin: 0;
}

/* =========================
   CONTACT
========================= */

.contact-section{
    background: #f5f7fa;
}

/* TEXT */

.contact-text{
    color: #666;
    line-height: 1.9;
    margin-bottom: 35px;
}

/* CONTACT CARD */

.contact-cards{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */

.contact-card{

    display: flex;
    align-items: center;
    gap: 20px;

    background: white;

    padding: 22px;

    border-radius: 20px;

    transition: .3s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}

/* Hover */

.contact-card:hover{

    transform: translateX(10px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);
}

/* ICON */

.contact-icon{

    width: 65px;
    height: 65px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    color: white;
}

/* COLORS */

.whatsapp{
    background: #25d366;
}

.phone{
    background: #3b82f6;
}

.email{
    background: #ef4444;
}

.location{
    background: #f59e0b;
}

/* TEXT */

.contact-card h5{
    margin: 0 0 5px;
    font-weight: 700;
}

.contact-card p{
    margin: 0;
    color: #666;
}

/* FORM BOX */

.contact-form-box{

    background: white;

    padding: 45px;

    border-radius: 28px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.06);
}

/* TITLE */

.contact-form-box h3{

    font-size: 34px;

    font-weight: 800;

    margin-bottom: 30px;
}

/* INPUTS */

.contact-form-box .form-control{

    border-radius: 14px;

    padding: 16px 20px;

    border: 1px solid #ddd;

    box-shadow: none;
}

/* Focus */

.contact-form-box .form-control:focus{

    border-color: #4caf50;

    box-shadow:
        0 0 0 4px rgba(76,175,80,.12);
}

/* BUTTON */

.contact-form-box .btn{

    border-radius: 14px;

    padding: 16px 32px;

    font-weight: 700;
}

/* SOCIAL */

.social-contact{

    display: flex;
    gap: 15px;

    margin-top: 35px;
}

/* ICON */

.social-contact a{

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111;

    text-decoration: none;

    transition: .3s ease;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);
}

/* Hover */

.social-contact a:hover{

    background: #4caf50;

    color: white;

    transform: translateY(-5px);
}

/* CONTACT TITLE */

.contact-text{

    max-width: 750px;

    margin: auto;

    color: #666;

    line-height: 1.9;

    font-size: 17px;
}

/* MAP */

.map-section{
    position: relative;
}

#map{
    width: 100%;
    height: 500px;
}

.schedule{
    background: #10b981;
}

/* =========================
   ALLIES
========================= */

.allies-section{

    background: #f5f7fa;

    overflow: hidden;
}

/* RAIL */

.logo-rail{

    position: relative;

    width: 100%;

    overflow: hidden;
}

/* TRACK */

.logo-track{

    display: flex;

    align-items: center;

    gap: 35px;

    width: max-content;

    animation: scrollLogos 30s linear infinite;
}

/* ITEM */

.logo-item{

    min-width: 260px;

    height: 140px;

    background: rgba(30, 255, 0, 0.1);

    border-radius: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);

    transition: .3s ease;
}

/* Hover */

.logo-item:hover{

    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);
}

/* LOGO */

.logo-item img{

    max-width: 100%;

    max-height: 80px;

    object-fit: contain;

    /* dejarlos sin color luego al hover devolver color
    filter: grayscale(100%);
    opacity: .8; */

    transition: .3s ease;
}


/* Hover devolver color */

.logo-item:hover img{

    filter: grayscale(0%);

    opacity: 1;
}

/* ANIMATION */

@keyframes scrollLogos{

    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(-50%);
    }

}

/* =========================
   NEWS
========================= */

.news-section{
    background: #f5f7fa;
}

/* CARD */

.news-card{

    background: white;

    border-radius: 26px;

    overflow: hidden;

    height: 100%;

    transition: .4s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}

/* Hover */

.news-card:hover{

    transform: translateY(-12px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.12);
}

/* IMAGE */

.news-image{

    position: relative;

    height: 280px;

    overflow: hidden;
}

.news-image img{

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

/* Hover zoom */

.news-card:hover .news-image img{

    transform: scale(1.08);
}

/* DATE */

.news-date{

    position: absolute;

    top: 20px;
    left: 20px;

    background: rgba(0,0,0,.65);

    backdrop-filter: blur(10px);

    color: white;

    padding: 10px 16px;

    border-radius: 40px;

    font-size: 13px;

    font-weight: 600;
}

/* CONTENT */

.news-content{

    padding: 30px;
}

/* TITLE */

.news-content h3{

    font-size: 25px;

    font-weight: 800;

    line-height: 1.3;

    margin-bottom: 18px;
}

/* TEXT */

.news-content p{

    color: #666;

    line-height: 1.8;

    margin-bottom: 25px;
}

/* LINK */

.news-link{

    display: inline-flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    color: #4caf50;

    font-weight: 700;

    transition: .3s ease;
}

/* Hover */

.news-link:hover{

    gap: 16px;

    color: #388e3c;
}

/* =========================================================
   PUBLICATION HERO
========================================================= */

.publication-hero{
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;

    display: flex;
    align-items: center;

    margin-top: -90px;
}

/* IMAGE */
.publication-hero img{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* OVERLAY */
.publication-hero .overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.55),
        rgba(0,0,0,.65)
    );
}

/* CONTENT */
.publication-hero .container{
    position: relative;
    z-index: 2;
}

.hero-content{
    max-width: 850px;
    color: #fff;

    padding-top: 120px;
}

/* META */
.publication-meta{
    display: flex;
    gap: 20px;

    margin-bottom: 20px;

    flex-wrap: wrap;
}

.publication-meta span{
    background: rgba(255,255,255,.15);

    backdrop-filter: blur(10px);

    padding: 10px 18px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;
}

/* TITLE */
.publication-hero .hero-content h1{
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;

    margin-bottom: 0;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.publication-description{
    font-size: 18px;
    line-height: 2;

    color: #444;
}

/* =========================================================
   GALLERY
========================================================= */

.publication-gallery{
    background: #f8f9fa;
}

/* ITEM */
.gallery-item{
    position: relative;

    display: block;

    border-radius: 22px;

    overflow: hidden;

    height: 320px;
}

/* IMAGE */
.gallery-item img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s ease;
}

/* HOVER */
.gallery-overlay{
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.45);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: .3s ease;
}

.gallery-overlay i{
    color: #fff;
    font-size: 34px;
}

/* EFFECT */
.gallery-item:hover img{
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay{
    opacity: 1;
}

/* =========================================================
   RELATED
========================================================= */

.related-news{
    background: #fff;
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float{

    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 68px;
    height: 68px;

    background: #25d366;

    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;

    text-decoration: none;

    z-index: 99999;

    box-shadow:
        0 12px 30px rgba(0,0,0,.25);

    transition: .3s ease;
}

/* HOVER */

.whatsapp-float:hover{

    transform: translateY(-6px) scale(1.05);

    background: #1ebe5d;

    color: white;
}

/* MOBILE */

@media(max-width:768px){

    .whatsapp-float{

        width: 62px;
        height: 62px;

        right: 18px;
        bottom: 18px;

        font-size: 30px;
    }

}

