/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

.whf-text-carousel .et-pb-arrow-prev,
.whf-text-carousel .et-pb-arrow-next {
    position: absolute;
    top: 30px;
    opacity: 1;
    background-color: #F7F5F5;
}

.et_pb_slider:hover .et-pb-arrow-prev {
    left: initial;
    opacity: 1;
}

.whf-text-carousel .et_pb_slider:hover .et-pb-arrow-next {
    right: 0 !important;
}

.whf-text-carousel .et-pb-arrow-prev {
    left: auto;
    right: 50px;
}

.whf-text-carousel .et-pb-arrow-next {
    right: 0 !important;
}

.whf-text-carousel .et-pb-arrow-prev:hover,
.whf-text-carousel .et-pb-arrow-next:hover {
    background-color: #303C64;
    color: #F5F5F5 !important;
}

/* .whf-text-hover-effect{
	width:55px !important;
}

.whf-text-hover-effect p::after {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    background-color: #303C64;
    border-radius: 20px;
    transition: all 0.5s ease-in-out;
}

.whf-text-hover-effect p:hover::after {
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.whf-text-hover-effect p:hover {
    transition: all 0.5s ease-in-out;
} */

.wfh-more-link-dark .et_pb_text_inner {
    position: relative;
    display: inline-block;
}

.wfh-more-link-dark p {
    margin-bottom: 2px;
    cursor: pointer;
}

.wfh-more-link-dark .et_pb_text_inner::before {
    content: "";
    position: absolute;
    display: block;
    background-color: #303C64;
    width: 100%;
    height: 2px;
    transition: 2s ease-in-out;
    bottom: 0;
}

.wfh-more-link-dark .et_pb_text_inner:hover::before {
    display: none;
    transition: 2s ease-in-out;
}

.wfh-more-link-dark .et_pb_text_inner::after {
    content: "";
    position: absolute;
    display: block;
    background-color: #303C64;
    width: 0;
    height: 2px;
    bottom: 0;
}

.wfh-more-link-dark .et_pb_text_inner:hover::after {
    width: 100%;
    height: 2px;
    transition: 2s ease-in-out;
}

.wfh-more-team-text {
    display: block;
    height: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
    margin-bottom: 0 !important;
}

.wfh-more-team-text.show {
    transition: all .5s ease-in-out;
    opacity: 1;
    display: block;
    height: 100%;
    margin-bottom: 30px !important;
}

.et_pb_button_module_wrapper:has(.wfh-btn-full) {
    height: 100%;
    width: 100%;
}

.wfh-btn-full {
    height: 100%;
    width: 100%;
}

.wfh-gradient-bg:after {
    content: "";
    position: absolute;
    height: 82%;
    width: 95%;
    top: 40px;
    left: -24%;
    background: linear-gradient(107deg, #63D5F8 0%, #63D4E5 11%, #65D3BD 38%, #66D3A0 63%, #67D38E 84%, #68D388 100%);
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
    z-index: -1;
}

.wfh-more-link-dark {
    padding-left: 30px;
}

@media(max-width:981px) {

    .wfh-header-cover {
        display: flex;
        align-items: center;
    }

    .wfh-header-cover .et_pb_image_wrap img {
        max-width: 300px !important;
    }

    .wfh-menu-section {
        position: absolute;
        right: 0;
    }

    .wfh-menu-section .et_dropdown_animation_fade {
        width: 100%;
    }

    .wfh-menu-section .et_mobile_menu {
        top: 70px;
        left: 0;
    }

    .wfh-logo-section {
        z-index: 4;
    }

    .wfh-menu-section .et_mobile_nav_menu {
        z-index: 5;
    }

    .wfh-logo-section {
        width: 50% !important;
    }

    .wfh-cta-wrapper {
        display: flex;
    }

    /* .wfh-menu-section  .et_mobile_menu {
        position: fixed;
        top: 22%;
        left: 0;
    } */

    .wfh-gradient-bg {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .wfh-gradient-bg .et_pb_bg_layout_dark {
        width: 100%;
    }

    .wfh-cta-wrapper .et_pb_image_8 {
        width: 80%;
    }

    .wfh-gradient-bg:after {
        width: 90%;
    }
}

@media(max-width:767px) {
    .wfh-menu-section .et_mobile_menu {
        top: 55px;
    }
}

@media(max-width:599px) {

    .wfh-header-cover .et_pb_image_wrap img {
        max-width: 230px !important;
    }

    .wfh-menu-section .et_mobile_menu {
        top: 40px;
    }

    .wfh-gradient-bg:after {
        width: 120%;
    }

    .wfh-cta-img {
        width: 30% !important;
    }

    .wfh-cta-wrapper .et_pb_image span img {
        object-fit: cover;
        object-position: right;
    }

    .whf-text-carousel .et-pb-arrow-prev,
    .whf-text-carousel .et-pb-arrow-next {
        position: absolute;
        top: -30px;
    }
}