@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

html {
  scroll-behavior: smooth;
}

/* section-1 */
.section_1-Main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 1rem;
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
}

.Main-content {
  flex: 1;
  flex-direction: column;
  max-width: 100%;
}

.Main-content h1 {
  font-size: 2.3rem;
  font-weight: 500;
  font-family: "syne", sans-serif;
  margin-bottom: 1rem;
  color: #000;
  /* text-align: left; */
}

.Main-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-family: "poppins", sans-serif;
  color: #555;
  text-align: justify;
}

.open-positions-btn {
  display: inline-block;
  background-color: #0a1744;
  color: white;
  padding: 10px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-family: "poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

/* .open-positions-btn:hover {
    background-color: #152a6e;
  } */

.Main-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.Main-image img {
  max-width: 100%;
  height: 50vh;
  object-fit: cover;
  /* margin-top: -5rem; */
  margin-top: 2rem;
  background: none;
}

/* Arrow icon for the button */
.open-positions-btn::after {
  content: "↓";
  margin-left: 8px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .section_1-Main {
    flex-direction: column;
  }
  .Main-image {
    order: -1; /* Move image above content */
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
  }
  .Main-image img {
    width: 100%;
    margin-top: -1rem;
    object-fit: cover;
  }
  .Main-content {
    justify-content: center; /* Align heading and button to the center */
  }
  .heading {
    margin-right: 0; /* Remove the margin-right */
  }
  .open-positions-btn {
    margin-left: 0; /* Reset the margin-left to 0 */
  }
}

/* For tablet and larger screens */
@media (min-width: 768px) {
  .Main-content {
    text-align: left; /* Align heading to the left */
  }
}

@media (max-width: 900px) {
  .section_1-Main {
    /* flex-direction: column; */
    text-align: center;
    /* padding: 0; */
  }

  .Main-content {
    max-width: 100%;
    /* margin-top: -12rem; */
  }

  h1 {
    font-size: 36px;
  }
}
@media (min-width: 1400px) {
  .section_1-Main {
    max-width: 92%;
    margin: 0 3rem;
  }

  .Main-content h1 {
    font-size: 3rem;
  }
  .Main-content {
    padding-left: 2.5rem;
    margin-top: 7rem;
  }
}
