@import url('https://unpkg.com/normalize.css');

/* ====== ROOT VARIABLES & FOUNDATIONS ====== */
:root {
  --background: #d6e6da;
  --foreground: #16302b;
  --accent: #d6e6da;
  --muted-foreground: #b0c4bb;
  --border: rgba(214, 230, 218, 0.1);
  --neumorphic-light: rgba(255, 255, 255, 0.05);
  --neumorphic-dark: rgba(0, 0, 0, 0.2);
}

/* ====== TYPOGRAPHY: FONTS & IMPORTS ====== */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Work+Sans:wght@400;500;600&display=swap");

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

html,
body,
main,
header,
footer,
section,
aside,
nav,
div,
p,
span,
label,
input,
textarea,
button,
a,
li {
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-title,
.card-title,
.demo-card-title-red,
.jobseeker-title,
.cta-title,
.font-serif {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 700 !important;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== SECTIONS & LAYOUT ====== */
.section {
  display: none;
}

.section.active {
  display: block;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

/* ====== FADE-IN ON SCROLL ====== */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.fade-in-scroll:nth-of-type(1) {
  transition-delay: 0.1s;
}

.fade-in-scroll:nth-of-type(2) {
  transition-delay: 0.3s;
}

.fade-in-scroll:nth-of-type(3) {
  transition-delay: 0.5s;
}

.fade-in-scroll.visible:nth-of-type(1) {
  transition-delay: 0s;
}

.fade-in-scroll.visible:nth-of-type(2) {
  transition-delay: 0.1s;
}

.fade-in-scroll.visible:nth-of-type(3) {
  transition-delay: 0.2s;
}

/* ====== NEUMORPHISM: CORE STYLING ====== */
.neumorphic-card {
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 8px 8px 16px var(--neumorphic-dark), -8px -8px 16px var(--neumorphic-light);
  transition: all 0.3s ease;
}

.neumorphic-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 12px var(--neumorphic-dark), -6px -6px 12px var(--neumorphic-light);
}

.benefit-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background-color: #ffffff;
  padding: 32px;
  transition: all 0.5s ease;
  box-shadow: 8px 8px 16px var(--neumorphic-dark), -8px -8px 16px var(--neumorphic-light);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .benefit-card {
    padding: 40px;
  }
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 12px var(--neumorphic-dark), -6px -6px 12px var(--neumorphic-light);
}

/* ====== ICON STYLING ====== */
.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  box-shadow: inset 4px 4px 8px var(--neumorphic-dark), inset -4px -4px 8px var(--neumorphic-light);
}

.benefit-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.icon-lg,
.icon-md {
  width: 40px;
  height: 40px;
  color: var(--foreground);
}

.icon-sm {
  width: 20px;
  height: 20px;
  color: var(--foreground);
}

.icon-xs {
  width: 16px;
  height: 16px;
  color: var(--foreground);
  flex-shrink: 0;
}

/* ====== CARD CONTENT ====== */
.card-content {
  position: relative;
  z-index: 10;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

@media (min-width: 1024px) {
  .card-title {
    font-size: 30px;
  }
}

.card-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 16px;
}

@media (min-width: 1024px) {
  .card-description {
    font-size: 18px;
  }
}

.card-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--foreground), rgba(214, 230, 218, 0.5));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  border-radius: 9999px;
}

.benefit-card:hover .card-border {
  transform: translateX(0);
}

/* ====== BUTTONS & INTERACTIVE ELEMENTS ====== */
.demo-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--background);
  color: var(--foreground);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  box-shadow: 6px 6px 12px var(--neumorphic-dark), -6px -6px 12px var(--neumorphic-light);
  cursor: pointer;
  margin-top: auto;
}

.demo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 6px 12px 24px var(--neumorphic-dark);
}

.demo-btn:active {
  transform: scale(0.95);
  box-shadow: inset 4px 4px 8px var(--neumorphic-dark), inset -4px -4px 8px var(--neumorphic-light);
}

/* ====== HOME SECTION ====== */
#home-section {
  background-color: #D6E6DA !important;
}

#home-section .text-muted-foreground,
#home-section p,
#home-section .main-subtitle {
  color: #16302b !important;
}

#home-section .main-title {
  color: #16302b !important;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#home-section h2 {
  color: #16302b !important;
}

@media (min-width: 1024px) {
  #home-section .main-title {
    font-size: 3rem;
  }
}

#home-section .main-subtitle {
  color: #16302b !important;
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  #home-section .main-subtitle {
    font-size: 1.25rem;
  }
}

