/* Global Settings */
body {
  --primary-color: #063e7a; /* Soft Blue */
  --secondary-color: #5297b8; /* Slightly darker blue */
  --background-color: #f0f7ff; /* Very light blue background */
  --text-color: #2e3a47; /* Dark grey-blue for text */
  --font-family: 'Georgia', serif; /* Classical serif font */
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}
/* Header Section */
.hero {
  height: 100vh;
  background-color: var(--primary-color); /* Solid soft blue background */
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 4em;
  font-weight: 700;
  letter-spacing: 1px;
  font-style: italic; /* Classical touch with italic */
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); /* Subtle text shadow */
}

/* Navigation Bar */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #72b8d8;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for nav */
}

.nav img {
  height: 70px;
  transition: transform 0.3s ease;
}

.nav img:hover {
  transform: scale(1.1); /* Hover effect for logo */
}

.nav h1 {
  font-size: 1.8em;
  color: var(--text-color);
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0;
}

/* Button Styles */
button {
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 1rem;
}

button:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-4px); /* Hover effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

button:active {
  transform: translateY(1px); /* Press effect */
}

/* Aligning buttons in a single row, always horizontal */
.button-container {
  display: flex;
  justify-content: center; /* Center buttons */
  flex-wrap: nowrap; /* Prevent buttons from wrapping */
}



/* Content Sections */
.section {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Soft shadow for content */
}

.section h2 {
  font-size: 2.5em; /* Adjusted font size */
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); /* Added shadow for better visibility */
}

.section p {
  font-size: 1.1em;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Footer */
footer {
  padding: 2rem;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  font-size: 1.1em;
}

/* Media Queries (Responsive Design) */
@media (max-width: 768px) {
  .nav {
      flex-direction: column;
      padding: 1rem;
      text-align: center;
  }

  .hero h1 {
      font-size: 2.5em;
  }

  .section {
      padding: 1.5rem;
  }

  button {
      padding: 0.8rem 1.5rem;
  }

  /* Keep buttons horizontal on all screen sizes */
  .button-container {
      flex-direction: row; /* Ensure buttons stay in a row */
  }
}

/* Style for the dropdown */
.dropdown {
  margin-bottom: 20px;
  text-align: center;
}

#severity-dropdown {
  padding: 10px;
  font-size: 16px;
  width: 50%;
  max-width: 300px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333;
}

audio {
  width: 100%;
  max-width: 600px;
  margin-top: 10px;
}
