/* Reset and basic styling */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Header and Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f0c420;
  color: black;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
}

header h1 {
  flex: 1 1 100%;
  margin: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: bold;
  font-size: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav li {
  display: inline;
  margin: 0;
}

nav a {
  color: black;
  text-decoration: none;
}

nav a:hover {
  color: #333;
  border-bottom: 2px solid black;
}

/* Main Content */
main {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
}

/* Form styling */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #6a8caf;
  outline: none;
  box-shadow: 0 0 3px rgba(106,140,175,0.5);
}

button[type="submit"] {
  background-color: #f0c420;
  color: black;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: #d4bb2ed2;
}

/* Footer */
footer {
  background-color: #2a2a2a;
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  nav li {
    display: block;
    margin: 10px 0;
  }
  nav ul {
    text-align: center;
  }
}

@media (max-width: 480px) {
  header {
    text-align: center;
    padding: 15px;
  }
  header h1 {
    font-size: 1.5rem;
  }
  nav a {
    font-size: 1rem;
  }
  main {
    padding: 15px;
  }
 .popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 2px solid #333;
  padding: 20px;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.popup.show {
  display: block;
}

.popup button {
  margin-top: 10px;
}

}