croce* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Helvetica', Arial, sans-serif;
    background-color: #1a1a1a; /* 90% black */
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

/* Grid System - 3 Column Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: none; /* Removed max-width to allow full page width */
    margin: 0;
    padding: 0; /* Removed padding for perfect central balance */
    position: relative;
    z-index: 3; /* Ensure content appears above 3D canvas */
    justify-content: space-around; /* Distribute columns evenly with space around */
}

/* Hero Section - Always visible */
.hero-section {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0; /* Removed left padding to align logo completely left */
}

/* Scroll Content - Hidden initially, revealed on scroll */
.scroll-content {
    position: relative;
    z-index: 3;
}

/* Scroll-triggered animations */
.grid-container, section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.grid-container.visible, section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for grid items */
.grid-container.visible .grid-item,
section.visible .grid-item {
    animation: staggerFadeIn 0.6s ease forwards;
}

.grid-container.visible .grid-item:nth-child(1),
section.visible .grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-container.visible .grid-item:nth-child(2),
section.visible .grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-container.visible .grid-item:nth-child(3),
section.visible .grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-container.visible .grid-item:nth-child(4),
section.visible .grid-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-item {
    background: transparent;
    padding: 15px; /* Reduced padding for better balance */
    border-radius: 8px;
    text-align: left; /* Left justify all text */
    color: #f8f8f8; /* Off-white */
    width: 100%; /* Ensure full column width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to start but distribute columns evenly */
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px; /* Increased gap for better spacing */
        padding: 0; /* Removed padding for perfect central balance */
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px; /* Increased gap for better spacing */
        padding: 0; /* Removed padding for perfect central balance */
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 14px; /* Increased gap for better spacing */
        padding: 0; /* Removed padding for perfect central balance */
    }
}

/* 3D Container */
#canvas-container {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0; /* Lower z-index to be behind content */
    pointer-events: none; /* Allow scrolling through the 3D area */
}

/* Hero Text */
.hero-content {
    text-align: left; /* Left justify */
    z-index: 2;
    position: relative;
    margin-top: 2rem;
    padding: 0 0.966rem 0 0; /* Increased by 15% from 0.84rem */
    grid-column: 1 / -1; /* Span all columns */
    max-width: 600px; /* Limit width for better readability */
}

h1 {
    font-size: 2.25rem; /* Increased by 25% from 1.8rem */
    font-family: "Google Sans", "Helvetica", Arial, sans-serif; /* Google Sans Extrabold with fallbacks */
    font-weight: 800; /* Google Sans Extrabold weight */
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px; /* Reduced letter spacing significantly */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: left; /* Left justify */
    margin-left: 0; /* Ensure no left margin */
}

p {
    font-size: 1.2rem;
    font-family: Helvetica, Arial, sans-serif; /* Helvetica regular */
    color: #f5f5f5; /* Off-white */
    line-height: 1.6;
    max-width: 600px;
    margin: 0; /* Remove auto margin to align left */
    text-align: left; /* Left justify */
    margin-left: 0; /* Ensure no left margin */
    padding-left: 0; /* Remove left padding, align to left edge */
}

/* Loading overlay */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-content {
        margin-top: 2rem;
        padding: 0 1.15rem; /* Increased by 15% from 1rem */
    }
}

/* Additional Typography Styles */
.text-left {
    text-align: left !important;
}

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

.text-right {
    text-align: right;
}

