.contact-title {
  margin: 0 auto 4rem;
  font-weight: bold;
  text-align: center;
}

.fa-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.fa-links {
  text-decoration: none;
  color:  #2C5B47;
  text-align: center;
  margin: 0 2rem;
}

@media (hover: hover) {
  .fa-links:hover {
    color: #007bff;
    transform: scale(1.05);
  }
}

.fa-links:focus,
.fa-links:active {
  color: #007bff;
}

.form-box {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.form-box input,
.form-box textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 0.6rem;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  box-sizing: border-box;
  color: #4E4138 !important;
}

.form-box button {
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.contact-text {
  text-align: center;
  margin: 0 auto 1.3rem auto;
  max-width: 450px;
}

.bio-img {
  width: 100%;
  max-width: 360px;
  margin: 0 0 2rem 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  object-fit: contain;
  z-index: 1;
}

/* .underlay {
  position: absolute;
  top: -80%;                  
  left: -40%;
  transform: rotate(-60deg); 
  width: 120%;            
  z-index: 0; 
} */

.form-message {
  display: none;
  max-width: 700px;
  margin: 0 auto 20px auto;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.4s ease-in-out;
  position: relative;
}

.form-message.success {
  background-color: #e9f8f0;
  color: #1a7f44;
  border: 1px solid #a8e5c1;
}

.form-message.error {
  background-color: #fdeaea;
  color: #a33a3a;
  border: 1px solid #f5b2b2;
}

@media (max-width: 1199px) {
  .contact-title {
    margin-bottom: 1rem;
  }
  .bio-img {
    display: block;
    margin: 0 auto 2rem auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
