/* dropdown-submenu positioning for Bootstrap 5 */
/* NewNewsection */

.vaccancy-section .container .vaccancy-card .sample-section .sample-right img {
  height: 33px !important;
}

.section-head {
  font-size: 2.2rem;
}

.card-head {
  font-size: 1.2rem !;
  font-weight: 500;
  line-height: 30px;
  margin: 0;
}

.banner.inner-banner.job-banner {
  background-color: rgba(0, 0, 0, 0.5);
}

.head-with-banner .banner::before {
  background-color: rgba(0, 0, 0, 0.5);
}

.pagination .page-btn {
  /* padding: 6px 14px; */
  padding: 6px 9px;
  border: 1px solid #ddd;
  /* margin: 0 4px; */
  margin: 0 2px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
}

.pagination .page-btn.active {
  background: #9f5255;
  color: white;
  border-color: #9f5255;
}

.pagination .page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination .page-dots {
  /* padding: 6px 10px; */
  padding: 6px 7px;
  color: #777;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

/* small visual tweaks */
.card-row.myjobs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.job-card {
  width: 100%;
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .job-card {
    width: 48%;
  }
}

@media (min-width: 1200px) {
  .job-card {
    width: 31%;
  }
}

.pagination .page-btn {
  /* padding: 8px 15px; */
  padding: 6px 7px;
  border: 1px solid #ddd;
  /* margin: 0 5px; */
  margin: 0 2px;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
}

.pagination .active {
  background: #9f5255;
  color: #fff;
  border-color: #9f5255;
}

/* Positioning for submenus */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

/* Optional: show submenu on hover for desktop */
@media (min-width: 992px) {
  .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }
}

/* pagination for joblist */

footer .container-fluid .candidate-list .footer-list .list-item {
  font-size: 16px !important;
}

.related-jobs {
  padding-right: 15px !important;
  padding-left: 15px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  font-size: 18px !important;
}

.head-with-banner .banner .banner-content .banner-text h1 {
  font-size: 50px;
}

/* new style changes responsive */

@media (max-width: 1220px) {

  .head-with-banner .banner .banner-content .banner-text h1,
  .head-with-banner .banner .banner-content .banner-text .h1 {
    font-size: 40px;
  }
}

@media (max-width: 1220px) {

  .head-with-banner .banner .banner-content .banner-text h2,
  .head-with-banner .banner .banner-content .banner-text .h2 {
    font-size: 35px;
  }
}

.head-with-banner .banner .banner-content .banner-text p {
  margin-bottom: 30px;
}

@media (max-width: 756px) {
  .custom-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .job-card .card-left {
    justify-content: start !important;
    padding-inline: 30px;
  }

  .job-card .card-right .right-bottom {
    align-items: start !important;
    gap: 10px;
  }

  .job-card .card-right .right-bottom .loc-container {
    display: flex;
    flex-direction: column !important;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .job-card .card-right .right-bottom .loc-container .img-text {
    justify-content: start !important;
    text-align: start !important;
  }
}

@media (max-width: 376px) {
  .job-card .card-right .right-bottom .loc-container .img-text {
    flex-direction: row !important;
    text-align: start;
  }
}

@media (max-width: 450px) {
  .dream-career .career-right .career-form {
    width: 90%;
  }
}

@media (max-width: 460px) {
  .custom-container.banner-content {
    bottom: 40px !important;
  }

  .custom-container.banner-content .banner-text h1 {
    font-size: 35px !important;
  }

  .custom-container.banner-content .banner-text h2 {
    font-size: 30px !important;
  }
}

/* hello */
/* cv test */
@media (max-width: 576px) {
  .head-with-banner .faq-banner .resume-banner {
    bottom: 70px !important;
  }
}

/* categroy listing block */

.job-location-section {
  background: #f7f7f7;
  padding: 50px 0;
  text-align: center;
  font-family: Arial, sans-serif;
}

.job-location-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1f2d4d;
}

.job-location-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* Center aligned rows */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 160px));
  gap: 20px;
  justify-content: center;
  margin-bottom: 25px;
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px 15px;
  text-decoration: none;
  color: #1f2d4d;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid #e0e0e0;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.flag {
  width: 40px;
  height: 25px;
  margin-bottom: 10px;
  background-size: cover;
  border-radius: 4px;
}

