/* about.css */
.left-align {
    text-align: left !important;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 45px 0;
}

.vm-grid {
    display: flex;
    gap: 37px;
    align-items: center;
}

.vm-image {
    flex: 1.2;
}

.vm-image img {
    width: 100%;
    height: 375px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vm-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vm-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.vm-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.vm-text h3 {
    font-size: 28px;
    color: #095540;
    margin-bottom: 10px;
    font-weight: 700;
}

.vm-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Animation for Image */
.fade-left {
    animation: blurFadeInLeft 1s ease-out forwards;
    opacity: 0;
}

@keyframes blurFadeInLeft {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

/* Core Values Section */
.core-values-section {
    padding: 45px 0;
}

.values-grid {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.value-card {
    flex: 1;
    background-color: #E9ECEF;
    padding: 30px 22px;
    border-radius: 15px;
}

.value-card h4 {
    color: #095540;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    color: #4a6c62;
    font-size: 15px;
    line-height: 1.5;
}

/* Certifications Section */
.certifications-section {
    padding: 45px 0;
}

.cert-container-box {
    padding: 10px 0;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 22px;
}

.cert-card {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 22px;
    gap: 30px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.cert-img {
    width: 210px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.cert-content {
    flex: 1;
}

.cert-content h4 {
    font-size: 20px;
    color: #095540;
    margin-bottom: 12px;
    font-weight: 700;
}

.cert-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 18px;
    line-height: 1.6;
}

.read-more {
    font-size: 15px;
    color: #095540;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more img {
    transition: filter 0.3s ease;
}

.read-more:hover img {
    /* Filter to turn image into a cyan color similar to #00b4d8 */
    filter: brightness(0) saturate(100%) invert(54%) sepia(74%) saturate(3419%) hue-rotate(160deg) brightness(94%) contrast(98%);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination span,
.pagination a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.pagination .page-current {
    background-color: #095540;
    color: #fff;
}

.pagination a:hover {
    background-color: #00b4d8;
    color: #fff;
}

/* Partners Section */
.partners-section {
    padding: 45px 0;
}

.partners-grid {
    display: flex;
    gap: 37px;
}

.partners-content {
    flex: 1;
}

.partners-content .section-desc {
    margin-bottom: 40px;
    margin-top: 15px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.partner-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.partner-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 7px 0;
}

.partner-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 50%;
}

.partner-text h4 {
    font-size: 20px;
    color: #095540;
    margin-bottom: 10px;
    font-weight: 700;
}

.partner-text p {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partners-image {
    flex: 1;
    position: relative;
}

.partners-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 992px) {

    .vm-grid,
    .partners-grid {
        flex-direction: column;
    }

    .partners-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        border-radius: 15px;
    }

    .partners-image img {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cert-card {
        flex-direction: column;
    }

    .cert-img {
        width: 100%;
        height: 200px;
    }

    .cert-container-box {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        flex-direction: column;
    }

    .vm-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Certification Modal */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    background-color: #fff;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    /* chữ nhật không bo góc */
}

.cert-modal-title {
    color: #095540;
    font-size: 26px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.cert-modal-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cert-modal-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}