/*
Theme Name: Transgenerational Recruitment
Theme URI: https://transgenerational.co.za/
Author: ROAYNX - ROI AYAN JAMBAYA
Description: WordPress conversion of the original Transgenerational Recruitment React website. Developed by Innocent Jambaya.
Version: 1.1.0
*/

/* =========================================================
   TRANSGENERATIONAL RECRUITMENT
   MAIN APPLICATION STYLES
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --navy: #03275a;
  --navy-dark: #021b40;
  --navy-deep: #01152f;
  --navy-light: #0a3b7a;

  --orange: #ff8318;
  --orange-dark: #e96d00;
  --orange-light: #ff9a42;

  --white: #ffffff;
  --off-white: #f7f9fc;
  --light: #eef3f8;
  --border: #dfe7f0;

  --text: #14243a;
  --text-light: #617086;
  --muted: #8793a5;

  --success: #1f9d55;

  --shadow-sm: 0 5px 20px rgba(3, 39, 90, 0.08);
  --shadow: 0 15px 45px rgba(3, 39, 90, 0.12);
  --shadow-lg: 0 25px 70px rgba(3, 39, 90, 0.18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1180px;

  --transition: 0.3s ease;
}

/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.content-container,
.footer-container,
.header-container,
.hero-container,
.job-search-container,
.employer-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
}

h3 {
  font-size: 21px;
  font-weight: 700;
}

p {
  color: var(--text-light);
}

/* =========================================================
   SECTION SYSTEM
   ========================================================= */

.section-padding {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 18px;

  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading h2 span,
.about-content h2 span,
.employer-content h2 span,
.contact-preview-content h2 span,
.jobs-hero h1 span,
.job-details-hero h1 span,
.contact-hero h1 span {
  color: var(--orange);
}

.section-heading p {
  max-width: 650px;
  font-size: 17px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(3, 39, 90, 0.08);

  backdrop-filter: blur(15px);
}

.header-container {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
  display: inline-flex;
  align-items: center;

  flex-shrink: 0;
}

.site-logo img {
  width: auto;
  max-width: 210px;
  max-height: 58px;

  object-fit: contain;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-navigation > a:not(.header-cta) {
  position: relative;

  padding: 28px 0;

  color: var(--navy);
  font-size: 14px;
  font-weight: 600;

  transition: var(--transition);
}

.main-navigation > a:not(.header-cta)::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 18px;

  width: 0;
  height: 2px;

  background: var(--orange);

  transition: var(--transition);
}

.main-navigation > a:not(.header-cta):hover,
.main-navigation > a.active {
  color: var(--orange);
}

.main-navigation > a:not(.header-cta):hover::after,
.main-navigation > a.active::after {
  width: 100%;
}

/* =========================================================
   HEADER CTA
   ========================================================= */

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 19px;

  border-radius: 7px;

  color: var(--white) !important;
  background: var(--orange);

  font-size: 14px;
  font-weight: 700;

  box-shadow: 0 8px 20px rgba(255, 131, 24, 0.2);

  transition: var(--transition);
}

.header-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu-button {
  display: none;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 8px;

  color: var(--navy);
  background: var(--white);
}

/* ======================================================
   MODERN HERO SECTION
====================================================== */

.hero-section {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #03275a;
  background-position: center right;
  isolation: isolate;
}

/* ======================================================
   HERO IMAGE
====================================================== */

.hero-image-layer {
  position: absolute;
  inset: 0;

  z-index: -3;

  background-size: 112% auto;
  background-position: center right;
  background-repeat: no-repeat;

  /*
    No opacity animation.
    This prevents the white flash between slides.
  */
  animation: heroZoomOut 5s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;

  will-change: background-size;
}

/* ======================================================
   CINEMATIC ZOOM OUT
====================================================== */

@keyframes heroZoomOut {
  0% {
    background-size: 112% auto;
  }

  100% {
    background-size: 100% auto;
  }
}