/* Flags */
.flag-ae {
  background-image: url("https://flagcdn.com/w40/ae.png");
}

.flag-qa {
  background-image: url("https://flagcdn.com/w40/qa.png");
}

.flag-sa {
  background-image: url("https://flagcdn.com/w40/sa.png");
}

.location-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.job-count {
  font-size: 14px;
  color: #888;
}

.city-card {
  background: #f0f8ff;
}

.category-pills.combined {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Force next line */
.category-pills .line-break {
  flex-basis: 100%;
  height: 0;
}

/* Optional styling difference */
.category-pill.country {
  font-weight: 600;
}

.category-pill.city {
  opacity: 0.85;
}

.job-category-section {
  text-align: center;
}

.job-category-section .category-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.job-category-section .category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.job-category-section .category-pill.more {
  font-weight: 600;
}

.job-category-section {
  padding-top: 70px;
  padding-bottom: 70px;

  background: #ffffffff;
}

.job-category-section h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2937;
}

.job-category-section p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #4b5563;
}

.category-pills {
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  display: flex;
  gap: 12px;
  background: #ffffff;
  /* border: 1.5px solid #ddd; */
  border-radius: 12px;
  padding: 20px;
}

.category-pill {
  padding: 8px 16px;
  /* border: 1px solid #d1d5db; */
  border-radius: 25px;
  font-size: 14px;
  color: #1f3a8a;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
}

.category-pill:hover {
  background: #e5e7eb;
  border-color: #1f3a8a;
}

.category-pill.more {
  border-color: #2563eb;
  color: #2563eb;
  font-weight: 500;
}

/* location style */

.job-location-section {
  text-align: center;
}

.job-location-section .category-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.job-location-section .category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.job-location-section .category-pill.more {
  font-weight: 600;
}

.job-location-section {
  padding-top: 70px;
  padding-bottom: 70px;

  background: #ffffffff;
}

.job-location-section h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2937;
}

.job-location-section p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #4b5563;
}

.category-pills {
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  display: flex;
  gap: 12px;
  background: #ffffff;
  /* border: 1.5px solid #ddd; */
  border-radius: 12px;
  padding: 20px;
}

.category-pill {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 25px;
  font-size: 14px;
  color: #1f3a8a;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
}

.category-pill:hover {
  background: #e5e7eb;
  border-color: #1f3a8a;
}

.category-pill.more {
  border-color: #2563eb;
  color: #2563eb;
  font-weight: 500;
}

/* Category based listing end */

/* 16-03-2026 */

/* Privacy Policy Page */

@media (max-width: 992px) {
  .banner-margin {
    margin-top: 0px !important;
  }

  .heading-text {
    top: 150px !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
  }

  .policy-listings {
    padding-top: 20px;
  }
}

@media (max-width: 576px) {
  .head-with-banner .faq-banner .job-content-banner {
    bottom: 40px !important;
  }
}

@media (max-width: 576px) {
  .head-with-banner .faq-banner .heading-text {
    bottom: 40px !important;
  }
}

/* Job Details Page */

@media (max-width: 992px) {
  .container-width {
    max-width: 100%;
  }

  .vaccancy-card,
  .related-jobs-section {
    max-width: 100%;
    margin: 0;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 576px) {
  .title-font {
    font-size: 30px;
    text-align: center;
  }

  .blog-para {
    text-align: center;
  }
}

/* Jobs in Detail Company Logos */

.vaccancy-section .container .vaccancy-card .sample-section .sample-right .logo-img {
  height: 80px !important;
  width: 80px;
}

.vaccancy-section .container .vaccancy-card .sample-section .sample-right img {
  object-fit: contain !important;
}



/* Jobs in Detail Top Header */

@media (max-width: 992px) {

  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 30px;
    padding-right: 30px;
  }

  .head-with-banner header .top-header .container-fluid .top-left .email,
  .head-with-banner header .top-header .container-sm .top-left .email,
  .head-with-banner header .top-header .container-md .top-left .email,
  .head-with-banner header .top-header .container-lg .top-left .email,
  .head-with-banner header .top-header .container-xl .top-left .email,
  .head-with-banner header .top-header .container-xxl .top-left .email {
    padding-inline: 0px;
  }

  .head-with-banner header .top-header .container-fluid .top-right .signup,
  .head-with-banner header .top-header .container-sm .top-right .signup,
  .head-with-banner header .top-header .container-md .top-right .signup,
  .head-with-banner header .top-header .container-lg .top-right .signup,
  .head-with-banner header .top-header .container-xl .top-right .signup,
  .head-with-banner header .top-header .container-xxl .top-right .signup {
    padding-inline: 10px;
    font-size: 16px;
  }

  .head-with-banner header .top-header .container-fluid .top-right .signup:last-child,
  .head-with-banner header .top-header .container-sm .top-right .signup:last-child,
  .head-with-banner header .top-header .container-md .top-right .signup:last-child,
  .head-with-banner header .top-header .container-lg .top-right .signup:last-child,
  .head-with-banner header .top-header .container-xl .top-right .signup:last-child,
  .head-with-banner header .top-header .container-xxl .top-right .signup:last-child {
    padding-right: 0px;
  }

  .head-with-banner header .top-header .container-fluid .top-left .email p {
    display: block;
    font-size: 14px;
  }
}