/* Home section CTA buttons */
#home-section .cta-button,
#home-section .demo-btn {
  background-color: #D6E6DA !important;
  color: #16302b !important;
  border: 2px solid #D6E6DA !important;
  font-weight: 700;
  transition: all 160ms ease;
}

#home-section .cta-button:hover,
#home-section .demo-btn:hover {
  background-color: #D6E6DA !important;
  color: #16302b !important;
  transform: translateY(-2px);
}

#home-section .cta-button:active,
#home-section .demo-btn:active {
  transform: translateY(0);
}

/* ====== SECTION DIVIDER ====== */
.section-divider-wrapper {
  padding: 0rem 2rem 2rem;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #3a7d5c 35%, #16302b 65%, transparent 100%);
  border-radius: 9999px;
  opacity: 0.45;
}

/* Ornament cluster */
.section-divider-ornament {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Central rotated diamond */
.divider-diamond {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #3a7d5c, #16302b);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(58, 125, 92, 0.5);
}

/* Small flanking dots */
.divider-dot--sm {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3a7d5c;
  opacity: 0.65;
}

/* ====== INDUSTRIES SECTION (STACKED CARDS) ====== */
#industries-section {
  background-color: #d6e6da;
  color: #16302b;
  position: relative;
  padding: 5rem 0;
}

.stack-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.stack-cards__item {
  position: sticky;
  top: 1.5rem;
  transform-origin: center top;
  margin-bottom: 2rem;
  width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.card__inner {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 8px 8px 16px var(--neumorphic-dark), -8px -8px 16px var(--neumorphic-light);
  transition: all 0.5s ease;
}

.card__inner:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 12px var(--neumorphic-dark), -6px -6px 12px var(--neumorphic-light);
}

.demo-img {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.demo-card-content {
  padding: 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-card-title-red {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.demo-card-content p {
  color: var(--foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.demo-card-content .demo-btn {
  width: 100%;
  margin-top: auto;
}

/* Moving service card background images */
.demo-img-apartment {
  background-image: url("https://i.ibb.co/C5JTH6Xt/top-view-messy-full-moving-boxes-room.jpg");
  background-position: center;
}

.demo-img-house {
  background-image: url("https://i.ibb.co/Q75MBNbt/miscellaneous-items-being-sold-yard-sale.jpg");
  background-position: center;
}

.demo-img-office {
  background-image: url("https://i.ibb.co/JfzFhmw/empty-storehouse-space-with-cardboard-boxes-shelves-racks-shelving-merchandise-before-shipping-it-cl.jpg");
  background-position: center;
}

.demo-img-small {
  background-image: url("https://i.ibb.co/ymyPxx6z/room-interior-design.jpg");
  background-position: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stack-cards__item {
    position: relative;
    top: auto;
    margin-bottom: 1.5rem;
    width: 95%;
  }

  .demo-img {
    height: 200px;
  }

  .demo-card-content {
    padding: 1.5rem;
  }

  .demo-card-title-red {
    font-size: 1.5rem;
  }
}

/* ====== JOB SEEKERS SECTION ====== */
#jobseekers-section {
  background: #d6e6da !important;
  color: #16302b !important;
  padding: 5rem 0;
}

.jobseeker-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .jobseeker-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.jobseeker-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jobseeker-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.jobseeker-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.jobseeker-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #16302b !important;
  margin-bottom: 0.5rem;
}

.jobseeker-subtitle {
  font-size: 1.125rem;
  color: #16302b !important;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.jobseeker-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .jobseeker-features {
    grid-template-columns: 1fr;
  }
}

.jobseeker-feature-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 16px;
  box-shadow: inset 2px 2px 8px var(--neumorphic-dark);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.jobseeker-feature-box:hover {
  transform: translateY(-2px);
  box-shadow: inset 3px 3px 8px var(--neumorphic-dark);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #16302b !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: inset 3px 3px 6px var(--neumorphic-dark);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #16302b !important;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: #16302b !important;
  line-height: 1.5;
}

.jobseeker-quote {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  font-style: italic;
  color: #16302b !important;
  line-height: 1.6;
  box-shadow: inset 2px 2px 8px var(--neumorphic-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-highlight {
  color: #16302b !important;
  font-weight: 600;
}

.jobseeker-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .jobseeker-cta-buttons {
    flex-direction: column;
  }

  .jobseeker-cta-buttons .demo-btn {
    width: 100%;
  }
}

/* ====== EMPLOYERS SECTION ====== */
#employers-section,
#employers-main-content {
  background-color: #D6E6DA !important;
  background-image: none !important;
  color: #16302b !important;
  position: relative;
}

#employers-section::before {
  display: none;
}

.container {
  position: relative;
  margin: 0 auto;
  padding: 80px 16px;
  max-width: 1280px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-top: 128px;
    padding-bottom: 128px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.header-section {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out;
}

@media (min-width: 1024px) {
  .header-section {
    margin-bottom: 112px;
  }
}

.main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--foreground);
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .main-title {
    font-size: 72px;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 96px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    gap: 40px;
    margin-bottom: 128px;
  }
}

