@import url("variables.css");

html,
body {
    overflow-x: hidden !important;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--global-text-dark);
    font-size: 1.1rem;
}

.text-justify {
    text-align: justify;
}

[id] {
    scroll-margin-top: 50px;
}

h1,
h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

h1.display-3 {
    letter-spacing: .1rem;
}

a {
    color: var(--global-color-skyblue);
    text-decoration: none;
}

hr {
    color: var(--global-color-gray-secondary);
}

.navbar {
    transition: background-color 0.5s ease, color 0.5s ease;
}


.navbar.scrolled {
    background-color: var(--global-navbar-bg) !important;
    transition: background-color 0.4s ease;
}

.navbar .nav-link {
    color: #fff !important;
    font-size: .9rem !important;
}

.navbar .nav-link:hover {
    opacity: .8;
}

#navbarNav {
    text-transform: uppercase;
    font-size: .95rem;
    font-weight: 500;
}

.navbar-logo {
    height: 35px;
    width: auto;
}

.dropdown-menu.show {
    border-radius: 0 !important;
    background: var(--global-color-primary);
    border-color: var(--global-color-primary);
}

.dropdown-item {
    color: white;
    font-size: .9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: transparent;
    color: var(--global-hover-light);
}


.carousel-img-wrapper {
    overflow: hidden;
    height: 80vh;
    position: relative;
}

.carousel-img-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    animation: zoomIn 4s ease-in-out forwards;
}

.carousel-item:not(.active) .carousel-img-wrapper img {
    animation: none !important;
}

.carousel-inner,
.carousel-item,
.carousel-img-wrapper,
.carousel-img-wrapper img {
    height: 100%;
}

.carousel-img-wrapper img {
    object-fit: cover;
    width: 100%;
}

.carousel-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--global-overlay-bg);
    z-index: 5;
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 2rem;
    max-width: 90%;
}

.carousel-overlay h1,
.carousel-overlay p {
    text-shadow: var(--global-text-shadow);
}

.overlay-photo-cr {
    position: absolute;
    bottom: 10px;
    right: 0;
    width: 100%;
    padding-right: 1rem;
    font-size: 0.9rem;
    opacity: 0.5;
    z-index: 11;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

@media (max-width: 991.98px) {

    #hero {
        margin-top: 60px;
    }

    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item,
    #heroCarousel .carousel-img-wrapper {
        height: 50vh !important;
    }

    #heroCarousel .carousel-img-wrapper img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .carousel-overlay {
        padding: 1rem;
        text-align: center;
        width: 95%;
    }

    .carousel-overlay h1 {
        font-size: 1.75rem;
    }

    .carousel-overlay p {
        font-size: 1rem;
    }

}

.btn {

    border-radius: 0 !important;
}

.btn-transparent-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
    padding: 12px 22px 12px 22px;
}

.btn-transparent-white:hover {
    background-color: white !important;
    color: var(--global-color-primary);
    border-color: white;
}

.btn-donacion {
    font-size: .9rem;
}

.btn-green {
    background-color: var(--global-color-primary);
    color: var(--global-bgcolor);
    border: 2px solid var(--global-color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0;
    padding: 12px 22px 12px 22px;
}

.btn-green:hover {
    background-color: white !important;
    color: var(--global-color-primary);
    border-color: var(--global-color-primary);
}

.btn-info {
    background-color: var(--global-color-skyblue);
}

.title-block {
    font-size: clamp(36px, 3.2vw, 46px);
    font-weight: 600;
    line-height: 1.3;
}

.text-green {
    color: var(--global-color-secondary);
}

.text-gray {
    color: var(--global-text-dark);
}

.btn-primary {
    background-color: var(--global-bgcolor);
    fill: var(--global-color-primary);
    color: var(--global-color-primary);
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--global-color-primary);
    padding: 16px 32px 16px 32px;
    font-weight: 600;
    font-size: 100%;
}

