@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
/* Base Styles and Premium Variables */
:root {
    /* New Sophisticated Dark Palette */
    --bg-primary: #0b0c10; /* Very deep charcoal/midnight */
    --bg-secondary: #12141a; /* Slightly lighter for sections */
    --bg-card: #181a24; /* Elevated cards */
    --brand-accent: #4f55c7; /* The EUTT Blue */
    --brand-accent-hover: #5d64e0;
    
    --text-primary: #ffffff;
    --text-secondary: #94a0b8; /* Soft blue-gray for readability */
    
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip;
    width: 100vw;
    position: relative;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--brand-accent);
    color: #ffffff;
    /* Intense ambient glow effect matching the requested style */
    box-shadow: 0 0 25px 2px rgba(79, 85, 199, 0.6), 
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background-color: var(--brand-accent-hover);
    transform: translateY(-2px);
    
}

.btn-secondary {
    background-color: rgba(255,255,255,0.03);
    color: #ffffff;
    border-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background: transparent;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brand-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.glassy-nav-pill, .mobile-menu-btn, .mobile-only-logo {
    pointer-events: auto;
}

.navbar.scrolled {
    padding: 15px 5%;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.brand-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.05);
}

.mobile-only-logo {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--brand-accent);
    font-weight: 500;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    transform: translateY(-2px);
    color: #ffffff;
    text-shadow: 0 0 15px var(--brand-accent), 0 0 30px rgba(79, 85, 199, 0.6);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-height: auto !important;
    padding: 140px 5% 40px 5% !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Subtle background glow for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 1400px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(74, 84, 202, 0.9) 0%, rgba(0,0,0,0) 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.hero-content {
    flex: none !important;
    width: 100% !important;
    max-width: 850px !important;
    margin: 0 auto 20px auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

@keyframes slideUpFade {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideUpHero {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Growing Studio Section Glow */
.growing-studio-section {
    position: relative;
    overflow: hidden;
}
.growing-studio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 1400px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(74, 84, 202, 0.9) 0%, rgba(0,0,0,0) 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Ensure visibility if JS class is instant */


.hero-divider {
    border: none;
    border-top: 2px solid #ffffff;
    width: 80%;
    max-width: 380px;
    margin: 10px 0 10px 0;
    opacity: 0;
}
@keyframes drawLineRight {
    0% { opacity: 0; transform: scaleX(0); transform-origin: left; }
    100% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

html.loaded .hero-divider {
    animation: drawLineRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.55s;
}

.hero-logos-placeholder {
    max-width: 170px;
    height: auto;
    display: block;
    opacity: 0;
    margin: 0;
    padding: 0;
    object-fit: contain;
}
html.loaded .hero-logos-placeholder {
    animation: slideUpHero 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.7s;
}

.hero-portfolio-btn {
    padding: 16px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    border-radius: 100px;
    opacity: 0;
    margin-top: 4px;
}
html.loaded .hero-portfolio-btn {
    animation: slideUpHero 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.85s;
}

.hero-content .btn-primary {
    opacity: 0;
}
html.loaded .hero-content .btn-primary {
    animation: slideUpHero 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.1s;
}

.highlight-alpina {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: -0.02em;
    display: inline-block;
    color: var(--brand-accent);
    margin-right: 0.15em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 550px;
    font-weight: 400;
}

.hero-visual {
    flex: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 20px 0 !important;
}

.hero-gallery {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    height: 100%;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    width: 280px; /* Constrain width so it looks like a phone screen */
    height: 100%;
    overflow-y: hidden; /* Hide scrollbar for JS scrolling */
    padding-bottom: 4000px; /* Prevent max-scroll clamping on tall screens */
    cursor: grab; /* Show grab cursor */
}

.gallery-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px; /* Crucial for seamless JS loop math */
    width: 100%;
}

.gallery-track img,
.gallery-track video {
    width: 100%;
    aspect-ratio: 9 / 16; /* Force vertical video format */
    border-radius: 16px;
    object-fit: cover;
    
    pointer-events: none; /* Prevent video drag conflicts */
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

/* About Page Specific Styles */
.about-hero-section {
    position: relative;
    padding: 180px 5% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--brand-dark, #0b0d17);
    overflow: hidden;
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.about-page-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 120px 5% 60px;
    color: #ffffff;
}

.about-page-content {
    max-width: 600px;
    width: 100%;
}

.about-hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center; /* Centering the image wrapper in the right column */
    align-items: center;
}

.about-hero-image {$180%;
}

/* Creating the dramatic glowing light perfectly locked behind the image */
.about-hero-image::before {
    content: '';
    position: absolute;
    width: 100%; /* Matches the exact width of the image wrapper */
    height: 100%; /* Matches the exact height of the image wrapper */
    top: 0;
    left: 0;
    background: radial-gradient(ellipse, rgba(74, 84, 202, 0.9) 0%, rgba(0,0,0,0) 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes stlPulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.5); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

@keyframes scrollDashedLine {
    0% { background-position-y: 0px; }
    100% { background-position-y: 30px; }
}

.scrolling-dashed-line {
    background-image: linear-gradient(to bottom, rgba(167, 139, 250, 0.5) 50%, transparent 50%);
    background-size: 100% 30px;
    animation: scrollDashedLine 1s linear infinite;
}

@keyframes pulseGlow {
    from { opacity: 0.6; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.05); }
}

.about-hero-image img {
    max-width: 100%;
    max-height: 70vh; /* Increased from 45vh to make it significantly bigger */
    display: block; 
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1;
    /* Removed glassy UI (border-radius, box-shadow, border) */
}

.about-main-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 15px; /* Extremely tight gap */
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-text-block {
    margin-bottom: 15px; /* Extremely tight gap */
}

.about-text-block p {
    font-size: 1.5rem; /* Reduced size */
    line-height: 1.3; /* Tighter line height */
    margin-bottom: 0px; /* No gap between paragraphs */
    font-weight: 600;
    letter-spacing: -0.5px;
}

.about-footer-text {
    font-size: 1.5rem; /* Reduced size */
    font-weight: 600;
    margin-top: 0;
    letter-spacing: -0.5px;
}

/* Trusted Brands Marquee Section */
.trusted-brands {
    background-color: #ffffff; /* Crisp white background */
    padding: 35px 0 60px 0; /* Minimized padding to reduce panel height */
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.trusted-brands .section-label {
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px; /* Increased margin */
    color: #12141a; /* Dark text for contrast */
    letter-spacing: 1px;
    word-spacing: 2px;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced gap between rows */
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.client-logos {
    padding: 60px 5%;
    background: #ffffff;
    position: relative;
}

.logo-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.client-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}/* Fading edges effect */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.marquee-row {
    display: flex;
    width: 100%;
    overflow-x: clip; /* Hide scrollbars for custom JS momentum scrolling */
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-item {
    padding: 10px 30px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    flex-shrink: 0;
    height: 100px;
}

/* Styling for the text placeholders */
.marquee-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-secondary);
}

.marquee-item {
    padding: 10px 30px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    flex-shrink: 0;
    height: 100px;
}

.marquee-item:hover {
    /* Subtle interaction */
}

/* Styling for the actual img tags */
.marquee-item img {
    max-height: 90px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

@keyframes scroll-left {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Process Snake Section */
.process {
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.02);
    padding-bottom: 100px;
}

.process .section-label {
    padding-top: 100px;
}

.process-scroll-wrapper {
    position: relative;
}

.process-container {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px; 
}

.process-step {
    width: 45%;
    position: relative;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.process-step.hidden {
    opacity: 0;
}

.process-step.visible {
    opacity: 1;
}

.process-step.right-align {
    align-self: flex-end;
}

.process-step.final-step {
    align-self: center;
    width: auto;
    text-align: center;
    margin-top: 15vh;
    margin-bottom: 10vh;
}

.step-content {
    background: #000000;
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.step-illustration {
    position: absolute;
    top: 50%;
    left: calc(100% + 60px); /* Securely anchored to the right side of the screen/layout */
    transform: translateY(-50%); /* Straight and steady, no rotation */
    width: 350px; /* Increased size for the 1st and 2nd images */
    height: auto;
    opacity: 0.35; /* Slightly reduced opacity as requested */
    /* Intense vibrant glow behind the image */
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
    transition: opacity 0.4s ease, filter 0.4s ease;
    z-index: -1; /* Sits elegantly behind the connector line */
}

.step-illustration.left-illustration {
    left: auto;
    right: calc(100% + 140px); /* Pushed significantly further to the left */
}

.step-illustration.timeline-illustration {
    width: 200px; /* Specifically reduced size for the 3rd image */
    left: calc(100% + 150px); /* Pushed further to the right side to balance its smaller size */
}

.process-step:hover .step-illustration {
    opacity: 0.6; /* Gets brighter on hover, but still subtle */
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8)); /* Glow intensifies on hover */
}

.step-content:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.5); /* Brand accent glow */
    
}

.step-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.4s ease;
}

.step-content:hover .step-number {
    color: rgba(139, 92, 246, 0.08);
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.snake-svg {
    /* Filter removed due to Safari rendering bugs */
    overflow: visible;
}

@media (max-width: 768px) {
    .process-step {
        width: 85%;
    }
}

/* Stats Bar Section */
.stats-bar {
    width: 100%;
    background: transparent;
    padding: 60px 0; /* Slightly increased padding since we removed margin */
    margin: 0; /* Removed the black gap */
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    display: none;
}

.stats-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(165, 180, 252, 0.2));
}

.stat-plus {
    display: none;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* --- SPLIT COMPARISON SECTION --- */
.split-comparison {
    width: 100%;
    padding: 30px 0 100px 0;
    position: relative;
    background: #000;
}

.split-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    gap: 40px;
}

.split-panel {
    flex: 1;
    padding: 60px 40px;
}

.old-way {
    border-right: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(10,10,10,0.9));
    border-radius: 24px 0 0 24px;
}

.eutt-way {
    background: linear-gradient(135deg, rgba(79, 85, 199, 0.1), rgba(79, 85, 199, 0.02));
    border-radius: 0 24px 24px 0;
    position: relative;
    overflow: hidden;
}

.eutt-way::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(79, 85, 199, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.split-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    z-index: 10;
    
}

.split-title {
    margin-bottom: 50px;
}

.split-title h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.old-way .split-title h3 {
    color: rgba(255,255,255,0.5);
}

.eutt-way .split-title h3 {
    background: linear-gradient(to right, #fff, #a5abff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-title p {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
}

.eutt-way .split-title p {
    color: rgba(165, 171, 255, 0.8);
}

.split-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.s-feat {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.s-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 5px;
}

.bad .s-icon {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255,255,255,0.3);
}

.good .s-icon {
    background: rgba(79, 85, 199, 0.2);
    color: #a5abff;
    
    border: 1px solid rgba(79, 85, 199, 0.5);
}

.s-text h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.bad .s-text h4 {
    color: rgba(255,255,255,0.6);
}

.s-text p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

.good .s-text p {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
    }
    .old-way {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-radius: 24px 24px 0 0;
    }
    .eutt-way {
        border-radius: 0 0 24px 24px;
    }
}

