* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #f7f9fc;
  color: #1f2933;
}

/* ===== HEADER ===== */
.site-header {
    background: #0f2f57;
    color: white;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo {
    height: 43px;
    /* adjust as needed */
    width: auto;
}

.foundation {
  font-size: 14px;
  opacity: 0.85;
}

.initiative {
  font-size: 20px;
  font-weight: 700;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}

.btn-outline {
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 6px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  background: url("../../images/hero-volunteers.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15, 47, 87, 0.85),
    rgba(15, 47, 87, 0.85)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
}

.hero h2 {
  font-size: clamp(22px, 4vw, 34px);
  margin-bottom: 20px;
}

.hero h2 span {
  color: #ffd166;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 18px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: #ffd166;
  color: #0f2f57;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

/* ===== PROCESS ===== */
.process {
  padding: 80px 24px;
  text-align: center;
}

.process h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: white;
  padding: 28px 22px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.step-number {
  display: inline-block;
  background: #0f2f57;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 36px;
  margin-bottom: 12px;
  font-weight: bold;
}

/* ===== WHY SERVE ===== */
.why-serve {
  background: #0f2f57;
  color: white;
  padding: 80px 24px;
}

.why-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.why-inner h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.why-inner p {
  font-size: 18px;
  margin-bottom: 30px;
}

.why-list {
  list-style: none;
  margin-bottom: 40px;
}

.why-list li {
  margin: 10px 0;
}

/* ===== FOUNDATION NOTE ===== */
.foundation-note {
  background: #e8eef6;
  padding: 30px 24px;
  text-align: center;
  font-size: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0b1f3a;
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 14px;
}
/* ===== NAV BASE ===== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
}

/* ===== MOBILE TOGGLE BUTTON ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    margin-left: 16px;
    cursor: pointer;
}

/* ===== MOBILE MENU PANEL ===== */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #0f2f57;
    padding: 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-mobile {
    margin-top: 14px;
    background: #ffd166;
    color: #0f2f57;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}
/* ===== PAGE WRAPPER MOVE ===== */
#pageWrapper {
  transition: transform 0.3s ease;
}

/* SIDE MENU */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px; /* hidden offscreen */
  width: 260px;
  height: 100vh;
  background: #ffd166;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 2000;
}


.side-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.side-cta {
  background: #0f2f57;
  color: white;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  margin-top: 10px;
}

/* OPEN STATE */
body.menu-open .side-menu {
    right: 0; /* slide menu in */
}

.menu-open #pageWrapper {
    transform: translateX(-260px); /* push page left */
    transition: transform 0.3s ease;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}
body.menu-open #pageContent {
    transform: translateX(-260px);
}

/* Slide menu in when menu is open */
body.menu-open .side-menu {
  right: 0;              /* aligned perfectly to the right */
}
#pageContent {
    transition: transform 0.3s ease;
}

.menu-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #0f2f57; /* matches your theme */
  align-self: flex-end; /* top-right of menu */
  cursor: pointer;
  margin-bottom: 20px;
}

.signup-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.signup-card {
  background: white;
  max-width: 480px;
  width: 100%;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
}

.signup-card h1 {
  margin-bottom: 10px;
}

.signup-card p {
  margin-bottom: 25px;
  color: #555;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.small-note {
  font-size: 13px;
  color: #777;
  margin-top: 15px;
}

/* Dashboard Section */
.dashboard {
  max-width: 800px;
  margin: 80px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.dashboard h1 {
  font-size: 32px;
  color: #0f2f57; /* dark blue */
  margin-bottom: 12px;
}

.dashboard p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}
.large-input {
width: 350px;
  height: 55px;
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #ccc;
  box-sizing: border-box;
}
.success {
  background-color: #e0efc5; /* Light green background */
  border: 1px solid #a6cc33; /* Green border */
  color: #485c0a;             /* Dark green text color for contrast */
  padding: 15px;             /* Spacing around the content */
  margin-top: 10px;
  margin-bottom: 20px;       /* Spacing between messages */
  border-radius: 5px;        /* Rounded corners */
  font-family: sans-serif;   /* Readable font */
  display: flex;             /* Use flexbox for alignment */
  justify-content: space-between; /* Space out content and close button */
  align-items: center;       /* Vertically align content */
  text-align: center;
}
/* Steps List */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  transition: transform .2s ease;
}

.step-card:hover { transform: translateY(-4px); }

.step-card.done { border: 2px solid #4caf50; }

.step-card.active { border: 2px solid #ffb703; }

.step-card.locked {
  opacity: 0.5;
}

.step-card h3 {
  margin-top: 0;
}

.check {
  color: #2e7d32;
  font-weight: bold;
}

.pending {
  color: #ff9800;
  font-weight: bold;
}

.upload-box {
  margin-top: 40px;
  padding: 25px;
  background: #f8f9fb;
  border-radius: 16px;
}

/* Button */
.btn-primary {
  display: inline-block;
  background: #0f2f57;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #0a2040;
}
/* ===== Staff ===== */
.login-form {
    max-width: 400px;
    margin: 3rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.login-form label {
    display: block;
    margin-top: 1rem;
}

.login-form input {
    width: 100%;
    padding: 8px;
    margin-top: 0.25rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.login-form .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
    background-color: #007BFF;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.error-box {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-top: 1rem;
    border-left: 5px solid #dc3545;
}
.staff-dashboard {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.vol-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.vol-table th, .vol-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.vol-table th {
  background: #f4f6f8;
}

.status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-signup { background: #eee; }
.status-background { background: #ffe8a3; }
.status-board { background: #cce5ff; }
.status-orientation { background: #d4edda; }
.status-verified { background: #b2f2bb; }

.btn-sm {
  background: #1e88e5;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
}
.staff-header {
  background:#0f2a44;
  color:#fff;
  padding:14px 0;
}

.staff-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.staff-brand a {
  color:#fff;
  font-weight:700;
  font-size:18px;
  text-decoration:none;
}

.staff-nav a {
  color:#fff;
  margin-left:18px;
  text-decoration:none;
  font-weight:500;
}

.staff-nav a:hover {
  text-decoration:underline;
}

.staff-nav .logout {
  color:#ffb3b3;
}

.staff-main {
  max-width:1200px;
  margin:30px auto;
  padding:0 20px;
}

/* ===== RESPONSIVE RULES ===== */
@media (max-width: 768px) {
  .side-menu {
    display: flex;
    right: 260;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    /* show hamburger */
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
  }

  .site-logo {
    width: 150px;
    /* adjust size for mobile */
    height: 26px;
  }

  #pageWrapper {
    transition: transform 0.3s ease;
  }
  .large-input {
    width: 250px;
    margin-bottom: 5px;
  }
}
