* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Kumbh Sans", sans-serif;
  box-sizing: border-box;
}

.navbar {
  background: linear-gradient(to left, #ffc800 0%, #ffc800 70%, #ff914d 100%);
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform 0.3s ease;
}
.navbar.hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 100px;
  z-index: 1;
  width: 100%;
  max-width: 1772px;
  margin: 0 auto;
  padding: 0 0.3px;
  flex: s;
  padding-left: 20px; /* add spacing */
  padding-right: 20px;
}

.navbar .brand {
  display: flex;
  align-items: center;
}

.navbar .brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.navbar .brand h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.navbar .brand p {
  font-size: 14px;
  margin: 0;
  color: #fff;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
}

.navbar__links {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
}

.navbar__links:hover {
  color: #545454;
  transition: all 0.8s ease;
}

@media screen and (max-width: 600px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 100px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;

    padding-left: 20px;
  }
  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 0;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
    background: #ffc800;
  }

  .navbar__menu.active {
    background: #ffc800;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 70vh;
    font-size: 1rem;
  }
  .navbar__menu,
  .navbar__menu.active {
    width: 100vw; /* full screen width */
    margin-left: -20px; /* cancels container padding-left */
  }

  #navbar_logo {
    padding-left: 25px;
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #fff;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }

  #mobile-menu {
    position: absolute;
    top: 47%;
    right: 5%;
    transform: translate(5%, 47%);
  }

  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }
  .navbar .brand h2 {
    font-size: 20px;
  }
}

.hero {
  padding: 0px 0 0px;
}
.hero-inner {
  text-align: center;
}
.hero-title {
  font-synthesis-style: "Abril Fatface";
  color: #737373;
  font-weight: 510;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 1.1;
  letter-spacing: -4px;
  margin: 0 18px;
  margin-bottom: 10px;
  margin-top: 150px;
}

.hero-title {
  margin-top: 200px; /* desktop spacing */
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  .hero-title {
    margin-top: 100px;
  }
}

.hero-sub {
  font-synthesis-style: "Abril Fatface";
  color: #737373;
  font-size: clamp(20px, 1.8vw, 14px);
  /*color:var(--ink-light);*/
  margin: 0 auto 36px;
  margin-top: 10px;
  max-width: 1920px;
  margin-bottom: 100px;
}

.button {
  background: none;
  font-size: 17px;
  border-radius: 25px;
  font-synthesis-style: "Abril Fatface";
  color: #737373;
  gap: 10px;
  border: 1px solid #ccc;
  padding: 12px 22px;
  margin-bottom: 200px;
}

.button:hover {
  background-color: #ffc800;
  color: #fff;
  transition: all 0.3s ease;
  border: 1.5px solid #ffc800;
}

.recruitment-training {
  padding: 100px 20px; /* smaller side padding */
  background-color: #fff;
  color: #737373;
  overflow-x: hidden; /* prevent horizontal scroll */
  width: 100%; /* ensure full width */
  box-sizing: border-box;
}

/* Main container */
.rt-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* better for stacked mobile view */
  gap: 30px; /* reduce gap for small screens */
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  width: 100%;
}

/* Left */
.rt-left {
  flex: 1;
  min-width: 350px;
}

.rt-left h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.rt-left p {
  font-size: 28px;
  color: #737373;
}

/* Right */
.rt-right {
  flex: 1;
  min-width: 350px;
  font-size: 22px;
  line-height: 1.5;
  max-width: 500px;
}

.rt-right strong {
  color: #555;
  font-weight: 700;
}

/* ------------------------------------------------------------- */
/* 📌 Small Laptops / Large Tablets (≤1200px) */
/* ------------------------------------------------------------- */
@media (max-width: 1200px) {
  .recruitment-training {
    padding: 90px 40px;
  }

  .rt-container {
    gap: 70px;
  }

  .rt-left h1 {
    font-size: 56px;
  }

  .rt-left p {
    font-size: 26px;
  }

  .rt-right {
    font-size: 20px;
  }
}