.stats-badge {
  font-size: 14px;
  font-weight: bold;
  color: var(--foreground);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 9999px;
  box-shadow: inset 2px 2px 5px var(--neumorphic-dark);
  border: 1px solid var(--border);
}

/* ====== OPPORTUNITIES SECTION ====== */
#opportunities-section {
  background-color: #d6e6da !important;
  color: #16302b !important;
}

/* Override the outer card wrapper to match site bg */
#opportunities-section .benefit-card {
  background-color: #d6e6da !important;
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.12),
    -8px -8px 18px rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* --- Card grid --- */
#opportunities-section .job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  #opportunities-section .job-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Job card --- */
#opportunities-section .job-card {
  background: #ccddd6;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.55);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.13),
    -6px -6px 14px rgba(255, 255, 255, 0.68);
}

#opportunities-section .job-card:hover {
  transform: translateY(-3px);
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.16),
    -8px -8px 18px rgba(255, 255, 255, 0.75);
}

#opportunities-section .job-card .apply-btn {
  margin-top: auto;
}

/* --- Text colours --- */
#opportunities-section .job-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #16302b !important;
  margin-bottom: 0.35rem;
}

#opportunities-section .pay-rate {
  color: #16302b !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

#opportunities-section .job-location {
  color: rgba(22, 48, 43, 0.65) !important;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

#opportunities-section .job-description {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

#opportunities-section .job-description li {
  display: list-item;
  padding-left: 0;
  margin-bottom: 0.4rem;
  color: rgba(22, 48, 43, 0.8) !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Apply button (dark green, site palette) --- */
#opportunities-section .apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 11px 20px;
  background-color: #16302b !important;
  color: #d6e6da !important;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(22, 48, 43, 0.22);
  margin-top: auto;
}

#opportunities-section .apply-btn:hover {
  background-color: #0f2320 !important;
  box-shadow: 0 5px 16px rgba(22, 48, 43, 0.3);
  transform: translateY(-1px);
}

#opportunities-section .apply-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(22, 48, 43, 0.2);
}

/* --- Search input --- */
#opportunities-section #job-search {
  background: #ccddd6 !important;
  color: #16302b !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 3px 3px 7px rgba(0, 0, 0, 0.12),
    inset -3px -3px 7px rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.25s ease;
}

#opportunities-section #job-search::placeholder {
  color: rgba(22, 48, 43, 0.5);
}

#opportunities-section #job-search:focus {
  outline: none;
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.15),
    inset -2px -2px 6px rgba(255, 255, 255, 0.55);
}

/* --- Section heading --- */
#opportunities-section h3 {
  color: #16302b !important;
}

/* ====== JOBS LOADER (sound-wave bars, on-brand) ====== */
.jobs-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3.5rem 1rem;
}

/* Five animated bars matching logo waveform */
.jobs-loader__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
}

.jobs-loader__bar {
  width: 7px;
  border-radius: 4px;
  background: #16302b;
  animation: loaderBarBounce 1.1s ease-in-out infinite;
  transform-origin: bottom center;
}

/* Vary heights & delays to mimic the logo waveform */
.jobs-loader__bar:nth-child(1) {
  height: 18px;
  animation-delay: 0s;
}

.jobs-loader__bar:nth-child(2) {
  height: 34px;
  animation-delay: 0.14s;
}

.jobs-loader__bar:nth-child(3) {
  height: 48px;
  animation-delay: 0.28s;
}

.jobs-loader__bar:nth-child(4) {
  height: 34px;
  animation-delay: 0.42s;
}

.jobs-loader__bar:nth-child(5) {
  height: 18px;
  animation-delay: 0.56s;
}

@keyframes loaderBarBounce {

  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Label under the bars */
.jobs-loader__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(22, 48, 43, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Pagination bar --- */

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 48, 43, 0.12);
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.35rem;
  background-color: #16302b;
  color: #d6e6da;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 3px 10px rgba(22, 48, 43, 0.22);
  white-space: nowrap;
}

