/* =========================================================
   ACHIEVEMENTS SECTION
========================================================= */

.achievements-section {
    width: 100%;

    padding-top: 80px;
    padding-bottom: 80px;

    box-sizing: border-box;

    background: #E7F0F6;
}


/* =========================================================
   HEADER
   .container controls width and alignment
========================================================= */

.achievements-header {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: start;

    margin-bottom: 55px;
}


/* =========================================================
   TITLE
========================================================= */

.achievements-title h2 {
    margin: 0;
    color: #000;
}


/* =========================================================
   HEADER DESCRIPTION
========================================================= */

.achievements-description p {
    margin: 0 0 0 auto;

    max-width: 600px;
    font-weight: 400;
    line-height: 1.5;
    color: #515151;
}


/* =========================================================
   CARDS GRID
========================================================= */

.achievements-cards {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 40px;
}


/* =========================================================
   CARD
========================================================= */

.achievement-card {
    min-width: 0;

    background: #fff;

    border-radius: 12px;

    padding: 22px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}


/* =========================================================
   IMAGE
========================================================= */

.achievement-image {
    width: 100%;

    height: 282px;

    margin-bottom: 20px;

    overflow: hidden;

    border-radius: 10px;
}

.achievement-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   CARD TITLE ROW
========================================================= */

.achievement-card-title {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 16px;
}


/* =========================================================
   NUMBER
========================================================= */

.achievement-number {
    flex-shrink: 0;
}

.achievement-number h3 {
    margin: 0;

    font-size: 48px;

    line-height: 1;

    font-weight: 500;

    color: #000;
}


/* =========================================================
   CARD HEADING
========================================================= */

.achievement-heading {
    flex: 1;

    min-width: 0;
}

.achievement-heading h4 {
    margin: 0;

    color: #000;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.achievement-description {
    min-height: 0;
}

.achievement-description p {
    margin: 0;
    font-weight: 400;
    color: #515151;
    line-height: 1.7;
    ;
}


/* =========================================================
   LEARN MORE
========================================================= */

.achievement-link {
    margin-top: 22px;

    padding-top: 11px;

    border-top: 1px solid #333;
}

.achievement-link a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    color: #000;

    text-decoration: none;


    line-height: 1.2;
}


/* =========================================================
   ARROW
========================================================= */

.achievement-arrow {
    width: 22px;

    height: 22px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;
}

.achievement-arrow img {
    width: 100%;

    height: 100%;

    display: block;

    filter: brightness(10%);
}


/* =========================================================
   LARGE LAPTOP
   1201px – 1600px
========================================================= */

@media (max-width: 1600px) {

    .achievements-section {
        padding-top: 50px;

        padding-bottom: 50px;
    }


    .achievements-header {
        gap: 60px;

        margin-bottom: 50px;
    }


    .achievements-title h2 {
        font-size: 32px;
    }



    .achievements-cards {
        gap: 35px;
    }


    .achievement-card {
        padding: 20px;
    }


    .achievement-image {
        height: 180px;

        margin-bottom: 18px;
    }


    .achievement-card-title {
        gap: 12px;

        margin-bottom: 14px;
    }


    .achievement-number h3 {
        font-size: 27px;
    }


    .achievement-heading h4 {
        font-size: 18px;
    }


    .achievement-link {
        margin-top: 20px;
    }
}


/* =========================================================
   TABLET
   901px – 1200px
========================================================= */

@media (max-width: 1200px) {

    .achievements-section {
        padding-top: 60px;

        padding-bottom: 60px;
    }


    .achievements-header {
        gap: 40px;

        margin-bottom: 45px;
    }


    .achievements-title h2 {
        font-size: 30px;
    }




    .achievements-cards {
        gap: 25px;
    }


    .achievement-card {
        padding: 18px;
    }


    .achievement-image {
        height: 170px;
    }


    .achievement-card-title {
        gap: 10px;

        margin-bottom: 14px;
    }









    .achievement-link {
        margin-top: 18px;
    }


}


/* =========================================================
   SMALL TABLET
   601px – 900px
========================================================= */

@media (max-width: 900px) {

    .achievements-section {
        padding-top: 55px;

        padding-bottom: 55px;
    }


    /* Header */

    .achievements-header {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 40px;
    }


    .achievements-title h2 {
        font-size: 30px;
    }


    .achievements-description p {
        max-width: 650px;
    }


    /* Cards */

    .achievements-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 25px;
    }


    .achievement-card {
        padding: 18px;
    }


    .achievement-image {
        height: 180px;
    }


    .achievement-card-title {
        gap: 10px;

        margin-bottom: 14px;
    }


    .achievement-number h3 {
        font-size: 26px;
    }


    .achievement-heading h4 {
        font-size: 18px;
    }



    .achievement-link {
        margin-top: 18px;
    }


}


/* =========================================================
   MOBILE
   600px and below
========================================================= */

@media (max-width: 600px) {

    .achievements-section {
        padding-top: 45px;

        padding-bottom: 45px;
    }


    /* Header */

    .achievements-header {
        display: block;

        margin-bottom: 35px;
    }


    .achievements-title {
        margin-bottom: 18px;
    }


    .achievements-title h2 {
        font-size: 28px;

        line-height: 1.2;
    }


    .achievements-description p {

        line-height: 1.5;
    }


    /* Cards */

    .achievements-cards {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .achievement-card {
        padding: 20px;

        border-radius: 10px;
    }


    /* Image */

    .achievement-image {
        height: 200px;

        margin-bottom: 18px;

        border-radius: 10px;
    }


    /* Card title */

    .achievement-card-title {
        gap: 12px;

        margin-bottom: 14px;
    }


    .achievement-number h3 {
        font-size: 27px;
    }


    .achievement-heading h4 {
        font-size: 18px;

        line-height: 1.2;
    }



    /* Link */

    .achievement-link {
        margin-top: 20px;

        padding-top: 10px;
    }



    .achievement-arrow {
        width: 20px;

        height: 20px;
    }
}


/* =========================================================
   SMALL MOBILE
   400px and below
========================================================= */

@media (max-width: 400px) {

    .achievements-section {
        padding-top: 40px;

        padding-bottom: 40px;
    }


    .achievements-title h2 {
        font-size: 26px;
    }



    .achievement-card {
        padding: 16px;
    }


    .achievement-image {
        height: 190px;
    }


    .achievement-card-title {
        gap: 10px;
    }


    .achievement-number h3 {
        font-size: 25px;
    }






    .achievement-link {
        margin-top: 18px;
    }

}