@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  /* border: 1px solid red; */
}

html {
  scroll-behavior: smooth;
}

.main {
  height: 240px;
  position: relative;
  /* top: 160px; */
  width: 100%;
}

.main-heading {
  font-size: 80px ;
  margin: 0 auto;
  text-align: center;
  font-weight: 600;
  display: flex;
  justify-content: center;
  padding-bottom: 80px;
  padding-top: 160px;
  animation: fadeUp 1.8s;
  color: #b57600;
  background-color: rgba(51, 51, 51, 0.08);
}

/* BG PARTICLES */
canvas {
  display: block;
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
}

.count-particles {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  background: white;
  color: #d4af37;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}

#tsparticles canvas {
  filter: blur(0.2px) drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.company-info {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 70px 144px;
  background-color: white;
}

.company-info h4 {
  font-size: 40px;
}

.company-info p {
  text-align: justify;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.img-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 80px 8%;
  overflow: hidden;
  /* background-color: rgba(175, 123, 26, 0.1); */
  background-color: white;
  animation: fadeUp 2s ease;
}

.img-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* background design elements */

.bg-circle {
  position: absolute;
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(181, 118, 0, 0.25),
    rgba(181, 118, 0, 0.05)
  );
  border-radius: 50%;
  top: -50px;
  left: -60px;
  z-index: 0;
}

.bg-square {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 3px dashed rgba(181, 118, 0, 0.25);
  border-radius: 25px;
  right: -20px;
  bottom: -30px;
  transform: rotate(20deg);
}

/* image */

.img-box img {
  position: relative;
  width: 100%;
  /* max-width: 500px; */
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}

.img-box img:hover {
  transform: translateY(-10px);
}

/* content */

.content h2 {
  margin-bottom: 20px;
}

.content h2,
.why-choose-us h3,
.expertise-left h2,
.tools h2 {
  font-size: 48px;
}

.content p {
  text-align: justify;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

/* SECTION */

.join-team {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8% 70px;
}

/* TITLE AREA */

.left-content {
  width: 100%;
  max-width: 50vw;
  text-align: center;
  margin-bottom: 60px;
}

.left-content span {
  color: #b57600;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.left-content h2 {
  font-size:56px;
  color: #222;
  margin: 20px 0 10px;
  line-height: 1.2;
}

.left-content p {
  color: #666;
  line-height: 1.8;
}
.left-content h3 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #424242;
}
/* BENEFITS GRID */

.right-content {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* BENEFIT CARD */

.benefit-card {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
}

.benefit-card:hover {
  transform: translateY(-8px);
}

.benefit-top {
  display: flex;
  align-items: center;
  gap: 15px;
  /* margin-bottom: 15px; */
}

.benefit-top i {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(244, 239, 228);
  color: #b57600;
  border-radius: 50%;
  font-size: 32px;
}

.benefit-top h3 {
  margin: 0;
  font-size: 20px;
  color: #222;
}

.benefit-card p {
  margin-left: 80px;
  color: #666;
  line-height: 1.7;
}

/* APPLY SECTION */

.apply-section {
  padding: 70px 8%;
  background: rgb(252, 251, 248, 0.7);
}

.apply-container {
  max-width: 1000px;
  margin: auto;
  background-color: white;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.form-heading {
  text-align: center;
  margin-bottom: 40px;
}

.form-heading span {
  color: #b57600;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.form-heading h2 {
  font-size: 40px;
  margin: 15px 0;
  color: #222;
}

.form-heading p {
  color: #666;
  line-height: 1.7;
}

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.input-group input {
  width: 100%;
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #b57600;
  box-shadow: 0 0 10px rgba(107, 70, 2, 0.2);
}

.full-width {
  grid-column: span 2;
}

.apply-btn {
  grid-column: span 2;
  padding: 16px;
  border: none;
  background: #b57600;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  width: 20%;
  transition: 0.4s;
  justify-self: center;
}

.apply-btn:hover {
  transform: translateY(-5px);
  background: rgb(146, 95, 0);
}

.input-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 15px center;
  padding-right: 40px;
}
/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .main-heading {
    font-size: clamp(38px, 7vw, 60px);
    padding: 136px 24px 72px;
  }

  .apply-section {
    padding: 70px 15px;
  }

  .join-team {
    padding: 0 15px 70px; 
  }

  .company-info {
    padding: 70px 15px;
  }

  .company-info h4 {
    font-size: clamp(28px, 4.5vw, 42px);
  }

  .img-content {
    gap: 48px;
    padding: 70px 6%;
  }

  .left-content {
    max-width: 100%;
  }

  .right-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .apply-container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .main {
    height: auto;
    padding-bottom: 32px;
  }

  .main-heading {
    padding: 100px 20px 48px;
    font-size: clamp(32px, 9vw, 48px);
  }

  .company-info {
    padding: 40px 15px 0;
    gap: 12px;
  }

  .company-info h4 {
    font-size: clamp(24px, 6vw, 34px);
  }

  .company-info p {
    font-size: 15px;
  }

  .img-content {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 48px 6% 40px;
  }

  .img-box {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .bg-circle {
    width: 260px;
    height: 260px;
    top: -35px;
    left: -35px;
  }

  .bg-square {
    width: 130px;
    height: 130px;
    right: -10px;
    bottom: -20px;
  }

  .content h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .content p {
    font-size: 15px;
    text-align: left;
  }

  .left-content h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .left-content h3 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .right-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card p {
    margin-left: 0;
    margin-top: 12px;
  }

  .apply-section {
    padding: 40px 15px;
  }

  .apply-container {
    padding: 28px 10px;
    border-radius: 20px;
  }

  .form-heading h2 {
    font-size: 30px;
  }

  .apply-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .full-width,
  .apply-btn {
    grid-column: span 1;
  }

  .apply-btn {
    width: 60%;
  }
  .join-team {
    padding: 40px 15px;
  }
}

@media (max-width: 767px) {
  .company-info {
    padding: 40px 15px 0;
  }
 
  .left-content h2 {
    font-size: 26px;
  }
  .left-content {
    margin-bottom: 20px;
  }
  .apply-section{
    padding: 40px 15px;
  }
  .benefit-card{
    padding: 10px;
  }
  .benefit-top{
    flex-direction: column;
  }
  .benefit-top h3{
    font-size: 16px;
    text-align: center;
  }
  .benefit-top i{
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .right-content{
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .benefit-card p{
    text-align: center;
    font-size: 14px;
  }
}

@media (max-width: 543px) {
  .main-heading {
    padding: 100px 18px 40px;
    font-size: clamp(28px, 9vw, 38px);
  }

  .img-content {
    padding: 40px 6% 40px;
  }

  .bg-circle {
    width: 160px;
    height: 160px;
    left: -24px;
  }

  .bg-square {
    width: 100px;
    height: 100px;
  }

  .apply-btn {
    width: 100%;
  }
}