/* General Styles */
html, body {
  font-family: Arial, sans-serif;
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Logo Styling */
.logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
}

/* Header Styling */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
}

.nav-button {
  padding: 8px 15px;
  background: #005bb5;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.nav-button:hover,
.nav-button:focus {
  background: #004494;
  outline: none;
}

/* Main Container */
.container {
  max-width: 900px;
  margin: 200px auto 40px auto;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  border-radius: 8px;
}

/* Text Styling */
h1, p, .tagline {
  font-size: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
  max-width: 100%;
  overflow-wrap: break-word;
}

.tagline {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0073e6;
  margin-top: 10px;
  transition: opacity 0.5s ease-in-out;
}

/* Countdown Timer */
.countdown-timer {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0073e6;
  margin-top: 20px;
}

/* Email Form */
#email-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

#email-form input {
  padding: 10px;
  font-size: 1em;
  border-radius: 4px;
  border: 1px solid #bbb;
  width: 250px;
}

#email-form button {
  background-color: #005bb5;
  color: white;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

#email-form button:hover,
#email-form button:focus {
  background-color: #004494;
}

/* Aligned List */
.aligned-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 700px;
}

/* Rotating List Enhancements */
.rotating-list li {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.rotating-list li.visible {
  display: block;
  opacity: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 15px;
  font-size: 0.9rem;
  color: #444;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #ddd;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
  .container {
    padding: 20px;
    width: 90%;
    margin-top: 180px;
  }
  .nav-button {
    display: block;
    width: 100%;
    text-align: center;
  }
  #email-form {
    flex-direction: column;
  }
}