@media (max-width: 1024px) {
    .comp-table-header {
        display: none;
    }
    
    .comp-row {
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
    }
    
    .row-brand {
        flex: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
        margin-right: 0;
        margin-bottom: 25px;
        width: 100%;
    }
    
    .hero-row .row-brand {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .row-metrics {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 15px;
    }
    
    .icon-wrapper::before {
        content: attr(data-label);
        display: block;
        text-align: center;
        font-size: 0.7rem;
        color: rgba(255,255,255,0.4);
        margin-bottom: 8px;
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .check-icon, .cross-icon, .partial-icon {
        margin: 0 auto;
    }
}



/* Comparison Matrix Section */
.comparison-section {
    padding: 100px 5%;
    background-color: var(--bg-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.comparison-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 85, 199, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.comparison-container {
    max-width: 1200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    z-index: 10;
    
}

.split-title {
    margin-bottom: 50px;
}

.split-title h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.old-way .split-title h3 {
    color: rgba(255,255,255,0.5);
}

.eutt-way .split-title h3 {
    background: linear-gradient(to right, #fff, #a5abff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-title p {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
}

.eutt-way .split-title p {
    color: rgba(165, 171, 255, 0.8);
}

.split-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.s-feat {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.s-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 5px;
}

.bad .s-icon {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255,255,255,0.3);
}

.good .s-icon {
    background: rgba(79, 85, 199, 0.2);
    color: #a5abff;
    
    border: 1px solid rgba(79, 85, 199, 0.5);
}

.s-text h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.bad .s-text h4 {
    color: rgba(255,255,255,0.6);
}

.s-text p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

.good .s-text p {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
    }
    .old-way {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-radius: 24px 24px 0 0;
    }
    .eutt-way {
        border-radius: 0 0 24px 24px;
    }
}

@media (max-width: 1024px) {
    .comp-table-header {
        display: none;
    }
    
    .comp-row {
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
    }
    
    .row-brand {
        flex: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
        margin-right: 0;
        margin-bottom: 25px;
        width: 100%;
    }
    
    .hero-row .row-brand {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .row-metrics {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 15px;
    }
    
    .icon-wrapper::before {
        content: attr(data-label);
        display: block;
        text-align: center;
        font-size: 0.7rem;
        color: rgba(255,255,255,0.4);
        margin-bottom: 8px;
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .check-icon, .cross-icon, .partial-icon {
        margin: 0 auto;
    }
}



/* Comparison Matrix Section */
.comparison-section {
    padding: 100px 5%;
    background-color: var(--bg-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.comparison-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 85, 199, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.comparison-header {
    text-align: center;
    margin-bottom: 50px;
}

.comparison-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.comparison-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.matrix-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.matrix-wrapper::-webkit-scrollbar {
    height: 6px;
}
.matrix-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.matrix-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.matrix-grid {
    min-width: 1000px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.m-row {
    display: grid !important;
    grid-template-columns: 350px repeat(6, 1fr) !important;
    align-items: center !important;
    padding: 15px 20px !important;
    
    min-height: 90px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.m-row:last-child {
    border-bottom: none;
}

.m-header {
    border-bottom: none !important;
    padding-bottom: 25px !important;
    min-
    align-items: flex-end !important;
}

.m-header .m-cell {
    color: #ffffff;
    font-size: 1.15rem !important;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.m-cell {
    text-align: center;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.m-desc-cell {
    text-align: left;
    padding-right: 20px;
    justify-content: flex-start !important;
}

.row-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #181a24;
    border-radius: 8px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.05);
}

.m-row h3 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
}

.m-desc-cell p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Logo constraint so it doesn't break the row height */
.eutt-table-logo {
    height: 140px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
    object-position: left top !important;
    margin: 0 !important;
    margin-bottom: -70px !important; /* Nullify extra transparent padding in image */
    padding: 0 !important;
}

/* EUTT Highlight Row */
.m-highlight {
    background: linear-gradient(135deg, var(--brand-accent) 0%, rgba(79, 85, 199, 0.8) 100%);
    border-radius: 12px;
    color: #fff;
    border-bottom: none;
    
    margin-bottom: 15px;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.m-highlight .m-cell {
    color: #fff;
    font-weight: 700;
}

.m-highlight .m-desc-cell p {
    color: rgba(255, 255, 255, 0.9);
}

.m-highlight .row-title h3 {
    color: #fff;
}

.m-highlight .row-icon {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.m-cell span.cross {
    color: #555;
    font-weight: 300;
}

/* Add a simple fade-in on scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpRow 0.8s forwards;
    animation-play-state: running; 
}
@keyframes fadeUpRow {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =======================================================
   RESPONSIVE OVERHAUL (MOBILE-FIRST HYBRID & 4K SUPPORT) - V2 FIXES
   ======================================================= */

/* 1. Global Box Sizing & Media Scaling */
*, *::before, *::after {
    box-sizing: border-box;
}

img, video, svg {
    max-width: 100%;
    height: auto;
}

/* 2. Fluid Typography (Targeted, NO globals to avoid breaking UI elements) */
.hero-title, .about-main-title {
    font-size: clamp(2.5rem, 5vw, 4.0rem) !important;
}

.section-header h2, .career-content h2, .contact-info h2 {
    font-size: clamp(2.2rem, 5vw, 4rem) !important;
}

.card-info h3, .modal-text-left h2 {
    font-size: clamp(1.4rem, 3vw, 2.5rem) !important;
}

.m-row h3 {
    font-size: 1.25rem !important; /* Professional, readable size */
}

.hero-subtitle, .about-text-block p, .career-content p, .contact-info p, .testimonial-text {
    font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
}

/* 3. Global Section Padding (Fluid) */
section, .portfolio, .comparison, .career-cta, .faqs, .contact, .testimonials {
    padding: clamp(60px, 8vw, 140px) 5% !important;
}

/* 4. Base Container Layouts */
.container, .comparison-container, .faq-container, .contact-container, .testimonials-container, .modal-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 5. Fluid Grid Layouts */
.team-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 40px;
}

.contact-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

.modal-details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

/* 6. Fix comparison table & portfolio mobile wrap */
@media (max-width: 768px) {
    .comparison-row {
        grid-template-columns: 1fr !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr !important; /* Force 1 column on mobile */
    }
    
    /* Prevent cards from trying to span 2 columns in a 1-column grid */
    .card-large, .card-tall, .card-wide, .card-small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Ensure matrix fits */
    .matrix-grid {
        min-width: 800px; /* Allow scrolling but scale down slightly */
    }
}

/* For tablets (2 columns) */
@media (min-width: 769px) and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 7. Mobile Navigation Override */
@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none; /* Let JS toggle it */
    }
    .mobile-menu-btn {
        display: flex !important;
        height: 12px !important;
    }
    .hero {
        flex-direction: column;
        padding-top: 120px !important;
    }
    .hero-content {
        margin-top: 0 !important;
    }
}

/* 8. 2K Resolution (QHD) Enhancements */
@media (min-width: 1921px) {
    .container, .comparison-container, .faq-container, .contact-container, .testimonials-container, .modal-content {
        max-width: 1600px !important;
    }
    .team-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* 9. 4K Resolution (UHD) Enhancements */
@media (min-width: 2561px) {
    body {
        font-size: 120%; /* Base scale up */
    }
    
    .portfolio-grid {
        grid-auto-rows: 400px !important;
    }
}

/* ==========================================================================
   MOBILE ONLY: HORIZONTAL VIDEO GALLERY FIX
   ========================================================================== */
@media (max-width: 768px) {
    .hero-visual {
        
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent) !important;
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent) !important;
        border-radius: 16px !important;
        margin-top: -25px !important; /* Pulls the videos closer to the button */
    }
    .hero-gallery {
        flex-direction: column !important; /* Stack rows vertically */
        
        gap: 15px !important;
    }
    
    .gallery-column {
        display: flex !important;
        flex-direction: row !important; /* Layout tracks horizontally */
        width: 100vw !important; /* Just take up screen width */
        margin-left: -5% !important; /* Offset the 5% padding */
        
        padding-bottom: 0 !important;
        overflow: hidden !important;
        gap: 0 !important;
        /* Remove column animation */
        animation: none !important;
    }
    
    
    
    .gallery-track {
        display: flex !important;
        flex-direction: row !important; /* Layout videos horizontally */
        width: max-content !important;
        flex-shrink: 0 !important;
        padding-bottom: 0 !important;
        padding-right: 15px !important; /* Spacing between tracks */
        gap: 15px !important;
        
        /* Add track animation for loop */
        animation: scrollHorizontalMobileTrack 20s linear infinite !important;
        will-change: transform !important;
    }
    
    .gallery-column.scroll-down .gallery-track {
        animation: scrollHorizontalMobileTrackReverse 20s linear infinite !important;
        animation-delay: -10s !important;
    }
    
    .gallery-track video {
        width: 160px !important;
        height: calc(160px * 16 / 9) !important;
        object-fit: cover !important;
        aspect-ratio: 9/16 !important;
        transform: translateZ(0) !important;
        flex-shrink: 0 !important;
        backface-visibility: hidden !important; /* Hardware acceleration fix */
        transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

    /* iOS Safari has a strict hardware limit of ~16 simultaneous videos. 
       We must hide half the videos on mobile to prevent missing thumbnails/black boxes. */
    /* display: none hack removed */
}

@keyframes scrollHorizontalMobileTrack {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    
    .scroll-timeline-section {
        min-width: 100% !important; /* Prevents horizontal overflow on small phones */
    }
    .text-philosophy-timeline {
        padding: 80px 5% !important; /* Better padding for mobile */
        gap: 40px !important;
    }
}

/* ==========================================================================
   MOBILE & GLOBAL FIXES: REDUCE BLANK SPACE
   ========================================================================== */

@media (max-width: 768px) {
    /* Remove the massive blank space below the timeline on mobile */
    .text-philosophy-timeline {
        padding-bottom: 40px !important;
    }
}

/* ==========================================================================
   MOBILE ONLY: FIX NAVBAR MENU OVERLAY STYLING
   ========================================================================== */
@media (max-width: 768px) {
    /* Override the JS inline styles with a dark background so purple buttons and white text pop */
    .nav-links {
        background: rgba(11, 12, 16, 0.98) !important;
        padding: 30px 5% 15px !important;
        gap: 20px !important; /* Reduce the massive gaps */
        border-bottom: none !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        height: 320px !important; /* Fixed height to guarantee no overlap with buttons */
    }
    
    .nav-buttons {
        background: rgba(11, 12, 16, 0.98) !important;
        top: calc(100% + 320px) !important; /* Perfectly matches the fixed height of nav-links */
        padding: 0 5% 40px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        gap: 15px !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }
    
    /* Make the navigation text white and readable */
    .nav-links a {
        color: #ffffff !important;
        font-size: 1.25rem !important;
        font-weight: 500 !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
}

/* ==========================================================================
   DESKTOP ONLY: DISABLE FAQ ACCORDION (KEEP ALWAYS OPEN)
   ========================================================================== */
@media (min-width: 769px) {
    .faq-icon {
        display: none !important;
    }
    .faq-answer {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 15px !important;
    }
    .faq-item {
        cursor: default !important;
        pointer-events: none !important; /* Prevent JS click from doing anything weird */
    }
    .faq-item * {
        pointer-events: auto; /* Allow links inside to be clicked */
    }
}

/* ==========================================================================
   MOBILE ONLY: SERVICES VIDEO MODAL CLOSE BUTTON
   ========================================================================== */
.mobile-modal-close {
    display: none;
}
@media (max-width: 768px) {
    .mobile-modal-close {
        display: flex;
        position: fixed; /* Keep it fixed to the screen so it's always visible */
        top: 20px;
        left: 20px; /* Moved to left side */
        width: 40px;
        height: 40px;
        background: transparent;
        color: var(--brand-accent); /* Contact button color */
        font-size: 3rem;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10000;
        line-height: 1;
        padding-bottom: 4px;
        pointer-events: auto;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* Make visible on bright backgrounds */
    }
}

/* Services Page Accordion */
.services-accordion-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    padding-bottom: 100px;
}

.services-accordion-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 85, 199, 0.20) 0%, rgba(79, 85, 199, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.service-tier-panel {
    border-radius: 16px;
    overflow: hidden;
    background-color: transparent;
}

.tier-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    padding: 25px 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
    
    justify-content: space-between;
}

.tier-header:hover {
    background: rgba(255, 255, 255, 0.08);
    
    border-color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 15px rgba(255,255,255,0.9), 0 0 25px rgba(255,255,255,0.6);
}

.tier-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
}

.tier-expand-icon {
    font-weight: 300;
    transition: transform 0.4s ease;
}

.service-tier-panel.open .tier-expand-icon {
    transform: rotate(45deg);
}

.tier-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 50px;
}

.service-tier-panel.open .tier-content {
    grid-template-rows: 1fr;
    padding: 30px 50px;
}

.tier-videos-grid {
    overflow: hidden;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tier-video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #111;
    cursor: pointer;
}

.tier-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tier-video-card:hover video {
    transform: scale(1.05);
}

.mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.mute-btn:hover {
    background: rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .tier-header {
        padding: 20px 30px;
    }
    .tier-title {
        font-size: 1.8rem;
    }
    .tier-content {
        padding: 0 20px;
    }
    .service-tier-panel.open .tier-content {
        padding: 20px 20px;
    }
    .tier-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}








.eutt-table-logo { max-width: 100px; height: auto; display: block; margin-left: 0; margin-right: auto; object-fit: contain; transform: translateY(10px); }



@media (max-width: 768px) {
    .about-hero-image {
        max-width: 100% !important;
        display: block !important;
    }
    .about-hero-image img {
        max-height: 60vh !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .about-hero-image::before {
        transform: scale(0.9);
    }
}


@media (min-width: 769px) {
    .mobile-portfolio-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    
    .services-accordion-container::before,
    .contact-office-section::before {
        max-width: 100vw !important;
    }
    .mobile-portfolio-btn {
        margin-top: 30px !important;
    }
}


@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}
.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    .hero {
        text-align: left !important;
    }
    .hero-content {
        padding: 0 !important;
        margin: 60px 0 60px 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: left !important;
    }
    .hero-title {
        font-size: 1.8rem !important;
        text-align: left !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        text-align: left !important;
    }
}
.mobile-break {
    display: none;
}

@keyframes scrollHorizontalMobileTrackReverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (max-width: 768px) {
    .brand-logo-img {
        transform: translate(0px, 0px) scale(1.3) !important;
        transform-origin: left center !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        background: rgba(11, 12, 16, 0.98) !important;
        padding: 30px 5% 15px !important;
        gap: 20px !important;
        border-bottom: none !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        height: 320px !important;
    }
    .nav-buttons {
        background: rgba(11, 12, 16, 0.98) !important;
        top: calc(100% + 320px) !important;
        padding: 0 5% 40px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        gap: 15px !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }
}



@media (max-width: 768px) { .contact-details { display: none !important; } }

@media (max-width: 768px) {
    .m-header .m-cell {
        font-size: 0.8rem !important;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 768px) {
    .m-row {
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    .matrix-grid { min-width: 880px !important; }
    .m-row { grid-template-columns: 140px repeat(6, 100px) !important; gap: 20px !important; justify-content: flex-start !important; }
}

@media (max-width: 768px) {
    .matrix-grid { min-width: 420px !important; }
    .m-row { grid-template-columns: 110px repeat(6, 45px) !important; gap: 5px !important; padding: 10px !important; min-height: 70px !important; }
    .m-header .m-cell { font-size: 0.6rem !important; }
    .m-row h3 { font-size: 0.8rem !important; margin-bottom: 0 !important; line-height: 1.1 !important; }
    .m-cell { font-size: 1rem !important; }
    .eutt-table-logo { max-width: 100px !important; transform: translate(-10px, -15px) !important; }
    .row-icon { width: 28px !important; height: 28px !important; min-width: 28px !important; padding: 5px !important; }
    .row-title { gap: 8px !important; margin-bottom: 0 !important; }
}

@media (max-width: 768px) {
    .matrix-grid { min-width: 700px !important; }
    .m-row { grid-template-columns: 130px repeat(6, 85px) !important; gap: 10px !important; padding: 15px !important; min-height: 80px !important; }
    .m-header .m-cell { font-size: 0.75rem !important; white-space: normal !important; word-break: normal !important; }
    .m-row h3 { font-size: 0.9rem !important; margin-bottom: 0 !important; line-height: 1.2 !important; }
    .m-cell { font-size: 1.1rem !important; }
    .eutt-table-logo { max-width: 120px !important; transform: translate(-10px, -20px) !important; }
    .row-icon { width: 36px !important; height: 36px !important; min-width: 36px !important; padding: 6px !important; }
}

@media (max-width: 768px) {
    .eutt-table-logo {
        transform: translate(-30px, -35px) !important;
    }
}

@media (max-width: 768px) {
    .eutt-table-logo {
        transform: translate(-30px, -28px) !important;
    }
}

.glassy-nav-pill {
    display: flex;
    align-items: center;
    gap: 35px;
    background-color: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 12px 8px 25px;
    
}

.desktop-only-logo {
    display: flex;
    align-items: center;
}

.desktop-only-logo .brand-logo-img {
    height: 22px;
}

.pill-btn {
    padding: 10px 24px !important;
    border-radius: 50px !important;
    margin-left: 10px;
}

/* ==========================================================================
   UPDATED NAVBAR LAYOUT V2: LOGO IN PILL, CONTACT BUTTON RIGHT
   ========================================================================== */
@media (min-width: 769px) {
    .navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 20px 8% !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        pointer-events: none !important;
    }
    
    .glassy-nav-pill, .desktop-only-contact, .mobile-menu-btn {
        pointer-events: auto !important;
    }

    .brand-logo-img {
        height: 25px !important; /* Slim fit inside the glassy pill, slightly larger */
        width: auto !important;
        object-fit: contain !important;
        transform: none !important;
        transition: transform 0.3s ease !important;
    }

    .brand-logo:hover .brand-logo-img {
        transform: scale(1.05) !important;
    }

    .glassy-nav-pill {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        gap: 30px !important;
        background-color: rgba(20, 20, 25, 0.85) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 50px !important;
        padding: 10px 30px !important;
        
    }
    
    .mobile-only-logo {
        display: none !important;
    }

    .desktop-only-logo {
        display: flex !important;
        align-items: center !important;
        margin-right: 0px !important; /* space after logo inside pill */
    }

    .desktop-only-contact {
        display: inline-flex !important;
        margin-left: auto !important;
    }

    .mobile-only-contact {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 5% !important;
        background-color: rgba(11, 12, 16, 0.95) !important;
        pointer-events: auto !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .mobile-only-logo {
        display: flex !important;
        align-items: center !important;
    }

    .mobile-only-logo .brand-logo-img {
        height: 24px !important;
        width: auto !important;
        transform: none !important;
    }

    .desktop-only-logo {
        display: none !important;
    }

    .glassy-nav-pill {
        display: none; /* Toggled to flex by JS */
        border-radius: 0 !important;
        border: none !important;
        
        background: rgba(11, 12, 16, 0.98) !important;
        padding: 30px 5% 15px !important;
        flex-direction: column !important;
        gap: 20px !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        pointer-events: auto !important;
    }

    .desktop-only-contact {
        display: none !important;
    }

    .mobile-only-contact {
        display: block !important;
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   CINEMATIC CIRCULAR PRELOADER V3
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    background: radial-gradient(circle at center, #0f101a 0%, #050505 100%);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    transition: opacity 0.5s ease;
}

/* Circular Loader Container */
.preloader-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start progress at the top */
}

.preloader-circle-svg circle {
    fill: none;
    stroke-width: 3.5;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.circle-progress {
    stroke: url(#circle-grad);
    stroke-linecap: round;
    /* Circumference of r=45 circle is 2 * PI * 45 = 282.74 */
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.05s linear;
}

.preloader-percentage {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Logo Zoom Container */
.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.zoom-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Class to show the logo */
.preloader-logo-container.show-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Class to zoom logo out of screen */
.preloader-logo-container.zoom-out-screen {
    transform: translate(-50%, -50%) scale(25); /* Blows up huge */
    opacity: 0;
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease-out, filter 1s ease-in;
}

/* Glowing text keys */
@keyframes textGlow {
    0% { color: rgba(255, 255, 255, 0.6); }
    100% { color: rgba(255, 255, 255, 1); }
}

body.loading-active {
    overflow: hidden !important;
}

/* ==========================================================================
   CINEMATIC CIRCULAR PRELOADER V3
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    background: radial-gradient(circle at center, #0f101a 0%, #050505 100%);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    transition: opacity 0.5s ease;
}

/* Circular Loader Container */
.preloader-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start progress at the top */
}

.preloader-circle-svg circle {
    fill: none;
    stroke-width: 3.5;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.circle-progress {
    stroke: url(#circle-grad);
    stroke-linecap: round;
    /* Circumference of r=45 circle is 2 * PI * 45 = 282.74 */
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.05s linear;
}

.preloader-percentage {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Logo Zoom Container */
.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.zoom-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Class to show the logo */
.preloader-logo-container.show-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Class to zoom logo out of screen */
.preloader-logo-container.zoom-out-screen {
    transform: translate(-50%, -50%) scale(25); /* Blows up huge */
    opacity: 0;
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease-out, filter 1s ease-in;
}

/* Glowing text keys */
@keyframes textGlow {
    0% { color: rgba(255, 255, 255, 0.6); }
    100% { color: rgba(255, 255, 255, 1); }
}

body.loading-active {
    overflow: hidden !important;
}

/* ==========================================================================
   CINEMATIC CIRCULAR PRELOADER V3
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    background: radial-gradient(circle at center, #0f101a 0%, #050505 100%);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    transition: opacity 0.5s ease;
}

/* Circular Loader Container */
.preloader-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start progress at the top */
}

.preloader-circle-svg circle {
    fill: none;
    stroke-width: 3.5;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.circle-progress {
    stroke: url(#circle-grad);
    stroke-linecap: round;
    /* Circumference of r=45 circle is 2 * PI * 45 = 282.74 */
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.05s linear;
}

.preloader-percentage {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Logo Zoom Container */
.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.zoom-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Class to show the logo */
.preloader-logo-container.show-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Class to zoom logo out of screen */
.preloader-logo-container.zoom-out-screen {
    transform: translate(-50%, -50%) scale(25); /* Blows up huge */
    opacity: 0;
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease-out, filter 1s ease-in;
}

/* Glowing text keys */
@keyframes textGlow {
    0% { color: rgba(255, 255, 255, 0.6); }
    100% { color: rgba(255, 255, 255, 1); }
}

body.loading-active {
    overflow: hidden !important;
}

/* ==========================================================================
   CINEMATIC CIRCULAR PRELOADER V3
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    background: radial-gradient(circle at center, #0f101a 0%, #050505 100%);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    transition: opacity 0.5s ease;
}

/* Circular Loader Container */
.preloader-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start progress at the top */
}

.preloader-circle-svg circle {
    fill: none;
    stroke-width: 3.5;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.circle-progress {
    stroke: url(#circle-grad);
    stroke-linecap: round;
    /* Circumference of r=45 circle is 2 * PI * 45 = 282.74 */
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.05s linear;
}

.preloader-percentage {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Logo Zoom Container */
.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.zoom-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Class to show the logo */
.preloader-logo-container.show-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Class to zoom logo out of screen */
.preloader-logo-container.zoom-out-screen {
    transform: translate(-50%, -50%) scale(25); /* Blows up huge */
    opacity: 0;
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease-out, filter 1s ease-in;
}

/* Glowing text keys */
@keyframes textGlow {
    0% { color: rgba(255, 255, 255, 0.6); }
    100% { color: rgba(255, 255, 255, 1); }
}

body.loading-active {
    overflow: hidden !important;
}

/* ==========================================================================
   CINEMATIC CIRCULAR PRELOADER V3
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    background: radial-gradient(circle at center, #0f101a 0%, #050505 100%);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    transition: opacity 0.5s ease;
}

/* Circular Loader Container */
.preloader-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start progress at the top */
}

.preloader-circle-svg circle {
    fill: none;
    stroke-width: 3.5;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.circle-progress {
    stroke: url(#circle-grad);
    stroke-linecap: round;
    /* Circumference of r=45 circle is 2 * PI * 45 = 282.74 */
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.05s linear;
}

.preloader-percentage {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Logo Zoom Container */
.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.zoom-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Class to show the logo */
.preloader-logo-container.show-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Class to zoom logo out of screen */
.preloader-logo-container.zoom-out-screen {
    transform: translate(-50%, -50%) scale(25); /* Blows up huge */
    opacity: 0;
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease-out, filter 1s ease-in;
}

/* Glowing text keys */
@keyframes textGlow {
    0% { color: rgba(255, 255, 255, 0.6); }
    100% { color: rgba(255, 255, 255, 1); }
}

body.loading-active {
    overflow: hidden !important;
}

/* ==========================================================================
   CINEMATIC CIRCULAR PRELOADER V3
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #050505;
    background: radial-gradient(circle at center, #0f101a 0%, #050505 100%);
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    transition: opacity 0.5s ease;
}

/* Circular Loader Container */
.preloader-circle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.preloader-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start progress at the top */
}

.preloader-circle-svg circle {
    fill: none;
    stroke-width: 3.5;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.03);
}

.circle-progress {
    stroke: url(#circle-grad);
    stroke-linecap: round;
    /* Circumference of r=45 circle is 2 * PI * 45 = 282.74 */
    stroke-dasharray: 282.74;
    stroke-dashoffset: 282.74;
    transition: stroke-dashoffset 0.05s linear;
}

.preloader-percentage {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Logo Zoom Container */
.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.zoom-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* Class to show the logo */
.preloader-logo-container.show-logo {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Class to zoom logo out of screen */
.preloader-logo-container.zoom-out-screen {
    transform: translate(-50%, -50%) scale(25); /* Blows up huge */
    opacity: 0;
    filter: blur(10px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease-out, filter 1s ease-in;
}

/* Glowing text keys */
@keyframes textGlow {
    0% { color: rgba(255, 255, 255, 0.6); }
    100% { color: rgba(255, 255, 255, 1); }
}

body.loading-active {
    overflow: hidden !important;
}

/* Animations */
@keyframes fadeInUpSub { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeInUpSub 0.8s ease forwards; }
.animate-fade-up-delay { opacity: 0; animation: fadeInUpSub 0.8s ease forwards 0.4s; }
.highlight-anim { position: relative; display: inline-block; color: #ffffff; padding: 0.1em 0.3em; line-height: 1.1; z-index: 1; }
.highlight-anim::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 0; background-color: var(--brand-accent); z-index: -1; animation: highlightSweep 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1s; }
@keyframes highlightSweep { to { width: 100%; } }

/* --- RESTORED TESTIMONIALS & MODAL --- */

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.stars {
    color: var(--brand-accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.author-initial {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-accent), #8a2be2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.author-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.author-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


/* Modal Restoration */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(20px);
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    position: relative;
    background: #111;
    border-radius: 24px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.close-cursor {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-cursor:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.expand-cursor {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-item:hover ~ .expand-cursor,
.portfolio-item:hover .expand-cursor {
    opacity: 1;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
}

.modal-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-details {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0a0a0a;
}

.modal-text-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.modal-text-left p {
    font-size: 1.1rem;
    color: var(--brand-accent);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-text-center p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
}

.modal-tags span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .modal-images {
        grid-template-columns: 1fr;
    }
    .modal-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* PROPER GLASSY UI TIMELINE (Rounded Squares & Cards) */
.scroll-timeline-section {
    position: relative;
}

.stl-container {
    position: relative;
    padding-left: 90px;
    margin-top: 20px;
}

.stl-line-bg {
    position: absolute;
    left: 45px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.stl-line-fill {
    position: absolute;
    left: 45px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: rgba(88, 101, 242, 0.8); /* Brand accent color glow */
     /* Glow effect */
    z-index: 0;
    height: 100%;
}

.stl-item {
    position: relative;
    padding-bottom: 40px;
    display: flex;
    align-items: flex-start;
}

.stl-node {
    position: absolute;
    left: -90px;
    top: 0;
    width: 90px;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    z-index: 2;
}

/* Glassy Rounded Rectangle */
.stl-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #0b0c10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #cbd5e1;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.stl-item.active .stl-circle {
    background: #0b0c10; /* Keep it opaque to block the line */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Glassy Content Card */
.stl-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.stl-item.active .stl-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stl-heading {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.stl-body {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Divider line between philosophy text and timeline */
@media (min-width: 900px) {
        .text-philosophy-timeline::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 60px;
        bottom: 150px;
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-50%);
    }
}

/* Update Footer Colors and Sizes */
.contact-col-right, .contact-col-right span {
    color: #ffffff !important;
}

.contact-email {
    font-size: clamp(0.75rem, 1.5vw, 1.125rem) !important; /* Significantly increased email size */
}

.social-btn svg {
    width: 36px !important;
    height: 36px !important;
}

.social-icons {
    gap: 0.75rem !important; /* Reduced gap between Instagram and LinkedIn */
}


/* FAQ Page Styles */
.faqs-page {
    padding: clamp(80px, 10vw, 150px) 5%;
    background-color: var(--bg-primary, #050505);
    color: #fff;
    min-height: 100vh;
}

.faqs-container {
    max-width: 900px;
    margin: 0 auto;
}

.faqs-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 50px;
}

.faqs-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--brand-accent, #5865F2);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* arbitrary large height for transition */
}

.faq-answer p {
    color: #94a3b8;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 0;
}


/* Career Page Styles */
.career-page {
    padding: clamp(100px, 12vw, 150px) 5% 50px 5%;
    background-color: var(--bg-primary, #050505);
    color: #fff;
    min-height: 100vh;
}

.career-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.career-header-pill {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the contents inside the pill */
    gap: 25px; /* Slight increase */
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px 30px; /* Slight increase */
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .career-header-pill {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .career-header-pill {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the contents inside the pill */
    gap: 25px; /* Slight increase */
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px 30px; /* Slight increase */
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .career-header-pill {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
}

.career-goggles {
    max-width: 100%;
    width: 120px; /* Increased from 90px */
    height: auto;
    
    margin-bottom: 0;
        display: block;
    flex-shrink: 0;

    mix-blend-mode: screen;
    background: transparent;}

.career-header-pill h1 {
    font-size: clamp(1.4rem, 3vw, 2.2rem); /* Slightly larger font size */
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.career-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.career-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--brand-accent, #5865F2);
}

.career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-list li {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.career-list li::before {
    content: "•";
    color: var(--brand-accent, #5865F2);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Team Member Enhancements */
.team-member .member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.team-member .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.team-member:hover .member-image {
    
    border-color: var(--brand-accent, #5865F2);
    transform: translateY(-10px) scale(1.05);
}

.team-member h3 {
    color: var(--brand-accent, #5865F2);
    transition: all 0.3s ease;
}

.team-member:hover h3 {
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
}

.team-member {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-email {
    font-size: clamp(0.9rem, 2.25vw, 1.875rem) !important;
}
.social-btn svg {
    width: 32px;
    height: 32px;
}


/* Force removal of any bottom gaps below footer */


.contact-office-section { padding-bottom: 50px !important; margin-bottom: 0 !important; }


/* Sticky footer fix to ensure no empty space below the final footer on large screens */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-office-section {
    margin-top: auto !important;
}

/* About page hero title */
.about-hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem !important; 
        line-height: 1.2 !important;
        text-align: center;
        width: 100%; /* Prevent flex symmetric overflow */
        max-width: 100%;
        overflow-wrap: break-word; /* Ensure it wraps if needed */
        padding: 0; 
    }
    .about-hero-title .highlight-alpina {
        font-size: 1.1em !important; 
        display: block; /* Allow it to take its own line elegantly */
        margin-top: 5px;
    }
    .about-hero-section {
        padding: 100px 5% 40px !important;
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr !important;
    }
}




/* ==========================================================================
   Sticky Left Philosophy & Animated Right Timeline
   ========================================================================== */
@media (min-width: 769px) {
    .text-philosophy-timeline {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        padding: 80px 5% 40px !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        gap: 80px !important;
        position: relative !important;
    }

    .text-philosophy {
        flex: 0 0 42% !important;
        max-width: 500px !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 130px !important;
        align-self: flex-start !important;
        z-index: 10 !important;
        height: auto !important;
    }

    .scroll-timeline-section {
        flex: 0 0 50% !important;
        width: 50% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .text-philosophy-timeline {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 40px !important;
        padding: 40px 5% 80px !important;
    }
    .text-philosophy {
        position: relative !important;
        top: 0 !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    .scroll-timeline-section {
        width: 100% !important;
    }
}


/* Phone view only: compact timeline card text & spacing */
@media (max-width: 768px) {
    .stl-container {
        padding-left: 60px !important;
    }
    .stl-line-bg, .stl-line-fill {
        left: 32px !important;
        top: 32px !important;
    }
    .stl-node {
        left: -60px !important;
        width: 60px !important;
        padding-top: 14px !important;
    }
    .stl-circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
    }
    .stl-content {
        padding: 18px 18px !important;
        border-radius: 14px !important;
    }
    .stl-heading {
        font-size: 1.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }
    .stl-body {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
    }
}


/* Phone view only: reduce crew member avatar image size */
@media (max-width: 768px) {
    .team-member .member-image {
        width: 135px !important;
        height: 135px !important;
        margin: 0 auto 12px !important;
    }
    .team-member h3 {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
    }
    .team-grid {
        gap: 25px !important;
    }
}


/* Phone view only: reduce blog accordion card & text size */
@media (max-width: 768px) {
    .blog-accordion {
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }
    .blog-accordion summary {
        font-size: 1.1rem !important;
        padding: 16px 18px !important;
        line-height: 1.3 !important;
    }
    .blog-content {
        padding: 15px 18px !important;
        font-size: 0.92rem !important;
    }
}


/* Phone view only: reduce FAQs section & accordion size */
@media (max-width: 768px) {
    .faqs-page {
        padding: 100px 4% 60px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .faqs-container {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .faqs-title {
        font-size: 1.35rem !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .faqs-card {
        padding: 18px 16px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .faq-item {
        padding: 14px 0 !important;
    }
    .faq-question h3 {
        font-size: 0.98rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        flex: 1 !important;
        padding-right: 12px !important;
        word-wrap: break-word !important;
    }
    .faq-answer p {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        padding-top: 8px !important;
    }
    .faq-icon {
        font-size: 1.1rem !important;
    }

    /* Fix animation staggering glitch on mobile */
    .faq-item.eutt-reveal.eutt-visible {
        animation-delay: 0s !important;
    }
    
    /* Fix potential max-height cutoff on mobile */
    .faq-item.active .faq-answer {
        max-height: 1000px !important;
    }
}


/* Philosophy Section Typography */
.philosophy-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.philosophy-subtext {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 24px;
}

/* Phone view only: reduce philosophy text size */
@media (max-width: 768px) {
    .philosophy-heading {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .philosophy-subtext {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
}


/* Phone view only: reduce Career page Odyssey header, goggles image & card sizes */
@media (max-width: 768px) {
    .career-page {
        padding: 100px 4% 60px !important;
    }
    .career-header-pill {
        padding: 24px 16px !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        border-radius: 16px !important;
    }
    .career-goggles {
        width: 75px !important;
        height: auto !important;
        margin-bottom: 4px !important;
    
    mix-blend-mode: screen;
    background: transparent;}
    .career-header-pill h1 {
        font-size: 1.15rem !important;
        line-height: 1.25 !important;
    }
    .career-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
    .career-card h2 {
        font-size: 1.15rem !important;
        margin-bottom: 14px !important;
    }
    .career-list li {
        font-size: 0.88rem !important;
        margin-bottom: 10px !important;
        line-height: 1.45 !important;
    }
}


/* Phone view only: increase Career requirements text size */
@media (max-width: 768px) {
    .career-card h2 {
        font-size: 1.4rem !important;
        margin-bottom: 18px !important;
    }
    .career-list li {
        font-size: 1.05rem !important;
        margin-bottom: 14px !important;
        line-height: 1.5 !important;
    }
}




/* Phone view only: align mobile navigation items in ONE CLEAN VERTICAL COLUMN */
@media (max-width: 768px) {
    .glassy-nav-pill, .nav-links {
        display: none; /* Toggled to flex by JS */
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 18px !important;
        padding: 28px 5% 30px !important;
        height: auto !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(11, 12, 16, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        
        pointer-events: auto !important;
    }
    
    .desktop-only-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 8px !important;
    }
    
    .desktop-only-logo .brand-logo-img {
        height: 24px !important;
        width: auto !important;
    }

    .nav-links a {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        font-size: 1.15rem !important;
        font-weight: 500 !important;
        color: #ffffff !important;
        padding: 4px 0 !important;
    }

    .mobile-only-contact {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 85% !important;
        max-width: 260px !important;
        margin: 10px auto 0 !important;
        padding: 12px 24px !important;
        font-size: 1rem !important;
        text-align: center !important;
        border-radius: 50px !important;
    }
}




/* Seamless background like an invisible wall */
        z-index: 10 !important;
        border: none !important;
        outline: none !important;
         /* Absolutely no box shadow */
        border-radius: 0 !important;
        padding-left: 10px !important;
    }

    .m-header .m-desc-cell {
        background: #0b0c10 !important;
        border: none !important;
        
    }
}


/* Phone view only: Superside style comparison table with TOTAL BLACK background */
@media (max-width: 768px) {
    .matrix-section {
        background: #000000 !important;
        padding: 60px 4% !important;
    }

    .matrix-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
        background: #000000 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        padding: 10px 0 !important;
        
    }
    
    .matrix-grid {
        min-width: 580px !important;
        background: #000000 !important;
        border: none !important;
        
    }

    .m-row {
        background: #000000 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        
        border-radius: 0 !important;
    }

    .m-row:last-child {
        border-bottom: none !important;
    }

    .m-cell {
        background: #000000 !important;
        border: none !important;
        
        border-radius: 0 !important;
        color: #ffffff !important;
    }

    /* Sticky left column total black invisible wall */
    .m-desc-cell {
        position: sticky !important;
        left: 0 !important;
        background: #000000 !important; /* Total black background */
        z-index: 10 !important;
        border: none !important;
        outline: none !important;
        
        border-radius: 0 !important;
        padding-left: 16px !important;
    }

    .m-header {
        background: #000000 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .m-header .m-cell {
        background: #000000 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
    }

    .m-header .m-desc-cell {
        background: #000000 !important;
        border: none !important;
    }

    /* Highlight EUTT column (2nd cell) like Superside */
    .m-row .m-cell:nth-child(2) {
        color: var(--brand-accent, #5865F2) !important;
        font-weight: 700 !important;
    }

    .m-header .m-cell:nth-child(2) {
        color: var(--brand-accent, #5865F2) !important;
        font-weight: 800 !important;
    }
}


/* Mobile Scroll Hint Arrow */
.mobile-scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .mobile-scroll-hint {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: var(--brand-accent, #5865F2) !important;
        margin-bottom: 10px !important;
        padding-right: 5px !important;
        letter-spacing: 0.02em !important;
    }

    .arrow-anim {
        display: inline-block !important;
        font-size: 1.1rem !important;
        animation: pulseRightArrow 1.5s infinite ease-in-out !important;
    }

    @keyframes pulseRightArrow {
        0%, 100% {
            transform: translateX(0);
            opacity: 0.6;
        }
        50% {
            transform: translateX(6px);
            opacity: 1;
        }
    }
}


/* Fix Stuck Marquee Track with Smooth Infinite Pure CSS Animation */
.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden !important;
    position: relative;
}

.marquee-track {
    display: flex !important;
    width: max-content !important;
        will-change: transform !important;
}

.marquee-row.reverse .marquee-track {
    }

@keyframes marqueeScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}


/* Vibrant accent color matching storytelling */
    display: block !important;
    opacity: 1 !important;
}

/* Hero Title Styling: Bold Sans-serif for Lines 1 & 2, Playfair Display Italic for Line 3 */
.hero-title-new {
    text-align: left;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-line-1, .hero-line-2 {
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: clamp(2.6rem, 5vw, 4.2rem) !important;
    letter-spacing: 0.5px !important;
    line-height: 1.12 !important;
    color: #ffffff !important;
    display: block !important;
    opacity: 0;
}

.hero-line-3 {
    font-family: 'Playfair Display', 'Instrument Serif', serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    font-size: clamp(2.6rem, 5vw, 4.2rem) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.12 !important;
    color: #5865F2 !important;
    display: block !important;
    opacity: 0;
}

html.loaded .hero-line-1 {
    animation: slideUpFade 0.8s ease-out 0.2s forwards !important;
}

html.loaded .hero-line-2 {
    animation: slideUpFade 0.8s ease-out 0.4s forwards !important;
}

html.loaded .hero-line-3 {
    animation: slideUpFade 0.8s ease-out 0.6s forwards !important;
}

/* Arching 3D Curve perspective effect matching reference image */
.curved-v-card:nth-child(5n+1) { transform: translateY(16px) rotate(-3deg) !important; }
.curved-v-card:nth-child(5n+2) { transform: translateY(6px) rotate(-1deg) !important; }
.curved-v-card:nth-child(5n+3) { transform: translateY(0px) rotate(0deg) !important; }
.curved-v-card:nth-child(5n+4) { transform: translateY(6px) rotate(1deg) !important; }
.curved-v-card:nth-child(5n+5) { transform: translateY(16px) rotate(3deg) !important; }

.curved-v-card:hover {
    transform: translateY(-8px) scale(1.05) rotate(0deg) !important;
    z-index: 10 !important;
    
}

@keyframes scrollCurvedVideoTrack {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay for smooth video transition */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 25s !important;
    }
}


/* --- CENTERED HERO SECTION WITH NARRATIVE SUBTEXT & HORIZONTAL VIDEO CAROUSEL --- */
.hero.hero-centered-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 140px !important;
    padding-bottom: 40px !important;
    gap: 32px !important;
    max-width: 100% !important;
    width: 100% !important;
}

.hero-content.centered-hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 840px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.hero-title-new.centered-title {
    text-align: center !important;
    align-items: center !important;
    margin-bottom: 18px !important;
}

.hero-narrative-subtext {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem) !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 680px !important;
    margin: 0 auto 24px auto !important;
    text-align: center !important;
}

.centered-action-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.full-width-carousel {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: hidden !important;
}


/* Fading Edges overlay for seamless circular cinema feel */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 14%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 16px !important;
        animation-duration: 28s !important;
    }
}


/* 100% Full Brightness & Clarity matching Image 2 */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Arching U-curve line alignment exactly like Image 2 */
.curved-v-card:nth-child(5n+1) { transform: translateY(18px) rotate(-4deg) !important; }
.curved-v-card:nth-child(5n+2) { transform: translateY(6px) rotate(-1.5deg) !important; }
.curved-v-card:nth-child(5n+3) { transform: translateY(0px) rotate(0deg) !important; }
.curved-v-card:nth-child(5n+4) { transform: translateY(6px) rotate(1.5deg) !important; }
.curved-v-card:nth-child(5n+5) { transform: translateY(18px) rotate(4deg) !important; }

.curved-v-card:hover {
    transform: translateY(-8px) scale(1.06) rotate(0deg) !important;
    z-index: 10 !important;
    
}

@keyframes scrollHorizontalTrackImage2 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay for smooth infinite scroll */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 25s !important;
    }
}


/* 100% Full Brightness for all cards */
    transform-origin: center center !important;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease !important;
}

.curved-v-card:hover {
    
    border-color: rgba(88, 101, 242, 0.8) !important;
    z-index: 20 !important;
}

@keyframes scrollInvertedCircularTrack {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 25s !important;
    }
}


/* 100% Full Brightness */
    transform-origin: center center !important;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease !important;
}

.curved-v-card:hover {
    
    border-color: rgba(88, 101, 242, 0.8) !important;
    z-index: 20 !important;
}

@keyframes scrollConcaveRingTrack {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 26s !important;
    }
}


/* Fading Edges overlay */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 26s !important;
    }
}


/* 100% Full Brightness */
    transform-origin: center center !important;
    backface-visibility: hidden !important;
    transition: transform 0.1s linear, box-shadow 0.3s ease !important;
}

.curved-v-card:hover {
    
    border-color: rgba(88, 101, 242, 0.8) !important;
    z-index: 30 !important;
}

@keyframes scrollBowlArchTrack {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 24s !important;
    }
}


/* 100% Full Brightness */
    transform-origin: center center !important;
    backface-visibility: hidden !important;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease !important;
}

.curved-v-card:nth-child(5n+1) { transform: translateY(-16px) scale(0.92) rotate(-5deg) !important; }
.curved-v-card:nth-child(5n+2) { transform: translateY(0px) scale(1.02) rotate(-2deg) !important; }
.curved-v-card:nth-child(5n+3) { transform: translateY(20px) scale(1.16) rotate(0deg) !important; }
.curved-v-card:nth-child(5n+4) { transform: translateY(0px) scale(1.02) rotate(2deg) !important; }
.curved-v-card:nth-child(5n+5) { transform: translateY(-16px) scale(0.92) rotate(5deg) !important; }

.curved-v-card:hover {
    transform: translateY(-5px) scale(1.20) rotate(0deg) !important;
    
    border-color: rgba(88, 101, 242, 0.8) !important;
    z-index: 30 !important;
}

@keyframes scrollBowlArchTrack {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.curved-video-carousel::before,
.curved-video-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.curved-video-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.curved-video-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .curved-v-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .gallery-column.horizontal-curved .gallery-track {
        gap: 14px !important;
        animation-duration: 24s !important;
    }
}


/* 100% Full Brightness */
}

/* U-shaped Bowl Arch Curve Layout */
.arch-card-1 { transform: translateY(-22px) scale(0.90) rotate(-6deg) !important; }
.arch-card-2 { transform: translateY(-4px) scale(1.02) rotate(-2deg) !important; }
.arch-card-3 { transform: translateY(22px) scale(1.16) rotate(0deg) !important; } /* CENTER: Dips down & expands */
.arch-card-4 { transform: translateY(-4px) scale(1.02) rotate(2deg) !important; }
.arch-card-5 { transform: translateY(-22px) scale(0.90) rotate(6deg) !important; }

.arch-card:hover {
    transform: translateY(-8px) scale(1.20) rotate(0deg) !important;
    
    border-color: rgba(88, 101, 242, 0.8) !important;
    z-index: 30 !important;
}

@keyframes archScrollLoop 1785092846 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 14px !important;
        animation-duration: 22s !important;
    }
}


/* 100% Full Brightness */
    transform-origin: center center !important;
    will-change: transform !important;
    transition: transform 0.1s linear, box-shadow 0.3s ease !important;
}

.arch-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
}

.arch-card:hover {
    
    border-color: rgba(88, 101, 242, 0.85) !important;
    z-index: 30 !important;
}

@keyframes scrollInfiniteLoop 1785093157 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 16px !important;
        animation-duration: 24s !important;
    }
}


/* 100% Full Brightness */
    transform-origin: center center !important;
    will-change: transform !important;
    transition: transform 0.1s linear, box-shadow 0.3s ease !important;
}

.arch-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
}

.arch-card:hover {
    
    border-color: rgba(88, 101, 242, 0.85) !important;
    z-index: 30 !important;
}

@keyframes scrollPerfectLoop 1785093239 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 16px !important;
        animation-duration: 26s !important;
    }
}


/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 16px !important;
        animation-duration: 22s !important;
    }
}


/* Extremely smooth 55s duration */
    align-items: center !important;
    padding: 45px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.arch-card {
    width: 200px !important;
    height: 340px !important;
    aspect-ratio: 9/16 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background-color: #050505 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    /* NO hover popup / expansion */
    pointer-events: auto !important;
}

.arch-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
}

/* DISABLED ALL HOVER POPUPS */
.arch-card:hover {
    
    border-color: rgba(255, 255, 255, 0.14) !important;
    z-index: 5 !important;
}

@keyframes scrollInfiniteHorizontalTrack 1785093415 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 16px !important;
        animation-duration: 35s !important;
    }
}


/* Dynamic Travel Path Geometry: Sides LARGE (1.35x), Center SMALL (0.72x), Sides LARGE (1.35x) */
.arch-card:nth-child(5n+1) { transform: translateY(-18px) scale(1.35) rotate(-6deg) !important; }
.arch-card:nth-child(5n+2) { transform: translateY(-2px) scale(0.98) rotate(-2deg) !important; }
.arch-card:nth-child(5n+3) { transform: translateY(24px) scale(0.72) rotate(0deg) !important; } /* CENTER SMALL & DIPS DOWN */
.arch-card:nth-child(5n+4) { transform: translateY(-2px) scale(0.98) rotate(2deg) !important; }
.arch-card:nth-child(5n+5) { transform: translateY(-18px) scale(1.35) rotate(6deg) !important; }

/* NO POPUP ON HOVER */
.arch-card:hover {
    
    border-color: rgba(255, 255, 255, 0.14) !important;
}

@keyframes scrollPureCSSTrack 1785093497 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 16px !important;
        animation-duration: 30s !important;
    }
}


/* Generous gap to prevent card overlapping */
    width: max-content !important;
    animation: scrollPerfectArch 1785093578 42s linear infinite !important;
    align-items: center !important;
    padding: 30px 0 !important;
    margin: 0 !important;
    will-change: transform !important;
}

