html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: white;
  color: #004851;
  height: 100%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

header {
  background-color: #004851;
  color: white;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 0.5em;
}
.logo-text {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  text-decoration: none;
  margin-left: 0.3em;
}

.logo-text:hover {
  text-decoration: underline;
  color: #aeeefc;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: white;
}

.btn-register {
  background-color: white;
  color: #004851;
  padding: 0.5em 1em;
  border-radius: 5px;
  text-decoration: none;
}

.hero-split {
  background-image: url('../img/gearMesh.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  padding: 4em 1em;
}

.hero-bg-overlay {
  position: absolute;
  background: rgba(0, 72, 81, 0.6);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 2em;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 1em;
}

.btn-cta {
  padding: 1em 2em;
  background-color: #00bcd4;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.placeholder-article {
  padding: 3em 1em;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.email-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.email-link:hover {
  text-decoration: underline;
  color: #aeeefc;
}


footer {
  background: #004851;
  color: white;
  text-align: center;
  padding: 1em;
  margin-top: auto;
}

.feedback-floating {
  position: fixed;
  right: 10px;
  bottom: 35px;
  background: #00bcd4;
  color: white;
  padding: 0.4em 0.6em;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  font-size: 0.95em;
}

.footer-link {
  color: white;
  text-decoration: none;

}

.footer-link:hover {
  color: #aeeefc;
  text-decoration: underline;
}

.footer-separator {
  color: #aeeefc;
}

.placeholder-article a {
  color: #00bcd4;
  text-decoration: underline;
  font-weight: bold;
}

.download-dropdown {
  display: none;
  position: absolute;
  background: #002b36;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  padding: 1em;
  margin-top: 10px;
  z-index: 1000;
  width: 280px;
}

.download-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: white;
  text-decoration: none;
  padding: 0.5em 0;
  font-weight: 500;
  transition: color 0.2s;
}

.download-dropdown a:hover {
  color: #00bcd4;
}

.download-dropdown a.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

.download-dropdown .not-available {
  margin-left: 0.5em;
  color: #b0bec5;
  font-size: 0.95em;
  font-style: italic;
  white-space: nowrap;
}



@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2em;
  }

  .hero-image img {
    max-width: 100%;
  }
}
