/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */
body{
    font-family: "Inter", sans-serif;
}
.title{
    font-family: "Montserrat", sans-serif;
}
/***** HEADER *****/
.header {
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
    background-color: #171639;
    padding: 10px 50px;
}
.nav-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-left {
    flex: 1; /* Push the center and right sections */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-center {
    flex: 1; /* Center the middle image */
    display: flex;
    justify-content: center;
}

.nav-right {
    flex: 1; /* Push the left and center sections */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #fff;
}
.menu a {
    transition: 0.2s all ease-in-out; 
    text-decoration: none;
    color: #fff;
}
.menu a:hover {
    color: rgba(255,255,255, 0.7);
    text-decoration: none;
}
/* .menu a.orange-btn:hover {
    color: #fff;
} */
.menu li {
    list-style: none;
}
.menu-icon {
    display: none;
}
/* toggle between mobile and destop */
#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ .menu {
    transform: scale(1, 1);
}

@media only screen and (max-width: 600px) {
    .menu {
        flex-direction: column;
        background-color: #171639;
        align-items: start;
        gap: 0;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 1;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }

    .menu button {
        margin-left: 25px;
    }

    .menu li {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .menu-icon {
        display: block;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }
}
/***** GENERAL *****/
.main-container{
    min-height: 80vh;
}
.content-placeholder{
    background-color: #F7F8FB;
    color: #000;
    border-radius: 16px;
    max-width: 745px;
}
.content-placeholder.first{
    border-radius: 40px;
}
.fullscreen { /*use for page with center middle div*/
    width: 100vw;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}
a .hover-right:hover{
    padding-left: 15px!important;
}
.t-highlight{
    color: #F36C21!important;
    font-weight: 600;
    cursor: pointer;
}
.gradient-blue-bg{
    background-image: url('https://mycec.myfuturejobs.gov.my/assets/images/gradient-blue-bg.png');
    background-size: cover;
    background-position: 0%;
    background-repeat: repeat;
    background-attachment: fixed;
}
.hide{
    display: none!important;
}
.table-details{
    border-collapse:unset;
    font-size: 16px;
    width: 100%
}
.table-details > tbody > tr > td{
    padding: 8px 0;
}
@media only screen and (max-width: 600px) {
    .table-details{
        font-size: 14px;
    }
}
/* Spacing */
.py-80{
    padding-top: 80px;
    padding-bottom: 80px;
}
.py-40{
    padding-top: 40px;
    padding-bottom: 40px;
}
.px-50{
    padding-right: 50px;
    padding-left: 50px;
}
.p-32{
    padding: 32px;
}
.pt-0{
    padding-top: 0;
}
.pl-10{
    padding-left: 10px;
}
.pb-0{
    padding-bottom: 0;
}
.my-auto{
    margin-left: auto;
    margin-right: auto;
}
.mt-0{
    margin-top: 0;
}
.mb-0{
    margin-bottom: 0;
}
.mb-8{
    margin-bottom: 8px;
}
.mb-16{
    margin-bottom: 16px;
}
.mb-24{
    margin-bottom: 24px;
}
.mb-32{
    margin-bottom: 32px;
}
.mb-40{
    margin-bottom: 40px;
}
.banner-container > img{
    width: 100%;
}
.thin-line{
    height: 1px;
    background-color: #DFE4F1;
}
.spacing-small{
    height: 40px;
}
.hide-on-desktop{
    display: none;
}
@media only screen and (max-width: 600px) {
    .content-placeholder{
        margin-right: 20px!important;
        margin-left: 20px!important;
    }
    .px-50{
        padding-right: 35px;
        padding-left: 35px;
    }
    .hide-on-mobile{
        display: none;
    }
    .hide-on-desktop{
        display: block;
    }
}
/* FONT - TEXT */
a.mfj-link{
    color: #F36C21!important;
}
a.mfj-link:hover{
    color: #d48c65!important;
}
.text-spotlight{
    color: #F36C21!important;
    cursor: default;
}

a.black-link{
    color: #000!important;
}
a.black-link:hover{
    color: #F36C21!important;
}
.text-13{
    font-size: 13px;
    line-height: 18px;
}
.text-14{
    font-size: 14px;
    line-height: 18px;
}
.text-16{
    font-size: 16px;
    line-height: 20px;
}
.text-20{
    font-size: 20px;
    line-height: 40px;
}
.text-24{
    font-size: 24px;
    line-height: 28px;
}
.normal{
    font-weight: 400;
}
.medium{
    font-weight: 500;
}
.semibold{
    font-weight: 600;
}
.bold{
    font-weight: 700;
}
.center{
    text-align: center;
}
.at-right{
    text-align: right;
}
.justify{
    text-align: justify;
}
/***** BUTTON *****/
.btn{
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
    padding: 14px 42px;
}
.btn-disable{
    color: #fff;
    border-radius: 56px;
    background-color: #eb7b31;
    cursor: default!important;
    opacity: 0.3!important;
}
.btn-lang-switcher{
    color: #fff;
    font-family: "Inter", sans-serif;
    background-color: transparent;
    transition: 0.2s all ease-in-out;
    border: unset;
}
.btn-lang-switcher:hover{
    color: rgba(255,255,255, 0.7);
}
.orange-btn{
    color: #fff;
    border-radius: 56px;
    background-color: #eb7b31;
}
.orange-btn:hover {
    color: #fff;
    background-color: #EB6309;
}
.orange-btn-2{
    border-radius: 8px;
    background-color: #eb7b31;
    width: 100%;
}
.orange-btn-2:hover{
    background-color: #EB6309;
}
.white-btn{
    color: #211F60;
    border-radius: 56px;
    background-color: transparent;
    border: solid 2px #7D7CA4;
}
.white-btn:hover {
    color: #fff;
    background-color: #7D7CA4;
    border: solid 2px #7D7CA4;
}
@media only screen and (max-width: 600px) {
    .btn{
        font-size: 14px;
        padding: 12px 35px;
    }
}

/***** FOOTER *****/
footer.footer{
    position: sticky;
    font-family: "Montserrat", sans-serif;
    background-color: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    padding: 21px 20px;
}
@media only screen and (max-width: 600px) {
    footer.footer{
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        padding: 20px 20px;
        position: relative;
        bottom: 0;
    }
}
/***** COLOUR *****/
.white{
    color: #ffffff;
}
.blue-1{
    color: #211F60;
}
.blue-2{
    color: #CEF0FF;
}
.blue-3{
    color: #1B2238;
}
.black{
    color: #000;
}
.darkgrey{
    color: #838795;
}
.green-success{
    color: #007E3E;
}
/***** MODAL *****/
.popup-container {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s visibility ease-in, opacity 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
}
.popup-container.show {
    visibility: visible;
    opacity: 1;
}
.popup {
    width: 60vw;
    max-height: 90vh;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(34, 34, 53, 0.1);
}
header.cc-popup {
    background-color: #0D1020;
    border-radius: 20px 20px 0 0;
    padding: 40px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
}
main.cc-popup {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: unset;
    justify-content: unset;
    gap: 8px;
}
.inner-popup-container{
    max-height: 65vh;
    overflow: auto;
}
footer.cc-popup {
    padding: 0 40px 20px;
    display: flex;
    justify-content: right;
    align-items: center;
}
.popup-btn-container {
    display: flex;
    align-items: end;
    gap: 8px;
}
@media only screen and (max-width: 600px) {
    .popup {
        width: 90vw;
        max-height: 100vh;
    }
    main.cc-popup{
        padding: 20px;
    }
}
/* TOOLTIP */
[aria-label][tooltip-position] {
    position: relative;
    letter-spacing: 0.1rem;
}

[aria-label][tooltip-position]::before,
[aria-label][tooltip-position]::after {
    --scale: 0;
    color: #ABB1C3;
    position: absolute;
    font-size: 12px;
    line-height: 15px;
    font-weight: 500;
    transition: transform 100ms;
    transition-timing-function: linear;
}

[aria-label][tooltip-position]:hover::before,
[aria-label][tooltip-position]:hover::after {
    --scale: 1;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.45, 1.93);
}