/* ======================================================
   IMAGE OVERLAY
   Dark on the left, clearer on the right
====================================================== */

.hero-section::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background: linear-gradient(
    90deg,
    rgba(3, 39, 90, 0.98) 0%,
    rgba(3, 39, 90, 0.94) 35%,
    rgba(3, 39, 90, 0.7) 55%,
    rgba(3, 39, 90, 0.2) 78%,
    rgba(3, 39, 90, 0.02) 100%
  );

  pointer-events: none;
}

/* ======================================================
   SOFT DARK TINT AT BOTTOM
====================================================== */

.hero-section::after {
  content: "";

  position: absolute;
  inset: auto 0 0;

  height: 35%;

  z-index: -1;

  background: linear-gradient(to top, rgba(3, 39, 90, 0.55), transparent);

  pointer-events: none;
}

/* ======================================================
   ORANGE DIAMONDS
====================================================== */

.hero-section .hero-container::before,
.hero-section .hero-container::after {
  content: "";

  position: absolute;

  width: 18px;
  height: 18px;

  background: #ff8318;

  transform: rotate(45deg);

  opacity: 0.85;

  z-index: 1;

  pointer-events: none;
}

.hero-section .hero-container::before {
  top: -30px;
  left: 47%;

  animation: diamondDropOne 8s linear infinite;
}

.hero-section .hero-container::after {
  top: -80px;
  left: 72%;

  width: 12px;
  height: 12px;

  opacity: 0.55;

  animation: diamondDropTwo 11s linear infinite;
}

/* ======================================================
   ADDITIONAL DIAMONDS
====================================================== */

.hero-section .hero-content::before,
.hero-section .hero-content::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 10px;

  background: #ff8318;

  transform: rotate(45deg);

  pointer-events: none;

  z-index: 0;
}

.hero-section .hero-content::before {
  top: -100px;
  left: 62%;

  opacity: 0.45;

  animation: diamondDropThree 9s linear infinite;
}

.hero-section .hero-content::after {
  top: -60px;
  left: 86%;

  width: 7px;
  height: 7px;

  opacity: 0.35;

  animation: diamondDropFour 13s linear infinite;
}

/* ======================================================
   DIAMOND ANIMATIONS
====================================================== */

@keyframes diamondDropOne {
  0% {
    transform: translateY(-40px) rotate(45deg);
    opacity: 0;
  }

  10% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.65;
  }

  100% {
    transform: translateY(760px) rotate(405deg);
    opacity: 0;
  }
}

@keyframes diamondDropTwo {
  0% {
    transform: translateY(-50px) rotate(45deg);
    opacity: 0;
  }

  12% {
    opacity: 0.55;
  }

  85% {
    opacity: 0.35;
  }

  100% {
    transform: translateY(780px) rotate(405deg);
    opacity: 0;
  }
}

@keyframes diamondDropThree {
  0% {
    transform: translateY(-30px) rotate(45deg);
    opacity: 0;
  }

  15% {
    opacity: 0.45;
  }

  100% {
    transform: translateY(760px) rotate(405deg);
    opacity: 0;
  }
}

@keyframes diamondDropFour {
  0% {
    transform: translateY(-30px) rotate(45deg);
    opacity: 0;
  }

  15% {
    opacity: 0.35;
  }

  100% {
    transform: translateY(800px) rotate(405deg);
    opacity: 0;
  }
}

/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-image-layer {
    animation: none;
    background-size: cover;
  }

  .hero-section .hero-container::before,
  .hero-section .hero-container::after,
  .hero-section .hero-content::before,
  .hero-section .hero-content::after {
    animation: none;
  }
}

/* ======================================================
   HERO CONTAINER
====================================================== */

.hero-container {
  position: relative;

  width: min(1200px, calc(100% - 48px));

  margin: 0 auto;

  min-height: 680px;

  display: flex;
  align-items: center;

  z-index: 3;
}

