*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* --color-black: rgba(0, 0, 0, 1);
  --color-white: rgba(255, 255, 255, 1);

  --app-color: rgba(4, 6, 34, 1);
  --app-bg-color: rgba(240, 240, 240, 1);
  --app-footer-bg-color: rgba(227, 227, 227, 1);

  --app-btn-color: rgba(23, 73, 154, 1);

  --text-color: rgba(17, 24, 39, 1);
  --text-color-light: rgba(75, 85, 99, 1);
  --text-color-lighter: rgba(107, 114, 128, 1); */

    --color-black: 0, 0, 0;
    --color-white: 255, 255, 255;
    --app-color: 4, 6, 34;
    --app-bg-color: 248, 248, 248;
    --app-footer-bg-color: 227, 227, 227;
    --app-btn-color: 23, 73, 154;
    --text-color: 17, 24, 39;
    --text-color-light: 75, 85, 99;
    --text-color-lighter: 107, 114, 128;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background-color: rgba(var(--app-bg-color), 1);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ol, ul {
    margin: 0 !important;
    padding: 0 !important;
}

input::placeholder,
textarea::placeholder {
    font-size: 14px !important;
}

.bg-navy-blue {
    background-color: rgba(var(--app-color), 1) !important;
}

.bg-blue {
    background-color: rgba(var(--app-btn-color), 1);
}

.text-blue {
    color: rgba(var(--app-btn-color), 1);
}

.app-btn {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--app-btn-color), 1);
    transition: all 0.3s ease-in;
}

    .app-btn:hover {
        color: rgba(var(--color-white), 1);
        background-color: rgba(var(--app-btn-color), 0.9);
    }

.app-btn-outline {
    color: rgba(var(--app-btn-color), 1);
    background-color: rgba(var(--color-white), 0);
    border: 1px solid rgba(var(--app-btn-color), 1);
    transition: all 0.3s ease-in;
}

    .app-btn-outline:hover {
        color: rgba(var(--color-white), 1);
        background-color: rgba(var(--app-btn-color), 1);
        border: 1px solid rgba(var(--app-btn-color), 1) !important;
    }


.rounded-full {
    border-radius: 69px;
}

.app-header {
    width: 100%;
}

.app-content {
    position: relative;
    flex-grow: 1;
    width: 100%;
    min-height: 100vh;
}

.app-footer {
    position: relative;
    margin-top: auto;
    width: 100%;
    background-color: rgba(var(--app-footer-bg-color), 1);
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(var(--text-color), 1);
/*    text-decoration: underline;*/
}

.footer-subheading {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(var(--text-color), 1);
}

.footer-link,
.footer-text {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(var(--text-color-light), 1);
    transition: transform 0.3s ease;
}

    .footer-link:hover {
        font-weight: 500;
        transform: scale(1.01);
    }

    .footer-link:not(:last-child),
    .footer-text:not(:last-child) {
        margin-bottom: 0.25rem;
    }

.copyright-text {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(var(--text-color-light), 1);
}

#goTopBtn {
    display: none;
    z-index: 1000;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 44px;
    right: 24px;
    width: 48px;
    height: 48px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(var(--app-btn-color), 1);
    color: rgba(var(--color-white), 1);
    cursor: pointer;
}

.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 104px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(var(--app-bg-color), 1);
    overflow: hidden;
}

.carousel-item.custom img {
    width: 100%;
    height: calc(100vh - 104px);
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(0,0,0,0.1);
}

.hero-text {
    color: rgba(var(--color-white), 1);
    line-height: 1;
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 76px);
    font-weight: 700;
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(0.625rem, 3vw, 24px);
    line-height: 1;
}

.search-container {
    margin-top: auto;
    width: 80%;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

    .hero-slider:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 15%;
        /* background-color: rgba(var(--app-bg-color), 1); */
/*        background-image: linear-gradient( to bottom, rgba(var(--app-color), 1) 0%, rgba(var(--app-color), 0) 100% );*/
        z-index: 5;
    }

    .hero-slider:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 15%;
        /* background-color: rgba(var(--app-bg-color), 1); */
