/* ==========================================================================
   Base Styles and Global Variables
   ========================================================================== */

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

/* ==========================================================================
   Scroll Animation Classes
   ========================================================================== */

/* Base animation classes for scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.from-left {
    transform: translateX(-50px);
}

.scroll-animate.from-right {
    transform: translateX(50px);
}

.scroll-animate.from-bottom {
    transform: translateY(50px);
}

.scroll-animate.scale-in {
    transform: scale(0.8);
}

.scroll-animate.rotate-in {
    transform: rotate(-5deg) scale(0.9);
}

/* Animation states when elements come into view */
.scroll-animate.animate-in {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
}

/* Staggered animation delays for grid items */
.scroll-animate.stagger-1 { transition-delay: 0.1s; }
.scroll-animate.stagger-2 { transition-delay: 0.2s; }
.scroll-animate.stagger-3 { transition-delay: 0.3s; }
.scroll-animate.stagger-4 { transition-delay: 0.4s; }
.scroll-animate.stagger-5 { transition-delay: 0.5s; }
.scroll-animate.stagger-6 { transition-delay: 0.6s; }
.scroll-animate.stagger-7 { transition-delay: 0.7s; }
.scroll-animate.stagger-8 { transition-delay: 0.8s; }

/* Enhanced flashy effects */
.scroll-animate.flashy {
    position: relative;
    overflow: hidden;
}

.scroll-animate.flashy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 119, 0, 0.3), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.scroll-animate.flashy.animate-in::before {
    left: 100%;
}

/* Glow effect for cards */
.scroll-animate.glow-effect {
    box-shadow: 0 0 0 rgba(255, 119, 0, 0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.scroll-animate.glow-effect.animate-in {
    box-shadow: 0 0 20px rgba(255, 119, 0, 0.2);
}

/* Pulse effect for icons */
.scroll-animate.pulse-icon {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.pulse-icon.animate-in {
    animation: iconPulse 0.6s ease-out 0.3s both;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Text reveal effect */
.scroll-animate.text-reveal {
    overflow: hidden;
}

.scroll-animate.text-reveal h2,
.scroll-animate.text-reveal h3,
.scroll-animate.text-reveal h4,
.scroll-animate.text-reveal p {
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.text-reveal.animate-in h2,
.scroll-animate.text-reveal.animate-in h3,
.scroll-animate.text-reveal.animate-in h4,
.scroll-animate.text-reveal.animate-in p {
    transform: translateY(0);
}

/* Slide and fade for form elements */
.scroll-animate.form-slide {
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.form-slide.animate-in {
    transform: translateX(0);
}

/* Enhanced card animations */
.scroll-animate.card-float {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.card-float.animate-in {
    animation: cardFloat 0.8s ease-out both;
}

@keyframes cardFloat {
    0% { 
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Performance optimizations for animations */
.scroll-animate {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        transition: none !important;
        animation: none !important;
    }
    
    .scroll-animate.animate-in {
        opacity: 1;
        transform: none !important;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .scroll-animate {
        transition-duration: 0.6s;
    }
    
    .scroll-animate.stagger-1 { transition-delay: 0.05s; }
    .scroll-animate.stagger-2 { transition-delay: 0.1s; }
    .scroll-animate.stagger-3 { transition-delay: 0.15s; }
    .scroll-animate.stagger-4 { transition-delay: 0.2s; }
    .scroll-animate.stagger-5 { transition-delay: 0.25s; }
    .scroll-animate.stagger-6 { transition-delay: 0.3s; }
    .scroll-animate.stagger-7 { transition-delay: 0.35s; }
    .scroll-animate.stagger-8 { transition-delay: 0.4s; }
}

/* Enhanced hover effects for animated cards */
.scroll-animate.card-float.animate-in:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 119, 0, 0.3);
}

/* Smooth transitions for all interactive elements */
.ethos-card,
.industry-card,
.team-member,
.contact-method {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced focus states for accessibility */
.scroll-animate:focus-within {
    outline: 2px solid rgba(255, 119, 0, 0.5);
    outline-offset: 2px;
}

body {
    font-family: 'Tilt Neon', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Subtle texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0),
        radial-gradient(circle at 20% 50%, rgba(255, 119, 0, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 0, 0.008) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.005) 0%, transparent 50%);
    background-size: 20px 20px, 100% 100%, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 1;
}

/* Enhanced text legibility overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Background Effects and Animations
   ========================================================================== */

/* Enhanced gradient background with more dynamic colors */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0f0f0f, #1f1f1f, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: 0;
    opacity: 0.7;
}

/* Add a subtle mesh gradient overlay */
.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 119, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: meshMove 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-10px, -10px); }
    66% { transform: translate(10px, 10px); }
}

/* Interactive 3D Logo Background */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    animation: backgroundLogoFade 5s ease-out forwards;
}

@keyframes backgroundLogoFade {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.2;
    }
}

