.career-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.magicpattern {
  flex: 1 1 580px;
  /* background: #f5f9ff; */
  border-radius: 25px;
  padding: 3rem 2.5rem 3rem 3rem;
  position: relative;
}

.magicpattern img {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.career-info {
  position: relative;
  z-index: 1;
}

.career-at {
  margin-bottom: 25px;
  font-size: 30px;
  font-weight: 700;
  color: #b60000;
  text-align: center;
}

.career-at::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border-radius: 10px;
}

.career-heading {
  font-size: 1.7rem;
  font-weight: 600;
  color: #8B0000;
  margin-bottom: 1rem;
  text-align: center;
}

.career-subheading {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e93c3c;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.career-para {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.cv{
  font-size: 18px;
}

/* Right Image Styling */
.join-us-img {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.join-us-img img {
  max-width: 90%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .career-info-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .magicpattern {
    padding: 2rem;
  }

  .career-at,
  .career-heading,
  .career-subheading,
  .career-para {
    text-align: center;
  }

  .btn-career {
    text-align: center;
  }

  .join-us-img img {
    margin-top: 2rem;
    max-width: 80%;
  }
}
