
  body {
    font-family: Arial, sans-serif; /* Use a sans-serif font */
    font-size: 18px;
    color: #bf94fc; /* Set global text color */
    line-height: 1.5;
    background-color: #FCE7B2;
    height: 100%;
    margin: 0;
    position: relative; /* Ensures the body is the reference for ::before */
  }

  html, body {
    height: 100%;
  }

  body::before {
    content: '';
    position: fixed; /* Fix the background to avoid scrolling issues */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/images/cover.jpg);
    background-size: cover;
    background-position: center; /* Centers the background */
    background-repeat: no-repeat; /* Prevents multiple images */
    z-index: -1; /* Keeps the image behind all content */
  }

  .bcard {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
    font-family: Arial, sans-serif;
    color: #bf94fc; /* Ensure default text color applies here */
  }

  .bcard p {
    margin: 0;
    line-height: 1.6;
  }

  .scard {
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #bf94fc;
  }

  .scard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .scard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    height: 100%;
    width: 4px;
    background-color: #ff6b6b; /* Default accent color, overridden if specified */
  }

  .scard p {
    margin: 0;
    line-height: 1.6;
  }

  nav {
    background-color: #333;
    padding: 10px 0; /* Add some vertical padding to make the menu bar taller */
  }

  nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    margin-right: 20px;
    position: relative; /* Ensure position relative for submenus to position correctly */
  }

  nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: #ddd;
    text-decoration: none;
  }

  ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    padding: 10px;
    margin: 0;
    list-style: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 250px;
    white-space: nowrap;
  }

  ul.submenu li {
    margin-top: 10px;
  }

  ul.submenu li a {
    color: white;
  }

  ul.submenu li a:hover {
    color: #ddd;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    width: 100%;
  }

  .gallery-item {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }

  .gallery-item img.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .single-column {
    column-count: 1;
    column-gap: 20px;
  }

  .two-columns {
    column-count: 2;
    column-gap: 20px;
  }

  .pimg {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }

  .pimg img {
    max-width: 100%;
    height: auto;
  }

  .pimgfull.center {
    width: 100vw;
    display: flex;
    justify-content: center;
  }

  .pimgfull.center img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }

  /* Responsive styling */
  @media (max-width: 768px) {
    .cardcols-container {
      flex-direction: column;
    }
  }
