: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;
}

.box1 {
  display: flex;
  gap: 2rem;
  margin: 6rem;
}

.text1 {
  width: 65%;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 530;
}

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

.pht1 {
  height: 20rem;
  width: auto;
  max-width: 100%;
}

.box2 {
  display: flex;
  flex-direction: row;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 6rem;
  gap: 4rem;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.h1 {
  font-size: 3rem;
  font-style: italic;
}

@media (max-width: 1200px) {
  .box1 {
    margin: 4rem;
    padding: 4rem;
  }

  .box2 {
    padding: 4rem;
  }
}

@media (max-width: 992px) {
  .box1 {
    flex-direction: column;
    margin: 3rem;
  }

  .text1 {
    width: 100%;
  }

  .pht1 {
    height: auto;
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }

  .box2 {
    flex-direction: column;
    gap: 2rem;
  }

  .col {
    gap: 2rem;
  }
}

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

  .careers {
    font-size: 2.5rem;
  }

  .box1 {
    margin: 2rem;
    padding: 2rem;
  }

  .box2 {
    padding: 2rem;
  }

  .h1 {
    font-size: 2.5rem;
  }
}

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

  .careers {
    font-size: 2rem;
    text-underline-offset: 0.5rem;
  }

  .box1 {
    margin: 1rem;
    padding: 1.5rem;
  }

  .box2 {
    padding: 1.5rem;
  }

  .text1 {
    font-size: 1.1rem;
  }

  .h1 {
    font-size: 2rem;
  }
}
