* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: #f2f4f1;
    color: #0000ff;
  }
  
  .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 78px 1fr auto;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    margin-left: 250px; /* Account for fixed sidebar */
    width: calc(100% - 250px); /* Prevent overflow so last nav item stays visible */
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    border-right: 1px solid #0000ff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 250px;
    background-color: #f2f4f1;
    z-index: 100;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  /* Sidebar border extension no longer needed with fixed positioning */
  
  .logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 40px;
  }
  
  .logo img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
  }
  
  .logo a {
    display: block;
    text-decoration: none;
  }
  
  .logo a:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
  }
  
  .sidebar .tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0000ff;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    position: absolute;
    bottom: 50px; /* Adjust this value to position where you want */
    left: 20px;
    right: 20px;
  }
  
  .topnav {
    border-bottom: 1px solid #0000ff;
    grid-column: 1;
    grid-row: 1;
    position: relative;
  }

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px; /* Larger touch target */
    background-color: transparent;
    min-height: 50px; /* Ensure minimum touch size */
    min-width: 50px;
  }

  .hamburger {
    width: 28px; /* Slightly larger hamburger */
    height: 22px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
  }

  .hamburger span {
    display: block;
    position: absolute;
    height: 1px; /* Thin lines */
    width: 100%;
    background: #0000ff;
    border-radius: 0;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 0px;
  }

  .hamburger span:nth-child(2) {
    top: 7px;
  }

  .hamburger span:nth-child(3) {
    top: 14px;
  }

  .mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 7px;
    transform: rotate(135deg);
  }

  .mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .mobile-menu-toggle.active .hamburger span:nth-child(3) {
    top: 7px;
    transform: rotate(-135deg);
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  /* Mobile header styles */
  .mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f2f4f1;
    padding: 15px 20px;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
  }
  
  .mobile-logo {
    display: block;
    height: 40px;
  }
  
  .mobile-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 78px;
  }
  
  nav ul li:not(:first-child) {
    border-left: 1px solid #0000ff;
  }
  
  nav ul li:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: -10px;
    bottom: 0;
    width: 1px;
    background-color: #0000ff;
  }
  
  nav ul li:last-child {
    border-right: none;
  }
  
  nav a {
    text-decoration: none;
    color: #0000ff;
    font-weight: normal;
    transition: text-decoration 0.2s;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  nav a.active {
    font-weight: bold;
    text-decoration: underline;
  }
  
  .content {
    padding: 20px;
    grid-column: 1;
    grid-row: 2;
  }
  
  .content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0000ff;
  }
  
  h2 {
    font-weight: normal;
  }
  
  .content p {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  /* Hero Section Styles */
  .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #f2f4f1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 800px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    opacity: 1;
  }
  
  .hero-item {
    position: absolute;
    width: 150px;
    z-index: 2;
  }

  .hero-item img {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }

  .hero-item p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: #0000ff;
    line-height: 1.3;
  }
  
  /* Artwork positioning */
  .artwork-1 {
    top: 10%;
    left: 5%;
  }
  
  .artwork-2 {
    top: 5%;
    right: 5%;
  }
  
  .artwork-3 {
    bottom: 40%;
    left: 15%;
  }
  
  .artwork-4 {
    top: 40%;
    right: 5%;
  }
  
  .artwork-5 {
    bottom: 10%;
    right: 10%;
  }
  
  /* Override padding for homepage with hero section */
  .content .hero {
    margin: -20px;
  }

  /* New Hero Section for index2.html */
  .hero-section {
    background-color: #f2f4f1;
    padding: 80px 40px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
  }

  .hero-center {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-logo {
    width: 100%;
    max-width: 1000px;
    height: auto;
    pointer-events: none;
    user-select: none;
  }

  .hero-cards {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 500px;
  }

  .hero-card {
    position: absolute;
    width: 154px;
    transition: transform 0.3s ease;
  }

  .hero-card:hover {
    transform: scale(1.05);
  }

  .hero-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
  }

  .hero-card p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #0000ff;
    line-height: 1.3;
    margin: 0;
  }

  /* Responsive card positioning */
  .card-1 {
    top: 10%;
    left: 22%;
  }

  .card-2 {
    top: 25%;
    right: 36%;
  }

  .card-3 {
    bottom: 5%;
    left: 29%;
  }

  .card-4 {
    top: 20%;
    right: 13%;
  }

  .card-5 {
    bottom: 5%;
    right: 15%;
  }

  /* Tablet responsive */
  @media (max-width: 1024px) {
    .hero-section {
      padding: 60px 30px;
      min-height: 70vh;
    }

    .hero-logo {
      max-width: 800px;
    }

    .hero-card {
      width: 132px;
    }

    .hero-card p {
      font-size: 0.8rem;
    }

    .card-1 {
      top: 12%;
      left: 8%;
    }

    .card-2 {
      top: 8%;
      right: 10%;
    }

    .card-3 {
      bottom: 38%;
      left: 10%;
    }

    .card-4 {
      top: 48%;
      right: 8%;
    }

    .card-5 {
      bottom: 10%;
      right: 15%;
    }
  }

  /* Mobile responsive */
  @media (max-width: 768px) {
    .hero-section {
      padding: 40px 20px;
      min-height: 60vh;
    }

    .hero-logo {
      max-width: 600px;
    }

    .hero-card {
      width: 110px;
    }

    .hero-card p {
      font-size: 0.7rem;
      line-height: 1.2;
    }

    .card-1 {
      top: 15%;
      left: 5%;
    }

    .card-2 {
      top: 10%;
      right: 50%;
    }

    .card-3 {
      top: 60%;
      left: 8%;
    }

    .card-4 {
      top: 40%;
      left: 35%;
    }

    .card-5 {
      bottom: 32%;
      right: 10%;
    }
  }

  /* Small mobile responsive */
  @media (max-width: 480px) {
    .hero-section {
      padding: 30px 15px;
      min-height: 50vh;
    }

    .hero-logo {
      max-width: 500px;
    }

    .hero-card {
      width: 88px;
    }

    .hero-card p {
      font-size: 0.6rem;
      line-height: 1.1;
    }

    .card-1 {
      top: 18%;
      left: 3%;
    }

    .card-2 {
      top: 12%;
      right: 3%;
    }

    .card-3 {
      bottom: 45%;
      left: 5%;
    }

    .card-4 {
      top: 55%;
      right: 3%;
    }

    .card-5 {
      bottom: 15%;
      right: 8%;
    }
  }
  
    /* Responsive layout */
  
  /* Tablet and smaller laptops */
  @media (max-width: 1200px) {
    .hero-bg {
      width: 75%;
      max-width: 600px;
    }
    
    .artwork-1 {
      left: 8%;
    }
    
    .artwork-2 {
      right: 8%;
    }
  }
  
  /* Mobile landscape and small tablets */
  @media (max-width: 1024px) {
    .container {
      grid-template-columns: 1fr;
      grid-template-rows: auto 1fr auto;
      margin-left: 0;
      margin-right: 0;
      padding-top: 70px;
      min-height: 100vh;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .sidebar {
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      width: 280px;
      background-color: #f2f4f1;
      border-right: 2px solid #0000ff;
      z-index: 999;
    }

    .sidebar.mobile-open {
      transform: translateX(0);
    }

    .mobile-header {
      display: flex;
    }
    
    .mobile-menu-toggle {
      display: block;
      position: relative;
      top: auto;
      left: auto;
      right: auto;
    }
    
    .container {
      padding-top: 70px;
    }

    .topnav {
      display: none;
    }

    .topnav.mobile-open {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: #f2f4f1;
      z-index: 1100;
      border: none;
      padding-top: 80px;
    }

    nav ul {
      flex-direction: column;
      height: auto;
      padding: 20px 0;
    }

    nav ul li {
      border: none;
      border-bottom: 1px solid #0000ff;
      height: 60px;
      width: 100%;
      margin-bottom: 10px;
      position: relative;
    }
    
    nav ul li::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      height: 1px;
      background-color: #0000ff;
      width: 100vw;
      margin-left: calc(-50vw + 50%);
    }

    nav ul li:last-child {
      border-bottom: 1px solid #0000ff;
    }

    nav ul li:not(:first-child)::before {
      display: none;
    }

    nav a {
      font-size: 1.3rem; /* Larger navigation text */
      padding: 18px;
      display: block;
      width: 100%;
      text-align: center;
      font-weight: 500;
    }

    /* Improve heading sizes for mobile */
    h1 {
      font-size: 2.5rem !important;
      line-height: 1.2;
    }

    h2 {
      font-size: 2.2rem !important;
      line-height: 1.3;
      font-weight: normal;
    }

    h3 {
      font-size: 1.8rem !important;
      line-height: 1.4;
    }

    /* Better paragraph spacing */
    p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    /* Touch-friendly improvements */
    button, .button, a {
      min-height: 44px; /* Minimum touch target size */
      min-width: 44px;
    }

    /* Mobile content spacing */
    .content-section {
      padding: 30px 20px;
    }

    .content-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .content-left h2 {
      font-size: 2.5rem !important;
      margin-bottom: 20px;
    }
  }

  /* Mobile specific styles */
  @media (max-width: 768px) {
    body {
      font-size: 1.1rem; /* Increase base font size for mobile */
      line-height: 1.5;
    }

    .container {
      margin-left: 0;
      padding-top: 70px;
      grid-template-rows: auto 1fr auto;
    }

    /* Sidebar adjustments for mobile */
    .sidebar {
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      width: 280px; /* Slightly wider for mobile */
      padding: 30px 25px;
    }

    .sidebar.mobile-open {
      transform: translateX(0);
    }

    /* Logo improvements for mobile */
    .logo img {
      max-height: 150px; /* Larger logo for mobile */
      width: auto;
    }

    .sidebar .tagline {
      font-size: 1.1rem; /* Larger tagline text */
      line-height: 1.7;
      bottom: 40px;
    }
    
    /* Hero responsive adjustments for mobile */
    .hero {
      min-height: 50vh;
      padding: 40px 20px;
    }
    
    .hero-bg {
      width: 85%;
      max-width: 400px;
    }
    
    .hero-item {
      width: 100px;
    }
    
    .hero-item p {
      font-size: 0.7rem;
      line-height: 1.2;
    }
    
    .artwork-1 {
      top: 8%;
      left: 3%;
    }
    
    .artwork-2 {
      top: 3%;
      right: 3%;
    }
    
    .artwork-3 {
      bottom: 45%;
      left: 10%;
    }
    
    .artwork-4 {
      top: 45%;
      right: 3%;
    }
    
    .artwork-5 {
      bottom: 8%;
      right: 8%;
    }
  }
  
  /* Mobile portrait */
  @media (max-width: 480px) {
    body {
      font-size: 1.2rem; /* Even larger base font for small screens */
      line-height: 1.6;
    }

    .sidebar {
      width: 300px; /* Even wider for small screens */
      padding: 35px 30px;
    }

    /* Logo even larger for small screens */
    .logo img {
      max-height: 180px;
    }

    .sidebar .tagline {
      font-size: 1.2rem;
      line-height: 1.8;
    }

    /* Even better typography for small screens */
    h1 {
      font-size: 2.8rem !important;
      line-height: 1.2;
    }

    h2 {
      font-size: 2.4rem !important;
      line-height: 1.3;
      font-weight: normal;
    }

    h3 {
      font-size: 2rem !important;
      line-height: 1.4;
    }

    p {
      font-size: 1.2rem;
      line-height: 1.7;
    }

    /* Mobile navigation improvements */
    nav a {
      font-size: 1.4rem;
      padding: 20px;
    }

    .hero {
      min-height: 40vh;
      padding: 30px 15px;
    }
    
    .hero-item {
      width: 80px;
    }
    
    .hero-item p {
      font-size: 0.6rem;
      line-height: 1.1;
    }
    
    .hero-bg {
      width: 80%;
      max-width: 300px;
    }
    
    .artwork-1 {
      top: 5%;
      left: 2%;
    }
    
    .artwork-2 {
      top: 2%;
      right: 2%;
    }
    
    .artwork-3 {
      bottom: 50%;
      left: 8%;
    }
    
    .artwork-4 {
      top: 50%;
      right: 2%;
    }
    
    .artwork-5 {
      bottom: 5%;
      right: 5%;
    }
  }
  
  /* Content Section Styles */
  .content-section {
    padding: 60px 40px;
    background-color: #f2f4f1;
    margin-bottom: 40px;
  }

  .content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .content-left h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 3.5rem;
    font-weight: normal;
    color: #0000ff;
    line-height: 1.1;
    margin: 0;
  }

  .content-right p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    color: #0000ff;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .content-right p:last-child {
    margin-bottom: 0;
  }

  /* Enhanced Mobile responsive adjustments for better readability */
  @media (max-width: 768px) {
    .content-section {
      padding: 50px 25px; /* More generous padding for breathing room */
    }
    
    .content-grid {
      grid-template-columns: 1fr;
      gap: 35px; /* Increased gap between sections */
    }
    
    /* Sted/Dans/Arkitektur - much larger and more readable */
    .content-left h2 {
      font-size: 3.2rem !important; /* Larger heading */
      line-height: 1.1;
      margin-bottom: 25px;
      text-align: center; /* Center the stacked title */
    }
    
    /* Text content - larger and more readable */
    .content-right p {
      font-size: 1.3rem !important; /* Much larger text */
      line-height: 1.7;
      margin-bottom: 1.5rem;
      max-width: none; /* Use full width */
    }
    
    .content-right p strong {
      font-size: 1.4rem; /* Even larger for emphasis */
      display: block;
      margin-bottom: 0.5rem;
    }
    
    /* Partner logos - better mobile arrangement */
    .partners-logos {
      gap: 25px 35px; /* More spacing */
    }
    
    .partner-logo {
      height: 45px; /* Larger logos */
      max-width: 120px;
    }
  }

  @media (max-width: 480px) {
    /* Very small screens - maximum readability */
    .content-section {
      padding: 40px 20px;
    }
    
    .content-grid {
      gap: 30px;
    }
    
    /* Sted/Dans/Arkitektur - even larger for small screens */
    .content-left h2 {
      font-size: 3.5rem !important; /* Very large heading */
      line-height: 1.0;
      margin-bottom: 30px;
      text-align: center;
    }
    
    /* Text - maximum readability */
    .content-right p {
      font-size: 1.4rem !important; /* Large readable text */
      line-height: 1.8;
      margin-bottom: 2rem;
    }
    
    .content-right p strong {
      font-size: 1.5rem; /* Very large for locations */
      line-height: 1.6;
    }
    
    /* Partner logos - better arrangement for very small screens */
    .partners-logos {
      gap: 20px;
      justify-content: center;
    }
    
    .partner-logo {
      height: 40px;
      max-width: 100px;
    }
    
    .partners-grid {
      flex-direction: column;
      gap: 20px;
      align-items: center;
    }
    
    .partners-grid .partner-logo {
      height: 50px;
      max-width: 150px;
    }
  }
  
  /* Partners Section Styles */
  .partners-section {
    padding: 60px 40px;
    background-color: #f2f4f1;
    margin-bottom: 40px;
    position: relative;
  }

  .partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    height: 1px;
    background: #0000ff;
    width: calc(100% + 40px);
    margin-left: 0;
  }

  .partners-container {
    width: 100%;
  }

  .partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 60px;
  }

  .partner-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .partner-logo:hover {
    opacity: 1;
  }

  /* Partners grid for the dedicated partners page */
  .partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .partners-grid .partner-logo {
    height: 69px; /* Increased by 15% from 60px */
    flex: 0 0 calc(33.33% - 25px);
    min-width: 0;
    max-width: calc(33.33% - 25px);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .partners-grid .partner-logo img {
    width: auto;
    height: 100%;
    max-height: 69px; /* Increased by 15% from 60px */
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7482%) hue-rotate(242deg) brightness(96%) contrast(143%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block; /* Ensure display is block */
    visibility: visible !important; /* Force visibility */
  }

  .partners-grid .partner-logo img:hover {
    opacity: 1;
  }

  /* Add a mobile-specific filter that's simpler */
  @media (max-width: 768px) {
    .partners-grid .partner-logo img {
      filter: invert(13%) sepia(94%) saturate(7482%) hue-rotate(242deg) brightness(96%) contrast(143%);
    }
  }

  /* Tablet responsive adjustments for partners */
  @media (max-width: 1024px) {
    .partners-grid {
      gap: 20px;
    }

    .partners-grid .partner-logo {
      height: 63px; /* Increased by 15% from 55px */
      flex: 0 0 calc(33.33% - 20px);
      max-width: calc(33.33% - 20px);
    }
    
    .partners-grid .partner-logo img {
      max-height: 63px; /* Increased by 15% from 55px */
    }
  }

  /* Mobile responsive adjustments for partners */
  @media (max-width: 768px) {
    .partners-section {
      padding: 40px 20px;
    }
    
    .partners-logos {
      gap: 30px 40px;
    }
    
    .partner-logo {
      height: 58px; /* Increased by 15% from 50px */
      max-width: 115px; /* Increased by 15% from 100px */
    }

    .partners-grid {
      gap: 15px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .partners-grid .partner-logo {
      height: 58px; /* Increased by 15% from 50px */
      flex: 0 0 calc(33.33% - 15px);
      max-width: calc(33.33% - 15px);
      display: flex !important;
      justify-content: center;
      align-items: center;
      min-height: 58px;
    }
    
    .partners-grid .partner-logo img {
      max-height: 58px; /* Increased by 15% from 50px */
      display: block !important;
      visibility: visible !important;
      width: auto;
      height: 100%;
    }
  }

  @media (max-width: 480px) {
    .partners-logos {
      gap: 20px 30px;
    }
    
    .partner-logo {
      height: 52px; /* Increased by 15% from 45px */
      max-width: 92px; /* Increased by 15% from 80px */
    }

    .partners-grid {
      gap: 10px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .partners-grid .partner-logo {
      height: 52px; /* Increased by 15% from 45px */
      flex: 0 0 calc(33.33% - 10px);
      max-width: calc(33.33% - 10px);
      display: flex !important;
      justify-content: center;
      align-items: center;
      min-height: 52px;
    }
    
    .partners-grid .partner-logo img {
      max-height: 52px; /* Increased by 15% from 45px */
      display: block !important;
      visibility: visible !important;
      width: auto;
      height: 100%;
    }
  }
  
  /* Footer Styles - matching navigation */
  .footer {
    border-top: 1px solid #0000ff;
    background-color: #f2f4f1;
    grid-column: 1;
    grid-row: 3;
    margin-top: auto;
  }

  .footer-content {
    display: flex;
    list-style: none;
    height: 78px;
    margin: 0;
    padding: 0;
  }

  .footer-item {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 78px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .footer-item:not(:first-child) {
    border-left: 1px solid #0000ff;
  }

  .footer-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0px;
    bottom: -10px;
    width: 1px;
    background-color: #0000ff;
    z-index: 3;
  }

  .footer-item:last-child {
    border-right: 1px solid #0000ff;
  }

  .footer-item:last-child::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -10px;
    bottom: -10px;
    width: 1px;
    background-color: #0000ff;
    z-index: 3;
  }

  .footer-item p {
    margin: 0;
    color: #0000ff;
    font-size: 0.9rem;
  }

  .footer-item a {
    text-decoration: none;
    color: #0000ff;
    font-weight: normal;
    transition: text-decoration 0.2s;
    font-size: 0.9rem;
  }

  .footer-item a:hover {
    text-decoration: underline;
  }

  /* Mobile responsive adjustments for footer */
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      height: auto;
    }

    .footer-item {
      border: none;
      border-bottom: 1px solid #0000ff;
      padding: 15px 0;
      height: auto;
    }

    .footer-item:not(:first-child)::before {
      display: none;
    }

    .footer-item:last-child {
      border-right: none;
    }

    .footer-item:last-child::after {
      display: none;
    }
  }

  /* About Section Styles */
  .about-section {
    padding: 60px 40px;
    background-color: #f2f4f1;
    grid-column: 1;
  }

  .about-content {
    max-width: 800px;
    margin: 0 auto;
  }



  .about-content h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: normal;
    color: #0000ff;
    margin: 0 0 20px 0;
    line-height: 1.2;
  }

  .about-content p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    color: #0000ff;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .about-content p:last-child {
    margin-bottom: 0;
  }

  /* Mobile responsive adjustments for about section */
  @media (max-width: 768px) {
    .about-section {
      padding: 40px 15px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    
    .about-content {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      word-wrap: break-word;
      overflow-wrap: break-word;
      word-break: break-word;
      hyphens: auto;
    }
    
    .about-content h1 {
      font-size: 2rem;
      margin-bottom: 30px;
    }
    
    .about-content p {
      font-size: 1rem;
      margin-bottom: 25px;
      word-wrap: break-word;
      overflow-wrap: break-word;
      word-break: break-word;
    }
    
    .about-content a {
      word-wrap: break-word;
      overflow-wrap: break-word;
      word-break: break-word;
    }
  }

  @media (max-width: 480px) {
    .about-section {
      padding: 30px 10px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    
    .about-content {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    
    .about-content h1 {
      font-size: 1.5rem;
      margin-bottom: 25px;
    }
    
    .about-content p {
      font-size: 0.9rem;
      line-height: 1.5;
      margin-bottom: 20px;
    }
  }
  
  /* Program Page Styles */
  .program-header {
    margin-bottom: 40px;
  }

  .program-header h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #0000ff;
    font-weight: normal;
  }

  .program-filters {
    display: flex !important;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    width: 100%;
  }

  .filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .filter-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: #0000ff;
    font-weight: normal;
    white-space: nowrap;
  }

  .filter-select {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: #0000ff;
    background-color: #f2f4f1;
    border: 1px solid #0000ff;
    padding: 5px 10px;
    min-width: 120px;
  }

  .filter-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #0000ff;
    background-color: #f2f4f1;
  }

  .filter-checkbox:checked {
    background-color: #0000ff;
  }

  /* Events Grid - moved to later section for better organization */

  .event-card {
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 255, 0.1);
  }

  .event-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 2px;
  }

  .event-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
  }

  .event-card:hover .event-image img {
    transform: scale(1.02);
  }

  .event-info {
    padding: 0;
  }

  .event-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    color: #0000ff;
    font-weight: normal;
    margin: 0 0 5px 0;
    line-height: 1.3;
  }

  .event-location {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: #0000ff;
    margin: 0;
    line-height: 1.3;
  }

  /* Responsive Design for Program Filters */
  @media (max-width: 768px) {
    .program-filters {
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
      width: 100%;
    }
    
    .filter-group {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }
    
    .filter-label {
      font-size: 0.9rem;
      margin-bottom: 5px;
    }
    
    .filter-select {
      width: 100%;
      min-width: auto;
      padding: 12px 15px;
      font-size: 0.9rem;
      border-radius: 4px;
    }
    
    .clear-filters-btn {
      width: 100%;
      text-align: center;
      padding: 12px 15px;
      background-color: #0000ff;
      color: white;
      text-decoration: none;
      border-radius: 4px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.9rem;
      transition: background-color 0.2s;
    }
    
    .clear-filters-btn:hover {
      background-color: #0000cc;
    }
    
    .program-header h1 {
      font-size: 2rem;
    }
  }

  @media (max-width: 480px) {
    .program-filters {
      flex-direction: column;
      align-items: stretch;
      gap: 15px;
      width: 100%;
      margin-bottom: 30px;
    }

    .filter-group {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    .filter-select {
      width: 100%;
      min-width: auto;
      padding: 12px 15px;
      font-size: 0.9rem;
      border-radius: 4px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%230000ff" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 12px;
      padding-right: 35px;
    }

    .program-header h1 {
      font-size: 1.8rem;
    }
    
    .events-grid {
      grid-template-columns: 1fr !important;
      gap: 25px;
      max-width: 100%;
      margin: 30px auto 0;
      padding: 0 10px;
    }
    
    .event-title {
      font-size: 1rem;
    }
    
    .event-location {
      font-size: 0.9rem;
    }
  }
  
  /* Event Detail Page Styles */
  .event-detail {
    max-width: 1000px;
    margin: 0 auto;
  }

  .event-detail-header {
    margin-bottom: 40px;
  }

  .back-link {
    font-family: 'IBM Plex Mono', monospace;
    color: #0000ff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-block;
  }

  .back-link:hover {
    text-decoration: underline;
  }

  .event-detail h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #0000ff;
    font-weight: normal;
  }

  .event-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .event-category,
  .event-venue,
  .event-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: #0000ff;
    font-weight: normal;
  }

  .event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .event-image-large {
    width: 100%;
  }

  .event-image-large img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .event-description h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    color: #0000ff;
    font-weight: normal;
    margin: 0 0 15px 0;
  }

  .event-description p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    color: #0000ff;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .practical-info {
    margin-top: 20px;
  }

  .info-item {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    color: #0000ff;
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .info-item strong {
    font-weight: normal;
  }

  /* Responsive Design for Event Detail */
  @media (max-width: 768px) {
    .event-content {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .event-detail h1 {
      font-size: 2rem;
    }
    
    .event-meta {
      flex-direction: column;
      gap: 10px;
    }
    
    .event-description h2 {
      font-size: 1.1rem;
    }
    
    .event-description p {
      font-size: 0.95rem;
    }
  }

  @media (max-width: 480px) {
    .event-detail h1 {
      font-size: 1.8rem;
    }
    
    .event-description h2 {
      font-size: 1rem;
    }
    
    .event-description p {
      font-size: 0.9rem;
    }
    
    .info-item {
      font-size: 0.9rem;
    }
  }

  /* Dynamic CMS Program Styles */
  .program-filter {
    padding: 8px 12px;
    border: 1px solid #0000ff;
    background: white;
    color: #0000ff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 2px;
  }

  .clear-filters-btn {
    padding: 8px 16px;
    background: #0000ff;
    color: white;
    border: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 2px;
  }

  .clear-filters-btn:hover {
    background: #000099;
  }

  /* Loading states */
  .loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    font-family: 'IBM Plex Mono', monospace;
  }

  .error-message {
    text-align: center;
    padding: 40px;
    color: #cc0000;
    background: #ffe6e6;
    border: 1px solid #cc0000;
    margin: 20px 0;
    border-radius: 3px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .no-events {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    font-family: 'IBM Plex Mono', monospace;
  }

  /* Enhanced event card styles for CMS */
  .event-card.highlighted {
    border: 2px solid #0000ff;
    position: relative;
  }

  .highlight-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0000ff;
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
    border-radius: 2px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .event-content {
    padding: 15px;
  }

  .event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 11px;
    color: #666;
    font-family: 'IBM Plex Mono', monospace;
  }

  .event-type {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
  }

  .event-artist {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .event-description {
    font-size: 13px;
    line-height: 1.4;
    margin: 10px 0;
    color: #444;
    font-family: 'IBM Plex Mono', monospace;
  }

  .event-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 15px 0;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }

  .event-datetime {
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .event-datetime .date {
    display: block;
    font-weight: bold;
    color: #0000ff;
    margin-bottom: 2px;
  }

  .event-datetime .time {
    display: block;
    color: #666;
  }

  .event-price {
    font-size: 12px;
    font-weight: bold;
    color: #0000ff;
    font-family: 'IBM Plex Mono', monospace;
  }

  .booking-link {
    display: inline-block;
    background: #0000ff;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    transition: background-color 0.2s;
    margin-top: 10px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .booking-link:hover {
    background: #000099;
  }

/* New Program Card Styles - Visual Layout */
.program-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: none;
}

.program-card:hover {
  border: 2px solid #0000ff;
  transform: translateY(-2px);
  box-shadow: none;
}

.program-card-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.program-card:hover .program-card-image img {
  transform: scale(1.05);
}

.program-card-type {
  color: #0000ff;
  font-size: 0.9rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-family: 'IBM Plex Mono', monospace;
}

.program-card-content {
  padding: 20px;
  background: transparent;
}

.program-card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0000ff;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'IBM Plex Mono', monospace;
}

.program-card-location {
  font-size: 0.9rem;
  color: #0000ff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-family: 'IBM Plex Mono', monospace;
}

/* Override existing grid styles for new card layout */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Grid layout adjustments for different screen sizes */
@media (min-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 30px auto 0;
  }
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 30px;
    padding: 0 15px;
    margin: 30px auto 0;
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 25px;
    padding: 0 10px;
    margin: 25px auto 0;
  }
  
  .program-card-image {
    height: 200px;
  }
  
  .program-card-content {
    padding: 15px;
  }
  
  .program-card-title {
    font-size: 1rem;
  }
  
  .program-card-location {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
    padding: 0 10px;
    margin: 25px auto 0;
    width: calc(100% - 20px);
  }
  
  .program-card-image {
    height: 180px;
  }
  
  .event-card {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .event-image {
    margin-bottom: 15px;
  }
  
  .event-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .event-location {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
    padding: 0 15px;
    margin: 20px auto 0;
    width: calc(100% - 30px);
  }
  
  .program-card-image {
    height: 180px;
  }
  
  .program-card-content {
    padding: 15px;
  }
  
  .program-card-title {
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .program-card-location {
    font-size: 0.85rem;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  font-family: 'IBM Plex Mono', monospace;
}

.lightbox-close:hover {
  color: #0000ff;
}

.event-image-large img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.event-image-large img:hover {
  opacity: 0.8;
}

/* News Section */
.news-section {
  margin: 50px 0 50px 0;
  text-align: center;
}

.news-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.news-box {
  background: transparent;
  border: none;
  border-radius: 3px;
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
  margin-left: -20px;
  margin-right: -20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-box::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 1px;
  background: #0000ff;
}

.news-box:hover {
  background: transparent;
}

.news-box h2:first-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  color: #0000ff;
  margin-top: 20px;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.news-content {
  text-align: center;
  margin-bottom: 40px;
}

.news-content h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  color: #0000ff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.news-content p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #0000ff;
  margin-bottom: 30px;
  font-weight: normal;
}

.news-button {
  display: inline-block;
  color: #0000ff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border: 1px solid #0000ff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.news-button:hover {
  background: #0000ff;
  color: white;
}

.news-link {
  display: inline-block;
  color: #0000ff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border: 1px solid #0000ff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.news-link:hover {
  background: #0000ff;
  color: white;
}

.news-archive {
  text-align: center;
}

.archive-link {
  color: #0000ff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #0000ff;
  transition: all 0.3s ease;
}

.archive-link:hover {
  color: #333;
  border-bottom-color: #333;
}

@media (max-width: 768px) {
  .news-section {
    margin: 40px 0 30px 0;
  }
  
  .news-box {
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }
  
  .news-box h2:first-child {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  
  .news-content h2 {
    font-size: 1.3rem;
  }
  
  .news-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .news-section {
    margin: 30px 0 20px 0;
  }
  
  .news-box {
    padding: 15px;
    margin-left: -20px;
    margin-right: -20px;
  }
  
  .news-box h2:first-child {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }
  
  .news-content h2 {
    font-size: 1.1rem;
  }
  
  .news-content p {
    font-size: 1rem;
  }
}

/* News Archive Grid */
.news-archive-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.news-archive-grid .news-item {
  position: relative;
}

.news-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .news-archive-grid {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .news-archive-grid {
    gap: 20px;
  }
}

/* Video Section */
.video-section {
  margin: 60px 0 40px 0;
  text-align: center;
}

.video-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.video-wrapper {
  background: #0000ff;
  padding: 30px;
  transition: all 0.3s ease;
  margin-left: -20px;
  margin-right: -20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper:hover {
  background: #0000ff;
}

.video-wrapper > div {
  width: 50%;
  max-width: 50%;
}

/* Hero Video - Special override for the hero video */
.hero-video {
  margin: 0 !important;
  padding: 0 !important;
}

.hero-video .video-wrapper {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 -20px !important;
  width: calc(100% + 40px) !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video .video-wrapper > div {
  width: 85% !important;
  max-width: 85% !important;
}

.video-wrapper iframe {
  border-radius: 3px;
  /* Improve mobile loading */
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Mobile-specific video optimizations */
@media (max-width: 768px) {
  /* Prevent horizontal scroll from video overflow */
  body {
    overflow-x: hidden;
  }
  
  .container {
    overflow-x: hidden;
  }
  
  .content {
    overflow-x: hidden;
  }
  
  .video-wrapper iframe {
    /* Force hardware acceleration on mobile */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }
  
  /* Ensure video container is visible during load */
  #vimeo-container {
    min-height: 200px;
    background: #f0f0f0;
    position: relative;
  }
  
  #vimeo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #0000ff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: videoLoading 1s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  #vimeo-container.loading::before {
    opacity: 1;
  }
  
  #vimeo-container iframe {
    z-index: 2;
  }
  
  @keyframes videoLoading {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }
}

@media (max-width: 768px) {
  .video-section {
    margin: 40px 0 30px 0;
  }
  
  .video-wrapper {
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }
  
  /* Make video 25% bigger on mobile - 62.5% vs desktop 50% */
  .video-wrapper > div {
    width: 62.5%;
    max-width: 62.5%;
  }
}

@media (max-width: 480px) {
  /* Ensure no horizontal scroll on small screens */
  body {
    overflow-x: hidden;
  }
  
  .container {
    overflow-x: hidden;
  }
  
  .content {
    overflow-x: hidden;
  }
  
  .video-section {
    margin: 30px 0 20px 0;
  }
  
  .video-wrapper {
    padding: 15px;
    margin-left: -20px;
    margin-right: -20px;
  }
  
  /* Make video 25% bigger on small mobile - 62.5% vs desktop 50% */
  .video-wrapper > div {
    width: 62.5%;
    max-width: 62.5%;
  }
}

/* Festival Logos Section */
.logos-section {
  margin: 60px 0 40px 0;
  text-align: center;
}

.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.festival-logos {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logos-section {
    margin: 40px 0 30px 0;
  }
  
  .festival-logos {
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .logos-section {
    margin: 30px 0 20px 0;
  }
  
  .festival-logos {
    max-height: 120px;
  }
}

/* Assistant Section */
.assistant-section {
  margin: 80px 0 100px 0;
  text-align: center;
}

.assistant-link-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 25px;
}

.assistant-link {
  display: inline-block;
  color: #0000ff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 30px;
  border: 2px solid #0000ff;
  border-radius: 3px;
  transition: all 0.3s ease;
  background: transparent;
}

.assistant-link:hover {
  background: #0000ff;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .assistant-section {
    margin: 60px 0 40px 0;
  }
  
  .assistant-link-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .assistant-link {
    font-size: 1rem;
    padding: 12px 24px;
    width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .assistant-section {
    margin: 40px 0 30px 0;
  }
  
  .assistant-link {
    font-size: 0.9rem;
    padding: 10px 20px;
    width: 180px;
    text-align: center;
  }
}
  