/* =========================================
   RESET
========================================= */

* {

    margin:
        0;

    padding:
        0;

    box-sizing:
        border-box;

}


/* =========================================
   BODY
========================================= */

body {

    font-family:
        "Montserrat",
        sans-serif;

    background:
        #0a0a0a;

    color:
        #ffffff;

    overflow-x:
        hidden;

}


/* =========================================
   NAVBAR
========================================= */

.navbar {

    width:
        100%;

    height:
        80px;

    padding:
        0 7%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    background:
        rgba(
            12,
            12,
            12,
            0.96
        );

    border-bottom:
        1px solid
        rgba(
            255,
            107,
            0,
            0.2
        );

    position:
        sticky;

    top:
        0;

    z-index:
        1000;

}


/* =========================================
   NAV BRAND
========================================= */

.nav-brand {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    text-decoration:
        none;

    color:
        white;

}


.nav-logo {

    width:
        44px;

    height:
        44px;

    object-fit:
        contain;

}


.nav-brand span {

    font-size:
        14px;

    font-weight:
        800;

    letter-spacing:
        1px;

}


.nav-brand strong {

    color:
        #ff6b00;

}


/* =========================================
   NAV MENU
========================================= */

.nav-menu {

    display:
        flex;

    align-items:
        center;

    gap:
        30px;

}


.nav-menu a {

    position:
        relative;

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        13px;

    font-weight:
        600;

    transition:
        0.3s;

}


.nav-menu a:hover {

    color:
        #ff6b00;

}


.nav-menu a.active {

    color:
        #ff6b00;

}


.nav-menu a.active::after {

    content:
        "";

    position:
        absolute;

    left:
        0;

    bottom:
        -8px;

    width:
        100%;

    height:
        2px;

    background:
        #ff6b00;

}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {

    display:
        none;

    border:
        none;

    background:
        transparent;

    color:
        #ffffff;

    font-size:
        29px;

    font-weight:
        700;

    cursor:
        pointer;

    line-height:
        1;

    padding:
        5px;

}


/* =========================================
   HERO
========================================= */

.achievement-hero {

    min-height:
        350px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    padding:
        80px 20px;

    position:
        relative;

    background:

        radial-gradient(
            circle at center,
            rgba(
                255,
                107,
                0,
                0.12
            ),
            transparent 45%
        ),

        linear-gradient(
            135deg,
            #0b0b0b,
            #15100c
        );

}


/* ORANGE GLOW */

.achievement-hero::before {

    content:
        "";

    position:
        absolute;

    width:
        300px;

    height:
        300px;

    background:
        rgba(
            255,
            107,
            0,
            0.08
        );

    filter:
        blur(100px);

    border-radius:
        50%;

}


/* HERO CONTENT */

.hero-content {

    position:
        relative;

    z-index:
        1;

}


.hero-label {

    color:
        #ff6b00;

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        4px;

    margin-bottom:
        15px;

}


.achievement-hero h1 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        60px;

    font-weight:
        400;

    letter-spacing:
        2px;

}


.achievement-hero h1 span {

    color:
        #ff6b00;

}


.hero-description {

    color:
        #999999;

    font-size:
        13px;

    margin-top:
        20px;

    letter-spacing:
        0.5px;

}


/* =========================================
   MAIN SECTION
========================================= */

.achievement-section {

    width:
        100%;

    max-width:
        1200px;

    margin:
        auto;

    padding:
        90px 30px;

}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {

    text-align:
        center;

    margin-bottom:
        50px;

}


.section-heading > p:first-child {

    color:
        #ff6b00;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        3px;

    margin-bottom:
        10px;

}


.section-heading h2 {

    font-family:
        "Anton",
        sans-serif;

    font-size:
        42px;

    font-weight:
        400;

    letter-spacing:
        1px;

}


.section-heading h2 span {

    color:
        #ff6b00;

}


.heading-line {

    width:
        55px;

    height:
        3px;

    background:
        #ff6b00;

    margin:
        18px auto;

}


.section-description {

    color:
        #777777;

    font-size:
        12px;

}


/* =========================================
   ACHIEVEMENT GRID
========================================= */

