/* get-quote.css */
:root {
  --bg-color: #f6f9fd;
  --text-color: white;
  --primary-color: #ff6a00;
  --accent-color: #ffc107;
  --form-bg: #003380;
  --input-bg: #f2f2f2;
  --dark-bg: #121212;
  --dark-text: #f5f5f5;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #002b80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffc107;
}

.logo-img {
  width: 40px;
  height: auto;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 50px 20px 80px;
}

.quote-section {
  background-color: var(--form-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 100%;
}

.quote-section h1 {
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 25px;
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  outline: none;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid var(--primary-color);
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #e65c00;
}

.footer {
  background-color: #001a33;
  padding: 20px;
  text-align: center;
  color: white;
}

body.dark {
  --bg-color: blue;
  --text-color: hsl(0, 89%, 48%);
  --form-bg: #1e1e1e;
  --input-bg: rgb(12, 246, 24);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 10px;
    font-size: 1.3rem;
  }
  .logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
}

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }

  nav {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 10px;
    text-align: center;
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 10px 0;
  }
}