/* ======================================================
   HERO CONTENT
====================================================== */

.hero-content {
  position: relative;

  width: min(650px, 58%);

  padding: 65px 50px 65px 0;

  z-index: 4;
}

/* Orange vertical accent */
.hero-content::before {
  content: "";

  position: absolute;

  left: -25px;
  top: 65px;

  width: 4px;
  height: 125px;

  background: #ff8318;

  border-radius: 5px;

  z-index: 2;
}

/* ======================================================
   HERO LABEL
====================================================== */

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 22px;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 2.2px;

  color: #ff8318;
}

.hero-label::before {
  content: "";

  width: 34px;
  height: 2px;

  background: #ff8318;
}

/* ======================================================
   HERO HEADING
====================================================== */

.hero-section h1 {
  margin: 0;

  max-width: 650px;

  font-size: clamp(48px, 5vw, 76px);

  line-height: 0.98;

  letter-spacing: -3px;

  font-weight: 800;

  color: #ffffff;
}

.hero-section h1 span {
  color: #ff8318;

  display: inline-block;

  margin-top: 8px;
}

/* ======================================================
   HERO DESCRIPTION
====================================================== */

.hero-section .hero-content p {
  max-width: 580px;

  margin: 28px 0 34px;

  font-size: 18px;

  line-height: 1.75;

  color: rgba(255, 255, 255, 0.82);
}

/* ======================================================
   HERO BUTTONS
====================================================== */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;

  flex-wrap: wrap;
}

.hero-buttons .primary-button {
  min-height: 54px;

  padding: 0 25px;

  border-radius: 6px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-buttons .primary-button:hover {
  transform: translateY(-3px);

  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.hero-buttons .secondary-button {
  min-height: 54px;

  padding: 0 25px;

  border: 1px solid rgba(255, 255, 255, 0.5);

  border-radius: 6px;

  color: #ffffff;

  background: rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(8px);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hero-buttons .secondary-button:hover {
  background: rgba(255, 255, 255, 0.14);

  border-color: #ff8318;

  transform: translateY(-3px);
}

/* ======================================================
   HERO SLIDER INDICATORS
====================================================== */

.hero-dots {
  position: absolute;

  left: 50%;
  bottom: 28px;

  transform: translateX(-50%);

  display: flex;

  align-items: center;

  gap: 9px;

  z-index: 10;
}

.hero-dots button {
  width: 8px;
  height: 8px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);

  cursor: pointer;

  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.hero-dots button.active {
  width: 30px;

  border-radius: 10px;

  background: #ff8318;
}

/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1024px) {
  .hero-section {
    min-height: 620px;
  }

  .hero-container {
    min-height: 620px;
  }

  .hero-content {
    width: 64%;
    padding-right: 30px;
  }

  .hero-section h1 {
    font-size: clamp(44px, 6vw, 64px);
  }

  .hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(3, 39, 90, 0.98) 0%,
      rgba(3, 39, 90, 0.93) 48%,
      rgba(3, 39, 90, 0.45) 72%,
      rgba(3, 39, 90, 0.08) 100%
    );
  }
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {
  .hero-section {
    min-height: 650px;

    background-position: 65% center;
  }

  .hero-container {
    width: min(100% - 36px, 620px);

    min-height: 650px;

    align-items: flex-end;
  }

  .hero-section::before {
    background: linear-gradient(
      180deg,
      rgba(3, 39, 90, 0.45) 0%,
      rgba(3, 39, 90, 0.72) 38%,
      rgba(3, 39, 90, 0.97) 75%,
      rgba(3, 39, 90, 1) 100%
    );
  }

  .hero-content {
    width: 100%;

    padding: 40px 0 70px;
  }

  .hero-content::before {
    left: 0;

    top: 35px;

    height: 85px;
  }

  .hero-label {
    margin-left: 18px;

    font-size: 11px;

    letter-spacing: 1.7px;
  }

  .hero-section h1 {
    font-size: clamp(42px, 12vw, 58px);

    letter-spacing: -2px;

    line-height: 1;
  }

  .hero-section .hero-content p {
    margin-top: 22px;

    font-size: 16px;

    line-height: 1.65;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons a {
    flex: 1;

    justify-content: center;
  }

  .hero-dots {
    bottom: 20px;
  }

  /* Keep mobile diamonds subtle */
  .hero-section .hero-container::before {
    left: 75%;
  }

  .hero-section .hero-container::after {
    left: 90%;
  }
}

/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-container::before,
  .hero-section .hero-container::after,
  .hero-section .hero-content::before,
  .hero-section .hero-content::after {
    animation: none;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button,
.secondary-button,
.text-button,
.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  transition: var(--transition);
}

.primary-button {
  padding: 14px 22px;

  border: 0;
  border-radius: 7px;

  color: var(--white);
  background: var(--orange);

  font-size: 14px;
  font-weight: 700;

  box-shadow: 0 10px 25px rgba(255, 131, 24, 0.22);
}

.primary-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.secondary-button {
  padding: 13px 22px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 7px;

  color: var(--white);

  font-size: 14px;
  font-weight: 700;
}

.secondary-button:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
  color: var(--orange);
}

.text-button {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.text-button:hover {
  gap: 13px;
}

/* =========================================================
   HERO DOTS
   ========================================================= */

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;

  z-index: 5;

  display: flex;
  gap: 8px;

  transform: translateX(-50%);
}

.hero-dots button {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.4);

  transition: var(--transition);
}

