/* CSS Custom Properties for Fluid Typography */
:root {
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Courier New', monospace;
    
    /* Fluid typography scale */
    --text-xs: clamp(12px, 1.5vw, 14px);
    --text-sm: clamp(14px, 1.8vw, 16px);
    --text-base: clamp(16px, 2vw, 18px);
    --text-lg: clamp(18px, 2.2vw, 20px);
    --text-xl: clamp(20px, 2.5vw, 24px);
    --text-2xl: clamp(24px, 3vw, 28px);
    --text-3xl: clamp(28px, 3.5vw, 36px);
    --text-4xl: clamp(36px, 4vw, 48px);
    --text-5xl: clamp(48px, 5vw, 60px);
    
    /* Safe area insets for iPhone 15 Pro and other notched devices */
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-right: env(safe-area-inset-right, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-inset-left: env(safe-area-inset-left, 0px);
    
    /* Fallback for older iOS versions */
    --safe-area-inset-top-fallback: constant(safe-area-inset-top, 0px);
    --safe-area-inset-right-fallback: constant(safe-area-inset-right, 0px);
    --safe-area-inset-bottom-fallback: constant(safe-area-inset-bottom, 0px);
    --safe-area-inset-left-fallback: constant(safe-area-inset-left, 0px);
}

/* Critical above-the-fold CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { }
body { 
    background-color: #2a2a2a; 
    font-family: var(--font-stack);
    font-size: var(--text-base);
    margin: 0; padding: 0;
}
body.loaded { background-color: #f5f5f5; overflow-x: hidden; }

/* Essential utility classes for navigation */
.fixed { position: fixed; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.z-\[40\] { z-index: 40; }
.flex { display: flex; }
.w-screen { width: 100vw; }
.justify-center { justify-content: center; }
.mt-4 { margin-top: 1rem; }
.w-fit { width: fit-content; }
.items-center { align-items: center; }
.overflow-hidden { overflow: hidden; }
.pointer-events-auto { pointer-events: auto; }
.border-\[1px\] { border-width: 1px; }
.bg-neutral-50 { background-color: #fafafa; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.backdrop-blur-3xl { backdrop-filter: blur(64px); }
.hidden { display: none; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.relative { position: relative; }
.focus\:outline-none:focus { outline: none; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.font-normal { font-weight: 400; }
.text-neutral-500 { color: #737373; }
.group:hover .group-hover\:text-neutral-700 { color: #404040; }
.z-10 { z-index: 10; }
.md\:flex { display: flex; }
.md\:hidden { display: none; }

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
}

/* Blue scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #3BC9DE;
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #2BA9BE;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #3BC9DE #f1f1f1;
}

/* Prevent white flash during resize */
.pin-spacer {
    background-color: transparent !important;
    min-height: 100vh !important;
}

/* Video wrapper performance and stability */
.video-wrapper {
    will-change: transform;
    background-color: #000;
    position: relative;
    z-index: 1;
}

/* Ensure smooth transitions */

/* Prevent gaps */
#work {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
}
.loading-container {
    display: flex; justify-content: center; align-items: center;
    height: 100vh; width: 100vw; position: fixed;
    top: 0; left: 0; z-index: 10000; background-color: #2a2a2a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.logo { 
    display: flex; align-items: center; gap: 15px; position: relative; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
.terminal-box {
    width: 40px; height: 40px; border: 3px solid #999; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; gap: 2px;
    font-family: 'Courier New', monospace; font-size: 14px;
    color: #999; font-weight: bold; transition: all 0.3s ease;
}
.text-fill {
    color: #fff; position: relative; z-index: 2;
    clip-path: inset(100% 0 0 0);
}
.text-outline {
    color: #999; position: absolute;
    top: 0; left: 0; z-index: 1;
}
.logo-text {
    position: relative; font-size: 48px;
    font-weight: 300; letter-spacing: -1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Complete Daybreak Navigation Styles with Animations */

:root {
    --main-gradient: linear-gradient(0deg, #fff5e6, #fff0eb 25%, #faebf5 50%, #f5f0ff 75%, #fafaff);
}

/* Base body and html styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background-color: #2a2a2a; /* Dark during loading */
}

body.loaded {
    background-color: #f5f5f5; /* Light after loading */
    overflow: auto !important;
    height: auto !important;
}

/* Utility Classes */
.pointer-events-auto { pointer-events: auto; }
.fixed { position: fixed; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.z-\[40\] { z-index: 40; }
.flex { display: flex; }
.w-screen { width: 100vw; }
.justify-center { justify-content: center; }
.mt-4 { margin-top: 1rem; }
.w-fit { width: fit-content; }
.items-stretch { align-items: stretch; }
.overflow-hidden { overflow: hidden; }
.border-\[1px\] { border-width: 1px; }
.border-neutral-300\/25 { border-color: rgb(212 212 212 / 0.25); }
.bg-neutral-50 { background-color: rgba(250, 250, 250, 1); }
.mix-blend-multiply { mix-blend-mode: multiply; }
.shadow-lg { 
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.shadow-neutral-500\/5 { 
    --tw-shadow-color: rgb(115 115 115 / 0.05);
    box-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
}
.backdrop-blur-3xl { 
    backdrop-filter: blur(64px);
    -webkit-backdrop-filter: blur(64px);
}

/* Frame Classes */
.frame-outer {
    border-radius: 34px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.frame-inner { 
    border-radius: 30px; 
}

.group { /* Base group class */ }
.pointer-events-none { pointer-events: none; }
.relative { position: relative; }
.focus\:outline-none:focus { outline: none; }
.z-10 { z-index: 10; }
.items-center { align-items: center; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.text-neutral-500 { 
    color: rgb(0 0 0);
    transition: color 0.3s ease;
}
.hidden { display: none; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Pill hover effect */
.pill {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 30px;
    background-color: transparent;
    transition: all 0.5s ease;
}

.pill::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 50%, rgba(255,245,230,0.5) 0%, rgba(255,240,235,0.4) 25%, rgba(250,235,245,0.3) 50%, rgba(245,240,255,0.2) 75%, rgba(250,250,255,0.1) 100%);
    padding: 1px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.group:hover .pill::before {
    opacity: 1;
}

.justify-center { justify-content: center; }
.bg-white { background-color: rgb(255 255 255); }

/* Menu Items Container */
.items {
    position: relative;
}

.font-normal { font-weight: 400; }

/* Menu Link Hover Animations */
.menu-link {
    position: relative;
    text-decoration: none;
    color: rgb(0 0 0);
    transition: color 0.3s ease;
    border-radius: 30px;
    display: block;
    overflow: hidden;
}

.menu-link h1 {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.menu-link:hover {
    color: rgb(0 0 0);
}

/* Active state pill background */
.menu-link.active {
    background-color: rgb(255 255 255);
    border: 1px solid rgb(82 82 82 / 0.05);
    box-shadow: 0 10px 15px -3px rgb(115 115 115 / 0.15), 0 4px 6px -4px rgb(115 115 115 / 0.15);
}



/* Force mobile elements to hide on desktop */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
    /* Ensure mobile navigation is properly laid out */
    .frame-outer {
        width: auto !important;
        min-width: 200px !important;
        justify-content: space-between !important;
        gap: 20px !important;
    }
    /* Force hide desktop elements on mobile */
    a[href="#home"].hidden {
        display: none !important;
    }
    /* Ensure desktop menu is hidden */
    #desktopMenu {
        display: none !important;
    }
}

/* Mobile responsive */
@media (min-width: 768px) {
    .md\:m-0 { margin: 0; }
    .md\:mx-4 { margin-left: 1rem; margin-right: 1rem; }
    .md\:p-0 { padding: 0; }
    .md\:pt-\[2px\] { padding-top: 2px; }
    .md\:pointer-events-auto { pointer-events: auto; }
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .md\:border-\[1px\] { border-width: 1px; }
    .md\:border-neutral-600\/5 { border-color: rgb(82 82 82 / 0.05); }
    .md\:bg-white { background-color: rgb(255 255 255); }
    .md\:shadow-lg { 
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    }
    .md\:shadow-neutral-500\/15 {
        box-shadow: 0 10px 15px -3px rgb(115 115 115 / 0.15), 0 4px 6px -4px rgb(115 115 115 / 0.15);
    }
}

/* Logo Animation */
.logo-container {
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

/* Mobile menu toggle animation */
.menu-toggle {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle:active {
    transform: scale(0.95);
}

/* Logo Symbol Outside Navigation */
.logo-symbol-outside {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-symbol-outside .terminal-box {
    width: 32px !important;
    height: 32px !important;
    border: 2px solid rgb(0 0 0) !important;
    background: transparent !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px;
    font-family: 'Courier New', monospace !important;
    font-size: 11px !important;
    color: rgb(0 0 0) !important;
    font-weight: bold !important;
    transition: all 0.3s ease;
    position: relative !important;
    z-index: 100 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo-symbol-outside .terminal-prompt {
    color: rgb(0 0 0) !important;
    font-weight: bold !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo-symbol-outside .terminal-underscore {
    color: rgb(0 0 0) !important;
    font-weight: bold !important;
    display: inline-block !important;
    visibility: visible !important;
    animation: cursor-blink 1s step-end infinite !important;
    -webkit-animation: cursor-blink 1s step-end infinite !important;
}

/* Add cursor blinking animation to all terminal underscore elements */
.terminal-underscore {
    animation: cursor-blink 1s step-end infinite !important;
    -webkit-animation: cursor-blink 1s step-end infinite !important;
}

.logo-symbol-outside:hover .terminal-box {
    border-color: rgb(0 0 0) !important;
    color: rgb(0 0 0) !important;
}

.logo-symbol-outside:hover .terminal-prompt,
.logo-symbol-outside:hover .terminal-underscore {
    color: rgb(0 0 0) !important;
}

/* Navigation Logo Text Only */
.logo-nav {
    display: flex !important;
    align-items: center;
    padding: 16px;
}

.logo-container .logo-text {
    position: relative;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    text-decoration: none !important;
}

.logo-container .text-outline {
    color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-text-stroke: 1px rgb(0 0 0);
    text-stroke: 1px rgb(0 0 0);
    text-decoration: none !important;
}

.logo-container .text-fill {
    color: rgb(0 0 0) !important;
    position: relative;
    z-index: 2;
    clip-path: inset(0% 0 0 0);
    text-decoration: none !important;
}

/* Hover effects */
.logo-container:hover .text-fill {
    color: rgb(0 0 0) !important;
}

.logo-container:hover .text-outline {
    -webkit-text-stroke-color: rgb(0 0 0);
    text-stroke-color: rgb(0 0 0);
}

/* Logo is no longer a menu button */

.logo-container {
    transition: transform 0.3s ease;
    z-index: 50 !important;
    text-decoration: none !important;
}

.logo-container:hover {
    transform: scale(1.05);
    text-decoration: none !important;
}

/* Remove any link styling but preserve active state */
.logo-container, .logo-container:hover, .logo-container:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

.logo-container {
    box-shadow: none !important;
    background-color: transparent !important;
    border: none !important;
}

@keyframes cursor-blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@-webkit-keyframes cursor-blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Fallback for older browsers */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Header and Navigation Styles from wwwroot */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
    /* Safe area insets for iPhone 15 Pro notch and dynamic island */
    padding-top: calc(20px + var(--safe-area-inset-top-fallback));
    padding-top: calc(20px + var(--safe-area-inset-top));
    padding-left: var(--safe-area-inset-left-fallback);
    padding-left: var(--safe-area-inset-left);
    padding-right: var(--safe-area-inset-right-fallback);
    padding-right: var(--safe-area-inset-right);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #000;
    z-index: 10;
}

.nav-logo:hover,
.nav-logo:focus,
.nav-logo:active,
.nav-logo:visited {
    text-decoration: none !important;
}

.logo-symbol-nav {
    position: relative;
}

.terminal-box-nav {
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
}

/* Active state for terminal box */
.nav-logo.active .terminal-box-nav {
    border-color: #3BC9DE;
    color: #3BC9DE;
}

.logo-text-nav {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.nav-menu-placeholder {
    flex: 1;
}

.nav-cta p {
    margin: 0;
}

.nav-cta .mailto-link {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-cta .mailto-link:hover {
    color: #ff5722;
}

/* Fixed Menu Container */
.fixed-menu-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 6px 20px;
}

.fixed-menu-inner {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.menu-line {
    height: 2px;
    background-color: #000;
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-line:nth-child(1) {
    width: 24px;
    align-self: flex-start;
}

.menu-line:nth-child(2) {
    width: 24px;
    align-self: center;
}

.menu-line:nth-child(3) {
    width: 24px;
    align-self: flex-end;
}

/* Hamburger animation states */
.mobile-menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(0px, 8px);
}

.mobile-menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

.mobile-menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(0px, -8px);
}

.mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10000;
    pointer-events: none;
    transition: background-color 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.show {
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-menu-content {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 30px 40px 40px;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-120%);
    opacity: 0;
}

.mobile-menu-header {
    margin-bottom: 30px;
    width: 100%;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 0;
    color: #666;
    font-weight: 400;
    position: relative;
    overflow: hidden;
    height: 30px;
    display: block;
    width: 100%;
    text-align: right;
}

.close-text-wrapper {
    position: relative;
    display: block;
    height: 30px;
    overflow: hidden;
    width: 100%;
    text-align: right;
}

.close-original {
    display: block;
    line-height: 30px;
    position: relative;
    z-index: 2;
}

.close-hover {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    color: #3BC9DE;
    line-height: 30px;
    z-index: 1;
    width: 100%;
    text-align: right;
    white-space: nowrap;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    overflow: visible;
}

.mobile-menu-item {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    margin: 0;
    position: relative;
    transform: translateX(20px);
    opacity: 0;
    overflow: hidden;
    height: 60px;
    width: 100%;
    text-align: right;
}

.menu-item-wrapper {
    position: relative;
    display: block;
    height: 60px;
    overflow: hidden;
    width: calc(100% + 20px);
    margin-right: -20px;
    text-align: right;
}

.menu-item-original {
    display: block;
    line-height: 60px;
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.menu-item-hover {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    color: #3BC9DE;
    line-height: 60px;
    z-index: 1;
    width: auto;
    text-align: right;
    white-space: nowrap;
    padding-right: 20px;
}

.mobile-menu-item.email-item {
    display: block; /* Show email in mobile menu */
}

/* Desktop only class */
.desktop-nav {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        padding-left: calc(20px + var(--safe-area-inset-left-fallback));
        padding-left: calc(20px + var(--safe-area-inset-left));
        padding-right: calc(20px + var(--safe-area-inset-right-fallback));
        padding-right: calc(20px + var(--safe-area-inset-right));
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .fixed-menu-container {
        display: none;
    }

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

/* Ensure links can be animated */
.items a {
    display: inline-block;
    transform-origin: center center;
    transition: none !important; /* Let GSAP handle animations */
    text-decoration: none !important;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Remove underlines from all navigation links */
.items a:hover,
.items a:focus,
.items a:active,
.items a:visited {
    text-decoration: none !important;
}

/* Debug styles to ensure visibility */
.click-active {
    background-color: rgba(255, 87, 34, 0.2) !important;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.8) !important;
    border-radius: 30px !important;
}

/* Ensure frame-inner links can scale properly */
.frame-inner {
    transform-origin: center;
    display: inline-block;
}

/* Active state pill background - from daybreak */
.items a.active,
.nav-logo.active {
    background-color: #E6F3FF;
    border: 1px solid rgb(82 82 82 / 0.05);
    box-shadow: 0 10px 15px -3px rgb(115 115 115 / 0.15), 0 4px 6px -4px rgb(115 115 115 / 0.15);
    border-radius: 30px;
}

/* Ensure logo is active on page load */
.nav-logo {
    transition: all 0.3s ease;
}

/* Keep blue text color for active items */
.items a.active h1,
.items a.active h1 span {
    color: #3BC9DE !important;
}

/* Keep blue text color for active logo */
.nav-logo.active .logo-text-nav {
    color: #3BC9DE !important;
}

/* Navigation text color classes */
.nav-text-default {
    color: #6b7280 !important;
    transition: color 0.2s ease;
}

.nav-text-active {
    color: #3BC9DE !important;
    transition: color 0.2s ease;
}

/* Override any inline styles */
.nav-text-default[style*="color"],
.nav-text-active[style*="color"] {
    color: inherit !important;
}

/* Liquid Navigation Indicator */
.liquid-indicator {
    position: absolute;
    background-color: #E6F3FF;
    border: 1px solid rgb(82 82 82 / 0.05);
    box-shadow: 0 10px 15px -3px rgb(115 115 115 / 0.15), 0 4px 6px -4px rgb(115 115 115 / 0.15);
    border-radius: 30px;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transform-origin: center;
    transition: opacity 0.3s ease;
}

/* Liquid morphing animation */
@keyframes liquidMorph {
    0%, 100% {
        border-radius: 30px;
    }
    25% {
        border-radius: 30px 25px 35px 28px;
    }
    50% {
        border-radius: 28px 32px 30px 35px;
    }
    75% {
        border-radius: 32px 30px 28px 30px;
    }
}

.liquid-indicator.morphing {
    animation: liquidMorph 0.8s ease-in-out;
}

/* During liquid animation, temporarily hide the indicator so original styles show */
.liquid-indicator.transitioning {
    opacity: 0 !important;
}

/* Hide liquid indicator on mobile screens */
@media (max-width: 767px) {
    .liquid-indicator {
        display: none !important;
    }
    
    /* Hide section arrows on mobile */
    .section-arrow {
        display: none !important;
    }
}


/* Image Zoom Overlay */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.image-zoom-overlay.active {
    opacity: 1;
    visibility: visible;
}

.zoomed-image-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
}

.image-zoom-overlay.active .zoomed-image-container {
    transform: scale(1);
}

.zoomed-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.zoom-overlay-text {
    position: absolute;
    top: -1px;
    left: -1px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 16px 24px 16px 25px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 2;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.zoom-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.zoom-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.zoom-close-btn::before,
.zoom-close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
}

.zoom-close-btn::before {
    transform: rotate(45deg);
}

.zoom-close-btn::after {
    transform: rotate(-45deg);
}

/* Make work cards clickable */
.work-card {
    cursor: pointer;
    position: relative;
}

.work-card img {
    pointer-events: auto !important;
    transition: transform 0.3s ease;
}

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

/* Email container styling */
.nav-email-container {
    position: fixed;
    top: 16px; /* Match navigation top position */
    right: 40px;
    z-index: 40;
    pointer-events: auto;
    /* Safe area insets for iPhone 15 Pro */
    top: calc(16px + var(--safe-area-inset-top-fallback));
    top: calc(16px + var(--safe-area-inset-top));
    right: calc(40px + var(--safe-area-inset-right-fallback));
    right: calc(40px + var(--safe-area-inset-right));
}

/* Prevent overlap at medium screen sizes */
@media (max-width: 1200px) {
    .nav-email-container {
        right: 20px;
        right: calc(20px + var(--safe-area-inset-right-fallback));
        right: calc(20px + var(--safe-area-inset-right));
    }
    
    .email-link {
        padding: 19px 40px; /* Reduced horizontal padding */
        min-width: 150px; /* Smaller minimum width */
        font-size: 1rem; /* Slightly smaller font */
    }
}

/* Further adjustments for smaller screens */
@media (max-width: 980px) {
    .nav-email-container {
        display: none !important; /* Hide email link before mobile breakpoint to prevent overlap */
    }
}

/* Let's talk button styling with glow effect */
.email-link {
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #3BC9DE 0%, #42E0F5 100%);
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 16px 40px;
    position: relative;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(59, 201, 222, 0.3);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 201, 222, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(59, 201, 222, 0.5);
    }
}

.email-link:hover {
    background: linear-gradient(135deg, #42E0F5 0%, #3BC9DE 100%);
    box-shadow: 0 6px 20px rgba(59, 201, 222, 0.4);
    transform: translateY(-2px) scale(1.05);
    animation: none;
}

.email-text {
    display: inline-block;
    position: relative;
}

/* Add a subtle arrow or icon after text on hover */
.email-link::after {
    content: " →";
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 30px;
}

.email-link:hover::after {
    opacity: 1;
    right: 20px;
}

/* Hero Let's talk button styling */
.hero-lets-talk {
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #3BC9DE 0%, #42E0F5 100%);
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 18px 50px;
    position: relative;
    cursor: pointer;
    border-radius: 35px;
    box-shadow: 0 6px 20px rgba(59, 201, 222, 0.4);
    animation: heroGlowPulse 2.5s ease-in-out infinite;
}

@keyframes heroGlowPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(59, 201, 222, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(59, 201, 222, 0.6);
    }
}

.hero-lets-talk:hover {
    background: linear-gradient(135deg, #42E0F5 0%, #3BC9DE 100%);
    box-shadow: 0 8px 25px rgba(59, 201, 222, 0.5);
    animation: none;
}

.hero-lets-talk .email-text {
    position: relative;
    display: inline-block;
}

.hero-lets-talk .email-text::after {
    content: " →";
    position: absolute;
    right: -25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-lets-talk:hover .email-text::after {
    opacity: 1;
}

/* Hide the navigation Let's talk button */
.nav-email-container {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-lets-talk {
        font-size: 1.125rem;
        padding: 16px 40px;
    }
}

/* Ensure logo has proper padding for active state */
.nav-logo {
    padding: 8px 16px;
    border-radius: 30px;
    transition: none; /* Let GSAP handle animations */
}

/* Menu item hover color - override tailwind classes */
.items a:hover h1,
.items a:hover h1 span {
    color: #3BC9DE !important; /* Darker cyan - 40% darker than #66E8FA */
}

/* Keep text color transition smooth */
.items a h1,
.items a h1 span {
    transition: color 0.3s ease;
}

/* Video Background Styles */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    will-change: transform; /* Prevent flicker during pin */
}

/* Prevent white flash during resize */
.pin-spacer {
    background-color: #000 !important;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 !important; /* Remove all border radius */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-size: cover;
    background-position: 50% 50%;
}

.video-background video {
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    object-fit: cover;
    /* Hide video controls on iOS devices to prevent play button overlay */
    -webkit-media-controls: none;
    -webkit-media-controls-panel: none;
    -webkit-media-controls-play-button: none;
    -webkit-media-controls-start-playback-button: none;
    -webkit-appearance: none;
    outline: none;
}

/* Additional iOS video control hiding - ONLY for background videos */
.video-background video::-webkit-media-controls,
#bg-video::-webkit-media-controls,
.portfolio-slide video::-webkit-media-controls {
    display: none !important;
}

.video-background video::-webkit-media-controls-panel,
#bg-video::-webkit-media-controls-panel,
.portfolio-slide video::-webkit-media-controls-panel {
    display: none !important;
}

.video-background video::-webkit-media-controls-play-button,
#bg-video::-webkit-media-controls-play-button,
.portfolio-slide video::-webkit-media-controls-play-button {
    display: none !important;
}

.video-background video::-webkit-media-controls-start-playback-button,
#bg-video::-webkit-media-controls-start-playback-button,
.portfolio-slide video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Comprehensive video control removal ONLY for background video elements */
.video-background video,
#bg-video,
.portfolio-slide video {
    -webkit-media-controls: none;
    -webkit-media-controls-panel: none;
    -webkit-media-controls-play-button: none;
    -webkit-media-controls-start-playback-button: none;
    -webkit-appearance: none;
    outline: none;
}

/* iPhone 15 Pro specific optimizations (393x852 viewport) */
@media only screen 
  and (device-width: 393px) 
  and (device-height: 852px) 
  and (-webkit-device-pixel-ratio: 3) {
    
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for better mobile support */
    }
    
    .header {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background-color: rgba(245, 245, 245, 0.8);
    }
    
    .nav-container {
        max-width: calc(100vw - 40px);
    }
    
    .hero-content {
        padding: 0 16px;
        padding-left: calc(16px + var(--safe-area-inset-left));
        padding-right: calc(16px + var(--safe-area-inset-right));
    }
}

/* General iPhone viewport optimizations for all devices with safe areas */
@media only screen and (max-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
    
    /* Ensure proper spacing for notched devices */
    body {
        padding-left: var(--safe-area-inset-left);
        padding-right: var(--safe-area-inset-right);
    }
    
    /* Optimize video wrapper for iPhone screens */
    .video-wrapper {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    /* Better text rendering on iPhone */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Better touch targets */
    button, a, .clickable {
        min-height: 44px;
        min-width: 44px;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Safe area insets for iPhone 15 Pro */
    padding-top: var(--safe-area-inset-top-fallback);
    padding-top: var(--safe-area-inset-top);
    padding-left: var(--safe-area-inset-left-fallback);
    padding-left: var(--safe-area-inset-left);
    padding-right: var(--safe-area-inset-right-fallback);
    padding-right: var(--safe-area-inset-right);
    padding-bottom: var(--safe-area-inset-bottom-fallback);
    padding-bottom: var(--safe-area-inset-bottom);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
}

/* Animated menu styles - MWG 041 style */
.animated-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.menu-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: max-content;
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #000000; /* Black text by default */
    text-shadow: none; /* Remove text shadow for cleaner look */
}

.menu-item.hovered span {
    pointer-events: none;
}

.menu-item .hidden {
    pointer-events: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    color: #333333; /* Darker gray color for hover text */
}

.menu-item span {
    display: inline-block;
    will-change: transform;
}

.menu-item .letter {
    display: inline-block;
    will-change: transform;
}

/* Make the last menu item (NOW AI-POWERED) blue by default */
.menu-item:last-child {
    color: #3BC9DE; /* Original blue color */
}

.menu-item:last-child .hidden {
    color: #FF4A6E; /* Pink-red on hover for AI-POWERED */
}

/* Hero taglines */
.hero-taglines {
    margin-top: 60px;
    text-align: center;
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.6;
    color: #000000;
    margin: 15px 0;
    font-weight: 400;
}

.hero-tagline:last-child {
    font-size: clamp(22px, 3.5vw, 32px);
}

/* Mobile responsive hero styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0; /* Add padding to account for fixed nav */
        /* Additional safe area padding for iPhone 15 Pro */
        padding-top: calc(80px + var(--safe-area-inset-top-fallback));
        padding-top: calc(80px + var(--safe-area-inset-top));
        padding-bottom: calc(0px + var(--safe-area-inset-bottom-fallback));
        padding-bottom: calc(0px + var(--safe-area-inset-bottom));
    }
    
    .hero-content {
        padding: 0 20px;
        width: 100%;
        /* Safe area horizontal padding for iPhone 15 Pro */
        padding-left: calc(20px + var(--safe-area-inset-left-fallback));
        padding-left: calc(20px + var(--safe-area-inset-left));
        padding-right: calc(20px + var(--safe-area-inset-right-fallback));
        padding-right: calc(20px + var(--safe-area-inset-right));
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .animated-menu {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .menu-item {
        font-size: clamp(30px, 7vw, 50px);
        text-align: center;
        width: 100%;
        margin: 8px 0;
        line-height: 1.1;
    }
    
    .menu-item .visible,
    .menu-item .hidden {
        text-align: center;
        display: block;
    }
    
    .hero-taglines {
        margin-top: 40px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .menu-item {
        font-size: clamp(28px, 6vw, 40px);
        margin: 5px 0;
    }
}




@media (max-width: 768px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .menu-item {
        font-size: clamp(50px, 6vw, 70px);
    }
}

/* Ensure proper centering for all screen sizes */
@media (max-width: 1400px) {
    .hero-content {
        padding: 0 40px;
    }
}

/* Specific device media queries to prevent text wrapping */

/* iPad Mini (768px width in portrait) */
@media (width: 768px), (max-width: 768px) and (min-width: 768px) {
    .menu-item {
        font-size: 35px !important;
        white-space: nowrap !important;
    }
    
    .hero-tagline {
        white-space: nowrap !important;
    }
}

/* iPhone 16, iPhone 13, iPhone 12 (390px width) */
@media (width: 390px), (max-width: 390px) and (min-width: 388px) {
    .menu-item {
        font-size: 19px !important;
        white-space: nowrap !important;
        letter-spacing: -0.06em !important;
    }
    
    .hero-tagline {
        font-size: 14px !important;
        white-space: nowrap !important;
    }
    
    .hero-tagline:last-child {
        font-size: 16px !important;
    }
}

/* iPhone 11 Pro, iPhone SE (375px width) */
@media (width: 375px), (max-width: 375px) and (min-width: 374px) {
    .menu-item {
        font-size: 18px !important;
        white-space: nowrap !important;
        letter-spacing: -0.07em !important;
    }
    
    .hero-tagline {
        font-size: 13px !important;
        white-space: nowrap !important;
    }
    
    .hero-tagline:last-child {
        font-size: 15px !important;
    }
}

/* Galaxy S20, S10, S8 (360px width) */
@media (width: 360px), (max-width: 360px) and (min-width: 359px) {
    .menu-item {
        font-size: 17px !important;
        white-space: nowrap !important;
        letter-spacing: -0.08em !important;
    }
    
    .hero-tagline {
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    
    .hero-tagline:last-child {
        font-size: 14px !important;
    }
}

/* Galaxy Z Fold 5 Cover Screen (344px width) */
@media (width: 344px), (max-width: 344px) and (min-width: 343px) {
    .menu-item {
        font-size: 10px !important;
        white-space: nowrap !important;
        letter-spacing: -0.1em !important;
        line-height: 1 !important;
    }
    
    .hero-tagline {
        font-size: 9px !important;
        white-space: nowrap !important;
    }
    
    .hero-tagline:last-child {
        font-size: 11px !important;
    }
    
    .hero-content {
        padding: 0 5px !important;
    }
}

/* Galaxy Z Flip (closed - 280px width) */
@media (max-width: 280px) {
    .menu-item {
        font-size: 8px !important;
        white-space: nowrap !important;
        letter-spacing: -0.15em !important;
        line-height: 1 !important;
    }
    
    .hero-tagline {
        font-size: 7px !important;
        white-space: nowrap !important;
    }
    
    .hero-tagline:last-child {
        font-size: 9px !important;
    }
    
    .hero-content {
        padding: 0 3px !important;
    }
    
    .animated-menu {
        gap: 2px !important;
    }
}

.content-section {
    padding: 100px 0;
    text-align: center;
    background: #f5f5f5;
    position: relative;
}

/* Alternate section backgrounds */
.content-section:nth-child(even) {
    background: #fff;
}

.content-section:nth-child(odd) {
    background: #f5f5f5;
}

.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.content-section h2 {
    font-family: var(--font-stack);
    font-size: var(--text-4xl);
    font-weight: 300;
    margin-bottom: 60px;
    color: #333;
    letter-spacing: -1px;
}

.content-section p {
    font-size: var(--text-xl);
    color: #666;
    margin-bottom: 40px;
}

/* Main content container */
.main-content {
    position: relative;
    min-height: auto !important;
    height: auto !important;
}

/* Smooth scrolling - disabled to use Lenis instead */
html {
    /* scroll-behavior: smooth; - Removed to prevent conflict with Lenis */
    overflow-y: auto !important;
    height: auto !important;
}

/* Ensure body can scroll */
body.loaded {
    overflow-x: hidden;
    overflow-y: visible !important;
    position: relative !important;
}

/* Services Ticker Styles */
.ticker-container {
    background-color: #2a2a2a;
    color: #fff;
    padding: max(1rem, 1.5vmax) 0;
    overflow: hidden;
    position: relative;
}

.ticker-marquee {
    display: flex;
    width: fit-content;
    animation: scroll 20s linear infinite;
}

.ticker-half {
    display: flex;
    gap: max(1.5rem, 1.5vmax);
    padding-right: max(1.5rem, 1.5vmax);
}

.ticker-item {
    display: flex;
    gap: max(1rem, 1vmax);
    align-items: center;
    white-space: nowrap;
}

.ticker-arrow {
    color: #3BC9DE;
    font-size: max(1.5rem, 2vmax);
    font-weight: bold;
    transition: transform 0.5s ease-in-out;
}

.ticker-item p {
    font-size: max(1.5rem, 2.5vmax);
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

/* Mobile responsive styles for ticker */
@media (max-width: 768px) {
    .ticker-container {
        padding: max(0.8rem, 1.2vmax) 0;
    }
    
    .ticker-half {
        gap: max(1rem, 2vmax);
        padding-right: max(1rem, 2vmax);
    }
    
    .ticker-item {
        gap: max(0.5rem, 1vmax);
    }
    
    .ticker-arrow {
        font-size: max(1.2rem, 2.5vmax);
    }
    
    .ticker-item p {
        font-size: max(1.2rem, 3vmax);
    }
}

/* Footer Styles */
.footer-section {
    background-color: #3BC9DE;
    color: white;
    padding: 6vw 6vw 2vw;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: max(2rem, 3vmax);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: normal;
    width: 100%;
}

.footer-contact-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.footer-email {
    font-size: max(2.2rem, 3.5vmax);
    color: #000;
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: white;
}

@keyframes footerGlowPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
    }
}

.footer-contact-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: none;
    color: #3BC9DE;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: inline-block;
    min-width: max-content;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    animation: footerGlowPulse 2s ease-in-out infinite;
}

.footer-contact-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    animation: none;
}

.footer-contact-btn::after {
    content: " →";
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: max(1rem, 1.5vmax);
}

.footer-contact-btn:hover::after {
    opacity: 1;
    right: max(0.7rem, 1.2vmax);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-logo {
    grid-column: 1 / 3;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-symbol-footer {
    display: flex;
    align-items: center;
}

.terminal-box-footer {
    width: 40px;
    height: 40px;
    border: 3px solid white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.logo-text-footer {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.footer-email-section {
    grid-column: 6 / 10;
}

.footer-social {
    grid-column: 10 / 11;
    justify-self: end;
}

.footer-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: max(1rem, 1.2vmax);
    margin-bottom: 1rem;
}

.footer-email-link {
    color: white;
    text-decoration: none;
    font-size: max(1.2rem, 1.5vmax);
    position: relative;
    transition: color 0.3s ease;
}

.footer-email-link:hover {
    color: #000;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social-link {
    color: white;
    text-decoration: none;
    font-size: max(1.2rem, 1.5vmax);
    display: flex;
    align-items: center;
    gap: max(0.5rem, 0.7vmax);
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #000;
}

.social-arrow {
    font-size: max(1rem, 1.2vmax);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-copyright {
    font-size: max(0.8rem, 1vmax);
    color: rgba(255, 255, 255, 0.7);
}

.footer-privacy {
    color: white;
    text-decoration: none;
    font-size: max(0.8rem, 1vmax);
    position: relative;
    transition: color 0.3s ease;
}

.footer-privacy:hover {
    color: #000;
}

/* Mobile responsive styles for footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 8vw 6vw 3vw;
    }
    
    .footer-heading {
        font-size: max(1.5rem, 4vmax);
        width: 100%;
    }
    
    .footer-contact-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-email {
        font-size: max(1.8rem, 5vmax);
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo,
    .footer-email-section,
    .footer-social {
        grid-column: 1 / -1;
        justify-self: start;
    }
    
    .footer-social {
        justify-self: start;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .terminal-box-footer {
        width: 35px;
        height: 35px;
        font-size: 12px;
        gap: 1px;
    }
}

@media (min-width: 769px) {
    .footer-contact-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-heading {
        width: 50%;
    }
}


/* Contact Form Overlay Styles */
.contact-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
    overflow-y: scroll;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.contact-menu-wrapper.active {
    opacity: 1;
    pointer-events: all;
}

.contact-menu-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-menu-overlay.active {
    opacity: 1;
}

.contact-menu {
    position: absolute;
    height: 100%;
    min-height: 100%;
    width: 100%;
    right: 0;
    z-index: 10;
}

/* Contact Form Responsive width */
@media (min-width: 640px) {
    .contact-menu { width: 70vw; }
}
@media (min-width: 768px) {
    .contact-menu { width: 55vw; }
}
@media (min-width: 1024px) {
    .contact-menu { width: 45vw; }
}
@media (min-width: 1280px) {
    .contact-menu { width: 35vw; }
}

.menu-block {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-block.active {
    transform: translateX(0);
}

.menu-block:nth-child(1) {
    background: #3BC9DE;
    transition-delay: 0s;
}

.menu-block:nth-child(2) {
    background: #333;
    transition-delay: 0.03s;
}

.menu-block:nth-child(3) {
    background: #f5f5f5;
    transition-delay: 0.06s;
}

.contact-form-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.09s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.contact-form-content.active {
    transform: translateX(0);
}

.contact-form-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: calc(100vh - 3rem);
    box-sizing: border-box;
}

/* Contact Form Header */
.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-header h3 {
    font-size: var(--text-4xl);
    color: #999;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-header h3::before {
    content: "●";
    color: #999;
    font-size: 0.8rem;
}

.close-button {
    background: none;
    border: 2px solid #999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #999;
    font-size: var(--text-xl);
    font-weight: 400;
}

.close-button:hover {
    background: #3BC9DE;
    color: #fff;
    border-color: #3BC9DE;
    transform: scale(1.05);
}

/* Contact Form Title */
.form-title {
    font-size: var(--text-2xl);
    font-weight: 400;
    color: rgb(0 0 0);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Contact Form Separator */
.form-separator {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin-bottom: 1.5rem;
}

/* Contact Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.form-row .form-field {
    flex: 1;
}

.form-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-field label {
    font-size: var(--text-lg);
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.form-field input,
.form-field textarea {
    padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.8vw, 18px);
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: var(--text-sm);
    font-family: var(--font-stack);
    font-weight: 400;
    transition: border-color 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
}

/* Ensure consistent sizing across all form fields */
.form-field {
    width: 100%;
}

.form-field label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #3BC9DE;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
    font-weight: 400;
}

.form-field input {
    height: 45px;
    min-height: 45px;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
    height: 100px;
    vertical-align: top;
    border-radius: 20px;
}

/* Contact Form Submit Button - Match Let's talk button */
.submit-button {
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #3BC9DE 0%, #42E0F5 100%);
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 16px 40px;
    position: relative;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(59, 201, 222, 0.3);
    animation: glowPulse 2s ease-in-out infinite;
    border: none;
    margin-top: 1rem;
    width: fit-content;
}

.submit-button:hover {
    background: linear-gradient(135deg, #42E0F5 0%, #3BC9DE 100%);
    box-shadow: 0 6px 20px rgba(59, 201, 222, 0.4);
    transform: translateY(-2px) scale(1.05);
    animation: none;
}

/* Add arrow animation on hover */
.submit-button::after {
    content: " →";
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 30px;
}

.submit-button:hover::after {
    opacity: 1;
    right: 20px;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Form Success Message */
.success-message {
    display: none;
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.success-message.show {
    display: block;
}

/* Contact Form Error States */
.form-field.error input,
.form-field.error textarea {
    border-color: #3BC9DE;
}

.form-field.error label {
    color: #3BC9DE;
}

/* Contact Form Responsive - Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .form-row .form-field input,
    .form-row .form-field textarea {
        font-size: var(--text-sm);
        padding: clamp(11px, 1.3vw, 15px) clamp(15px, 1.9vw, 19px);
    }
    
    .form-row .form-field label {
        font-size: var(--text-sm);
    }
}

/* Contact Form Responsive - Mobile */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Ensure all form fields have consistent width and text behavior */
    .form-row .form-field {
        width: 100%;
        flex: none;
    }
    
    .form-row .form-field input,
    .form-row .form-field textarea {
        width: 100%;
        font-size: var(--text-sm);
        padding: clamp(12px, 1.5vw, 16px) clamp(16px, 2vw, 20px);
    }
    
    .form-row .form-field label {
        font-size: var(--text-xl);
        font-weight: 400;
    }
    
    .form-title {
        font-size: var(--text-3xl);
    }
    
    .contact-header h3 {
        font-size: var(--text-lg);
    }
    
    .contact-form-content {
        padding: 1rem;
    }
    
    .contact-form-container {
        padding: 1rem;
        margin: 0 auto;
        max-width: calc(100% - 2rem);
    }
}

@media (max-width: 480px) {
    .form-row .form-field input,
    .form-row .form-field textarea {
        font-size: var(--text-base);
        padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.8vw, 18px);
    }
    
    .form-row .form-field label {
        font-size: var(--text-lg);
    }
    
    .form-title {
        font-size: var(--text-2xl);
    }
    
    .contact-header h3 {
        font-size: var(--text-base);
    }
    
    .contact-form-content {
        padding: 0.8rem;
    }
    
    .contact-form-container {
        padding: 0.8rem;
        margin: 0 auto;
        max-width: calc(100% - 1.6rem);
    }
}

/* Contact Form Scrollbar styling */
.contact-menu-wrapper::-webkit-scrollbar,
.contact-form-content::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.contact-menu-wrapper::-webkit-scrollbar-track,
.contact-form-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.contact-menu-wrapper::-webkit-scrollbar-thumb,
.contact-form-content::-webkit-scrollbar-thumb {
    background: #3BC9DE;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.contact-menu-wrapper::-webkit-scrollbar-thumb:hover,
.contact-form-content::-webkit-scrollbar-thumb:hover {
    background: #2aa3b8;
}

/* Contact Form Loading state */
.submit-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
    transform: none;
}

.submit-button.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
    opacity: 1;
    right: auto;
}

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

/* GSAP Logo Slider Styles */
.gsap-logo-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: transparent;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gsap-logo-slider.initialized {
    opacity: 1;
}

.logo-track {
    display: flex;
    height: 100%;
    align-items: center;
    will-change: transform;
    /* Width will be set dynamically by GSAP based on logo count */
}

.logo-item {
    flex: 0 0 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 0 10px;
}

.logo-item img {
    max-width: 180px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .gsap-logo-slider {
        height: 80px;
    }
    
    .logo-item {
        flex: 0 0 160px;
        height: 80px;
        padding: 5px;
        margin: 0 5px;
    }
    
    .logo-item img {
        max-width: 140px;
        max-height: 60px;
    }
}

/* Add glow effect to service, approach, agile, and about dots */
.service-dot-1, .service-dot-2, .service-dot-3, .service-dot-4, .service-dot-5, 
.service-dot-6, .service-dot-7, .service-dot-8, .service-dot-9, .service-dot-10,
.approach-dot-1, .approach-dot-2, .approach-dot-3, .approach-dot-4,
.agile-dot-1, .agile-dot-2, .agile-dot-3, .agile-dot-4, .agile-dot-5, .agile-dot-6, .agile-dot-7, .agile-dot-8,
.process-dot-1, .process-dot-2, .process-dot-3, .process-dot-4, .process-dot-5, .process-dot-6 {
    position: relative !important;
    /* Remove blur filter to keep dots sharp */
    filter: none !important;
    -webkit-filter: none !important;
}

/* Apply glow to service dots with their colors */
.service-dot-1 { box-shadow: 0 0 10px #ff6b35, 0 0 20px rgba(255, 107, 53, 0.5) !important; }
.service-dot-2 { box-shadow: 0 0 10px #3BC9DE, 0 0 20px rgba(59, 201, 222, 0.5) !important; }
.service-dot-3 { box-shadow: 0 0 10px #7ed321, 0 0 20px rgba(126, 211, 33, 0.5) !important; }
.service-dot-4 { box-shadow: 0 0 10px #9c27b0, 0 0 20px rgba(156, 39, 176, 0.5) !important; }
.service-dot-5 { box-shadow: 0 0 10px #e91e63, 0 0 20px rgba(233, 30, 99, 0.5) !important; }
.service-dot-6 { box-shadow: 0 0 10px #ff9800, 0 0 20px rgba(255, 152, 0, 0.5) !important; }
.service-dot-7 { box-shadow: 0 0 10px #607d8b, 0 0 20px rgba(96, 125, 139, 0.5) !important; }
.service-dot-8 { box-shadow: 0 0 10px #795548, 0 0 20px rgba(121, 85, 72, 0.5) !important; }
.service-dot-9 { box-shadow: 0 0 10px #f44336, 0 0 20px rgba(244, 67, 54, 0.5) !important; }
.service-dot-10 { box-shadow: 0 0 10px #673ab7, 0 0 20px rgba(103, 58, 183, 0.5) !important; }

/* Apply glow to approach dots with their colors */
.approach-dot-1 { box-shadow: 0 0 10px #ff6b35, 0 0 20px rgba(255, 107, 53, 0.5) !important; }
.approach-dot-2 { box-shadow: 0 0 10px #3BC9DE, 0 0 20px rgba(59, 201, 222, 0.5) !important; }
.approach-dot-3 { box-shadow: 0 0 10px #7ed321, 0 0 20px rgba(126, 211, 33, 0.5) !important; }
.approach-dot-4 { box-shadow: 0 0 10px #9c27b0, 0 0 20px rgba(156, 39, 176, 0.5) !important; }

/* Apply glow to agile dots with their colors */
.agile-dot-1 { box-shadow: 0 0 10px #ff6b35, 0 0 20px rgba(255, 107, 53, 0.5) !important; }
.agile-dot-2 { box-shadow: 0 0 10px #3BC9DE, 0 0 20px rgba(59, 201, 222, 0.5) !important; }
.agile-dot-3 { box-shadow: 0 0 10px #7ed321, 0 0 20px rgba(126, 211, 33, 0.5) !important; }
.agile-dot-4 { box-shadow: 0 0 10px #9c27b0, 0 0 20px rgba(156, 39, 176, 0.5) !important; }
.agile-dot-5 { box-shadow: 0 0 10px #e91e63, 0 0 20px rgba(233, 30, 99, 0.5) !important; }
.agile-dot-6 { box-shadow: 0 0 10px #ff9800, 0 0 20px rgba(255, 152, 0, 0.5) !important; }
.agile-dot-7 { box-shadow: 0 0 10px #607d8b, 0 0 20px rgba(96, 125, 139, 0.5) !important; }
.agile-dot-8 { box-shadow: 0 0 10px #795548, 0 0 20px rgba(121, 85, 72, 0.5) !important; }

/* Apply glow to process dots in About section with their colors */
.process-dot-1 { box-shadow: 0 0 10px #ff6b35, 0 0 20px rgba(255, 107, 53, 0.5) !important; }
.process-dot-2 { box-shadow: 0 0 10px #3BC9DE, 0 0 20px rgba(59, 201, 222, 0.5) !important; }
.process-dot-3 { box-shadow: 0 0 10px #7ed321, 0 0 20px rgba(126, 211, 33, 0.5) !important; }
.process-dot-4 { box-shadow: 0 0 10px #9c27b0, 0 0 20px rgba(156, 39, 176, 0.5) !important; }
.process-dot-5 { box-shadow: 0 0 10px #e91e63, 0 0 20px rgba(233, 30, 99, 0.5) !important; }
.process-dot-6 { box-shadow: 0 0 10px #ff9800, 0 0 20px rgba(255, 152, 0, 0.5) !important; }

/* Add pseudo-element for outer glow */
.service-dot-1::after, .service-dot-2::after, .service-dot-3::after, .service-dot-4::after, .service-dot-5::after,
.service-dot-6::after, .service-dot-7::after, .service-dot-8::after, .service-dot-9::after, .service-dot-10::after,
.process-dot-1::after, .process-dot-2::after, .process-dot-3::after, .process-dot-4::after, .process-dot-5::after, .process-dot-6::after {
    content: '' !important;
    position: absolute !important;
    top: -4px !important;
    left: -4px !important;
    right: -4px !important;
    bottom: -4px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Add pseudo-element for outer glow */
.service-dot-1::before, .service-dot-2::before, .service-dot-3::before,
.process-dot-1::before, .process-dot-2::before, .process-dot-3::before,
.process-dot-4::before, .process-dot-5::before, .process-dot-6::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 249, 250, 0.3) 0%, transparent 70%);
    z-index: -1;
}

/* Approach section mobile layout - full screen width cards */
@media (max-width: 768px) {
    #approach div[style*="display: flex"][style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: stretch !important;
        padding: 0 20px !important;
    }
    
    #approach div[style*="flex: 1"][style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .approach-step-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border: 1px solid #e9ecef !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    }
}


