/*-------------------HERO HOME SECTION---------------------*/

section#hero-main-section {
    position: relative;
    min-height: calc(100dvh - 6rem);
    height: calc(100dvh - 6rem);
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

section#hero-main-section .slider-container,
section#hero-main-section .slider {
    position: relative;
    width: 100%;
    height: 100%;
}

section#hero-main-section .slide,
section#hero-main-section .slide img,
section#hero-main-section .slide::after {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
}

section#hero-main-section .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.35s cubic-bezier(0.5,0,0.18,0.8);
    z-index: 1;
    overflow: hidden;

}

section#hero-main-section .slide.active {
    opacity: 1;
    z-index: 2;
}

#hero-main-section .slide > * {
    position: relative;
    z-index: 4;
    opacity: 1 !important;
}

section#hero-main-section .slide .slide-content {
    position: absolute;
    left: 0;
    bottom: 10rem;
    z-index: 4;
    color: #fff;
    text-align: left;
    padding: 2rem 3rem;
    background-color: var(--detail-color);
    width: 60rem;
    height: 15rem;
    font-size: 1rem;
}

section#hero-main-section .slide h2 {
    max-width: 80vh;
    font-size: 2.7em;
    margin-bottom: 1.5rem;
    color: var(--background-color);
}

section#hero-main-section .slide h3 {
    font-size: 2.4em;
    font-weight: lighter;
    color: var(--background-color);
}

section#hero-main-section .slide a {
    width: auto;
    max-width: 150px;
    padding: 0.5rem 1rem;
    font-size: 2.8rem;
    background-color: var(--detail-color);
    border-radius: 0.3rem;
    transition: background-color 0.2s ease-out;
    text-align: center;
    text-decoration: none;
}

section#hero-main-section .slide a:hover {
    background-color: var(--accent-color);
}

section#hero-main-section .slide img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100vw;
    z-index: 1;
    border-radius: 0;
    box-shadow: none;
}

section#hero-main-section .progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7px;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 8px rgba(126, 126, 126, 0.5);
    overflow: hidden;
    width: 40vw;
    min-width: 120px;
    max-width: 70vw;
    margin: 0 auto 1.5rem auto;
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 10;
}

section#hero-main-section .progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    transition: width linear;
}

section#hero-main-section .slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    position: absolute;
    bottom: 4.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

section#hero-main-section .slider-dot {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background-color: var(--gray-color);
    box-shadow: 0 2px 8px rgba(126, 126, 126, 0.5);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

section#hero-main-section .slider-dot:hover {
    background-color: var(--accent-color);
}

section#hero-main-section .slider-dot.active {
    background-color: var(--accent-color);
}

section#hero-main-section .scroll-down {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    transition: opacity 0.3s;
    border-radius: 50%;
}

section#hero-main-section .scroll-down:hover {
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        transform: translateX(-50%) translateY(6px);
    }
}




/*--------------------VIDEO HOME SECTION---------------------*/

section#video-main-section {
    display: flex;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 600px;
    max-height: 600px;
    margin: 0;
    padding: 0;
    gap: 0;
}

section#video-main-section * {
    color: var(--background-color);
}

section#video-main-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

section#video-main-section .text {
    position: absolute;
    width: 100%;
    max-width: 600px;
    height: 100%;
    z-index: 2;
    left: 0;
    color: var(--background-color);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    font-size: 1rem;
}

section#video-main-section .text p {
    font-weight: lighter;
    font-size: 1.7em;
}

section#video-main-section .text h1 {
    color: white;
    font-size: 3.8em;
    margin-bottom: 3.5rem;
    margin-left: 2rem;
}

section#video-main-section .text a {
    width: auto;
    max-width: 180px;
    padding: 0.7rem;
    margin: 1rem;
    font-size: 1.9rem;
    background-color: var(--detail-color);
    border-radius: 0.3rem;
    transition: background-color 0.2s ease-out;
    text-align: center;
    text-decoration: none;
}

section#video-main-section .text a:hover {
    background-color: var(--accent-color);
}

section#video-main-section .about-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 425px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