.arch-card {
    width: 180px !important;
    height: 310px !important;
    aspect-ratio: 9/16 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #050505 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    transition: transform 0.3s ease !important;
}

.arch-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
}

/* Balanced Bowl Arch Curve Geometry (No card overlaps) */
.arch-card:nth-child(5n+1) { transform: translateY(-12px) scale(1.10) rotate(-4deg) !important; }
.arch-card:nth-child(5n+2) { transform: translateY(0px) scale(0.98) rotate(-1.5deg) !important; }
.arch-card:nth-child(5n+3) { transform: translateY(14px) scale(0.86) rotate(0deg) !important; } /* Center dips down slightly */
.arch-card:nth-child(5n+4) { transform: translateY(0px) scale(0.98) rotate(1.5deg) !important; }
.arch-card:nth-child(5n+5) { transform: translateY(-12px) scale(1.10) rotate(4deg) !important; }

/* ABSOLUTELY NO HOVER POPUP OR SCALE JUMP */
.arch-card:hover {
    
    border-color: rgba(255, 255, 255, 0.12) !important;
    z-index: 2 !important;
}

@keyframes scrollPerfectArch 1785093578 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 140px !important;
        height: 240px !important;
        border-radius: 14px !important;
    }
    .video-arch-track {
        gap: 18px !important;
        animation-duration: 28s !important;
    }
}