.background-logo canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
}

/* Add energy field effect */
.energy-field {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 119, 0, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.energy-field.active {
    opacity: 1;
    animation: energyPulse 1s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        border-color: rgba(255, 119, 0, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        border-color: rgba(255, 119, 0, 0.8);
    }
}

/* Enhanced scan line with color variation */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 119, 0, 0.4), rgba(255, 255, 255, 0.3), rgba(255, 119, 0, 0.4), transparent);
    animation: scan 3s linear infinite;
    z-index: 4;
    opacity: 0.2;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(255, 119, 0, 0.3);
}

@keyframes scan {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* Enhanced floating elements with more variety */
.float-element {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.6;
}

.float-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #ff7700, #ff6b35);
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #ffffff, #ff7700);
    animation-delay: 2s;
}

.float-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #ff7700, #ffffff);
    animation-delay: 4s;
}

.float-element:nth-child(4) {
    top: 40%;
    right: 30%;
    width: 5px;
    height: 5px;
    background: linear-gradient(45deg, #ffffff, #ff7700);
    animation-delay: 6s;
}

.float-element:nth-child(5) {
    bottom: 60%;
    left: 60%;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #ff7700, #ffffff);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) scale(1.2) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-25px) scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-15px) scale(1.2) rotate(270deg);
        opacity: 1;
    }
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

/* Enhanced navigation with glassmorphism */
nav {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
}

nav:hover {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 119, 0, 0.3);
}

/* Enhanced logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 119, 0, 0.3));
}

.logo:hover svg {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 119, 0, 0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff7700, #ffffff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-links a:hover {
    background: rgba(255, 119, 0, 0.1);
    border-color: rgba(255, 119, 0, 0.3);
    transform: translateY(-2px);
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff7700, #ffffff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-links a:hover::after {
    width: 80%;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

/* Enhanced hero section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    text-align: center;
    position: relative;
    min-height: 100vh;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
}

/* Hero content animations */
.hero h1 {
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
}

.hero-description {
    opacity: 0;
    transform: translateY(30px);
}

.cta-container {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation classes that will be added via JavaScript */
.hero-animations-active .hero h1 {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-animations-active .hero-subtitle {
    animation: heroFadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-animations-active .hero-description {
    animation: heroFadeInUp 0.8s ease-out 1.0s forwards;
}

.hero-animations-active .cta-container {
    animation: heroFadeInUp 0.8s ease-out 1.4s forwards;
}

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

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

/* Enhanced typography */
.hero h1 {
    font-family: 'Aldrich', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ff7700 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 119, 0, 0.3);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #e8e8e8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced CTA buttons */
.cta-primary {
    background: linear-gradient(135deg, #ff7700 0%, #dc2626 100%);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 119, 0, 0.3);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 119, 0, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 1.2rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    border-color: #ff7700;
    background: rgba(255, 119, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 119, 0, 0.2);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

/* Common section styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Aldrich', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #ff7700 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #c8c8c8;
    max-width: 600px;
    margin: 0 auto;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   AI Ethos Section
   ========================================================================== */

.ai-ethos-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    overflow: hidden;
}

.ethos-content {
    margin-top: 3rem;
}

.ethos-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.ethos-intro h3 {
    font-family: 'Aldrich', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.ethos-intro p {
    font-size: 1.1rem;
    color: #c8c8c8;
    max-width: 700px;
    margin: 0 auto;
}

.ethos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ethos-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.ethos-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 119, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 119, 0, 0.1);
}

.ethos-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ethos-icon img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.ethos-card:hover .ethos-icon img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
    opacity: 1;
    transform: scale(1.1);
}

.ethos-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.ethos-card p {
    color: #c8c8c8;
    line-height: 1.6;
}

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

/* ==========================================================================
   Who We Help Section
   ========================================================================== */

.who-we-help-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.who-we-help-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 119, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 119, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 119, 0, 0.1);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
    opacity: 1;
    transform: scale(1.1);
}

.industry-card h3 {
    font-family: 'Aldrich', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.industry-card p {
    color: #c8c8c8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.industry-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.industry-features li {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.industry-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff7700;
}

.industry-cta {
    display: inline-block;
    background: rgba(255, 119, 0, 0.1);
    color: #ff7700;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 119, 0, 0.2);
}

.industry-cta:hover {
    background: rgba(255, 119, 0, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.about-content {
    margin-top: 3rem;
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.1rem;
    color: #c8c8c8;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7700, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: photoShine 3s ease-in-out infinite;
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.1), rgba(220, 38, 38, 0.05));
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

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

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    filter: grayscale(1);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 119, 0, 0.3);
}

