:root {
    --primary: #ee2e2e;
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size: 16px;
    --line-height: 1.6;
}
body {
    background-color: white;
    font-family: var(--font-family);
    font-size: var(--font-size) !important;
    line-height: var(--line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.btn, .form-control, .form-select, input, textarea, select {
    font-family: var(--font-family);
}

.navbar-brand, .nav-link {
    font-family: var(--font-heading);
}

/* Back to Top CSS */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 5px;
    text-align: center;
    line-height: 45px;
    font-size: 22px;
    z-index: 999;
    transition: background-color 0.3s ease;
}
.back-to-top:hover {
    background-color: rgb(235, 56, 56);
}

/* Job Opening Pages Header CSS */
.custom-navbar {
    box-shadow: 0 0.1rem .1rem rgba(0, 0, 0, 0.1) !important;
}
.navbar-light.sticky-top {
    top: 0;
    z-index: 1030;
}
.custom-navbar .navbar-brand-logo {
    height: auto;
}
.navbar-brand-logo img {
    width: 250px;
    height: auto;
}
.navbar-nav .nav-item .dropdown-menu {
    font-size: 17px;
    font-weight: 700;
    margin-top: 4px !important;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 6px;
    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;
    font-weight: 500;
    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-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-search-toggle {
    background-color: transparent;
    border: none;
    color: var(--dark);
    font-size: 1.1rem;
    padding: 6px 10px;
    transition: background 0.6s ease;
}
.header-search-toggle:hover {
    color: var(--primary);
}
.header-search-form {
    display: flex;
    align-items: center;
    position: relative;
}
.header-search-form input {
    padding: 6px 35px 6px 10px;
    border-radius: 0;
    border: 1px solid #ccc;
    transition: all 0.6s ease;
    width: 200px;
}
.header-search-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1rem;
    cursor: pointer;
    position: absolute;
    right: 5px;
}
.header-search-close:hover {
    color: #000;
}
.get-in-touch-btn {
    background-color: var(--primary);
    border: none;
    padding: 10px 16px;
    border-radius: 0;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.6s ease;
    height: 43px !important;
}
.get-in-touch-btn:hover {
    background-color: var(--dark);
    color: #fff;
}

/* Get In Touch Modal CSS */
.get-in-touch-modal {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 100000;
    max-width: 100vw;
    height: 100vh;
    width: 480px;
    left: auto;
    bottom: 0;
    background-color: #f7f7f7;
    overflow: auto;
    z-index: 100000;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
}
.get-in-touch-modal.show {
    transform: translateX(0);
    pointer-events: auto;
}
.get-in-touch-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    overflow-y: auto;
}
.get-in-touch-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 25px 40px;
    border-bottom: solid 1px rgba(151, 151, 151, 0.3);
    font-size: 21px;
    margin-bottom: 30px;
}
.get-in-touch-content .modal-header h3 {
    color: #3d3d3d;
    font-weight: 700;
    font-size: 21px;
    line-height: 26px;
}
.get-in-touch-close {
    background: none;
    border: none;
    font-size: 24px;
    align-self: flex-end;
    cursor: pointer;
}
.get-in-touch-content .modal-description {
    position: relative;
    margin: 0;
    padding: 0 40px;
    color: #000;
    font-size: 17px;
}
.modal-contacts {
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 40px;
}
.modal-contacts div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-contacts .contact {
    background-color: #f3d6d8;
    color: var(--primary);
    line-height: 30px;
    margin-bottom: 10px;
    border-radius: 3px;
    padding: 3px 7px;
    transition: color 0.7s ease;
}
.modal-contacts i {
    font-size: 14px;
}
.modal-contacts a {
    color: var(--primary);
}
.modal-contacts p {
    margin: 0;
    font-size: 14px;
    color: var(--primary);
}
.modal-contacts .contact:hover {
    background-color: #e6c1c3;
    color: #d62828;
}
.modal-contacts .contact:hover a {
    color: var(--light);
}
.get-in-touch-content .modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 30px 40px;
    border-radius: 3px;
}
.get-in-touch-content .modal-form .form-control {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
}
.get-in-touch-content input,
.get-in-touch-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.get-in-touch-content .modal-form button[type="submit"] {
    padding: 10px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.4s ease;
}
.get-in-touch-content .modal-form button[type="submit"]:hover {
    background-color: var(--dark);
}
.modal-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}  
.modal-socials a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    color: #333;
    transition: 0.3s ease;
}
.modal-socials a:hover {
    background: #333;
    color: #fff;
}
  