@media (max-width: 576px) {

  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 15px;
    padding-right: 15px;
  }

  .head-with-banner header .top-header .container-fluid .top-left .email,
  .head-with-banner header .top-header .container-sm .top-left .email,
  .head-with-banner header .top-header .container-md .top-left .email,
  .head-with-banner header .top-header .container-lg .top-left .email,
  .head-with-banner header .top-header .container-xl .top-left .email,
  .head-with-banner header .top-header .container-xxl .top-left .email {
    padding-inline: 0px;
  }

  .head-with-banner header .top-header .container-fluid .top-right .signup,
  .head-with-banner header .top-header .container-sm .top-right .signup,
  .head-with-banner header .top-header .container-md .top-right .signup,
  .head-with-banner header .top-header .container-lg .top-right .signup,
  .head-with-banner header .top-header .container-xl .top-right .signup,
  .head-with-banner header .top-header .container-xxl .top-right .signup {
    padding-inline: 10px;
    font-size: 14px;
  }

  .head-with-banner header .top-header .container-fluid .top-right .signup:last-child,
  .head-with-banner header .top-header .container-sm .top-right .signup:last-child,
  .head-with-banner header .top-header .container-md .top-right .signup:last-child,
  .head-with-banner header .top-header .container-lg .top-right .signup:last-child,
  .head-with-banner header .top-header .container-xl .top-right .signup:last-child,
  .head-with-banner header .top-header .container-xxl .top-right .signup:last-child {
    padding-right: 0px;
  }

  .head-with-banner header .top-header .container-fluid .top-left .email p {
    display: block;
    font-size: 12px;
  }
}


.head-with-banner header .top-header .container-fluid .top-left .email {
  display: flex;
  color: #fff;
  text-decoration: none;
  /* padding-inline: 20px; */
  padding-block: 10px;
  align-items: center;
  gap: 10px;
}

/* 01/04/2026 */

.blog-section .container-fluid .blog-card-row .blog-card img {
  height: auto !important;
}

.dropdown-submenu>.dropdown-toggle::after {
  transition: transform .25s ease;
}

.dropdown-submenu>.dropdown-toggle:has(+ .dropdown-menu.show)::after {
  transform: rotate(-90deg);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
}

