@import './normalize.css';    

:root {
    --primary-color: #2C537F;
    --secondary-color: #00B5E5;
    --text-color: #fff;
    --blue-dark: #0B1C2F;
    --bg-dialog: var(var(--blue-dark))
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.carousel {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overflow-y: unset;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
    /* Propiedades específicas para iOS Safari */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: scroll-position;
}

.section {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
}

.section-mask {
    background-color: #275f9fc3;
    width: 100%;
    height: 100vh;
}

.section-mask-white {
    background-color: #ffffffee;
    width: 100%;
    height: 100vh;
}

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


.section-content {
    height: calc(100vh - 15vh) !important;
    overflow: hidden;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100vh;
}

.px-60 {
    padding: 0 60px;
}

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

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

.flex-row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.gap-30 {
    gap: 30px;
}

.btn-primary {
    height: 50px;
    background-color: #fff;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 400;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    padding: 0 30px;
    cursor: pointer;
}

.btn-secondary {
    height: 50px;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    padding: 0 30px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.carousel-item {
    min-width: 100%;
    scroll-snap-align: center;
}

.carousel-pagination-container {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.carousel_pagination_dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    display: inline-block;
    cursor: pointer;
}

.carousel_pagination_dot.active {
    background-color: #00B5E5;
}

.section-mask-blue-white {
    background: linear-gradient(to right, rgba(39, 96, 159, 0.9) 18%, rgba(255, 255, 255, 0.90) 18%);
}

@media only screen and (max-width: 480px) {

    .carousel {
        height: 100dvh;
        overflow: hidden !important;
    }

    .container-gap{
        gap: 5%;
    }

    .section-content {
        height: calc(100dvh - 10vh) !important;
        overflow: hidden !important;
    }

    #section_mobile {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        height: 100vh;
        color: white;
    }

    #title_section_module {
        position: relative;
        font-weight: 600;
    }


    #sub_title_section_module {
        position: relative;
        z-index: 2;
        font-weight: 600;
    }

    #text_section_module {
        position: relative;
        z-index: 2;
        margin-top: 13px;
    }


    .section-mask-blue-white {
        background: rgba(255, 255, 255, 0.90);
    }
}

@media only screen and (max-width: 480px) and (max-height: 645px) {
    .section-content {
        height: calc(100vh - 20vh) !important;
        overflow: hidden;
    }
}

@media only screen and (max-width: 480px) and (max-height: 620px) {
    .section-content {
        height: calc(100vh - 15vh) !important;
        overflow: hidden;
    }
}

@media only Screen and (min-width: 481px) and (max-width: 900px) and (max-height: 1000px) {
    .section-content {
        height: calc(100vh - 17vh) !important;
        overflow: hidden;
    }

    .section-mask-blue-white {
        background: rgba(255, 255, 255, 0.90);
    }
}

@media only Screen and (min-width: 481px) and (max-width: 900px) and (min-height: 1001px) and (max-height: 1300px) {

    .section-content {
        height: calc(100vh - 10vh) !important;
        overflow: hidden;
    }

    .section-mask-blue-white {
        background: rgba(255, 255, 255, 0.90);
    }
}

/* == iOS Safari específico  == */
@supports (-webkit-touch-callout: none) {
    .carousel {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .section {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

@media only screen and (max-width: 480px) {
    @supports (-webkit-touch-callout: none) {
        .carousel {
            touch-action: pan-x;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }
        
        body {
            overscroll-behavior-x: none;
            -webkit-overflow-scrolling: touch;
        }
    }
}