.pagination-btn svg {
  flex-shrink: 0;
  color: #d6e6da;
  stroke: #d6e6da;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #0f2320;
  box-shadow: 0 5px 16px rgba(22, 48, 43, 0.32);
  transform: translateY(-1px);
}

.pagination-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(22, 48, 43, 0.2);
}

.pagination-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.pagination-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 0.5rem 1.1rem;
  background: rgba(22, 48, 43, 0.08);
  border: 1px solid rgba(22, 48, 43, 0.15);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #16302b !important;
  letter-spacing: 0.01em;
}

/* Mobile pagination */
@media (max-width: 480px) {
  .pagination-bar {
    gap: 0.6rem;
  }

  .pagination-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }

  .pagination-btn span {
    display: none;
  }

  .pagination-info {
    min-width: 80px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* ====== CONTACT SECTION & APPLICATION FORM ====== */
#contact-section,
#application-form-section {
  background-color: #d6e6da !important;
  background-image: none !important;
  color: #16302b !important;
  padding: 5rem 0;
}

#contact-section h2,
#application-form-section h2,
#contact-section h4,
#application-form-section h4,
#contact-section h5,
#application-form-section h5,
#contact-section label,
#application-form-section label,
#contact-section .text-accent,
#application-form-section .text-accent {
  color: #16302b !important;
}

#contact-section p,
#application-form-section p,
#contact-section .text-muted-foreground,
#application-form-section .text-muted-foreground {
  color: #16302b !important;
}

/* Neumorphic base for all cards in the light-green contact & apply sections */
#contact-section .benefit-card,
#application-form-section .benefit-card {
  background: #d6e6da;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.15),
    -6px -6px 14px rgba(255, 255, 255, 0.72);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#contact-section .benefit-card:hover,
#application-form-section .benefit-card:hover {
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.18),
    -8px -8px 18px rgba(255, 255, 255, 0.78);
}

#contact-section .contact-feature-box .feature-icon {
  background-color: #16302b;
  color: #d6e6da;
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.35),
    inset -1px -1px 3px rgba(255, 255, 255, 0.08);
}

#contact-section .contact-feature-box .feature-icon svg,
#contact-section .contact-feature-box .feature-icon i {
  color: #d6e6da !important;
  stroke: #d6e6da !important;
}

#contact-section .contact-feature-box .feature-title {
  color: #16302b !important;
}

#contact-section .contact-feature-box .feature-description {
  color: rgba(22, 48, 43, 0.75) !important;
}

#contact-section input,
#application-form-section input,
#contact-section textarea,
#application-form-section textarea,
#contact-section select,
#application-form-section select {
  background: #ccddd6;
  color: #16302b !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 3px 3px 7px rgba(0, 0, 0, 0.12),
    inset -3px -3px 7px rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

#contact-section input:focus,
#application-form-section input:focus,
#contact-section textarea:focus,
#application-form-section textarea:focus,
#contact-section select:focus,
#application-form-section select:focus {
  outline: none;
  background: #c8d9d2;
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.15),
    inset -2px -2px 6px rgba(255, 255, 255, 0.55);
}

#contact-section input::placeholder,
#application-form-section input::placeholder,
#contact-section textarea::placeholder,
#application-form-section textarea::placeholder {
  color: rgba(22, 48, 43, 0.55);
}

#contact-section .icon-wrapper,
#contact-section .icon-md {
  background-color: #16302b;
  color: #d6e6da !important;
}

#contact-section .demo-btn,
#application-form-section button[type="submit"],
#application-form-section button[id$="-btn"],
#application-form-section button[onclick] {
  background-color: #16302b !important;
  color: #d6e6da !important;
  box-shadow:
    5px 5px 12px rgba(0, 0, 0, 0.22),
    -3px -3px 8px rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  border: none !important;
}

#contact-section .demo-btn:hover,
#application-form-section button[type="submit"]:hover,
#application-form-section button[id$="-btn"]:hover,
#application-form-section button[onclick]:hover {
  box-shadow:
    7px 7px 16px rgba(0, 0, 0, 0.25),
    -4px -4px 10px rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

#contact-section .demo-btn:active,
#application-form-section button[type="submit"]:active,
#application-form-section button[id$="-btn"]:active,
#application-form-section button[onclick]:active {
  box-shadow:
    inset 3px 3px 8px rgba(0, 0, 0, 0.25),
    inset -2px -2px 6px rgba(255, 255, 255, 0.2);
  transform: translateY(0);
}

