/* body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  color: #333;
  animation: fadeIn 0.8s ease-in;
}

header {
  background-color: #1f2937;
  padding: 1rem 2rem;
  color: white;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

nav a {
  color: #cbd5e0;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffffff;
}

main {
  max-width: 700px;
  margin: 2rem auto 5rem auto; 
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.7s ease-out;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

input,
textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1e40af;
}

.footer {
  background-color: #1f2937;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left a, .footer-right a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

.footer-right span {
  margin: 0 8px;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1); 
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.logo-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo-link:hover {
  opacity: 1.10;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  nav {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }

  nav a {
    margin: 0.5rem 0;
  }

  main {
    margin: 1rem;
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }

  .footer-left, .footer-right {
    margin: 5px 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.4rem;
  }

  main {
    padding: 1rem;
  }

  body {
    font-size: 14px;
  }

  .social-icon {
    width: 18px;
    height: 18px;
  }
} */

/* -------- Base Layout -------- */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  animation: fadeIn 0.8s ease-in;
}

/* let main grow and push footer down */
main {
  flex: 1;
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.7s ease-out;
}

/* -------- Header -------- */
header {
  background-color: #1f2937;
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #cbd5e0;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffffff;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

h3 {
  margin-top: 2rem;
  color: #2d3748;
}

/* -------- Form -------- */
form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

input,
textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1e40af;
}

/* -------- Footer -------- */
.footer {
  background-color: #1f2937;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left a, .footer-right a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

.footer-right span {
  margin: 0 8px;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* -------- Animations -------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  nav {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }

  nav a {
    margin: 0.5rem 0;
  }

  main {
    margin: 1rem;
    padding: 1.5rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }

  .footer-left, .footer-right {
    margin: 5px 0;
    justify-content: center;
  }
}

.logo-link{
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.logo-link:hover{
  opacity: 0.85;
}