.hero-dots button.active {
  width: 30px;

  border-radius: 10px;

  background: var(--orange);
}

/* =========================================================
   JOB SEARCH
   ========================================================= */

.job-search-section {
  position: relative;
  z-index: 10;

  margin-top: -50px;
}

.job-search-container {
  padding: 28px 32px;

  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 35px;

  border-radius: var(--radius);

  background: var(--white);

  box-shadow: var(--shadow-lg);
}

.search-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-heading > svg {
  flex-shrink: 0;

  color: var(--orange);
}

.search-heading h2 {
  margin-bottom: 3px;

  font-size: 19px;
}

.search-heading p {
  font-size: 13px;
}

.job-search-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.search-input {
  min-height: 52px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0 15px;

  border: 1px solid var(--border);
  border-radius: 7px;

  background: var(--off-white);

  transition: var(--transition);
}

.search-input:focus-within {
  border-color: var(--orange);
  background: var(--white);
}

.search-input svg {
  flex-shrink: 0;
  color: var(--muted);
}

.search-input input {
  width: 100%;

  border: 0;
  outline: 0;

  background: transparent;

  color: var(--text);

  font-size: 13px;
}

.search-input input::placeholder {
  color: var(--muted);
}

.job-search-form > button,
.jobs-search-box > button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 20px;

  border: 0;
  border-radius: 7px;

  color: var(--white);
  background: var(--orange);

  font-weight: 700;

  transition: var(--transition);
}

.job-search-form > button:hover,
.jobs-search-box > button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* =========================================================
   ABOUT PREVIEW
   ========================================================= */

.about-preview {
  background: var(--white);
}

.about-preview .content-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;

  overflow: hidden;

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}

.about-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 50%, rgba(3, 39, 90, 0.25));
}

.about-image img {
  width: 100%;
  min-height: 500px;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-content h2 {
  margin-bottom: 22px;
}

.about-content p {
  margin-bottom: 17px;

  font-size: 16px;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-preview {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--white);

  box-shadow: var(--shadow-sm);

  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);

  border-color: rgba(255, 131, 24, 0.3);

  box-shadow: var(--shadow);
}

.service-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  border-radius: 12px;

  color: var(--orange);
  background: rgba(255, 131, 24, 0.1);
}

.service-card h3 {
  margin-bottom: 12px;

  font-size: 19px;
}

