/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

/********** HERO HEADER **********/

.hero-header {
    background: url(../img/hero.png) center center no-repeat;
    background-size: cover;
}

/* HERO PRINCIPAL (INDEX) */

.hero-home h5 {
    color: #0F3D66 !important;
    border-color: rgba(15, 61, 102, 0.4) !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.hero-home h1 {
    color: #FFFFFF !important;
    text-shadow: 0 3px 10px rgba(0,0,0,0.35);
    max-width: 760px;
    line-height: 1.1;
}

.hero-home .hero-copy {
    padding-top: 10px;
}

/* HERO PÁGINAS INTERNAS (texto negro) */

.hero-inner-black .text-white,
.hero-inner-black .text-white-50,
.hero-inner-black h1,
.hero-inner-black h2,
.hero-inner-black h3,
.hero-inner-black h4,
.hero-inner-black h5,
.hero-inner-black h6,
.hero-inner-black p,
.hero-inner-black span,
.hero-inner-black small,
.hero-inner-black a,
.hero-inner-black .lead {
    color: #000 !important;
}

.hero-inner-black .border-white,
.hero-inner-black .border-bottom,
.hero-inner-black h5 {
    border-color: #000 !important;
}

/********** SERVICE ITEMS **********/

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

/********** TEAM / CAROUSEL **********/

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

/********** TESTIMONIAL **********/

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

/********** PRESIDENTES **********/

.president-card {
    transition: .3s;
    border: 1px solid rgba(0,0,0,.05);
}

.president-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.president-photo-wrap img {
    width: 100%;
    height: auto;
}

/********** LOCATION CARD **********/

.location-card{
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/********** PRESIDENTE ACTUAL **********/

.president-card.is-current {
    border: 3px solid var(--primary);
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    position: relative;
}

.president-photo-wrap {
    position: relative;
}

.president-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.navbar-logo {
    width: 55px;
    height: auto;
    aspect-ratio: 156 / 187;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.navbar-brand img {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .topbar-mobile-stack .row > div {
        text-align: center !important;
        margin-bottom: 8px;
    }

    .topbar-mobile-stack .d-inline-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}