.member-photo:hover img {
    filter: grayscale(1);
    transform: scale(1.05);
    border-color: rgba(255, 119, 0, 0.6);
}

.member-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-info h3 {
    font-family: 'Aldrich', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 1rem;
    color: #ff7700;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-experience {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-weight: 500;
}

.member-description {
    color: #c8c8c8;
    line-height: 1.6;
    font-size: 1rem;
}

.member-highlights {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-tag {
    display: inline-block;
    background: rgba(255, 119, 0, 0.1);
    color: #ff7700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.2rem;
    border: 1px solid rgba(255, 119, 0, 0.2);
}

.about-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    overflow: hidden;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-intro h3 {
    font-family: 'Aldrich', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #c8c8c8;
}

.contact-form-container {
    display: flex;
    gap: 2rem;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: rgba(255, 119, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 119, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: 'Aldrich', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff7700;
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(255, 119, 0, 0.2);
}

/* Custom select styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ff7700' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:hover {
    border-color: rgba(255, 119, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.8rem;
    border: none;
}

.form-group select option:hover {
    background-color: rgba(255, 119, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b8b8b8;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e5e5e5;
    font-weight: 500;
}

.submit-btn {
    background: linear-gradient(135deg, #ff7700 0%, #dc2626 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 119, 0, 0.3);
}

.contact-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info:hover {
    border-color: rgba(255, 119, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 119, 0, 0.1);
}

.contact-method {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 119, 0, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-method h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-method p {
    font-size: 1rem;
    color: #c8c8c8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

footer p {
    color: #c8c8c8;
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    nav {
        padding: 1rem 2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        justify-content: flex-start;
    }

    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
    }

    .who-we-help-section,
    .ai-ethos-section,
    .about-section,
    .contact-section {
        padding: 3rem 1rem;
    }

    .industries-grid,
    .ethos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .member-photo {
        margin: 0 auto;
    }

    .contact-form-container {
        flex-direction: column;
        gap: 2rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    /* Fix card centering and layout */
    .industry-card,
    .ethos-card {
        padding: 1.5rem;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    .industry-icon,
    .ethos-icon {
        margin-bottom: 1rem;
    }

    .industry-icon img,
    .ethos-icon img {
        width: 60px;
        height: 60px;
    }

    /* About section mobile optimization */
    .team-member {
        padding: 2rem 1.5rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
    }

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

    .member-highlights {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .highlight-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    /* Contact form mobile optimization */
    .contact-form {
        order: 1;
    }

    .contact-info {
        order: 2;
        text-align: center;
    }

    .contact-method {
        margin-bottom: 2rem;
    }

    /* Typography adjustments for mobile */
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .section-header p {
        font-size: 1rem;
    }

    .about-intro h3,
    .ethos-intro h3 {
        font-size: 1.5rem;
    }

    .about-intro p,
    .ethos-intro p {
        font-size: 1rem;
    }

    .contact-intro h3 {
        font-size: 1.5rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    /* Fix any horizontal scrolling */
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    /* Ensure proper centering */
    .industries-grid,
    .ethos-grid,
    .team-grid {
        justify-items: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    nav {
        padding: 0.75rem 1rem;
    }
    
    .hamburger-menu {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-menu span {
        height: 2px;
    }
    
    .mobile-nav-links a {
        font-size: 1.3rem;
        padding: 0.75rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .who-we-help-section,
    .ai-ethos-section,
    .about-section,
    .contact-section {
        padding: 2rem 0.75rem;
    }

    .industry-card,
    .ethos-card {
        padding: 1.25rem;
    }

    .team-member {
        padding: 1.5rem 1rem;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .cta-primary,
    .cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .section-container {
        padding: 0 0.75rem;
    }
}

/* Ensure proper viewport behavior */
@media (max-width: 768px) {
    .container {
        overflow-x: hidden;
    }

    /* Fix any horizontal scrolling issues */
    body {
        overflow-x: hidden;
    }

    /* Ensure cards are properly centered */
    .section-container {
        padding: 0 1rem;
    }

    /* Fix any right-shifted content */
    .industries-grid,
    .ethos-grid,
    .team-grid {
        justify-items: center;
    }

    .industry-card,
    .ethos-card,
    .team-member {
        width: 100%;
        max-width: 100%;
    }
}

body.loading {
    overflow: hidden;
}

body.hero-animations-active nav {
    opacity: 1;
    transform: translateY(0);
} 