@charset "utf-8";

/* ====================== Global & Layout ====================== */
body, html {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.bgimg {
  background-image: url('https://onlinetools.npsb.la/InternalProcedures/stockbackgroundprocedure.png');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

.centerbody {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px 60px;
  box-sizing: border-box;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ====================== Top Bar with Logo ====================== */
.topbar {
  background-color: #060860;
  background-image: 
    linear-gradient(rgba(6, 8, 96, 0.92), rgba(6, 8, 96, 0.97)),
    url('https://onlinetools.npsb.la/InternalProcedures/texture.png');
  background-blend-mode: multiply;
  background-size: cover, 300px 300px;
  padding: 14px 20px;
  margin: 0 -15px 25px -15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.topbar-logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

.topbar-text {
  font-family: Verdana, sans-serif;
  font-size: 26px;
  font-weight: 600;
  font-style: oblique;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-align: center;
}

@media (max-width: 768px) {
  .topbar { 
    padding: 12px 15px; 
    gap: 12px; 
  }
  .topbar-logo { height: 48px; }
  .topbar-text { font-size: 22px; }
}

@media (max-width: 480px) {
  .topbar-text { font-size: 20px; }
}

/* ====================== Logo Image (if you ever add it back) ====================== */
.logo {
  display: block;
  margin: 20px auto 40px auto;
  max-width: 320px;
  height: auto;
}

/* ====================== Button Container ====================== */
.buttoncontainer {
  margin-bottom: 45px;
}

.content {
  text-align: center;
  font-size: 24px;
  color: #444;
  margin-bottom: 25px;
  font-weight: 500;
}

/* ====================== Buttons (Fixed Mobile Overflow) ====================== */
.button {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 12px auto;
  padding: 10px 18px;
  background-color: #060860;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: 2px solid #060860;
  box-sizing: border-box;   /* Important for padding */
}

.button:hover {
  background-color: #ffffff;
  color: #060860;
  border-color: #409cff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ====================== Mobile Fixes ====================== */
@media (max-width: 768px) {
  .button {
    max-width: 100%;        /* Force full width on mobile */
    padding: 16px 20px;     /* Slightly less horizontal padding */
    font-size: 17px;
  }
  
  .buttoncontainer {
    margin-bottom: 35px;
  }
}

@media (max-width: 480px) {
  .button {
    padding: 15px 18px;
    font-size: 16.5px;
  }
}

/* ====================== Footer ====================== */
.copyright {
  margin-top: 60px;
  text-align: center;
  color: #555;
  font-size: 14px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}