section#video-main-section .about-block .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.7rem;
    width: 5.7rem;
    aspect-ratio: 1 / 1;
    background-color: var(--detail-color);
    border-radius: 100%;
    padding: 0.8rem;
    margin-right: 1rem;
}

section#video-main-section .about-block img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: invert(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
}


/*--------------------SECOND HOME SECTION---------------------*/

section#second-main-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    max-height: 600px;
    margin: 0;
    padding: 0;
    gap: 0;
}

section#second-main-section .text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--dark-color);
    padding: 2rem;
    margin-right: 5%;
    font-size: 1rem;
}

section#second-main-section .text h1 {
    font-size: 3.8em;
    margin-left: 2rem;
}

section#second-main-section .text p {
    font-size: 1.7em;
    color: var(--dark-color);
}

section#second-main-section .text a {
    width: auto;
    max-width: 180px;
    padding: 0.7rem;
    margin: 1rem;
    font-size: 1.9rem;
    background-color: var(--detail-color);
    border-radius: 0.3rem;
    transition: background-color 0.2s ease-out;
    text-align: center;
    text-decoration: none;
}

section#second-main-section .text a:hover {
    background-color: var(--accent-color);
}

section#second-main-section .image {
    width: 65%;
    max-width: none;
    display: flex;
    justify-content: end;
    align-items: end;
    height: 100%;
    min-height: 400px;
}

section#second-main-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}


section#second-main-section .about-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 425px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

section#second-main-section .about-block .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.7rem;
    width: 5.7rem;
    aspect-ratio: 1 / 1;
    background-color: var(--detail-color);
    border-radius: 100%;
    padding: 0.8rem;
    margin-right: 1rem;
}

section#second-main-section .about-block img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: invert(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
}

/*--------------------MORE SECTION----------------------*/

section#more-main-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: start;
    padding: 2rem 0;
    gap: 2rem;
    background-color: var(--detail-color);
    min-height: 300px;
    width: 100%;
}

section#more-main-section * {
    color: var(--background-color);
}

section#more-main-section .more-main-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: start;
    padding: 2rem 0;
    gap: 2rem;
    background-color: var(--detail-color);
    min-height: 300px;
    width: 100%;
    max-width: 1800px;
}

section#more-main-section div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: var(--detail-color);
    margin: 1rem;
    flex: 1 0 300px;

}

section#more-main-section div h3 {
    text-align: center;
    font-size: 3.4rem;
    margin-bottom: 1rem;
}

section#more-main-section div p {
    text-align: center;
    font-size: 1.5rem;
    max-width: 90%;
}

section#more-main-section div img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8.7rem;
    width: 8.7rem;
    aspect-ratio: 1 / 1;
    box-shadow: none;
    padding: 0.7rem;
    filter: invert(1);
}

/*------MEDIA 1000px-------*/
@media(min-width: 1000px){
    section#second-main-section .image {
        width: 100%;
    }
}

/*------MEDIA 850px-------*/
@media(max-width: 850px){
    section#second-main-section {
        flex-direction: column;
        width: 100%;
        max-height: none;
    }
    
    section#second-main-section .text {
        align-items: center;
        margin: 0;
        width: 100%;
        max-width: none;
    }

    section#second-main-section .text h1 {
        width: auto;
        min-width: none;
        max-width: none;
        margin-left: 0;
    }

    section#second-main-section .text .about-block{
        justify-content: center;
    }

    section#second-main-section .image {
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: end;
        align-items: end;
        height: 100%;
        min-height: 400px;
    }
}


/*------MEDIA 780px-------*/
@media(max-width: 780px){

   section#hero-main-section .slide .slide-content {
        bottom: 8rem;
        width: 100%;
        height: auto;
    }

    /*-------------HOME-HELP-CTA-FORM------------*/

    section#help-catalog-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    section#help-catalog-section .help-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
        height: 100%;
        width: 100%;
        min-width: 100%;
    }


    section#help-catalog-section .help-content h2 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    section#help-catalog-section .help-content p {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    section#help-catalog-section .help-content div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    section#help-catalog-section .help-content button {
        flex: 1 1 0;
        padding: 1.1rem 1.5rem;
        font-size: 1.6rem;
        font-family: inherit;
        font-weight: bold;
        text-decoration: none;
        border-radius: 0.5rem;
        transition: box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
        border: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    section#help-catalog-section .help-content button svg {
        width: 1.5rem;
        flex-shrink: 0;
        margin-right: 0.6rem;
    }
}