/* Balanced Bowl Arch Curve Geometry (No card overlaps) */
.arch-card:nth-child(5n+1) { transform: translateY(-12px) scale(1.10) rotate(-4deg) !important; }
.arch-card:nth-child(5n+2) { transform: translateY(0px) scale(0.98) rotate(-1.5deg) !important; }
.arch-card:nth-child(5n+3) { transform: translateY(14px) scale(0.86) rotate(0deg) !important; }
.arch-card:nth-child(5n+4) { transform: translateY(0px) scale(0.98) rotate(1.5deg) !important; }
.arch-card:nth-child(5n+5) { transform: translateY(-12px) scale(1.10) rotate(4deg) !important; }

/* ABSOLUTELY NO HOVER POPUP OR SCALE JUMP */
.arch-card:hover {
    
    border-color: rgba(255, 255, 255, 0.12) !important;
    z-index: 2 !important;
}

@keyframes scrollInfiniteTrackNow {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 140px !important;
        height: 240px !important;
        border-radius: 14px !important;
    }
    .video-arch-track {
        gap: 18px !important;
        animation-duration: 28s !important;
    }
}


/* Spacing preventing overlap */
    width: max-content !important;
    animation: scrollInfiniteLensTrack 1785093765 36s linear infinite !important;
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    will-change: transform !important;
}

