.footer {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 1.62rem;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 42.55075rem;
    background: linear-gradient(
        180deg,
        #fff 11.5%,
        rgba(255, 255, 255, 0) 100%
    );
}
.footer__top {
    position: relative;
    z-index: 2;
    flex-basis: 100%;
    margin: 0 auto;
    padding-top: 5.75rem;
    text-align: center;
}
.footer__title {
    text-align: center;
    font-family: Quicksand;
    font-size: 2.625rem;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 3.15rem */
    letter-spacing: -0.03125rem;
    text-transform: uppercase;
    background: linear-gradient(92deg, #199dba -8.85%, #0a60c3 109.79%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.19rem;
}
.footer__form {
    max-width: 43.3rem;
    margin: 0 auto;
}
.footer__form form {
    display: flex;
    height: 3.5rem;
}
.footer__form .screen-reader-response,
.footer__form .wpcf7-not-valid-tip {
    display: none;
}
.footer__form .wpcf7-response-output {
    position: absolute;
    transform: translate(-50%, calc(-100% - 0.5rem));
    left: 50%;
    width: 100%;
    text-align: center;
    color: #00c2a2;
}

.footer__form form.invalid .wpcf7-response-output {
    color: #f31329;
}

.footer__form .wpcf7-form-control-wrap {
    flex: 1;
}
.footer__form .wpcf7-form-control-wrap input {
    height: 100%;
    width: 100%;
    border-radius: 0.75rem 0rem 0rem 0.75rem;
    background: #fff;
    padding-left: 1.25rem;

    color: #001f43;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem; /* 125% */
}
.footer__form .wpcf7-form-control-wrap input::placeholder {
    color: #9facbf;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem; /* 125% */
}

.footer__form button[type="submit"] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9.11088rem;
    height: 100%;
    border-radius: 0rem 0.75rem 0.75rem 0rem;
    background: linear-gradient(
        250deg,
        #edf5ff -7.01%,
        #aed4ff 9.88%,
        #3188df 45.49%
    );

    color: var(--Button-Brand-Text-Icon, #fff);
    text-shadow: 0px 1px 3px #1868bd;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 0.8125rem */
    text-transform: uppercase;
}

button[type="submit"]::after {
    content: "";
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid #ccc;
    border-top-color: #1868bd;
    border-radius: 50%;
    animation: spinner-rotate 0.6s linear infinite;
    margin-left: 0.5em; /* khoảng cách nếu gắn sau text */
    vertical-align: middle;
}
.footer__form form.submitting button[type="submit"] {
    pointer-events: none;
    background: linear-gradient(
        250deg,
        #edf5ff -7.01%,
        #aed4ff 9.88%,
        #3188df 45.49%
    );
}
.footer__form form.submitting button[type="submit"]::after {
    display: block;
}

@keyframes spinner-rotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.footer__form button[type="submit"] img {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.2rem;
}
.footer__form-desc {
    display: block;
    margin-top: 0.75rem;
    color: var(--Text-Body-Description, #576980);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 1.05rem */
    letter-spacing: -0.03125rem;
}
.footer__middle {
    margin-top: 6.86rem;
    position: relative;
    z-index: 2;
    width: 49.5rem;
    margin-right: 3.88rem;
    padding-left: 1rem;
}
.footer__menus {
    display: flex;
    min-height: 14.48231rem;
    margin-bottom: auto;
}
.footer__menu {
    list-style: none;
}
.footer__menu:nth-child(1) {
    width: 18.4375rem;
    margin-right: 3.94rem;
}
.footer__menu:nth-child(2) {
    width: 15.3125rem;
}
.footer__menu-title {
    padding: 0rem 0 0.6875rem 0.01563rem;
    border-bottom: 0.833px solid rgba(26, 43, 73, 0.1);
    margin-bottom: 0.78rem;
}
.footer__menu-title p {
    color: #1a2b49;
    font-size: 0.97394rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.45831rem; /* 149.733% */
    text-transform: uppercase;
}

.footer__menu-item {
    margin-top: 0.49rem;
}
.footer__menu-link {
    color: var(--Primary-Foundation-Blue-Darker, #001f43);
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.45831rem; /* 122.807% */
    transition: all 0.3s ease;
}
.footer__description {
    margin-top: 0.88rem;
}
.footer__description,
.footer__description *,
.footer__license {
    color: #1a2b49;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 1.5rem */
}

.footer__license {
    margin-top: 0.73rem;
    display: flex;
    align-items: center;
}
.footer__license img {
    width: 0.8735rem;
    height: 0.8735rem;
    flex-shrink: 0;
    margin-right: 0.52rem;
}
.footer__link {
    margin-top: 1.89rem;
    display: flex;
    color: #00bca7;
    text-align: center;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 112%; /* 1.26rem */
    letter-spacing: -0.01125rem;
    text-decoration: underline;
    text-transform: uppercase;
}
.footer__link img {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.25rem;
}
.footer__bottom {
    margin-top: 4.8rem;
    position: relative;
    z-index: 2;
    display: flex;
    width: 36.1875rem;
    padding: 1.75rem 1.9375rem;
    flex-direction: column;
    border-radius: 0.625rem;
    background: #31b39d;
    box-shadow: 0px -2px 30.2px 0px rgba(0, 0, 0, 0.01) inset;
}
.footer__delivery-title {
    color: #fff;
    font-family: Quicksand;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 1.425rem */
    letter-spacing: -0.03563rem;
    margin-bottom: 0.69rem;
}
.footer__delivery-phone {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.6875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 1.6875rem */
    text-transform: uppercase;
    margin-bottom: 1.94rem;
}
.footer__delivery-phone img {
    width: 1.59031rem;
    height: 1.59031rem;
    margin-right: 0.56rem;
}
.footer__contact-item {
    margin-bottom: 0.88rem;
}
.footer__contact-label {
    display: flex;
    align-items: center;
    color: #fff;
    font-family: Quicksand;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 1.3125rem */
/*     text-transform: uppercase; */
    margin-bottom: 0.38rem;
}
.footer__contact-label img {
    width: 1.04819rem;
    height: 1.04819rem;
    margin-right: 0.5rem;
}
.footer__contact-link {
    opacity: 0.8;
    color: #fff;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 1.6875rem */
}
.footer__contact-logo img {
    width: 100%;
    height: auto;
}
.footer__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.footer__copyright {
    position: relative;
    z-index: 2;
    margin-top: 0.55rem;
    display: flex;
    width: 89.6875rem;
    height: 2.5625rem;
    justify-content: space-between;
    align-items: center;
}
.footer__copyright p {
    color: #393939;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 0.94625rem; /* 126.167% */
    letter-spacing: -0.03125rem;
}

.footer__copyright span {
    color: rgba(57, 57, 57, 0.7);
}
.footer__logo-text {
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100.52481rem;
    height: 16.12206rem;
    opacity: 0.5;
}
.footer__delivery-phone .footer__contact-link {
    font-size: 1.625rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 1.625rem */
    text-transform: uppercase;
    opacity: 1;
}
@media (min-width: 1024px) {
    .footer__menu-link:hover {
       color: #24af97;
    }
}

@media (max-width: 639.98px) {
    .footer {
        padding: 2.5rem 1rem 1.25rem 1rem;
        background: #fff;
    }
    .footer__top {
        padding-top: 0;
        order: 1;
    }
    .footer__title {
        font-size: 1.5rem;
        line-height: 120%; /* 1.8rem */
        width: 87.5%;
        margin: 0 auto;
        background: linear-gradient(
            252deg,
            #edf5ff -9.9%,
            #aed4ff 7.33%,
            #3188df 43.67%
        );
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .footer__title br {
        display: none;
    }
    .footer__form {
        max-width: 100%;
        margin: 0 auto;
        margin-top: 1.08rem;
    }
    .footer__form form {
        height: 2.462rem;
        transition: all 0.3s ease;
    }
    .footer__form form.invalid,
    .footer__form form.sent {
        margin-bottom: 3rem;
    }
    .footer__form .wpcf7-form-control-wrap input {
        border-radius: 0.52319rem 0rem 0rem 0.52319rem;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 1.3125rem */
        letter-spacing: -0.00875rem;
    }

    .footer__form .wpcf7-form-control-wrap input::placeholder {
        color: var(--Text-Body-Description, #576980);
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 1.3125rem */
        letter-spacing: -0.00875rem;
    }

    .footer__form button[type="submit"] {
        border-radius: 0rem 0.52319rem 0.52319rem 0rem;
        width: 6.35556rem;
        font-size: 0.875rem;
        text-transform: none;
        background: linear-gradient(
            250deg,
            #edf5ff -7.01%,
            #aed4ff 9.88%,
            #3188df 45.49%
        );
    }
    .footer__form button[type="submit"] img {
        display: none;
    }
    .footer__form .wpcf7-response-output {
        transform: translate(-50%, 3rem);
        font-size: 0.75rem;
    }
    .footer__form-desc {
        font-size: 0.75rem;
        margin-top: 0.37rem;
    }
    .footer__middle {
        margin-top: 1.68rem;
        order: 3;
        width: 100%;
        margin-right: 0;
        padding-left: 0;
    }
    .footer__menus {
        flex-direction: column;
    }
    .footer__menu {
        width: 100% !important;
        margin-right: 0 !important;
        padding-right: 2.75rem;
        margin-bottom: 1.44rem;
    }
    .footer__menu:last-child {
        margin-bottom: 0;
    }
    .footer__menu-title {
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 700;
        line-height: 150%; /* 1.6875rem */
        letter-spacing: -0.03375rem;
    }
    .footer__menu-title p {
        font-size: 1rem;
        font-style: normal;
        font-weight: 600;
        line-height: 150%; /* 1.5rem */
        letter-spacing: -0.03rem;
    }
    .footer__menu-item {
    }
    .footer__menu-link {
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 1.5rem */
        letter-spacing: -0.03rem;
    }
    .footer__description,
    .footer__description *,
    .footer__license {
        margin-top: 2rem;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 400;
        line-height: 160%; /* 1.4rem */
        letter-spacing: -0.02625rem;
    }
    .footer__license {
        margin-top: 0.73rem;
    }
    .footer__link {
    }
    .footer__bottom {
        order: 2;
        width: 100%;
        margin-top: 1.08rem;
        padding: 1.75rem 1rem;
    }
    .footer__contact-logo {
        display: none;
    }
    .footer__delivery-title {
    }
    .footer__delivery-phone {
    }
    .footer__contact-item:nth-of-type(2) {
        margin-bottom: 0;
    }
    .footer__contact-label {
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: 150%; /* 1.5rem */
        letter-spacing: -0.03rem;
    }
    .footer__contact-link {
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 1.3125rem */
        letter-spacing: -0.00875rem;
    }
    .footer__copyright {
        order: 4;
        width: 100%;
        margin-top: 5.51rem;
        border-top: 1px solid #d4d4d4;
    }
    .footer__copyright p {
        color: var(--text-body-body-75-other, rgba(0, 35, 94, 0.83));
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 500;
        line-height: 120%; /* 0.9rem */
        text-transform: uppercase;
    }
    .footer__copyright span {
        color: inherit;
    }
    .footer__background {
        z-index: 1;
    }
    .footer__background img {
        width: 100%;
        height: auto;
    }
    .footer::before {
        z-index: 2;
        top: -7rem;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0%,
            #fff 79.4%
        );
        height: 77.0625rem;
    }
    .footer__logo-text {
        z-index: 2;
        bottom: -2.4rem;
        opacity: 1;
    }
}
/* cta css */
.cta-wrapper {
    position: fixed;
    bottom: 4rem;
    right: 0.97rem;
    z-index: 999;
}

.cta-container {
    display: grid;
    gap: 1rem;
}

.cta__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cta {
    cursor: pointer;
}
.cta span {
    display: block;
    margin-top: 0.5rem;
    color: var(--Text-Title-highline, #63a147);
    text-align: center;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cta__content-icon {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 6.25rem;
    position: relative;
}

.cta__content-icon-pulsing {
    position: absolute;
    inset: 1px;
    border-radius: 6.25rem;
    box-shadow: 0 0 0 0 rgba(99, 161, 71, 1);
}

.cta__content-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta--call .cta__content-icon {
    background: #dcdfd9;
    padding: 0.53rem;
}
.cta--call .cta__content-icon-pulsing {
    animation: pulse 2s infinite 3s cubic-bezier(0.25, 0, 0, 1);
}

.cta--call {
	position:relative;
}
.cta--call::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 0;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background-color: #00C2A2;
    z-index: 2;
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 1rem rgba(99, 161, 71, 0);
    }
}
.cta--scroll svg rect {
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
}
@media (max-width: 639.98px) {
    .cta-wrapper {
        bottom: 2rem;
    }
    .cta__content-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    .cta span {
        display: none;
    }
}