.btn-primary:hover {
    background-color: var(--global-color-primary);
    border-color: var(--global-color-primary);
    color: var(--global-bgcolor);
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible,
.btn-primary:focus:active,
.btn-primary:active:focus {
    background-color: var(--global-color-secondary) !important;
    border-color: var(--global-color-primary) !important;
    color: var(--global-bgcolor) !important;
    box-shadow: none !important;
}

.btn-secondary {
    background-color: var(--global-color-skyblue);
    color: var(--global-bgcolor);
    border: 2px solid var(--global-color-skyblue);
    padding: 16px 32px;
    font-weight: 600;
    font-size: 100%;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--global-bgcolor);
    color: var(--global-color-skyblue);
    border: 2px solid var(--global-color-skyblue);
    box-shadow: none;
}

.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:focus-visible,
.btn-secondary:focus:active,
.btn-secondary:active:focus {
    background-color: var(--global-bgcolor) !important;
    border-color: var(--global-color-skyblue) !important;
    color: var(--global-color-skyblue) !important;
    box-shadow: none !important;
}

.text-block {
    font-weight: 400;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background-color: var(--global-color-secondary);
    border: 3px solid var(--global-color-gray-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    margin: 0 auto;
}

.credits.small {
    font-size: 13px;
}

.icon-seal {
    width: 68px;
    height: 68px;
    background-image: url("../img/iconos/seal.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.underline-link {
    position: relative;
    display: inline;
    text-decoration: none;
    color: var(--global-color-skyblue);
    overflow: hidden;
}

.underline-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.underline-link:hover::after {
    width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/overlay.png');
    background-size: cover;
    background-repeat: repeat-x;
    z-index: 1;
}


.btn-play {
    background-color: transparent;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.47);
    border-radius: 50% !important;
    color: #ffffff;
    position: relative;
    z-index: 2;

}

.play-icon {
    color: white;
    font-size: 3rem;
}

.btn-play:hover {
    background: #fff;
}

.btn-play:hover .play-icon {
    color: var(--global-color-primary);
}

#videoModal .modal-content {
    border-radius: 0;
}

.video-big {
    height: 60vh;
}

.video-box {
    position: relative;
    width: 20%;
    height: 300px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box .btn-play {
    width: 80px;
    height: 80px;
}

.video-title {
    position: absolute;
    font-size: clamp(0.7rem, 0.6rem + 0.3vw, 1rem);
    color: white;
    bottom: 0;
    right: 15px;
    z-index: 3;
    opacity: .65;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .video-box {
        height: 180px;
    }

    .video-big {
        height: 300px;
    }

    .video-box .btn-play {
        width: 50px;
        height: 50px;
    }

    .video-box .btn-play .play-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {

    .btn-play {
        width: 50px;
        height: 50px;
    }

    .play-icon {
        font-size: 1.5rem;
    }

    .video-container {
        flex-direction: column;
    }

    .video-box,
    .video-big {
        width: 100vw;
        height: 250px;
        margin: 0 auto;
        margin-bottom: .8rem;


    }
}

#socios .swiper-slide img {
    max-height: 150px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7;
    display: block;
    margin: 0 auto;
}


#socios .swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

#socios .swiper {
    padding: 0 30px;
}

#socios .swiper-slide {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.swiper-button-prev,
.swiper-button-next {
    color: var(--global-color-skyblue);
}

.socials {
    display: flex;
    align-items: center;
    gap: 3px;
}


.link-social {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}


.link-social.facebook {
    background: #1977f3;
}

.link-social.instagram {
    background: linear-gradient(180deg, #f6019d, #ff9a00);


}

.link-social.instagram i {
    font-size: 1.4rem;
}

.link-social i {
    font-size: 1rem;
    color: #fff;
}

.custom-facebook {
    width: 50px;
    height: 50px;
    background-image: url("../img/iconos/facebook.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.call {
    color: var(--global-color-secondary);
    font-size: 1.5rem;
}

#donar {
    background-color: #aac9cb !important;
    position: relative;
    height: 400px;
}

#donar .animal {
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    height: 500px;
    background-image: url(../img/ballena_azul.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

#donar h1 {
    color: var(--global-color-primary);
    font-size: 3.5rem;
}

#donar p {
    font-size: 1.6rem;
    color: var(--global-color-primary);

}