.arch-card {
    width: 190px !important;
    height: 320px !important;
    aspect-ratio: 9/16 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #050505 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    /* NO CSS transition on transform to avoid JS fight */
    transition: box-shadow 0.3s ease !important;
}

.arch-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
}

/* ABSOLUTELY NO HOVER POPUPS */
.arch-card:hover {
    
    border-color: rgba(255, 255, 255, 0.12) !important;
}

@keyframes scrollInfiniteLensTrack 1785093765 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fading Edges overlay */
.video-arch-carousel::before,
.video-arch-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.video-arch-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0b0c10 0%, transparent 100%);
}

.video-arch-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, transparent 100%);
}

@media (max-width: 768px) {
    .arch-card {
        width: 145px !important;
        height: 250px !important;
        border-radius: 16px !important;
    }
    .video-arch-track {
        gap: 16px !important;
        animation-duration: 26s !important;
    }
}


/* --- APPLE-LEVEL 3D CYLINDRICAL VIDEO CAROUSEL (v=1785093886) --- */
.hero-visual {
    width: 100% !important;
    overflow: hidden !important;
    padding: 20px 0 50px !important;
    position: relative !important;
    user-select: none !important;
}

.video-cylinder-carousel {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    perspective: 1400px !important;
    perspective-origin: 50% 50% !important;
    padding: 30px 0 !important;
}

