.scroll-progress {
    position: fixed;
    inset-inline-end: 15px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.6s;
}
.scroll-progress.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.scroll-progress .label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.219);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}
.scroll-progress .label:hover {
    color: rgb(20 28 39);
    letter-spacing: 3.5px;
}
.circle-track {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle-track svg {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    transform: rotate(-90deg);
}
.circle-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3;
}
.circle-progress {
    fill: none;
    stroke: rgb(20, 28, 39);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}
.arrow-up {
    color: rgb(20, 28, 39);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.arrow-up svg {
    transform: rotate(0deg);
    top: 10px;
    inset-inline-start: 10px;
}
.scroll-progress .percent {
    font-size: 12px;
    font-weight: 700;
    color: rgb(20 28 39);
    font-variant-numeric: tabular-nums;
    min-width: 30px;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .scroll-progress {
        inset-inline-end: 10px;
        gap: 8px;
        transform: scale(0.75);
        transform-origin: bottom right;
    }
}

#team-carousel .splide__slide {
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
    opacity: 0.4;
    transform: scale(1);
}
#team-carousel .splide__slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}
.testimonial-split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.testimonial-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}
.testimonial-right {
    width: 100%;
    display: flex;
    align-items: center;
}
.testimonial-left .avatar {
    width: 200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.testimonial-left .avatar img {
    max-width: 100%;
    max-height: 100%;
}
@media (min-width: 768px) {
    .testimonial-split-layout {
        flex-direction: row;
        text-align: start;
        align-items: stretch;
    }
    .testimonial-left {
        width: 35%;
        border-bottom: none;
        border-inline-end: 2px solid #eaeaea;
        margin-bottom: 0;
        padding-bottom: 0;
        padding-inline-end: 30px;
    }
    .testimonial-right {
        width: 65%;
        padding-inline-start: 30px;
    }
    .testimonial-right p {
        text-align: start;
    }
}
.maco-grid-layout {
    align-items: center;
}
.image-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}
.image-item .cover-bg-img {
    max-width: 100%;
    /* filter: grayscale(100%);
    opacity: 0.7; */
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}
.image-item:hover .cover-bg-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
li.menu-item {
    line-height: 25px;
    font-size: 14px;
    letter-spacing: 1px;
}
.nexa-section img {
    max-height: 400px;
}
.nexa-section .maco-bg-mask {
    position: absolute;
    top: 0;
    width: 100%;
}

/* Contact Form Styles */

.contact-eyebrow {
    font-family: var(--heading-font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--heading-color);
    opacity: 0.65;
    text-transform: uppercase;
}

.contact-grid .span-2 {
    grid-column: 1 / -1;
}

@media only screen and (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-card {
    position: relative;
    background-color: var(--assistant-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
}

@media only screen and (max-width: 575px) {
    .contact-form-card {
        padding: 26px 20px;
    }
}

.contact-form-card::before {
    content: "";
    position: absolute;
    bottom: 45px;
    inset-inline-start: 0;
    width: 4px;
    height: 33px;
    background-color: var(--theme-color);
    border-radius: 4px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-group.has-error .wpcf7-form-control-wrap input,
.contact-form .form-group.has-error .wpcf7-form-control-wrap textarea {
    border-color: #c0392b;
}

.contact-form .help-block.with-errors {
    min-height: 0;
    font-size: 0.78rem;
    margin-top: 8px;
    display: none;
}

.contact-form .form-group.has-error .help-block.with-errors {
    display: block;
}

.contact-alert {
    display: none;
    align-items: center;
    gap: 10px;
    font-family: var(--heading-font);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.contact-alert.is-visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.contact-alert.is-success {
    background-color: color-mix(in srgb, #2e7d32 12%, transparent);
    color: #2e7d32;
    border: 1px solid color-mix(in srgb, #2e7d32 30%, transparent);
}

.contact-alert.is-error {
    background-color: color-mix(in srgb, #c0392b 10%, transparent);
    color: #c0392b;
    border: 1px solid color-mix(in srgb, #c0392b 28%, transparent);
}

.contact-submit-wrap {
    margin-top: 6px;
}

.contact-submit-wrap .maco-btn {
    min-width: 190px;
}

.contact-submit-wrap .title-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid color-mix(in srgb, var(--heading-color) 25%, transparent);
    border-top-color: var(--heading-color);
    border-radius: 50%;
    animation: contactSpin 0.7s linear infinite;
}

button[disabled] .btn-spinner {
    display: inline-block;
}

button[disabled] {
    pointer-events: none;
    opacity: 0.75;
}

@keyframes contactSpin {
    to {
        transform: rotate(360deg);
    }
}

.contact-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) contrast(1.05);
    transition: filter 0.35s ease;
}

.contact-map-wrap:hover iframe {
    filter: grayscale(0) contrast(1);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background-color: var(--assistant-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition:
        border-color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-info-card:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 20px 45px
        color-mix(in srgb, var(--heading-color) 12%, transparent);
}

.contact-info-card .maco-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #1c27390d;
    color: var(--heading-color);
    font-size: 1.25rem;
}

.contact-info-card-text h4 {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0 0 4px;
}

.contact-info-card-text p,
.contact-info-card-text a {
    font-family: var(--body-font);
    font-size: 0.9rem;
    color: var(--font-color);
    text-decoration: none;
    margin: 0;
}

.contact-info-card-text a:hover {
    color: var(--heading-color);
}
/* PDF Card Styles */
.pdf-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 460px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    pointer-events: auto;
    z-index: 2;
}

.pdf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.pdf-card-image {
    flex: 2 1 0;
    position: relative;
    overflow: hidden;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;

    direction: ltr !important;
    text-align: left !important;
}

.pdf-card-image .pdf-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;

    direction: ltr !important;
    unicode-bidi: normal !important;
}

.pdf-card:hover .pdf-card-image .pdf-canvas {
    transform: scale(1.05);
}

.pdf-card-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.pdf-card-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.pdf-card-bottom {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: center;
    padding: 22px 28px;
    z-index: 1;
}

.pdf-card-icon {
    position: absolute;
    top: -24px;
    inset-inline-end: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.pdf-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 0;
}

.maco-swiper-paginate {
    pointer-events: none;
}

.swiper-prev,
.swiper-next,
.swiper-pagination {
    pointer-events: auto;
}
.swiper-slide {
    pointer-events: auto;
}

@media (max-width: 767px) {
    .pdf-card {
        height: 400px;
    }

    .pdf-card-title {
        font-size: 17px;
    }
}


