/* =========================================================
   Variables
========================================================= */
:root {
    --duna-point1: #062e5d;
    --duna-point2: #D74412;
    --duna-point1-dark: #0b142e;
    --duna-text-section-subtitle: clamp(2rem, calc(1.7rem + 0.7vw), 3.75rem);
    --duna-text-item-title: clamp(1.25rem, calc(1rem + 0.3vw), 2rem);
    --duna-gradient-width: linear-gradient(0deg, var(--duna-point1) 0%, rgba(0, 0, 0, 0.5) 50%, var(--duna-point2) 100%);
    --duna-gradient-length: linear-gradient(90deg, var(--duna-point1) 0%, rgba(0, 0, 0, 0.5) 50%, var(--duna-point2) 100%);
}

.duna-btn-card{display:inline-block;padding:0 1rem;border-radius:2rem;overflow:hidden;position:relative;height: 2rem;}
.duna-btn-card::before{content:'';position:absolute;top:-2rem;right:0;width:6rem;height:6rem;border-radius:50%;background-color:var(--duna-point2);transition:.4s;transform:translateX(6rem);pointer-events:none;z-index:1}
.duna-btn-card .duna-btn__text{position:relative;line-height:1;color:var(--duna-point2);font-size:1rem;z-index:2;transition:.4s}
.duna-btn-card .material-symbols-outlined{position:relative;line-height:1;color:var(--duna-point2);font-size:.7rem;z-index:2;transition:.4s}
.line-btn{border:1px solid var(--duna-point2)}

/* =========================================================
   Common
========================================================= */
:where(#duna-container .section__title) {color: var(--duna-point2);}
.section__subtitle {font-weight: 600;}
#section-hero .hero__subtitle {font-weight: 400; }

.container {z-index: 1;}
.link-point {top: -4rem;}

@media (max-width:991.98px) {
	:where(#duna-container .section) {margin: 0;padding: 10vh 0;}
}


/* =========================================================
   Header
========================================================= */
#duna-container .duna-header .duna-header__brand {width: 17rem;}
#duna-container .duna-header .duna-header__logo-item {padding-top: 20%;}
#duna-container .duna-header.is-scrolled .duna-header__brand {width: 10rem;}

@media (max-width: 1299.98px) {
    #duna-container .duna-header .duna-header__collapse .navbar-nav.val1 .nav-item .nav-link {
        font-size: 1rem;
    }
}



/* =========================================================
   Hero
========================================================= */
#section-hero .hero__subtitle,#section-video .section__subtitle {font-size: clamp(0.83rem, calc(2rem + 3vw), 6rem); font-weight: 400;}
#hero-carousel:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--duna-gradient-width);
    z-index: 2;
}

#section-hero.hero--frame-mode .hero-scroll-desc {
    word-break: break-word;
}

#section-video {margin-bottom: 0;}
#section-video::before,
#section-business .business__bg-image::before,
#section-mission .img-box::before {
    background: var(--duna-gradient-width);
}

#section-video #volumeToggle {bottom: 6rem; }

@media (max-width: 991.98px) {
    #section-video #volumeToggle {bottom: 10rem;}
}


/* =========================================================
   Circle / Footer
========================================================= */
#section-circle {overflow: visible;}

#section-footer {
    background-color: var(--duna-point1);
    color: #979797;
}
.footer__logo .logo_img {padding-top: 55%;}

@media (max-width: 991.98px) {
    .footer__logo .logo_img {padding-top: 15%;}
}


/* =========================================================
   OWL carousel - section / items
========================================================= */
#section-owl .container-fluid {padding: 0;}

#section-owl .owl-carousel .owl-stage-outer {z-index: 3;}

/* background image covers the whole card */
#section-owl .owl__contents .owl__figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: unset;
    z-index: 1;
}
#section-owl .owl__figure.image--background::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--duna-gradient-length);
    z-index: 1;
}

#section-owl .item2 .owl__row {flex-direction: row-reverse;}

#section-owl .owl__item-header {
    position: relative;
    z-index: 2;
    color: var(--duna-gray-200);
}
#section-owl .section__item-subtitle {
    margin-top: 1rem;
    font-size: var(--duna-section-subtitle-size);
    line-height: var(--duna-section-subtitle-line);
}
#section-owl .section__item-desc {margin-top: .5rem;}

#section-owl .owl__media-figure {
    position: relative;
    margin-top: -3%;
    z-index: 2;
}


/* =========================================================
   OWL carousel - nav
   right triangle (>=1300px) / full-width bar above the slide (<1300px)
========================================================= */
#section-owl .owl-carousel.owl__carousel .owl-nav {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0;
    pointer-events: none;
    z-index: 3;
}
#section-owl .owl-carousel.owl__carousel .owl-nav.disabled {display: none;}

#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev,
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next {
    --owl-nav-w: clamp(22rem, 30vw, 32rem);
    --owl-nav-h: clamp(5rem, 8vw, 7rem);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    width: var(--owl-nav-w);
    height: var(--owl-nav-h);
    margin: 0;
    padding: 0 1.5rem 1.1rem;
    border-radius: 0;
    background: transparent;
    color: var(--duna-gray-100);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    pointer-events: auto;
}
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next {
    justify-content: flex-end;
    margin-left: auto;
}
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev {
    justify-content: flex-start;
    margin-right: auto;
}

/* triangle (background layer) */
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev::before,
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #00000080;
    transition: background-color .2s ease;
}
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next::before {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev::before {
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev:hover::before,
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next:hover::before {
    background: #000000ae;
}

/* text + icon */
#section-owl .owl-carousel.owl__carousel .owl-nav .owl-nav__inner {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 1rem;
    line-height: 1.2;
}
#section-owl .owl-carousel.owl__carousel .owl-nav .owl-next .owl-nav__inner {text-align: right;}
#section-owl .owl-carousel.owl__carousel .owl-nav .owl-prev .owl-nav__inner {text-align: left;}
#section-owl .owl-carousel.owl__carousel .owl-nav .material-symbols-outlined {
    width: auto;
    font-size: 1rem;
}

/* first slide: prev hidden, last slide: next hidden (keeps the other button in place) */
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev.disabled,
#section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next.disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}


/* =========================================================
   OWL carousel - responsive
========================================================= */
@media (max-width: 1299.98px) {
    /* nav comes after .owl-stage-outer in the DOM, so reorder with flex to put the bar above the slide */
    #section-owl .owl-carousel.owl__carousel.owl-loaded {
        display: flex;
        flex-direction: column;
    }
    #section-owl .owl-carousel.owl__carousel .owl-nav {
        order: -1;
        position: static;
        display: block;
        pointer-events: auto;
    }
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev,
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 1.1rem 1.5rem;
        justify-content: center;
        align-items: center;
    }
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev::before,
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next::before {
        background: #323232;
        clip-path: none;
    }
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev:hover::before,
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next:hover::before {
        background: #000000;
    }
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-prev.disabled,
    #section-owl .owl-carousel.owl__carousel .owl-nav button.owl-next.disabled {
        display: none;
    }
    #section-owl .owl-carousel.owl__carousel .owl-nav .owl-nav__inner {
        width: unset;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    #section-owl .owl__item-header {min-height: 16rem;}
    #section-owl .owl__text {padding: 3rem 0;}
    #section-owl .owl__media-figure {margin-top: 0;}
}


.footer__copyright{justify-content: center;}