.video-cylinder-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    width: max-content !important;
    animation: cylinderInfiniteScroll 1785093886 48s linear infinite !important; /* Constant slow 60fps smooth speed */
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important; /* Rounded corners 24px */
    overflow: hidden !important;
     /* Soft shadow */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* object-fit: cover */
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}



@keyframes cylinderInfiniteScroll 1785093886 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Subtle fading edges for natural entrance and exit */




.video-cylinder-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

@media (max-width: 768px) {
    .cylinder-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 18px !important;
    }
    .video-cylinder-track {
        gap: 18px !important;
        animation-duration: 32s !important;
    }
}


/* --- APPLE-LEVEL 3D CYLINDRICAL VIDEO CAROUSEL - TIGHT GAPS & RIGHT-TO-LEFT INFINITE LOOP (v=1785094007) --- */
.hero-visual {
    width: 100% !important;
    overflow: hidden !important;
    padding: 20px 0 50px !important;
    position: relative !important;
    user-select: none !important;
}

.video-cylinder-carousel {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    perspective: 1400px !important;
    perspective-origin: 50% 50% !important;
    padding: 30px 0 !important;
}

.video-cylinder-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important; /* Reduced gap between videos for tight arrangement */
    width: max-content !important;
    animation: cylinderRightToLeftScroll 1785094007 38s linear infinite !important; /* Right to Left infinite scroll */
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}



/* Continuous Right-to-Left Infinite Scroll */
@keyframes cylinderRightToLeftScroll 1785094007 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}





.video-cylinder-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

@media (max-width: 768px) {
    .cylinder-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 18px !important;
    }
    .video-cylinder-track {
        gap: 10px !important;
        animation-duration: 28s !important;
    }
}


/* Tight gaps between videos */
    width: max-content !important;
    animation: cylinderUnique12Scroll 1785094096 55s linear infinite !important; /* Smooth right-to-left infinite scroll */
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}



