html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
    }
    body {
      font-family: Arial, sans-serif;
      background: #fff;
      color: #333;
      font-family: "Ovo", serif;
      min-width: 320px;
    }
    .slider-container {
      position: relative;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
    }
      h1, p.logo {
        background-image: linear-gradient(to bottom, #f0efef, #dcdcdc, #b0aeae, #dcdcdc, #f0efef);
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
      }
      h1 {
        margin: 0;
        font-size: clamp(2rem, 5vw, 4rem);
        text-align: center;
      }
      p.logo {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        font-weight: bold;
        margin-top: 0.5em;
        text-align: center;
        text-transform: uppercase;
        font-family: "Comme", sans-serif;
      }
    h2 {
        margin: 0 0 0.5em 0;
        font-size: 1.3em;
        color: #848484;
    }
    p {
        margin: 0;
        font-size: clamp(1rem, 2.5vw, 1.4rem);
        line-height: 1.5;
        color: #848484;
        margin-bottom: 20px;
    }
    .panel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3em;
      color: #000;
      opacity: 0;
      z-index: 1;
      pointer-events: none;
      background-clip: padding-box;
      transition: transform 0.7s cubic-bezier(.77,0,.18,1), opacity 0.7s;
    }
    .panel.visible {
      opacity: 1;
      z-index: 2;
      transform: translateY(0);
      pointer-events: auto;
    }
    .panel.animating-up {
      opacity: 1;
      /* Scroll up/down arrow buttons for scroll-panel-container */
      z-index: 3;
      pointer-events: auto;
      transform: translateY(100vh);
      animation: slideUp 0.7s cubic-bezier(.77,0,.18,1) forwards;
    }
    .panel.animating-down {
      opacity: 1;
      z-index: 3;
      pointer-events: auto;
      transform: translateY(0);
      animation: slideDown 0.7s cubic-bezier(.77,0,.18,1) forwards;
    }
    .scroll-panel-container {
      height: 100vh;
      max-height: 100vh;
      overflow: hidden;
      border-radius: 12px;
      padding: 60px 24px;
      box-sizing: border-box;
      width: 80%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      color: #000;
      text-align: center;
      position: relative;
    }
    .scroll-content-inner {
      overflow-y: auto;
      height: 100vh;
      max-height: 99dvh;
      width: 100%;
      padding: 32px 60px;
      box-sizing: border-box;
      border-radius: 12px;
      background: none;
    }
    .scroll-arrow {
      position: absolute;
      right: 10px;
      z-index: 20;
      /* font-size: 2em; */
      background: #fff;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      cursor: pointer;
      display: none;
          margin: 8px auto;
    }
    .scroll-arrow.up {
      top: 10px;
    }
    .scroll-arrow.down {
      bottom: 10px;
    }
    @keyframes slideUp {
      from { transform: translateY(100vh); }
      to { transform: translateY(0); }
    }
    @keyframes slideDown {
      from { transform: translateY(0); }
      to { transform: translateY(100vh); }
    }
    /* Panel colors */
    .panel:nth-child(1) { background: #375185; }
    .panel:nth-child(2) { background: #fff; }
    .panel:nth-child(3) { background: #fff; }
    .panel:nth-child(4) { background: #fff; }
    .panel:nth-child(5) { background: #fff; }
    .panel:nth-child(6) { background: #fff; }
    .panel:nth-child(7) { background: #fff; }
    .panel-content {
      position: relative;
      width: 80%;
      /* max-width: 900px; */
      margin: 0 auto;
      /* background: rgba(255,255,255,0.1); */
      border-radius: 16px;
      /* box-shadow: 0 4px 24px rgba(0,0,0,0.2); */
  overflow: hidden;
      height: 95vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
      padding: 0px;
      /* padding-top: 60px; */
      box-sizing: border-box;
    }
    .slider {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  /* transition: transform 0.6s cubic-bezier(.77,0,.18,1); */

  gap: 20px;
    }
    .slide {
  flex: 1 0 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  /* padding-top: 50px; */
    }
    .slide span {
      display: block;
      width: 100%;
    }
    .slide-content {
      /* flex: 1; */
      padding: 5px;
      color: #000;
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      order: 2;

    }
    .slide-content h2 {
      margin-bottom: 0.5em;
      font-size: 1.3rem;
      text-align: center;
      font-family: "Comme", sans-serif;
      color: #526B9C;
      text-transform: uppercase;
    }

    .slide-content p.dimensions {
      margin: 0;
      font-size: 1rem;
      font-family: "Comme", sans-serif;
      text-align: center;
      margin-bottom: 0.5em;
      text-transform: uppercase;
    }
    .slide-content p {
      margin: 0;
      font-size: 1rem;
        line-height: 1.3;
      text-align: center;
    }
    .slide-photo {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      /* background: #333; */
      width: 100%;
      order: 1;
    }
    .slide-photo img {
      width: auto;
      height: 55vh;
      border-radius: 8px;
      /* box-shadow: 0 2px 12px rgba(0,0,0,0.3); */
    }
    .slider-nav {
      position: absolute;
      bottom: 16px;
      right: 10px;
      top: 20px;
      /* transform: translateX(-50%); */
      display: flex;
      gap: 12px;
      z-index: 2;
    }
    .slider-indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #888;
      border: 2px solid #fff;
      cursor: pointer;
      transition: background 0.3s, border 0.3s;
    }
    .slider-indicator.active {
      background: #fff;
      border-color: #526B9C;
    }
    .slider-arrow {
      background: #fff;
      color: #fff;
      width: 44px;
      height: 44px;
      font-size: 2em;
      /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
  position: absolute;
  top: 0px;
  /* transform: translateY(-50%); */
  z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      border-radius: 50%;
      cursor: pointer;
    }
    .slider-arrow.left { left: 10px; }
  .slider-arrow.right { left: 50px; }


    .panel-text {
      flex: 1;
      padding: 2em;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;
    }
    .panel-photo {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #333;
    }
    .panel-photo img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }
      
    /* Panel indicators */
    .indicators {
      position: fixed;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 16px;
      z-index: 10;
      align-items: center;
    }
    .indicator {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #888;
      border: 2px solid #fff;
      cursor: pointer;
      transition: background 0.3s, border 0.3s;
    }
    .indicator.active {
      background: #fff;
      border-color: #526B9C;
    }
    .scroll-panel-container {
      height: 100vh;
      max-height: 100vh;
      overflow: hidden;
      /* border-radius: 12px; */
      padding: 0px;
      box-sizing: border-box;
      width: 100%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      color: #000;
      text-align: center;
      position: relative;
    }
    .scroll-panel-content {
      text-align: center;
      width: 100%;
      display: inline-block;
    }
    .scroll-panel-content h2 {
      margin: 0 0 0.5em 0;
      font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    }
    .scroll-panel-content p {
      /* margin: 0 0 1em 0; */
      /* font-size: 1rem; */
      /* line-height: 1.5; */
      /* color: #000; */
    }
    .strapline-container {
      position: relative;
      height: 1.5em;
      margin: 32px 0 24px 0;
      width: 100%;
    }
    .strapline {
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      transition: opacity 0.7s;
      font-size: clamp(1.2rem, 3vw, 1.8rem);
      width: 100%;
      color: #526B9C;
    }
    .strapline.active {
      opacity: 1;
    }
    .read-more-section {
      /* margin-top: 32px; */
    }
    .read-more-toggle {
      color: #526B9C;
      background: #fff;
      padding: 8px 18px;
      border-radius: 20px;
      text-decoration: none;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.2s;
      display: inline-block;
      font-size: 16px;
      text-transform: uppercase;font-family: "Comme", sans-serif;
    }
    .read-more-toggle:hover {
      background: #1769aa;
      color: #fff;
    }
    .read-more-content {
      margin-top: 18px;
      font-size: 1.1rem;
      color: #000;
      /* background: rgba(33,150,243,0.08); */
      border-radius: 8px;
      padding: 16px;
      line-height: 160%;
    }
    
    .read-more-content p {
      
      line-height: 160%;
    }
    .panel-contact {
      text-align: center;
    }
    .panel-contact img {
      margin: 0px;
      width: 90%;
      max-width: 900px;
      height: auto;
    }
    .panel-contact a {
      color: #526B9C;
      text-decoration: none;
      font-size: 1.2rem;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: color 0.3s;
    }
    
    .panel-contact a.contact_email {
      font-size: clamp(1rem, 2.5vw, 1.5rem)!important;
    }
        .panel-arrow {
      background: #fff;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      font-size: 1.5em;
      cursor: pointer;
      margin: 8px auto;
      display: block;
    }
        /* Responsive YouTube video panel */
    #youtube-video {
      width: 80%;
      max-width: 1020px;
      margin: 0 auto;
      position: relative;
      /* 16:9 aspect ratio container */
      aspect-ratio: 16/9;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    #youtube-video iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);
      background: #000;
    }
    #panel-6 .panel-contact  {
      width: 90%;
      max-width: 900px;
      height: auto;
    }
    
#video-placeholder {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: #fff; 
    border: 2px solid #375185;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
}
#video-placeholder span {
color: #375185;; font-size: 2rem; text-align: center;
}
    @media (max-width: 1020px) {
  
    }
    @media (max-width: 700px) {
      .panel-content {
        flex-direction: column;
        width: 100%;
        height:95vh;
        padding-top: 40px;
        padding-right: 40px;
        padding-left: 40px;
      }
      .slide {
        flex-direction: column;
        gap: 0em;
      }
      .slide-content {
        /* padding: 0em 1em; */
      width: 100%;
        box-sizing: border-box;
      }
      
      .slide-content h2 {
        font-size: 20px;
        line-height: 120%;
      }
      .slide-content p {
        font-size: 14px;
        line-height: 120%;
      }
      .slide-photo {
        /* padding: 1em; */
      width: 100%;
        padding-bottom: 10px
      }
      .slide-photo img {
        height: auto;
        width: 90%;
      }
      .panel-content {
        flex-direction: column;
        width: 95%;
      }
      .panel-text, .panel-photo {
        padding: 1em;
      }
      a.contact_email {
        font-size: 0.8rem!important;
      }
      img.signature {
        width: 80%!important;
        height: auto!important;
        max-width: 420px;
    }
    .scroll-panel-container {
      /* width: 90%; */
    }
    
#video-placeholder span {
font-size: 1.5rem; 
}
  
  }
  
    @media (max-width: 480px) {
      
      .panel-contact a.contact_email {
          font-size: .8rem !important;
      }
      .slide-content p.dimensions {
        font-size: 0.8rem!important;
      }
    }
    @media (max-width: 355px) {
      h1 {
        font-size: 1.8rem;
      }
      p.logo {
        font-size: 1.2rem;
      }
      .slide-content h2 {
        font-size: 18px;
        line-height: 120%;
      }
      .slide-content p {
        font-size: 12px;
        line-height: 100%;
      }
      .scroll-panel-content h2 {
        font-size: 1.2rem;
      }
      .scroll-panel-content p {
        font-size: 1rem;
        line-height: 120%!important;
      }
    .scroll-panel-container {
      /* width: 90%; */
      height: 100vh;
      max-height: 100vh;
      padding-top: 0px;
      padding-bottom: 0px;
    }
    .scroll-content-inner {
      max-height: 100vh;
    }
    
    .panel-contact a.contact_email {
        font-size: 0.7rem !important;
    }
    }
    .iframe-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
  pointer-events: none; /* Allows pointer/click events to pass through for video controls */
}