#donar .container {

    position: relative;
    z-index: 2;
}

#donar .content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

#donar .texto {
    flex: 1 1 60%;
    opacity: .8;
}

#donar .boton {
    flex: 0 0 auto;
    margin-left: 20px;
}

@media (max-width: 1024px) {
    #donar h1 {
        font-size: 2.5rem;
    }

    #donar p {
        font-size: 1.4rem;
    }
}

@media (max-width: 1023px) {
    #donar .contenido-flex {
        flex-direction: column;
        text-align: center;
    }

    #donar .container {
        padding: 0 !important;
    }

    #donar h1 {
        font-size: 2rem;
    }

    #donar p {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    #donar .boton {
        margin-left: 0;
    }
}

#footer .text-body-emphasis {
    color: var(--global-text-dark) !important;
}

#footer .logo {
    width: 100px;
}

#footer .list-unstyled li a {
    color: var(--global-text-dark) !important;
    font-size: .875em;
}

.done-by {
    display: flex;
    align-items: center;
    gap: 20px;
}

.done-by img {
    width: 100px;
    height: auto;
    margin-top: 30px;
}

#footer a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--global-text-dark);
    overflow: hidden;
}

#footer a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

#footer a:hover::after {
    width: 100%;
}

.text-xsmall {
    font-size: 0.75rem !important;
}

.text-small {
    font-size: 0.875rem !important;
}

.parallax-section {
    position: relative;
    background-image: url('../img/otras/bluehope-whale-conservation-026.webp');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 79, 73, 0.5);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
}

@media (max-width: 991.98px) {
    .parallax-section {
        background-attachment: scroll;
        height: auto;
        padding: 3rem 0;
    }

    #donar .animal {
        position: absolute;
        top: -10px;
        left: 20%;
        width: 600px;
    }

}

@media (max-width: 575.98px) {
    #donar .animal {
        width: 98%;
        height: 250px;
        left: 5px;
        top: 86px;
    }
}

.accordion-button.custom-header {
    background-color: var(--global-color-skyblue);
    color: white;
    border-radius: 0 !important;
    font-size: 1.6rem;
}

.accordion-body {
    color: var(--global-text-dark);
}

.accordion-button::after {
    display: none;
}

.accordion-button .toggle-icon {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .toggle-icon {
    transform: rotate(180deg);
}

.bg-header {
    height: 400px;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}


.breadcrumb-item+.breadcrumb-item::before {
    content: none;
}

.breadcrumb-item.active {
    color: var(--global-color-skyblue);
}

.breadcrumb-item a {
    transition: transform 0.3s ease;
}

.breadcrumb-item a:hover {

    color: var(--global-color-skyblue) !important;
}

#btnScrollUp {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#btnScrollUp.visible {
    display: flex;
    opacity: 1;
}


.btn-scrollup {
    position: fixed;
    bottom: 25px;
    right: 30px;
    display: none;
    z-index: 999;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    font-size: 1.25rem;
    align-items: center;
    justify-content: center;
    display: flex;
}

@media (max-width: 768px) {
    #btnScrollUp {
        bottom: 20px;
        right: 20px;
    }

    .disclamer {
        padding: 0 90px !important;
    }

    .copy {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    #btnScrollUp {
        bottom: 90px;
        right: 20px;
    }

    .disclamer {
        padding: 0 40px !important;
        text-align: left !important;
    }


}

/* cards */
.bg-card-green {
    background: #3CB371;
}

.bg-card-blue {
    background: #6495ED;
}

.bg-card-red {
    background: #F08080;
}

.bg-card-yellow {
    background: #FBC02D;
}