/*------MEDIA 650px-------*/
@media(max-width: 650px){
    section#video-main-section .text {
        max-width: none;
    }
}


/*------MEDIA 480px-------*/
@media(max-width: 480px){

    section#hero-main-section{
        min-height: calc(100dvh - 4.5rem);
        height: calc(100dvh - 4.5rem);
    }

    section#hero-main-section .slide .slide-content {
        bottom: 6rem;
        padding: 1rem;
        font-size: 0.6rem !important;
    }

    
    section#hero-main-section .slide h2 {
        max-width: 60%;
        font-size: 2.7em;
        margin-bottom: 1.5rem;
    }

    section#hero-main-section .slide h3 {
        font-size: 2.4em;
    }
    section#hero-main-section .slider-dots{
        bottom: 3.2rem;
    }

    section#hero-main-section .slider-dot {
        width: 1rem;
        height: 1rem;
    }

    section#hero-main-section .scroll-down {
        bottom: 2rem;
        right: 0.5em;
    }

    section#hero-main-section .progress-bar {
        height: 7px;
        left: 50%;
        bottom: 0.5rem;
        transform: translateX(-50%);
        z-index: 10;
    }



    section#video-main-section {
        max-height: none;
        padding: 1rem 0;
    }

    section#video-main-section .text {
        align-items: center;
        max-width: none !important;
        min-width: none !important;
        padding: 1rem;
        gap: 1rem;
        font-size: 0.7rem;
    }

    section#video-main-section .text p {
        font-size: 1.7em;
    }

    section#video-main-section .text h1 {
        font-size: 3em !important;
        margin: 2rem 0;
    }

    section#video-main-section .text a {
        width: auto;
        max-width: 80%;
        padding: 0.6rem;
        font-size: 1.3rem !important;
    }

    section#video-main-section .about-block {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 425px;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
    }

    section#video-main-section .about-block .img-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 4rem;
        width: 4rem;
        aspect-ratio: 1 / 1;
        background-color: var(--detail-color);
        border-radius: 100%;
        padding: 0.7rem;
        margin-right: 1rem;
    }


    section#second-main-section .text{
        align-items: center;
        padding: 2rem 0.5rem;
    }

    section#second-main-section .text h1 {
        font-size: 2.5em !important;
        margin-bottom: 2rem !important;
    }

    section#second-main-section .text p {
        font-size: 1.1em;
    }

    section#second-main-section .text a {
        width: auto;
        max-width: 90%;
        font-size: 1.3rem !important;
        padding: 0.6rem;
    }

    section#second-main-section .about-block{
        padding: 0.2rem;
    }

    section#second-main-section .about-block .img-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 4rem;
        width: 4rem;
        aspect-ratio: 1 / 1;
        background-color: var(--detail-color);
        border-radius: 100%;
        padding: 0.7rem;
        margin-right: 1rem;
    }


    section#more-main-section div h3 {
        font-size: 2.4rem;
    }

    section#more-main-section div p {
        font-size: 1.2rem;
    }

    section#more-main-section div img {
        height: 7rem;
        width: 7rem;
    }
}


/*------MEDIA 450px-------*/
@media(max-width: 450px){
    section#second-main-section .text h1 {
        font-size: 1.9em !important;
    }

    section#help-catalog-section .help-content h2 {
        font-size: 2.5rem;
    }

    section#help-catalog-section .help-content p {
        font-size: 1.rem;
    }

    section#help-catalog-section .help-content button {
        font-size: 1.3rem;
    }
}


/*------MEDIA 350px-------*/
@media(max-width: 350px){

    section#hero-main-section .slide h2 {
        max-width: 90%;
        font-size: 2.5em;
        margin-bottom: 1.5rem;
    }

    section#hero-main-section .slide h3 {
        font-size: 2.2em;
    }


    section#video-main-section {
        height: 700px;
    }
    
    section#video-main-section .text h1 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    section#more-main-section div {
        flex: 1 0 250px;
    }

}