* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  /* 6.25% = 1 px  */
  /* 62.5% = 1 rem =  10 px  */
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

html body {
  overflow-x: hidden !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Here is our headings are defined  */

/* styles.css */

/* toast code  */

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 18px;
  display: none;
  opacity: 0.9;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.toast.success {
  background-color: green;
}
.toast.error {
  background-color: red;
}

.margin-tb {
  margin: 50px 0px;
}

.max-width {
  max-width: 85vw !important;
  margin: auto !important;
}

h1 {
  font-size: 5rem;
  font-weight: normal;
  color: black !important;
}

h2 {
  font-size: 5rem;
  font-weight: normal;
  color: black !important;
}

h3 {
  font-size: 3rem;
  font-weight: normal;
  color: black !important;
}

h4 {
  font-size: 2rem;
  font-weight: normal;
  color: black !important;
}

h5 {
  font-size: 1rem;
  font-weight: normal;
  color: black !important;
}

h6 {
  font-size: 0.5rem;
  font-weight: normal;
  color: black !important;
}

P {
  font-size: 1.5rem !important;
  color: gray !important;
}

span {
  color: #006aff !important;
  font-size: 1.5rem !important;
  font-weight: 550 !important;
}

::placeholder,
textarea{
  color: black !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Header  */

.down-arrow {
  font-size: 1.5rem !important;
  color: white !important;
  position: absolute;
  right: 5px;
  top: 40%;
  transform: translateY(-50%);
}

.header-image {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 0, 0) !important;
}

.header-content {
  display: flex;
  margin-top: 50px;
  gap: 20px;
  justify-content: space-between;
}

.left-text {
  width: 60%;
}

.right-icon {
  width: 40%;
}

.right-icon img {
  width: 100%;
  border-radius: 20px;
}

.header-content h2,
.header-content p {
  color: #ffffff !important;
}

.header-content h2 {
  font-size: 5rem !important;
  font-weight: bold !important;
  /* text-transform: uppercase !important; */
  letter-spacing: 2px !important;
  line-height: 1.2 !important;
}

.header-content p {
  width: 70% !important;
  line-height: 30px !important;
  font-size: 1.8rem !important;
  padding: 2rem 0;
  color: rgb(255, 255, 255) !important;
}

.button-hero {
  background: linear-gradient(45deg, #0bbeaa, #6ebf78) !important;
  color: rgb(0, 0, 0);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1.5rem;
  font-family: "Arial", sans-serif;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 20px 0px;
  font-weight: bold;
}

.button-hero:hover {
  transform: scale(1.05);
  -webkit-box-shadow: 1px 1px 27px -3px rgba(255, 255, 255, 1);
  -moz-box-shadow: 1px 1px 27px -3px rgba(255, 255, 255, 1);
  box-shadow: 1px 1px 27px -3px rgba(255, 255, 255, 1);
}

.button-hero .down-arrow {
  font-size: 1.8rem !important;
  transition: transform 0.3s ease;
  color: black !important;
  font-weight: bold;
}

.button-hero:hover .down-arrow {
  transform: translateY(2px);
}

.button-hero:focus {
  background: linear-gradient(45deg, #059887, #44bd52) !important;
}

/* background image and overlay */

.bg-img {
  width: 100vw;
  height: 100vh;
  background-image: url("images/career-page-sec-header-img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.upper-section {
  /* background-color: #006AFF; */
  width: 85vw;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
}

.upper-section p,
h3 {
  padding: 10px 0px;
}

.upper-section p {
  color: rgb(198, 198, 198) !important;
}

.f-row {
  margin-bottom: 20px;
}

.f-row .cbs-text {
  cursor: pointer;
  display: inline-block;
  color: white !important;
}

.half-line {
  width: 4%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 10px 0;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 5px;
}

.cbs-text:hover + .half-line {
  background-color: #006aff;
  width: 8%;
}

.main-row {
  padding: 20px;
  background-color: rgba(16, 16, 16, 0.8);
  border-radius: 15px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.main-row:hover {
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
  /* White glow effect on hover */
}

.main-row h3 {
  font-size: 2.3rem !important;
  color: white !important;
}

.inner-content {
  display: flex;
  /* Flexbox for layout */
  justify-content: space-between;
  /* Space between items */
  align-items: center;
  /* Center items vertically */
  gap: 10px;
  /* Gap between flex items */
}

.outline-btn {
  padding: 10px 20px;
  /* Button padding */
  background-color: transparent;
  /* Transparent background */
  color: #007bff;
  /* Blue text */
  border: 2px solid #007bff;
  /* Blue border */
  cursor: pointer;
  /* Pointer cursor */
  border-radius: 5px;
  /* Rounded corners */
  transition: box-shadow 0.3s ease;
  /* Smooth transition for hover effect */
}

.outline-btn:hover {
  box-shadow: 0 0 10px 2px rgba(0, 123, 255, 0.7);
  /* Blue glow effect on hover */
}

/* Submit Form and images */

.img-and-form-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin: 50px 0px;
}

.img-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.form-img {
  cursor: pointer;
}

.img-1 {
  rotate: 5deg;
  transition: all 1s ease;
  width: 415px;
}

.img-1:hover {
  rotate: 0deg;
}

.img-2 {
  rotate: -5deg;
  transition: all 1s ease;
  width: 415px;
}

.img-2:hover {
  rotate: 0deg;
}

.submit-your-application {
  display: flex;
  justify-content: center;
}

.submit-your-application h3 {
  margin: 100px 0px;
}

/* User Info */

.userinfo-container {
  width: 100%;
  background-color: #e1e1e1;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.userinfo-header {
  background: linear-gradient(45deg, #0bbeaa, #6ebf78) !important;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 2.5rem;
  font-weight: bold;
}

.userinfo-form {
  padding: 30px;
}

.userinfo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.userinfo-input {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.userinfo-input input,
.userinfo-input select {
  width: 100%;
  padding: 15px 15px 15px 10px;
  margin: 5px 0;
  border: 1px solid #ddd !important;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1.5rem !important;
  transition: border-color 0.3s ease;
  outline: none;
  background-position: right 10px center;
  background-repeat: no-repeat;
}

.fr {
  padding-left: 10px !important;
}


.userinfo-input input:focus,
.userinfo-input select:focus {
  box-shadow: 0 0 5px #0bbeaa;
}

.userinfo-file {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
}

.userinfo-apply-button {
  text-align: center;
}

.userinfo-apply-button button {
  padding: 12px 30px;
  background: linear-gradient(45deg, #0bbeaa, #6ebf78) !important;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.5rem;
  margin-top: 10px;
}

.userinfo-apply-button button:hover {
  background: linear-gradient(45deg, #059887, #44bd52) !important;
}

.active {
  background-image: url("images/up-arrow.webp");
  /* Small up arrow icon */
}

textarea {
  width: 100%;
  height: 150px;
  resize: none;
  box-sizing: border-box;
  padding: 10px;
  outline: none;
  border: 1px solid #ffffff;
  font-size: 1.5rem !important;
  margin-bottom: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif !important;
}

textarea:focus {
  box-shadow: 0 0 5px #0bbeaa;
}

/* aniamation  */

.left-text,
.right-icon {
  opacity: 0;
  position: relative;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.left-text {
  transform: translateX(-100%);
}

.right-icon {
  transform: translateX(100%);
}

.animate-left {
  transform: translateX(0);
  opacity: 1;
}

.animate-right {
  transform: translateX(0);
  opacity: 1;
}

/* Initial styles for both rows */
.row-1,
.row-2 {
  opacity: 0; /* Initially invisible */
  position: relative;
  transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

/* Row 1 animation: Slide in from the left */
.row-1 {
  transform: translateX(-100%); /* Start off-screen to the left */
}

.row-1-visible {
  transform: translateX(0); /* Move to original position */
  opacity: 1; /* Make fully visible */
}

/* Row 2 animation: Slide in from the right */
.row-2 {
  transform: translateX(100%); /* Start off-screen to the right */
}

.row-2-visible {
  transform: translateX(0); /* Move to original position */
  opacity: 1; /* Make fully visible */
}

@media (max-width: 1290px) {
  .img-section {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .img-and-form-container {
    flex-direction: column;
  }

  .img-section {
    flex-direction: row;
    justify-content: center;
  }

  .img-1,
  .img-2 {
    width: 50%;
  }

  .userinfo-container {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .header-content h2 {
    font-size: 4rem !important;
  }

  .header-content .yournext {
    font-size: 3rem !important;
  }

  .header-content p {
    font-size: 1.5rem !important;
    width: 100% !important;
  }

  .inner-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-image {
    height: auto;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
    margin-top: 100px;
  }

  .left-text {
    width: 100%;
  }

  .right-icon {
    width: 100%;
  }

  .right-icon img {
    margin-bottom: 50px;
  }
}

@media (max-width: 556px) {
  .header-content h2 {
    font-size: 2.5rem !important;
  }

  .right-icon img {
    width: 100%;
  }

  .upper-section p {
    font-size: 1.3rem !important;
  }

  .main-row h3 {
    font-size: 1.5rem !important;
  }
}
