* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.contact-section {
  background: rgba(186, 210, 238, 1);
  padding: 60px 40px;
  border-radius: 0 0 40px 40px;
  margin: 0 20px 20px;
}

.contact-container {
  max-width: calc(100% - 40px);
  margin: 0 auto;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LEFT */
.contact-left {
  width: 80%;
}

.contact-left h1 {
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
}

.image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image-wrapper img {
  max-width: 750px;
  height: auto;
  margin-top: -120px;
  margin-bottom: -90px;
  margin-right: -120px;
}

/* RIGHT */
.contact-right {
  width: 35%;
}

.contact-form {
  background: rgba(186, 210, 238, 1);
  border-radius: 35px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 14px;
  color: #6b6b6b;
  padding-left: 10px;
}

.form-group input {
  width: 100%;
  height: 45px;
  padding: 0 20px;
  border-radius: 30px;
  border: none;
  outline: none;
  font-size: 14px;
  background: #ffffff;
}

.submit-btn {
  margin-top: 40px;
  align-self: center;
  padding: 14px 50px;
  border-radius: 30px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

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

/* TABLETS & BELOW (≤1024px) */
@media (max-width: 1024px) {

  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left h1 {
    text-align: center;
  }

  .image-wrapper img {
    margin: 0;
    max-width: 500px;
  }

  .contact-form {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* TABLET PORTRAIT (≤768px) */
@media (max-width: 768px) {

  .contact-section {
    padding: 40px 20px;
  }

  .contact-left h1 {
    font-size: 40px;
  }

  .image-wrapper img {
    max-width: 350px;
  }

  .contact-form {
    padding: 32px 28px;
  }
}

/* LARGE MOBILES (≤600px) */
@media (max-width: 600px) {

  .contact-section {
    padding: 30px 10px;
  }

  .contact-left h1 {
    font-size: 40px;
  }

  .image-wrapper img {
    max-width: 420px;
  }

  .form-group input {
    height: 44px;
  }

  .submit-btn {
    padding: 13px 44px;
  }
}

/* SMALL MOBILES (≤480px) */
@media (max-width: 480px) {

  .contact-left h1 {
    font-size: 40px;
  }

  .image-wrapper img {
    max-width: 350px;
  }

  .contact-form {
    padding: 28px 22px;
    border-radius: 30px;
  }

  .form-group label {
    font-size: 13px;
  }
}

/* VERY SMALL DEVICES (≤360px) */
@media (max-width: 360px) {

  .contact-left h1 {
    font-size: 22px;
  }

  .image-wrapper img {
    max-width: 300px;
  }

  .form-group input {
    height: 42px;
    font-size: 13px;
  }

  .submit-btn {
    padding: 12px 36px;
    font-size: 15px;
  }
}

/* NEST HUB MAX (1280 x 800) */
@media (min-width: 1100px) and (max-height: 850px) {

  .contact-container {
    align-items: center;
    gap: 20px;
  }

  .contact-left {
    width: 60%;
  }

  .contact-right {
    width: 40%;
  }

  .contact-left h1 {
    font-size: 40px;
  }

  .image-wrapper img {
    max-width: 600px;
    margin-top: -30px;
    margin-bottom: -80px;
    margin-right: -60px;
  }

  .contact-form {
    max-width: 420px;
  }
}