/* Modern Grid Components */
.card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.subtitle {
    font-size: 1rem;
    color: #e8e8e8; /* Off-white */
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Utility Classes */
.container {
    max-width: none; /* Removed max-width to allow full page width */
    margin: 0;
    padding: 0; /* Removed padding for perfect central balance */
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

/* Modern Spacing */
.spacing-small {
    padding: 1rem;
}

.spacing-medium {
    padding: 2rem;
}

.spacing-large {
    padding: 4rem;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus, button:focus, input:focus {
    outline: 2px solid #2ecc71;
    outline-offset: 2px;
}

/* Custom Mouse Cursor Styles */
body {
    cursor: none; /* Hide default cursor */
}

/* Crosshair Cursor - Lines that intersect at cursor */
.cursor-crosshair {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999; /* Very high z-index to be on top of everything */
    display: block;
}

/* Vertical line - extends along Y axis */
.cursor-crosshair::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100vh; /* Full height - extends along Y axis */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(128, 128, 128, 0.8); /* Grey color for technical precision */
    pointer-events: none;
    transition: none; /* Remove any transition for instant response */
}

/* Horizontal line - extends along X axis */
.cursor-crosshair::after {
    content: '';
    position: absolute;
    width: 100vw; /* Full width - extends along X axis */
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: rgba(128, 128, 128, 0.8); /* Grey color for technical precision */
    pointer-events: none;
    transition: none; /* Remove any transition for instant response */
}

/* Interactive Cursor - Cross shape */
.cursor-interactive {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    display: none;
    transform: translate(-50%, -50%);
    transition: none; /* Remove all transitions for instant response */
}

.cursor-interactive::before,
.cursor-interactive::after {
    content: '';
    position: absolute;
    background: #ffffff;
    pointer-events: none;
    border-radius: 1px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Vertical line of cross */
.cursor-interactive::before {
    width: 2px;
    height: 40px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Horizontal line of cross */
.cursor-interactive::after {
    width: 40px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.cursor-interactive.active {
    display: block;
}

/* Different cursor styles for different interactions */
.cursor-interactive.card-hover::before,
.cursor-interactive.card-hover::after {
    background: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.8);
}

.cursor-interactive.canvas-hover::before,
.cursor-interactive.canvas-hover::after {
    background: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.8);
}

/* Project cursor - Circle with "open" text */
.cursor-interactive.project-hover {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.cursor-interactive.project-hover::before,
.cursor-interactive.project-hover::after {
    display: none;
}

.cursor-interactive.project-hover:hover {
    background: rgba(46, 204, 113, 0.3);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.8);
    transform: scale(1.1);
}

/* Hover Effects for Interactive Elements */
.card:hover ~ .cursor-interactive,
.card:hover + .cursor-interactive,
.card:hover {
    cursor: none !important;
}

/* Make cursor follow mouse */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
}

/* Special cursor for 3D area */
#canvas-container:hover ~ .cursor-crosshair {
    display: none;
}

#canvas-container:hover ~ .cursor-interactive {
    display: block;
    background: radial-gradient(circle, #e74c3c, #c0392b, transparent);
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.8);
    border-color: rgba(231, 76, 60, 0.5);
}

/* Logo GRIDDD */
.logo-container {
    position: fixed;
    top: 50%;
    left: 10%; /* 10% padding from left edge */
    transform: translateY(-50%) rotate(90deg);
    z-index: 10000;
    pointer-events: none; /* Allow clicks to pass through */
    text-align: left;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Hide logo when scrolling */
body.scrolled .logo-container {
    opacity: 0;
}

.logo-text {
    font-family: 'Helvetica', 'Helvetica Black', Arial, sans-serif;
    font-weight: 900; /* Black weight */
    font-size: 120rem; /* Large size that should be visible */
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced letter spacing significantly */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
    line-height: 1;
    white-space: nowrap;
}

.logo-subtext {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Touch Designer Operator Box */
.operator-box {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background: transparent;
    border: none;
    border-radius: 0;
    z-index: 10000;
    font-family: 'Courier New', Courier, monospace; /* Monospace font like Touch Designer */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) ease;
    will-change: transform, width, height, border-radius, background;
}

/* Control buttons for operator box */
.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) ease;
    min-width: 40px;
    text-align: center;
    will-change: transform, background, border-color, color, box-shadow;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #2ecc71;
    color: #000000;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    transform: translateY(-1px);
}

.control-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3) inset;
}

/* Control select dropdown */
.control-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) ease;
    min-width: 120px;
    will-change: transform, background, border-color, color, box-shadow;
}

.control-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #2ecc71;
    color: #ffffff;
    transform: translateY(-1px);
}

.control-select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
    transform: translateY(-1px);
}

/* Hover effects for operator box */
.operator-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.operator-box .operator-header:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #2ecc71;
}

.operator-box .operator-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.operator-box .operator-footer:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #2ecc71;
}

.operator-box.minimized {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) ease;
    overflow: hidden; /* Hide any overflowing content */
}

.operator-box.minimized:hover {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.9);
    background: rgba(46, 204, 113, 0.4);
}

.operator-box.minimized .operator-header,
.operator-box.minimized .operator-footer,
.operator-box.minimized .operator-content,
.operator-box.minimized .control-btn,
.operator-box.minimized .control-select {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.operator-box.minimized #mini-canvas-container {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.operator-box.minimized::after {
    display: none;
}


