.contact-form-section {
  display: flex;
  background: #fff;
  padding: 100px;
  gap: 20px;
  justify-content: space-around;
  border-radius: 30px;
  overflow: hidden;

  .right-container {
    flex: 1 1 0%;
    max-width: 500px;

    .pre-title {
      color: #838383;
      font-weight: 400;
      font-size: 14px;
    }

    .title {
      font-size: 40px;
      font-family: "Quicksand", sans-serif;
      font-optical-sizing: auto;
      font-weight: 500;
      font-style: normal;
      margin-top: 20px;
    }
    .details {
      font-family: "Quicksand", sans-serif;
      font-optical-sizing: auto;
      font-weight: 200;
      font-style: normal;
      font-size: 19px;
      margin-top: 41px;
      color: #6f6f6f;
    }

    .action-container {
      margin-top: 50px;

      a {
        color: #000000;
        border: 1px solid #c1c1c1;
        border-radius: 25px;
        padding: 10px 20px;
        text-decoration: none;
        transition: background-color 0.4s ease, color 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 165px;
      }
    }
  }

  .left-container {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    max-width: 50%;

    .left-main-image {
      border-radius: 30px;
      width: 100%;
      filter: grayscale(0.5);
      max-width: 720px;
    }
  }

  .image-container {
    display: flex;
    margin-top: 50px;
    gap: 20px;
    flex-wrap: wrap;

    div {
      position: relative;

      img {
        width: 50px;
        filter: grayscale(0.8);
        border-radius: 35px;
        transition: 0.3s;

        &:hover {
          filter: grayscale(0);
        }
      }
    }
  }
}

.contact-hero {
  display: flex;
  width: calc(100vw - 215px);
  padding: 130px 100px;
  color: #fff;
  column-gap: 10rem;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  .video-background {
    position: absolute;
    top: 0px;
    opacity: 0.1;
    z-index: 0;
    filter: grayscale(30%);
    min-height: 100%;
    width: 100%;
  }

  .left-container {
    width: 30%;
    z-index: 1;

    .pre-title {
      font-size: 14px;
      font-weight: 400;
      font-size: 14px;
    }

    .title {
      font-size: 40px;
      margin-top: 20px;
    }
  }

  .details {
    z-index: 1;
    font-weight: 500;
    font-size: 15px;
    width: 36%;
    color: #b5b5b5;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }
  .contact-hero-links {
    z-index: 1;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    font-size: 30px;

    a {
      color: #808080;
      cursor: pointer;
      transition: color 0.4s linear;
      display: flex;
      align-items: center;
      text-decoration: none;

      span {
        border: 1px solid #ccc;
        border-radius: 20px;
        margin-right: 20px;
      }

      &:hover {
        color: #fff;
      }
    }
  }
}

.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h1 {
  font-size: 14px;
  font-weight: 400;
  font-size: 14px;
}

.contact-info p {
  font-size: 30px;
  margin-top: 20px;
}

.contact-map {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  height: 400px;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.form-group span {
  color: red;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #f4f4f4;
  border-radius: 5px;
  outline: none;
  transition: border 0.2s ease;
  box-sizing: border-box;
  background: #f9f9f9;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #000000;
}

.btn-submit {
  background: #181619;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #000000;
}

.contact-details {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-weight: 100;
  font-size: 18px;
  color: #aeaeae;
  font-style: normal;
  gap: 1rem;
}

.contact-details a {
  color: #aeaeae;
  text-decoration: none;
}
.contact-details a:hover {
  color: #fff;
}

.contact-map {
  border-radius: 1rem;
  max-width: 50%;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .contact-hero {
    width: calc(100% - 20px);
    padding: 5vh 10px;
    flex-direction: column;
    align-items: flex-start;

    .home-caption {
      font-size: 22px;
      text-align: center;
      height: 20vh;
    }

    .left-container {
      width: 100%;

      .title {
        font-size: 28px;
        margin-top: 20px;
        margin-bottom: 20px;
      }
    }
    .details {
      width: 100%;
    }

    .contact-hero-links {
      font-size: 20px;
      margin-top: 30px;
    }

    .video-background {
      display: none;
    }
  }

  .contact-form-section {
    padding: 80px 10px;
    flex-direction: column;
    z-index: -1;
    position: relative;

    .left-container {
      max-width: 100%;
      z-index: -1;
      opacity: 0.2;
      height: auto;
    }
    .right-container {
      .title {
        font-size: 25px;
        margin-top: 15px;
      }
      .details {
        font-size: 18px;
        margin-top: 20px;
      }
    }
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info p {
    font-size: 22px;
  }

  .contact-map {
    max-width: 100%;
    margin-top: 3rem;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
}
