:root {
  --primary-color: #4d6a6d;
  --secondary-color: #71888a;
  --text-color: #fff;
  --dark-bg: #2b2a29;
  --animation-duration: 0.3s;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  margin-top: -100px;/*this is the new added line*/
  font-family: "Roboto", Arial, sans-serif;
  overflow-x: hidden;
}

.firm {
  position: relative;
  width: 100%;
  height: 60vh;
  margin-top: 80px;
  min-height: 300px;
  overflow: hidden;
  color: white;
  font-weight: 600;
  z-index: 1;
}

#bg-video {
  position: absolute;
  opacity: 60%;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.videotext {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.careers {
  font-size: 3.5rem;
  text-decoration: underline;
  color: #4d6a6d;
  text-decoration-color: #ffffff;
  text-underline-offset: 1rem;
  text-decoration-thickness: 0.2rem;
}

.para1,
.para2,
.para3 {
  margin: 4rem 6rem;
  font-weight: 530;
}

.para1 {
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.para2 {
  display: flex;
  gap: 2rem;
  font-size: 1.2rem;
}

.para2 ul {
  list-style: disc;
  padding-left: 2rem;
}

.rightpara {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.leftimg {
  width: 40%;
}

.leftimg img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.para3 {
  display: flex;
  font-size: 1.2rem;
  gap: 1rem;
}

.lefttext {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.lefttext ul {
  list-style: disc;
  padding-left: 2rem;
}

.rft {
  width: 40%;
}

.rft img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .para1,
  .para2,
  .para3 {
    margin: 3rem 4rem;
  }

  .careers {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .firm {
    height: 40vh;
    margin-top: 70px;
  }

  .para1,
  .para2,
  .para3 {
    margin: 2.5rem 3rem;
    font-size: 1.1rem;
  }

  .para2 {
    flex-direction: column;
  }

  .para3 {
    flex-direction: column-reverse;
  }

  .rightpara,
  .lefttext,
  .leftimg,
  .rft {
    width: 100%;
  }

  .leftimg img,
  .rft img {
    max-width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .careers {
    font-size: 2.5rem;
    text-underline-offset: 0.8rem;
  }
}

@media (max-width: 576px) {
  .firm {
    height: 35vh;
    margin-top: 60px;
  }

  .para1,
  .para2,
  .para3 {
    margin: 2rem 1.5rem;
    font-size: 1rem;
  }

  .careers {
    font-size: 2rem;
    text-underline-offset: 0.6rem;
    text-decoration-thickness: 0.15rem;
  }

  .lefttext ul {
    padding-left: 1.5rem;
  }

  .leftimg img,
  .rft img {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 400px) {
  .careers {
    font-size: 1.7rem;
  }

  .para1,
  .para2,
  .para3 {
    margin: 1.5rem 1rem;
  }
}
