/* styles.css */
:root {
  --primary-color: #002366;
  --accent-color: #C3B091;
  --light-bg: #f7f4ef;
  --text-dark: #002366;
  --text-light: #ffffff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--accent-color);
  color: var(--text-dark);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 0;
  animation: slideDown 0.8s ease-out;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 1rem;
}
nav a {
  font-weight: 600;
  padding: 0.5rem;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--accent-color);
}
.logo {
  display: block;
  margin: 0 auto 1rem;
  max-height: 60px;
}
.hero {
  background-color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  animation: fadeIn 1.2s ease;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero p span {
  font-size: 1.2rem;
  color: #444;
}
section.section {
  background-color: var(--light-bg);
  padding: 3rem 1rem;
  animation: fadeInUp 1s ease forwards;
  transform: translateY(20px);
  opacity: 0;
  margin-bottom: 1rem;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
ul {
  padding-left: 1.5rem;
}
form {
  max-width: 500px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.3s ease;
}
input:focus, textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 35, 102, 0.3);
  outline: none;
}
button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
button:hover {
  background-color: #001a4d;
  transform: scale(1.05);
}
footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  section h2 {
    font-size: 1.75rem;
  }
  input, textarea, button {
    font-size: 1rem;
  }
}
.side-by-side {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.side-by-side .panel {
  flex: 1 1 45%;
  min-width: 300px;
}
@media (max-width: 768px) {
  .side-by-side {
    flex-direction: column;
  }
}

/* Dropdown container should be relatively positioned */
.dropdown {
  position: relative;
}

/* Hide dropdown by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Show dropdown when 'show' class is applied */
.dropdown-content.show {
  display: block;
}

/* Optional: style dropdown links */
.dropdown-content li a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background-color: #f0f0f0;
}
