/* === Process Banner Section === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Mulish', sans-serif;
}


.process-banner {
  position: relative;
  width: 100%;
  height: 91vh;
  background: url("../images/Group 80.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 64px;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.45); */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 60px;
}

.banner-content {
  max-width: 600px;
  color: #fff;
}

.banner-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.banner-btn {
  display: inline-block;
  background: #BA0000;
    color: #fff;
  font-weight: 600;
  padding: 12px 58px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.banner-btn:hover {
  background: #c9181f;
}

/* ======================================
   ✅ Responsive Styles
====================================== */

/* === Tablet & Small Laptop (≤1024px) === */
@media (max-width: 1024px) {
  .process-banner {
    height: 70vh;
    margin-top: 60px;
    justify-content: center;
  }

  .banner-overlay {
    padding-left: 40px;
    justify-content: center;
    text-align: center;
  }

  .banner-content {
    max-width: 500px;
    text-align: center;
  }

  .banner-content h2 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .banner-btn {
    padding: 10px 45px;
    font-size: 15px;
  }
}


/* === Mobile Devices (≤600px) === */
@media (max-width: 600px) {
  .process-banner {
    height: auto;
    min-height: 90vh;
    background-position: center;
    background-size: cover;
    margin-top: 50px;
  }

  .banner-overlay {
    padding: 40px 20px;
    justify-content: center;
    text-align: center;
  }

  .banner-content {
    max-width: 100%;
    color: #fff;
  }

  .banner-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .banner-content p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .banner-btn {
    padding: 10px 35px;
    font-size: 14px;
    border-radius: 4px;
  }
}


/* ==============================
   IT Staffing Section
============================== */
.it-staffing {
  background-image: url('../images/Frame\ 94.png'); /* Replace with your actual image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 55px 120px;
  color: white;
  position: relative;
  /* margin-top: 7px; */
}

.it-staffing::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.5); optional overlay */
  z-index: 1;
}

.it-staffing-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.it-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2%;
}

.it-image img {
  width: 76%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.it-text {
  flex: 1;
  margin-bottom: 3%;
}

.it-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}

.it-text p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: #f1f1f1;
  text-align: justify;
}
/* ==============================
   Tablet View (≤1024px)
============================== */
@media (max-width: 1024px) {
  .it-staffing {
    padding: 60px 60px;
  }

  .it-staffing-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .it-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .it-text p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 700px;
  }

  .it-image img {
    width: 80%;
    max-width: 420px;
    border-radius: 15px;
  }
}

