@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: 1200px;
  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; }
}

/* ====================== Buttons ====================== */
.button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #060860;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 17px;
  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;
  margin: 15px 8px;
}

.button:hover {
  background-color: #ffffff;
  color: #060860;
  border-color: #409cff;
  transform: translateY(-2px);
}

/* ====================== Iframe ====================== */
.iframe-container {
  margin: 30px 0;
  border: 2px solid #060860;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

iframe {
  width: 100%;
  border: none;
  display: block;
}

/* Mobile iframe height adjustment */
@media (max-width: 768px) {
  iframe {
    height: 800px !important;
  }
}

/* ====================== Footer ====================== */
.copyright {
  margin-top: 50px;
  text-align: center;
  color: #555;
  font-size: 14px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}