.dropdown-menu .dropdown-submenu .dropdown-menu {
  border: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.dropdown-menu .dropdown-submenu .dropdown-menu li {
  margin-block: 0;
  line-height: 10px;
  padding: 5px;
}

.dropdown-menu .dropdown-submenu .dropdown-menu li a {
  color: #726767
}

@media (max-width: 992px) {
  .dropdown-submenu:hover>.dropdown-menu {
    display: none !important;
  }

  .dropdown-submenu:hover>.show {
    display: block !important;
    visibility: visible;
    opacity: 1;
  }

  .dropdown-menu .dropdown-submenu .dropdown-menu {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* 06-04-2026 */

@media (max-width: 470px) {
  .nav-item.dropdown .dropdown-submenu .dropdown-item {
    white-space: normal;
    line-height: 22px;
    padding-top: 0;
    margin-block: 0;
  }
}

@media (max-width: 576px) {
  .head-with-banner .banner .banner-content.job-content-banner {
    bottom: auto !important;
  }

  .custom-container.banner-content {
    bottom: auto !important;
  }

  .head-with-banner .banner .banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  form label {
    display: none;
  }
}


@media (min-width: 1400px) {
  .head-with-banner .banner .banner-content.job-content-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

@media (min-width: 577px) and (max-width: 1400px) {
  .head-with-banner .banner .banner-content.job-content-banner form .job-btn {
    width: 100% !important;
  }
}

/* jobdetails page style */

/* ===============================
   Job Description - Modern Style
================================ */

.job-description-modern {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
  background: #ffffff;
  padding: 22px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

/* Force dark readable text (prevents theme override) */
.job-description-modern p,
.job-description-modern li,
.job-description-modern span,
.job-description-modern div {
  color: #222 !important;
}

/* ===============================
   Section Titles
================================ */
.job-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #000 !important;
  border-left: 4px solid #9F5255;
  padding-left: 12px;
}

/* First section spacing fix */
.job-section-title:first-child {
  margin-top: 0;
}

/* ===============================
   Paragraph Text
================================ */
.job-paragraph {
  font-size: 18px;
  margin-bottom: 12px;
}

/* ===============================
   List Styling
================================ */
.job-list {
  padding-left: 22px;
  margin-bottom: 18px;
}

.job-list li {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Custom bullet color */
.job-list li::marker {
  color: #9F5255;
}

/* ===============================
   Highlight Elements (Optional)
================================ */
.job-highlight {
  font-weight: 600;
  color: #9F5255 !important;
}

/* Example usage:
   <p class="job-highlight">💰 Salary: AED 4,000 – 7,500</p>
*/

/* ===============================
   Small Meta Info (Optional)
================================ */
.job-meta {
  font-size: 14px;
  color: #555 !important;
  margin-bottom: 8px;
}

/* ===============================
   Card Hover Effect (Optional)
================================ */
.job-description-modern:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 768px) {
  .job-description-modern {
    padding: 15px;
  }

  .job-section-title {
    font-size: 18px;
  }

  .job-paragraph,
  .job-list li {
    font-size: 14px;
  }
}

/* Faq section style changes start  */

.faq-modern-section {
  padding: 70px 0;
  background: #f8fafc;
}

.faq-modern-title {
  text-align: center !important;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

.faq-modern-heading {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

.faq-modern-heading.align-center {
  text-align: center !important;
}

.faq-modern-heading.align-center .faq-modern-title {
  text-align: center !important;
}

.faq-modern-desc {
  font-size: 17px;
  color: #6b7280;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 50px;
  line-height: 1.8;
  text-align: left !important;
}

.faq-modern-desc>p,
.faq-modern-desc>ul {
  text-align: left;
}

.faq-modern-desc p {
  margin-bottom: 1rem;
}

.faq-modern-desc ul.faq-list {
  padding-left: 1.6rem;
  margin: 1rem 0 1.5rem;
}

.faq-modern-desc ul.faq-list li {
  margin-bottom: 0.75rem;
  text-align: left;
}

.faq-modern-box {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
}

.faq-modern-box .accordion-button {
  font-size: 18px;
  font-weight: 600;
  padding: 22px 25px;
  background: #fff !important;
  color: #111827;
  box-shadow: none !important;
}

#faqAccordion .accordion-item .accordion-button {
  padding-inline: 40px !important;
  background: linear-gradient(135deg, #0093D5 0%, #ffffff 100%) !important;
  background-image: linear-gradient(135deg, #0093D5 0%, #ffffff 100%) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.faq-modern-box .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #0093D5 0%, #ffffff 100%) !important;
  color: #fff !important;
}

.faq-modern-box .accordion-body {
  padding: 25px;
  font-size: 16px;
  line-height: 1.9;
  color: #4b5563;
  background: #fff;
}

.faq-modern-box .accordion-body p {
  margin-bottom: 1rem;
  text-align: left;
}

.faq-modern-box .accordion-body ul.faq-list {
  padding-left: 1.4rem;
  margin: 1rem 0;
  list-style: disc;
}

.faq-modern-box .accordion-body ul.faq-list li {
  margin-bottom: 0.75rem;
  text-align: left;
}

@media(max-width:768px) {

  .faq-modern-title {
    font-size: 28px;
  }

  .faq-modern-box .accordion-button {
    font-size: 16px;
    padding: 18px;
  }

}

/* Faq section end */