/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}

body {*/
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;*/
  /* Set the fixed height of the footer here */
  /*height: 60px;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/

body {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    line-height: 1.5;
    color: #5f5f5f;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: solid gray 5px;
    font-size: 13px;
    color: #1c1d3e;
    background: #fafaff;
    border: 1px solid transparent;
    box-shadow: revert-layer;
}

.lables {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

.option:hover {
    background-color: ButtonHighlight;
}

section {
    padding: 40px 0;
}

.custom-mt-10 {
    margin-top: -42px;
}

.z-index-1 {
    z-index: 1;
    position: relative;
}

.o-hidden {
    overflow: hidden;
}

.p-0 {
    padding: 0 !important;
}

.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}

.img-center {
    display: inline-block !important;
    max-width: 100%;
}

img {
    vertical-align: middle;
    border-style: none;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

/* اللغة العربية */
html[lang="ar"] .form-check {
    direction: rtl; /* يخلي كل شيء من اليمين لليسار */
    text-align: right;
}

html[lang="ar"] .form-check-label {
    margin-right: 1rem; /* مسافة صغيرة بعد التشيك بوكس */
    margin-left: 0;
}

/* اللغة الإنجليزية */
html[lang="en"] .form-check {
    direction: ltr; /* يخلي كل شيء من اليسار لليمين */
    text-align: left;
}

html[lang="en"] .form-check-label {
    margin-left: 1rem; /* مسافة صغيرة بعد التشيك بوكس */
    margin-right: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

@@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#display {
    background-position: center;
    background-size: cover;
    border: 2px solid black;
    width: 190px;
    height: 100px;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 20px !important;
    display: flex;
    margin-left: 12px;
}

.text-primary {
    color: #f48900 !important;
}

/* -------------------------------------------------------- */
/* CSS for Show More/Less Functionality */
/* -------------------------------------------------------- */
/* Initially hide the full portion of the description */
.description-full {
    display: none;
    /* Ensure no extra margin is applied to the revealed text */
    margin-top: 0;
    padding-top: 0;
}

/* Style the 'Show More' link to look clickable and distinct */
.js-toggle-description {
    display: inline-block;
    color: #00c7a9; /* Bootstrap primary color for links */
    cursor: pointer;
    text-decoration: underline;
    font-weight: 400;
    margin-top: 2px; /* Add a little space above the link */
    transition: color 0.2s ease;
}

    .js-toggle-description:hover,
    .js-toggle-description:focus {
        color: #00c7a8;
        font-weight: 500;
        text-decoration: underline;
    }

    .js-toggle-description.is-toggled {
        color: #f48900; /* 'Show Less' color */
        font-weight: 400;
    }
/* -------------------------------------------------------- */
/* Expanded State: Toggled by JavaScript */
/* -------------------------------------------------------- */

/* When the parent container has the 'expanded' class: */

/* 1. Hide the short preview text */
.card-description-container.expanded .description-preview {
    display: none;
}

/* 2. Show the full text */
.card-description-container.expanded .description-full {
    display: block;
}

.description-scroll-box {
    max-height: 400px;
    /* Enable vertical scrolling only when content overflows the max-height */
    overflow-y: auto;
    /* Add some padding for aesthetics */
    padding-right: 10px; /* To prevent text from touching the scrollbar */
    margin-bottom: 10px; /* Space between description and button */
}

.navbar-nav .nav-item .nav-link.actived {
    color: #109f99 !important;
}

/* ======================================================== */
/* Enhanced Header & Navigation Design                      */
/* ======================================================== */
#header-wrap {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

.navbar-nav .nav-link {
    font-size: 15px;
    transition: color 0.25s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #109f99 !important;
}

.navbar-nav .nav-link.actived {
    color: #109f99 !important;
    font-weight: 700 !important;
}

/* Language Switcher Styling */
.lang-switcher-wrap {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 3px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 16px;
    text-decoration: none !important;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #0f172a;
}

.lang-btn.active {
    background-color: #ffffff;
    color: #109f99;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lang-btn img {
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Social Share Buttons Styling */
.share-buttons-wrapper {
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
    outline: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.14);
}

.share-facebook:hover { background-color: #1877f2; color: #ffffff !important; border-color: #1877f2; }
.share-x:hover { background-color: #000000; color: #ffffff !important; border-color: #000000; }
.share-linkedin:hover { background-color: #0a66c2; color: #ffffff !important; border-color: #0a66c2; }
.share-whatsapp:hover { background-color: #25d366; color: #ffffff !important; border-color: #25d366; }
.share-telegram:hover { background-color: #229ed9; color: #ffffff !important; border-color: #229ed9; }
.share-copy:hover { background-color: #109f99; color: #ffffff !important; border-color: #109f99; }

/* Related Jobs Item Styling */
.related-job-item {
    transition: transform 0.2s ease;
}

.related-job-item a {
    transition: color 0.2s ease;
}

.related-job-item a:hover {
    color: #109f99 !important;
    text-decoration: underline !important;
}

/*موبايل*/
@media (max-width: 991.98px) {
    .container-fluid {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        margin-right: auto;
        margin-left: auto;
    }
}

/* Arabic: letters are joined, so letter-spacing breaks the words apart,
   and Montserrat (used by the template navbar) has no Arabic glyphs.
   Make the navbar use the same font as the rest of the page. */
html[lang="ar"] body * {
    letter-spacing: normal !important;
}

html[lang="ar"] .navbar a,
html[lang="ar"] .navbar ul.navbar-nav > li > a:not(.navbar-btn) {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
}
