/*=========================================================
    ACHIEVEMENTS SECTION CSS START HERE
=========================================================*/

.achievements-section{
    position: relative;

    padding: 50px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #ffffff 50%,
            #eef4ff 100%
        );
}


/*=========================================================
    BACKGROUND ANIMATION SHAPES
=========================================================*/

.achievements-section::before,
.achievements-section::after{
    content: "";

    position: absolute;

    border-radius: 50%;

    z-index: 1;
}

.achievements-section::before{
    top: -120px;
    left: -120px;

    width: 320px;
    height: 320px;

    background: rgba(13,59,102,0.06);

    animation: floatAchievement 8s ease-in-out infinite;
}

.achievements-section::after{
    bottom: -100px;
    right: -100px;

    width: 260px;
    height: 260px;

    background: rgba(244,162,97,0.10);

    animation: floatAchievement 10s ease-in-out infinite;
}


/*=========================================================
    CONTAINER
=========================================================*/

.achievements-section .container{
    position: relative;
    z-index: 5;
}


/*=========================================================
    SECTION HEADER
=========================================================*/

.section-header{
    margin-bottom: 60px;
}


/*=========================================================
    SECTION TITLE
=========================================================*/

.achievements-section .section-title{
    position: relative;

    font-size: 35px;
    font-weight: 800;

    color: #0d3b66;

    margin-bottom: 20px;

    animation: fadeDown 1s ease;
}

.achievements-section .section-title::after{
    content: "";

    display: block;

    width: 90px;
    height: 4px;

    left: 45%;

    margin: 18px auto 0;

    border-radius: 50px;

    background:
        linear-gradient(
            to right,
            #f4a261,
            #ffbe7a
        );
}


/*=========================================================
    SUBTITLE
=========================================================*/

.section-subtitle{
    max-width: 700px;

    margin: 0 auto;

    font-size: 18px;
    line-height: 1.9;

    color: #64748b;

    animation: fadeUp 1s ease;
}


/*=========================================================
    ACHIEVEMENT CARD
=========================================================*/

.achievement-card{
    position: relative;

    height: 100%;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.95),
            rgba(255,255,255,0.88)
        );

    backdrop-filter: blur(10px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.06);

    transition: all 0.4s ease;

    animation: fadeUp 1s ease;
}


/*=========================================================
    TOP BORDER EFFECT
=========================================================*/

.achievement-card::before{
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            to right,
            #0d3b66,
            #f4a261
        );

    z-index: 2;
}


/*=========================================================
    CARD HOVER
=========================================================*/

.achievement-card:hover{
    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.12);
}


/*=========================================================
    IMAGE WRAPPER
=========================================================*/

.achievement-img{
    position: relative;

    width: 100%;
    height: 260px;

    overflow: hidden;
}


/*=========================================================
    IMAGE STYLE
=========================================================*/

.achievement-img img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: all 0.6s ease;
}


/*=========================================================
    IMAGE OVERLAY
=========================================================*/

.achievement-img::before{
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(15,23,42,0.55),
            transparent
        );

    opacity: 0;

    transition: all 0.4s ease;

    z-index: 1;
}


/*=========================================================
    IMAGE HOVER EFFECT
=========================================================*/

.achievement-card:hover .achievement-img img{
    transform: scale(1.08);
}

.achievement-card:hover .achievement-img::before{
    opacity: 1;
}


/*=========================================================
    CONTENT AREA
=========================================================*/

.achievement-content{
    padding: 30px;

    text-align: center;
}


/*=========================================================
    TITLE
=========================================================*/

.achievement-title{
    margin-bottom: 18px;
}

.achievement-title a{
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;

    color: #0d3b66;

    text-decoration: none;

    transition: all 0.3s ease;
}

.achievement-title a:hover{
    color: #f4a261;
}


/*=========================================================
    DESCRIPTION
=========================================================*/