/* ====== CONTACT FORM FULL-HEIGHT MATCHING ====== */
#contact-section .jobseeker-container {
  align-items: stretch !important;
}

#contact-section .jobseeker-image-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: 100%;
}

#contact-section .jobseeker-image-wrapper>.benefit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

#contact-section #contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#contact-section #contact-form textarea {
  flex: 1;
  resize: vertical;
  min-height: 120px;
}

/* ====== NAVIGATION ====== */
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 74px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #16302b;
  flex-shrink: 0;
}

/* Wordmark container — two stacked lines */
.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

/* Top line: RES + circle-O + NATE */
.nav-logo-line1 {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Letter parts flanking the SVG */
.logo-part {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #16302b;
  text-transform: uppercase;
  line-height: 1;
}

/* RES: indent from left edge AND pull it right toward the icon */
.logo-part:first-child {
  padding-left: 0.20em;
  margin-right: -0.10em;
  /* tightens RES → icon gap */
}

/* NATE: push it further right away from the icon */
.logo-part:last-child {
  margin-left: 0.09em;
  /* widens icon → NATE gap */
}

/* Circle-wave SVG acting as the "O" — slightly larger */
.logo-o-svg {
  display: inline-block;
  width: 1.65rem;
  height: 1.55rem;
  vertical-align: middle;
  margin: 0;
  /* spacing now handled by logo-part margins */
  flex-shrink: 0;
}

/* Bottom line: STAFFING — centred under RESONATE */
.nav-logo-line2 {
  font-family: 'Anton', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-align: center;
  /* Subtle gradient from deep-green to mid-green for a premium feel */
  background: linear-gradient(90deg, #16302b 0%, #2d6a4f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Slightly smaller in mobile drawer */
.nav-logo-wordmark--mobile .logo-part {
  font-size: 1.3rem;
}

.nav-logo-wordmark--mobile .logo-part:first-child {
  padding-left: 0.2em;
  margin-right: -0.1em;
}

.nav-logo-wordmark--mobile .logo-part:last-child {
  margin-left: 0.1em;
}

.nav-logo-wordmark--mobile .logo-o-svg {
  width: 1.18rem;
  height: 1.18rem;
}

.nav-logo-wordmark--mobile .nav-logo-line2 {
  font-size: 0.62rem;
  letter-spacing: 0.36em;
}

/* Desktop links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #16302b;
  background: #f0f4f0;
}

.nav-link.active-nav {
  color: #16302b;
  font-weight: 700;
}

.nav-link.active-nav::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: #16302b;
  border-radius: 2px;
}

/* Apply Now button */
.nav-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  background: #16302b;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(22, 48, 43, 0.18);
  flex-shrink: 0;
}

.nav-apply-btn:hover {
  background: #0f2320;
  box-shadow: 0 4px 14px rgba(22, 48, 43, 0.28);
  transform: translateY(-1px);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: #f0f4f0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #16302b;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile drawer */
.nav-mobile-drawer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  animation: navSlideDown 0.25s ease;
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
}

.nav-mobile-header span {
  font-size: 1rem;
  font-weight: 700;
  color: #16302b;
  flex: 1;
}

.nav-mobile-header button {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-mobile-header button:hover {
  background: #f3f4f6;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 1.25rem;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background: #f0f4f0;
  color: #16302b;
}

.mobile-nav-link.active-nav {
  background: #eaf1ee;
  color: #16302b;
}

.mobile-apply {
  margin-top: 0.5rem;
  background: #16302b !important;
  color: #ffffff !important;
  text-align: center !important;
  border-radius: 10px;
}

.mobile-apply:hover {
  background: #0f2320 !important;
}

/* Responsive breakpoints */
@media (max-width: 767px) {

  .nav-links-desktop,
  .nav-apply-btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {
  .nav-mobile-drawer {
    display: none !important;
  }

  .nav-hamburger {
    display: none;
  }
}

/* ====== FOOTER ====== */
footer {
  background-color: #031716 !important;
  border-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 2rem;
}

footer .text-gray-300,
footer .text-gray-400 {
  color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
  color: var(--foreground) !important;
}

/* ====== UTILITY CLASSES ====== */
.text-accent {
  color: var(--foreground);
}

.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

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

.hidden {
  display: none;
}

@media (max-width: 767px) {
  .md\:hidden {
    display: none !important;
  }
}

/* ====== SCROLL-DRIVEN SERVICES SECTION ====== */

@property --flip {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

@keyframes flip {
  to {
    --flip: 1;
  }
}

:root {
  --power-1-out: linear(0 0%, 0.0027 3.64%, 0.0106 7.29%, 0.0425 14.58%, 0.0957 21.87%, 0.1701 29.16%, 0.2477 35.19%, 0.3401 41.23%, 0.5982 55.18%, 0.7044 61.56%, 0.7987 68.28%, 0.875 75%, 0.9297 81.25%, 0.9687 87.5%, 0.9922 93.75%, 1 100%);
  --power-2-out: linear(0 0%, 0.0036 9.62%, 0.0185 16.66%, 0.0489 23.03%, 0.0962 28.86%, 0.1705 34.93%, 0.269 40.66%, 0.3867 45.89%, 0.5833 52.95%, 0.683 57.05%, 0.7829 62.14%, 0.8621 67.46%, 0.8991 70.68%, 0.9299 74.03%, 0.9545 77.52%, 0.9735 81.21%, 0.9865 85%, 0.9949 89.15%, 1 100%);
  --power-3-out: linear(0 0%, 0.0029 13.8%, 0.0184 21.9%, 0.0339 25.51%, 0.0551 28.81%, 0.0827 31.88%, 0.1168 34.76%, 0.1962 39.57%, 0.3005 44.02%, 0.4084 47.53%, 0.6242 53.45%, 0.7493 57.93%, 0.8495 62.97%, 0.8888 65.67%, 0.9213 68.51%, 0.9629 73.9%, 0.9876 80.16%, 0.998 87.5%, 1 100%);
  --power-4-out: linear(0 0%, 0.0012 14.95%, 0.0089 22.36%, 0.0297 28.43%, 0.0668 33.43%, 0.0979 36.08%, 0.1363 38.55%, 0.2373 43.07%, 0.3675 47.01%, 0.5984 52.15%, 0.7121 55.23%, 0.8192 59.21%, 0.898 63.62%, 0.9297 66.23%, 0.9546 69.06%, 0.9733 72.17%, 0.9864 75.67%, 0.9982 83.73%, 1 100%);
  --sine: linear(0 0%, 0.2861 18.47%, 0.4829 32.08%, 0.6437 44.52%, 0.7712 56.07%, 0.8722 67.47%, 0.9115 73.02%, 0.9434 78.49%, 0.9682 83.91%, 0.9859 89.3%, 0.9965 94.66%, 1 100%);
  --container-width: 1600px;
  --gap: clamp(10px, 7.35vw, 80px);
  --gutter: 2rem;
  --font-size-min: 16;
  --font-size-max: 20;
  --font-ratio-min: 1.2;
  --font-ratio-max: 1.33;
  --font-width-min: 375;
  --font-width-max: 1500;
}

@media (max-width: 600px) {
  :root {
    --gutter: 1rem;
  }
}

@keyframes fade {

  0%,
  55% {
    opacity: 0;
  }
}

@keyframes reveal {

  0%,
  30% {
    scale: 0;
  }
}

@keyframes scale-x {

  0%,
  10% {
    width: calc(100vw - (2 * var(--gutter)));
  }

  90%,
  100% {
    width: clamp(300px, calc(var(--container-width) / 5 - var(--gap)), 520px);
  }
}

@keyframes scale-y {

  0%,
  10% {
    height: calc(100vh - (2 * var(--gutter)));
  }

  90%,
  100% {
    height: clamp(300px, calc(var(--container-width) / 5 - var(--gap)), 520px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-enhanced='true'] {
    #scroll-services-section {
      min-height: 240vh;
    }
  }

  @supports (animation-timeline: scroll()) and (animation-range: 0 100%) {
    [data-enhanced='true'] #scroll-services-section {
      view-timeline: --runner;
    }

    [data-enhanced='true'][data-center='true'] .scaler video {
      animation-name: scale-x, scale-y;
      animation-fill-mode: both;
      animation-timing-function: var(--power-2-out), var(--power-1-out);
      animation-timeline: --runner, --runner;
      animation-range: entry 100% exit -20%;
    }

    [data-enhanced='true'][data-layers='true'] .grid .layer {
      animation-name: fade, reveal;
      animation-fill-mode: both;
      animation-timeline: --runner, --runner;
      animation-timing-function: var(--sine), var(--power-1-out);
      animation-range: entry 100% exit 0%;
    }

    [data-enhanced='true'][data-layers='true'][data-stagger='range'] .grid .layer:nth-of-type(1) {
      animation-range: entry 100% exit 0%;
    }

    [data-enhanced='true'][data-layers='true'][data-stagger='range'] .grid .layer:nth-of-type(2) {
      animation-range: entry 100% exit -10%;
    }

    [data-enhanced='true'][data-layers='true'][data-stagger='range'] .grid .layer:nth-of-type(3) {
      animation-range: entry 100% exit -20%;
    }
  }
}

/* Employers section must allow overflow-clip for sticky scroll to work */
#employers-section {
  overflow: clip;
}

#scroll-services-section {
  overflow: clip;
  position: relative;
}

.content {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  place-items: center;
  align-content: center;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.scaler {
  z-index: 2;
  width: 100%;
  height: 100%;
  position: relative;
}

.scaler video {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  object-fit: cover;
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  filter: brightness(0.75);
}

/* Layer grid */
#scroll-services-section .grid {
  --offset: 0;
  width: 1600px;
  max-width: calc(100% - (2 * var(--gutter)));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: var(--gap);
  margin: 0 auto;
  align-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

@media (max-width: 600px) {
  #scroll-services-section .grid {
    grid-template-columns: repeat(3, 1fr);
    --offset: -1;
  }

  #scroll-services-section .grid>div:nth-of-type(1) {
    display: none;
  }
}

#scroll-services-section .grid>.layer {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

#scroll-services-section .grid>div:nth-of-type(1) div:nth-of-type(odd) {
  grid-column: 1;
}

#scroll-services-section .grid>div:nth-of-type(1) div:nth-of-type(even) {
  grid-column: -2;
}

#scroll-services-section .grid>div:nth-of-type(2) div:nth-of-type(odd) {
  grid-column: calc(2 + var(--offset));
}

#scroll-services-section .grid>div:nth-of-type(2) div:nth-of-type(even) {
  grid-column: calc(-3 - var(--offset));
}

#scroll-services-section .grid>div:nth-of-type(3) div {
  grid-column: calc(3 + var(--offset));
}

#scroll-services-section .grid>div:nth-of-type(3) div:last-of-type {
  grid-row: -1;
}

#scroll-services-section .grid .scaler {
  position: relative;
  grid-column: calc(2 + var(--offset)) / calc(5 + var(--offset));
  grid-row: 1 / -1;
  align-self: center;
  height: 90%;
}

#scroll-services-section .grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
}

.services-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 3;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  width: 80%;
  max-width: 900px;
  color: #d6e6da;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  overflow-y: hidden;
}

.services-panel h2 {
  margin: 0;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #d6e6da;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: auto;
  margin-top: 1rem;
  width: 100%;
}

.service-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  color: #d6e6da;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.4;
  color: #d6e6da;
}

.service-item ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
  color: #d6e6da;
  list-style-type: disc !important;
}