/* Right-to-Left Infinite Scroll */
@keyframes cylinderUnique12Scroll 1785094096 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}





.video-cylinder-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

@media (max-width: 768px) {
    .cylinder-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 18px !important;
    }
    .video-cylinder-track {
        gap: 10px !important;
        animation-duration: 38s !important;
    }
}


/* Continuous Right-to-Left Infinite Scroll */
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}



/* Clean Valid CSS Keyframe for Continuous Right-to-Left Infinite Scroll */
@keyframes cylinderRightToLeftLoop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}





.video-cylinder-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

@media (max-width: 768px) {
    .cylinder-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 18px !important;
    }
    .video-cylinder-track {
        gap: 10px !important;
        animation-duration: 28s !important;
    }
}


/* Reduced gap between videos to 8px */
    width: max-content !important;
    animation: cylinderRightToLeftLoop 24s linear infinite !important; /* Increased scroll speed (24s duration) */
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}



/* Continuous Right-to-Left Infinite Scroll */
@keyframes cylinderRightToLeftLoop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}





.video-cylinder-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

@media (max-width: 768px) {
    .cylinder-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 18px !important;
    }
    .video-cylinder-track {
        gap: 6px !important;
        animation-duration: 18s !important;
    }
}


/* --- 12 UNIQUE VIDEOS INFINITE 3D CYLINDRICAL CAROUSEL (ULTRA-TIGHT MIDDLE GAPS - v=1785094477) --- */
.hero-visual {
    width: 100% !important;
    overflow: hidden !important;
    padding: 20px 0 50px !important;
    position: relative !important;
    user-select: none !important;
}

.video-cylinder-carousel {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    perspective: 1400px !important;
    perspective-origin: 50% 50% !important;
    padding: 30px 0 !important;
}

.video-cylinder-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 2px !important; /* Ultra-tight 2px gap to eliminate visual space around middle videos */
    width: max-content !important;
    animation: cylinderRightToLeftLoop 24s linear infinite !important;
    align-items: center !important;
    padding: 40px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}



/* Continuous Right-to-Left Infinite Scroll */
@keyframes cylinderRightToLeftLoop {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}





.video-cylinder-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

@media (max-width: 768px) {
    .cylinder-card {
        width: 145px !important;
        height: 255px !important;
        border-radius: 18px !important;
    }
    .video-cylinder-track {
        gap: 2px !important;
        animation-duration: 18s !important;
    }
}


/* Forces all text into one single line on desktop */
    justify-content: center !important;
    align-items: center !important;
    gap: 0.35em !important;
    text-align: center !important;
    white-space: nowrap !important;
    margin-bottom: 22px !important;
    width: 100% !important;
}

.hero-line-1, .hero-line-2 {
    display: inline-block !important;
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: clamp(1.6rem, 2.8vw, 2.8rem) !important;
    color: #ffffff !important;
    letter-spacing: 0.2px !important;
}

.hero-line-3 {
    display: inline-block !important;
    font-family: 'Playfair Display', 'Instrument Serif', serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    font-size: clamp(1.6rem, 2.8vw, 2.8rem) !important;
    color: #5865F2 !important;
    letter-spacing: -0.01em !important;
}

@media (max-width: 992px) {
    .hero-title-new {
        white-space: normal !important;
        flex-wrap: wrap !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    .hero-line-1, .hero-line-2, .hero-line-3 {
        font-size: clamp(1.8rem, 5vw, 2.6rem) !important;
    }
}


/* Large prominent font size */
    color: #ffffff !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

.hero-line-3 {
    display: block !important;
    font-family: 'Playfair Display', 'Instrument Serif', serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    font-size: clamp(2.6rem, 4.8vw, 4.5rem) !important; /* Large prominent font size */
    color: #5865F2 !important; /* Purple-blue accent */
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

@media (max-width: 768px) {
    .hero-line-1, .hero-line-2, .hero-line-3 {
        font-size: clamp(2.0rem, 6vw, 3.0rem) !important;
    }
}


/* Keeps "Narrative-first video editing for" in one line */
    text-align: center !important;
}

.hero-line-3 {
    display: block !important;
    font-family: 'Playfair Display', 'Instrument Serif', serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    font-size: clamp(2.2rem, 4.0vw, 3.8rem) !important;
    color: #5865F2 !important; /* Purple-blue accent */
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

@media (max-width: 768px) {
    .hero-line-1 {
        white-space: normal !important;
        font-size: clamp(1.8rem, 5.5vw, 2.6rem) !important;
    }
    .hero-line-3 {
        font-size: clamp(1.8rem, 5.5vw, 2.6rem) !important;
    }
}




/* --- 100VH SINGLE FRAME HERO SECTION (Navbar + Title + Videos + Portfolio Button - v=1785094942) --- */
.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 600px !important;
    padding: 100px 4% 20px 4% !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.hero-content {
    flex: none !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.hero-title-new {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
}

.hero-line-1 {
    display: block !important;
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: clamp(1.8rem, 3.2vw, 3.2rem) !important; /* Compact size to fit 100vh frame */
    color: #ffffff !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.hero-line-3 {
    display: block !important;
    font-family: 'Playfair Display', 'Instrument Serif', serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    font-size: clamp(1.8rem, 3.2vw, 3.2rem) !important;
    color: #5865F2 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

.hero-visual {
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: relative !important;
    user-select: none !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.video-cylinder-carousel {
    display: flex !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    perspective: 1400px !important;
    perspective-origin: 50% 50% !important;
    padding: 10px 0 !important;
}

.video-cylinder-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 2px !important;
    width: max-content !important;
    animation: cylinderRightToLeftLoop 24s linear infinite !important;
    align-items: center !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

.cylinder-card {
    width: 155px !important; /* Scaled to fit perfectly in 100vh frame */
    height: 265px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: #060608 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
    pointer-events: none !important;
}

.hero-bottom-action {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    z-index: 20 !important;
    position: relative !important;
}

.hero-portfolio-btn {
    background: #5865F2 !important;
    color: #ffffff !important;
    padding: 14px 42px !important;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 100px !important;
    
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    opacity: 1 !important;
}

.hero-portfolio-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .hero {
        height: auto !important;
        max-height: none !important;
        padding-top: 110px !important;
    }
    .hero-line-1 {
        white-space: normal !important;
    }
    .cylinder-card {
        width: 135px !important;
        height: 230px !important;
    }
}




/* GUARANTEE NO HOVER PAUSE - CONTINUE SCROLLING ALWAYS */
.video-cylinder-carousel:hover .video-cylinder-track,
.cylinder-card:hover .video-cylinder-track {
    animation-play-state: running !important;
}


/* GUARANTEE NO HOVER PAUSE - CONTINUOUS LOOP ALWAYS */
.video-cylinder-carousel:hover .video-cylinder-track,
.cylinder-card:hover .video-cylinder-track {
    animation-play-state: running !important;
}


/* --- PERFECT 100% FULL WIDTH HERO LAYOUT (v=1785095410) --- */
.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 600px !important;
    padding: 95px 0 20px 0 !important; /* Zero side padding */
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.hero-content {
    flex: none !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.hero-visual {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    user-select: none !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.video-cylinder-carousel {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    perspective: 1400px !important;
    perspective-origin: 50% 50% !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

.video-cylinder-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    width: max-content !important;
    animation: cylinderRightToLeftLoop 32s linear infinite !important;
    align-items: center !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    transform-style: preserve-3d !important;
    will-change: transform !important;
}

/* GUARANTEE NO HOVER PAUSE - CONTINUOUS LOOP ALWAYS */
.video-cylinder-carousel:hover .video-cylinder-track,
.cylinder-card:hover .video-cylinder-track {
    animation-play-state: running !important;
}


/* --- GLITCH-FREE CYLINDRICAL CAROUSEL (v=1785095732) --- */
.cylinder-card {
    width: 195px !important;
    height: 330px !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background-color: transparent !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important; /* Always 100% Brightness */
    transform-origin: center center !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    transition: none !important; /* Instant 60fps JS transforms without reset lag */
}

.cylinder-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important; /* Always 100% Brightness */
    pointer-events: none !important;
}


/* Slightly smaller than "brands" and "agencies" */
    font-style: italic !important;
    font-weight: 500 !important;
    vertical-align: baseline !important;
    display: inline-block !important;
    margin: 0 0.08em !important;
    opacity: 0.95 !important;
}


/* Slightly smaller than "brands" and "agencies" */
    font-style: italic !important;
    font-weight: 500 !important;
    display: inline-block !important;
    margin: 0 0.12em !important;
    opacity: 0.95 !important;
}


/* White color */
    font-size: 0.72em !important; /* Smaller font size */
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin: 0 0.2em !important;
    vertical-align: middle !important;
    opacity: 0.95 !important;
}


/* Pure White Color */
    font-size: 0.65em !important; /* Smaller font size */
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    display: inline-block !important;
    padding: 0 0.15em !important;
    vertical-align: middle !important;
    opacity: 1 !important;
}


/* Force Pure White Color */
    font-size: 0.55em !important; /* Noticeably smaller font size */
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin: 0 0.25em !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    text-shadow: none !important;
}


