/********** Template CSS **********/
:root {
    --primary: #b19046;
    --bs-primary: #b19046;
    --secondary: #a11d18;
    --bs-secondary: #a11d18;
    --light: #f8f9fa;
    --dark: #212529;
    --dark-gray: #525a63;
}

body {
    font-family: "Rubik", sans-serif;
}

a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    color: var(--secondary);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

span.e-input-group {
    height: 40px !important;
}

.sticky-top {
    z-index: 1000;
}

.field-validation-error {
    font-size: 12px;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px var(--dark-gray) solid;
    opacity: .25;
    width: 100%;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: all .1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    gap: 0.75rem;
}

.btn-lg {
    height: 48px;
    padding: 0 24px;
    font-size: 18px;
}

.btn-xlg {
    height: 64px;
    padding: 0 24px;
    font-size: 24px;
}

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn.btn-secondary {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--dark-gray);
}

.btn:hover.btn-primary {
    filter: brightness(1.1);
}

.btn:hover.btn-secondary {
    background-color: var(--light);
    color: var(--primary);
}

.btn-link {
    padding: 0;
    text-decoration: none;
    color: var(--primary);
}

.btn:hover.btn-link {
    color: var(--secondary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    padding: 14px;
}

.form-check {
    display: flex;
}

.checkbox-lg .form-check-input {
    position: relative;
    top: .8rem;
    scale: 1.4; 
}
html[dir="rtl"] .checkbox-lg .form-check-input { 
    margin-left: 1rem;
}
html[dir="ltr"] .checkbox-lg .form-check-input {
    margin-right: 1rem;
}
.checkbox-lg .form-check-label {
    padding-top: 13px;
}

.checkbox-xl .form-check-input {
    position: relative;
    top: 1.4rem;
    scale: 1.7;
    margin-right: 1.5rem;
}
.form-control {
    text-align: start;
    direction: ltr;
}
 
[dir="rtl"] .form-control {
    text-align: start;
    direction: rtl;
}
.checkbox-xl .form-check-label {
    padding-top: 19px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

html[dir="rtl"] .navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    vertical-align: middle;
    margin-right: 5px;
    /* Swap margin-left for margin-right */
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {

    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
html[dir="ltr"] .header-carousel .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}

/*html[dir="ltr"] .page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}*/
html[dir="rtl"] .header-carousel .container {
    position: relative;
    padding: 45px 35px 45px 0;
    border-right: 15px solid var(--primary);
}

.brand-image {
    width: auto;
    height: 64px;
}

.header-carousel .container::before,
.header-carousel .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary);
}

.header-carousel .container::after {
    top: 100%;
    margin-top: -15px;
}


html[dir="rtl"] .header-carousel .container::before {
    left: unset;
    right: 0;
}

html[dir="rtl"] .header-carousel .container::after {
    left: unset;
    right: 0;
}


html[dir="ltr"] .header-carousel .container::before {
    left: 0;
    right: unset
}

html[dir="ltr"] .header-carousel .container::after {
    left: 0;
    right: unset
}

html[dir="ltr"] .page-header .container::before {
    left: 0;
    right: unset
}

html[dir="rtl"] .header-carousel .owl-nav {
    right: unset !important;
    left: 8% !important;
}

html[dir="rtl"] .navbar-dark .navbar-nav .nav-link {
    margin-left: 15px !important;
}

html[dir="rtl"] .navbar-light .navbar-nav .nav-link {
    margin-left: 30px !important;
    margin-right: unset !important;
    padding: 25px 10px;
}

html[dir="rtl"] .fa-arrow-right {
    content: "\f060" !important;
    /* Unicode for left arrow in FontAwesome */
}

html[dir="rtl"] .fa-arrow-right .ms-3 {
    float: right !important;
    margin-top: 5px !important;
    margin-left: 1rem !important;
}

.display-3 {
    font-weight: 800px !important;
}

html[dir="rtl"] .header-carousel .container {
    padding: 35px 45px 45px 0 !important;
    position: relative;
    border-right: 15px solid var(--primary);
}

/*html[dir="rtl"] .page-header .container {
    position: relative; 
    border-right: 15px solid var(--primary);
    padding: 35px 45px 45px 0 !important;
}
*/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }

    .brand-image {
        height: 56px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    height: 180px !important;
    /* Adjust the size to make it smaller */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: center !important;
    /* Optional: Center any content inside */
}


.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Carousel ***/
.hero-section {
    position: relative;
    min-height: 800px;
    background: url(/jobportal/img/royal-family-photo.jpg);
    background-size: cover;
    background-position: top;
}

.grdbg {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    padding-top: 40px;
    background: linear-gradient(0deg, black, transparent);
}

.hero-actions {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 540px;
}

.hero-actions a {
    width: 100%;
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 600px;
    }

    .hero-actions {
        width: 100%;
        gap: 1rem;
    }

    .hero-actions a {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 200px);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .hero-actions a {
        width: 100%;
    }
    .grdbg {
        height: 440px;
    }
}


/*** About ***/


.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    border: 2px solid rgba(0, 0, 0, .05);
    transition: .2s;
}

.cat-item:hover {
    box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, .1);
    border: 2px solid rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

