@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Poppins&display=swap");

h1,
h3,
h4,
h5,
a,
p,
li {
  font-family: Poppins;
  font-style: normal;
  font-weight: normal;
}

:root {
  --primary: #f05a2d;
  --secondary: #231854;
  --grey: #455a64;
  --green: #0b8502;
}

body {
  background: #fff8ea;
}

.primary {
  color: var(--primary) !important;
}

.secondary {
  color: var(--secondary) !important;
}

.grey {
  color: var(--grey) !important;
}

.green {
  color: var(--green) !important;
}

.bold {
  font-weight: bold !important;
}

.highlight {
  font-size: 24px !important;
}

.header a {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--primary);
}

.footer {
  background: var(--primary);
}

.footer h5 {
  font-size: 16px;
  line-height: 24px;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
}

.footer p {
  font-size: 11px;
  line-height: 16px;
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

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

.footer .social-icons a {
  margin-right: 20px;
}

.mainHeading {
  font-style: normal;
  font-size: 30px;
  line-height: 45px;
}

.mainHeading span {
  font-weight: 900;
  position: relative;
}

.mainHeadingUnderline {
  position: absolute;
  top: 100%;
  left: 0;
  background-repeat: no-repeat;
  background-image: url(/assets/jobedge/underline.png);
  background-size: contain;
  width: 100%;
  height: 100%;
}

.subHeading {
  font-size: 16px;
  line-height: 24px;
  padding-right: 20%;
  color: var(--grey);
}

.heading {
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 45px;
}

.homeMainImg {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("/assets/jobedge/illustration2.png");
}

.homeMainImgMobile {
  width: 100%;
  height: 280px;
}

.homeMainImgMobile div {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("/assets/comx21/home_main.png");
}

.googlePlayBtn {
  background: #000;
  font-size: 16px;
  border-radius: 8px;
  padding: 10px 35px;
  font-weight: 600;
}

.sec2 h3 {
  font-size: 30px;
  line-height: 45px;
  font-weight: 600;
}

.sec2 img {
  position: absolute;
  left: 5%;
  top: 0;
  height: 100%;
}

.takeTestBtn {
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  border-radius: 6.25px;
  border: 2px var(--primary) solid;
  padding: 10px 40px;
}

.takeTestBtn:hover {
  background: transparent;
  color: var(--primary);
}

.sec3 {
  margin-bottom: 130px !important;
}

.sec3 .head {
  height: 100px;
}

.secImg {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
}

.sec3Img {
  height: 150%;
  background-image: url("/assets/jobedge/sec3Img.png");
}

.sec3 .cards {
  width: 100%;
}

.sec3 .card {
  background: var(--primary);
  padding: 15px 30px;
  border: 3px var(--primary) solid;
  border-radius: 15px;
  color: white;
  width: 60%;
  cursor: pointer;
  margin: 20px 0;
  overflow: hidden;
  max-height: 80px;
  transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

.sec3 .card.active {
  max-height: 600px;
  background: transparent;
  color: var(--primary);
  padding: 30px 60px;
}

.sec3 .card h5 {
  margin: 0;
  font-weight: 500;
}

.sec3 .card p,
ul {
  font-size: 12px;
  line-height: 16px;
  color: var(--secondary);
  margin-bottom: 5px;
}

.sec3 .card .body {
  max-height: 0;
  overflow: hidden;
}

.sec3 .card.active .body {
  max-height: 100%;
}

.sec4 .head {
  height: 80px;
}

.sec4Img {
  height: 800%;
  background-image: url("/assets/jobedge/sec4Img.png");
}

.sec4 .cards {
  width: 100%;
}

.sec4 .card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 50%;
  margin: 20px 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in;
}

.sec4 .card.active {
  max-height: 100%;
}

.sec4 .card h1 {
  margin: 0;
  /* font-size: 250px; */
  font-size: 180px;
  line-height: 250px;
  font-weight: 500;
  color: var(--secondary);
}

.sec4 .card h5 {
  margin: 0;
  /* font-size: 80px; */
  font-size: 70px;
  font-weight: 500;
  text-decoration: underline;
  margin-bottom: 5px;
  cursor: pointer;
}

.sec4 .card.active h5 {
  font-size: 15px;
}

.sec4 .card p,
ul {
  font-size: 12px;
  line-height: 16px;
  color: var(--secondary);
  margin-bottom: 5px;
}

.sec4 .card ul {
  padding-left: 20px;
}

.sec5 .head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 250px;
}

.sec5Img {
  height: 150%;
  background-image: url("/assets/jobedge/sec5Img.png");
}

.sec5 .cards {
  width: 100%;
}

.sec5 .col {
  transition: height 0.3s ease-in, max-width 0.3s ease-in;
}

.sec5 .card {
  background: var(--primary);
  color: white;
  border: none;
  padding-top: 100%;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;
  height: 0;
  transition: padding 0.3s ease-in, height 0.3s ease-in;
}

.sec5 .card.active {
  background: transparent !important;
  border: 5px var(--primary) solid;
  color: var(--primary);
  height: 600px;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
}

.sec5 .card.hidden {
  height: 0;
  width: 0;
  border: none;
  padding: 0;
}

.sec5 .card .body {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
}

.sec5 .card.active .body {
  width: 90%;
  top: 10%;
  left: 5%;
  transform: none;
}

.sec5 .card .body h5 {
  font-weight: 600;
  margin-bottom: 20px;
}

.sec5 .card .body p {
  font-size: 14px;
  color: var(--secondary);
}

.sec5 .card .body ul {
  font-size: 12px;
  line-height: 16px;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.sec5 .card .arrow {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  background-image: url("/assets/jobedge/arrowDown.png");
}

.sec5 .card.active .arrow {
  right: 2%;
  background-image: url("/assets/jobedge/arrowUp.png");
}

.sec6 .head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 200px;
}

.sec6Img {
  height: 80%;
  background-image: url("/assets/jobedge/sec6Img.png");
}

.sec6 .cards {
  width: 100%;
}

.sec6 .card {
  background: transparent;
  border: none;
  color: var(--secondary);
  margin: 10px 0;
  cursor: pointer;
}

.sec6 .card h5 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  margin: 0;
}

.sec6 .card ul {
  font-size: 12px;
  line-height: 18px;
  width: 80%;
}

.sec6 .card .icon {
  font-size: 24px;
  line-height: 36px;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec6 .card .icon p {
  margin: 0;
  padding: 0;
}

.tac .body {
  font-size: 12px;
  line-height: 18px;
  color: var(--secondary);
}

.tac .body li {
  margin-bottom: 10px;
}

.tacImg {
  height: 100%;
  background-image: url("/assets/jobedge/tacImg.png");
}

@media (min-width: 992px) and (max-width: 1200px) {
  .sec4 .card h1 {
    font-size: 140px;
  }

  .sec4 .card h5 {
    font-size: 62px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .sec4 .card h1 {
    font-size: 115px;
  }

  .sec4 .card h5 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .mainHeading {
    font-size: 24px;
    line-height: 36px;
  }

  .mainHeadingUnderline {
    background-image: url(/assets/jobedge/underline2.png);
  }

  .subHeading {
    padding: 0;
    color: var(--secondary);
  }

  .homeMainImg {
    height: 35vh;
  }

  .sec2 h3 {
    font-size: 26px;
    line-height: 38px;
  }

  .sec2 img {
    height: 60%;
  }

  .heading {
    font-size: 23px;
    line-height: 34px;
  }

  .secImg {
    height: 30vh;
    background-position: center;
  }

  .sec3 .head {
    height: auto;
  }

  .sec3 .cards {
    padding: 10px;
  }

  .sec3 .card {
    width: 100%;
    padding: 15px 20px;
  }

  .sec3 .card.active {
    padding: 30px 30px;
  }

  .sec3 .card h5 {
    font-size: 16px;
  }

  .sec4 .card {
    width: 100%;
  }

  .sec4 .card h1 {
    font-size: 110px;
    line-height: 180px;
  }

  .sec4 .card h5 {
    font-size: 45px;
    font-weight: bold;
  }

  .sec4 .card div:first-child {
    width: 25%;
  }

  .sec5 .head {
    height: auto;
  }

  .sec5 .card.active {
    height: 100%;
  }

  .sec5 .card.active .body {
    position: initial;
  }

  .sec5 .card .arrow {
    right: 3%;
    bottom: 3%;
    width: 20px;
    height: 20px;
  }

  .sec5 .card .body h5 {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
  }

  .sec5 .card.active .arrow {
    right: 10px;
    bottom: 10px;
  }

  .sec5 .col {
    padding: 0 10px;
  }

  .sec6 .head {
    height: 80px;
  }

  .sec6 .card h5 {
    color: var(--primary);
    margin-top: 10px;
  }

  .sec6 .card ul {
    width: 100%;
    margin-top: 10px;
  }

  .tac .head {
    height: 80px;
  }

  .tac ol {
    padding-left: 15px;
    font-size: 14px;
    line-height: 21px;
  }

  .order1 {
    order: 1;
  }

  .order2 {
    order: 2;
  }

  #dottedLine {
    display: none;
  }
}

#dottedLine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
}

/* ============================================
   CAREERS PAGE NAVBAR - Consistent with Corporates & Home
   ============================================ */
.careers-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: relative;
  z-index: 100;
  background: #fff8ea;
}

@media (max-width: 968px) {
  .careers-navbar {
    padding: 15px 20px;
  }
}

.careers-logo {
  height: 55px;
  width: auto;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .careers-logo {
    height: 40px;
  }
}

/* Desktop Navigation Links */
.careers-nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

@media (max-width: 968px) {
  .careers-nav-links {
    display: none;
  }
}

.careers-nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1A1A1A;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.careers-nav-link:hover {
  color: var(--primary);
}

.careers-nav-link-active {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* Navigation Actions (Desktop) */
.careers-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 968px) {
  .careers-nav-actions {
    display: none;
  }
}

.careers-login-btn {
  background: transparent;
  border: none;
  color: #1A1A1A;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.careers-login-btn:hover {
  color: var(--primary);
}

.careers-account-btn {
  background: transparent;
  border: 1.5px solid #1A1A1A;
  color: #1A1A1A;
  padding: 10px 24px;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.careers-account-btn:hover {
  background: #1A1A1A;
  color: white;
}

/* Mobile Menu Toggle */
.careers-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 101;
}

@media (max-width: 968px) {
  .careers-mobile-toggle {
    display: flex;
  }
}

.careers-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #1A1A1A;
  transition: all 0.3s ease;
}

.careers-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.careers-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.careers-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.careers-mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff8ea;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

@media (max-width: 968px) {
  .careers-mobile-menu {
    display: flex;
  }
}

.careers-mobile-menu.open {
  max-height: 400px;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.careers-mobile-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1A1A1A;
  padding: 12px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.careers-mobile-link:hover {
  color: var(--primary);
}

.careers-mobile-link-active {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 0;
}

.careers-mobile-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 8px 0;
}