/* --- GUARANTEED WHITE & SMALLER 'AND' WORD IN HERO TITLE (v=1785096540) --- */
.hero-title-new .hero-line-3 .hero-and,
.hero-line-3 .hero-and,
span.hero-and {
    color: #ffffff !important; /* Crisp White Font Colour */
    font-family: 'Coolvetica Light', 'Coolvetica', 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 0.60em !important; /* Smaller than brands and agencies */
    display: inline-block !important;
    margin: 0 0.15em !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.contact-title-new {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-transform: none;
    color: #fff;
}

@media (max-width: 768px) {
    .contact-title-new {
        line-height: 1.3;
        font-size: 2.8rem;
    }
    .contact-office-section {
        padding-top: 50px;
    }
}

.contact-social-icons { margin-top: 1.5rem; justify-content: flex-start; gap: 1rem; display: flex; }
.contact-social-icons .ig-btn { margin-right: 0.5rem; }
.social-svg { width: 32px; height: 32px; }
.contact-location { text-align: right; color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.8; text-transform: uppercase; }
.footer-bottom-row { background: transparent; width: 100%; padding: 10px 5% 20px 5% !important; margin-bottom: 0px !important; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 3rem; }
.footer-bottom-logo { height: 30px; object-fit: contain; vertical-align: bottom; margin-bottom: 0; }
.footer-copyright { font-family: 'Courier New', Courier, monospace; color: var(--text-secondary); font-size: 1rem; margin: 0; }

@media (max-width: 768px) {
    .contact-title-new {
        line-height: 1.3 !important;
        font-size: 2.0rem !important; /* Reduced "Let's create" size */
    }
    .contact-social-icons {
        gap: 1rem !important; /* Reduced gap between IG and LinkedIn */
    }
    .contact-social-icons .ig-btn {
        margin-right: 0 !important;
    }
    .social-svg {
        width: 22px !important; /* Reduced logo size */
        height: 22px !important;
    }
    .contact-location {
        font-size: 0.75rem !important; /* Reduced size */
        width: 100% !important;
        text-align: right !important; /* Keep Pune India right aligned */
        margin-top: 1rem !important;
    }
    
    /* Ensure Footer Bottom keeps logo on left, copyright on right */
    .footer-bottom-row {
        gap: 0.5rem !important;
        flex-wrap: nowrap !important; /* Prevent wrapping so they stay left/right */
    }
    .footer-bottom-logo {
        height: 18px !important; /* Reduced EUTT logo size */
        flex-shrink: 0;
    }
    .footer-copyright {
        font-size: 0.65rem !important; /* Reduced copyright size */
        text-align: right !important; /* Keep copyright at right side */
        flex-grow: 1;
        white-space: normal; /* Allow it to break into lines if really tight */
    }
}

@media (max-width: 768px) {
    .m-desc-cell {
        background: #000000 !important; /* Match row background perfectly */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
         /* NO box shadow */
        border-right: none !important; /* NO border */
    }
    
    /* Add a fading edge to the RIGHT side of the container to indicate scrollability like the reference */
    .matrix-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(to left, #000000 0%, transparent 100%);
        pointer-events: none;
        z-index: 5;
    }
}

@media (max-width: 768px) {
    .m-desc-cell {
        position: sticky !important;
        left: 0 !important;
        background: #000000 !important;
        z-index: 20 !important; /* bumped up to ensure it stays above */
        transform: translateZ(0); /* Force GPU acceleration so sticky doesn't glitch on mobile */
        -webkit-transform: translateZ(0);
        
        border-right: none !important;
    }
    
    .matrix-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

@media (max-width: 768px) {
    /* Ensure all regular cells are explicitly layered behind */
    .m-cell {
        position: relative !important;
        z-index: 1 !important;
        background: transparent !important; /* Let the row background show through instead of a solid cell background that might overlap */
    }
    
    /* Ensure the sticky cell is explicitly layered on top */
    .m-desc-cell {
        position: sticky !important;
        left: 0 !important;
        background: #000000 !important;
        z-index: 999 !important; /* extremely high z-index */
        transform: none !important; /* Remove transform if it was breaking stacking context */
        -webkit-transform: none !important;
    }
    
    .m-row {
        background: #000000 !important; /* Make sure the row itself provides the black background */
        position: relative !important;
        z-index: 10 !important;
    }
}

@media (max-width: 768px) {
    /* 1. Fix sticky table column tearing */
    .m-row {
        transition: none !important; /* Stop transform transitions that break sticky stacking context on mobile */
        grid-template-columns: 140px repeat(6, 85px) !important; /* give the first column a bit more width so text doesn't overflow/tear */
    }
    .m-desc-cell {
        width: 100% !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
        position: -webkit-sticky !important; /* Safari fallback */
        position: sticky !important;
        background: #000000 !important;
        border-right: 1px solid rgba(0,0,0,1) !important; /* solid border to hide any edge tearing */
    }
    .m-cell {
        z-index: 1 !important;
        background: transparent !important;
    }

    /* 2. Fix crew grid (image 2) to be small and in one row/grid */
    .crew-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* 3 in a row */
        gap: 15px !important;
        padding: 0 10px !important;
    }
    .crew-member img {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 10px !important;
    }
    .crew-member h3 {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }
    .crew-member p {
        font-size: 0.7rem !important;
    }

    /* 3. Move "Selected Stories We've Shaped" text a little bit upper (image 3) */
    .work-section {
        padding-top: 40px !important; /* Reduced top padding */
    }
    .work-header {
        margin-bottom: 20px !important;
    }
    .work-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }
    .work-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    /* 1. Fix sticky table column tearing (overflow background issue) */
    .m-row {
        grid-template-columns: 155px repeat(6, 85px) !important; /* Wider first column to fully contain text background */
    }
    .m-desc-cell {
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        padding-right: 5px !important;
        border-right: 1px solid rgba(0,0,0,1) !important;
    }
    .m-cell {
        z-index: 1 !important;
    }

    /* 2. Fix team grid (image 2) to be small and in one row of 3-4 */
    .team-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; /* 4 in a row as requested */
        gap: 10px !important;
        padding: 0 10px !important;
    }
    .team-member .member-image {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 5px !important;
    }
    .team-member h3 {
        font-size: 0.7rem !important;
        line-height: 1.1 !important;
        margin-top: 5px !important;
    }

    /* 3. Move "Selected Stories We've Shaped" text upper (image 3) */
    .services-hero {
        padding-top: 100px !important; /* Default was likely higher, pull it up */
        padding-bottom: 40px !important;
        min-height: auto !important;
    }
}

@media (max-width: 768px) {
    /* Remove the annoying gradient box from the right side of the matrix */
    .matrix-wrapper::after {
        display: none !important;
        background: none !important;
        width: 0 !important;
    }
    
    /* Remove any border box around the entire matrix */
    .matrix-wrapper {
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }

    /* Keep the first panel sticky and add the transparent wall (shadow) near it */
    .m-desc-cell {
        position: sticky !important;
        position: -webkit-sticky !important;
        left: 0 !important;
        background: #000000 !important; /* solid background so text moving under it is hidden */
        z-index: 9999 !important;
         /* Transparent wall effect near first panel */
        border-right: none !important; /* Remove hard solid line box */
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }

    /* Ensure row has enough width for first column */
    .m-row {
        grid-template-columns: 145px repeat(6, 85px) !important;
        transition: none !important; /* prevent tearing */
    }

    /* Allow the scrolling columns to slide perfectly behind the sticky one */
    .m-cell {
        z-index: 1 !important;
        background: transparent !important;
    }
}

@media (max-width: 768px) {
    /* 1. Force the sticky column to render in a HIGHER hardware composite layer */
    .m-desc-cell {
        position: -webkit-sticky !important;
        position: sticky !important;
        left: 0 !important;
        background: #000000 !important; /* Must be solid black to hide text sliding underneath */
        z-index: 9999 !important;
        
        /* The critical fix for iOS Safari/Mobile WebKit rendering on top */
        -webkit-transform: translate3d(0, 0, 10px) !important; 
        transform: translate3d(0, 0, 10px) !important;
        
        /* The requested transparent wall */
        
        border-right: none !important;
        
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }

    /* 2. Force the sliding cells to render in a LOWER hardware composite layer */
    .m-cell {
        position: relative !important;
        z-index: 1 !important;
        background: transparent !important;
        
        /* Force to lower layer */
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
    }
    
    /* 3. Ensure the row itself doesn't mess with stacking */
    .m-row {
        grid-template-columns: 145px repeat(6, 85px) !important;
        position: relative !important;
        z-index: 10 !important;
        transform-style: flat !important;
        -webkit-transform-style: flat !important;
    }
}

@media (max-width: 768px) {
    /* RESTORE STICKY: Transforms break position:sticky on mobile. */
    .m-desc-cell {
        position: -webkit-sticky !important;
        position: sticky !important;
        left: 0 !important;
        background: #000000 !important;
        z-index: 9999 !important;
        
        /* REMOVE all transforms so it actually stays constant/sticky! */
        -webkit-transform: none !important;
        transform: none !important;
        
        
        border-right: none !important;
        
        /* Prevent text overflow which caused the original "tearing" illusion */
        width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        text-align: left !important;
        padding-left: 16px !important;
        padding-right: 5px !important;
    }

    /* Make sure grid has enough space for the text so it doesn't overflow its background */
    .m-row {
        grid-template-columns: 145px repeat(6, 85px) !important;
        position: relative !important;
        z-index: 10 !important;
        /* Remove transform transitions that can break sticky contexts */
        transition: none !important;
        transform: none !important;
    }

    /* Cells should just scroll normally underneath */
    .m-cell {
        position: relative !important;
        z-index: 1 !important;
        background: transparent !important;
        /* No transforms */
        -webkit-transform: none !important;
        transform: none !important;
    }
}

/* Re-add glow specifically to Portfolio button */
.hero-portfolio-btn {
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.5),
                0 15px 35px rgba(167, 139, 250, 0.6),
                0 -5px 25px rgba(167, 139, 250, 0.3) !important;
}

.hero-portfolio-btn:hover {
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.6),
                0 20px 45px rgba(167, 139, 250, 0.7),
                0 -5px 30px rgba(167, 139, 250, 0.4) !important;
}



@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Accordion Panel Staggered Pop Up Animation */
.services-accordion-container .service-tier-panel {
    opacity: 0;
    transform: translateY(40px);
}
.services-accordion-container .service-tier-panel.animate {
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.services-accordion-container .service-tier-panel:nth-child(1).animate { animation-delay: 0.1s; }
.services-accordion-container .service-tier-panel:nth-child(2).animate { animation-delay: 0.3s; }
.services-accordion-container .service-tier-panel:nth-child(3).animate { animation-delay: 0.5s; }

/* ========================================================
   MOBILE: Sticky first column + invisible wall shadow
   ======================================================== */
@media (max-width: 768px) {
    /* Ensure the wrapper allows horizontal scroll */
    .matrix-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }

    /* Sticky first column */
    .m-desc-cell {
        position: -webkit-sticky !important;
        position: sticky !important;
        left: 0 !important;
        z-index: 100 !important;
        background: #000000 !important;
        /* The invisible wall: soft shadow on the right edge */
        box-shadow: 4px 0 12px 4px rgba(0, 0, 0, 0.85) !important;
    }

    /* Remove any transform on rows that breaks sticky */
    .m-row {
        transform: none !important;
        -webkit-transform: none !important;
        transition: none !important;
    }
}

/* Testimonial author alignment fix */
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 20px;
}
.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.testimonial-author p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ========================================================
   MOBILE ONLY: Table row pop-up scroll animation
   ======================================================== */
@media (max-width: 768px) {
    .m-row:not(.m-header) {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .m-row:not(.m-header).row-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================
   GLOBAL EASE-IN ENTRANCE ANIMATION
   Adds subtle fade-up on scroll. Does not affect layout.
   ======================================================== */
@keyframes euttFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eutt-reveal {
    opacity: 0;
    transform: translateY(12px);
    will-change: opacity, transform;
}

.eutt-reveal.eutt-visible {
    animation: euttFadeUp 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger siblings for a natural cascade feel */
.eutt-reveal.eutt-visible:nth-child(2)  { animation-delay: 0.05s; }
.eutt-reveal.eutt-visible:nth-child(3)  { animation-delay: 0.10s; }
.eutt-reveal.eutt-visible:nth-child(4)  { animation-delay: 0.15s; }
.eutt-reveal.eutt-visible:nth-child(5)  { animation-delay: 0.20s; }
.eutt-reveal.eutt-visible:nth-child(6)  { animation-delay: 0.25s; }



/* Ensure table rows are never hidden by the global reveal on desktop */
@media (min-width: 769px) {
    .m-row, .m-desc-cell, .m-cell, .matrix-grid, .matrix-wrapper {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ========================================================
   MOBILE: Fix timeline cards being cut off on right side
   ======================================================== */
@media (max-width: 768px) {
    .scroll-timeline-section {
        overflow: hidden !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .stl-container {
        padding-left: 60px !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .stl-item {
        display: flex !important;
        align-items: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .stl-content {
        flex: 1 !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    .stl-heading, .stl-body {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}
