/* ============================================
   Sun47 Microsystems - Main Stylesheet
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Color Palette - Professional Blue Theme */
    /* Primary: Deep Navy / Royal Blue - Professional, stable, tech-focused */
    --color-primary: #002366;
    --color-primary-dark: #001A4D;
    --color-primary-light: #0A192F;
    --color-royal-blue: #0A192F;
    
    /* Secondary: Electric Blue - Energy, buttons, links, accents */
    --color-secondary: #0084FF;
    --color-secondary-dark: #0066CC;
    --color-secondary-light: #4DA6FF;
    --color-electric-blue: #0084FF;

    /* Warm accents for visual balance */
    --color-accent-orange: #FF6B35;
    --color-accent-gold: #FFA726;
    --color-accent-warm: #FF8C42;

    /* Background: Slate Gray or Pure White - Clean layout */
    --color-background: #F8F9FA;
    --color-background-white: #FFFFFF;
    --color-background-light: #F8F9FA;
    
    /* Text: Charcoal / Off-Black - High readability */
    --color-text-dark: #333333;
    --color-text-charcoal: #333333;
    --color-text-light: #FFFFFF;
    --color-text-muted: #6B7280;
    --color-text-on-light: #333333;
    
    /* Legacy compatibility - mapped to new colors */
    --color-deep-blue: #002366;
    --color-graphite: #333333;
    --color-graphite-light: #4A4A4A;
    --color-midnight-blue: #002366;
    --color-midnight-blue-light: #0A192F;
    --color-dark-gray: #333333;
    --color-light-gray: #F8F9FA;
    
    /* Accent colors (using electric blue) */
    --color-amber: #007BFF;
    --color-gold: #007BFF;
    --color-gold-pale: #3399FF;
    --color-amber-light: #66B3FF;
    
    /* Typography */
    --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;

    /* Advanced Easing Functions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Animation Durations */
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 600ms;
    --duration-slower: 800ms;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(20px);

    /* Gradient System */
    --gradient-primary: linear-gradient(135deg, #002366 0%, #0A192F 100%);
    --gradient-secondary: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
    --gradient-accent: linear-gradient(135deg, #007BFF 0%, #002366 50%, #0A192F 100%);

    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(0, 123, 255, 0.3),
                    0 0 40px rgba(0, 123, 255, 0.15),
                    0 0 60px rgba(0, 123, 255, 0.05);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
    border-radius: 4px;
    transition: outline var(--duration-fast) var(--ease-out-quart);
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

html {
    scroll-behavior: auto; /* Changed from smooth to auto for instant scroll */
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


body {
    font-family: var(--font-primary);
    color: var(--color-text-on-light);
    background: #FAFBFC;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle Background Layer - Very Light */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 132, 255, 0.025) 0%,
        rgba(255, 167, 38, 0.015) 25%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 153, 255, 0.02) 75%,
        rgba(255, 140, 66, 0.015) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    will-change: auto;
}

/* Minimal Particles - Performance Optimized */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 132, 255, 0.04) 0%, transparent 1.5%),
        radial-gradient(circle at 80% 70%, rgba(255, 167, 38, 0.03) 0%, transparent 1.5%),
        radial-gradient(circle at 40% 80%, rgba(0, 153, 255, 0.035) 0%, transparent 1.5%),
        radial-gradient(circle at 70% 20%, rgba(255, 140, 66, 0.025) 0%, transparent 1.5%);
    background-size: 200% 200%;
    animation: particleFloat 35s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    will-change: auto;
}

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

@keyframes particleFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 80%, 80% 20%, 10% 60%, 90% 40%, 50% 50%;
    }
    25% {
        background-position: 30% 20%, 70% 80%, 20% 50%, 100% 40%, 30% 70%, 60% 30%, 80% 60%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 80% 20%, 40% 80%, 60% 30%, 30% 70%, 20% 80%;
    }
    75% {
        background-position: 70% 80%, 30% 20%, 50% 90%, 20% 60%, 80% 40%, 10% 90%, 60% 30%;
    }
}

/* Hide Scrollbar - Keep Scroll Functionality */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Firefox Scrollbar - Hide */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* IE 10+ */
body {
    -ms-overflow-style: none;
}


/* Subtle grid pattern - Modular structure */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 212, 212, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 212, 212, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* ===== Loading Screen - Elegant ===== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.loader-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 35, 102, 0.04) 0%, transparent 50%);
    animation: loaderBgRotate 10s linear infinite;
}

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

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    position: relative;
    z-index: 1;
}

.data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stream-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--color-secondary), transparent);
    animation: streamFlow 2s linear infinite;
    opacity: 0.4;
}

.stream-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.stream-line:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.stream-line:nth-child(3) {
    left: 60%;
    animation-delay: 1s;
}

.stream-line:nth-child(4) {
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes streamFlow {
    0% {
        top: -100px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: logoFadeIn 1s ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
    border-radius: 16px;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-ring {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--color-secondary);
    border-right-color: var(--color-secondary);
    border-radius: 50%;
    animation: logoRotate 2s linear infinite;
    position: absolute;
}

.logo-ring::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border: 2px solid transparent;
    border-bottom-color: var(--color-primary);
    border-left-color: var(--color-primary);
    border-radius: 50%;
    animation: logoRotateReverse 1.5s linear infinite;
}

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

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

.logo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 123, 255, 0.2);
    animation: corePulse 1.5s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 123, 255, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.5), 0 0 40px rgba(0, 123, 255, 0.3);
    }
}

.loader-text {
    color: var(--color-text-on-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
}

@keyframes textGlitch {
    0%, 90%, 100% {
        opacity: 1;
        transform: translateX(0);
    }
    92% {
        opacity: 0.8;
        transform: translateX(-2px);
    }
    94% {
        opacity: 1;
        transform: translateX(2px);
    }
    96% {
        opacity: 0.8;
        transform: translateX(-1px);
    }
    98% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-charcoal);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1rem, 1.5vw, 1.05rem);
    color: var(--color-text-dark);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

/* ===== Container & Layout ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    overflow-x: hidden;
}

section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: 80px; /* Offset for sticky header */
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    width: 100%;
}

/* ===== Header & Navigation ===== */
header {
    background: rgba(250, 251, 252, 0.96);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    color: var(--color-text-on-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    font-family: 'Inter', 'Poppins', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 12px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-charcoal);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 8px rgba(0, 123, 255, 0.3));
}

.logo:hover .logo-text {
    color: var(--color-primary);
}


.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-text-on-light);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
    background-color: rgba(0, 123, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-on-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.mobile-menu-toggle:active {
    background-color: rgba(0, 123, 255, 0.2);
}

/* ===== Hero Section ===== */
.hero {
    background: transparent;
    color: var(--color-text-on-light);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 35, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(0, 123, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 123, 255, 0.05) 50%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(40px) translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    color: var(--color-text-on-light);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero .tagline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    color: var(--color-text-charcoal);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-royal-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .hero .tagline {
        -webkit-text-fill-color: var(--color-text-on-light);
        background: none;
    }
}

.hero .tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    opacity: 0.6;
}

.hero .sub-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-on-light);
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

/* ===== Core Focus Grid ===== */
.core-focus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


.focus-item {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(250, 251, 252, 0.88) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 1);
    transition: all 0.3s var(--ease-out-quart);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUpStagger 0.8s var(--ease-out-expo) both;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 0 1px rgba(0, 132, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

.focus-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.15), transparent);
    transition: left 0.6s;
}

.focus-item:hover::after {
    left: 100%;
}

.focus-item:nth-child(1) {
    animation-delay: 0.3s;
}

.focus-item:nth-child(2) {
    animation-delay: 0.4s;
}

.focus-item:nth-child(3) {
    animation-delay: 0.5s;
}

.focus-item:nth-child(4) {
    animation-delay: 0.6s;
}

.focus-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.2), transparent);
    transition: left 0.5s;
}

.focus-item:hover::before {
    left: 100%;
}

.focus-item:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 248, 255, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(0, 132, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 1);
    box-shadow:
        0 12px 40px rgba(0, 132, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 132, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-6px) scale(1.02);
}

.focus-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-secondary);
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.focus-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 123, 255, 0.3));
}

.focus-item:hover .focus-icon {
    transform: scale(1.2) rotate(5deg) translateY(-5px);
    filter: drop-shadow(0 6px 16px rgba(0, 123, 255, 0.6));
    animation: iconBounce 0.6s var(--ease-bounce);
}

/* SVG path animations */
.focus-icon svg *,
.solution-icon svg * {
    transition: all var(--duration-slow) var(--ease-out-quint);
    transform-origin: center;
}

.focus-item:hover .focus-icon svg path,
.solution-card:hover .solution-icon svg path {
    stroke-width: 3;
    fill-opacity: 0.9;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.2) rotate(5deg) translateY(-5px);
    }
    50% {
        transform: scale(1.25) rotate(5deg) translateY(-8px);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.focus-item h3 {
    color: var(--color-text-on-light);
    font-size: 1.15rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    font-weight: 600;
}

.focus-item:hover h3 {
    color: var(--color-primary);
    transform: scale(1.02);
}

/* ===== Message Block ===== */
.message-block {
    background: transparent;
    padding: var(--spacing-md) 0;
    margin: var(--spacing-lg) 0;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.message-block p {
    color: var(--color-text-on-light) !important;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* ===== CTA Buttons ===== */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--duration-normal) var(--ease-out-expo);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    touch-action: manipulation;
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-text-light);
    animation: fadeInUp 1s ease-out 0.6s both;
    border: 2px solid var(--color-secondary);
    transition: all var(--duration-normal) var(--ease-out-back);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 8px 24px rgba(0, 123, 255, 0.4),
        0 0 40px rgba(0, 123, 255, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    transition-duration: var(--duration-fast);
}

.btn-secondary {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(0, 123, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--color-text-on-light);
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-top: 2px solid rgba(0, 123, 255, 0.5);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.7s both;
    box-shadow:
        0 4px 16px rgba(0, 123, 255, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(0, 123, 255, 0.12) 100%);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    color: var(--color-text-on-light);
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 8px 32px rgba(0, 123, 255, 0.25),
        0 0 0 1px rgba(0, 123, 255, 0.3),
        inset 0 2px 2px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(0, 123, 255, 0.5);
    border-top: 2px solid rgba(0, 212, 255, 0.6);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Button ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 600ms var(--ease-out-expo);
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== Content Sections ===== */
.content-section {
    background: transparent;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    color: var(--color-text-on-light);
}

.content-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-on-light);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 2px;
}

.content-section p {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-on-light);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== Solutions Grid ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.solution-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(250, 251, 252, 0.88) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 1);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 0 1px rgba(0, 132, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

.solution-card:nth-child(1) {
    animation-delay: 0s;
}

.solution-card:nth-child(2) {
    animation-delay: 0.1s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(4) {
    animation-delay: 0.3s;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(0, 123, 255, 0.4) 50%,
        transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out-quint);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(240, 248, 255, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(0, 132, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 1);
    box-shadow:
        0 16px 48px rgba(0, 132, 255, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 132, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.02) translateZ(0);
}

.solution-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-secondary);
    transition: all 0.4s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.solution-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 123, 255, 0.2));
}

.solution-card:hover .solution-icon {
    transform: scale(1.2) rotate(5deg) translateY(-5px);
    filter: drop-shadow(0 6px 16px rgba(0, 123, 255, 0.6));
    animation: iconBounce 0.6s var(--ease-bounce);
}

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

.solution-card h3 {
    color: var(--color-text-on-light);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.solution-card:hover h3 {
    color: var(--color-primary);
}

.solution-card p {
    text-align: left;
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== Collaborations Section ===== */
.collaboration-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.collaboration-content p {
    text-align: left;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out both;
}

.collaboration-content p:nth-child(1) {
    animation-delay: 0.1s;
}

.collaboration-content p:nth-child(2) {
    animation-delay: 0.2s;
}

.collaboration-content p:nth-child(3) {
    animation-delay: 0.3s;
}

.collaboration-highlight {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(0, 123, 255, 0.04) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: var(--spacing-md);
    border-radius: 16px;
    border-left: 4px solid var(--color-secondary);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    margin: var(--spacing-md) 0;
    box-shadow:
        0 8px 32px rgba(0, 123, 255, 0.12),
        0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.collaboration-highlight:hover {
    transform: translateX(3px);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(0, 123, 255, 0.08) 100%);
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border-left-color: var(--color-primary);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 12px 48px rgba(0, 123, 255, 0.2),
        0 2px 8px rgba(0, 123, 255, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.collaboration-highlight a {
    color: var(--color-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.collaboration-highlight a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.collaboration-highlight h4 {
    color: var(--color-text-on-light) !important;
    font-weight: 600;
}

.collaboration-highlight p {
    color: var(--color-text-on-light) !important;
    opacity: 0.85;
}

.client-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    text-align: center;
}

.collaboration-highlight:hover .client-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-md) var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-style: italic;
    color: var(--color-text-on-light);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(0, 123, 255, 0.06) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(212, 212, 212, 0.3);
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 10px;
    top: -10px;
    font-size: 4rem;
    color: var(--color-secondary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* ===== Contact Section ===== */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-on-light);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 2px;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-on-light);
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.office-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.office-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(0, 123, 255, 0.04) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 123, 255, 0.1),
        0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    animation: fadeInUp 0.8s ease-out both;
}

.office-card:nth-child(1) {
    animation-delay: 0.2s;
}

.office-card:nth-child(2) {
    animation-delay: 0.3s;
}

.office-card:nth-child(3) {
    animation-delay: 0.4s;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.office-card:hover::before {
    transform: scaleX(1);
}

.office-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.95);
}

.office-card h3 {
    color: var(--color-text-on-light);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.office-card:hover h3 {
    color: var(--color-midnight-blue);
}

.office-card p {
    text-align: left;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
}

.office-card em {
    color: var(--color-text-on-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.contact-info {
    text-align: center;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(0, 123, 255, 0.06) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 123, 255, 0.12),
        0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--color-text-on-light);
    font-size: 1.1rem;
    margin: 0 var(--spacing-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 123, 255, 0.4);
}

.contact-info a:hover {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
    border-bottom-width: 2px;
}

/* ===== WhatsApp Contact ===== */
.whatsapp-contact-wrapper {
    width: 100%;
    margin: var(--spacing-xl) 0;
}

.whatsapp-box {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(37, 211, 102, 0.04) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 32px rgba(37, 211, 102, 0.15),
        0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    text-align: center;
    transition: all 0.4s ease;
    width: 100%;
}

.whatsapp-box:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(37, 211, 102, 0.08) 100%);
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 12px 48px rgba(37, 211, 102, 0.25),
        0 2px 8px rgba(37, 211, 102, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    color: #25D366;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.6));
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.9));
    }
}

.whatsapp-box h3 {
    color: var(--color-text-on-light);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.whatsapp-box p {
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFFFFF;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.6),
        0 0 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2EE576, #1BA085);
}

.btn-whatsapp svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(212, 212, 212, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--color-secondary);
}

.gallery-placeholder {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background: rgba(212, 212, 212, 0.2);
    overflow: hidden;
    border: 1px solid rgba(212, 212, 212, 0.3);
}

.gallery-placeholder svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--spacing-md);
    color: #FFFFFF;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #FFFFFF;
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Footer ===== */
footer {
    background: transparent;
    color: var(--color-text-on-light);
    padding: var(--spacing-md) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer p {
    color: var(--color-text-on-light);
    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== Abstract Tech Visuals ===== */
.tech-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.tech-pattern::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(45deg, var(--color-secondary) 1px, transparent 1px),
        linear-gradient(-45deg, var(--color-secondary) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 25s linear infinite;
}

.tech-pattern::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: 
        radial-gradient(circle, var(--color-secondary) 2px, transparent 2px);
    background-size: 60px 60px;
    animation: patternMoveReverse 30s linear infinite;
    opacity: 0.5;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes patternMoveReverse {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-50px, -50px) rotate(360deg);
    }
}

/* Floating particles */
.hero .floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10vh) translateX(20px) scale(1);
        opacity: 1;
    }
}

/* Gradient overlay for sections */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 35, 102, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.gradient-overlay > .container {
    position: relative;
    z-index: 1;
}

/* ===== Solution Detail Pages ===== */
.solution-detail-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.solution-detail-header h1 {
    color: var(--color-text-on-light);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.solution-icon-large {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-secondary);
    animation: float 3s ease-in-out infinite;
}

.solution-icon-large svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 123, 255, 0.3));
}

.solution-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.content-block h2 {
    color: var(--color-text-on-light);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: var(--spacing-xs);
}

.content-block p {
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.achievement-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.95);
}

.achievement-card h3 {
    color: var(--color-text-on-light);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.achievement-card p {
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.application-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.application-list li {
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 2;
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    border-bottom: 1px solid rgba(212, 212, 212, 0.3);
}

.application-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.application-list li strong {
    color: var(--color-text-on-light);
    font-weight: 600;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.15), transparent);
    transition: left 0.6s;
}

.ai-feature-card:hover::before {
    left: 100%;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.2);
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.95);
}

.ai-feature-card h3 {
    color: var(--color-text-on-light);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.ai-feature-card p {
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.cta-section {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Responsive Design ===== */
/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Parallax effect for hero */
.hero {
    transform: translateZ(0);
}

/* Interactive cursor effect on cards */
.solution-card,
.office-card,
.collaboration-highlight,
.gallery-item {
    cursor: pointer;
}

.solution-card:active,
.office-card:active {
    transform: scale(0.98);
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .core-focus {
        gap: var(--spacing-sm);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.4rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    header {
        padding: var(--spacing-xs) 0;
    }
    
    nav {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(180deg,
            rgba(250, 251, 252, 0.98) 0%,
            rgba(255, 255, 255, 0.96) 100%);
        backdrop-filter: blur(30px) saturate(150%);
        -webkit-backdrop-filter: blur(30px) saturate(150%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-xl) var(--spacing-md);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1.75rem;
        z-index: 999;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem 2rem;
        width: 85%;
        max-width: 320px;
        text-align: center;
        color: var(--color-text-on-light);
        background: rgba(255, 255, 255, 0.7);
        border-radius: 14px;
        margin: 0;
        border: 1px solid rgba(0, 132, 255, 0.12);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        letter-spacing: 0.02em;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(240, 248, 255, 0.90) 100%);
        color: var(--color-secondary);
        border: 1px solid rgba(0, 132, 255, 0.25);
        transform: translateY(-2px) scale(1.02);
        box-shadow:
            0 8px 24px rgba(0, 132, 255, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .mobile-menu-toggle {
        display: flex;
        font-size: 1.8rem;
        padding: var(--spacing-xs);
        min-width: 48px;
        min-height: 48px;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 132, 255, 0.15);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 132, 255, 0.25);
        box-shadow: 0 4px 12px rgba(0, 132, 255, 0.12);
    }

    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .logo {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .logo img {
        height: 40px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    
    .hero {
        min-height: 70vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
    }
    
    .hero .tagline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero .sub-text {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: var(--spacing-md);
    }
    
    .core-focus {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .focus-item {
        padding: var(--spacing-sm);
    }
    
    .focus-item h3 {
        font-size: 1.1rem;
    }
    
    .focus-icon {
        width: 50px;
        height: 50px;
    }
    
    .message-block {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .solution-card {
        padding: var(--spacing-sm);
    }
    
    .solution-card h3 {
        font-size: 1.2rem;
    }
    
    .solution-card p {
        font-size: 0.95rem;
    }
    
    .solution-icon {
        width: 60px;
        height: 60px;
    }
    
    .content-section {
        padding: var(--spacing-lg) 0;
    }
    
    .content-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--spacing-md);
    }
    
    .content-section p {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .collaboration-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .collaboration-highlight {
        padding: var(--spacing-sm);
    }
    
    .client-logo {
        width: 50px;
        height: 50px;
    }
    
    .office-details {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .office-card {
        padding: var(--spacing-sm);
    }
    
    .office-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-heading {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .contact-intro {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .whatsapp-box {
        padding: var(--spacing-md);
    }
    
    .whatsapp-box h3 {
        font-size: 1.4rem;
    }
    
    .whatsapp-box p {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: var(--spacing-sm);
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .contact-info a {
        font-size: 1rem;
        display: block;
        margin: var(--spacing-xs) 0;
    }
    
    blockquote {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }
    
    footer {
        padding: var(--spacing-sm) 0;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xs: 0.3rem;
        --spacing-sm: 0.6rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    header {
        padding: var(--spacing-xs) 0;
    }
    
    nav {
        padding: var(--spacing-xs);
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.5rem;
        padding: var(--spacing-xs);
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    .hero {
        min-height: 60vh;
        padding: var(--spacing-md) 0;
    }
    
    .hero .tagline {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.2;
    }
    
    .hero .sub-text {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.6;
    }
    
    .message-block {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
    
    .focus-item {
        padding: var(--spacing-sm);
    }
    
    .focus-item h3 {
        font-size: 1rem;
    }
    
    .focus-icon {
        width: 45px;
        height: 45px;
    }
    
    .btn {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .solution-card {
        padding: var(--spacing-sm);
    }
    
    .solution-card h3 {
        font-size: 1.1rem;
    }
    
    .solution-card p {
        font-size: 0.9rem;
    }
    
    .solution-icon {
        width: 50px;
        height: 50px;
    }
    
    .content-section h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    
    .content-section p {
        font-size: 0.95rem;
    }
    
    .collaboration-highlight {
        padding: var(--spacing-sm);
    }
    
    .collaboration-highlight h4 {
        font-size: 1rem;
    }
    
    .collaboration-highlight p {
        font-size: 0.9rem;
    }
    
    .client-logo {
        width: 40px;
        height: 40px;
    }
    
    .office-card {
        padding: var(--spacing-sm);
    }
    
    .office-card h3 {
        font-size: 1rem;
    }
    
    .office-card p {
        font-size: 0.9rem;
    }
    
    .contact-heading {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .contact-intro {
        font-size: 0.95rem;
    }
    
    .whatsapp-box {
        padding: var(--spacing-sm);
    }
    
    .whatsapp-box h3 {
        font-size: 1.2rem;
    }
    
    .whatsapp-box p {
        font-size: 0.95rem;
    }
    
    .whatsapp-icon {
        width: 60px;
        height: 60px;
    }
    
    .btn-whatsapp {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
    
    .contact-info {
        padding: var(--spacing-sm);
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
    
    .contact-info a {
        font-size: 0.95rem;
    }
    
    blockquote {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* ===== Mobile Touch Enhancements ===== */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-links a,
    .mobile-menu-toggle {
        min-height: 48px;
        min-width: 48px;
    }

    /* Pronounced active states */
    .solution-card:active,
    .focus-item:active,
    .office-card:active {
        transform: scale(0.97);
        transition-duration: var(--duration-fast);
    }

    .btn:active {
        transform: scale(0.95);
    }

    /* Enhanced tap highlight */
    * {
        -webkit-tap-highlight-color: rgba(0, 123, 255, 0.2);
    }
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .particle,
    .floating-particles,
    .tech-pattern::before,
    .tech-pattern::after {
        animation: none !important;
    }
}

