/* =============================
   BIMS Website Core Stylesheet
   Author: Elias C. Quijano
   ============================= */

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f8f9fb;
  color: #222;
  line-height: 1.6;
}

main {
  max-width: 1024px;
  margin: 120px auto 60px;
  padding: 0 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

h1, h2, h3 {
  color: #003366;
}

h1 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

h2 {
  border-bottom: 2px solid #003366;
  padding-bottom: 6px;
  margin-top: 40px;
}

p, li {
  font-size: 0.95rem;
}

ul {
  padding-left: 20px;
}

header {
  color: #fff;
  text-align: center;
  padding: 15px 10px;
}

header .tagline {
  font-weight: 400;
  font-size: 0.95rem;
  opacity: 0.95;
}

.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0047AB;
  color: #fff;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

button, .primary-btn, .contact-btn {
  background: #0047AB;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
}

button:hover, .primary-btn:hover, .contact-btn:hover {
  background: #003366;
}

.print-btn {
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  margin-top: 10px;
  cursor: pointer;
}

footer {
  text-align: center;
  background: #0047AB;
  color: white;
  padding: 15px 10px;
  font-size: 0.9rem;
}

.pdf-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.back-to-top {
  display: block;
  text-align: right;
  margin-top: 20px;
  color: #0047AB;
  font-weight: bold;
  text-decoration: none;
}