/* FOOTER CSS START*/
.app__footer {
}

.app__footer .footer__section-1 {
    padding: 6rem 0 3rem;
    background: var(
        --gray-gradient,
        linear-gradient(
            180deg,
            rgba(204, 204, 204, 0.3) 0%,
            rgba(236, 236, 236, 0.15) 100%
        )
    );
}

.footer__section-1 .section-1__content {
}

.footer__section-1 .section-1__logo img {
    width: 19.3rem;
    height: auto;
}

.footer__section-1 .section-1__company-name {
    text-transform: uppercase;
    /* \1 */
    font-size: 2.4rem;
    line-height: 3.6rem;
    margin-top: 2rem;
    font-weight: 600;
}

.footer__section-1 .section-1__body {
    margin-top: 3.8rem;
    gap: 3.7rem 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__section-1 .section-1__address {
    width: 40%;
}

.footer__section-1 .address__tittle,
.footer__section-1 .about__tittle,
.footer__section-1 .news__tittle,
.footer__section-1 .contact__tittle,
.footer__section-1 .send-email__tittle {
    /* \1 */
    font-size: 2.4rem;
    line-height: 3.6rem;
}

.footer__section-1 .address__list {
    margin-top: 1rem;
}

.footer__section-1 .address__text,
.footer__section-1 .address__phone-number {
    font-size: 1.8rem;
    line-height: 2.7rem;
    width: 32.7rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: top left;
}

.footer__section-1 .address__phone-number:hover {
    transform: scale(1.05);
}

.footer__section-1 .address__phone-number:nth-child(2) {
    margin-top: 1.8rem;
}

.footer__section-1 .section-1__about {
    width: 30%;
}

.footer__section-1 .about__list,
.footer__section-1 .news__list {
    margin-top: 3.2rem;
}

.footer__section-1 .about__el,
.footer__section-1 .news__el {
    font-size: 2.4rem;
    line-height: 3.6rem;
}

.footer__section-1 .about__el a,
.footer__section-1 .news__el a {
    color: var(--text-color);
}

.footer__section-1 .about__el a:hover,
.footer__section-1 .news__el a:hover {
    color: var(--primary-color);
}

.footer__section-1 .about__el:not(:first-child),
.footer__section-1 .news__el:not(:first-child) {
    margin-top: 0.6rem;
}

.footer__section-1 .section-1__news {
    width: 30%;
}

.footer__section-1 .section-1__contact {
    width: 30%;
    padding-left: 2rem;
}

.footer__section-1 .contact__body {
    margin-top: 1.5rem;
}

.footer__section-1 .contact__mxh {
    display: flex;
}

.footer__section-1 .contact__img {
}

.footer__section-1 .contact__img img {
    width: 4.5rem;
    height: 4.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer__section-1 .contact__img img:hover {
    transform: scale(1.2);
}

.footer__section-1 .contact__img:not(:first-child) {
    margin-left: 1.6rem;
}

.footer__section-1 .contact__hotline {
    margin-top: 2.9rem;
    /* \1 */
    font-size: 2.4rem;
    line-height: 3.6rem;
}

.footer__section-1 .contact__phone-number {
    /* \1 */
    font-size: 3.6rem;
    line-height: 5.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center left;
}

.footer__section-1 .contact__phone-number:hover {
    transform: scale(1.1);
}

.footer__section-1 .section-1__body-2 {
    margin-top: 3.8rem;
}

.footer__section-1 .section-1__certification {
    display: flex;
    /* flex-wrap: wrap;
  justify-content: center;
  width: 26%; */
}

/******** BEGIN CSS FOOTER EDIT *********/
.footer__section-1 .certification__chungchi {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: fit-content;
}

.footer__section-1 .certification__row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer__section-1 .certification__row--top {
    justify-content: flex-start;
}

.footer__section-1 .certification__row--bottom {
    justify-content: center;
    max-width: calc(3 * 100px + 2 * 1.5rem);
    flex-shrink: 0;
    width: fit-content;
    margin: 0 auto;
}

.footer__section-1 .certification__img {
    flex: 0 0 100px;
}

.footer__section-1 .certification__img img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1020px) {
    .footer__section-1 .certification__row {
        gap: 2rem;
    }
    .footer__section-1 .certification__row--bottom {
        max-width: calc(3 * 6.25rem + 2 * 2rem);
    }
    .footer__section-1 .certification__img {
        flex: 0 0 6.25rem;
    }
}
@media (max-width: 768px) {
    .footer__section-1 .certification__row {
        gap: 1rem;
    }
    .footer__section-1 .certification__row--bottom {
        max-width: calc(3 * 5rem + 2 * 1rem);
    }
    .footer__section-1 .certification__img {
        flex: 0 0 5rem;
    }
}

@media (max-width: 480px) {
    .footer__section-1 .certification__row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .footer__section-1 .certification__row--bottom {
        max-width: 100%;
    }
}

/******** END CSS FOOTER EDIT *********/

.footer__section-1 .certification__img {
}

.footer__section-1 .certification__img img {
    cursor: pointer;
    width: 11.4rem;
    height: 11.4rem;
}

.footer__section-1 .certification__space {
}

.footer__section-1 .section-1__send-email {
    width: 30%;
}

.footer__section-1 .send-email__tittle {
}

.footer__section-1 .send-email__body {
    width: 31rem;
    margin-top: 1.8rem;
    position: relative;
}

.footer__section-1 .send-email__input {
    width: 100%;
    height: 4.4rem;
    border-radius: 1rem;
    border: 0.1rem solid #d71a21;
    outline: none;
    font-size: 1.8rem;
    padding: 0 5rem 0 1rem;
}

.footer__section-1 .send-email__btn-submit {
    border: none;
    background-color: rgba(255, 255, 255, 0);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 82%;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.footer__section-1 .btn-submit__img {
    width: 3.2rem;
    height: 3.2rem;
}

.footer__section-1 .section-1__services-logo {
    width: 40%;
    margin-top: -3.7rem
}

.footer__section-1 .services-logo__content {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.footer__section-1 .services-logo__img {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__section-1 .logo__esan img {
    width: 12.8rem;
    height: 5.1rem;
}

.footer__section-1 .logo__247 img {
    width: 10.5rem;
    height: 5.1rem;
}

.footer__section-1 .logo__scholl-portal img {
    width: 9rem;
    height: 4.8rem;
}



.app__footer .footer__section-2 {
    height: 10rem;
    background-color: #fff;
}

.footer__section-2 .section-2__content {
    display: flex;
    align-items: center;
    height: 100%;
}

.footer__section-2 .section-2__text {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 400;
    color: var(--text-color);
}

.footer__section-2 .section-2__image {
    margin-left: 11rem;
}

.footer__section-2 .section-2__image img {
    width: 12rem;
    height: 7rem;
}

/* Ẩn checkbox */
.modal-toggle {
    display: none;
}

/* Lớp phủ modal */
.modal {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Nội dung modal */
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transform: scale(0);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-img {
    width: 60rem;
    height: 85rem;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Khi checkbox được check (mở modal) */
#modal-toggle1:checked + #modal1 {
    opacity: 1;
    pointer-events: auto;
}

#modal-toggle1:checked + #modal1 .modal-content {
    transform: scale(1);
}

#modal-toggle2:checked + #modal2 {
    opacity: 1;
    pointer-events: auto;
}

#modal-toggle2:checked + #modal2 .modal-content {
    transform: scale(1);
}

@media (max-width: 767px) {
}

/* 56% */
@media (min-width: 768px) and (max-width: 1023px) {
    .app__footer .footer__section-1 {
        padding-bottom: 4rem;
    }
}

/* 64% */
@media (min-width: 1024px) and (max-width: 1279px) {
    .app__footer .footer__section-1 {
        padding-bottom: 3rem;
    }
}

/* 75% */
@media (min-width: 1280px) and (max-width: 1535px) {
}

/* 85% */
@media (min-width: 1536px) and (max-width: 1919px) {
}

@media (max-width: 738px) {
    /* ===================== Footer ======================== */
    .app__footer .footer__section-1,
    .app__footer .footer__section-2 {
        padding-left: var(--space-20px);
        padding-right: var(--space-20px);
    }

    .footer__section-1 .section-1__logo img {
        width: auto;
        height: 8.52rem;
        object-fit: contain;
    }

    .footer__section-1 .section-1__company-name {
        font-size: var(--font-size-16px);
        line-height: 1.2;
        margin-top: var(--space-16px);
    }

    .footer__section-1 .section-1__body {
        gap: var(--space-16px) 0;
        margin-top: var(--space-16px);
    }

    .footer__section-1 .section-1__body > div {
        width: 100%;
    }

    .footer__section-1 .section-1__address {
        order: 1;
    }

    .footer__section-1 .address__list,
    .footer__section-1 .address__phone-number:nth-child(2),
    .footer__section-1 .about__list,
    .footer__section-1 .news__list,
    .footer__section-1 .contact__body,
    .footer__section-1 .contact__hotline a {
        margin-top: var(--space-12px);
    }

    .footer__section-1 .section-1__about {
        order: 2;
    }

    .footer__section-1 .section-1__news {
        order: 3;
    }

    .footer__section-1 .section-1__services-logo {
        order: 4;
        margin-top: 0;
    }

    .footer__section-1 .services-logo__content {
        width: 65%;
    }

    .footer__section-1 .logo__esan img {
        width: 94px;
        height: auto;
    }

    .footer__section-1 .logo__247 img {
        width: 77px;
        height: auto;
    }

    .footer__section-1 .logo__scholl-portal img {
        width: 64px;
        height: auto;
    }

    .footer__section-1 .section-1__contact {
        padding-left: 0;
        order: 5;
        width: 40%;
        position: relative;
    }

    .footer__section-1 .contact__body {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer__section-1 .contact__img img {
        width: 11.93rem;
        height: 11.93rem;
    }

    .footer__section-1 .contact__hotline {
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 0;
    }

    .footer__section-1 .contact__hotline a {
        font-size: 9.09rem;
        line-height: 1.2;
        display: block;
    }

    .footer__section-1 .contact__img:not(:first-child) {
        margin-left: 2.84rem;
    }

    .footer__section-1 .section-1__send-email {
        order: 6;
        margin-top: var(--space-18px);
        margin-bottom: var(--space-20px);
    }

    .footer__section-1 .address__tittle,
    .footer__section-1 .about__tittle,
    .footer__section-1 .news__tittle,
    .footer__section-1 .contact__tittle,
    .footer__section-1 .send-email__tittle,
    .footer__section-1 .contact__hotline {
        font-size: var(--font-size-16px);
        line-height: 1.2;
        font-weight: 600;
    }

    .footer__section-1 .address__text,
    .footer__section-1 .address__phone-number,
    .footer__section-1 .about__el,
    .footer__section-1 .news__el {
        font-size: var(--font-size-14px);
        line-height: 1.2;
        width: 100%;
    }

    .footer__section-1 .certification__chungchi {
        width: 100%;
        flex-direction: row;
        gap: 0;
    }

    .footer__section-1 .certification__row {
        gap: 0;
    }

    .footer__section-1 .certification__row--top {
        flex-basis: 60%;
        width: 60%;
    }

    .footer__section-1 .certification__row--bottom {
        flex-basis: 40%;
        width: 40%;
    }

    .footer__section-1 .certification__img {
        flex-basis: unset !important;
    }

    .footer__section-1 .certification__img label {
        display: block;
    }

    .footer__section-1 .certification__row--top .certification__img {
        width: 33%;
    }

    .footer__section-1 .certification__row--bottom .certification__img {
        width: 50%;
    }

    .footer__section-1 .certification__img img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .app__footer .footer__section-2 {
        height: auto;
        margin-bottom: var(--space-20px);
    }

    .footer__section-2 .section-2__content {
        height: fit-content;
        justify-content: space-between;
    }

    .footer__section-2 .section-2__text {
        font-size: var(--font-size-10px);
        line-height: 1.2;
        width: 65%;
    }

    .footer__section-2 .section-2__image {
        height: auto;
        margin-left: 0;
    }

    .footer__section-2 .section-2__image img {
        width: 26.14rem;
        height: auto;
        object-fit: contain;
    }

    /* ===================== /Footer ======================== */
}

/* FOOTER CSS END*/
