/* Custom Properties */
:root {
  /* background colors & text colors */
  --color-1: #27ae60;
  --color-2: #2ecc71;
  --color-3: #f39c12;
  --color-4: #ecf0f1;
  --color-5: #3498db;
  --color-6: #2c3e50;
  --color-7: #c6e4d5;
}

a {
  display: block;
}

.contact {
  /* background-color: red; */
  padding-block: 120px 60px;
}

.flex {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 30px;
}

.flex :is(.our-contact, .send-message) {
  width: calc(50% - 30px);
  /* min-width: 360px; */
  min-height: 70vh;
  background-color: #fff;
  border-radius: 14px;
  padding: 30px;
  flex: 1;
  overflow: hidden;
}

.our-contact .section-title {
  font-size: 28px;
  font-weight: 800;
}

.our-contact p {
  /* white-space: pre; */
  font-size: 16px;
  color: #2c3e50;
  margin-block: 15px 50px;
}

.contact-link {
  width: 100%;
  max-width: 384px;
  height: 50px;
  display: flex;
  align-items: center;
  /* justify-content: first baseline; */
  gap: 10px;
  border: 1px solid var(--color-1);
  border-radius: 7px;
  color: var(--color-1);
  font-size: 18px;
  font-weight: 500;
  padding-left: 30px;
  transition: all 0.5s;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-link.green {
  background-color: var(--color-1);
  color: #fff;
  margin-left: 30px;
}

.contact-link.green:hover {
  opacity: 0.9;
}

.contact-link.green :nth-child(2) {
  text-decoration: underline;
}
.contact-link:not(:last-child) {
  margin-bottom: 20px;
}

.contact-link .img {
  width: 20px;
  height: 20px;
}

.our-contact .socials-list {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 60px;
  /* height: 400px; */
}

.our-contact .socials-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 10px;
  background-color: var(--color-1);
  transition: all 0.5s;
}
.our-contact .socials-list a:hover {
  opacity: 0.8;
}

.our-contact .socials-list a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flex .send-message {
  /* width: 100%; */
  /* height: 20px; */
}

/* Message us */
.form-fields {
  position: relative;
  display: grid;
  gap: 15px;
  width: 100%;
}
.input-field {
  /* width: 100px; */
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* background-color: red; */
}

.field-flex {
  display: flex;
  gap: 30px;
  min-width: 0;
}

.field-flex > div {
}

.field-flex .input-field {
  /* width: calc(50% -20px); */
}
.input-field label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.input-field input {
  height: 40px;
}

.input-field :is(input, textarea) {
  border: 1px solid #2c3e50;
  border-radius: 8px;
  padding-inline: 20px 10px;
  font: inherit;
}
.input-field textarea {
  padding-block: 10px;
}

.form-fields .submit {
  margin-top: 20px;
  width: 100%;
  height: 45px;
  background-color: var(--color-1);
  color: #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 500;
  transition: all 0.5s;
}
.form-fields .submit:hover {
  opacity: 0.9;
}

.form-fields .submit .img img {
  width: 20px;
  height: 20px;
}

@media (max-width: 991px) {
  .field-flex {
    flex-direction: column;
  }

  .contact-link {
    font-size: 15px;
  }
  .our-contact .section-title {
  }
  .our-contact p {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .flex {
    flex-direction: column;
  }
  .flex :is(.our-contact, .send-message) {
    width: 100%;
  }
}
