/* Employer Home Page Styles
 * Standalone stylesheet – does NOT depend on central home.css.
 * Safe to redesign this page without affecting the rest of the site.
 */

body {
  background-color: #ffffff;
  font-family: NHaasGroteskDSPro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: #222;
}

/* Basic type scale used by existing markup (.h1, .h2, .h3, .h4, .bold) */
.h1,
h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
}

.h2,
h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
}

.h3,
h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.h4,
h4 {
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 8px;
}

.bold {
  font-weight: 700;
}

.job-portal-sec {
  padding: 0;
}

.job-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content-sec {
  flex: 1;
}

/* Header / navbar tweaks that used to live inline */
#header,
.navbar {
  background-color: #163019 !important;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 950;
  color: #ffffff !important;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
  color: #ffc600 !important;
}

.navbar-nav .btn {
  font-size: 1.05rem;
  font-weight: 800;
  background-color: #ffc600 !important;
  color: #000 !important;
  padding: .45rem 1rem;
  border-radius: 6px;
  border: none;
}

.navbar-nav .btn:hover {
  opacity: 0.9;
  color: #000 !important;
}

/* Thin black bar above main header */
.top-utility-bar {
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.top-utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-utility-logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.top-utility-logo-text:hover {
  text-decoration: underline;
}

.top-utility-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-utility-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.top-utility-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .top-utility-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-utility-nav ul {
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

/* Top hero area */
.top-section.general-top-section {
  background: linear-gradient(135deg, #163019 0%, #1f5b20 60%, #163019 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-section .info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 16px 40px;
}

.top-section .h1,
.top-section h1 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

.text-container .title {
  text-align: center;
}

.text-container .title .row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-container .title .cta-button {
  display: inline-block;
}

/* Hero CTA group: keep all three buttons same size */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.hero-cta-group .hor-menu-mar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 999px;
  background: #ffc600;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.hero-cta-group .hor-menu-mar img {
  height: 16px;
  width: auto;
}

.hero-cta-group .hor-menu-mar:hover {
  opacity: 0.92;
  color: #000;
}

.launching-hero-text {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffc600;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #163019;
}

/* Hero quick-links (Agriculture Jobs / Food Jobs) */
.btn-mar-mainpage {
  display: inline-block;
  margin: 0 8px 8px;
}

.btn-mar-mainpage .hor-right-menu-item {
  display: inline-block;
}

.btn-mar-mainpage .hor-menu-mar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffc600;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.btn-mar-mainpage .hor-menu-mar img {
  height: 16px;
  width: auto;
}

.btn-mar-mainpage .hor-menu-mar:hover {
  opacity: 0.92;
  color: #000;
}

/* Main hero CTA */
#rq-btn-main-block {
  margin-top: 24px;
  padding: 12px 28px;
  font-size: 16px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.breadcrumbs .top-url {
  color: #ffc600;
  text-decoration: none;
}

.breadcrumbs .top-url:hover {
  text-decoration: underline;
}

.breadcrumbs-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
}

/* Generic info sections */
.info-section {
  padding: 40px 16px;
}

.info-section .row.num-container {
  max-width: 1200px;
  margin: 0 auto 18px;
}

.info-section .content-section,
.info-section .title {
  max-width: 1200px;
  margin: 0 auto 10px;
}

.yellow-section {
  background-color: #fff9db;
}

.gray-section {
  background-color: #f5f5f5;
}

.light-section {
  background-color: #ffffff;
}

/* Number badge on left (e.g. 01, 02, 03) */
.num {
  margin-bottom: 16px;
}

.h6-num {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9c9c9c;
}

/* Section titles inside blocks like "Why choose", "Our Services" */
.section-title {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}

/* “Why Choose” horizontal cards */
.results-line {
  max-width: 1200px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
}

.results-line-card {
  width: calc(25% - 18px);
  margin-right: 24px;
  margin-bottom: 24px;
}

.results-line-card:nth-child(4n) {
  margin-right: 0;
}

.results-line-card-number {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.results-line-card-main {
  font-size: 1rem;
  line-height: 1.4;
}

/* Partner logos variant of the 4-box line */
.partner-logos-line .partner-card {
  text-align: center;
}

.partner-logos-line .partner-card a {
  display: block;
  text-decoration: none;
  color: #222222;
}

.partner-logos-line .partner-card a:hover .results-line-card-main {
  color: #163019;
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  min-height: 90px;
}

.partner-logo-wrapper img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

/* Full bordered cards (Our Services, What Makes Us Different) */
.full-bordered-cards-container {
  max-width: 1200px;
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
}

.full-bordered-card {
  border-width: 2px;
  border-style: solid;
  border-color: #e5e5e5;
  padding: 24px;
  width: calc(33.333% - 16px);
  margin-right: 24px;
  margin-bottom: 24px;
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.full-bordered-card:nth-child(3n) {
  margin-right: 0;
}

.full-bordered-card-text {
  margin-top: 16px;
}

.full-bordered-card-text .h3 {
  margin-bottom: 8px;
}

/* Two-column service rows like "Our Commitment" */
.service-get-section-container {
  max-width: 1200px;
  margin: 12px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-get-section-container-number {
  font-weight: 700;
  font-size: 16px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #163019;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-and-description-wrapper {
  flex: 1;
}

.title-and-description-wrapper .h3 {
  margin-bottom: 4px;
}

.title-and-description-wrapper .h4 {
  margin: 0;
  line-height: 1.5;
}

/* Carousel / steps section ("How it works for employers") */
.service-carousel-section {
  padding: 48px 16px;
}

/* Tighten vertical gap between "Our Services" and "What Makes Us Different" */
#Agriculture-what-makes-us-different {
  padding-top: 32px;
}

.service-carousel-section .num,
.service-carousel-section .section-title,
.service-carousel-section .line-section,
.service-carousel-section .cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.line-section {
  margin-top: 32px;
}

.scrollWrapper.slider-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.info-block-left-bordered {
  min-width: 260px;
  border-left: 3px solid #163019;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.info-block-left-bordered-title {
  margin-bottom: 6px;
}

.cta-container.small-margin {
  margin-top: 32px;
  text-align: center;
}

/* Simple CTA buttons */
.cta-button {
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
}

.cta-button-yellow {
  background-color: #ffc600;
  color: #000000;
}

.cta-button-yellow:hover {
  opacity: 0.9;
}

/* Join AgFoodJobs Today link */
.btnform {
  text-align: center;
  margin: 16px 0 8px;
}

.btnform a {
  display: inline-block;
  background: #163019;
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.btnform a:hover {
  background: #1f5b20;
}

@media (max-width: 1100px) {
  .info-section {
    padding: 64px 16px;
  }

  .results-line-card {
    width: calc(50% - 12px);
    margin-right: 24px;
  }

  .results-line-card:nth-child(2n) {
    margin-right: 0;
  }

  .full-bordered-card {
    width: calc(50% - 12px);
  }

  .full-bordered-card:nth-child(2n) {
    margin-right: 0;
  }

  .service-get-section-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .info-section {
    padding: 56px 16px;
  }

  .results-line-card,
  .full-bordered-card {
    width: 100%;
    margin-right: 0;
  }

  .general-top-section {
    height: auto;
    padding-bottom: 20px;
  }

  .h1-shift-right {
    padding-left: 0;
  }

  .launching-hero-text {
    font-size: 32px;
    letter-spacing: 1.5px;
  }

  .service-get-section-container {
    margin-top: 12px;
  }
}

/* Footer styles that used to live inline in the view */
footer {
  padding: 20px 0;
  background-color: #E6F0E6;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

footer ul li {
  list-style: none;
}

footer ul li a {
  text-decoration: none;
  color: #272727;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: #f03226;
}

footer p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #272727;
}

footer p a {
  color: #f03226;
  text-decoration: none;
}

footer p a:hover {
  text-decoration: underline;
}

