.clients-slider,
.clients-slider .slide {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(0.938rem, 0.774rem + 0.543vw, 1.25rem);
    flex-shrink: 0;
}

.clients-slider .slide > div {
    width: clamp(5rem, 1.087rem + 13.043vw, 12.5rem);
    flex-shrink: 0;
}

/* RESOURCE CARD */
.resource-card .resource-card__img img {
    object-fit: cover;
    height: clamp(9.375rem, 7.092rem + 7.609vw, 13.75rem);
}

.resource-card .dynamic-content-for-elementor-acf ul {
    padding-left: 25px;
    color: #6F6F77;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
}

.resource-card .elementor-button {
    width: 100%;
    padding: 12px 24px;
    background: rgba(0,0,0,0);
    border: 1px solid black !important;
}

.resources-grid .dce-acf-repeater-item:nth-child(even) .resource-card__top {
    background-color: #47D8B5 !important;
}

.resources-grid .dce-acf-repeater-item:nth-child(even) .resource-card__top * {
    color: #030303 !important;
}

.resources-grid .dce-acf-repeater-item:nth-child(even) .resource-card__icon {
    background-color: white !important; 
}

.resources-grid .dce-acf-repeater-item:nth-child(even) .elementor-button {
    background: #47D8B5 !important;
    border: 1px solid #47D8B5 !important;
}

.resources-grid .dce-acf-repeater-item:nth-child(even) .elementor-button:hover {
    background: black !important;
    border: 1px solid black !important;
}

/* FAQS ACCORDION */
.faqs {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
}

.faq-item {
    width: 100% !important;
    border: 1px solid #D6D6D6 !important;
}

.faq-question {
    width: 100% !important;
    background: transparent !important;
    color: black !important;
    border: 0px !important;
    border-radius: 0px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: clamp(1rem, 0.87rem + 0.435vw, 1.25rem) !important;
    font-size: 17px !important;
}

.faq-icon {
    font-size: 22px !important;    
    transition: all 0.3s ease-in-out !important;
}

.faq-item.is-open {
    border: 1px solid #47D8B5 !important;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg) !important;
}

.faq-item.is-open .faq-question,
.faq-item .faq-question:hover {
    background-color: #47D8B5 !important;
}

.faq-answer {
    max-height: 0px;
    transition: all 0.4s ease-in-out !important;
    overflow: hidden !important;
}

.faq-answer > div {
    padding: clamp(1rem, 0.87rem + 0.435vw, 1.25rem) !important;
}

/* CERTIFICATIONS */
.certifications {
    position: relative;
    max-width: 600px;
    padding-right: 20px;
}

.certifications::before {
    width: 160vw;
    height: 100%;
    position: absolute;
    right: 0;
    left: unset;
    top: 0;
    content: "";
    background-color: #47D8B5;
    z-index: -1;
    border-radius: 2rem;
    transform: skewX(-10deg);
}

.certifications .elementor-gallery__container .elementor-gallery-item__image {
    background-size: contain;
}

.certification-sliders .certificates {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.certification-sliders .certificates .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-sliders .certificates .swiper-slide-shadow {
    display: none;
}

.certification-sliders .certificates-title .swiper-slide p {
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: black;
    font-size: 16px;
    margin: 0px;
}
.certification-sliders .slider-bottom {
    margin-top: clamp(1.563rem, 1.236rem + 1.087vw, 2.188rem);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}

.certification-sliders .slider-bottom .certificates-title {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.certification-sliders .slider-bottom  .my-slider-prev,
.certification-sliders .slider-bottom  .my-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.5rem, 1.848rem + 2.174vw, 3.75rem);
    height: clamp(2.5rem, 1.848rem + 2.174vw, 3.75rem);
    border-radius: 100%;
    flex-shrink: 0;
    background: #47D8B5;
    position: relative;
    cursor: pointer;
}

.certification-sliders .slider-bottom  .my-slider-prev img,
.certification-sliders .slider-bottom  .my-slider-next img {
    width: clamp(1.438rem, 1.046rem + 1.304vw, 2.188rem);
    height: clamp(1.438rem, 1.046rem + 1.304vw, 2.188rem);
}

/* FORMS CSS */
.forminator-custom-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.forminator-custom-form > * {
    width: 100%;
}

.forminator-custom-form .forminator-row {
    margin: 0px !important;
    padding: 0px !important;
}

.forminator-field label {
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-bottom: 4px !important;
}

.forminator-row:has(.form-row-half) {
    width: calc(50% - 5px) !important;
}

