/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

.about-intro-section {
    padding: 80px 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.about-intro-section .container {
    max-width: 900px;
    /* Giới hạn chiều rộng cho nội dung */
    max-width: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-main-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #1A202C;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.about-intro-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #1A202C;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* --- Thanh 3 giá trị màu xanh --- */
.about-values-bar {
    display: flex;
    background-color: #033793;
    background-image: linear-gradient(to right, #033793, #033793, #0080CA, #025CAF);
    border-radius: 10px;
    overflow: hidden;
    /* Bắt buộc để border-right hoạt động đúng */
    margin-bottom: 40px;
    width: 1312px
}

.value-item {
    flex: 1;
    /* Chia đều 3 cột */
    padding: 20px 15px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item:last-child {
    border-right: none;
    /* Bỏ đường kẻ ở mục cuối cùng */
}


/* --- Ảnh minh họa --- */
.about-intro-image {
    margin-top: 40px;
}

.about-intro-image img {
    max-width: 1312px;
    height: auto;
    border-radius: 50px;
}

/* ==========================================================================
   ABOUT US PAGE - CEO QUOTE SECTION
   ========================================================================== */

.ceo-quote-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceo-quote-section .container {
    max-width: 1312px;
}

.quote-box {
    background-color: #0d6efd;
    /* Màu nền xanh */
    background-image: linear-gradient(to right, #033793, #033793, #0080CA, #025CAF);
    /* Thêm gradient cho đẹp */
    color: #ffffff;
    padding: 40px 25px;
    border-radius: 50px;
    text-align: center;
    width: 1312px;
    height: 731px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.main-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: white;
    font-size: 28px;
    font-weight: 400;
}

.main-quote {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 40px 0;
    font-style: italic;
}

.quote-author {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    font-style: italic;
}

/* ==========================================================================
   ABOUT US PAGE - CLIENTS SECTION
   ========================================================================== */

.clients-section {
    padding: 100px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Thêm màu nền xám nhạt */
}

.clients-section .container {
    max-width: 1140px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.clients-section .section-tagline {
    margin-bottom: 0;
    color: #000000;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.clients-section .section-title {
    color: #033793;
    margin-top: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 46px;
    font-weight: 700;
}

.clients-section .section-description {
    color: #1A202C;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -30px;
    margin-bottom: 60px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.swiper-wrapper {
    align-items: center;
}

.clients-slider {
    width: 100%;
}

.client-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.client-card img {
    max-height: 324px;
    width: auto;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.swiper-wrapper .first-image {
    max-width: 364px;
    height: 324px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-image img {
    max-width: 364px;
    height: 124px;
}

.client-card:hover img {
    filter: grayscale(0%);
    /* Hiện lại màu gốc khi hover */
    opacity: 1;
}

.client-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    color: #1A202C;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.client-card p {
    color: #1A202C;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', sans-serif;

}

/* --- Nút điều hướng cho Slider --- */
.clients-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.clients-nav-prev,
.clients-nav-next {
    position: static;
    width: 50px;
    height: 50px;
    background-color: #003366;
    border-radius: 50%;
    color: #ffffff;
    margin-top: 0;
    background: linear-gradient(342.12deg, #033793 -15.22%, #033793 21.38%, #0080CA 86.56%, #025CAF 140.05%);

}

.clients-nav-prev::after,
.clients-nav-next::after {
    font-size: 1.2rem;
}

/* ==========================================================================
   ABOUT US PAGE - PARTNERS SECTION
   ========================================================================== */

.partners-section {
    padding: 50px 0 300px 0;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.partners-section .container {
    max-width: 1312px;
}

.partners-section .section-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}

.partners-section .section-title {
    color: #033793;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 46px;
    font-weight: 800;

}

.partners-section .section-description {
    color: #000000;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -20px;
    margin-bottom: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* Khoảng cách giữa các logo */
    flex-wrap: wrap;
    /* Cho phép xuống dòng trên mobile */
}

.partner-logo-item img {
    max-height: 165px;
    /* Chiều cao tối đa cho các logo */
    width: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.partner-logo-item img:hover {
    opacity: 1;
}

/* ==========================================================================
   ABOUT US PAGE - FINAL CONTACT SECTION
   ========================================================================== */

.final-contact-section {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.final-contact-section .container {
    display: flex;
    align-items: center;
    gap: 100px;
    max-width: 1140px;
}

/* --- Cột Form bên trái --- */
.contact-form-wrapper {
    flex-basis: 50%;
    background-color: #E8E8E8;
    padding: 50px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #033793;
    text-align: center;
    margin: 0 0 35px 0;
}

.contact-form-wrapper .form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.contact-form-wrapper .form-group {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
}

.contact-form-wrapper textarea {
    height: 120px;
    resize: vertical;
}

.contact-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-submit {
    position: relative;
    display: block;
    width: 50%;
    padding: 16px 0;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    text-align: center;
    background-color: #033793;
    background: linear-gradient(90deg, #033793 -18.33%, #033793 10.11%, #0080CA 69.28%, #025CAF 100%);
    background-size: 200% auto;
    color: #ffffff;
    transition: all 0.4s ease;
    cursor: pointer;
    line-height: 100%;
}

.btn-submit:hover {
    background-position: right center;
}

.btn-submit span {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-submit i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}


/* --- Cột ảnh bên phải --- */
.contact-image-wrapper {
    flex-basis: 40%;
}

.contact-image-wrapper img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================================
   ABOUT US PAGE - RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 992px) {

    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .about-intro-section {
        padding: 60px 20px;
        /* Giảm padding cho gọn hơn */
    }

    .about-main-title {
        font-size: 2rem;
        /* Thu nhỏ tiêu đề chính */
    }

    .about-intro-text {
        font-size: 1rem;
        /* Thu nhỏ chữ mô tả */
    }

    /* --- Sửa lại thanh 3 giá trị --- */
    .about-values-bar {
        width: 100%;
        border-radius: 15px;
        /* Tăng bo góc cho đẹp hơn */
        margin: 0 auto 30px auto;
    }

    .value-item {
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        /* Thay bằng đường kẻ ngang */
    }

    .value-item:last-child {
        border-bottom: none;
        /* Bỏ đường kẻ ngang ở mục cuối cùng */
    }


    /* --- Sửa lại ảnh minh họa --- */
    .about-intro-image img {
        max-width: 100%;
        border-radius: 80px;
        /* Giảm bo góc một chút */
    }

    .quote-box {
        width: 95%;
        height: auto;
        padding: 20px 30px;
        border-radius: 20px;
        justify-content: center;
        gap: 20px;
    }

    .clients-section .container {
        width: 95%;
    }

    .ceo-quote-section .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-sub {
        font-size: 16px;
        margin: 0 0 35px 0;
    }

    .main-quote {
        font-size: 16px;
        margin: 0;
    }

    .quote-author {
        font-size: 16px;
    }

    .clients-section {
        padding: 30px 20px;
        /* Giảm padding */
    }

    .clients-section .section-title {
        font-size: 2rem;
        /* Thu nhỏ tiêu đề */
    }

    .clients-section .section-description {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .clients-slider-nav {
        margin-top: 40px;
        /* Giảm khoảng cách */
    }

    .partners-section {
        padding: 80px 20px;
        /* Giảm padding cho gọn hơn */
    }

    .partners-section .section-title {
        font-size: 2rem;
        /* Thu nhỏ tiêu đề */
    }

    .partners-section .section-description {
        font-size: 1rem;
        /* Thu nhỏ mô tả */
    }

    .partner-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Tạo ra một lưới 2 cột */
        gap: 20px;
        /* Khoảng cách giữa các ô lưới */
    }

    .partner-logo-item {
        /* Không cần flex-basis nữa */
    }

    /* Gộp 2 ô đầu tiên lại để Got It nhảy xuống hàng mới */
    .partner-logo-item:nth-child(3) {
        grid-column: 1 / span 2;
        /* Chiếm cả 2 cột */
    }

    /* Gộp 2 ô tiếp theo lại để DigiHub nhảy xuống hàng mới */
    .partner-logo-item:nth-child(4) {
        grid-column: 1 / span 2;
        /* Chiếm cả 2 cột */
    }

    .partner-logo-item img {
        max-height: 130px;
    }

    .final-contact-section {
        padding: 80px 20px 110px;
        /* Giảm padding cho section */
    }

    .final-contact-section .container {
        flex-direction: column;
        /* Xếp các cột theo chiều dọc */
        gap: 0;
        /* Bỏ khoảng cách ngang */
    }

    /* --- Ẩn cột ảnh bên phải trên mobile --- */
    .contact-image-wrapper {
        display: none;
    }

    /* --- Cho cột form chiếm toàn bộ chiều rộng --- */
    .contact-form-wrapper {
        flex-basis: 100%;
        /* Chiếm hết chiều rộng */
        width: 140%;
        padding: 40px 20px;
        /* Giảm padding trên mobile */
    }

    .contact-form-wrapper .form-row {
        flex-direction: column;
        /* Xếp 2 ô input dọc */
        gap: 0;
    }

    /* --- Di chuyển nút Gửi lời nhắn ra ngoài --- */
    .contact-form-wrapper .btn-submit {
        position: absolute;
        margin: 640px auto 0 auto;
        width: 60%;
    }

    .contact-information {
        width: 90%;
    }
}


@media (max-width: 768px) {

    .about-intro-text {
        font-size: 16px;
    }

    .about-intro-section {
        padding: 60px 15px;
    }

    .quote-box {
        padding: 20px;
        width: 90%;
        height: auto;
    }

    .client-card img {
        max-height: 300px;
        /* Thu nhỏ logo */
    }

    .client-card h4 {
        font-size: 1.1rem;
    }

    .client-card p {
        font-size: 0.9rem;
    }

    .clients-section .container {}

    .clients-section .section-description {
        font-size: 16px;
    }
}

@media (min-width: 320px) and (max-width: 420px) {
    .about-main-title {
        font-size: 28px;
    }

    .about-intro-text {
        font-size: 12px;
    }

    .quote-box {
        width: 90%;
        height: auto;
    }

    .main-sub {
        font-size: 14px;
    }

    .main-quote {
        font-size: 12px;
    }

    .quote-author {
        font-size: 12px;
    }

    .clients-section .section-title {
        font-size: 26px;
    }

    .partner-logo-item img {
        max-height: 110px;
    }

    .partners-section .section-title {
        font-size: 26px;
    }
}

@media (max-width: 1200px) and (min-width: 993px) {
    .about-intro-section .container {
        width: 95%;
    }

    .about-values-bar {
        width: 95%;
    }

    .about-intro-image img {
        width: 95%;
    }

    .quote-box {
        width: 95%;
    }

    .ceo-quote-section .container {
        display: flex;
        justify-content: center;
    }

    .about-intro-section {
        padding: 80px 20px;
    }

    .clients-section .container {
        width: 90%;
    }
}