/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3rem 2.5rem;
  border-radius: 12px;
}

.contact-form-wrapper h2, .contact-info-wrapper h2 {
  font-size: clamp(1.4rem, 2.5vw + 0.6rem, 2rem);
  color: white;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #5AA678;
  outline: none;
  box-shadow: 0 0 0 4px rgba(90, 166, 120, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 81, 73, 0.6);
  box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.15);
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: rgba(248, 81, 73, 0.9);
  margin-top: 4px;
  min-height: 1rem;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: rgba(46, 160, 67, 0.6);
}

.submit-btn {
  padding: 1.2rem;
  background: #1E8C5A;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
  background: #166840;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: left;
  transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-info-card:hover {
  background: rgba(90, 166, 120, 0.07);
  border-color: rgba(90, 166, 120, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.info-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #5AA678;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  color: #5AA678;
  margin-bottom: 1rem;
}

.contact-info-card p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.7;
}

.contact-info-card a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-card a:hover {
  color: #5AA678;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.social-link:hover {
  background: rgba(90, 166, 120, 0.25);
  color: #5AA678;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.contact-content {
  padding: 6rem 0;
  background: transparent;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  /* --- Contact --- */
  .contact-content {
    padding: 2.5rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .contact-info-card {
    padding: 1.4rem;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

.info-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke-width: 1.5;
}

