* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --border-0: none;
    --padding-0: 0rem;
    --padding-1: 1rem;
    --padding-2: 2rem;
    --padding-3: 3rem;

    --fontsize-0: 0rem;
    --fontsize-small: 0.8rem;
    --fontsize-1: 1rem;
    --fontsize-2: 2rem;
    --fontsize-3: 3rem;

    --icon-color: #fff;
}

html{
    scroll-behavior: smooth !important;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f1f1f1;
}

.motion-news {
    display: flex;
}

/* for all font */
.custom-text-font,
.custom-btn-font {
    font-size: 0.8rem;

}

.custom-heading-font, th {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.custom-nav-link:hover {
    color: #e92315 !important;
    text-decoration: underline !important;

}
.custom-profile-bg{
    background: #486089;
}
.custom-profile-bg:hover{
   transform: translate3d(0, -10px, 0);
    transition: 1s;
}





.table{
   min-width: 20rem !important  ;
}
.marquee{
    background: #ccdefd;
}
td input{
    width: 290px !important;
}
#duration, #hours, #serialNumber, #category, #passingYear {
width: 100px !important;
}


/* badge design */
.start-80 {
    left: 80%;
    padding: 0.3rem 0.8rem !important;
}

/* btn desing */
/* .btn {
    padding: 0.2rem 1rem !important;
} */


/* Navbar */
.custom-sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000;
    background-color: #1047a7;
    transition: 0.3s;
}

.custom-sticky-nav {
    position: sticky;
    top: 41px;
    z-index: 1000;
    background-color: #1047a7;
    transition: 0.3s;
}

.navbar-toggler {
    border: var(--border-0);
    padding: var(--padding-0);
}

.fontsize-small {
    font-size: var(--fontsize-small);
}

.navbar-toggler.collapsed {
    box-shadow: none;
    border: var(--border-0);
    outline: none;
}

.custom-navbar-toggler-icon {
    font-size: var(--fontsize-2);
    color: var(--icon-color);
}

/* for language translater */
.form-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 25px;
}

.form-check-input {
    width: 0;
    height: 0;
    opacity: 0;
}

.toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1047a7;
    /* Bootstrap's 'danger' color */
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--icon-color);
    font-weight: bold;
}

.toggle-label::before,
.toggle-label::after {
    content: attr(data-off);
    position: absolute;
}

.toggle-label::before {
    content: attr(data-off);
    left: 10px;
    opacity: 1;
}

.toggle-label::after {
    content: attr(data-on);
    right: 10px;
    opacity: 0;
}

/* Toggle checked state */
.form-check-input:checked+.toggle-label {
    background-color: #e50a0a;
    /* Bootstrap's 'success' color */
}

.form-check-input:checked+.toggle-label::before {
    opacity: 0;
}

.form-check-input:checked+.toggle-label::after {
    opacity: 1;
}

/* for language translater */


/* carousel */
.custom-carousel img {
    height: calc(100vh - 256px);
    object-fit: cover;
}



/* carousel */

/* jobs */
.jobs img {
    height: 120px;
    object-fit: contain;

}

.custom-job-card img {
    height: 300px;
    object-fit: cover;
}

.new-jobs:hover {
    transform: scale(1.1);
    transition: 1s;
}

.jobs:hover {
    transform: translate3d(0, -10px, 0);
    transition: 1s;
}

/* jobs */

.nav-link.active {
    background-color: #e92315;
    /* Choose the active background color */
    color: #ffffff !important;
    /* Set the text color for the active state */
    border-radius: 5px;
    /* Optional: To give the active link rounded corners */
}

@media screen and (max-width: 992px) {
    .custom-carousel img {
        height: 100%;
    }

    .custom-search {
        width: 100% !important;
    }

    .custom-sticky-nav {
        position: sticky;
        top: 68px;
        z-index: 1000;
        background-color: #1047a7;
        transition: 0.3s;
    }
    .custom-order-1{
        order: 1;
    }
    .custom-order-2{
        order: 2;
    }




}

@media screen and (max-width: 768px) {
    .custom-sticky-nav {
        position: sticky;
        top: 68px;
        z-index: 1000;
        background-color: #1047a7;
        transition: 0.3s;
    }

    .custom-job-card img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover;
    }

}