
    /* ===== MEDIA QUERIES ===== */
    @media (max-width: 768px) {

      /* Mobile Navigation */
      .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1000;
      }

      .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: var(--color-text-primary);
        margin: 5px 0;
        transition: 0.4s;
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 2rem 0;
      }

      .nav-links.active {
        right: 0;
      }

      .nav-links a {
        display: block;
        margin: 1.5rem 0;
        font-size: 1.1rem;
      }

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

      .overlay.active {
        display: block;
      }

      .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        /* Add space for the fixed header */
      }

      .hero-text,
      .hero-image {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        margin: 0 0 1rem 0;
      }

      /* Ensure video container takes full width on mobile */
      .hero-image .video-container {
        width: 100%;
        margin: 0 auto;
      }

      .hero-text h1 {
        font-size: 2rem;
      }

      /* Feature section adjustments */
      .feature-block {
        display: block;
        /* remove flex properties */
        margin: 0;
        /* no extra margin between blocks */
        padding: 0;
      }

      .feature-text,
      .feature-image {
        margin: 0;
        padding: 0;
        width: 100%;
      }

      .feature-text h3 {
        margin: 0.5rem 0;
        font-size: 1.5rem;
      }

      .feature-text p {
        margin: 0.5rem 0;
      }

      .feature-image {
        margin-top: 0;
      }

      /* Pricing section adjustments */
      .pricing-plans {
        flex-direction: column;
        align-items: center;
      }

      .plan {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
      }

      /* Add this outside of any media query */
      .video-container {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
        width: 100%;
        margin-bottom: 1rem;
        max-width: 100%;
      }

      .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
      }


      /* General spacing and font adjustments */
      #features h2,
      #pricing h2,
      #samples h2,
      #faq h2,
      .cta-section h2 {
        font-size: 1.8rem;
      }

      section {
        padding: 2rem 1rem;
      }

      body {
        padding-top: 65px;
        /* Slightly less padding for mobile */
      }
    }

    /* NEW: Make all section h2 titles use theme color */
    section h2 {
      color: var(--color-primary);
      text-align: center;
    }

    /* Add this style to handle mixed color titles */
    /* Update the section titles to be black by default */
    section h2 {
      text-align: center;
      color: var(--color-text-primary);
    }

    /* Add style for the themed word in titles */
    .theme-word {
      color: var(--color-primary);
    }

    #fullscreenViewer {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 9999;
      justify-content: center;
      align-items: center;
    }

    #fullscreenViewer .close-button {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 2rem;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
    }

    #fullscreenViewer .fullscreen-image {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
    }

    @media (min-width: 769px) {
      .hero-image {
        margin-top: 80px;
      }

      .hero {
        flex-direction: row;
        /* Explicitly set row direction for desktop */
      }

      .hero-text {
        padding-right: 1rem;
      }

      .hero-image {
        padding-left: 1rem;
      }
    }

    /* New: style for wrapping the question mark */
    .question-mark {
      color: var(--color-primary);
    }