#divEducationInformation .card.bg-light,
#divRecords .card.bg-light {
    color: var(--global-text-dark);
}

#divEducationInformation .card-title,
#divRecords .card-title {
    font-size: 1.2rem;
    font-weight: 500;
}

#divEducationInformation .card-text,
#divRecords .card-text {
    font-size: 1rem;
    text-align: left;
    font-weight: 400;
}

#divEducationInformation .education-specie .card-title,
#divRecords .education-specie .card-title {
    color: var(--global-color-secondary);
    margin-bottom: 0;
}

#divEducationInformation .education-specie .text-muted,
#divRecords .education-specie .text-muted {
    font-size: 1rem;
}

#divEducationInformation .education-specie .card-text,
#divRecords .education-specie .card-text {
    color: var(--global-text-dark);
}

.bg-info {
    background: var(--global-color-skyblue) !important;
}

.card-especie strong {
    color: var(--global-color-secondary);
}

#divEducationInformation .card-especie .card-title,
.modal-title-style {
    color: var(--global-color-skyblue);
    font-size: 1.85rem;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2rem;
}

#divEducationInformation .card-especie .text-muted,
#divRecords .card-especie .text-muted {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 1rem;

}

.modal .btn-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--global-color-skyblue);
    opacity: 1 !important;
    background-image: url(../img/close.png);
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
    padding: .6rem;
    border-radius: 0;
    z-index: 1200;

}

.card-bg {
    background: var(--global-bg-card);
    color: var(--global-text-dark);
    border-color: #e6e6e6;
}

.card-bg .card-footer {
    border-top: 0 !important;
    background: var(--global-bg-card);
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ccc;
    padding: 4px;
    background-color: white;
    margin: 0 auto;
    margin-top: 15px;
}

.profile .card-title {
    color: var(--global-color-secondary);
}

.card-highlight-color-2 {
    color: #05aeb5;
}

.card-highlight-color-1 {
    color: var(--global-color-secondary);
}

.profile .badge {
    background: var(--global-bg-badge);
    font-size: .8rem;
    font-weight: 500;
}

.stats {
    font-size: 1rem;
    margin-bottom: 0;
}

.card .btn-info {
    border-radius: 4px !important;
}


span.company {
    display: block;
    font-size: .975rem !important;
    padding-top: .5rem;
    color: var(--global-color-skyblue);
}

.review {
    font-size: 1rem;
}

.modal .profile-img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: block;
}

.swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background-color: #0dcaf0;
    opacity: 1;
}

.img-education-specie {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.bg-custom {
    background: #e6e6e6;
}

.dvh-100 {
    height: 100dvh;
}

.modal-body .form-label {
    color: var(--bs-secondary-color) !important;
    font-size: .875em;
}

.bg-expertos {
    background-image: url('../img/header/Original_WW1298823.jpg');
}

.bg-colaboradores {
    background-image: url('../img/header/Chepu-3sept2023-@ChiloeFilms-22.jpg');
}

.bg-politicas {
    background-image: url('../img/header/_16A7164.jpg');
}

@media (max-width: 1024px) {
    .bg-politicas {
        background-image: url('../img/header/_16A7164_sm.jpg');
        background-position-y: 35%;
    }
}

@media (max-width: 575.98px) {
    .bg-expertos {
        background-image: url('../img/header/Original_WW1298823_sm.jpg')
    }

    .bg-colaboradores {
        background-image: url('../img/header/Chepu-3sept2023-@ChiloeFilms-22_sm.jpg');
    }
}

.politica-privacidad ul.lista-secciones {
    list-style-type: none;
    padding-left: 0;
}

.politica-privacidad ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}


.politica-privacidad .lista-secciones>li {
    margin-bottom: 1.5em;

}

.politica-privacidad .lista-secciones>li>ul {
    margin-bottom: 1em;
    list-style: disc;
    padding-left: 2rem;
    /* o el valor que necesites */
}