/* Homepage Figma bridge: layout-specific tweaks inside .figma-home-root only */

.figma-home-root {
  font-family: "DM Sans", "Instrument Sans", system-ui, sans-serif;
  color: var(--text);
  box-sizing: border-box;
}

.figma-home-root *,
.figma-home-root *::before,
.figma-home-root *::after {
  box-sizing: inherit;
}

.figma-home-root .search-bar input.location-field {
  flex: 1 1 120px;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: var(--text);
  font-family: "Instrument Sans", sans-serif;
}

.figma-home-root .search-bar input.keyword-field {
  flex: 2 1 200px;
}

.figma-home-root .logo-chip img {
  width: auto;
  max-width: 100px;
  max-height: 40px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* Employer carousel — "Top employers you may like" (Owl + legacy single-services card) */
.figma-home-root .figma-employers-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.figma-home-root .figma-top-employers-carousel.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.figma-home-root .figma-top-employers-carousel.owl-carousel .owl-item {
  display: flex;
}

.figma-home-root .figma-top-employers-carousel .owl-item > .item {
  display: flex;
  width: 100%;
  height: 100%;
}

.figma-home-root .figma-employers-wrap .single-services.company-card {
  height: 100% !important;
  min-height: 280px;
  margin: 0;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}

.figma-home-root .figma-employers-wrap .company-card {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1.5px solid var(--border, #e4e9f2);
  border-radius: 14px;
  background: #fff;
  padding: 2.75rem 1rem 1rem;
  position: relative;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.figma-home-root .figma-employers-wrap .company-card:hover {
  border-color: var(--blue, #1a6ef5);
  box-shadow: 0 10px 32px rgba(26, 110, 245, 0.12);
  transform: translateY(-2px);
}

.figma-home-root .figma-employers-wrap .company-card-link {
  z-index: 2;
}

.figma-home-root .figma-employers-wrap .jobsCount {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-dark, #089997);
  background: #e7f6f3;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  line-height: 1.2;
}

.figma-home-root .figma-employers-wrap .services-ion {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 0.35rem;
  flex-shrink: 0;
}

.figma-home-root .figma-employers-wrap .services-ion span {
  font-size: inherit !important;
  color: inherit !important;
  margin-bottom: 0 !important;
  line-height: 0;
}

.figma-home-root .figma-employers-wrap .figma-employer-avatar,
.figma-home-root .figma-employers-wrap .services-ion img {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  max-height: 88px !important;
  min-width: 88px !important;
  min-height: 88px !important;
  object-fit: cover !important;
  border-radius: 12px;
  display: block;
}

/* Owl default `.owl-item img { width: 100% }` stretches logos; keep fixed tile for employer cards */
.figma-home-root .figma-top-employers-carousel.owl-carousel .owl-item img.figma-employer-avatar {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  margin-left: auto;
  margin-right: auto;
}

.figma-home-root .figma-employers-wrap .services-cap {
  width: 100%;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.figma-home-root .figma-employers-wrap .services-cap h5 {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--navy, #0d2a6e) !important;
  margin: 0.35rem 0 0.25rem !important;
  line-height: 1.3;
}

.figma-home-root .figma-employers-wrap .companyAboutUs {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0.5rem 0 0 !important;
  padding: 0 0.35rem !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  color: var(--gray, #6b7280) !important;
  text-align: center;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.figma-home-root .figma-top-employers-carousel .owl-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.25rem;
}

.figma-home-root .figma-top-employers-carousel .owl-nav button.owl-prev,
.figma-home-root .figma-top-employers-carousel .owl-nav button.owl-next {
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1.5px solid var(--border, #e4e9f2) !important;
  color: var(--navy, #0d2a6e) !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  box-shadow: 0 2px 10px rgba(13, 42, 110, 0.06);
}

.figma-home-root .figma-top-employers-carousel .owl-nav button.owl-prev:hover,
.figma-home-root .figma-top-employers-carousel .owl-nav button.owl-next:hover {
  border-color: var(--blue, #1a6ef5) !important;
  color: var(--blue, #1a6ef5) !important;
}

.figma-home-root .figma-top-employers-carousel .owl-dots {
  margin-top: 0.75rem;
}

.figma-home-root .figma-top-employers-carousel .owl-dots .owl-dot span {
  background: var(--border, #e4e9f2);
}

.figma-home-root .figma-top-employers-carousel .owl-dots .owl-dot.active span {
  background: var(--blue, #1a6ef5);
}

/* Industry grid inside skills area */
.figma-home-root .figma-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Courses: "Train for success with Hiringi" — reset legacy job widget inside carousel */
.figma-home-root .figma-courses-section {
  background: #fff;
  padding-bottom: 88px;
}

.figma-home-root .figma-courses-accent {
  color: var(--teal, #12a58d);
}

.figma-home-root .figma-courses-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.figma-home-root .figma-courses-wrap.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.figma-home-root .figma-courses-wrap.owl-carousel .owl-item {
  display: flex;
}

.figma-home-root .figma-courses-wrap .owl-item > .item,
.figma-home-root .figma-courses-wrap .course-box {
  display: flex;
  width: 100%;
  height: 100%;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 1.25rem 1rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: none;
  overflow: visible;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area:hover {
  border-color: var(--teal, #12a58d);
  box-shadow: 0 8px 24px rgba(10, 191, 188, 0.12);
  transform: translateY(-2px);
}

.figma-home-root .figma-courses-wrap .utf_job_like {
  display: none !important;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .job-type {
  position: static;
  align-self: flex-start;
  margin: 0 0 0.75rem 0;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(18, 165, 141, 0.25);
  background: rgba(18, 165, 141, 0.1);
  color: var(--teal-dark, #089997) !important;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .u-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0.25rem 0.75rem;
  text-align: center;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .avatar {
  width: 88px;
  height: 88px;
  max-width: 88px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--off, #f5f7fb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .u-content h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy, #0d2a6e);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .u-content h5 a {
  color: inherit;
  text-decoration: none;
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .u-content h5 a:hover {
  color: var(--blue, #1a6ef5);
}

.figma-home-root .figma-courses-wrap .utf_grid_job_widget_area .text-muted {
  font-size: 0.78rem;
  color: var(--gray, #6b7280) !important;
  margin: 0;
}

.figma-home-root .figma-courses-wrap .utf_apply_job_btn_item {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  margin-top: auto;
  padding-top: 0.25rem;
}

.figma-home-root .figma-courses-wrap .utf_apply_job_btn_item .enroll-btn,
.figma-home-root .figma-courses-wrap .utf_apply_job_btn_item .job-browse-btn {
  display: block;
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
  text-align: center;
  border: none;
  background: var(--teal, #12a58d);
  color: #fff !important;
  transition: background 0.2s, transform 0.15s;
}

.figma-home-root .figma-courses-wrap .utf_apply_job_btn_item .enroll-btn:hover,
.figma-home-root .figma-courses-wrap .utf_apply_job_btn_item .job-browse-btn:hover {
  background: var(--teal-dark, #089997);
  transform: translateY(-1px);
  color: #fff !important;
}

.figma-home-root .figma-courses-wrap .owl-nav button.owl-prev,
.figma-home-root .figma-courses-wrap .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1.5px solid var(--border, #e4e9f2) !important;
  color: var(--navy, #0d2a6e) !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(13, 42, 110, 0.08);
}

.figma-home-root .figma-courses-wrap .owl-nav button.owl-prev:hover,
.figma-home-root .figma-courses-wrap .owl-nav button.owl-next:hover {
  border-color: var(--blue, #1a6ef5) !important;
  color: var(--blue, #1a6ef5) !important;
}

.figma-home-root .figma-courses-wrap .owl-dots {
  margin-top: 1.25rem;
}

.figma-home-root .figma-courses-wrap .owl-dots .owl-dot span {
  background: var(--border, #e4e9f2);
}

.figma-home-root .figma-courses-wrap .owl-dots .owl-dot.active span {
  background: var(--blue, #1a6ef5);
}

/* Testimonials — "Trusted by professionals across the UAE" */
.figma-home-root .figma-testimonials-header p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.figma-home-root .figma-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.figma-home-root .figma-testimonials-carousel.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.figma-home-root .figma-testimonials-carousel.owl-carousel .owl-item {
  display: flex;
}

.figma-home-root .figma-testimonials-carousel .owl-item > .item {
  display: flex;
  width: 100%;
  height: 100%;
}

.figma-home-root .figma-testimonials .feedback-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  margin: 0;
  border: 1.5px solid var(--border, #e4e9f2);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.4rem;
  background: #fff;
  text-align: left;
  box-shadow: 0 4px 20px rgba(13, 42, 110, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.figma-home-root .figma-testimonials .feedback-item:hover {
  border-color: var(--blue, #1a6ef5);
  box-shadow: 0 10px 28px rgba(26, 110, 245, 0.1);
}

.figma-home-root .figma-testimonials .stars {
  color: #f59e0b;
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin: 0 0 0.85rem;
  line-height: 1;
}

.figma-home-root .figma-testimonials .feedback-item-header {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  text-align: left;
}

.figma-home-root .figma-testimonials .feedback-item-header img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.figma-home-root .figma-testimonials .feedback-item-name {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.figma-home-root .figma-testimonials .feedback-item-name h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy, #0d2a6e);
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.figma-home-root .figma-testimonials .feedback-item-name h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray, #6b7280);
  margin: 0;
  text-transform: capitalize;
}

.figma-home-root .figma-testimonials .feedback-item-body {
  padding-top: 0 !important;
  margin-top: 1rem;
  flex: 1 1 auto;
  border-left: 3px solid var(--teal, #12a58d);
  padding-left: 0.85rem;
  margin-left: 0;
}

.figma-home-root .figma-testimonials .feedback-item-body p {
  font-size: 0.86rem;
  color: var(--gray, #4b5563);
  line-height: 1.65;
  margin: 0;
}

.figma-home-root .figma-testimonials-carousel .owl-stage-outer {
  padding: 8px 4px 4px;
}

.figma-home-root .figma-testimonials-carousel .owl-nav {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 1.35rem;
  padding: 0;
}

.figma-home-root .figma-testimonials-carousel .owl-nav button.owl-prev,
.figma-home-root .figma-testimonials-carousel .owl-nav button.owl-next {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 42px;
  height: 42px;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1.5px solid var(--border, #e4e9f2) !important;
  color: var(--navy, #0d2a6e) !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(13, 42, 110, 0.08);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.figma-home-root .figma-testimonials-carousel .owl-nav button.owl-prev:hover,
.figma-home-root .figma-testimonials-carousel .owl-nav button.owl-next:hover {
  border-color: var(--blue, #1a6ef5) !important;
  color: var(--blue, #1a6ef5) !important;
  background: #eff4ff !important;
}

.figma-home-root .figma-testimonials-carousel .owl-dots {
  margin-top: 1rem;
}

.figma-home-root .figma-testimonials-carousel .owl-dots .owl-dot span {
  background: var(--border, #e4e9f2);
}

.figma-home-root .figma-testimonials-carousel .owl-dots .owl-dot.active span {
  background: var(--blue, #1a6ef5);
}

.figma-home-root .partners .figma-partners-header p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Trusted — Figma/index.html: logo row; fix .logo-chip img (scoped file used invalid display:flex on <img>) */
.figma-home-root .trusted .logo-chip {
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 42, 110, 0.06);
}

.figma-home-root .trusted a.logo-chip.figma-trusted-employer-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 5.5rem;
}

.figma-home-root .trusted .figma-trusted-job-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal, #0d9f9a);
  line-height: 1.2;
  white-space: nowrap;
}

.figma-home-root .trusted a.logo-chip.figma-trusted-employer-link:focus-visible {
  outline: 2px solid var(--blue, #1a6ef5);
  outline-offset: 3px;
  border-radius: 12px;
}

.figma-home-root .trusted .logo-chip img {
  width: auto !important;
  height: auto !important;
  max-width: 100px;
  max-height: 72px;
  object-fit: contain !important;
  object-position: center;
  display: block !important;
  border-radius: 6px;
}

.figma-home-root .figma-trusted-fallback.logos {
  justify-content: center;
}

/* Partners — "Helping professionals find jobs" (CSS grid; no Slick — avoids stretched/clipped logos) */
.figma-home-root .partners .figma-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem 1.15rem;
  max-width: 1100px;
  margin: 2rem auto 0;
  align-items: stretch;
  justify-items: center;
}

.figma-home-root .partners .figma-partners-grid .partner-chip {
  width: 100%;
  max-width: 220px;
  margin: 0;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1.5px solid var(--border, #e4e9f2);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(13, 42, 110, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.figma-home-root .partners .figma-partners-grid .partner-chip:hover {
  border-color: var(--blue, #1a6ef5);
  box-shadow: 0 8px 22px rgba(26, 110, 245, 0.1);
  transform: translateY(-2px);
}

.figma-home-root .partners .figma-partners-grid .partner-chip a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  align-self: stretch;
  min-height: 112px;
  text-decoration: none;
}

.figma-home-root .partners .figma-partners-grid .partner-chip img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 900px) {
  .figma-home-root .partners .figma-partners-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
  }

  .figma-home-root .partners .figma-partners-grid .partner-chip {
    max-width: none;
    min-height: 156px;
  }

  .figma-home-root .partners .figma-partners-grid .partner-chip a {
    min-height: 120px;
  }

  .figma-home-root .partners .figma-partners-grid .partner-chip img {
    max-height: 100px;
  }
}

/* Service chips as links */
.figma-home-root a.service-chip {
  text-decoration: none;
  color: inherit;
}

.figma-home-root a.service-chip:hover {
  color: var(--blue);
}

/* CTA buttons as links */
.figma-home-root .cta-btns a.btn-white,
.figma-home-root .cta-btns a.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.figma-home-root a.skill-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.figma-home-root a.btn-apply {
  text-decoration: none;
}