/* Page Header CSS */
.single-page-wrapper {
    background-color: #f8f9fa;
}
.single-page-header {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-header-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.single-page-wrapper .section-heading {
    font-size: 35px;
    font-weight: 600;
    z-index: 1;
    position: relative;
    margin-bottom: 15px;
}
.single-page-wrapper .breadcrumbs {
    z-index: 1;
    position: relative;
}
.single-page-wrapper .breadcrumbs a {
    color: var(--primary);
}
.single-page-wrapper .breadcrumbs .fa-angle-right {
    margin: 0 8px;
    color: #ccc;
}
.single-page-wrapper .current-item {
    color: #ddd;
}

/* --- Modern Job Card Styles --- */
.listing-cards .job-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin-bottom: 2rem;
    border: none;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}
.listing-cards .job-item:hover {
    box-shadow: 0 8px 32px rgba(44,62,80,0.16);
    transform: translateY(-4px) scale(1.01);
}
.listing-cards .job-item img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    background: #f8f9fa;
}
.listing-cards .job-item .job-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.3rem;
}
.listing-cards .job-item .job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.2rem;
}
.listing-cards .job-item .job-company {
    font-size: 1.05rem;
    color: #888;
    font-weight: 500;
}
.listing-cards .job-item .job-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}
.listing-cards .job-item .badge {
    border-radius: 999px;
    background: #f3f3f3;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35em 1em;
    border: none;
    letter-spacing: 0.01em;
}
.listing-cards .job-item .badge.type {
    background: var(--primary);
    color: #fff;
}
.listing-cards .job-item .badge.salary {
    background: #e3f7e7;
    color: #198754;
}
.listing-cards .job-item .badge.location {
    background: #e7eaf7;
    color: #2B9BFF;
}
.listing-cards .job-item .apply-btn {
    background-color: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 28px;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    margin-left: auto;
}
.listing-cards .job-item .apply-btn:hover {
    background-color: #dc3545;
    color: #fff;
    box-shadow: 0 4px 16px rgba(220,53,69,0.10);
}

/* --- Modern Filter Bar --- */
.job-filter-section {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 16px rgba(44,62,80,0.07);
    border-radius: 1.5rem;
    backdrop-filter: blur(6px);
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.job-filter-section .form-control,
.job-filter-section .form-select,
.job-filter-section .job-filter {
    border-radius: 999px !important;
    padding: .75rem 1.2rem !important;
    font-size: 1.1rem;
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    transition: border 0.2s, box-shadow 0.2s;
}
.job-filter-section .form-control:focus, 
.job-filter-section .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(238,46,46,0.08);
}
.job-filter-section .filter-button, .job-filter-section .clear-filter-button {
    border-radius: 999px !important;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}

