html{
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        body {
            /* Added min-height to ensure enough scrollable content for sticky effect */
            min-height: 200vh; /* This is just for demonstration, adjust as needed with real content */
            background-color: #000; /* Ensure body has a background */
        }

        .animate-blob {
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            animation: blob 7s ease-in-out infinite;
            box-shadow: 0 25px 50px rgba(255, 255, 255, 0.1); /* subtle white glow */
        }

        @keyframes blob {
            0% {
                border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            }
            50% {
                border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
            }
            100% {
                border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            }
        }

        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .animate-scroll {
            animation: scroll-left 40s linear infinite;
        }

        .triangle {
            stroke-dasharray: 240;
            stroke-dashoffset: 480;
            stroke: #000;
            transition: all 0.7s cubic-bezier(.86,0,.07,1);
        }
        .circle {
            stroke: #ffffff;
            stroke-dasharray: 650;
            stroke-dashoffset: 650;
            opacity: 0.3;
            transition: all 0.5s cubic-bezier(.86,0,.07,1);
        }
        button:hover .triangle,
        .group:hover .triangle {
            stroke-dashoffset: 0;
            opacity: 1;
            stroke: #ffffff;
            animation: nudge 0.7s cubic-bezier(.86,0,.07,1);
        }
        button:hover .circle,
        .group:hover .circle {
            stroke-dashoffset: 0;
            opacity: 1;
        }
        @keyframes nudge {
            0% { transform: translateX(0) }
            30% { transform: translateX(-5px) }
            50% { transform: translateX(5px) }
            70% { transform: translateX(-2px) }
            100% { transform: translateX(0) }
        }
        .main-section {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            padding: 60px 80px;
            gap: 60px;
        }

        /* Your existing CSS (no changes needed here from your provided block) */
.left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.left-content h1 {
    font-size: 2.8em;
    margin: 0;
    color: #ffffff;
}

.left-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ccc;
}

.featured-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.featured-video iframe {
    width: 100%;
    height: 320px;
    border: none;
}

/* Film strip general styling (default to vertical for larger screens) */
.film-strip {
    position: absolute; /* Keep absolute for larger screens' rotated layout */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column; /* Default vertical */
    gap: 20px; /* Gap between frames */
    height: max-content; /* Allow height to be determined by content */
    width: 90%; /* Take full width of its container */
    padding: 10px; /* Added padding for spacing around frames */
    /* Remove overflow properties here as they will be defined per media query */
}

.scroll-up {
    animation: scrollUp 20s linear infinite;
}

.scroll-down {
    animation: scrollDown 20s linear infinite;
}

/* Base keyframes for vertical scrolling */
@keyframes scrollUp {
    0% {
        transform: translateY(0%);
    }
    100% {
        /* This should be -X% where X is 100 / duplicationFactor */
        /* If 5x duplication, then -20% should be used for 1 full cycle */
        transform: translateY(-20%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-20%); /* Adjust to match the 100% of scrollUp for seamless loop */
    }
    100% {
        transform: translateY(0%);
    }
}

/* Pause scrolling on hover of the filmstrip wrapper */
.filmstrip-wrapper:hover .scroll-up,
.filmstrip-wrapper:hover .scroll-down,
/* Add the new horizontal classes to the hover pause as well */
.filmstrip-wrapper:hover .scroll-left,
.filmstrip-wrapper:hover .scroll-right {
    animation-play-state: paused;
}


/* Film strip edges (your existing design) */
.film-strip::before,
.film-strip::after {
    content: "";
    position: absolute;
    /* Default for vertical orientation */
    width: 10px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom, /* Changed to 'to bottom' for vertical stripes */
        #5e5e5e,
        #5e5e5e 8px,
        transparent 8px,
        transparent 16px
    );
    z-index: 1;
}

.film-strip::before {
    left: 0;
    top: 0;
}

.film-strip::after {
    right: 0;
    top: 0;
}

.frame {
    width: 180px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 0 6px #b7410e;
    flex-shrink: 0;
    margin: 0 0px;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.frame:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 6px #b7410e;
    z-index: 2;
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.frame:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: white;
    font-size: 20px;
}