/* Sphere icon styling for minimized operator box */
.operator-box.minimized .operator-header,
.operator-box.minimized .operator-footer,
.operator-box.minimized .operator-content,
.operator-box.minimized .control-btn,
.operator-box.minimized .control-select {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.operator-box.minimized #mini-canvas-container {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}


.operator-header {
    background: transparent;
    padding: 8px 12px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.operator-title {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.operator-status {
    font-size: 0.7rem;
    color: #2ecc71;
    text-transform: uppercase;
    font-weight: bold;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.operator-content {
    padding: 10px;
    position: relative;
}

#mini-canvas-container {
    width: 100%;
    height: 150px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.operator-footer {
    background: transparent;
    padding: 8px 12px;
    border-top: none;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #888888;
}

.operator-info {
    display: flex;
    gap: 5px;
}

.info-label {
    color: #2ecc71;
    font-weight: bold;
}

.info-value {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
}

/* Reel Section Styles */
.reel-section {
    width: 100%;
    padding: 4rem 0; /* Generous spacing above and below video */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* No background */
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* Projects Section Styles */
.projects-section {
    width: 100%;
    padding: 4rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.projects-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) ease;
    height: 300px;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(46, 204, 113, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.project-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) ease;
    filter: none; /* Images are now in color from the start */
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: none; /* Keep images in color on hover */
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-overlay p {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.project-link {
    font-size: 0.8rem;
    color: #2ecc71;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.project-link:hover {
    color: #ffffff;
    border-bottom-color: #2ecc71;
    padding-left: 5px;
}

/* Project Card Effects */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1) ease;
    z-index: 2;
}

.project-card:hover::before {
    left: 0;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
    transition: right 0.6s cubic-bezier(0.4, 0, 0.2, 1) ease 0.2s;
    z-index: 2;
}

.project-card:hover::after {
    right: 0;
}

/* Responsive Design for Projects */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .project-card {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        height: 200px;
    }
    
    .projects-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-overlay h3 {
        font-size: 1.2rem;
    }
    
    .project-overlay p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .project-card {
        height: 180px;
    }
    
    .projects-container {
        padding: 0 1rem;
    }
    
    .project-overlay {
        padding: 1rem;
    }
    
    .project-overlay h3 {
        font-size: 1rem;
    }
    
    .project-overlay p {
        font-size: 0.75rem;
    }
}

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

.video-wrapper {
    width: 100%;
    max-width: 900px; /* Limit maximum width */
    aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent; /* No background */
    transition: transform 0.3s ease;
}

.reel-video:hover {
    transform: scale(1.02);
}

/* Touch Designer Video Styles */
.touch-designer-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.touch-designer-video:hover {
    transform: scale(1.05);
}





.touch-designer-video:hover {
    transform: none;
    box-shadow: none;
}

.video-content {
    width: 100%;
    height: 281.25px; /* 16:9 aspect ratio (200px * 1.777) */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000; /* Ensure black background */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for visibility */
    aspect-ratio: 16 / 9; /* Modern CSS for 16:9 aspect ratio */
}


/* Add scanline effect for video aesthetic */
.video-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.05)
    );
    background-size: 100% 4px;
    opacity: 0.3;
    pointer-events: none;
}

/* Responsive adjustments for video rectangles */
@media (max-width: 768px) {
    .video-rectangle {
        height: 150px;
    }
    
    .play-icon {
        font-size: 2rem;
    }
    
    .video-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .video-rectangle {
        height: 120px;
    }
    
    .play-icon {
        font-size: 1.5rem;
    }
    
    .video-title {
        font-size: 0.7rem;
        padding: 0 10px;
    }
    
    .video-hover-name {
        font-size: 0.8rem;
        padding: 8px;
    }
}

/* Add subtle animation for video rectangles */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.video-rectangle {
    animation: pulse 4s infinite;
}

.video-rectangle:hover {
    animation: none;
}

/* Software Marquee Strip Styles */
.software-marquee {
    width: 100%;
    height: 68px; /* Reduced by 15% from 80px */
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px; /* Reduced space between logos */
    white-space: nowrap;
    animation: marquee 36s linear infinite; /* 36 seconds for full cycle (20% slower) */
    padding: 0 20px;
}

.marquee-content:hover {
    animation-play-state: paused; /* Pause on hover */
}

.software-logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Center text in space */
    gap: 12px; /* Reduced gap */
    padding: 8px 15px; /* Reduced padding */
    background: transparent; /* No background */
    border: none; /* No border */
    border-radius: 0; /* No border radius */
    transition: all 0.3s ease;
    min-width: 160px; /* Reduced minimum width */
    position: relative;
    flex: 0 0 auto; /* Prevent shrinking */
}

.software-logo::after {
    content: '/';
    position: absolute;
    right: -15px;
    font-size: 24px;
    font-weight: bold;
    color: #2ecc71; /* Green separator */
    transform: rotate(15deg); /* Modern diagonal separator */
    transition: all 0.3s ease;
}

.software-logo:hover {
    transform: scale(1.05);
    color: #2ecc71;
}

.software-logo:hover::after {
    color: #2ecc71;
    transform: rotate(15deg) scale(1.2);
}

.logo-icon {
    font-size: 20px; /* Reduced size */
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.logo-text {
    font-family: 'Helvetica', 'Helvetica Light', Arial, sans-serif;
    font-weight: 300; /* Light weight */
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent; /* No background */
    font-size: 12px; /* Reduced size */
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments for marquee */
@media (max-width: 768px) {
    .marquee-content {
        gap: 20px;
        animation-duration: 15s; /* Faster on mobile */
    }
    
    .software-logo {
        min-width: 150px;
        padding: 8px 15px;
        gap: 10px;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .marquee-content {
        gap: 15px;
        animation-duration: 12s; /* Even faster on small screens */
    }
    
    .software-logo {
        min-width: 120px;
        padding: 6px 12px;
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 18px;
    }
    
    .logo-text {
        font-size: 11px;
    }
}
