@media (max-width: 868px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .c-card {
    min-height: auto;
  }

  h1 {
    font-size: 1.8em;
  }

  .contact-container {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    flex-direction: column;
    padding: 0;
  }

  .left,
  .right {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    padding-left: 1rem;
  }

  .left {
    height: auto;
    background: linear-gradient(to top, #ffffff, #e29fcc);
  }

  .right {
    height: auto;
    background: linear-gradient(to bottom, #9c3d7d, #ff543e);
  }

  .right img {
    max-width: 100%;
    height: auto;
  }

  .left #name {
    margin-top: 8rem;
  }

  .left button {
    width: 30%;
    margin-top: 2rem;
    font-size: 14px;
  }

  .left-button {
    font-size: 14px;
  }

  .contact-grid {
    width: 95%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }

  .c-card {
    width: 100%;
  }

  .social-icons {
    display: flex;
    justify-items: flex-start;
    /* flex-direction: column; */
    flex-wrap: wrap;
  }

  .social-icon {
    width: 16px;
  }
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .full-width,
  .contact-form textarea,
  .contact-form button {
    grid-column: span 1;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .card-header h2 {
    font-size: 1.3em;
  }

  .card-header i {
    font-size: 1.5em;
  }

  .card-content p,
  .social-item span {
    font-size: 1rem;
  }

  .social-item {
    justify-content: center;
  }
}

@media (min-width: 425px), (min-width: 375px) {
  #name {
    font-size: 1rem;
    width: 250px;
  }

  #name img {
    width: 20px;
    height: 20px;
  }
  .contact-grid {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 320px) {
  .left h2 {
    font-size: 25px;
  }

  #content {
    font-size: 16px;
  }

  .contact-grid {
    width: 100%;
    justify-content: center;
  }

  #name {
    font-size: 0.9rem;
    width: 170px;
  }

  #name img {
    width: 18px;
    height: 18px;
  }
}
