.page-title-wrap {
    max-width: 64%;
    border-radius: 2rem;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 992px) {
    .page-title-wrap {
        max-width: 100%;
    }
}

.page-title-wrap .page-title {
    font-size: calc(18px + 1vw);
    color: #fff;
}

.page-title-wrap .title-intro {
    color: #fff;
    text-wrap: pretty;
}

section:not(.home-hero) .page-title-wrap {
    max-width: 600px;
}

.hero-video-aspect .l-section-video > video {
    object-position: top;
}

.hero-video-aspect .l-section-h > .g-cols > .wpb_column.vc_column_container {
    min-height: unset !important;
}

.hero-video-aspect .l-section-h,
.hero-video-aspect .l-section-h > .g-cols {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-video-aspect {
    display: flex !important;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .hero-video-aspect {
        min-height: min(80vh, 850px);
    }
}

@media (min-width: 1201px) and (max-width: 2400px) {
    .hero-video-aspect {
        aspect-ratio: 16/9;
    }
}

@media (min-width: 2401px) {
    .hero-video-aspect {
        min-height: 80vh;
    }
}

.home-counters-section {
    padding-top: 0.5vmax !important;
    padding-bottom: 1vmax !important;
    z-index: 2;
    margin-top: calc(var(--current-height) * -0.5);
}

.home-counters-section .g-cols {
    gap: 0rem !important;
}

.home-counters-row {
    gap: 0rem !important;
    color: #fff !important;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    overflow: hidden;
}

.home-counters-row > .wpb_column > .vc_column-inner {
    background: var(--color-content-primary);
    padding: 2.5rem;
    height: 100%;
}

.home-counters-row > .wpb_column:nth-of-type(even) > .vc_column-inner {
    background: radial-gradient(#2e2d3a, #0b0b0c);
}

.home-counters-row .w-counter-value {
    font-size: 3rem !important;
    color: #fff !important;
}

.home-counters-row .w-counter {
    padding: 0;
}

.home-counters-cta {
    background: #fff;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0px 4px 12px -4px rgb(0 0 0 / 25%);
    border-bottom: 8px solid var(--color-content-primary);
}

@media screen and (min-width: 1201px) {
    .home-counters-row {
        max-width: 72%;
        margin-left: auto;
    }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
    .home-counters-section > .l-section-h > .g-cols {
        grid-template-columns: 2fr 1.5fr;
    }
}

@media screen and (max-width: 992px) {
    .home-counters-section {
        margin-top: calc(var(--current-height) * -0.2);
    }

    .home-counters-row {
        margin-top: 2.5rem;
        border-radius: 2rem;
    }
}

.radial-bg-dark {
    background: radial-gradient(#2e2d3a, #0b0b0c);
}

.map {
    display: block;
    height: 600px;
}

.contact-form-section {
    border-top: 1rem solid #0b0b0c;
    border-bottom: 5rem solid #0b0b0c;
}

.contact-form-section .contact-form-section-column {
    position: relative;
    min-height: 800px;
}

.contact-form-wrap {
    background: var(--color-content-primary);
    padding: 4rem;
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
    margin-top: -10vmax;
    width: 50%;
}

.contact-form-wrap h2 {
    font-size: calc(16px + 1vw);
}

.contact-form-wrap button[type="submit"],
.contact-form-wrap .ff-btn.ff-btn-submit {
    background: transparent !important;
    border: 2px solid #000 !important;
    border-radius: 1rem !important;
    color: #000 !important;
}

.contact-form-wrap button[type="submit"]:hover,
.contact-form-wrap .ff-btn.ff-btn-submit:hover {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.contact-form-wrap .ff-default .ff-el-form-control {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0px 0px 0px 0px #000;
}

.contact-form-wrap .ff-default .ff-el-form-control:focus {
    box-shadow: 0px 0px 0px 2px #000;
}

.contact-form-wrap .ff-default .ff-el-form-control::placeholder {
    color: #000 !important;
    opacity: 1 !important;
}

.contact-form-wrap .text-address {
    font-size: calc(16px + 0.32vw);
    color: #000 !important;
}

.contact-form-wrap a {
    color: #000;
    text-decoration: none;
    text-underline-offset: 4px;
}

.contact-form-wrap a:hover {
    text-decoration: underline;
}

/* .contact-form-wrap .text-address i {
    font-size: calc(16px + 1vw);
}

.contact-form-wrap .text-address .w-text-h {
    display: flex;
    align-items: center;
} */

@media screen and (max-width: 1200px) {
    .contact-form-wrap {
        width: 75%;
    }
}

@media screen and (max-width: 992px) {
    .map {
        height: 450px;
    }

    .contact-form-section .contact-form-section-column {
        min-height: unset;
    }

    .contact-form-wrap {
        width: 100%;
        padding: 2.5rem;
        border-radius: 0;
        margin-top: 0;
        background: rgb(251 173 35 / 90%);
    }
}

.partners-carousel .owl-stage-outer {
    overflow: visible !important;
}

.partners-carousel img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

/* Services Page */

.services-icons-columns > .wpb_column.vc_column_container > .vc_column-inner {
    background: #f4f4f4;
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0px 0px 8px -2px rgb(0 0 0 / 20%);
    height: 100%;
    transition: 400ms ease-in-out all;
}

.services-icons-columns {
    gap: 2vmax !important;
}

/* .services-icons-columns
    > .wpb_column.vc_column_container
    > .vc_column-inner:hover {
    border-radius: 0.5rem;
} */

.services-icons-columns:not(.about) .w-iconbox-text {
    max-width: 28ch;
}

.services-icons-columns.about .w-iconbox-text {
    text-wrap: pretty;
}

.layout_219 .w-grid-item-h {
    border-top-right-radius: 2rem;
    border-top-left-radius: 2rem;
    transition: 400ms ease-in-out all;
}

/* .layout_219 .w-grid-item:hover .w-grid-item-h {
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
} */

.layout_358 .post_image.usg_post_image_1 {
    position: relative;
    background: #eaeaea !important;
    box-shadow: 0px 0px 8px -2px rgb(0 0 0 / 20%);
    border-radius: 50%;
    overflow: visible;
}

.layout_358 .post_image.usg_post_image_1 img {
    aspect-ratio: 1;
    object-fit: cover;
    position: relative;
    border-radius: 50%;
}

.layout_358.main-team .post_image.usg_post_image_1:before {
    --size: 100%;
    --size-gap: 1rem;

    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--size) + var(--size-gap));
    height: calc(var(--size) + var(--size-gap));
    background: url(/wp-content/uploads/2024/04/team-border.png);
    clip-path: polygon(100% 0, 100% 88%, 50% 68%, 0 88%, 0 0);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}

@media screen and (min-width: 992px) {
    footer nav.w-menu .menu {
        column-gap: var(--main-gap);
        justify-content: flex-end;
    }

    footer .w-menu.layout_hor .menu > li:not(:last-of-type) {
        margin-right: 0;
    }
}
