html, body {
    margin: 0;
    font-family: sans-serif;
    overflow-x: hidden;
    background-image: url('/website/assets/media/01DreamBig.webp'); /* Image should be in public_html/media/ */
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Default height behavior */
    height: 100vh;
  }
  .header-widget .hero-heading-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    text-align: center;
    pointer-events: none;
  }
  .hero-name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(60px, 10vw, 200px);
    color: #FF3D00;
    margin: 0;
    white-space: nowrap;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
                 -1px 1px 0 #000, 1px 1px 0 #000;
    z-index: 1;
    position: absolute;
    left: calc(50% + 30px);  /* Adjust if sidebar width changes affect centering */
    transform: translateX(-50%);
  }
  .rotating-text {
    position: absolute;
    top: 100%;
    left: calc(50% + 30px);
    transform: translateX(-50%) translateY(5vw);
    font-family: 'Caveat', cursive;
    font-size: clamp(30px, 6vw, 100px);
    color: #004aad;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
                 -1px 1px 0 #000, 1px 1px 0 #000;
    height: 1em;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
  }
  @keyframes fadeWords {
    0%   { opacity: 0; transform: translate(-50%, 20px); }
    10%  { opacity: 1; transform: translate(-50%, 0); }
    25%  { opacity: 1; transform: translate(-50%, 0); }
    35%  { opacity: 0; transform: translate(-50%, -20px); }
    100% { opacity: 0; }
  }
  .rotating-text .word {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    white-space: nowrap;
    animation: fadeWords 16s infinite;
  }
  .rotating-text .word:nth-child(1) { animation-delay: 0s; }
  .rotating-text .word:nth-child(2) { animation-delay: 4s; }
  .rotating-text .word:nth-child(3) { animation-delay: 8s; }
  .rotating-text .word:nth-child(4) { animation-delay: 12s; }
  /* --- Sidebar Styles copied from About page --- */
    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 60px;
      background: rgba(0,0,0,0.85);
      z-index: 10000;
      display: flex;
      flex-direction: column;
      padding-left: 10px;
      overflow: hidden;
      transition: width 0.3s ease;
      box-sizing: border-box;
      height: 100dvh;
    }
.sidebar-logo {
  font-family: 'Anton', sans-serif;
  color: #FF3C00;
  font-size: 30px;
  padding-left: 50px;
  margin-top: 20px;
  margin-bottom: 0;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 60px;
  position: relative;
}
/* Underline line under JDW */
.sidebar-logo::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50px;
  width: calc(100% - 50px);
  height: 2px;
  background-color: #FF3C00;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar:hover .sidebar-logo::after,
.sidebar:not(.collapsed) .sidebar-logo::after {
  opacity: 1;
}
/* Sidebar inner layout */
.sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
  height: 100dvh;
  padding-top: 0;
}
    .sidebar-links {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex-grow: 1;
    }
    .sidebar a,
    .sidebar .menu-toggle {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      color: #004aad;
      text-decoration: none;
      font-size: 20px;
      transition: all 0.3s ease;
      width: 100%;
      margin: 15px 0;
      padding: 0;
    }
    .sidebar .menu-toggle {
      background: transparent;
      border: none;
    }
    .sidebar i {
      font-size: 40px;
      width: 40px;
      min-width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #004aad;
    }
    .sidebar a:hover i {
      text-shadow: 0 0 4px #FF3C00, 0 0 8px #FF3C00, 0 0 12px #FF3C00;
    }
    .sidebar:not(.collapsed) .menu-toggle i {
      text-shadow: 0 0 4px #FF3C00, 0 0 8px #FF3C00, 0 0 12px #FF3C00;
      color: #FF3C00;
    }
    .sidebar.collapsed .menu-toggle i {
      color: #004aad;
      text-shadow: none;
    }
    .sidebar .label {
      margin-left: 20px;
      color: #FF3C00;
      font-weight: bold;
      white-space: nowrap;
      transition: opacity 0.3s ease, transform 0.3s ease;
      opacity: 0;
      transform: translateX(-10px);
    }
    .sidebar.collapsed .label {
      opacity: 0;
      transform: translateX(-10px);
    }
    .sidebar:not(.collapsed) .label {
      opacity: 1;
      transform: translateX(0);
    }
    @media (max-height: 700px) {
      .sidebar a, .sidebar .menu-toggle {
        margin: 8px 0;
      }
      .sidebar i {
        font-size: 28px;
        width: 28px;
        height: 28px;
        line-height: 28px;
      }
    }
    @media (max-height: 500px) and (orientation: landscape) {
      .sidebar a, .sidebar .menu-toggle {
        margin: 4px 0;
      }
      .sidebar i {
        font-size: 24px;
        width: 24px;
        height: 24px;
        line-height: 24px;
      }
      .sidebar .label {
        font-size: 12px;
        margin-left: 12px;
      }
    }
    .sidebar .menu-toggle {
      display: none;
    }
    @media (min-width: 900px) {
      .sidebar:hover {
        width: 240px;
      }
      .sidebar:hover .label {
        opacity: 1;
        transform: translateX(0);
      }
      .sidebar:hover .sidebar-logo {
        opacity: 1;
      }
    }
    @media (max-width: 899px) {
      .sidebar-logo {
        display: none;
      }
      .sidebar .menu-toggle {
        display: flex;
        cursor: pointer;
      }
      .sidebar {
        width: 60px;
      }
      .sidebar:not(.collapsed) {
        width: 240px;
      }
    }
    @media (max-width: 899px) {
      html, body {
        background-size: 2750px auto;
        background-position: top center;
        background-attachment: scroll;
        height: auto;
        min-height: 100vh;
      }
    }
