/* --- Global Styles --- */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  display: flex;
}

/* Full-page lock background */
body {
  background-color: #020617;
  background-image: url("/assets/images/cyberSecurityLock.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

/* Subtle dark overlay for readability */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.9));
  pointer-events: none;
  z-index: -1;
}

/* --- Left Sidebar --- */
.services-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: rgba(24, 24, 27, 0.98);
  color: #f0f0f0;
  padding: 25px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 1000;
}

.services-sidebar h2 {
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 25px;
  color: #ffffff;
}

/* Sidebar buttons */
.sidebar-button {
  width: 100%;
  background: #4b5563;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.1s;
}

.sidebar-button:hover {
  background: #6b7280;
  transform: translateY(-1px);
}

/* --- Main Content Area (centered card) --- */
.main-content {
  margin-left: 220px;                 /* leave space for sidebar */
  padding: 16px 24px 96px;
  box-sizing: border-box;
  max-width: 960px;                   /* readable width */
  margin-right: auto;
  margin-top: 12px;
  dispay: flex;
  fles-direction: column;
}

/* optional card panel if you want more separation
.main-content {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 12px;
}
*/

/* --- Top Banner --- */
.banner-img {
  display: block;
  margin: 8px auto 16px;  /* top / left-right / bottom */
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
}

/* Strip of 5 images near bottom */
/* default = desktop */
.centered-images {
  display: flex;
  justify-content: center;
  gap: 16px;

  margin-top: 440px;   /* near bottom on tall screens */
  margin-left: 220px;  /* start after sidebar */

  padding: 0 0 72px;   /* space above fixed footer */
}

.centered-images img {
  height: 90px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.centered-images img:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* --- Footer --- */
.footer-links {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  z-index: 1001;
  font-size: 0.9em;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffe066;
}

/* --- Mobile + tablet responsive styles --- */

/* Phones / narrow screens */
@media (max-width: 768px) {
  .services-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px;
  }

  .sidebar-button {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .main-content {
    margin-left: 0;
    margin-right: 0;
    padding: 16px 12px 96px;
    max-width: 100%;
  }

  .centered-images {
    margin-top: 40px;
    margin-left: 0;
    justify-content: center;
    padding: 16px 0 96px;
    flex-wrap: wrap;
  }

  .centered-images img {
    height: 80px;
  }
}

/* Medium screens / partial windows */
@media (max-width: 1024px) and (min-width: 769px) {
  .centered-images {
    margin-top: 380px;
    margin-left: 0;
    justify-content: center;
    padding: 16px 0 96px;
    flex-wrap: wrap;
  }

  .centered-images img {
    height: 80px;
  }
}
