.contact-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-header p {
  color: #9ca3af;
  max-width: 42rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* .contact-card:nth-child(1), .contact-card:nth-child(2){
  background-color: rgba(255,255,255,.07);
  border: 1px solid #ffffff14;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
} */

.contact-card {
  background-color: rgba(255, 255, 255, .07);
  border: 1px solid #ffffff14;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.contact-otherdetails .contact-card {
  background-color: transparent;
  border: none;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #555;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-card .contact-icon-group {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.contact-card h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.contact-card p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.contact-icon-group .material-symbols-rounded {
  margin-right: 0.5rem;
}

/* Styling for Material Symbols Rounded icons */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.contact-icon {
  color: #fff;
}

.contact-link {
  color: #fff;
  font-size: 13px;
  background: #28282c;
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  gap: 8px;
  line-height: 32px;
  padding: 0px 12px;
  transition-property: border, background-color, color, box-shadow, opacity, filter, transform;
}

.contact-link svg {
  transition: transform 0.2s;
  height: 1rem;
  width: 1rem;
}

.contact-link:hover svg {
  transform: translateX(4px);
}


@media (min-width: 1024px) {
  .contact-header h1 {
    font-size: clamp(28px, 4.6vw, 40px);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 840px;
    margin: 0 auto;
  }

  .contact-otherdetails {
    padding: 0 32px;
    -moz-column-gap: 88px;
    column-gap: 88px;
    row-gap: 40px;
  }

  .contact_page_resources {
    max-width: 840px;
    margin: 80px auto 30px;
    display: grid;
    grid-gap: 24px;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    
  }
}
