/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */
 .header-service-overview-block-category {
    display: none;
}
 .header-service-overview-block {
    position: relative;
    z-index: 2;
}

.header-service-overview-block-inner {
    display: flex;
    height: 100vh;
}
.header-service-overview-slide-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.header-service-overview-slide-1 img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-service-overview-slide-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.header-service-overview-slide-2 img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-service-overview-slide-3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.header-service-overview-slide-3 img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-service-overview-content {
    color: white;
    text-decoration: none;
    padding: 0 80px;
}
.header-service-overview-block-circle {
    position: relative;
    height: 425px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.header-service-overview-block-circle svg {
    position: absolute;
    stroke: #FFFFFF25;
}
.header-service-overview-block-category {
    font-size: 18px;
    line-height: 40px;
    margin: 0;
}
.header-service-overview-block-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    max-width: 240px;
    text-align: center;
    line-height: 34px;
}
.header-service-overview-block-content {
    font-size: 24px;
    line-height: 30px;
    margin: 60px 0;
    font-weight: bold;
}
.header-service-overview-block-button {
    margin-left: 90px;
    font-size: 16px;
    letter-spacing: 4.8px;
    position: relative;
}
.header-service-overview-block-button:before {
    position: absolute;
    content: " ";
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
    left: -90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70'%3E%3Cg id='cta_circle_white' transform='translate(-1450 -3495)'%3E%3Ccircle id='Ellipse_268' data-name='Ellipse 268' cx='35' cy='35' r='35' transform='translate(1450 3495)' fill='%23fff'/%3E%3Cline id='Line_115' data-name='Line 115' x2='23.229' transform='translate(1473.385 3530.215)' fill='none' stroke='%23292d34' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_116' data-name='Line 116' x2='6.761' y2='6.934' transform='translate(1489.854 3523.066)' fill='none' stroke='%23292d34' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_117' data-name='Line 117' y1='6.934' x2='6.761' transform='translate(1489.854 3530.215)' fill='none' stroke='%23292d34' stroke-linecap='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    transition: opacity 0.5s ease;
}
.header-service-overview-content:hover .header-service-overview-block-button:before {
    opacity: 1; /* Ensure the pseudo-element is visible on hover */
}
.header-service-overview-slide-1:before, 
.header-service-overview-slide-2:before, 
.header-service-overview-slide-3:before {
    position: absolute;
    content: " ";
    background: #0000008a;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.header-service-overview-slide-1:hover:before, 
.header-service-overview-slide-2:hover:before, 
.header-service-overview-slide-3:hover:before {
    opacity: 0;
}
.header-service-overview-block-content,
.header-service-overview-block-button,
.header-service-overview-block-button-test {
    display: block; /* Ensure they are block elements */
    opacity: 0;
    max-height: 0; /* Start with max-height of 0 */
    transition: opacity 0.5s ease, max-height 1s ease;
}

.header-service-overview-content:hover .header-service-overview-block-content,
.header-service-overview-content:hover .header-service-overview-block-button,
.header-service-overview-content:hover .header-service-overview-block-button-test {
    opacity: 1 !important;
    max-height: 300px; /* Adjust this value as needed to fit the content */
}
.header-service-overview-content:hover .header-service-overview-block-title {
    color: #F6CE47;
}
.header-service-overview-content:hover .header-service-overview-block-circle svg {
    stroke: #F6CE47;
}





.header-service-overview-block-button-test {
    margin-left: 90px;
    font-size: 16px;
    letter-spacing: 4.8px;
    position: relative;
    margin-top: 69px;
    text-transform: uppercase;
}
.header-service-overview-block-button-test:before {
    position: absolute;
    content: " ";
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
    left: -90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70'%3E%3Cg id='cta_circle_white' transform='translate(-1450 -3495)'%3E%3Ccircle id='Ellipse_268' data-name='Ellipse 268' cx='35' cy='35' r='35' transform='translate(1450 3495)' fill='%23fff'/%3E%3Cline id='Line_115' data-name='Line 115' x2='23.229' transform='translate(1473.385 3530.215)' fill='none' stroke='%23292d34' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_116' data-name='Line 116' x2='6.761' y2='6.934' transform='translate(1489.854 3523.066)' fill='none' stroke='%23292d34' stroke-linecap='round' stroke-width='2'/%3E%3Cline id='Line_117' data-name='Line 117' y1='6.934' x2='6.761' transform='translate(1489.854 3530.215)' fill='none' stroke='%23292d34' stroke-linecap='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    transition: opacity 0.5s ease;
}
.header-service-overview-content:hover .header-service-overview-block-button-test:before {
    opacity: 1; /* Ensure the pseudo-element is visible on hover */
}

@media (max-width: 1440px) {
    .header-service-overview-block-content{
        font-size: 16px;
        line-height: normal;
    }
    .header-service-overview-content {
        padding: 0 40px;
    }
}
@media (max-width: 1180px) {
    .header-service-overview-block-inner {
        flex-direction: column;
        height: auto;
    }
    .header-service-overview-content {
        padding: 60px 35px;
        height: 460px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .header-service-overview-block-circle {
        height: auto;
        align-items: start;
    }
    .header-service-overview-block-circle svg {
        display: none;
    }
    .header-service-overview-block-category {
        font-size: 13px;
        line-height: 20px;
        color: #F6CE47;
    }
    .header-service-overview-block-title {
        max-width: none;
        font-size: 30px;
        line-height: 35px;
        color: #F6CE47;
        text-align: unset;
    }
    .header-service-overview-block-content {
        font-size: 15px;
        line-height: 22px;
        margin: 10px 0 40px;
    }
    .header-service-overview-block-button {
        font-size: 11px;
        letter-spacing: 3.3px;
        margin-left: 55px;
    }
    .header-service-overview-block-button:before {
        left: -55px;
        width: 40px;
        height: 40px;
        background-size: cover;
    }
    .header-service-overview-block-button-test {
        font-size: 11px;
        letter-spacing: 3.3px;
        margin-left: 55px;
        margin-top: 26px;
    }
    .header-service-overview-block-button-test:before {
        left: -55px;
        width: 40px;
        height: 40px;
        background-size: cover;
    }
    .header-service-overview-block-content,
    .header-service-overview-block-button,
    .header-service-overview-block-button-test {
        opacity: 1;
        max-height: fit-content;
    }
}

