/* Body with GIF background */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: url('assets/web_bg.gif') no-repeat center center fixed;
  background-size: cover;
  color: white;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Optional overlay for better text contrast */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Ensure content is above overlay */
header, main, footer {
  position: relative;
  z-index: 1;
}

/* Header styling */
header {
  text-align: center;
  padding: 1.5em 1em;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Header container with logo and text */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

header img {
  max-height: 100px;
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
}


/* Text part of header: Title and caption stacked */
.header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #a0d468;
}

.header-text h1 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: #d4f1c5;
}

.header-text .caption {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: #a0d468;
}

/* Main content container */
main {
  margin: 30px auto;
  max-width: 900px;
  padding: 0 20px;
}

/* Section styling */
section {
  margin-bottom: 30px;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

section h2 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 18px;
  color: #d4f1c5;
}

section h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: #a0d468;
}

section ul {
  list-style-type: disc;
  padding-left: 25px;
  color: #e0f2b6;
}

/* Footer styling */
footer {
  text-align: center;
  padding: 15px 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 50px;
  font-size: 0.95rem;
}

/* Paragraph styling */
p {
  line-height: 1.6em;
  color: #e6e6e6;
}

/* Link styling */
a.link {
  color: #a0d468;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.link:hover,
a.link:focus {
  text-decoration: underline;
  color: #d4f1c5;
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 12px;
  }

  header img {
    height: 80px;
  }

  .header-text h1 {
    font-size: 1.8rem;
  }

  section {
    padding: 15px 20px;
  }
}
