/**
 * Module: Project Completed Why (Vì sao chọn Long Thành Công)
 * Class: .project-completed-why
 */

.project-completed-why {
    position: relative;
    width: 100%;
    padding: 40px 0 30px;
    background: linear-gradient(135deg, #f2f9f5 0%, #eaf5ef 100%);
    overflow: hidden;
    box-sizing: border-box;
}

.project-completed-why__container {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-completed-why__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

/* ==========================================================================
   1. Left Column: Info
   ========================================================================== */
.project-completed-why__info {
    display: flex;
    flex-direction: column;
}

.project-completed-why__subtitle {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #006039;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.project-completed-why__title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    color: #092c1e;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.project-completed-why__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 24px 0;
}

.project-completed-why__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background-color: #006039;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 96, 57, 0.25);
    transition: all 0.25s ease;
}

.project-completed-why__btn:hover {
    background-color: #056941;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 96, 57, 0.35);
    color: #ffffff;
}

/* ==========================================================================
   2. Middle Column: 3 Stat Cards
   ========================================================================== */
.project-completed-why__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.project-completed-why__stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 96, 57, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-completed-why__stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 96, 57, 0.1);
}

.project-completed-why__stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #006039;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.project-completed-why__stat-icon svg {
    stroke: #ffffff;
}

.project-completed-why__stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #092c1e;
    line-height: 1.1;
    margin-bottom: 6px;
}

.project-completed-why__stat-label {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.35;
    font-weight: 500;
}

/* ==========================================================================
   3. Right Column: Slogan & Image
   ========================================================================== */
.project-completed-why__media {
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-completed-why__slogan {
    font-family: "Dancing Script", cursive, "Caveat", "Brush Script MT", italic, serif;
    font-size: 21px;
    font-weight: 700;
    color: #006039;
    text-align: right;
    margin-bottom: 8px;
    font-style: italic;
    line-height: 1.3;
}

.project-completed-why__image-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.project-completed-why__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-completed-why__media:hover .project-completed-why__image-wrap img {
    transform: scale(1.04);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .project-completed-why__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .project-completed-why__media {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .project-completed-why {
        padding: 40px 0;
    }

    .project-completed-why__title {
        font-size: 24px;
    }

    .project-completed-why__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-completed-why__stat-card {
        padding: 16px 20px;
        flex-direction: row;
        gap: 16px;
        text-align: left;
        justify-content: flex-start;
    }

    .project-completed-why__stat-icon {
        margin-bottom: 0;
    }
}