.service-item li {
  list-style-type: disc !important;
  display: list-item !important;
  margin-bottom: 0.25rem;
  color: #d6e6da;
}

/* Scroll swap animations */
@keyframes fade-out-img {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fade-in-panel {

  0%,
  80% {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }

  100% {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

@keyframes blur-video {

  0%,
  80% {
    filter: blur(0px) brightness(0.75);
  }

  100% {
    filter: blur(8px) brightness(0.75);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .grid .scaler video {
      animation-name: scale-x, scale-y, blur-video;
      animation-fill-mode: both;
      animation-timing-function: var(--power-2-out), var(--power-1-out), linear;
      animation-timeline: --runner, --runner, --runner;
      animation-range: entry 100% exit -20%, entry 100% exit -20%, entry 100% exit 0%;
    }

    .cta-overlay {
      animation-name: fade-out-img;
      animation-fill-mode: both;
      animation-timeline: --runner;
      animation-range: contain 50% contain 80%;
    }

    .services-panel {
      animation-name: fade-in-panel;
      animation-fill-mode: both;
      animation-timeline: --runner;
      animation-range: contain 85% exit 0%;
    }
  }
}

/* CTA background image */
.cta-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  filter: brightness(0.75);
  z-index: 1;
}

/* Dark overlay for text legibility */
.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  border-radius: 1rem;
  z-index: 2;
}

/* CTA overlay */
.cta-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  text-align: center;
  color: #d6e6da;
  z-index: 4;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 4px 16px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-overlay h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #d6e6da;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 6px 24px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 0, 0, 0.5);
}

.cta-overlay p {
  font-size: 1.15rem;
  margin: 0;
  max-width: 85%;
  line-height: 1.75;
  font-weight: 500;
  color: #d6e6da;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
  color: #d6e6da;
}