/* ------------------------------------------------------------- */
/* 📌 Tablets & iPads (≤900px) */
/* ------------------------------------------------------------- */
@media (max-width: 900px) {
  .rt-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .rt-left h1 {
    font-size: 48px;
  }

  .rt-left p {
    font-size: 22px;
  }

  .rt-right {
    font-size: 20px;
    text-align: left;
    margin: 0 auto;
  }
}

/* Base styles remain the same */

/* ---------------- Mobile Large (≤600px) ---------------- */
@media (max-width: 600px) {
  .recruitment-training {
    padding: 70px 20px; /* reduce padding */
  }

  .rt-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .rt-left h1 {
    font-size: 38px;
    word-break: break-word; /* ensures long words wrap */
    text-align: left;
  }

  .rt-left p {
    font-size: 18px;
    word-break: break-word;
    text-align: left;
  }

  .rt-right {
    font-size: 18px;
    max-width: 100%; /* make it full width */
    text-align: left;
    margin: 0 auto;
    word-break: break-word; /* wrap text */
  }

  .rt-right {
    flex: 1 1 100%; /* allow full width on small screens */
    min-width: 0; /* crucial: allows shrinking below 350px */
  }
  .button {
    font-size: 12px;
    margin-bottom: 100px;
  }
}

/* ---------------- Mobile Small (≤400px) ---------------- */
@media (max-width: 400px) {
  .rt-left h1 {
    font-size: 32px;
  }

  .rt-left p,
  .rt-right {
    font-size: 16px;
    max-width: 100%;
    word-break: break-word;
  }
}

.recruitment-advantage {
  padding: 100px 40px;
  background: #fff;
  text-align: center;
  color: #737373;
}

/* Header */
.advantage-header h2 {
  margin-top: 100px;
  font-size: 50px;
  font-weight: 700;
  color: #737373;
  margin-bottom: 10px;
}

.advantage-header p {
  font-size: 18px;
  color: #737373;
  margin-bottom: 60px;
}

@media (max-width: 600px) {
  .advantage-header h2 {
    margin-top: -60px;
    font-size: 40px;
  }
}

/* Top row (3 cards) */
.top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  justify-items: center;
  align-items: stretch;
}

/* Bottom row (2 cards centered) */
.bottom-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card styling */
.advantage-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  width: 100%;
  max-width: 300px;
  min-height: 220px; /* ✅ makes all cards equal height */
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional: Adjust min-height to fit your content balance */
.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon circle */
.advantage-icon {
  background-color: #ffc800;
  color: white;
  font-weight: 700;
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Text */
.advantage-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #737373;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 16px;
  color: #737373;
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .top-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bottom-row {
    flex-direction: column;
    align-items: center;
  }

  .advantage-card {
    text-align: center;
    min-height: auto;
  }

  .advantage-icon {
    margin: 0 auto 16px;
  }
}

.training-transition {
  padding: 100px 40px;
  background: #fff;
  color: #737373;
  max-width: 1800px;
  margin: 0 auto;
}

.transition-header {
  text-align: left;
  margin-bottom: 60px;
}

.transition-header h2 {
  margin-top: 100px;
  font-size: 45px;
  font-weight: 700;
  color: #737373;
  margin-bottom: 10px;
}

.transition-header p {
  font-size: 18px;
  color: #737373;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .training-transition h2 {
    margin-top: -60px;
    font-size: 30px;
  }
}

/* Timeline Layout */
.timeline {
  position: relative;
  margin-left: 40px;
  border-left: 2px solid #ffc800;
  padding-left: 40px;
}

/* Make the line end cleanly at the last circle */
.timeline-item:last-child::after {
  content: "";
  position: absolute;
  left: -42px; /* same as the line position */
  bottom: -7px;

  width: 2px;
  height: 20px; /* controls how far the line extends under the last circle */
  background: #fff; /* same color as background to "hide" the extra part */
}