/*        background-image: linear-gradient( to top, rgba(var(--app-bg-color), 1) 0%, rgba(var(--app-bg-color), 0) 100% );*/
        z-index: 5;
    }

.searchbar {
    position: relative;
}

    .searchbar .icon {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
    }

    .searchbar .form-control {
        padding-left: 44px;
        padding-right: 108px;
        height: 48px;
    }

    .searchbar .btn {
        position: absolute;
        top: 50%;
        right: 6px;
        transform: translateY(-50%);
    }

.custom-card {
    --customr-card-padding: 0;
    --customr-card-bg-color: rgba(var(--color-white), 1);
    --customr-card-border-radius: 1rem;
    --customr-card-box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: relative;
    width: 100%;
    padding: var(--customr-card-padding);
    background-color: var(--customr-card-bg-color);
    border-radius: var(--customr-card-border-radius);
    box-shadow: var(--customr-card-box-shadow);
}

.custom-card-image {
    width: 100%;
    height: auto;
}

.custom-card-body {
    --customr-card-body-padding: 1rem;
    padding: var(--customr-card-body-padding);
    color: rgba(var(--text-color), 1);
}

.custom-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(var(--text-color), 1);
}

.job-card {
    --job-card-bg-color: rgba(var(--color-white), 1);
    position: relative;
    width: 100%;
    padding: 1rem;
    background-color: var(--job-card-bg-color);
    border-radius: 0.5rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.job-card-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}

.job-department {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(var(--text-color-light), 1);
}

.job-location,
.job-posted-date {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(var(--text-color-lighter), 1);
}

.question-card {
    --qc-border-width: 2px;
    --qc-border-radius: 0.5rem;
    --qc-border-color: rgba(235, 230, 230, 1);
    --qc-border-style: solid;
    --qc-border-padding: 1rem;
    border: var(--qc-border-width, 1px) var(--qc-border-style, solid) var(--qc-border-color, rgba(var(--text-color-light), 0.1));
    border-radius: var(--qc-border-radius, 0.5rem);
    padding: var(--qc-border-padding, 1rem);
}

.job-hero-section {
    width: 100%;
    min-height: 20vh;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: .75rem;
    color: #ffffff;
    background: linear-gradient(20deg, #3a47d5 0%, #3a47d5 30%, #00d2ff 100%)
}

.job-data-icons {
    font-size: 15px;
    font-weight: 400;
    color: rgba(var(--color-white), 0.8);
    display: flex;
    align-items: center;
    gap: .25rem;
}

.job-introduction {
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
}

.details-section-wrapper{
    padding: 0 1rem;
    position: relative;
    top: -30px;
}

.details-section {
    padding: 2rem 1.25rem;
    border-radius: .75rem;
    background-color: rgba(var(--color-white), 1);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.ql-editor {
    padding: 0 !important;
}

.social-link {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    color: rgba(var(--text-color-light), 1);
    border: 1px solid rgba(var(--text-color-light), 1);
    transition: transform 0.3s ease;
}

    .social-link:hover {
        transform: scale(1.1);
    }

/* Extra small devices (portrait phones, <576px) */
@media (max-width: 575.98px) {
    .hero-section {
        height: 360px;
    }

    .carousel-item.custom img {
        width: 100%;
        height: 360px;
    }
}

/* Small devices (landscape phones, ≥576px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        height: 420px;
    }

    .carousel-item.custom img {
        width: 100%;
        height: 420px;
    }
}

/* Medium devices (tablets, ≥768px) */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* Large devices (desktops, ≥992px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* Extra large devices (large desktops, ≥1200px) */
@media (min-width: 1200px) {
}


/* Loader container */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff; /* background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide loader after page load */
body.loaded #loader {
    display: none;
}