.cta-features li:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cta-features svg {
  width: 20px;
  height: 20px;
  color: #d6e6da;
  stroke: #d6e6da;
}

.cta-button {
  background: var(--foreground);
  color: var(--background);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 2rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ====== EMPLOYERS SECTION COLOR OVERRIDES ====== */
#employers-section .main-title,
#employers-section .text-accent,
#employers-section .card-title,
#employers-section .card-description,
#employers-section .stats-badge,
#employers-section p,
#employers-section h2,
#employers-section h3,
#employers-section span {
  color: #16302b !important;
}

#employers-section .icon-lg,
#employers-section .icon-md,
#employers-section svg {
  color: #16302b !important;
  stroke: #16302b !important;
}

#employers-section .benefit-card {
  background-color: #D6E6DA !important;
}

#employers-section .icon-wrapper {
  background-color: #D6E6DA !important;
}

#employers-section .stats-badge {
  background-color: rgba(22, 48, 43, 0.1) !important;
}

/* ====== FORCE #d6e6da TEXT ON CTA OVERLAY ====== */
#scroll-services-section .cta-overlay,
#scroll-services-section .cta-overlay *,
#scroll-services-section .cta-overlay p,
#scroll-services-section .cta-features li,
#scroll-services-section .cta-features svg {
  color: #d6e6da !important;
  stroke: #d6e6da !important;
}

#scroll-services-section .cta-overlay h2,
#scroll-services-section .services-panel,
#scroll-services-section .services-panel *,
#scroll-services-section .services-panel h2,
#scroll-services-section .service-item h3,
#scroll-services-section .service-item p,
#scroll-services-section .service-item ul,
#scroll-services-section .service-item li {
  color: #d6e6da !important;
}

#scroll-services-section {
  background-color: #D6E6DA !important;
}

/* ====== MOBILE RESPONSIVENESS: CTA + SERVICES (≤768px) ====== */
@media (max-width: 768px) {
  #scroll-services-section {
    overflow: visible !important;
    background-color: #D6E6DA !important;
  }

  #employers-section {
    overflow: visible !important;
  }

  #scroll-services-section .content {
    position: relative !important;
    top: auto !important;
    min-height: unset !important;
    width: 100% !important;
    overflow: visible !important;
    display: block !important;
    padding: 0 !important;
    place-items: unset !important;
    align-content: unset !important;
  }

  #scroll-services-section .grid {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    translate: none !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    margin: 0 !important;
    align-content: unset !important;
  }

  #scroll-services-section .grid>.layer {
    display: none !important;
  }

  #scroll-services-section .grid>.scaler {
    position: relative !important;
    grid-column: unset !important;
    grid-row: unset !important;
    align-self: unset !important;
    width: 100% !important;
    min-height: 420px !important;
    height: auto !important;
    order: 1;
  }

  .cta-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    translate: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .cta-bg-overlay {
    border-radius: 0 !important;
  }

  .cta-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 100% !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .cta-overlay h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  .cta-overlay p {
    font-size: 0.875rem !important;
    max-width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    line-height: 1.55 !important;
  }

  .cta-features {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .cta-features li {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: 0.75rem !important;
  }

  .cta-button {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
  }

  .services-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    translate: none !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2rem 1.25rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #16302b !important;
    z-index: 1 !important;
    animation: none !important;
    color: #d6e6da !important;
    text-shadow: none !important;
    overflow-y: visible !important;
    order: 2;
  }

  .services-panel h2 {
    font-size: 1.9rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 0.75rem !important;
  }

  .service-item {
    padding: 1rem !important;
  }

  .service-item h3 {
    font-size: 1.15rem !important;
  }

  .service-item p {
    font-size: 0.875rem !important;
  }
}

/* ====== APP FORM SKILLS GRID ====== */
.skills-industry-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .skills-industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skills-industry-card {
  background: #ccddd6;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow:
    inset 3px 3px 7px rgba(0, 0, 0, 0.12),
    inset -3px -3px 7px rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.skills-industry-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #16302b;
  text-align: center;
  border-bottom: 1px solid rgba(22, 48, 43, 0.1);
  padding-bottom: 0.5rem;
}

.skills-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #16302b;
  font-size: 0.875rem;
}

.skill-item input {
  margin-right: 0.5rem;
}

/* ====== TOAST NOTIFICATIONS ====== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #16302b;
  color: #d6e6da;
}

.toast.error {
  background: #991b1b;
  color: #fee2e2;
}

html {
  scrollbar-color: #16302b #0000;
}
