html,
body {
  /* min-height: 100%; */
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #f9f7f2;
  /* background: linear-gradient(to bottom, #ffffff 0%, #e6f7ff 100%); */
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
button {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.header {
  position: relative;
  text-align: center;
  padding: 10px 15px;
}

.logo img {
  max-height: 100px;
}

@media (max-width: 389px) {
  .logo img {
    height: 75px;
  }
}

.container {
  max-width: 750px;
  flex: 1;
  /* already there to fill space when content is small */
  overflow: auto;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid #e0ddd5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  /* Ensures content area takes up available space */
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.6;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  margin: 10px 0;
  font-family: 'Poppins', sans-serif;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

textarea {
  max-height: 150px;
  /* Limits the size of the message box */
  resize: vertical;
  /* Allows users to resize it vertically if needed */
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

button {
  padding: 0.75rem 5rem;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 20px auto 0 auto;
  max-width: 400px;
}

button:hover {
  background-color: #0056b3;
}

.footer {
  margin-top: auto;
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {

  .footer {
    padding: 20px 0;

  }

  .footer-links {
    flex-direction: column;
    /* Stack links vertically */
    gap: 10px;
    padding: 5px 0;
  }

  .footer-links a {
    font-size: 1.1rem;
    /* Larger text for easier readability */
    margin-bottom: 10px;
    text-decoration: underline;
  }

  .footer p {
    font-size: 1rem;
    /* Larger text for easier readability */
    margin-bottom: 20px;
  }

  .social-icons img {
    width: 42px;
    /* Slightly larger for mobile */
    height: 42px;
    margin: 0 35px;
  }

  .footer span {
    display: none;
  }
}