.achievement-description{
    font-size: 15px;
    line-height: 1.9;

    color: #64748b;

    margin-bottom: 28px;
}


/*=========================================================
    BUTTON
=========================================================*/

.achievement-btn{
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 28px;

    border-radius: 50px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0d3b66,
            #14548f
        );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.4s ease;

    box-shadow:
        0 10px 25px rgba(13,59,102,0.22);
}


/*=========================================================
    BUTTON LIGHT EFFECT
=========================================================*/

.achievement-btn::before{
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.28),
            transparent
        );

    transform: skewX(-25deg);

    transition: 0.7s ease;
}

.achievement-btn:hover::before{
    left: 150%;
}


/*=========================================================
    BUTTON HOVER
=========================================================*/

.achievement-btn:hover{
    transform: translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #f4a261,
            #ffbe7a
        );

    color: #ffffff;

    box-shadow:
        0 16px 35px rgba(244,162,97,0.30);
}


/*=========================================================
    ALERT
=========================================================*/

.achievements-section .alert{
    border: none;

    border-radius: 18px;

    padding: 20px;

    background: #fff3cd;

    color: #856404;

    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.05);
}


/*=========================================================
    FLOAT ANIMATION
=========================================================*/

@keyframes floatAchievement{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(25px);
    }

    100%{
        transform: translateY(0px);
    }

}


/*=========================================================
    FADE DOWN
=========================================================*/

@keyframes fadeDown{

    from{
        opacity: 0;
        transform: translateY(-40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/*=========================================================
    FADE UP
=========================================================*/

@keyframes fadeUp{

    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/*=========================================================
    LARGE DESKTOP
=========================================================*/

@media (min-width: 1400px){

    .achievements-section .section-title{
        font-size: 60px;
    }

    .achievement-img{
        height: 300px;
    }

}


/*=========================================================
    DESKTOP
=========================================================*/

@media (max-width: 1199px){

    .achievements-section{
        padding: 80px 0;
    }

    .achievement-title a{
        font-size: 24px;
    }

}


/*=========================================================
    TABLET DEVICE
=========================================================*/

@media (max-width: 991px){

    .achievements-section{
        padding: 70px 0;
    }

    .achievements-section .section-title{
        font-size: 40px;
    }

    .achievement-img{
        height: 240px;
    }

    .achievement-content{
        padding: 25px;
    }

    .achievement-title a{
        font-size: 22px;
    }

}


/*=========================================================
    MOBILE DEVICE
=========================================================*/

@media (max-width: 767px){

    .achievements-section{
        padding: 60px 0;
    }

    .achievements-section::before{
        width: 220px;
        height: 220px;
    }

    .achievements-section::after{
        width: 180px;
        height: 180px;
    }

    .section-header{
        margin-bottom: 45px;
    }

    .achievements-section .section-title{
        font-size: 30px;
    }

    .achievements-section .section-title::after{
        width: 70px;
    }

    .section-subtitle{
        font-size: 15px;
        line-height: 1.8;
    }

    .achievement-card{
        border-radius: 18px;
    }

    .achievement-img{
        height: 220px;
    }

    .achievement-content{
        padding: 22px;
    }

    .achievement-title a{
        font-size: 20px;
    }

    .achievement-description{
        font-size: 14px;
    }

    .achievement-btn{
        width: 100%;
    }

}


/*=========================================================
    SMALL MOBILE DEVICE
=========================================================*/

@media (max-width: 575px){

    .achievements-section{
        padding: 50px 0;
    }

    .achievements-section .section-title{
        font-size: 24px;
        line-height: 1.4;
    }

    .section-subtitle{
        font-size: 14px;
    }

    .achievement-img{
        height: 200px;
    }

    .achievement-content{
        padding: 20px;
    }

    .achievement-title a{
        font-size: 18px;
    }

    .achievement-description{
        font-size: 13px;
        line-height: 1.8;
    }

    .achievement-btn{
        padding: 11px 22px;
        font-size: 13px;
    }

}