/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #0d6efd;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
}

header h1 {
  font-size: 2rem;
}

/* Main Content */
main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* PDF Container */
.pdf-container {
  margin-bottom: 1rem;
}

.pdf-container iframe {
  width: 100%;
  height: 500px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Fallback Link as Button */
.pdf-fallback {
  text-align: center;
  margin-bottom: 2rem;
}

.pdf-fallback p {
  margin-bottom: 0.5rem;
}

.pdf-fallback a {
  display: inline-block;
  background-color: #0d6efd;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.pdf-fallback a:hover {
  background-color: #084298;
}

/* Contact Section */
.contact {
  background-color: #e9ecef;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 2rem auto; /* Centers the section horizontally */
  max-width: 600px; /* Optional: limits width */
  text-align: center; /* Centers the content inside */
}

.contact h2 {
  margin-bottom: 1rem;
  color: #0d6efd;
}

.contact a {
  color: #0d6efd;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #343a40;
  color: #333;
  padding: 2rem 1rem;
  text-align: center;
}

footer .logo-box {
  display: inline-block;
  background-color: white;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

footer .logo-box img {
  max-width: 200px;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: #0d6efd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pdf-container iframe {
    height: 400px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .contact {
    padding: 1rem;
  }

  footer .logo-box img {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .pdf-container iframe {
    height: 300px;
  }

  header h1 {
    font-size: 1.2rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}