.service-card p {
  min-height: 82px;

  margin-bottom: 20px;

  font-size: 14px;
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: var(--orange);

  font-size: 13px;
  font-weight: 700;
}

.service-card a:hover {
  gap: 9px;
}

.section-button {
  display: flex;
  justify-content: center;

  margin-top: 45px;
}

/* =========================================================
   WHY SECTION
   ========================================================= */

.why-section {
  background: var(--navy);
}

.why-section .section-heading h2 {
  color: var(--white);
}

.why-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 0;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reason-item {
  min-height: 78px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 20px 25px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  color: var(--white);
}

.reason-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.reason-item svg {
  flex-shrink: 0;

  color: var(--orange);
}

.reason-item span {
  font-size: 14px;
  font-weight: 600;
}

/* =========================================================
   EMPLOYER CTA
   ========================================================= */

.employer-section {
  padding: 100px 0;

  background: var(--off-white);
}

.employer-container {
  min-height: 450px;

  display: grid;
  grid-template-columns: 1fr 0.9fr;

  overflow: hidden;

  border-radius: var(--radius-lg);

  background: var(--navy);

  box-shadow: var(--shadow-lg);
}

.employer-content {
  padding: 70px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.employer-content h2 {
  margin-bottom: 20px;

  color: var(--white);
}

.employer-content p {
  max-width: 530px;

  margin-bottom: 30px;

  color: rgba(255, 255, 255, 0.72);
}

.employer-image {
  min-height: 450px;
}

.employer-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =========================================================
   JOB SEEKER
   ========================================================= */

.job-seeker-section {
  background: var(--white);
}

.job-seeker-card {
  padding: 45px 50px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--off-white);
}

.job-seeker-card > svg {
  color: var(--orange);
}

.job-seeker-card h2 {
  margin-bottom: 10px;

  font-size: 28px;
}

.job-seeker-card p {
  max-width: 650px;

  font-size: 14px;
}

/* =========================================================
   CONTACT PREVIEW
   ========================================================= */

.contact-preview {
  background:
    linear-gradient(rgba(3, 39, 90, 0.95), rgba(3, 39, 90, 0.95)),
    url("./assets/team-office.png") center / cover;
}

.contact-preview-content {
  max-width: 720px;

  margin: 0 auto;

  text-align: center;
}

.contact-preview-content .section-label {
  justify-content: center;
}

.contact-preview-content h2 {
  color: var(--white);

  margin-bottom: 20px;
}

.contact-preview-content p {
  margin-bottom: 30px;

  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   JOBS PAGE
   ========================================================= */

.jobs-page {
  background: var(--white);
}

.jobs-hero,
.job-details-hero,
.contact-hero {
  padding: 110px 0;

  background:
    linear-gradient(110deg, rgba(3, 39, 90, 0.97), rgba(3, 39, 90, 0.85)),
    url("./assets/team-office.png") center / cover;

  color: var(--white);
}

.jobs-hero h1,
.job-details-hero h1,
.contact-hero h1 {
  max-width: 750px;

  margin-bottom: 20px;

  color: var(--white);
}

.jobs-hero p,
.job-details-hero p,
.contact-hero p {
  max-width: 680px;

  color: rgba(255, 255, 255, 0.75);

  font-size: 17px;
}

.jobs-search {
  position: relative;
  z-index: 5;

  margin-top: -45px;
}

.jobs-search-box {
  padding: 25px;

  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;

  border-radius: var(--radius);

  background: var(--white);

  box-shadow: var(--shadow-lg);
}

.jobs-list-section {
  background: var(--off-white);
}

.jobs-empty-state {
  max-width: 700px;

  margin: 0 auto;

  padding: 70px 40px;

  text-align: center;

  border: 1px dashed #cbd6e2;
  border-radius: var(--radius-lg);

  background: var(--white);
}

.jobs-empty-state svg {
  margin: 0 auto 20px;

  color: var(--orange);
}

.jobs-empty-state h3 {
  margin-bottom: 10px;
}

.jobs-empty-state p {
  font-size: 14px;
}

/* =========================================================
   JOB DETAILS
   ========================================================= */

.job-details-placeholder {
  max-width: 800px;

  margin: 0 auto;

  padding: 65px 45px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--white);

  box-shadow: var(--shadow-sm);
}