.timeline h3 {
  text-align: left;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 40px;
  top: -6px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Yellow numbered circle */
.timeline-icon {
  background-color: #ffc800;
  color: white;
  font-weight: 600;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -59px; /* adjust until centered perfectly */
  top: 6px;
}

/* Text content beside circle */
.timeline-content {
  padding-left: 20px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #737373;
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 18px;
  color: #737373;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline {
    margin-left: 25px;
    padding-left: 30px;
    text-align: left;
  }

  .timeline-icon {
    left: -49px;
  }

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

  .timeline-content {
    padding-left: 10px;
  }
}

.scaleup-impact {
  text-align: center;
  padding: 80px 20px;
  background-color: #fff;
}

.scaleup-impact h2 {
  margin-top: 80px;
  font-size: 50px;
  font-weight: 700;
  color: #737373;
  margin-bottom: 10px;
}

.scaleup-impact p {
  font-size: 1.1rem;
  color: #737373;
  margin-bottom: 60px;
}

/* --- 2x2 layout --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px; /* row gap, column gap */
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-box {
  background: #fff;
  border-radius: 30px;
  padding: 25px 35px;
  box-shadow: 5px 8px 6px rgba(0, 0, 0, 0.1);
  color: #737373;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-box:hover {
  transform: translateY(-5px);
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.15);
}

/* --- Responsive adjustment for small screens --- */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .scaleup-impact h2 {
    margin-top: -60px;
    font-size: 30px;
  }
  .impact-box {
    font-size: 14px;
    padding: 15px 25px;
  }
}

.open-roles {
  padding: 80px 20px;
  background-color: #fff;
  text-align: left;
  max-width: 1300px;
  margin: 0 auto;
  color: #737373;
}

.open-roles h2 {
  margin-top: 80px;
  font-size: 2.8rem;
  color: #737373;
  margin-bottom: 10px;
}

.open-roles p {
  color: #737373;
  font-size: 1rem;
  margin-bottom: 40px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.filter-box {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  font-size: 1.5rem;
}

.filter-box label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #737373;
}

.filter-box select,
.filter-box input {
  border: 1px solid #999;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 1rem;
  color: #737373;
  outline: none;
  transition: border 0.2s ease;
}

.filter-box select:focus,
.filter-box input:focus {
  border-color: #ffb800; /* highlight accent color */
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* force 3 columns */
  gap: 30px;
  justify-items: center; /* center items within each column */
  min-height: 600px; /* adjust depending on how tall your cards are */
}

.role-card {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 25px 30px 60px; /* space for Apply Now button */
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 250px;
  color: #737373;
  width: 400px;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.highlight {
  background: yellow;
  padding: 0 2px;
}

.role-card h3 {
  font-size: 1.3rem;
  color: #737373;
  margin-bottom: 10px;
}

.role-card p {
  color: #737373;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tags span {
  border: 1px solid #aaa;
  border-radius: 25px;
  padding: 5px 12px;
  font-size: 0.85rem;
  color: #737373;
}

.apply-btn {
  position: absolute;
  bottom: 20px;
  right: 30px;
  color: #737373;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.apply-btn:hover {
  color: #ffc800; /* yellow accent hover */
}

/* Responsive */
.roles-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr); /* desktop */
  justify-items: center;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .roles-grid {
    grid-template-columns: 1fr;
  }
}

/* Card width should be flexible */
.role-card {
  width: 100%;
  max-width: 400px;
}

.path-roadmap {
  text-align: center;
  padding: 60px 20px;
}

.path-roadmap h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #737373;
}

.path-roadmap p {
  max-width: 850px;
  margin: auto;
  color: #737373;
  font-size: 16px;
}

.roadmap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.roadmap-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: crosshair;
  width: 550px;
}

.roadmap-image img {
  width: 100%;
  transition: transform 0.2s ease-out;
  transform-origin: center;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}