/* ==============================
   Mobile View (≤600px)
============================== */
@media (max-width: 600px) {
  .it-staffing {
    padding: 50px 30px;
  }

  .it-staffing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  /* Reorder content for mobile layout */
  .it-text h2 {
    order: 1; /* Heading first */
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .it-image {
    order: 2; /* Image second */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .it-image img {
    width: 90%;
    max-width: 320px;
    border-radius: 12px;
  }

  .it-text p {
    order: 3; /* Paragraph last */
    font-size: 13px;
    line-height: 1.6;
    color: #f0f0f0;
    margin-top: 8px;
    max-width: 100%;
  }
}


/* ===============================
   Across The Continents Section
=============================== */
.across-continents {
  padding: 19px 120px;
  background: #fff;
  color: #000;
 }

.across-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* ===== Left Text Section ===== */
.across-text {
  flex: 1;
  margin-bottom: 8%;
}

.across-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.across-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 30px;
}

.enquire-btn {
  background: #c60000;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enquire-btn:hover {
  background: #900000;
}

/* ===== Right Image Layout ===== */
.across-images {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 498px;
}

.img-box {
  position: absolute;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.5s ease;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specific positioning for the 3 images */
.img1 {
  top: 26px;
  right: 0;
  width: 185px;
  height: 198px;
  animation-delay: 0s;
}

.img2 {
  bottom: 20px;
  right: 0;
  width: 185px;
  height: 198px;
  animation-delay: 2s;
}

.img3 {
  top: 50%;
  left: 48px;
  transform: translateY(-50%);
  width: 185px;
  height: 198px;
  animation-delay: 4s;
}


/* ===============================
   Tablet View (≤1024px)
=============================== */
@media (max-width: 1024px) {
  .across-continents {
    padding: 70px 60px;
  }

  .across-content {
    display: flex;
    flex-direction: column; /* Stack text first, then images */
    text-align: center;
    align-items: center;
    gap: 40px;
  }

  .across-text {
    flex: unset;
    width: 90%;
  }

  .across-text h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .across-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
  }

  .enquire-btn {
    font-size: 0.95rem;
    padding: 12px 24px;
  }

  .across-images {
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .img-box {
    position: static;
    width: 45%;
    height: auto;
    border-radius: 20px;
    animation: fadeFloat 1.2s ease forwards;
  }
}

/* ===============================
   Mobile View (≤600px)
=============================== */
@media (max-width: 600px) {
  .across-continents {
    padding: 32px 25px;
  }

  .across-content {
    display: flex;
    flex-direction: column; /* ✅ Text comes first, then images */
    text-align: center;
    align-items: center;
    gap: 28px;
  }

  .across-text h2 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .across-text p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 22px;
    text-align: justify;
  }

  .enquire-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .across-images {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .img-box {
    position: static;
    width: 80%;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeFloat 1s ease forwards;
  }

  /* Smooth stagger effect for 3 images */
  .img1 {
    animation-delay: 0.2s;
  }
  .img2 {
    animation-delay: 0.4s;
  }
  .img3 {
    animation-delay: 0.6s;
  }

  /* ✨ Fade + Float animation */
  @keyframes fadeFloat {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


/* ===============================
   Contract Staffing Section
=============================== */
.contract-staffing {
  background: url('../images/Frame\ 94\ \(1\).png') center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 50px 120px;
}

.contract-staffing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contract-container {
  position: relative;
  z-index: 1;
}

/* ===== Top Section Layout ===== */
.contract-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.contract-text {
  flex: 1;
}

.contract-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contract-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #f5f5f5;
  margin-bottom: 30px;
  text-align: justify;
}

.learn-btn {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-btn:hover {
  background: #fff;
  color: #900000;
}

/* ===== Right Image ===== */
.contract-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contract-image img {
  width: 80%;
  max-width: 460px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.contract-image img:hover {
  transform: scale(1.05);
}

/* ===== Key Benefits ===== */
.key-benefits {
  margin-top: 40px;
}

.key-benefits h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.benefit-cards {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.benefit-item {
  flex: 1;
  min-width: 250px;
}

.benefit-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.benefit-item h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-item p {
  color: #ddd;
  line-height: 1.6;
  font-size: 1rem;
}
/* ===============================
   Tablet (≤1024px)
=============================== */
@media (max-width: 1024px) {
  .contract-staffing {
    padding: 70px 60px;
  }

  .contract-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .contract-text {
    order: 1;
    max-width: 700px;
  }

  .contract-text h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }

  .contract-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #f2f2f2;
  }

  .contract-image {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .contract-image img {
    width: 85%;
    max-width: 420px;
    border-radius: 16px;
  }

  .learn-btn {
    margin-top: 20px;
    padding: 12px 26px;
  }

  .key-benefits {
    order: 3;
    margin-top: 50px;
    width: 100%;
    text-align: center;
  }

  .key-benefits h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
  }

  .benefit-cards {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .benefit-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
  }

  .benefit-item h4 {
    font-size: 1.6rem;
    color: #e50914;
  }

  .benefit-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .benefit-item p {
    font-size: 0.95rem;
    color: #eaeaea;
  }
}

/* ===============================
   Mobile (≤600px)
=============================== */
@media (max-width: 600px) {
  .contract-staffing {
    padding: 30px 25px;
  }

  .contract-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  /* Reorder for mobile layout: Heading → Image → Paragraph → Button */
  .contract-text {
    order: 1;
  }

  .contract-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .contract-image {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .contract-image img {
    width: 90%;
    max-width: 320px;
    border-radius: 12px;
  }

  .contract-text p {
    order: 3;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    color: #eee;
  }

  .learn-btn {
    order: 4;
    font-size: 0.9rem;
    padding: 10px 22px;
    margin-top: 10px;
  }

  /* === Key Benefits Section === */
  .key-benefits {
    order: 5;
    margin-top: 45px;
    width: 100%;
    text-align: center;
  }

  .key-benefits h3 {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.4px;
  }

  .benefit-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .benefit-item {
    text-align: center;
    max-width: 280px;
  }

  .benefit-item h4 {
    font-size: 1.3rem;
    color: #e50914;
  }

  .benefit-item h5 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .benefit-item p {
    font-size: 13px;
    line-height: 1.6;
    color: #ddd;
  }
}



/* ===============================
   Contract To Hire Section
=============================== */
.contract-to-hire {
  background: url('../images/Frame\ 94\ \(2\).png') center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 75px 120px;
}

.contract-to-hire::before {
  content: "";
  position: absolute;
  inset: 0;
   z-index: 0;
}

.contract-hire-container {
  position: relative;
  z-index: 1;
}

/* ===== Top Section ===== */
.contract-hire-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.contract-hire-image {
  flex: 1;
}

.contract-hire-image img {
  width: 100%;
  max-width: 425px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.contract-hire-image img:hover {
  transform: scale(1.05);
}

.contract-hire-text {
  flex: 1;
  margin-bottom: 4%;
}

.contract-hire-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contract-hire-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 25px;
  text-align: justify;
}

.learn-btn {
  background: #e50914;
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-btn:hover {
  background: #b1060f;
}

/* ===== Key Benefits ===== */
.contract-hire-benefits {
  margin-top: 40px;
}

.contract-hire-benefits h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.benefit-cards {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.benefit-item {
  flex: 1;
  min-width: 250px;
}

.benefit-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #e50914;
}

.benefit-item h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-item p {
  color: #ddd;
  line-height: 1.6;
  font-size: 1rem;
}

/* ===============================
   Tablet (≤1024px)
=============================== */
@media (max-width: 1024px) {
  .contract-to-hire {
    padding: 70px 60px;
  }

  .contract-hire-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  /* Reordering layout for better tablet flow */
  .contract-hire-text {
    order: 1;
    max-width: 700px;
  }

  .contract-hire-text h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }

  .contract-hire-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #f2f2f2;
  }

  .contract-hire-image {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .contract-hire-image img {
    width: 85%;
    max-width: 420px;
    border-radius: 16px;
  }

  .learn-btn {
    margin-top: 20px;
    padding: 12px 26px;
  }

  .contract-hire-benefits {
    order: 3;
    margin-top: 50px;
    width: 100%;
    text-align: center;
  }

  .contract-hire-benefits h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
  }

  .benefit-cards {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .benefit-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
  }

  .benefit-item h4 {
    font-size: 1.6rem;
    color: #e50914;
  }

  .benefit-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .benefit-item p {
    font-size: 0.95rem;
    color: #eaeaea;
  }
}

/* ===============================
   Mobile (≤600px)
=============================== */
@media (max-width: 600px) {
  .contract-to-hire {
    padding: 30px 25px;
  }

  .contract-hire-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  /* Reorder for mobile layout: Heading → Image → Paragraph → Button */
  .contract-hire-text {
    order: 1;
  }

  .contract-hire-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .contract-hire-image {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .contract-hire-image img {
    width: 90%;
    max-width: 320px;
    border-radius: 12px;
  }

  .contract-hire-text p {
    order: 3;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    color: #eee;
  }

  .learn-btn {
    order: 4;
    font-size: 0.9rem;
    padding: 10px 22px;
    margin-top: 10px;
  }

  /* === Key Benefits Section === */
  .contract-hire-benefits {
    order: 5;
    margin-top: 45px;
    width: 100%;
    text-align: center;
  }

  .contract-hire-benefits h3 {
    font-size:  25px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.4px;
  }

  .benefit-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .benefit-item {
    text-align: center;
    max-width: 280px;
  }

  .benefit-item h4 {
    font-size: 1.3rem;
    color: #e50914;
  }

  .benefit-item h5 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .benefit-item p {
    font-size: 13px;
    line-height: 1.6;
    color: #ddd;
  }
}


/* ===============================
   Lateral Hiring Section
=============================== */
.lateral-hiring {
  background: #fff;
  color: #000;
  padding: 52px 120px;
  }

.lateral-hiring-container {
  position: relative;
}

/* ===== Top Section ===== */
.lateral-hiring-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.lateral-hiring-text {
  flex: 1;
}

.lateral-hiring-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.lateral-hiring-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
  text-align: justify;
}

.learn-btn {
  background: #e50914;
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-btn:hover {
  background: #b1060f;
}

.lateral-hiring-image {
  flex: 1;
  text-align: right;
}

.lateral-hiring-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.lateral-hiring-image img:hover {
  transform: scale(1.05);
}

/* ===== Key Benefits ===== */
.lateral-hiring-benefits {
  margin-top: 40px;
}

.lateral-hiring-benefits h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.benefit-cards {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.lt-benefit-item {
  flex: 1;
  min-width: 250px;
}

.lt-benefit-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #e50914;
}

.lt-benefit-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lt-benefit-item p {
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}

/* ===============================
   Tablet (≤1024px)
=============================== */
@media (max-width: 1024px) {
  .lateral-hiring {
    padding: 70px 60px;
  }

  .lateral-hiring-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  /* Text Block */
  .lateral-hiring-text {
    order: 1;
    max-width: 700px;
  }

  .lateral-hiring-text h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }

  .lateral-hiring-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
  }

  /* Image */
  .lateral-hiring-image {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .lateral-hiring-image img {
    width: 85%;
    max-width: 420px;
    border-radius: 16px;
  }

  /* Button */
  .learn-btn {
    order: 3;
    margin-top: 10px;
    padding: 12px 26px;
  }

  /* Key Benefits */
  .lateral-hiring-benefits {
    order: 4;
    margin-top: 50px;
    text-align: center;
  }

  .lateral-hiring-benefits h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
  }

  .benefit-cards {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .lt-benefit-item {
    text-align: center;
    flex: 1;
    min-width: 240px;
  }

  .lt-benefit-item h4 {
    font-size: 1.6rem;
    color: #e50914;
  }

  .lt-benefit-item h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .lt-benefit-item p {
    font-size: 0.95rem;
    color: #555;
  }
}

/* ===============================
   Mobile (≤600px)
=============================== */
@media (max-width: 600px) {
  .lateral-hiring {
    padding: 35px 25px;
  }

  .lateral-hiring-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  /* Reorder for mobile layout */
  .lateral-hiring-text {
    order: 1;
  }

  .lateral-hiring-text h2 {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .lateral-hiring-image {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .lateral-hiring-image img {
    width: 90%;
    max-width: 300px;
    border-radius: 12px;
  }

  .lateral-hiring-text p {
    order: 3;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    color: #0d0f13;
    text-align: justify;
  }

  .learn-btn {
    order: 4;
    font-size: 0.9rem;
    padding: 10px 22px;
    margin-top: 10px;
  }

  /* === Benefits Section === */
  .lateral-hiring-benefits {
    order: 5;
    margin-top: 40px;
    text-align: center;
  }

  .lateral-hiring-benefits h3 {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
  }

  .benefit-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .lt-benefit-item {
    text-align: center;
    max-width: 280px;
  }

  .lt-benefit-item h4 {
    font-size: 1.3rem;
    color: #e50914;
  }

  .lt-benefit-item h5 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .lt-benefit-item p {
    font-size: 12px;
    line-height: 1.5;
    color: #222;
  }
}



/* ===============================
   Scoped CSS: Contract Staffing (cstaff-*)
   =============================== */

.cstaff-section {
  padding: 50px 120px;
  position: relative;
  background: url('../images/Frame\ 94\ \(3\).png') center/cover no-repeat;
   box-sizing: border-box;
}

/* container to isolate z-index / background overlays if needed later */
.cstaff-container {
  position: relative;
  z-index: 1;
}

/* Top row: text + image */
.cstaff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

/* Text column */
.cstaff-text {
  flex: 1;
  max-width: 60%;
}

.cstaff-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.cstaff-paragraph {
  margin: 0 0 22px 0;
  font-size: 16px;
  line-height: 1.8;
  color: #f0f0f0;
  text-align: justify;
}

/* CTA */
.cstaff-btn {
  background: #e50914;
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s ease, transform .18s ease;
}
.cstaff-btn:hover,
.cstaff-btn:focus{
  background: #b1060f;
  transform: translateY(-2px);
}

/* Image column */
.cstaff-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cstaff-image {
  width: 100%;
  max-width: 425px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform .4s ease;
  margin-bottom: -15%;
}

.cstaff-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cstaff-image:hover {
  transform: scale(1.05);
}

/* -- Benefits area -- */
.cstaff-benefits {
  margin-top: 24px;
}

.cstaff-benefits__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.cstaff-benefits__grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cstaff-benefit {
  flex: 1;
  min-width: 240px;
}

.cstaff-benefit__num {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #e50914;
}

.cstaff-benefit__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
}

.cstaff-benefit__desc {
  margin: 0;
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===============================
   Responsive: Tablet (≤1024px)
=============================== */
@media (max-width: 1024px) {
  .cstaff-section {
    padding: 70px 60px;
    background-position: center;
    background-size: cover;
  }

  .cstaff-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  /* Reorder for better flow */
  .cstaff-text {
    order: 1;
    max-width: 700px;
  }

  .cstaff-title {
    font-size: 1.9rem;
    margin-bottom: 15px;
  }

  .cstaff-paragraph {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 90%;
    margin: 0 auto 25px;
    text-align: justify;
    color: #f9f9f9;
  }

  .cstaff-image-wrap {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .cstaff-image {
    max-width: 420px;
    border-radius: 16px;
    margin-bottom: 0;
  }

  .cstaff-btn {
    order: 3;
    margin-top: 15px;
    padding: 12px 26px;
  }

  .cstaff-benefits {
    order: 4;
    margin-top: 50px;
    text-align: center;
  }

  .cstaff-benefits__title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 25px;
  }

  .cstaff-benefits__grid {
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .cstaff-benefit {
    text-align: center;
    flex: 1;
    min-width: 250px;
  }

  .cstaff-benefit__num {
    font-size: 1.6rem;
  }

  .cstaff-benefit__desc {
    font-size: 0.95rem;
  }
}


/* ===============================
   Responsive: Mobile (≤600px)
=============================== */
@media (max-width: 600px) {
  .cstaff-section {
    padding: 40px 25px;
    background-position: center;
  }

  .cstaff-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  /* Mobile Order: Heading → Image → Paragraph → Button → Benefits */
  .cstaff-text {
    order: 1;
    max-width: 100%;
  }

  .cstaff-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
  }

  .cstaff-image-wrap {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .cstaff-image {
    max-width: 320px;
    border-radius: 12px;
    margin-bottom: 0;
  }

  .cstaff-paragraph {
    order: 3;
    font-size: 14px;
    line-height: 1.6;
    max-width: 95%;
    margin: 12px auto 10px;
    text-align: justify;
    color: #f5f5f5;
  }

  .cstaff-btn {
    order: 4;
    font-size: 0.9rem;
    padding: 10px 22px;
    margin-top: 10px;
  }

  .cstaff-benefits {
    order: 5;
    margin-top: 35px;
    text-align: center;
  }

  .cstaff-benefits__title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
  }

  .cstaff-benefits__grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .cstaff-benefit {
    text-align: center;
    max-width: 280px;
  }

  .cstaff-benefit__num {
    font-size: 1.4rem;
  }

  .cstaff-benefit__title {
    font-size: 1rem;
  }

  .cstaff-benefit__desc {
    font-size: 13px;
    line-height: 1.6;
    color: #eee;
  }
}


/* === Scroll Animation Base Styles === */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }
