@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat/static/Montserrat-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Ubuntu Sans";
  src: url("./fonts/Ubuntu_Sans/static/UbuntuSans-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Questrial";
  src: url("./fonts/Questrial-Regular.ttf") format("truetype");
}

:root {
  --background-color: black;
  --font-family-1: "Questrial", sans-serif;
  --font-family-2: "Montserrat", sans-serif;
  --font-family-3: "Ubuntu Sans", sans-serif;

  --hero-heading-font: 6rem;
  --hero-line-height: 90px;
  --hero-letter-spacing: -7px;

  --heading-color: rgb(129, 129, 129);
  --heading-font-size: 4.5rem;
  --heading-font-weight: 100;
  --heading-letter-spacing: -3px;
  --heading-line-height: 70px;

  --para-font-color: #7c7c7c;
  --para-font-size: 1.2rem;
  --para-letter-spacing: 0.3px;
  --para-line-height: 20px;

  --joke-para-color: #414040;
}
section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-3);
}

/* ============================== styling starts below ============================= */
.sec-1-body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
}

.sec-1-body-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 80%;
  z-index: 1;
}

.sec-1-heading h1 {
  margin-top: 200px;
  color: #b1b1b1;
  font-family: var(--font-family-3);
  font-weight: 400;
  font-size: clamp(1.5rem, 6vw, 6rem);
  line-height: var(--hero-line-height);
  letter-spacing: var(--hero-letter-spacing);
  width: 95%;
}

.sec-1-row2 {
  width: 90%;
  display: flex;
  justify-content: space-between;
}

.text-content {
  width: 43%;
}

.sec-1-subheading {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sec-1-subheading p {
  margin-top: 5px;
  font-family: var(--font-family-3);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--para-font-color);
  width: 100%;
  line-height: 20px;
}

.image-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  top: -200px;
}

.career-info .image-block img {
  width: 350px;
  mix-blend-mode: difference;
  filter: grayscale(100%);
  opacity: 0.2;
  z-index: -1;
  margin-bottom: 15px;
}

.sec-1-btn-link {
  width: 100%;
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.animated-button {
  font-family: var(--font-family-3);
}

.button-el {
  --duration: 0.4s; /* smoother timing */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 16rem;
  height: 3.5rem;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 3rem;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: background-color var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              color var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              border-color var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
}

.button-el:hover {
  background-color: #2b2b2b;
  color: #e7e7e7;
}

/* Move inner content */
.button-el > * {
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-el:hover > * {
  transform: translateX(-1rem);
}

/* ----- Text flip effect ----- */
.button-label-wrap {
  position: relative;
  display: inline-block;
  perspective: 800px;
  overflow: hidden;
  transform: translateX(10px);
  height: 1.3em; /* matches text size */
  line-height: 1.3em;
}

.inside-label {
  display: block;
  transform-origin: 50% 100%;
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.inside-label:nth-child(1) {
  transform: translateY(0) rotateX(0deg);
}

.inside-label:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%) rotateX(-90deg);
}

.button-el:hover .inside-label:nth-child(1) {
  transform: translateY(-100%) rotateX(90deg);
}

.button-el:hover .inside-label:nth-child(2) {
  transform: translateY(0) rotateX(0deg);
}

/* ----- Arrow movement with circle background ----- */
.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  z-index: 1;
  transform: translateX(1.5rem);
  opacity: 0;
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              opacity var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              background-color var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              color var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-arrow::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  width: 0;
  height: 100%;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  transition: left var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              opacity var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              width var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-el:hover .button-arrow {
  transform: translateX(0);
  opacity: 1;
  color: #000000;
}

.button-el:hover .button-arrow::before {
  left: 0;
  opacity: 1;
  width: 100%;
}

/* Icon */
.icon {
  display: inline-flex;
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              opacity var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-el:hover .icon {
  transform: translateX(-2.5rem);
  opacity: 0;
}

/* Reset */
.--pos-l svg,
.--pos-r svg {
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
}


/* ================================ SECTION 2 STYLE ======================= */
.sec-2-body {
  width: 95%;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: #0d0d0d;
  gap: 40px;
}

.second-body-wrapper {
  width: 98%;
  height: 95%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 50px;
  border: 1px solid #1a1919;
  border-radius: 30px;
  gap: 40px;
}

.sec-2-heading h2 {
  /* margin-top: 150px; */
  color: var(--heading-color);
  font-size: var(--heading-font-size);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: var(--heading-line-height);
  text-align: center;
  /* border: 1px solid blue; */
}

.sec-2-heading p {
  margin-top: 30px;
  font-family: var(--font-family-3);
  color: var(--para-font-color);
  font-size: var(--para-font-size);
  letter-spacing: var(--para-letter-spacing);
  line-height: var(--para-line-height);
  text-align: center;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.form-container form {
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  font-family: var(--font-family-1);
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 55%;
}

.input-wrapper {
  display: flex;
  gap: 50px;
}

.first-wrapper {
  width: 100%;
}

.select-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 200px;
  margin-bottom: 20px;
}

#first-one-dropdown {
  margin-left: -70px;
}

.select-selected {
  border-radius: 100px;
  padding: 10px 30px;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(10px);
  border: 2px solid #5c5c5c;
  color: #5c5c5c;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.select-items {
  width: 300px;
  position: absolute;
  background: rgb(29, 29, 29);
  color: #5c5c5c;
  border: 1px solid #5c5c5c;
  border-radius: 20px;
  top: 110%;
  left: -25%;
  right: 0;
  z-index: 99;
  display: none;
  overflow: hidden;
}

#dropdown2Display {
  width: 270px;
}

#hearDropdownItems {
  width: 110%;
  left: 0;
}

.select-items div {
  padding: 10px 30px;
  cursor: pointer;
  color: #5c5c5c;
}

.select-selected:hover,
.select-items div:hover {
  border-color: #747373;
  color: #969595;
}

.select-items div:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper input[type="number"] {
  border: none;
  border-bottom: 1px solid #383838;
  background: transparent;
  font-size: 1.2rem;
  width: 100%;
  outline: none;
  padding-top: 10px;
  padding-bottom: 3px;
  resize: none;
  color: #5c5c5c;
  font-family: var(--font-family-1);
}

.hear-about-wrapper {
  position: relative;
  width: 40%;
  font-family: var(--font-family-1);
  color: #5c5c5c;
}

.hear-about-us-dropdown .custom-dropdown {
  border: none;
  border-bottom: 1px solid #383838;
  background: transparent;
  font-size: 1.2rem;
  width: 110%;
  outline: none;
  padding-top: 10px;
  padding-bottom: 3px;
  color: #5c5c5c;
  font-family: var(--font-family-1);
  cursor: pointer;
}

.hear-about-us-dropdown .select-items div:hover {
  border-color: #747373;
  color: #969595;
}

.message-area {
  margin-top: 20px;
}

.message-area textarea {
  font-family: var(--font-family-1);
  border: none;
  border-bottom: 1px solid #383838;
  background: transparent;
  font-size: 1.2rem;
  width: 100%;
  outline: none;
  resize: none;
  color: #5c5c5c;
  line-height: 0.8;
  height: 20px;
}
.input-wrapper input::-webkit-outer-spin-button,
.input-wrapper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hear-about input[type="text"] {
  width: 30%;
}

.input-container textarea::-webkit-scrollbar {
  display: none;
}

.input-container textarea {
  scrollbar-width: none;
}

.input-container textarea {
  overflow: scroll;
}

.input-container input[type="email"] {
  width: 150% !important;
}

.form-container form ::placeholder {
  color: #5c5c5c;
  opacity: 1;
  font-size: 1.2rem;
  font-weight: 100;
  font-family: var(--font-family-1);
  letter-spacing: -1px;
}

.attachment-wrapper {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.attachment-label {
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid #383838;
  width: 100%;
  font-size: 1.2rem;
  color: #5c5c5c;
  cursor: pointer;
  gap: 10px;
}

.attachment-label i {
  font-size: 1rem;
  color: #5c5c5c;
}

.file-error {
  color: #ff0000;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

#fileStatus {
  margin-left: 8px;
  font-size: 0.9rem;
  color: #666;
}

#fileStatus.has-file {
  color: #4caf50;
  font-weight: bold;
}

.submit-button {
  width: 55%;
}

.career-form-button {
  background-color: #4e3cc8;
  padding: 16px 32px;
  border-radius: 32px;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 170px;
  outline: none;
  border: none;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.career-form-button:hover {
  background-color: #392a9e;
}

.career-form-button-text {
  transition: transform 200ms ease;
}

.career-form-button-text.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4, end) 900ms infinite;
  animation: ellipsis steps(4, end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

.career-form-button i {
  font-size: 1.2rem;
}

.career-form-button .icon-send {
  margin-right: 10px;
  transition: 400ms ease;
}

.career-form-button .icon-check {
  margin-right: 10px;
  opacity: 0;
  position: absolute;
  left: 60px;
  transform: translateY(-80px);
  transition: 200ms ease;
}

.notransition {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

@keyframes ellipsis {
  to {
    width: 20px;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 20px;
  }
}

.material-icons {
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
}


/* ========================================= Section 3 style ====================================== */
/* ===============================
   Section Body
================================= */
.sec-3-body {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.sec-3-body-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 85%;
}

.sec-3-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.sec-3-heading h2 {
  margin-top: 150px;
  color: var(--heading-color);
  font-size: var(--heading-font-size);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: var(--heading-line-height);
  width: 80%;
}

/* ===============================
   Cards Container
================================= */
.cards-container {
  width: 100%;
  margin-top: 30px;
  padding: 0.5rem 1.5rem;
  overflow: hidden;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 10px;
}

/* ===============================
   Individual Card
================================= */
.card {
  position: relative;
  width: 350px !important;
  height: 400px !important; 
  border: 2px solid transparent;
  border-radius: 50px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  font-family: var(--font-family-3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  border-color: #f88c18;
}

/* Dark overlay */
.card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 1;
  border-radius: 50px;
  left: 0;
  top: 0;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 0.8;
}

/* Card image */
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: 0;
}

/* Card content */
.card-content {
  display: none;
  position: absolute;
  z-index: 2;
  bottom: 50px;
  left: 30px;
}

.card:hover .card-content {
  display: block;
}

.card-heading {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #9e9e9e;
}

.card-heading span {
  position: relative;
}

.card-heading span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}

.card-content .job {
  display: flex;
  flex-direction: column;
  color: #9e9e9e;
  line-height: 15px;
  font-weight: 300;
  font-size: 1rem;
}
/* ===============================
   Swiper Integration (active <1366px)
================================= */
/* Medium Desktops (up to 1400px) */
@media (min-width: 1367px) and (max-width: 1440px) {
  .sec-1-heading h1 {
    margin-top: 150px;
    font-size: 4rem;
    line-height: 0.9;
    letter-spacing: -3px;
  }
  .text-content {
    width: 70%;
  }
  
  .sec-1-subheading p {
    font-size: 1.1rem;
    line-height: 0.9;
  }

  .career-sec-2 {
    height: 115vh;
  }
  .cards-wrapper {
    gap: 0; /* Swiper manages spacing */
    padding-left: 50px;
    justify-content: flex-start;
  }

  .swiper-slide {
    flex-shrink: 0;
    width: 350px !important;
    height: 400px !important;
    margin-right: 30px; /* space between slides */
  }

  .sec-3-heading {
    margin-top: 0;
    width: 90%;
  }

  .sec-3-heading h2 {
    margin-top: 0;
    font-size: 3.5rem;
    line-height: 0.9;
  }

  .input-container {
    width: 60%;
  }

  .button-label-wrap {
    height: 1.3em !important; /* slightly taller to fully hide first text */
  }

  /* optional: align better if needed */
  .inside-label:nth-child(1) {
    line-height: 1.2em !important;
  }

}

/* ------------------------------------ RESPONSIVENESS ------------------ */

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Standard Laptops (up to 1366px) */
@media screen and (max-width: 1366px) {

  .sec-1-heading h1 {
    margin-top: 100px;
    font-size: 4rem;
    line-height: 0.9;
    letter-spacing: -3px;
  }

  .text-content {
    width: 70%;
  }
  
  .sec-1-subheading p {
    font-size: 1rem;
    line-height: 0.9;
  }

  .career-sec-2 {
    height: 110vh;
  }

  .sec-2-body {
    height: 105vh;
  }

  .second-body-wrapper {
    padding-left: 0;
  }

  .cards-wrapper {
    gap: 0;
    padding-left: 50px;
    justify-content: flex-start;
  }

  .swiper-slide {
    flex-shrink: 0;
    width: 350px !important;
    height: 400px !important;
    margin-right: 30px;
  }

  .career-sec-2,
  .career-sec-3 {
    height: 120vh;
  }

  .input-container{
    width: 80%;
  }

  .submit-button {
    width: 80%;
  }

  .sec-3-body {
    height: auto;
    gap: 50px;
  }

  .sec-3-heading {
    margin-top: 0;
    width: 90%;
  }

  .sec-3-heading h2 {
    margin-top: 0;
    font-size: 3.5rem;
    line-height: 0.9;
  }
}

/* -------=========--------===========------------========== */

@media  screen and (max-width: 1024px) {
  
  .text-content {
    width: 80%;
  }
  .sec-1-subheading p {
    font-size: 0.9rem;
    line-height: 0.9;
  }

  .sec-1-heading h1 {
    font-size: 2.5rem;
    line-height: 0.9;
  }
  .career-sec-2 {
    height: 125vh;
  }

  .sec-2-body {
    height: 120vh;
  }

  .sec-2-heading h2 {
    font-size: 3rem;
  }

  .select-items div{
    font-size: 0.8rem;
  }

  .input-wrapper input[type="text"], 
  .input-wrapper input[type="email"], 
  .input-wrapper input[type="number"] {
    font-size: 1rem;
  }
  
  .form-container form ::placeholder {
    font-size: 1rem;
    letter-spacing: normal;
  }

  .hear-about-us-dropdown .custom-dropdown,
  .attachment-label {
    font-size: 1rem;
  }
  .submit-button {
    width: 90%;
  }

  .career-form-button {
    width: 140px;
  }

  .sec-3-heading {
    margin-top: 0;
    width: 100%;
  }

  .sec-3-body {
    gap: 100px;
  }

  .sec-3-heading h2 {
    font-size: 2.5rem;
  }
  .card {
    width: 280px !important;
    height: 350px !important;
  } 


}


@media screen and (max-width: 930px) {
  .input-container{
    width: 90%;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Small Laptops & Large Tablets (up to 1000px) */
@media screen and (max-width: 970px) {
 
}

@media screen and (max-width: 860px) {
 .image-block {
  display: none;
 }
}
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Tablets (up to 786px) */
@media (max-width: 786px) {

}