/* --- Modern Tabs --- */
.tab-class .nav-link {
    border-radius: 999px !important;
    font-weight: 600;
    color: var(--primary);
    background: #f8f9fa;
    margin: 0 0.25rem;
    padding: 0.7rem 2.2rem;
    transition: background 0.2s, color 0.2s;
}
.tab-class .nav-link.active, .tab-class .nav-link:focus {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(238,46,46,0.10);
}
.tab-class .nav-link:hover {
    background: #ffeaea;
    color: var(--primary);
}
.tab-class ul {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* --- Modern More Jobs Button --- */
.more-jobs {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--primary);
    border-radius: 999px;
    padding: 12px 36px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.more-jobs:hover {
    background-color: #dc3545;
    color: #fff;
    box-shadow: 0 4px 16px rgba(220,53,69,0.10);
}

/* Override for Bootstrap's default focus styles */
.btn:focus,
.btn:active,
.btn:focus-visible,
.btn.active,
button:focus,
button:active,
button:focus-visible,
button.active,
input[type="button"]:focus,
input[type="button"]:active,
input[type="submit"]:focus,
input[type="submit"]:active  {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}
.form-control:focus {
    box-shadow: none;
    outline: none;
    border-color: #6c757d !important;
}
input:focus, 
textarea:focus, 
select:focus {
    outline: none !important;
    box-shadow: none !important;
}
.form-floating>.form-control-plaintext~label::after, 
.form-floating>.form-control:focus~label::after, 
.form-floating>.form-control:not(:placeholder-shown)~label::after, 
.form-floating>.form-select~label::after {
    background-color: transparent;
}

/* Job Details Page CSS */
.job-details-apply-btn {
    background-color: var(--primary);
    color: var(--light);
    border-radius: 0;
    border: 0;
    padding: 10px 35px;
    font-size: 17px;
    transition: ease all 0.3ms;
}
.job-details-apply-btn:hover {
    background-color: var(--dark);
    color: var(--light);
}
.auth-popup .modal-content {
    background-color: #fff;
    border-radius: 0;
    border: none;
}
.auth-popup .modal-header .btn-close {
    margin-right: 20px;
    font-size: 17px;
}
.auth-popup .modal-header {
    background-color: var(--dark);
    border-radius: 0;
    padding: 10px;
}
.auth-popup .modal-title {
    font-size: 1.23rem;
    color: white;
    padding: 1.1rem 1.7rem;
}
.auth-popup .modal-body p {
    color: var(--dark);
    font-size: 1rem;
}
.auth-popup .btn.login {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 0;
    transition: background-color 0.3s ease-in-out;
}
.auth-popup .btn.login:hover {
    background-color: #d62828;
}
.auth-popup .btn.create {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 0;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}
.auth-popup .btn.create:hover {
    background-color: var(--primary);
    color: white;
}
.social-share {
    display: flex;
    gap: 15px;
}
.social-share .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    width: 45px;
    transition: width 0.3s ease;
    padding: 10px;
    border-radius: 30px;
    padding-left: 15px;
    background-color: white;
}
.social-share .social-btn i {
    color: #000;
}
.social-share .social-btn span {
    margin-left: 6px;
    color: #000;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.3s ease;
}
.social-share .social-btn:hover {
    width: 90px;
    justify-content: flex-start;
    padding-left: 12px;
}
.social-share .social-btn:hover span {
    opacity: 1;
    width: auto;
}
.job-details-card {
    background-color: #f7f7f7;
}

/* Create an Account Page CSS */
.registration-form-control:focus, 
.registration-form-control:focus-visible, 
select:focus, 
textarea:focus {
    outline: none;
    box-shadow: none;
    border-color: inherit;
}
.registration-heading {
    color: var(--dark);
}
.registration-card {
    border: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.registration-form-control {
    border: 1px solid #6c757d !important;
}
.form-floating label {
    color: #6c757d;
}
.registration-submit-btn {
    background-color: var(--primary);
    color: var(--light);
    padding: 11px 30px;
    font-size: 18px;
}
.registration-submit-btn:hover {
    background-color: #d62828;
    color: var(--light);
}
.registration-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.registration-link:hover {
    text-decoration: underline;
    color: var(--dark)
}
.success-modal-header {
    background-color: var(--dark);
    color: var(--light);
    border: 0;
    padding: 1rem 1.5rem;
}
.success-icon-container {
    background-color: rgba(238, 46, 46, 0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.success-icon {
    font-size: 3rem;
    color: var(--primary);
}
.success-heading {
    font-weight: bold;
    color: var(--dark);
}
.success-btn {
    background-color: var(--primary);
    color: var(--light);
    padding: 0.75rem 1.5rem;
}
.success-btn:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Recruitment Request Form Page CSS */
.recruitment-header {
    padding: 2.5rem 0;
}
.recruitment-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.recruitment-subtitle {
    color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-weight: 400;
}
.recruitment-form-container {
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: none;
}
.recruitment-section-title {
    color: #2B3940;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.recruitment-form-label {
    font-weight: 500;
    color: #2B3940;
    margin-bottom: 0.5rem;
}
.recruitment-form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}
.recruitment-form-control::placeholder {
    color: #adb5bd;
}
.recruitment-textarea {
    min-height: 120px;
}
.recruitment-file-input {
    padding: 0.75rem;
    background-color: transparent !important;
}
.recruitment-submit-btn {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 0.75rem 2.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.recruitment-submit-btn:hover {
    background-color: #d62828;
    color: var(--light);
}
.recruitment-form-icon {
    color: #ee2e2e;
    margin-right: 0.5rem;
}
.recruitment-form-group {
    margin-bottom: 1.5rem;
}





/* --- Card Animation --- */
@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.listing-cards .job-item {
    animation: fadeInUpCard 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* RESPONSIVE CSS */
@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;
    }
}
@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;
    }
}