.achievement-container {

    display:
        grid;

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

    gap:
        25px;

}


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

.achievement-card {

    background:
        #141414;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    border-radius:
        16px;

    overflow:
        hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;

}


.achievement-card:hover {

    transform:
        translateY(
            -8px
        );

    border-color:
        rgba(
            255,
            107,
            0,
            0.55
        );

    box-shadow:
        0 20px 45px
        rgba(
            0,
            0,
            0,
            0.45
        );

}


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

.achievement-image {

    width:
        100%;

    height:
        220px;

    position:
        relative;

    overflow:
        hidden;

    background:
        #101010;

    cursor:
        pointer;

}


.achievement-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    transition:
        transform 0.5s ease;

}


.achievement-card:hover
.achievement-image img {

    transform:
        scale(
            1.06
        );

}


/* IMAGE OVERLAY */

.achievement-image::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            to top,
            rgba(
                0,
                0,
                0,
                0.6
            ),
            transparent 60%
        );

    pointer-events:
        none;

}


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

.achievement-content {

    padding:
        23px;

}


/* LABEL */

.achievement-number {

    color:
        #ff6b00;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        2px;

    margin-bottom:
        10px;

}


/* TITLE */

.achievement-title {

    font-size:
        18px;

    font-weight:
        700;

    line-height:
        1.35;

    margin-bottom:
        12px;

}


/* DESCRIPTION */

.achievement-description {

    color:
        #888888;

    font-size:
        12px;

    line-height:
        1.7;

}


/* =========================================
   VIEW BUTTON
========================================= */

.achievement-view {

    margin-top:
        20px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    color:
        #ff6b00;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        1px;

    cursor:
        pointer;

}


.achievement-view span {

    transition:
        transform 0.3s;

}


.achievement-card:hover
.achievement-view span {

    transform:
        translateX(
            5px
        );

}


/* =========================================
   LOADING
========================================= */

.loading {

    grid-column:
        1 / -1;

    min-height:
        200px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    color:
        #888888;

    background:
        #141414;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.05
        );

    border-radius:
        15px;

    font-size:
        13px;

}


/* =========================================
   MODAL
========================================= */

.achievement-modal {

    position:
        fixed;

    inset:
        0;

    display:
        none;

    align-items:
        center;

    justify-content:
        center;

    padding:
        20px;

    z-index:
        2000;

}


.achievement-modal.show {

    display:
        flex;

}


.modal-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        rgba(
            0,
            0,
            0,
            0.88
        );

    backdrop-filter:
        blur(8px);

}


/* =========================================
   MODAL CONTENT
========================================= */

.modal-content {

    position:
        relative;

    z-index:
        1;

    width:
        min(
            850px,
            100%
        );

    max-height:
        90vh;

    overflow:
        auto;

    background:
        #151515;

    border:
        1px solid
        rgba(
            255,
            107,
            0,
            0.4
        );

    border-radius:
        18px;

    overflow-y:
        auto;

}


.modal-content > img {

    display:
        block;

    width:
        100%;

    max-height:
        500px;

    object-fit:
        contain;

    background:
        #080808;

}


/* =========================================
   MODAL CLOSE
========================================= */

.modal-close {

    position:
        absolute;

    top:
        15px;

    right:
        15px;

    width:
        38px;

    height:
        38px;

    border:
        none;

    border-radius:
        50%;

    background:
        rgba(
            0,
            0,
            0,
            0.75
        );

    color:
        white;

    font-size:
        25px;

    cursor:
        pointer;

    z-index:
        2;

}


.modal-close:hover {

    background:
        #ff6b00;

    color:
        black;

}


/* =========================================
   MODAL INFO
========================================= */

.modal-info {

    padding:
        25px 30px 30px;

}


.modal-info p {

    color:
        #ff6b00;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        3px;

    margin-bottom:
        8px;

}


.modal-info h2 {

    font-size:
        24px;

    margin-bottom:
        12px;

}


.modal-info span {

    display:
        block;

    color:
        #999999;

    font-size:
        13px;

    line-height:
        1.7;

}


/* =========================================
   FOOTER
========================================= */

.footer {

    padding:
        60px 20px 30px;

    background:
        #080808;

    border-top:
        1px solid
        rgba(
            255,
            107,
            0,
            0.15
        );

    text-align:
        center;

}


.footer-brand {

    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        10px;

}


.footer-brand img {

    width:
        44px;

    height:
        44px;

    object-fit:
        contain;

}


.footer-brand h2 {

    font-size:
        17px;

}


.footer-brand span {

    color:
        #ff6b00;

}


.footer > p {

    margin-top:
        15px;

    color:
        #777777;

    font-size:
        10px;

    letter-spacing:
        2px;

}


.footer-line {

    width:
        60px;

    height:
        2px;

    background:
        #ff6b00;

    margin:
        25px auto;

}


.footer small {

    color:
        #555555;

    font-size:
        9px;

}


/* =========================================
   TABLET
========================================= */

@media (
    max-width: 1000px
) {

    .achievement-container {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }


    .nav-menu {

        gap:
            20px;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (
    max-width: 768px
) {


    /* NAVBAR */

    .navbar {

        height:
            70px;

        padding:
            0 5%;

    }


    .nav-logo {

        width:
            38px;

        height:
            38px;

    }


    .nav-brand span {

        display:
            inline-block;

        font-size:
            11px;

        white-space:
            nowrap;

    }


    /* MENU BUTTON */

    .menu-toggle {

        display:
            block;

    }


    /* NAV MENU */

    .nav-menu {

        display:
            none;

        position:
            absolute;

        top:
            70px;

        right:
            5%;

        width:
            210px;

        padding:
            12px;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        background:
            #151515;

        border:
            1px solid
            rgba(
                255,
                107,
                0,
                0.35
            );

        border-radius:
            12px;

        box-shadow:
            0 20px 40px
            rgba(
                0,
                0,
                0,
                0.6
            );

    }


    .nav-menu.show {

        display:
            flex;

    }


    .nav-menu a {

        padding:
            13px 15px;

        font-size:
            12px;

        border-bottom:
            1px solid
            rgba(
                255,
                255,
                255,
                0.05
            );

    }


    .nav-menu a:last-child {

        border-bottom:
            none;

    }


    .nav-menu a.active::after {

        display:
            none;

    }


    .nav-menu a.active {

        background:
            rgba(
                255,
                107,
                0,
                0.1
            );

        border-radius:
            7px;

    }


    /* HERO */

    .achievement-hero {

        min-height:
            280px;

        padding:
            60px 20px;

    }


    .achievement-hero h1 {

        font-size:
            42px;

    }


    .hero-description {

        max-width:
            320px;

        margin-left:
            auto;

        margin-right:
            auto;

        line-height:
            1.6;

    }


    /* MAIN */

    .achievement-section {

        padding:
            65px 20px;

    }


    .section-heading h2 {

        font-size:
            34px;

    }


    /* GRID */

    .achievement-container {

        grid-template-columns:
            1fr;

        gap:
            20px;

    }


    /* CARD */

    .achievement-image {

        height:
            210px;

    }


    .achievement-content {

        padding:
            20px;

    }


    .achievement-title {

        font-size:
            17px;

    }


    /* MODAL */

    .modal-content {

        width:
            100%;

        border-radius:
            14px;

    }


    .modal-content > img {

        max-height:
            300px;

    }


    .modal-info {

        padding:
            20px;

    }


    .modal-info h2 {

        font-size:
            20px;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (
    max-width: 420px
) {


    .navbar {

        padding:
            0 15px;

    }


    .nav-brand {

        gap:
            8px;

    }


    .nav-logo {

        width:
            36px;

        height:
            36px;

    }


    /* AGILITY UNITED TETAP ADA */

    .nav-brand span {

        display:
            inline-block;

        font-size:
            10px;

        letter-spacing:
            0.5px;

    }


    .menu-toggle {

        font-size:
            28px;

        color:
            #ffffff;

    }


    .achievement-hero h1 {

        font-size:
            36px;

    }


    .section-heading h2 {

        font-size:
            30px;

    }


    .achievement-image {

        height:
            190px;

    }

}
