/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg-color: rgb(81, 81, 240);
  --text-color: white;
  --header-bg: #5691d0;
  --border-color: rgb(0, 184, 245);
  --footer-bg: #5691d0;
  --btn-bg: #00bbff;
  --btn-hover: #f6fafc;
  --form-bg: aliceblue;
  --hover-bg: #ffcb00;
  --hover-text: #000;
  --contact-clr : #000;
}

.dark-mode {
  --bg-color: #1e1e1e;
  --text-color: #ffffff;
  --header-bg: #333;
  --border-color: #444;
  --btn-bg:#444;
  --btn-hover: #eeb116;
  --footer-bg: #333;
  --form-bg: #2c2c2c;
  --hover-bg: #ffcb00;
  --hover-text: #000;
  --contact-clr:#fff;
}

/* Body Styling */
body {
  font-family: 'Arial', sans-serif;
  background: var(--bg-color);
  display: flex;
  flex-direction: column; /* Stack elements in a column */
  align-items: center;
  min-height: 100vh;
  transition: background-color 0.9s ease, color 0.9s ease;
}

/* Nav style  */
.logo{
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
}

/* Contact Form Container */
.contact-container {
  width: 400px;
  background: var(--form-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 100px 0; /* Add space between navbar and form */
}

.contact-container h2 {
  margin-bottom: 20px;
  color: var(--contact-clr);
}

.contact-container label {
  display: block;
  font-weight: bold;
  text-align: left;
  margin-top: 10px;
}

.contact-container input, 
.contact-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-container textarea {
  resize: none;
}

.contact-container button {
  width: 100%;
  padding: 10px;
  background: #5691d0;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 15px;
}

.contact-container button:hover {
  background: #4179b0;
}



/* Responsive Design */
@media (max-width: 500px) {
  .contact-container {
      width: 90%;
      padding: 20px;
  }
}

