.achievement-section {
    width: 100%;
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}


.container-achievement {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.achievement-heading {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.achievement-heading h2 {
    font-weight: 700;
    font-size: 50px;
    line-height: 1.5;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
    max-width: 900px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Hide read-more-btn by default */
.read-more-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    backdrop-filter: blur(12px);
    border: 1.5px solid #FFFFFF;
    border-radius: 999px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    margin: 0 2px 64px 64px;

}

/* Show read-more-btn when hovering over achievement-card */
.achievement-card:hover .read-more-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Show read-more-btn when hovering over newsroom-card */
.newsroom-card:hover .read-more-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.achievement-cards {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 32px;
    justify-content: center;
    height: auto;
    width: 100%;
}

.achievement-card {
    width: 584px;
    height: 440px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.newsroom-card {
    background-size: cover !important;
    background-position: bottom !important;
    background-repeat: no-repeat !important;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.certifications-card {
    background-size: cover !important;
    background-position: bottom !important;
    background-repeat: no-repeat !important;
    animation: slideInRight 0.8s ease-out 0.2s both;
}


.achievement-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s ease;
}

.achievement-card-content h3 {
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    margin: 0;
    color: #FFFFFF;
    margin-left: 64px;
}



.read-more-btn:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: scale(1.05);
}

.read-more-btn:hover svg path {
    stroke: #FFFFFF;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow-icon {
    transform: translateX(2px);
}

/* Focus states for accessibility */
.read-more-btn:focus {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .achievement-card-content {
        gap: 24px;
    }

    .achievement-section {
        max-width: 896px;
    }

    .achievement-card {
        width: 432px;
        height: 325px;
    }

    .achievement-card-content h3 {
        font-size: 32px;
        font-weight: 700;
        margin: 0 19px 0 40px;
        line-height: 100%;
        min-height: 38px;
    }

    .read-more-btn {
        margin: 0 0 40px 40px;
        padding: 8px 16px;
    }

    .achievement-heading h2 {
        font-size: 32px;
        font-weight: 700;
    }
}


@media (max-width: 1023px) and (min-width: 768px) {
    .achievement-card-content {
        gap: 20px;
    }

    .achievement-section {
        max-width: 688px;
    }

    .achievement-heading h2 {
        font-size: 32px;
        font-weight: 700;
    }

    .achievement-card-content h3 {
        font-size: 28px;
        font-weight: 700;
        margin: 0 29px 0 24px;
        line-height: 100%;
        letter-spacing: 0;
        min-height: 33px;
    }

    .read-more-btn {
        margin: 0 0 24px 24px;
        padding: 8px 16px;
    }

    .achievement-card {
        width: 328px;
        height: 247px;
    }
}

@media (max-width: 767px) {
    .achievement-section {
        width: 100%;
        padding: 0;
    }

    .container-achievement {
        padding: 0 16px;
    }

    .achievement-heading h2 {
        font-size: 26px;
    }

    .achievement-cards {
        flex-direction: column;
        align-items: center;
    }

    .achievement-card {
        width: 100%;
        height: 258px;
    }

    .achievement-card-content {
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: all 0.3s ease;
    }

    .achievement-card-content h3 {
        font-size: 24px;
        margin: 0 39px 0 24px;
        line-height: 100%;
        min-height: 29px;
    }

    .read-more-btn {
        margin: 0 0 24px 24px;
        padding: 8px 16px;
    }
}