.job-details-placeholder svg {
  margin: 0 auto 20px;

  color: var(--orange);
}

.job-details-placeholder h2 {
  margin-bottom: 15px;

  font-size: 30px;
}

.job-details-placeholder p {
  margin-bottom: 28px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.contact-information h2 {
  margin-bottom: 20px;
}

.contact-information > p {
  max-width: 550px;

  margin-bottom: 35px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  margin-bottom: 24px;
}

.contact-info-icon {
  width: 45px;
  height: 45px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  color: var(--orange);
  background: rgba(255, 131, 24, 0.1);
}

.contact-info-item strong {
  display: block;

  margin-bottom: 3px;

  color: var(--navy);

  font-size: 14px;
}

.contact-info-item a,
.contact-info-item span {
  color: var(--text-light);

  font-size: 14px;
}

.contact-info-item a:hover {
  color: var(--orange);
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-wrapper {
  padding: 40px;

  border-radius: var(--radius-lg);

  background: var(--off-white);

  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  color: var(--navy);

  font-size: 13px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 13px 15px;

  border: 1px solid var(--border);
  border-radius: 7px;

  outline: 0;

  color: var(--text);
  background: var(--white);

  font-size: 14px;

  transition: var(--transition);
}

.form-group input,
.form-group select {
  min-height: 48px;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);

  box-shadow: 0 0 0 3px rgba(255, 131, 24, 0.08);
}

.contact-form .primary-button {
  align-self: flex-start;
}

/* =========================================================
   FORM SUCCESS
   ========================================================= */

.form-success {
  min-height: 450px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.form-success > svg {
  margin-bottom: 20px;

  color: var(--success);
}

.form-success h2 {
  margin-bottom: 12px;
}

.form-success p {
  max-width: 420px;

  margin-bottom: 25px;
}

.form-success button {
  padding: 12px 20px;

  border: 0;
  border-radius: 7px;

  color: var(--white);
  background: var(--navy);

  font-size: 13px;
  font-weight: 700;

  transition: var(--transition);
}

.form-success button:hover {
  background: var(--orange);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding-top: 75px;

  color: rgba(255, 255, 255, 0.7);

  background: var(--navy-deep);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.9fr;
  gap: 55px;

  padding-bottom: 55px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-about {
  max-width: 330px;
}

.footer-about .site-logo {
  margin-bottom: 22px;
}

.footer-about .site-logo img {
  max-width: 190px;

  filter: brightness(0) invert(1);
}

.footer-about > p {
  margin-bottom: 25px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 13px;
}

.footer-column h3 {
  margin-bottom: 22px;

  color: var(--white);

  font-size: 15px;
}

.footer-column > a:not(.footer-button) {
  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 13px;

  transition: var(--transition);
}

.footer-column > a:not(.footer-button):hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-column > p {
  margin-bottom: 20px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 13px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 13px;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--orange);
}

.footer-button {
  padding: 12px 18px;

  border-radius: 7px;

  color: var(--white);

  background: var(--orange);

  font-size: 13px;
  font-weight: 700;
}

.footer-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 22px 20px;

  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.45);

  font-size: 12px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .main-navigation {
    gap: 18px;
  }

  .main-navigation > a:not(.header-cta) {
    font-size: 13px;
  }

  .header-container {
    width: min(var(--container), calc(100% - 30px));
  }

  .job-search-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-preview .content-container {
    gap: 45px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .employer-container {
    grid-template-columns: 1fr 0.8fr;
  }

  .employer-content {
    padding: 50px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
  }

  .contact-grid {
    gap: 45px;
  }
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 800px) {
  .header-container {
    min-height: 72px;
  }

  .site-logo img {
    max-width: 175px;
    max-height: 52px;
  }

  .mobile-menu-button {
    display: flex;
  }

  .main-navigation {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 15px 20px 22px;

    border-top: 1px solid var(--border);

    background: var(--white);

    box-shadow: var(--shadow);

    z-index: 999;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation > a:not(.header-cta) {
    padding: 13px 5px;

    border-bottom: 1px solid var(--border);

    font-size: 14px;
  }

  .main-navigation > a:not(.header-cta)::after {
    display: none;
  }

  .header-cta {
    margin-top: 14px;
  }

  .section-padding {
    padding: 75px 0;
  }

  .hero-section {
    min-height: 620px;
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero-content h1 {
    letter-spacing: -1.5px;
  }

  .job-search-section {
    margin-top: 0;
    padding: 20px 0 0;
  }

  .job-search-container {
    width: min(var(--container), calc(100% - 30px));

    padding: 25px 20px;

    border-radius: 12px;
  }

  .job-search-form,
  .jobs-search-box {
    grid-template-columns: 1fr;
  }

  .about-preview .content-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    min-height: 380px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: auto;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .reason-item:nth-child(odd) {
    border-right: 0;
  }

  .employer-container {
    grid-template-columns: 1fr;
  }

  .employer-image {
    min-height: 330px;
    order: -1;
  }

  .employer-content {
    padding: 45px 30px;
  }

  .job-seeker-card {
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 35px 25px;
  }

  .job-seeker-card .primary-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 30px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {
  .content-container,
  .footer-container,
  .header-container,
  .hero-container,
  .job-search-container,
  .employer-container {
    width: min(100% - 30px, var(--container));
  }

  h2 {
    font-size: 32px;
  }

  .hero-section {
    min-height: 590px;
  }

  .hero-content {
    padding: 65px 0;
  }

  .hero-label {
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .hero-content h1 {
    font-size: 43px;
    line-height: 1.08;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons a {
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    min-height: 48px;
  }

  .search-heading {
    align-items: flex-start;
  }

  .search-heading h2 {
    font-size: 17px;
  }

  .about-image img {
    min-height: 300px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .service-card {
    padding: 25px;
  }

  .employer-section {
    padding: 65px 0;
  }

  .employer-content {
    padding: 40px 25px;
  }

  .employer-image {
    min-height: 270px;
  }

  .job-seeker-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .job-seeker-card h2 {
    font-size: 25px;
  }

  .jobs-hero,
  .job-details-hero,
  .contact-hero {
    padding: 75px 0;
  }

  .jobs-hero h1,
  .job-details-hero h1,
  .contact-hero h1 {
    font-size: 42px;
  }

  .jobs-empty-state,
  .job-details-placeholder {
    padding: 50px 25px;
  }

  .contact-form-wrapper {
    padding: 25px 18px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-about {
    max-width: none;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 131, 24, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* FINAL DESKTOP WORDPRESS HEADER FIX */
@media (min-width: 801px) {
  header.site-header .main-navigation > ul,
  header.site-header .main-navigation > ul.menu,
  header.site-header .main-navigation ul.menu {
    display:flex !important; flex-direction:row !important; align-items:center !important; gap:30px !important;
    width:auto !important; height:auto !important; position:static !important; visibility:visible !important; opacity:1 !important;
  }
  header.site-header .main-navigation li { display:list-item !important; width:auto !important; margin:0 !important; padding:0 !important; }
  header.site-header .main-navigation li a { display:inline-flex !important; align-items:center !important; white-space:nowrap !important; }
}

/* FINAL WORDPRESS NAV STYLING — match the original React navigation */
@media (min-width: 801px) {
  header.site-header .main-navigation > ul,
  header.site-header .main-navigation > ul.menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  header.site-header .main-navigation > ul > li {
    position: relative !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  header.site-header .main-navigation > ul > li > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 28px 0 !important;
    color: var(--navy) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
  }

  header.site-header .main-navigation > ul > li > a::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 18px !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--orange) !important;
    transition: var(--transition) !important;
  }

  header.site-header .main-navigation > ul > li > a:hover,
  header.site-header .main-navigation > ul > li.current-menu-item > a,
  header.site-header .main-navigation > ul > li.current_page_item > a,
  header.site-header .main-navigation > ul > li.current-menu-ancestor > a {
    color: var(--orange) !important;
  }

  header.site-header .main-navigation > ul > li > a:hover::after,
  header.site-header .main-navigation > ul > li.current-menu-item > a::after,
  header.site-header .main-navigation > ul > li.current_page_item > a::after,
  header.site-header .main-navigation > ul > li.current-menu-ancestor > a::after {
    width: 100% !important;
  }
}

/* =========================================================
   JOB MANAGEMENT + APPLICATIONS
   ========================================================= */
.job-detail-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.65fr);gap:55px;align-items:start}
.job-meta-expanded{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:45px}
.job-meta-expanded span{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:17px 18px;border:1px solid var(--border);border-radius:12px;background:var(--off-white);color:var(--text-light);font-size:14px}
.job-meta-expanded span strong{width:100%;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--navy)}
.job-description h2,.job-section-block h2{margin:0 0 18px;color:var(--navy);font-size:27px}
.job-description{margin-bottom:38px}
.job-section-block{padding-top:30px;margin-top:30px;border-top:1px solid var(--border)}
.job-section-block p{margin-bottom:12px}
.job-apply-card{position:sticky;top:100px;padding:32px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--white);box-shadow:var(--shadow-lg)}
.job-apply-card h2{margin:8px 0 24px;color:var(--navy);font-size:27px}
.job-application-form label{display:block;margin-bottom:17px;color:var(--text);font-size:13px;font-weight:700}
.job-application-form label>span{color:var(--orange)}
.job-application-form input[type=text],.job-application-form input[type=email],.job-application-form input[type=tel],.job-application-form input[type=file],.job-application-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:13px 14px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:14px}
.job-application-form input:focus,.job-application-form textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,131,24,.1)}
.job-application-form small{display:block;margin-top:6px;color:var(--muted);font-size:11px;font-weight:400}
.job-application-form .primary-button{width:100%;justify-content:center;border:0;cursor:pointer}
.application-message{padding:14px 15px;border-radius:9px;margin-bottom:20px;font-size:13px;line-height:1.5}
.application-message.success{background:#edf9f1;color:#176b36;border:1px solid #bde6c8}
.application-message.error{background:#fff2f0;color:#9b2f23;border:1px solid #f0c1bb}
.job-closed-message{padding:18px;border-radius:10px;background:var(--off-white);color:var(--text-light);font-size:14px}.job-closed-message strong{color:var(--navy);display:block;margin-bottom:6px}.job-closed-message p{margin:0}
.jobs-category-select{min-width:170px;padding:0 14px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit}
.job-card-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px}.job-card-meta p{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;color:var(--text-light)}
.job-category-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.job-category-tags span{padding:5px 9px;border-radius:999px;background:var(--light);color:var(--navy);font-size:11px;font-weight:700}
@media (max-width:900px){.job-detail-layout{grid-template-columns:1fr}.job-apply-card{position:static}.jobs-search-box{grid-template-columns:1fr 1fr}.jobs-search-box>button{grid-column:1/-1}.jobs-category-select{min-height:48px;width:100%}}
@media (max-width:600px){.job-meta-expanded{grid-template-columns:1fr}.jobs-search-box{grid-template-columns:1fr}.jobs-search-box>button{grid-column:auto}.job-apply-card{padding:23px}.job-description h2,.job-section-block h2{font-size:23px}}