.button2 {
  background: none;
  font-size: 17px;
  border-radius: 25px;
  font-synthesis-style: "Abril Fatface";
  color: #737373;
  gap: 10px;
  border: 1.5px solid #999;
  padding: 12px 22px;
  margin-bottom: 200px;
  margin-top: px;
}

.button2:hover {
  background-color: #ffc800;
  color: #fff;
  transition: all 0.3s ease;
  border: 1.5px solid #ffc800;
}

footer {
  background: linear-gradient(to left, #ffc800 0%, #ffc800 70%, #ff914d 100%);
  color: white;
  padding: 3px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 150px;
}

/* Left side (logo + info) */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px;
  min-width: 200px;
}

.brand {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.brand img {
  width: 50px;
  height: 50px;
  margin-right: 12px;
}
.brand h2 {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: -1px;
}
.brand a {
  text-decoration: none;
  color: #fff;
  margin-top: 10px;
}
.brand p {
  margin: 0;
}

.info .item {
  margin-top: 18px;
  margin-bottom: 18px;
  text-align: left;
}
.copyright {
  margin-top: 18px;
  margin-bottom: 18px;
  text-align: left;
  font-size: 12px;
}
.info strong {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.info p {
  margin: 0;
}

/* Middle + Right side container */
.footer-middle {
  display: flex;
  gap: 30px; /* pagitan ng Help & FAQs at Let’s Connect */
  align-items: flex-start;
  margin: 10px;
  min-width: 200px;
}

/* Help & FAQs */
.footer-center h3 {
  margin-top: 1.1cm;
  font-size: 25px;
  margin-bottom: 17px;
  letter-spacing: -1px;
}
.footer-center a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 3px 0;
  font-size: 18px;
  text-align: start;
}
.footer-center a:hover {
  color: #737373;
}

/* Let’s Connect */
.footer-right h3 {
  font-size: 25px;
  margin-bottom: 15px;
  margin-top: 1.1cm;
}
.social-links a {
  display: flex;
  align-items: center;
  margin: 8px 0;
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.social-links a:hover {
  color: #737373;
}

.social-links img {
  width: 33px;
  height: 33px;
  margin-right: 8px;
}

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

/* ------------------------------- */
/* 📱 MOBILE - small phones (0–600px) */
/* ------------------------------- */
@media (max-width: 600px) {
  footer {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .footer-left,
  .footer-middle,
  .footer-center,
  .footer-right {
    width: 100%;
    margin: 10px 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand h2 {
    font-size: 20px;
  }

  p,
  .footer-center a,
  .social-links a {
    font-size: 14px;
  }

  .footer-center h3,
  .footer-right h3 {
    margin-top: 20px;
    font-size: 20px;
  }

  .social-links img {
    width: 28px;
    height: 28px;
  }
}

/* -------------------------------------- */
/* 📱📲 TABLET / iPad (600px–900px) */
/* -------------------------------------- */
@media (min-width: 600px) and (max-width: 900px) {
  footer {
    padding: 20px 35px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-left {
    width: 45%;
  }

  .footer-middle {
    width: 45%;
    gap: 20px;
  }

  .footer-center h3,
  .footer-right h3 {
    font-size: 22px;
  }

  .footer-center a,
  .social-links a {
    font-size: 16px;
  }

  p {
    font-size: 15px;
  }

  .brand img {
    width: 45px;
    height: 45px;
  }
}

/* ------------------------------------------------------ */
/* 💻 SMALL LAPTOPS (900px–1200px) */
/* ------------------------------------------------------ */
@media (min-width: 900px) and (max-width: 1200px) {
  footer {
    padding: 20px 50px;
    gap: 40px;
  }

  .footer-left,
  .footer-middle {
    transform: scale(0.95); /* shrink slightly so it doesn’t look cramped */
  }

  .footer-center h3,
  .footer-right h3 {
    font-size: 23px;
  }

  p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  p {
    font-size: 14px !important;
  }
}
