/* main */
#main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    /* background-image: linear-gradient(to top, rgb(3, 54, 86), rgb(0, 27, 44)); */
    gap: 20px;
    box-sizing: border-box;
    text-align: center;
    background-image: url("../../images/law_office_img.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

#main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 11, 17, 0.8);
  z-index: 1;
}

#main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  background: #f3f3f3; /* צבע הסקשן הבא */
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  z-index: 2;
}

@media (max-width: 1300px) {
  #main::after {
    height: 20px;
  }
}

#headers {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  font-family: 'Heebo', sans-serif;
  padding: 50px 30px;
  z-index: 1000;
}

#headers h1 {
  font-weight: 800;
  font-size: clamp(35px, 3vw, 60px);
  margin: 0;
  color: rgb(235, 235, 235);
}


#headers h2 {
  font-size: clamp(30px, 3vw, 40px);
  color: #ffd76a;
  font-weight: 800;
}

#headers h3 {
  font-weight: 300;
  font-size: clamp(24px, 3vw, 30px);
  color: white;
}

#ctaMain {
    display: block;
    text-align: center;
    border: none;
    border-radius: 10px;
    padding: 20px;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    margin-top: 30px;
    cursor: pointer;
    color: rgb(0, 27, 44);
    width: 100%;
  background: linear-gradient(
    135deg,
    #6b4a0a,
    #c9a23f,
    #f5e3a2,
    #c9a23f,
    #6b4a0a
  );
  transition: all 0.35s ease;
}

#ctaMain:hover {
  background: linear-gradient(
    135deg,
    #7a550f,
    #d6b24c,
    #fff0c6,
    #d6b24c,
    #7a550f
  );
}