span.forminator-description {
    display: none !important;
}

.forminator-button {
    background: #47D8B5 !important;
    color: black !important;
}

.forminator-button:hover {
    background: black !important;
    color: white !important;
}

/* POPUP FORM */
.form-popup .forminator-custom-form {
    gap: 0px !important;
}
.form-popup .forminator-label {
    display: none !important;
}
.form-popup .form-wrapper input,
.form-popup .form-wrapper textarea{
    font-size: 14px !important;
    padding: 12px !important;
    min-height: unset !important;
    -webkit-appearance: none !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #ededed !important;
    color: black !important;
    border-radius: 0px !important;
    font-weight: 300 !important;
    background: white !important;
}

.form-popup .forminator-row {
    padding: 0px !important;
    margin-bottom: 10px !important;
}

.form-popup .forminator-button-submit {
    padding: 12px 25px !important;
    margin: 0px !important;
    width: 100% !important;
    background: #47D8B5 !important;
}

.form-popup .dialog-close-button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    right: -16px !important;
    top: -16px !important;
}

.forminator-button-submit {
    width: 100% !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}

/* SINGLE PRODUCT */
.product-nav_link,
.product-nav_link span{
    display: flex !important;
}

.product-nav_link a {
    padding: 21px 10px !important;
    font-size: 18px !important;
    position: relative !important;
    transition: all 0.2s ease-in-out !important;
}

.product-nav_link a::before {
    content: '';
    transition: all 0.2s ease-in-out !important;
    display: block;
    height: 3px;
    width: 100%;
    background: #47D8B5;
    position: absolute;
    bottom: 0px;
    left: 0px;
    opacity: 0;
}

.product-nav_link a.active{
  color: #47D8B5 !important;
}

.product-nav_link a.active::before{
  opacity: 1;
}

.why-us-cards .dce-acf-repeater-item > div,
.why-us-cards .dce-acf-repeater-item > div > div {
    height: 100%;
}

.why-us-cards .dce-acf-repeater-item h3 {
    margin: 0px;
}

.mp-card {
    position: relative !important;
    z-index: 1;
    height: clamp(21.25rem, 19.293rem + 6.522vw, 25rem) !important;
    overflow: hidden !important;
}

.mp-card__img,
.mp-card__img .acf-image,
.mp-card__img .dynamic-content-for-elementor-acf,
.mp-card .mp-card__img img {
    position: absolute !important;
    width: 100%;
    height: 100% !important;
    z-index: -2;
    top: 0px;
    left: 0px;
}

.mp-card .mp-card__img img {
    object-fit: cover;
}

.mp-card::before {
    content: '';
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.3);
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.mp-card__content {
    width: 100%;
    height: 75%;
    margin-top: auto !important;
    clip-path: polygon(0% 10%, 100% 0%, 100% 100%, 0% 100%);
    background: white !important;
    transform: translateY(calc(100% - 115px));
    transition: 0.4s all ease-in-out;
}

.mp-card:hover .mp-card__content {
    transform: translateY(0px);
    background: #47D8B5 !important;
}

.mp-card__text {
    opacity: 0;
    transition: 0.4s all ease-in-out;
}

.mp-card:hover .mp-card__text {
    opacity: 1;
}

.resource_img-wrapper {
    position: relative !important;
    aspect-ratio: 455/310;
    overflow: hidden !important;
}

.resource_img-1,
.resource_img-1 div,
.resource_img-2,
.resource_img-2 div,
.resource_img-small div{
    height: 100% !important;
    width: 100% !important;
}

.resource_img-1 img ,
.resource_img-2 img,
.resource_img-small img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

.resource_img-small {
    aspect-ratio: 1/1;
    overflow: hidden !important;
    position: absolute !important;
    z-index: 2 !important;
    top: 0px !important;
    left: 0px !important;
    background: #EBEBEB !important;
    cursor: pointer !important;
}

.resource_img-small:hover + .resource_img-2 {
    opacity: 1 !important;
}

.resource_img-2 {
    position: absolute !important;
    z-index: 1 !important;
    top: 0px !important;
    left: 0px !important;
    opacity: 0 !important;
    transition: 0.3s all ease-in-out !important;
}

.resource-card .elementor-widget-shortcode {
    margin-top: auto !important;
}

.resource-card .elementor-button {
    border: 1px solid #47D8B5 !important;
}

.resource-card .elementor-button:hover {
    border-color: black !important;
}

@media(max-width: 768px) {
    .resource_img-wrapper {
        aspect-ratio: unset !important;
        height: 280px !important;
    }
}