@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

.vision {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.vision-title {
    margin: 6rem 10rem 0 10rem;
    font-size: 1.3rem;
}

.vision-title span {
    color: #004AAD;
}

.vision-motto {
    margin-top: 6rem;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-motto img {
    position: absolute;
    width: 100%;
    height: 72px;
    object-fit: cover;
    filter: brightness(82%);
}

.vision-motto p {
    z-index: 1;
    color: white;
    font-weight: 200;
    font-size: 1.1rem;
    position: relative;
    text-align: center;
}

.vision-motto span {
    font-weight: 600;
}

.vision-achieve {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

.vision-achieve .top {
    display: flex;
    margin: 6rem 10rem 0 10rem;
    gap: 2rem;
}

.vision-achieve .top .big{
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.vision-achieve .top .med{
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 35%;
}

.vision-achieve .top .med span{
    font-weight: 600;
    color: #004AAD;
}

.vision-achieve .bottom {
    margin: 0.8rem 10rem 0 10rem;
}

.vision-goal {
    display: flex;
    justify-content: start;
    margin-top: 6rem;
    padding-left: 10rem;
    gap: 2rem;
    width: 100%;
}

.vision-goal .big {
    width: 20%;
}

.vision-goal .big span {
    color: #004AAD;
}

.vision-goal .content {
    margin: 0 10rem 0 0.9rem;
    width: 36%;
    display: flex;
    align-items: start;
}

.achievements {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.achievements .title {
    text-align: center;
    margin-top: 10rem;
    font-size: 1.3rem;
}

.achievements .title span {
    color: #004AAD;
}

.achievements .content {
    margin: 4rem 6rem 0 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.achievements .content span{
    color: #004AAD;
    font-weight: 700;
}

.core-values {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.core-values .title {
    margin: 8rem 0 0 0;
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.core-values .title span {
    color: #004AAD;
}

.core-values .box {
    display: flex;
    flex-direction: column;
    padding: 3rem 0 3rem 0;
    width: 80%;
    gap: 4rem;
    margin: 3rem 4rem 4rem 4rem;
    background-color: #004AAD;
    border-radius: 2rem;
}

.core-values .box .top {
    display: flex;
    justify-content: center;
    padding: 2.5%;
    gap: 10%;
}

.core-values .box .bottom {
    display: flex;
    justify-content: center;
    gap: 10%;
}

.box .top div, .bottom div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 18vw;
    height: 18vw;
    border-radius: 1rem;
    background-image: linear-gradient(to right, grey , white);
    color: black;
    transition: 100ms;
}

.box .top div:hover, .bottom div:hover {
    transition: 100ms;
    p {
        font-weight: 700;
    }
    background-color: white;
    color: #004AAD;
    cursor: pointer;
    border: solid grey 0.4rem;
}

.proactive:hover p, .respectful:hover p {
    transition: 300ms;
    font-weight: 700;
}

.core-values .box .top, .bottom p {
    font-size: 1.2rem;
    font-weight: 400;
    transition: 300ms;
}

dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40rem;
    height: 20rem;
    background-color: #004AAD;
    color: white;
    border-radius: 1.6rem;
    border: none;
}

dialog::backdrop {
    background-color: black;
    opacity: 72%;
}

.modal-wrapper {
    display: flex;
    flex-direction: column;
    margin: 4rem 4rem 4rem 4rem;
}

.modal-wrapper .btn {
    display: flex;
    justify-content: end;
}

.modal-wrapper .btn button {
    width: 2rem;
    height: 2rem;
    background: none;
    color: white;
    border: none;
    font-size: 1.6rem;
}

.modal-wrapper .btn button:focus {
    outline: none;
}

.modal-wrapper .btn button:hover {
    transition: 300ms;
    border-radius: 0.3rem;
    background-color: white;
    color: #004AAD;
    cursor: pointer;
}

.modal-title {
    display: flex;
    margin-top: 1rem;
    justify-content: start;
}

.modal-wrapper .content {
    margin-top: 1rem;
}

/* Responsive adjustments */


@media (max-width: 800px) {

    .vision-title {
        width: 100%;
        margin: 0;
        margin-top: 2rem;
    }

    .vision-title h1{
        text-align: center;
        font-size: 8vw;
    }

    .vision-motto {
        margin-top: 2rem;

        img {
            height: 12vw;
        }

        p {
            font-size: 3vw;
        }
    }

    .vision-achieve {
        padding: 0 8vw;
    }

    .vision-achieve .top {
        display: flex;
        flex-direction: column;
        align-items: start;
        margin: 4rem 0rem 0rem 0rem;
        gap: .1rem;
        h1 {
            font-size: 8vw;
        }
        p {
            font-size: 3vw;
        }
    }

    .vision-achieve .top .med{
        max-width: 100%;
        p {
            font-size: 3vw;
        }
    }

    .vision-achieve .bottom {
        margin: 1rem 0rem;
        p {
            font-size: 3vw;
        }
    }

    .vision-goal {
        flex-direction: column;
        padding: 0 8vw;
        gap: 1rem;
        width: 100vw;
        margin: 2rem 0;
    }

    .vision-goal .big {
        width: 100%;
        h1 {
            font-size: 8vw;
        }
    }

    .vision-goal .content {
        display: flex;
        justify-content: start;
        margin: 0;
        width: 100%;
        p {
            font-size: 3vw;
        }
    }

    .core-values .box {
        margin: 0;
        width: 80%;
    }

    .achievements {
        .title {
            margin-top: 2rem;
        }
        
        .title h1 {
            font-size: 8vw;
            display: flex;
            flex-direction: column;
        }
        gap: 1.62rem;
        .content {
            width: 80%;
            margin: 0;
            font-size: 3vw;
        }
    }

    .core-values .title {
        margin: 2.6rem 0;
        h1 {
            font-size: 8vw;
        }
    }

    .core-values .box {
        width: 80%;
        gap: 1rem;
        padding: 1.2rem;
        justify-content: center;
        border-radius: 1rem;
        p {
            color: #004AAD;
            font-weight: 600;
            font-size: 2.4vw;
        }
        .top div{
            background-image: linear-gradient(to right, rgb(151, 151, 151) , white);
        }
        .bottom div {
            background-image: linear-gradient(to right, rgb(151, 151, 151) , white);
        }
    }

    dialog {
        h1 {
            font-size: 7vw;
        }

        p {
            font-size: 3vw;
            font-weight: 300;
        }
    }
}