.contact .row {
  display: flex;
  align-items: start;
  justify-content: stretch;
  flex-direction: row-reverse;
  gap: 3rem;
  padding-bottom: 3rem;
}

.contact .row .left,
.contact .row .right {
  width: calc(50% - 3rem / 2);
}

.contact .row .right {
  min-height: 20rem;
  padding: 1rem;
  background-color: whitesmoke;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
}

.contact .row h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact .row p {
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact .row .left h3 {
  padding-top: 1rem;
}

.contact .row .left {
  height: 25rem;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
}

.contact .row .left .grid {
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  width: 100%;
}

.contact .row .left .grid .cell {
  width: calc(100% / 2 - 1rem / 2);
  padding: 0.5rem;
  border: 1px solid #e1e1e1;
  background-color: whitesmoke;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  border-radius: 4px;
}

.contact .row .left .grid .cell .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.contact .row .left .grid .cell .title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact .row .left .grid .cell .value {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  font-size: 0.9rem;
}

.contact .row .left .grid .cell svg {
  height: 1.4rem;
  fill: white;
}

.contact .row .left .socials {
  width: 100%;
  margin-top: auto !important;
  padding-top: 1rem;
  border-top: 1px solid #e1e1e1;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.contact .row .left .socials .title {
  font-weight: 600;
}

.contact .row .left .socials .icons {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.contact .row .left .socials .icons svg {
  height: 1.4rem;
  transition: all 0.3s ease;
}

.contact .row .left .socials .icons svg:hover {
  fill: var(--blue-color);
}

.contact .row .right form .mb {
  margin-bottom: 0.75rem;
}

.contact .row .right .input-row {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.contact .row .right .input-row .input-field {
  width: calc(100% / 2 - 1rem / 2);
}

.contact .row .right .input-field {
  padding: 0.7rem 1rem;
  background-color: white;
  border: 1px solid #e1e1e1a3;
  border-radius: 5px;
}

.contact .row .right form input,
.contact .row .right form textarea {
  border: none;
  outline: none;
  width: 100%;
  font-size: 1rem;
  background-color: transparent;
}

.contact .row .right form textarea {
  resize: vertical;
  height: 3.5rem;
}

.contact .row .right form button {
  padding: 0.8rem 1rem;
  cursor: pointer;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.contact .row .right form button:hover {
  transform: scale(1.03);
  background-color: transparent;
  color: var(--primary-color);
}

@media only screen and (max-width: 900px) {
  .contact .row {
    flex-direction: column;
    gap: 3rem;
  }

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

  .contact .row h3 {
    font-size: 1.2rem;
  }

  .contact .row .left .grid .cell {
    width: calc(100% / 2 - 1rem / 2);
    padding: 0.5rem;
    border: 1px solid #e1e1e1;
    background-color: whitesmoke;
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 0.5rem;
    border-radius: 4px;
  }
}

@media only screen and (max-width: 560px) {
  .contact .row h3 {
    font-size: 1.1rem;
  }

  .contact .row p {
    font-size: 14px;
  }

  .contact .row .left .grid .cell {
    width: 100%;
  }

  .contact .row .right .input-row {
    flex-direction: column;
  }

  .contact .row .right .input-row .input-field {
    width: 100%;
  }

  .contact .row .left {
    height: max-content;
    min-height: 32rem;
  }

  .contact .row .right form button {
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
  }
}