[aria-label][tooltip-position]::before {
    content: attr(aria-label);
    background-color: var(--tooltip-color);
    padding: 8px 16px;
    border-radius: 8px;
    width: max-content;
    max-width: 300px!important;
    text-align: center;
    transform: scale(0);
}

[aria-label][tooltip-position]::after {
    content: "";
    border: var(--arrow-size) solid transparent;
}

[aria-label][tooltip-position]::before,
[aria-label][tooltip-position]::after {
    --tooltip-color: #1B2238;
    --arrow-size: 0.5rem;
    --scale: 0;

    z-index: 1;
    font-size: 12px;
    transform: translate(var(--translate-x), var(--translate-y)) scale(var(--scale));
}

/** Right  */

[aria-label][tooltip-position="right"]::before {
    --translate-x: calc(100% + var(--arrow-size));
    --translate-y: -50%;
    right: 1px;
    top: 50%;
    transform-origin: left center;
}

[aria-label][tooltip-position="right"]::after {
    --translate-x: calc(var(--arrow-size));
    --translate-y: -50%;
    right: 0px;
    top: 50%;
    border-right-color: var(--tooltip-color);
    transform-origin: left center;
}
@media only screen and (max-width: 600px){
    [aria-label][tooltip-position]::before {
        max-width: 150px!important;
    }
}