html[dir="rtl"] .owl-item {
    direction: rtl !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

.profile-card {
    background: white;
    padding: 24px;
    margin-bottom: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

.nav-item.active .btn {
    background: var(--dark-gray);
    color: white;
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

html[dir="ltr"] .footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;

}

html[dir="ltr"] .footer .btn.btn-link::before {
    margin-right: 10px !important;
}

html[dir="rtl"] .footer .btn.btn-link::before {
    float: right !important;
    margin-left: 10px !important;
}

.footer .btn:hover.btn-link {
    color: white !important;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Styles for rtl */
html[dir="rtl"] .owl-carousel {
    /* Styles when the direction is right-to-left */
    direction: ltr !important;
}

html[dir="rtl"] .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    direction: ltr !important;
}

html[dir="rtl"] .footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.pg_title {
    color: var(--dark);
    font-weight: 700;
    text-align: left;
    font-size: 3rem;
}

.form-card {
    overflow: unset !important;
    border: unset !important;
}

.control-label {
    font-size: 14px;
    color: #333333;
    margin-bottom: 4px;
}

/* TALENT LIST */
.candidate-img,
.job-img {
    object-fit: cover;
}


/*** Syncfusion Style Overrides ***/

.e-grid {
    border: none;
    font-family: "Rubik", sans-serif;
}

.e-grid .e-toolbar {
    border: none;
    background: transparent;
}

.e-grid .e-gridheader {
    border: none;
    background: transparent;
}

.e-toolbar .e-toolbar-items.e-tbar-pos {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
}

.e-toolbar .e-toolbar-items.e-tbar-pos {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
    margin-top: 16px;
    margin-bottom: 24px;
}

.e-toolbar .e-toolbar-items .e-toolbar-item:not(.e-separator) {
    padding: 0;
    width: 100%;
    margin: 0 !important;
}

.e-pager {
    border: none;
    background: transparent;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

span.e-input-group {
    height: auto !important;
}

/*** Pagination ***/
.e-grid .e-gridpager .e-prevpagedisabled,
.e-grid .e-gridpager .e-prevpage,
.e-grid .e-gridpager .e-nextpage,
.e-grid .e-gridpager .e-nextpagedisabled,
.e-grid .e-gridpager .e-lastpagedisabled,
.e-grid .e-gridpager .e-lastpage,
.e-grid .e-gridpager .e-firstpage,
.e-grid .e-gridpager .e-firstpagedisabled {
    background-color: white;
    color: var(--primary);
}

.e-grid .e-gridpager .e-numericitem {
    border-radius: initial;
    background-color: white;
    color: var(--primary);
}

/*** Dropdown ***/
.e-dropdownbase .e-list-item.e-item-focus,
.e-dropdownbase .e-list-item.e-active,
.e-dropdownbase .e-list-item.e-active.e-hover,
.e-dropdownbase .e-list-item.e-hover {
    background-color: var(--primary);
    color: white;
}

.e-grid .e-gridpager .e-currentitem {
    background-color: var(--primary);
    color: white;
}

.job-item {
    display: block;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, .1);
    transition: .2s;
    border-radius: 0.5rem;
}

.job-item:hover {
    box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, .1);
    border: 1px solid var(--primary);
}

.job-item .apply-btn {
    opacity: 1;
    transition: .2s;
}

.e-grid .e-toolbar-items .e-toolbar-item.e-search-wrapper .e-search {
    width: 100%;
    padding: 6px 4px;
}

@media (min-width: 768px) {
    .e-grid .e-toolbar-items .e-toolbar-item.e-search-wrapper .e-search {
        width: 300px;
    }

    .e-toolbar .e-toolbar-items .e-toolbar-item:not(.e-separator) {
        padding: 0;
        width: auto;
    }
}

@media (min-width: 992px) {
    .job-item .apply-btn {
        opacity: 0;
    }

    .job-item:hover .apply-btn {
        opacity: 1;
    }
}

@media (min-width: 1400px) {
    .e-toolbar .e-toolbar-items.e-tbar-pos {
        max-width: 1320px;
    }

    .e-pager {
        max-width: 1320px;
    }
}


.industry-tag {
    cursor: pointer;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 20px;
    color: white;
    background-color: var(--primary);
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    transition: all 0.1s ease;
}
.industry-tag:hover {
    filter: brightness(1.2);
}
.industry-tag.active {
    background-color: var(--dark);
}

.category-tag {
    cursor: pointer;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 20px;
    color: white;
    background-color: var(--primary);
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    transition: all 0.1s ease;
}

    .category-tag:hover {
        filter: brightness(1.2);
    }

    .category-tag.active {
        background-color: var(--dark);
    }
/* General responsive styles for the navbar */
@media (max-width: 768px) {
    .nav-pills {
        flex-direction: column
    }
    .navbar {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        padding: 10px !important;
    }

    .navbar-collapse {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .navbar-brand {
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    .nav-item.dropdown .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .bi-bell {
        font-size: 1.2rem !important;
    }

    .badge {
        font-size: 0.6rem !important;
        padding: 3px 5px !important;
        top: 0 !important;
        right: 0 !important;
    }

    .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        text-align: left !important;
        gap: 10px !important;
    }

    .nav-item {
        width: 100% !important;
        text-align: left !important;
    }

    .custom-dropdown .dropdown-menu {
        width: 100% !important;
        text-align: left !important;
    }

    .custom-dropdown .dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .brand-image {
        max-width: 150px !important;
        height: auto !important;
    }

    .header-main {
        gap: 1rem;
        flex-direction: column;
    }

    .header-left {
        width: 100%
    }

    .header-right {
        flex-direction: column;
    }

    .header-button {
        width: 100%
    }
 
}

@media (max-width: 480px) {
 
    .navbar {
        padding: 5px !important;
    }

    .nav-item {
        text-align: center !important;
    }

    .dropdown-content {
        text-align: center !important;
    }

    .header-left {
        width: 100%
    }

    .header-right {
        flex-direction: column;
    }

    .header-button {
        width: 100%
    }
}


.header-main {
    display: flex;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
 
.accordion-button {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    border: none !important; /* To remove the border */
}
 
    .accordion-button:focus {
        box-shadow: none !important;  
        outline: none !important;  
    }
