.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: 1rem;
}

.contact-modal-content {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
  border: 1px solid var(--neutral-200);
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-400);
  transition: color 0.3s ease;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-modal-close:hover {
  color: var(--danger-color);
}

.contact-modal-content h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  text-align: center;
  font-weight: 700;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--neutral-600);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  width: 100%;
  padding: 0.5rem 0.75rem; 
  border: 1px solid #000; 
  border-radius: var(--radius-sm);
  font-size: 0.9rem; 
  transition: all 0.3s ease;
  line-height: 1.2; 
}


.form-group input:hover,
.form-group textarea:hover {
  box-shadow: 0 0 0 0.5px #000;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.5px #000;
}


.form-group textarea {
  resize: vertical;
  min-height: 80px; 
  padding: 0.6rem 0.75rem; 
}

.location-info {
  color: var(--neutral-500);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
}

.linkedin-icon {
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
}

.linkedin-icon:hover {
  color: #0A66C2;
  transform: scale(1.1);
}

.contact-submit-btn {
  padding: 0.6rem; 
  font-size: 1rem;
  font-weight: 600;
  background-color: #165DFF;
  color: white;
  border: none;
  border-radius: var(--radius-md); 
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light); 
  margin-top: 0.5rem;
  width: 100%;
}

.contact-submit-btn:hover {
  background-color: #0E42D2; 
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium); 
}

.contact-submit-btn:active {
  transform: translateY(0);
}

#contactStatus {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