/* Hide scrollbar for aesthetics (optional) */
.film-strip::-webkit-scrollbar {
    display: none;
}
.film-strip {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


/* ------------------------------------------- */
/* MEDIA QUERY FOR SMALL SCREENS (<= 1000px) */
/* ------------------------------------------- */
@media (max-width: 1000px) {
    .main-section {
        flex-direction: column;
        align-items: center;
        padding: 40px;
    }

    .filmstrip-wrapper {
        transform: none;
        flex-direction: column;
        height: auto;
        width: 100%;
        gap: 20px;
    }

    .film-strip-container {
        width: 100%;
        height: 150px; /* Fixed height for horizontal filmstrip container */
        transform: none;
        overflow: hidden; /* Ensure content is clipped for scrolling */
    }

    .film-strip {
        position: relative; /* Change from absolute to relative for better flow within horizontal container */
        flex-direction: row; /* Layout items horizontally */
        overflow-x: scroll; /* Enable horizontal scrolling */
        overflow-y: hidden; /* Hide vertical overflow */
        height: 100%; /* Take full height of its parent container */
        width: max-content; /* Ensure content is wider than container for scrolling */
        padding: 0 20px; /* Padding for horizontal edges, adjust as needed */
        gap: 24px; /* Adjust gap between frames if desired for horizontal layout */

        /* IMPORTANT: Reset existing animations before applying new ones */
        animation: none !important; /* This is crucial to remove vertical animations */
    }

    /* Film strip edges for horizontal orientation */
    .film-strip::before,
    .film-strip::after {
        width: 100%;
        height: 10px;
        background: repeating-linear-gradient(
            to right, /* Changed to 'to right' for horizontal stripes */
            #5e5e5e,
            #5e5e5e 8px,
            transparent 8px,
            transparent 16px
        );
        /* Position for horizontal stripes */
        left: 0;
        right: 0;
    }

    .film-strip::before {
        top: 0;
        bottom: auto; /* Ensure it's only at the top */
    }

    .film-strip::after {
        bottom: 0;
        top: auto; /* Ensure it's only at the bottom */
    }

    .frame {
        width: 200px; /* Adjusted frame width for horizontal layout */
        height: 110px; /* Adjusted frame height for horizontal layout */
        margin: 0 10px;
    }

    /* Define NEW keyframes for horizontal scrolling */
    @keyframes scrollLeft {
        0% {
            transform: translateX(0%);
        }
        100% {
            /* Example: if duplicationFactor is 5, then 100/5 = 20% */
            transform: translateX(-20%);
        }
    }

    @keyframes scrollRight {
        0% {
            transform: translateX(-20%); /* Adjust to match scrollLeft's 100% for seamless loop */
        }
        100% {
            transform: translateX(0%);
        }
    }

    /* Apply horizontal animations to filmstrips on small screens
       We are overriding the 'animation' property for these classes within this media query. */
    .film-strip.scroll-up {
        animation: scrollLeft 20s linear infinite; /* Apply horizontal animation */
    }

    .film-strip.scroll-down {
        animation: scrollRight 20s linear infinite; /* Apply horizontal animation */
    }
}

        /* Sticky Section Styling */
        .sticky-hero {
            position: sticky;
            top: 0;
            height: 100vh; /* Make it fill the viewport initially */
            z-index: 0; /* Ensure it stays behind other content */
            display: flex; /* Retain flex properties for centering content */
            align-items: center; /* Center vertically */
            justify-content: center; /* Center horizontally (for content within) */
            padding-top: 4rem; /* Adjust for navbar height, approx 64px */
            box-sizing: border-box; /* Include padding in height calculation */
        }

        /* Ensure subsequent sections have a background to cover the sticky hero */
        .section-with-background {
            position: relative; /* To control z-index */
            z-index: 1; /* Bring them above the sticky hero */
            /* Background colors are already defined in your Tailwind classes like bg-black, bg-gray-900 */
        }

        /* Ensure header is always on top */
        header {
                position: sticky;
                top: 0;
                z-index: 10; /* Ensure header is always on top */
        }

        .featured-video {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }

        .featured-video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .aspect-w-16.aspect-h-9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.aspect-w-16.aspect-h-9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}