/* Smooth fade-in animation for the page */
body {
  animation: fadeIn 1.2s ease-in-out;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #e0f7fa
  ); /* Gradient from white to blue */
  background-size: cover; /* Ensures the gradient covers the entire viewport */
  background-attachment: fixed; /* Prevents the gradient from scrolling */
  margin: 0;
  height: 100vh; /* Ensures the gradient spans the full viewport height */
}

/* Contact Page Styling */
.contact-container {
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  background-color: #f9f9f9; /* Light background for contrast */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.contact-container h1 {
  font-size: 2.5rem;
  color: #005f73;
  margin-bottom: 1rem;
}

.contact-container p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 2rem;
}

.contact-item {
  text-align: center;
  flex: 1 1 300px; /* Ensure responsiveness */
}

.contact-item h2 {
  font-size: 1.8rem;
  color: #005f73;
  margin-bottom: 0.5rem;
}

.contact-item p {
  font-size: 1.2rem;
  color: #333;
}

.contact-item a {
  color: #0a9396;
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Contact Form Styling */
.contact-form {
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 5rem;
  text-align: left;
}

input,
textarea {
  font-family: 'arial', sans-serif;
  font-size: 1rem;
}

.contact-form h2 {
  font-size: 2rem;
  color: #005f73;
  margin-bottom: 2.5rem;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px; /* Limit the width of the form */
  margin: 0 auto; /* Center the form */
}

.contact-form label {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  margin-bottom: -0.5rem; /* Space between label and input */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%; /* Prevent stretching beyond container */
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px; /* Rounded corners */
  font-size: 1rem;
  color: #333;
  background-color: #fff; /* White background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0a9396;
  box-shadow: 0 0 5px rgba(10, 147, 150, 0.5); /* Highlighted shadow on focus */
}

.contact-form textarea {
  resize: none; /* Prevent resizing */
}

.contact-form .submit-button {
  padding: 0.8rem 2rem;
  background-color: #fff;
  color: #333;
  border: 2px solid #333;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 150px; /* Limit button width */
  margin: 0 auto; /* Center the button */
}

.contact-form .submit-button:hover {
  background-color: #333;
  color: #fff;
}

/* Notification Styling */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0a9396;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  z-index: 1000;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
