/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  color: #000;
}

/* Top White Bar */
.top-bar {
  background-color: #ffffff;
  height: 60px;              /* fixed height */
  border-bottom: 1px solid #ddd;

  display: flex;
  align-items: center;
}

/* Red Rectangle (fills height of white bar) */
.red-box {
  background-color: red;
  height: 100%;              /* fills full height of .top-bar */
  width: 160px;               /* wider than before */
  display: flex;
  align-items: center;
  justify-content: center;
}

.red-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;     /* make link fill red box */
  width: 100%;      /* full width of red box */
}

.red-box img {
  max-height: 115%;
  max-width: 120%;
  object-fit: contain;
  display: block;   /* prevent inline gap issues */
}

/* Push text a little away from red box */
.top-bar p {
  margin-left: 15px;
  font-size: 0.95rem;
}

/* Nav bar */
.nav-bar {
  background-color: #2d363a;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0;

  position: sticky;   /* ✅ sticky instead of fixed */
  top: 0;             /* sticks to very top when scrolled */
  z-index: 1000;      /* stay above page content */
}

/* Nav list layout */
.nav-bar ul {
  list-style: none;
  display: flex;
  align-items: stretch; /* make children fill nav height */
  margin: 0;
  padding: 0;
}

/* Each nav item is a box */
.nav-bar li {
  height: 60px;               /* box height = nav height */
  display: flex;
}

/* Links fill the box */
.nav-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 25px;            /* box width adjusts with padding */
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Active box */
.nav-bar a.active {
  background-color: red;
  color: #fff !important;
}

/* Divider box */
.divider {
  width: 1px;
  background-color: #ffffff;
  margin: 0;
}

/* Roller "window" */
.menu-roller {
  position: relative;
  overflow: hidden;
  display: block;
  height: 60px;                 /* same as nav height */
  width: 110px;                 /* lock width so text doesn't shift */
}

/* Both options are stacked on top of each other */
.menu-option,
.close-option {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;                 /* same as nav height */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  transition: transform 0.4s ease-in-out;
}

/* Default state: MENU visible, CLOSE hidden below */
.menu-option {
  transform: translateY(0);
}
.close-option {
  transform: translateY(65%);  /* start off just below the roller */
}

/* Toggle state: MENU slides up, CLOSE slides into place */
.menu-roller.toggle .menu-option {
  transform: translateY(-65%);
}
.menu-roller.toggle .close-option {
  transform: translateY(0);
}

/* Side menu hidden off-screen */
.side-menu {
  position: fixed;
  top: 120px;                     /* start below nav bar (nav is 60px tall) */
  left: -250px;                  /* hidden by default */
  width: 250px;
  height: calc(100vh - 120px);    /* fill rest of page below nav */
  background-color: #ffffff;
  color: #666666;
  overflow-y: auto;              /* allow scroll if content taller */
  transition: left 0.4s ease;
  z-index: 999;
}

/* Side menu links */
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  padding: 15px 20px;
}

.side-menu a {
  text-decoration: none;
  color: #666666;
  font-weight: 500;
  display: block;
}

.side-menu a:hover {
  color: #cc0000;
}

/* When active, slide in */
.side-menu.open {
  left: 0;
}

/* Active link in side menu */
.side-menu a.active-side {
  color: red !important;
  font-weight: 600;
}

/* Page dim overlay */
.overlay {
  position: fixed;
  top: 120px;                 /* start below nav bar */
  left: 0;
  width: 100%;
  height: calc(100vh - 120px); /* cover page down to bottom */
  background-color: rgba(0,0,0,0.4); /* semi-transparent grey */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 998;               /* just under side menu (999) */
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Page Bar Items */
.page-bar {
  background-color: white;   /* light grey background */
  height: 60px;                /* fixed height */
  padding: 0 20px;             /* remove vertical padding */
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: center;         /* vertical centering */
  gap: 8px;                    /* space between items */
  margin-left: 140px;
}

/* Home icon */
.page-bar .home-icon {
  font-size: 1.6rem;
  color: #000;   /* force black */
  text-decoration: none;
}

/* Separator */
.page-bar .separator {
  color: #999;
}

/* Current page */
.page-bar .current-page {
  font-weight: 600;
  color: #666666;
}

/* Calendar Container */
.calendar-container {
  max-width: 800px;
  margin: 30px auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2d363a;
  color: #fff;
  padding: 15px 20px;
}

.calendar-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.calendar-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.calendar-header button:hover {
  color: red;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #ddd;
}

.day-name,
.day {
  background: #f9f9f9;
  padding: 15px;
  text-align: center;
}

.day-name {
  font-weight: bold;
  background: #eee;
}

.day {
  min-height: 80px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.day:hover {
  background: #ffe5e5;
}

/* Highlight today */
.day.today {
	color: black;
	font-weight: bold;
	border-radius: 4px;
	border: 2px solid #ccc; /* default neutral border */
}

/* Modal background */
.day-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

/* Modal box */
.day-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Close button */
.day-modal-close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.bo-generator {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  text-align: center;
}

.bo-generator button {
  background: #2d363a;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.bo-generator button:hover {
  background: #1a2225;
}

.bo-card {
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.bo-header {
  background: #e3f2fd; /* light blue */
  color: #0d47a1;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom: 1px solid #ccc;
  text-align: center; /* ✅ Center the text */
}

.bo-body {
  padding: 16px;
}

.bo-field {
  margin-bottom: 15px;
}

.bo-field label {
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}

.bo-field .answer-box {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  min-height: 32px;
}

.bo-options {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 8px; /* ✅ space below buttons */
}

.bo-option {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  border: 1px solid #ccc;
  background: #f0f0f0; /* default greyed out */
  color: #666;
}

.bo-option.active {
  background: #e3f2fd;  /* light blue like header */
  border-color: #90caf9;
  color: #0d47a1;
}

.hero-logos {
  text-align: center;
  padding: 30px 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.hero-logos p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2d363a;
}

.hero-logos .logos img {
  height: 70px;       /* ✅ all logos same height */
  width: auto;        /* keeps original proportions */
  object-fit: contain;
}

.hero-logos img {
  max-height: 70px;  /* balance logo size */
  object-fit: contain;
}