  #home {
    padding-bottom: 60px;
}

  .hero-content .logo {
    font-weight: bold;
    font-size: 1.5em;
    display: flex;
    align-items: center;
  }

  .hero-content .logo img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

    .hero-content {
      position: absolute;
      top: 60px; /* right below the fixed navbar */
      left: clamp(0px, 20vw, 150px);  /* the content is normally 250px but will go to a mininun of 80 left */
      color: white;
      max-width: 600px;
      padding-top: 20px;
      padding-right: 40px;
      padding-left: 40px;
      padding-bottom: 40px;
      z-index: 2;
      background: rgba(0, 0, 0, 0.55); /* semi-black to ensure you can read it better*/
      border-radius: 8px;             /* optional, but nice */
    }

    .hero-content h1 {
      margin: 0 0 10px 10;
      font-size: 2.5em;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    }

    .hero-content p {
      font-size: 1.2em;
      margin-top: 40px;
      margin-bottom: 20px;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }

    .hero-content .button1 {
      background-color: transparent;
      border: 2px solid white;
      color: white;
      padding: 20px 40px;
      font-size: 1em;
      cursor: pointer;
      border-radius: 40px;
      margin-right: 10px; /* Adds space between buttons */
      transition: background-color 0.3s, color 0.3s;
    }

    .hero-content .button1:hover {
      background-color: white;
      color: black;
    }

    .hero-content .button2 {
      background-color: #B19784; /* SaddleBrown, adjust if needed */
      border: none;
      color: white;
      padding: 20px 40px;
      font-size: 1em;
      cursor: pointer;
      border-radius: 40px;
      transition: background-color 0.3s;
    }

    .hero-content .button2:hover {
      background-color: #8A6F5B; /* Darker brown on hover */
    }

    /* Caption bar below carousel */
    .caption-bar {
      width: 100%;
      height: 50px;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5em;
      position: absolute;  /* use 'fixed' for a sticky bar */
      bottom: 10;
      z-index: 30;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .caption-bar.hidden {
      opacity: 0;          /* fade out */
      transform: translateY(100%); /* slide down slightly */
      pointer-events: none; /* prevent accidental clicks */
    }

@media (max-width: 800px), (max-height: 900px) {  /* dont display the bar on smaller screens */
  .caption-bar {
    display: none;
  }
}
