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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.nav-logo h2 {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 320;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: #ffffff;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
    animation: fadeInUp 1s ease;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.highlight {
    font-weight: 600;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    animation: underlineExpand 2s ease-out 1s both;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 90%;
}

/* AI Animation */
.ai-animation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.ai-canvas {
    position: relative;
    width: 400px;
    height: 300px;
}

/* Input Nodes */
.input-nodes {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.node {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #f3f0ff, #fef3f9);
    border-radius: 50%;
    opacity: 0;
    animation: nodeAppear 0.5s ease forwards;
    animation-delay: var(--delay);
    position: relative;
}

.node::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid #f3f0ff;
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

.node[data-delay="0"] { --delay: 0.5s; }
.node[data-delay="0.2"] { --delay: 0.7s; }
.node[data-delay="0.4"] { --delay: 0.9s; }

/* Processing Core */
.processing-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.core-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0.15;
}

.ring-outer {
    border: 2px solid #e8e5ff;
    animation: rotateRing 20s linear infinite;
}

.ring-middle {
    inset: 15px;
    border: 2px solid #fef3f9;
    animation: rotateRing 15s linear infinite reverse;
}

.ring-inner {
    inset: 30px;
    border: 2px solid #f0fdf4;
    animation: rotateRing 10s linear infinite;
}

.core-center {
    position: absolute;
    inset: 40px;
    background: linear-gradient(135deg, #f3f0ff 0%, #fef3f9 50%, #f0f9ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-effect {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(243,240,255,0.4) 100%);
    border-radius: 50%;
    animation: corePulse 2s ease-in-out infinite;
}

/* Output Elements */
.output-elements {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.element {
    width: 40px;
    height: 8px;
    background: linear-gradient(90deg, #f0f9ff, #f0fdf4);
    border-radius: 4px;
    opacity: 0;
    transform: translateX(20px);
    animation: elementSlide 0.5s ease forwards;
    animation-delay: var(--delay);
    position: relative;
}

.element::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #fef3f9;
    border-radius: 50%;
}

.element[data-delay="1"] { --delay: 2s; }
.element[data-delay="1.2"] { --delay: 2.2s; }
.element[data-delay="1.4"] { --delay: 2.4s; }
.element[data-delay="1.6"] { --delay: 2.6s; }

.element-2 { width: 50px; background: linear-gradient(90deg, #fef3f9, #f3f0ff); }
.element-3 { width: 35px; background: linear-gradient(90deg, #f0fdf4, #f0f9ff); }
.element-4 { width: 45px; background: linear-gradient(90deg, #fff7ed, #fef3f9); }

/* Flow Lines */
.flow-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flow-path {
    fill: none;
    stroke: #e8e5ff;
    stroke-width: 1;
    stroke-dasharray: 5, 10;
    opacity: 0.2;
    animation: flowDash 3s linear infinite;
}

/* Speed Particles */
.speed-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.speed-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #f3f0ff;
    border-radius: 50%;
    opacity: 0;
}

.speed-particle.p1 {
    animation: particleSpeed1 4s linear infinite;
}

.speed-particle.p2 {
    animation: particleSpeed2 4s linear infinite 0.5s;
}

.speed-particle.p3 {
    animation: particleSpeed1 4s linear infinite 1s;
}

.speed-particle.p4 {
    animation: particleSpeed2 4s linear infinite 1.5s;
}

.speed-particle.p5 {
    animation: particleSpeed1 4s linear infinite 2s;
}

.speed-particle.p6 {
    animation: particleSpeed2 4s linear infinite 2.5s;
}

/* Orbit Elements */
.orbit-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    pointer-events: none;
}

.orbit-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fef3f9;
    border-radius: 50%;
    opacity: 0.3;
}

.orbit-element.o1 {
    animation: orbit1 8s linear infinite;
}

.orbit-element.o2 {
    animation: orbit2 10s linear infinite;
}

.orbit-element.o3 {
    animation: orbit3 12s linear infinite;
}

/* Animations */
@keyframes nodeAppear {
    to {
        opacity: 1;
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.1;
    }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes corePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes elementSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -15;
    }
}

@keyframes particleSpeed1 {
    0% {
        left: 10%;
        top: 40%;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        left: 90%;
        top: 60%;
        opacity: 0.6;
    }
    100% {
        left: 95%;
        top: 62%;
        opacity: 0;
    }
}

@keyframes particleSpeed2 {
    0% {
        left: 15%;
        top: 60%;
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        left: 85%;
        top: 40%;
        opacity: 0.4;
    }
    100% {
        left: 90%;
        top: 38%;
        opacity: 0;
    }
}

@keyframes orbit1 {
    from {
        transform: rotate(0deg) translateX(90px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(90px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    from {
        transform: rotate(120deg) translateX(80px) rotate(-120deg);
    }
    to {
        transform: rotate(480deg) translateX(80px) rotate(-480deg);
    }
}

@keyframes orbit3 {
    from {
        transform: rotate(240deg) translateX(70px) rotate(-240deg);
    }
    to {
        transform: rotate(600deg) translateX(70px) rotate(-600deg);
    }
}
.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0 3rem 0;
    justify-content: flex-start;
}

.stat {
    text-align: center;
    position: relative;
}

.stat h3 {
    font-size: 2.8rem;
    font-weight: 200;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat p {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #e5e5e5, transparent);
    animation: pulse 3s infinite;
}

.stat:first-child::before {
    display: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.cta-primary {
    background: #000000;
    color: white;
    border: 1px solid #000000;
}

.cta-primary:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cta-secondary {
    background: transparent;
    color: #666;
    border: 1px solid #e5e5e5;
}

.cta-secondary:hover {
    background: #f8f8f8;
    color: #1a1a1a;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}

/* Hero Animation - Code to App */
.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.code-to-app-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    width: 100%;
}

/* Code Editor */
.code-editor {
    flex: 1;
    background: #fefefe;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.editor-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.editor-controls {
    display: flex;
    gap: 0.4rem;
}

.control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.control-dot.red { background: #fdeaea; border: 1px solid #f5c6cb; }
.control-dot.yellow { background: #fff3cd; border: 1px solid #ffeaa7; }
.control-dot.green { background: #eaf4ea; border: 1px solid #c3e6cb; }

.editor-title {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.editor-content {
    padding: 1rem;
    background: #fefefe;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

.code-line {
    margin-bottom: 0.3rem;
    min-height: 1.2rem;
}

.code-text {
    color: #5f6368;
}

.code-cursor {
    color: #5f6368;
    animation: blink 1s infinite;
}

.code-line.hidden {
    opacity: 0;
    animation: typeIn 0.8s ease forwards;
}

/* Transform Arrow */
.transform-arrow {
    position: relative;
    margin: 0 1rem;
}

.arrow-body {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #f8f0ff, #e8e5ff);
    position: relative;
    border-radius: 1px;
}

.arrow-body::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid #e8e5ff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.ai-spark {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #fef3f9;
    border-radius: 50%;
    animation: sparkPulse 2s ease-in-out infinite;
}

/* App Preview */
.app-preview {
    flex: 1;
    background: #fefefe;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.preview-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.preview-controls {
    display: flex;
    gap: 0.4rem;
}

.preview-controls .control-dot {
    background: #e9ecef;
    border: 1px solid #dee2e6;
}

.preview-url {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.preview-content {
    padding: 1rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-element {
    border-radius: 4px;
    opacity: 0;
    animation: buildIn 0.6s ease forwards;
}

.app-element.header-bar {
    height: 16px;
    background: linear-gradient(90deg, #f0fdf4, #ecfdf5);
    animation-delay: 2s;
}

.app-element.nav-menu {
    height: 12px;
    background: linear-gradient(90deg, #fef3f9, #fdf2f8);
    width: 60%;
    animation-delay: 2.5s;
}

.app-element.main-content {
    height: 40px;
    background: linear-gradient(135deg, #f8f0ff, #f3f0ff);
    animation-delay: 3s;
}

.app-element.sidebar {
    height: 20px;
    background: linear-gradient(90deg, #e8e5ff, #ede9fe);
    width: 80%;
    animation-delay: 3.5s;
}

/* Animations */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes typeIn {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes sparkPulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1); 
        background: #fef3f9; 
    }
    50% { 
        transform: translateX(-50%) scale(1.5); 
        background: #f3f0ff; 
    }
}

@keyframes buildIn {
    0% { 
        opacity: 0; 
        transform: translateY(10px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Mobile Responsiveness for Animation */
@media (max-width: 992px) {
    .code-to-app-container {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .code-to-app-container {
        max-width: 100%;
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .code-editor, .app-preview {
        border-radius: 6px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    
    .editor-content, .preview-content {
        padding: 0.75rem;
        min-height: 80px;
    }
    
    .code-line {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
        margin: 0.75rem 0;
    }
    
    .arrow-body {
        width: 20px;
    }
    
    .editor-title, .preview-url {
        font-size: 0.7rem;
    }
}

/* Section Headers - Global Consistency */
.section-header {
    text-align: center;
    margin: 5rem 0 4rem 0;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    background: #fafafa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Animated About Section */
.animated-header {
    position: relative;
    overflow: hidden;
}

.typing-animation {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(40) 1s both;
}

.typing-cursor {
    color: #1a1a1a;
    animation: blink-cursor 1s infinite;
    font-weight: 300;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 2s both;
}

.fade-in-up.extra-spacing {
    margin-top: 2rem;
}

.stats-animation {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.animated-stat {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards;
}

.animated-stat:nth-child(1) { animation-delay: 0.5s; }
.animated-stat:nth-child(2) { animation-delay: 0.7s; }
.animated-stat:nth-child(3) { animation-delay: 0.9s; }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.story-content {
    margin: 3rem 0;
}

.story-block {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.3s ease;
}

.story-block.fade-in-right {
    transform: translateX(50px);
}

.story-block.visible {
    opacity: 1;
    transform: translateX(0);
}

.story-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    flex-shrink: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

.story-block:nth-child(2) .story-icon {
    animation-delay: 1.5s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #1a1a1a; }
}

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

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

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

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

.about-text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.expertise-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

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

.expertise-item:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expertise-item .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Strategic Development - Expanding rings animation */
.expertise-item:nth-child(1) .icon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    animation: expanding-rings 3s infinite;
}

.expertise-item:nth-child(1) .icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid #666;
    border-radius: 50%;
    animation: expanding-rings 3s infinite 0.5s;
    opacity: 0.6;
}

.expertise-item:nth-child(1):hover .icon::before,
.expertise-item:nth-child(1):hover .icon::after {
    animation-duration: 1.5s;
}

/* AI-Powered Speed - Lightning bolt animation */
.expertise-item:nth-child(2) .icon::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #666;
    transform: rotate(15deg);
    animation: lightning-flash 2s infinite;
}

.expertise-item:nth-child(2) .icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #666;
    transform: rotate(-15deg);
    top: 8px;
    left: -2px;
    animation: lightning-flash 2s infinite 0.2s;
}

.expertise-item:nth-child(2):hover .icon::before,
.expertise-item:nth-child(2):hover .icon::after {
    animation-duration: 1s;
}

/* Cost Optimization - Morphing squares animation */
.expertise-item:nth-child(3) .icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #666;
    border-radius: 2px;
    animation: morphing-square 4s infinite;
}

.expertise-item:nth-child(3):hover .icon::before {
    animation-duration: 2s;
}

@keyframes expanding-rings {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(2);
        opacity: 0.3;
    }
}

@keyframes lightning-flash {
    0%, 80%, 100% {
        opacity: 0.3;
    }
    10%, 30% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes morphing-square {
    0%, 100% {
        border-radius: 2px;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 50%;
        transform: rotate(45deg);
    }
    50% {
        border-radius: 2px;
        transform: rotate(90deg);
    }
    75% {
        border-radius: 50%;
        transform: rotate(135deg);
    }
}

.expertise-item h4 {
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1.1rem;
}

.expertise-item p {
    color: #666;
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}


/* About Section - Modern Redesign */
.about-content-modern {
    max-width: 1200px;
    margin: 0 auto;
}

/* Story Flow */
.story-flow {
    margin-bottom: 1.5rem;
}

.story-card {
    display: grid;
    grid-template-columns: 70px 1fr 180px;
    gap: 1rem;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: storyReveal 0.8s ease forwards;
}

.story-card:nth-child(1) { animation-delay: 0.2s; }
.story-card:nth-child(2) { animation-delay: 0.4s; }
.story-card:nth-child(3) { animation-delay: 0.6s; }

.story-card.reverse {
    grid-template-columns: 80px 1fr 200px;
}

.story-card.reverse .story-visual {
    order: 3;
}

@keyframes storyReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(26, 26, 26, 0.1);
    line-height: 1;
}

.story-card:hover .story-number {
    color: rgba(26, 26, 26, 0.3);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.story-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
}

.story-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Story Visuals */
.story-visual {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Elements Animation */
.floating-elements {
    position: relative;
    width: 100px;
    height: 100px;
}

.element-1,
.element-2,
.element-3 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(26,26,26,0.1), rgba(26,26,26,0.05));
}

.element-1 {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 30px;
    animation: floatUp 3s ease-in-out infinite;
}

.element-2 {
    width: 24px;
    height: 24px;
    top: 40px;
    right: 20px;
    animation: floatUp 3s ease-in-out infinite 0.5s;
}

.element-3 {
    width: 16px;
    height: 16px;
    bottom: 20px;
    left: 10px;
    animation: floatUp 3s ease-in-out infinite 1s;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-15px); opacity: 1; }
}

/* Acquisition Flow Animation */
.acquisition-flow {
    display: flex;
    gap: 10px;
    align-items: center;
}

.flow-step {
    width: 20px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 50%;
    position: relative;
    animation: flowPulse 2s ease-in-out infinite;
}

.flow-step:nth-child(2) { animation-delay: 0.3s; }
.flow-step:nth-child(3) { animation-delay: 0.6s; }

.flow-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 10px;
    height: 2px;
    background: #1a1a1a;
    transform: translateY(-50%);
}

.flow-step:last-child::after {
    display: none;
}

@keyframes flowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* AI Animation */
.ai-animation {
    position: relative;
    width: 80px;
    height: 80px;
}

.ai-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: aiPulse 2s ease-in-out infinite;
}

.ai-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ai-rings::before,
.ai-rings::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(26,26,26,0.2);
    border-radius: 50%;
    animation: ringExpand 3s ease-out infinite;
}

.ai-rings::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: -20px;
}

.ai-rings::after {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    animation-delay: 1s;
}

@keyframes aiPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

@keyframes ringExpand {
    0% { opacity: 1; transform: scale(0.5); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.capability-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.6s ease forwards;
}

.capability-card:nth-child(1) { animation-delay: 0.8s; }
.capability-card:nth-child(2) { animation-delay: 1.0s; }
.capability-card:nth-child(3) { animation-delay: 1.2s; }

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.capability-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.capability-icon.strategic {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    overflow: hidden;
}

.capability-icon.strategic::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 20px;
    background: linear-gradient(to top, #10b981 0%, #34d399 30%, #6ee7b7 60%, #a7f3d0 100%);
    clip-path: polygon(0 100%, 25% 70%, 50% 40%, 75% 20%, 100% 0%, 100% 100%);
    animation: growthChart 3s ease-in-out infinite;
}

.capability-icon.speed {
    background: linear-gradient(135deg, #f0f9ff, #dbeafe);
}

.capability-icon.speed::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    border-top-color: transparent;
    animation: aiProcessing 1.5s linear infinite;
}

.capability-icon.speed::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #60a5fa;
    border-radius: 50%;
    animation: aiCore 2s ease-in-out infinite;
}

.capability-icon.optimization {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.capability-icon.optimization::before {
    content: '$';
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    color: #d97706;
    animation: dollarSpin 2.5s ease-in-out infinite;
}

.capability-icon.optimization::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #f59e0b;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: savingsLine 2.5s ease-in-out infinite;
}

@keyframes growthChart {
    0%, 100% { 
        transform: translateX(-50%) scaleY(0.8);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(-50%) scaleY(1.1);
        opacity: 1;
    }
}

@keyframes aiProcessing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes aiCore {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes dollarSpin {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    25% { 
        transform: rotate(90deg) scale(0.8);
        opacity: 0.7;
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }
    75% { 
        transform: rotate(270deg) scale(0.9);
        opacity: 0.8;
    }
}

@keyframes savingsLine {
    0%, 100% { 
        width: 30px;
        opacity: 0.6;
    }
    50% { 
        width: 40px;
        opacity: 1;
    }
}

.capability-card:hover .capability-icon {
    transform: rotate(5deg) scale(1.1);
}

.capability-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.capability-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Acquisitions Section */
.acquisitions {
    background: white;
}

/* Simple Success Stories Slider */
.simple-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: 380px;
}

.slide {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 550px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.slide.active[data-slide="0"] {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    position: relative;
}

.slide.active[data-slide="0"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.slider-arrow:hover {
    background: #f8f8f8;
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -70px;
}

.slider-arrow.next {
    right: -70px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: scale(1.2);
}

.dot:hover:not(.active) {
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
    
    .slider-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .slide {
        padding: 1.5rem;
        min-height: 300px;
    }
}


.card-header {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f8f8f8;
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge.recent {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 10;
}

.company {
    color: #666;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
    display: block;
}

.company-logo {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.card-content {
    padding-top: 1rem;
}

.card-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    margin-top: 0;
    clear: both;
    padding-top: 0;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0;
}

.card-features span {
    padding: 0.4rem 1rem;
    background: #f8f8f8;
    color: #666;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-features span:hover {
    background: #e5e5e5;
    color: #333;
}

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

.card-features span:hover::before {
    left: 100%;
}

/* Portfolio Section - All Projects in One View */
.portfolio {
    background: white;
}

.portfolio-grid-all {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
.project-card:nth-child(9) { animation-delay: 0.9s; }
.project-card:nth-child(10) { animation-delay: 1.0s; }

.project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: projectSlideIn 0.8s ease forwards;
}

.project-card.animate-in:nth-child(1) { animation-delay: 0.1s; }
.project-card.animate-in:nth-child(2) { animation-delay: 0.2s; }
.project-card.animate-in:nth-child(3) { animation-delay: 0.3s; }
.project-card.animate-in:nth-child(4) { animation-delay: 0.4s; }
.project-card.animate-in:nth-child(5) { animation-delay: 0.5s; }
.project-card.animate-in:nth-child(6) { animation-delay: 0.6s; }
.project-card.animate-in:nth-child(7) { animation-delay: 0.7s; }
.project-card.animate-in:nth-child(8) { animation-delay: 0.8s; }
.project-card.animate-in:nth-child(9) { animation-delay: 0.9s; }
.project-card.animate-in:nth-child(10) { animation-delay: 1.0s; }

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-card.full-width {
    grid-column: 1 / -1;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.project-card.full-width .project-content {
    flex: 1;
}

.project-card.full-width .project-content h4 {
    margin-bottom: 0.5rem;
}

.project-card.double-width {
    grid-column: span 2;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.project-card.double-width .project-content {
    flex: 1;
}

.project-card.double-width .project-content h4 {
    margin-bottom: 0.5rem;
}

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

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

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

.project-content {
    position: relative;
    z-index: 2;
}

.project-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.project-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.impact-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f8f8f8;
    color: #666;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover .impact-badge {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.project-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.project-card:hover .project-icon {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: scale(1.1) rotate(5deg);
}

/* Healthcare Animations */
.healthcare-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8f5e8 100%);
}

.heartbeat-line {
    position: absolute;
    width: 30px;
    height: 2px;
    background: #666;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: heartbeatLine 2s infinite;
}

.heartbeat-line::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    left: -8px;
    top: -2px;
    animation: heartPulse 2s infinite;
}

.heartbeat-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    right: -8px;
    top: -2px;
    animation: heartPulse 2s infinite 0.3s;
}

.heart-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s infinite;
}

.healthcare:hover .heartbeat-line,
.healthcare:hover .heartbeat-line::before,
.healthcare:hover .heartbeat-line::after {
    background: white;
}

.healthcare:hover .heart-pulse {
    border-color: white;
}

@keyframes heartbeatLine {
    0%, 100% { transform: translate(-50%, -50%) scaleX(1); }
    50% { transform: translate(-50%, -50%) scaleX(1.2); }
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* Education Animations */
.education-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8f0ff 100%);
}

.book-pages {
    position: absolute;
    width: 20px;
    height: 16px;
    background: #666;
    border-radius: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: bookFlip 3s infinite;
}

.book-pages::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 14px;
    background: #f8f8f8;
    border-radius: 1px;
    top: 1px;
    left: 1px;
    animation: pageFlip 3s infinite;
}

.knowledge-dots {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    left: 40%;
    top: 30%;
    animation: knowledgeSpread 2s infinite;
}

.knowledge-dots::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #666;
    border-radius: 50%;
    left: 8px;
    top: 5px;
    animation: knowledgeSpread 2s infinite 0.3s;
}

.knowledge-dots::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #666;
    border-radius: 50%;
    left: 15px;
    top: -2px;
    animation: knowledgeSpread 2s infinite 0.6s;
}

.graduation-cap {
    position: absolute;
    width: 24px;
    height: 16px;
    background: #666;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    clip-path: polygon(20% 60%, 50% 20%, 80% 60%, 50% 100%);
    animation: capToss 3s infinite;
}

.learning-path {
    position: absolute;
    width: 30px;
    height: 2px;
    background: #666;
    left: 50%;
    bottom: 25%;
    transform: translateX(-50%);
    animation: pathGrow 2s infinite;
}

.learning-path::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #666;
    right: -4px;
    top: -2px;
    animation: arrowMove 2s infinite;
}

.education:hover .book-pages,
.education:hover .knowledge-dots,
.education:hover .knowledge-dots::before,
.education:hover .knowledge-dots::after,
.education:hover .graduation-cap,
.education:hover .learning-path,
.education:hover .learning-path::before {
    background: white;
    border-color: white;
}

.education:hover .learning-path::before {
    border-bottom-color: white;
}

/* Document Management hover effects */
.education:hover .document-stack,
.education:hover .document-stack::before,
.education:hover .document-stack::after {
    background: white;
}

.education:hover .file-transfer,
.education:hover .file-transfer::before {
    background: white;
}

.education:hover .file-transfer::after {
    border-bottom-color: white;
}

/* CRM System hover effects */
.enterprise:hover .crm-chart::before,
.enterprise:hover .crm-chart::after,
.enterprise:hover .crm-chart:before {
    background: white;
}

.enterprise:hover .data-flow,
.enterprise:hover .data-flow::before,
.enterprise:hover .data-flow::after {
    background: white;
}

@keyframes bookFlip {
    0%, 100% { transform: translate(-50%, -50%) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) rotateY(180deg); }
}

@keyframes pageFlip {
    0%, 100% { transform: rotateY(0deg) scaleX(1); }
    50% { transform: rotateY(90deg) scaleX(0.5); }
}

@keyframes knowledgeSpread {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes capToss {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px) rotate(0deg); }
    50% { transform: translate(-50%, -50%) translateY(-8px) rotate(15deg); }
}

@keyframes pathGrow {
    0% { width: 20px; }
    100% { width: 30px; }
}

@keyframes arrowMove {
    0%, 100% { right: -4px; }
    50% { right: -8px; }
}

/* Document Management Enhanced Animations */
.document-stack {
    position: absolute;
    width: 20px;
    height: 16px;
    background: #666;
    border-radius: 2px;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    animation: documentStack 3s infinite;
}

.document-stack::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 14px;
    background: #999;
    border-radius: 2px;
    top: -3px;
    left: 1px;
    animation: documentLayer 3s infinite;
}

.document-stack::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 12px;
    background: #bbb;
    border-radius: 2px;
    top: -6px;
    left: 2px;
    animation: documentLayer 3s infinite 0.5s;
}

.file-transfer {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    left: 25%;
    bottom: 30%;
    animation: fileTransfer 2.5s infinite;
}

.file-transfer::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background: #666;
    left: 3px;
    top: -8px;
    border-radius: 1px;
    animation: transferLine 2.5s infinite;
}

.file-transfer::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 4px solid #666;
    left: 1px;
    top: -12px;
    animation: transferArrow 2.5s infinite;
}

@keyframes documentStack {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(-50%, -50%) scale(1.05) rotateZ(1deg);
        opacity: 0.9;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1) rotateZ(0deg);
        opacity: 1;
    }
    75% { 
        transform: translate(-50%, -50%) scale(1.05) rotateZ(-1deg);
        opacity: 0.9;
    }
}

@keyframes documentLayer {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-2px) scale(1.05);
        opacity: 1;
    }
}

@keyframes fileTransfer {
    0%, 100% { 
        left: 25%;
        opacity: 1;
        transform: scale(1);
    }
    25% { 
        left: 35%;
        opacity: 0.8;
        transform: scale(1.1);
    }
    50% { 
        left: 50%;
        opacity: 1;
        transform: scale(0.9);
    }
    75% { 
        left: 65%;
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes transferLine {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes transferArrow {
    0%, 100% { 
        opacity: 0.7;
        transform: translateY(0);
    }
    50% { 
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* CRM System Enhanced Animations */
.crm-chart {
    position: absolute;
    width: 24px;
    height: 20px;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

.crm-chart::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 12px;
    background: #666;
    left: 2px;
    bottom: 0;
    border-radius: 1px 1px 0 0;
    animation: chartBar1 2.5s infinite;
}

.crm-chart::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 16px;
    background: #666;
    left: 8px;
    bottom: 0;
    border-radius: 1px 1px 0 0;
    animation: chartBar2 2.5s infinite 0.3s;
}

.crm-chart {
    position: relative;
}

.crm-chart:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background: #666;
    right: 2px;
    bottom: 0;
    border-radius: 1px 1px 0 0;
    animation: chartBar3 2.5s infinite 0.6s;
}

.data-flow {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    right: 25%;
    top: 25%;
    animation: dataFlow 2s infinite;
}

.data-flow::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    left: 8px;
    top: 6px;
    animation: dataFlow 2s infinite 0.4s;
}

.data-flow::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    left: -6px;
    top: 8px;
    animation: dataFlow 2s infinite 0.8s;
}

@keyframes chartBar1 {
    0%, 100% { 
        height: 12px;
        opacity: 0.8;
    }
    50% { 
        height: 16px;
        opacity: 1;
    }
}

@keyframes chartBar2 {
    0%, 100% { 
        height: 16px;
        opacity: 0.8;
    }
    50% { 
        height: 20px;
        opacity: 1;
    }
}

@keyframes chartBar3 {
    0%, 100% { 
        height: 20px;
        opacity: 0.8;
    }
    50% { 
        height: 14px;
        opacity: 1;
    }
}

@keyframes dataFlow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: scale(0.8);
        opacity: 0.4;
    }
    75% { 
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Enterprise - Gear rotation animation */
.portfolio-category:nth-child(3) .project-icon::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at center, transparent 4px, #1a1a1a 4px, #1a1a1a 6px, transparent 6px);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: gear-rotate 4s infinite linear;
}

/* AI Innovation - Neural network animation */
.portfolio-category:nth-child(4) .project-icon::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    animation: neural-pulse 2s infinite;
    box-shadow: 
        8px 0 0 #1a1a1a,
        -8px 0 0 #1a1a1a,
        0 8px 0 #1a1a1a,
        0 -8px 0 #1a1a1a;
}

.portfolio-category:nth-child(4) .project-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: #1a1a1a;
    animation: neural-connect 2s infinite;
    transform-origin: center;
}

.project-card:hover .project-icon {
    background: #e5e5e5;
    transform: scale(1.05);
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1) rotate(45deg); }
    14% { transform: scale(1.2) rotate(45deg); }
    28% { transform: scale(1) rotate(45deg); }
    42% { transform: scale(1.2) rotate(45deg); }
    70% { transform: scale(1) rotate(45deg); }
}

@keyframes book-flip {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

@keyframes page-turn {
    0%, 100% { transform: rotateY(0deg) scaleX(1); }
    50% { transform: rotateY(90deg) scaleX(0.5); }
}

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

@keyframes neural-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            8px 0 0 #1a1a1a,
            -8px 0 0 #1a1a1a,
            0 8px 0 #1a1a1a,
            0 -8px 0 #1a1a1a;
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 
            8px 0 0 rgba(26, 26, 26, 0.7),
            -8px 0 0 rgba(26, 26, 26, 0.7),
            0 8px 0 rgba(26, 26, 26, 0.7),
            0 -8px 0 rgba(26, 26, 26, 0.7);
    }
}

@keyframes neural-connect {
    0% { transform: rotate(0deg); opacity: 0.3; }
    25% { transform: rotate(45deg); opacity: 0.8; }
    50% { transform: rotate(90deg); opacity: 0.3; }
    75% { transform: rotate(135deg); opacity: 0.8; }
    100% { transform: rotate(180deg); opacity: 0.3; }
}

.project-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.location {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f8f8f8;
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Acquisition Success Section */
.acquisitions {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

.acquisition-carousel {
    position: relative;
    max-width: 450px;
    margin: 3rem auto 0;
}

.acquisition-slides {
    position: relative;
    min-height: 280px;
}

.acquisition-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.acquisition-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.acquisition-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.acquisition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e5e5e5, #f0f0f0);
    border-radius: 20px 20px 0 0;
}

.acquisition-card.flagship::before {
    background: linear-gradient(90deg, rgba(0, 132, 212, 0.2), rgba(0, 132, 212, 0.1));
}

.acquisition-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #b0b0b0;
    letter-spacing: 0.05em;
}

.acquisition-animation-top {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.acquisition-title-logo {
    margin-bottom: 0.5rem;
    display: block;
}

.acquisition-content {
    position: relative;
}

.acquisition-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.flagship-badge {
    background: rgba(0, 132, 212, 0.08);
    color: #0084d4;
}

.client-badge {
    background: #f8f8f8;
    color: #666;
}

.acquisition-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.acquisition-description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.acquisition-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
    width: 100%;
}

.acquirer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.acquirer .label {
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.acquirer .company {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

.acquisition-date {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
}

.acquisition-impact {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.impact-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    color: #666;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.impact-tag:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

/* Acquisition Animations */
.acquisition-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Education Animation for RAROME */
.education-animation {
    position: relative;
    width: 100px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.blackboard {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.board-frame {
    width: 50px;
    height: 35px;
    background: #e8e8e8;
    border: 2px solid #d0d0d0;
    border-radius: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-content {
    font-size: 8px;
    color: #888;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.math-equation {
    font-weight: 600;
}

.abc-text {
    letter-spacing: 2px;
}

.chalk {
    width: 3px;
    height: 12px;
    background: #b0b0b0;
    border-radius: 1px;
    transform: rotate(-15deg);
}

.learning-elements {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pencil {
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, #c0c0c0 70%, #888 70%);
    border-radius: 1px 1px 0 0;
    position: relative;
}

.pencil::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -1px;
    width: 0;
    height: 0;
    border-left: 2.5px solid transparent;
    border-right: 2.5px solid transparent;
    border-bottom: 3px solid #c0c0c0;
}

.book-open {
    width: 30px;
    height: 20px;
    display: flex;
    gap: 1px;
    position: relative;
}

.book-page {
    width: 14px;
    height: 18px;
    background: #f0f0f0;
    border: 1px solid #d8d8d8;
    border-radius: 1px;
    position: relative;
}

.book-page.left {
    transform: perspective(10px) rotateY(5deg);
}

.book-page.right {
    transform: perspective(10px) rotateY(-5deg);
}

.book-page::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 2px;
    right: 2px;
    height: 1px;
    background: #c0c0c0;
    box-shadow: 0 3px 0 #c0c0c0, 0 6px 0 #c0c0c0;
}

/* Desk Animation for Passwork */
.desk-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.5);
}

.desk-surface {
    position: absolute;
    bottom: 50px;
    width: 120px;
    height: 8px;
    background: #d4d4d4;
    border-radius: 2px;
}

.desk-leg {
    position: absolute;
    bottom: -30px;
    width: 4px;
    height: 30px;
    background: #b0b0b0;
}

.desk-leg.left { left: 10px; }
.desk-leg.right { right: 10px; }

.desk-items {
    position: absolute;
    bottom: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.monitor {
    width: 60px;
    height: 40px;
    background: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
}

.monitor::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: #d0d0d0;
}

.keyboard {
    width: 50px;
    height: 15px;
    background: #e8e8e8;
    border-radius: 2px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1px;
    padding: 2px;
}

/* Music Animation for Ritmoli */
.music-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform: scale(1.5);
}

.sound-wave-subtle {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 40px;
}

.sound-wave-subtle .wave-bar {
    width: 4px;
    background: #d0d0d0;
    border-radius: 2px;
    animation: subtleWave 1.5s ease-in-out infinite;
}

.sound-wave-subtle .wave-bar:nth-child(1) { height: 15px; animation-delay: 0s; }
.sound-wave-subtle .wave-bar:nth-child(2) { height: 25px; animation-delay: 0.1s; }
.sound-wave-subtle .wave-bar:nth-child(3) { height: 35px; animation-delay: 0.2s; }
.sound-wave-subtle .wave-bar:nth-child(4) { height: 25px; animation-delay: 0.3s; }
.sound-wave-subtle .wave-bar:nth-child(5) { height: 15px; animation-delay: 0.4s; }

@keyframes subtleWave {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(0.7); opacity: 1; }
}

.music-note {
    position: relative;
    width: 30px;
    height: 50px;
}

.note-head {
    position: absolute;
    bottom: 0;
    width: 12px;
    height: 10px;
    background: #a0a0a0;
    border-radius: 50%;
    transform: rotate(-20deg);
}

.note-stem {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 2px;
    height: 35px;
    background: #a0a0a0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #666;
}

.carousel-nav:hover {
    background: #f8f8f8;
    border-color: #d0d0d0;
    color: #1a1a1a;
}

.carousel-prev { left: -60px; }
.carousel-next { right: -60px; }

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 24px;
    border-radius: 4px;
    background: #666;
}

.indicator:hover {
    background: #b0b0b0;
}

/* Responsive Design for Acquisitions */
@media (max-width: 768px) {
    .acquisition-card {
        padding: 1.25rem;
    }
    
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    
    .acquisition-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .acquisition-carousel {
        max-width: 350px;
    }
}

/* Tech Stack Section */
.tech-stack {
    background: #ffffff;
    padding: 50px 0;
    position: relative;
    overflow-x: hidden;
}

.tech-stack .section-header.compact {
    margin-bottom: 2.5rem;
}

.tech-stack .section-header h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

.tech-stack .section-header p {
    font-size: 1rem;
    color: #666;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tech-category {
    background: #fafafa;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    min-width: 0;
}

.category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 40px;
    text-align: center;
}

.tech-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.tech-item.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border-color: #d0d0d0;
}

/* Tech icon styles removed - using text only */

.tech-name {
    font-size: 0.8rem;
    color: #444;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
}

.tech-name.featured {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Responsive Design for Tech Stack */
@media (max-width: 1200px) {
    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .tech-stack {
        padding: 40px 0;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .tech-item {
        padding: 0.5rem;
    }
    
    /* Mobile icon styles removed */
}

/* Work in Progress Section */
.wip {
    background: linear-gradient(135deg, #f8f8f8 0%, white 50%, #f8f8f8 100%);
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.wip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.02'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    animation: patternMove 20s linear infinite;
}

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

.wip .section-header h2,
.wip .section-header p {
    color: #1a1a1a;
}

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

.wip-grid.two-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.wip-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.wip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

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

.wip-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.12);
}

.wip-card.featured {
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.06);
}

.wip-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

/* WIP Card Icons */
.wip-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    background: #f8f8f8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Mega Project Animation - Student Flow */
.mega-project-icon {
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
}

.student-flow {
    position: relative;
    width: 60px;
    height: 60px;
}

.student-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    animation: studentFlow 3s infinite;
}

.student-dot:nth-child(1) {
    top: 10px; left: 10px;
    animation-delay: 0s;
}

.student-dot:nth-child(2) {
    top: 20px; right: 15px;
    animation-delay: 0.3s;
}

.student-dot:nth-child(3) {
    bottom: 25px; left: 20px;
    animation-delay: 0.6s;
}

.student-dot:nth-child(4) {
    bottom: 15px; right: 10px;
    animation-delay: 0.9s;
}

.student-dot:nth-child(5) {
    top: 30px; left: 30px;
    animation-delay: 1.2s;
}

.ai-brain-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #1a1a1a;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: brainPulse 2s infinite;
}

@keyframes studentFlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Debug Icon Animation */
.debug-icon {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    flex-direction: column;
}

.code-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 40px;
}

.code-line {
    height: 2px;
    background: #666;
    border-radius: 1px;
    animation: codeScan 3s infinite;
}

.code-line:nth-child(1) {
    width: 35px;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    width: 28px;
    animation-delay: 0.5s;
}

.code-line:nth-child(3) {
    width: 40px;
    animation-delay: 1s;
}

.code-line.error {
    background: #ff6b6b;
    animation: errorBlink 1.5s infinite;
}

.debug-cursor {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 2px;
    height: 20px;
    background: #1a1a1a;
    animation: cursorBlink 1s infinite;
}

@keyframes codeScan {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes errorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Factory Icon Animation */
.factory-icon {
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    position: relative;
}

.factory-conveyor {
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #1a1a1a,
        #1a1a1a 8px,
        transparent 8px,
        transparent 16px
    );
    animation: conveyorMove 2s linear infinite;
}

.factory-products {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
}

.product {
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 2px;
    animation: productDrop 3s infinite;
}

.product:nth-child(2) {
    animation-delay: 1s;
}

.product:nth-child(3) {
    animation-delay: 2s;
}

.factory-timer {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: bold;
    color: #1a1a1a;
    animation: timerPulse 2s infinite;
}

@keyframes conveyorMove {
    0% { background-position: 0 0; }
    100% { background-position: 16px 0; }
}

@keyframes productDrop {
    0%, 70%, 100% { transform: translateY(0); }
    35% { transform: translateY(30px); }
}

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

.wip-card.mega-project {
    grid-column: span 1;
    background: white;
}

.wip-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

.wip-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.wip-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.wip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wip-stats span {
    padding: 0.25rem 0.75rem;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Contact Section - Modern Design */
.contact {
    background: #f8f8f8;
    position: relative;
}

.contact-content-modern {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact .section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

/* Journey Steps */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.journey-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, #e5e7eb, #9ca3af, #e5e7eb);
    z-index: 1;
}

.journey-step {
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    animation: stepFadeIn 0.6s ease forwards;
    animation-delay: calc(var(--step) * 0.2s);
    opacity: 0;
    transform: translateY(20px);
}

.journey-step[data-step="1"] { --step: 1; }
.journey-step[data-step="2"] { --step: 2; }
.journey-step[data-step="3"] { --step: 3; }
.journey-step[data-step="4"] { --step: 4; }

@keyframes stepFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-step:hover {
    transform: scale(1.05) translateY(-5px);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
}

.journey-step:hover .step-icon {
    border-color: #1a1a1a;
    transform: rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, transparent, rgba(26,26,26,0.05), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-step:hover .step-icon::before {
    opacity: 1;
}

.journey-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.journey-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Animated Icons for Journey Steps */
.step-icon {
    overflow: hidden;
}

/* Vision - Lightbulb Animation */
.animated-vision .lightbulb {
    width: 20px;
    height: 24px;
    position: relative;
}

.lightbulb .bulb-core {
    width: 16px;
    height: 20px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: bulbGlow 2s ease-in-out infinite alternate;
}

.lightbulb .bulb-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
}

.lightbulb .bulb-rays::before,
.lightbulb .bulb-rays::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 8px;
    background: #fcd34d;
    transform-origin: center bottom;
    animation: rayRotate 3s linear infinite;
}

.lightbulb .bulb-rays::after {
    animation-delay: 1.5s;
}

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

@keyframes rayRotate {
    0% { transform: translateX(-50%) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateX(-50%) rotate(360deg); opacity: 0; }
}

/* Architect - Blueprint Layers */
.animated-architect .blueprint-layers {
    position: relative;
    width: 24px;
    height: 20px;
}

.blueprint-layers .layer {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #dbeafe;
    border-radius: 2px;
    opacity: 0;
    animation: layerBuild 3s infinite;
}

.blueprint-layers .layer:nth-child(1) {
    top: 0;
    animation-delay: 0s;
}

.blueprint-layers .layer:nth-child(2) {
    top: 8px;
    animation-delay: 0.5s;
}

.blueprint-layers .layer:nth-child(3) {
    top: 16px;
    animation-delay: 1s;
}

@keyframes layerBuild {
    0%, 20% { opacity: 0; transform: scaleX(0); }
    30%, 80% { opacity: 1; transform: scaleX(1); }
    90%, 100% { opacity: 0; transform: scaleX(0); }
}

/* Development Speed - Code Window Animation */
.animated-development .code-window {
    position: relative;
    width: 36px;
    height: 30px;
    background: linear-gradient(135deg, #fef3f9 0%, #f3f0ff 100%);
    border-radius: 4px;
    border: 1px solid #e8d8ff;
    overflow: hidden;
    animation: codeWindowFloat 2s ease-in-out infinite;
}

.code-window .window-header {
    height: 6px;
    background: linear-gradient(90deg, #ffe4f1 0%, #e4e7ff 100%);
    border-bottom: 1px solid #e8d8ff;
    display: flex;
    align-items: center;
    padding: 0 3px;
}

.window-dots {
    display: flex;
    gap: 2px;
}

.window-dots .dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #d8b6ff;
}

.window-dots .dot:nth-child(1) { background: #ffb6d9; }
.window-dots .dot:nth-child(2) { background: #ffd9b6; }
.window-dots .dot:nth-child(3) { background: #b6ffd9; }

.code-lines {
    padding: 3px;
    position: relative;
}

.code-line {
    height: 2px;
    margin-bottom: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #d8ccff 0%, #ffd8ec 100%);
    animation: codeLine 2s ease-in-out infinite;
}

.code-line.short {
    width: 60%;
    animation-delay: 0s;
}

.code-line.long {
    width: 85%;
    animation-delay: 0.2s;
}

.code-line.medium {
    width: 70%;
    animation-delay: 0.4s;
}

.speed-indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c8b6ff, transparent);
    animation: speedPulse 1s linear infinite;
}

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

@keyframes codeLine {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(2px); }
}

@keyframes speedPulse {
    0% { transform: translateX(-50%) scaleX(0.5); opacity: 0; }
    50% { transform: translateX(-50%) scaleX(1); opacity: 1; }
    100% { transform: translateX(-50%) scaleX(0.5); opacity: 0; }
}

@keyframes flameFlicker {
    0% { opacity: 0.7; transform: translateX(-50%) scaleY(0.8); }
    100% { opacity: 1; transform: translateX(-50%) scaleY(1.2); }
}

@keyframes speedMove {
    0% { opacity: 0; transform: translateX(10px); }
    50% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-10px); }
}

/* Launch Success - Celebration */
.animated-launch .celebration {
    position: relative;
    width: 24px;
    height: 24px;
}

.celebration .success-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 50%;
    animation: successPulse 2s ease-in-out infinite;
}

.celebration .confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}

.celebration .confetti::before,
.celebration .confetti::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    animation: confettiFall 2s linear infinite;
}

.celebration .confetti::before {
    top: -5px;
    left: 2px;
    background: #fef3c7;
    animation-delay: 0s;
}

.celebration .confetti::after {
    top: -5px;
    right: 2px;
    background: #fecaca;
    animation-delay: 0.5s;
}

@keyframes successPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(15px) rotate(180deg); opacity: 0; }
}











.comment {
    color: #10b981;
    font-style: italic;
}











.contact-info-terminal {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #4a5568;
    opacity: 0;
    animation: contactInfoReveal 1s ease forwards;
    animation-delay: 4.5s;
}

@keyframes contactInfoReveal {
    to {
        opacity: 1;
    }
}


.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f1f5f9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Footer - Left-Center-Right Layout with reduced height */
.footer {
    background: white;
    color: #333;
    padding: 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.footer-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-left p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 40px;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .ai-animation {
        width: 100%;
        min-height: 300px;
    }
    
    .ai-canvas {
        width: 100%;
        max-width: 350px;
        height: 250px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    
    .contact-content-simple {
        padding: 0 1rem;
    }
    
    .contact .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact .section-header p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .journey-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .journey-steps::before {
        display: none;
    }
    
    
    
    .stats-animation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-list {
        grid-template-columns: 1fr;
    }
    
    .wip-grid {
        grid-template-columns: 1fr;
    }
    
    .wip-card.mega-project {
        grid-column: 1;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
    }
    
    /* Animation responsive styles already handled above */
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact .section-header h2 {
        font-size: 1.8rem;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    
    .step-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* Legal Pages Styling */
.legal-page {
    background: white;
    padding: 6rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 1.5rem 0 1rem 0;
}

.legal-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul, 
.legal-section ol {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 5rem 0 3rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        justify-content: center;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    /* About section mobile fixes */
    .story-card {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .story-card.reverse {
        grid-template-columns: 60px 1fr;
    }
    
    .story-card.reverse .story-visual {
        order: initial;
    }
    
    .story-visual {
        display: none;
    }
    
    .story-number {
        font-size: 2rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ==================== MOBILE RESPONSIVE IMPROVEMENTS ==================== */
@media (max-width: 768px) {
    /* General Mobile Adjustments */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin: 3rem 0 2rem 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Navigation Mobile */
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.7rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* About Section Mobile */
    .story-flow {
        margin-bottom: 1.5rem;
    }
    
    .story-card {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .story-number {
        font-size: 1.25rem;
        width: 40px;
        height: 40px;
    }
    
    .story-content h3 {
        font-size: 1.1rem;
    }
    
    .story-content p {
        font-size: 0.85rem;
    }
    
    .story-visual {
        display: none;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .capability-card {
        padding: 1.25rem 1rem;
    }
    
    .capability-card h4 {
        font-size: 1rem;
    }
    
    .capability-card p {
        font-size: 0.85rem;
    }
    
    /* Portfolio Mobile */
    .portfolio-grid-all {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        padding: 1.25rem;
    }
    
    .project-card h4 {
        font-size: 1rem;
    }
    
    .project-card p {
        font-size: 0.85rem;
    }
    
    .project-card.double-width {
        grid-column: span 1;
    }
    
    /* Acquisition Carousel Mobile - Already optimized */
    
    /* Current Innovations Mobile */
    .wip-grid.two-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wip-card {
        padding: 1.5rem;
    }
    
    .wip-card h3 {
        font-size: 1.25rem;
    }
    
    .wip-card p {
        font-size: 0.9rem;
    }
    
    /* Tech Stack Mobile - Already optimized */
    
    /* Contact Journey Mobile */
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .journey-step {
        padding: 1.5rem;
    }
    
    .journey-step h4 {
        font-size: 1rem;
    }
    
    .journey-step p {
        font-size: 0.85rem;
    }
    
    /* Terminal Contact Mobile */
    .terminal-window {
        margin: 0 10px;
        font-size: 11px;
    }
    
    .terminal-content {
        padding: 1rem;
    }
    
    .terminal-line {
        margin-bottom: 0.5rem;
        word-break: break-all;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-logo {
        height: 30px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    /* Navigation for very small screens */
    .nav-menu {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    /* Hero Animation Mobile */
    .code-to-app-container {
        padding: 0 0.25rem;
        gap: 0.75rem;
    }
    
    .editor-content, .preview-content {
        padding: 0.5rem;
        min-height: 60px;
    }
    
    .code-line {
        font-size: 0.65rem;
    }
    
    .editor-title, .preview-url {
        font-size: 0.65rem;
    }
    
    .arrow-body {
        width: 16px;
    }
    
    /* Hero adjustments */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .ai-canvas {
        width: 280px;
        height: 200px;
    }
    
    .processing-core {
        width: 80px;
        height: 80px;
    }
    
    .node {
        width: 8px;
        height: 8px;
    }
    
    .element {
        width: 30px;
        height: 6px;
    }
    
    .element-2 { width: 35px; }
    .element-3 { width: 25px; }
    .element-4 { width: 32px; }
    
    .core-center {
        inset: 25px;
    }
    
    .pulse-effect {
        width: 20px;
        height: 20px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat h3 {
        font-size: 1.75rem;
    }
    
    /* Section headers */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    /* Story cards */
    .story-card {
        grid-template-columns: 40px 1fr;
    }
    
    /* Terminal */
    .terminal-window {
        font-size: 10px;
    }
    
    /* Tech items */
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .tech-item.featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    /* Acquisition cards */
    .acquisition-carousel {
        max-width: 300px;
    }
    
    .acquisition-card {
        padding: 1rem;
    }
    
    .acquisition-content h3 {
        font-size: 1.1rem;
    }
    
    .acquisition-description {
        font-size: 0.75rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Additional Portfolio Animations */
.enterprise-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #fff8e8 100%);
}

.support-waves {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: supportWaves 2s infinite;
}

.support-waves::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #666;
    border-radius: 50%;
    left: -7px;
    top: -7px;
    opacity: 0.6;
    animation: supportWaves 2s infinite 0.5s;
}

.communication-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: commPulse 1.5s infinite;
}

.mobility-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8f8f0 100%);
}

.car-movement {
    position: absolute;
    width: 20px;
    height: 12px;
    background: #666;
    border-radius: 3px;
    left: 30%;
    top: 50%;
    transform: translateY(-50%);
    animation: carMove 3s infinite;
}

.car-movement::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    left: 2px;
    bottom: -2px;
    animation: wheelSpin 0.5s infinite linear;
}

.car-movement::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    right: 2px;
    bottom: -2px;
    animation: wheelSpin 0.5s infinite linear;
}

.route-line {
    position: absolute;
    width: 30px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #666 0, #666 4px, transparent 4px, transparent 8px);
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation: routeFlow 2s infinite;
}

.innovation-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f8ff 100%);
}

.visitor-scan {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 4px;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    animation: scanPulse 2s infinite;
}

.visitor-scan::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #666;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: scanLine 2s infinite;
}

.security-check {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    right: 25%;
    top: 25%;
    animation: securityBlink 1.5s infinite;
}

.ai-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #f5f0ff 100%);
}

.ai-brain {
    position: absolute;
    width: 24px;
    height: 20px;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

.ai-brain::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #666;
    border-radius: 50% 50% 45% 45%;
    animation: brainPulse 2s infinite;
}

.neural-network {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    left: 40%;
    top: 40%;
    animation: neuralPulse 1.5s infinite;
}

.neural-network::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #666;
    border-radius: 50%;
    left: 8px;
    top: -2px;
    animation: neuralPulse 1.5s infinite 0.3s;
}

.neural-network::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #666;
    border-radius: 50%;
    left: 4px;
    top: 6px;
    animation: neuralPulse 1.5s infinite 0.6s;
}

.web-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #fff5f0 100%);
}

.globe-rotate {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid #666;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: globeRotate 4s infinite linear;
}

.globe-rotate::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #666;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.globe-rotate::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: #666;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.web-connections {
    position: absolute;
    width: 2px;
    height: 12px;
    background: #666;
    right: 25%;
    top: 30%;
    animation: connectionPulse 1.5s infinite;
}

.web-connections::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background: #666;
    left: -6px;
    top: 6px;
    animation: connectionPulse 1.5s infinite 0.3s;
}

/* Website Development Animation */
.web-dev-icon {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.browser-window {
    position: absolute;
    width: 32px;
    height: 24px;
    background: white;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.browser-header {
    height: 6px;
    background: #f1f5f9;
    border-radius: 2px 2px 0 0;
    display: flex;
    align-items: center;
    padding: 0 2px;
    gap: 1px;
}

.browser-controls {
    display: flex;
    gap: 1px;
}

.control-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #eab308; }
.control-dot.green { background: #22c55e; }

.address-bar {
    margin-left: auto;
    font-size: 2px;
    color: #64748b;
    background: white;
    padding: 0 1px;
    border-radius: 1px;
}

.webpage-content {
    height: 18px;
    padding: 2px;
    display: grid;
    grid-template-columns: 1fr 8px;
    grid-template-rows: 4px 1fr;
    gap: 1px;
}

.webpage-element {
    background: #e2e8f0;
    border-radius: 1px;
}

.webpage-element.header {
    grid-column: 1 / -1;
    background: #3b82f6;
    animation: headerBuild 3s ease-in-out infinite;
}

.webpage-element.content {
    background: #f1f5f9;
}

.webpage-element.sidebar {
    background: #e2e8f0;
}

.webpage-element.building {
    animation: elementBuild 3s ease-in-out infinite;
}

.coding-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: #3b82f6;
    border-radius: 50%;
    animation: particleFloat 2s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 0.7s;
}

.particle:nth-child(3) {
    top: 80%;
    right: 15%;
    animation-delay: 1.4s;
}

@keyframes headerBuild {
    0%, 30% { transform: scaleX(0); }
    60%, 100% { transform: scaleX(1); }
}

@keyframes elementBuild {
    0%, 40% { opacity: 0.3; transform: scaleY(0.1); }
    70%, 100% { opacity: 1; transform: scaleY(1); }
}

@keyframes particleFloat {
    0%, 100% { 
        opacity: 0.3; 
        transform: translateY(0) scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-8px) scale(1); 
    }
}

/* Portfolio Hover Effects */
.enterprise:hover .support-waves,
.enterprise:hover .support-waves::before,
.enterprise:hover .communication-pulse {
    background: white;
    border-color: white;
}

.mobility:hover .car-movement,
.mobility:hover .car-movement::before,
.mobility:hover .car-movement::after,
.mobility:hover .route-line {
    background: white;
}

.innovation:hover .visitor-scan,
.innovation:hover .visitor-scan::before,
.innovation:hover .security-check {
    background: white;
    border-color: white;
}

.ai:hover .ai-brain::before,
.ai:hover .neural-network,
.ai:hover .neural-network::before,
.ai:hover .neural-network::after {
    background: white;
    border-color: white;
}

/* Government project styling */
.government-icon {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8f0e8 100%);
}

.government:hover .student-flow .student-dot,
.government:hover .ai-brain-center {
    background: white;
}

.web:hover .globe-rotate,
.web:hover .globe-rotate::before,
.web:hover .globe-rotate::after,
.web:hover .web-connections,
.web:hover .web-connections::before {
    background: white;
    border-color: white;
}

/* Portfolio Animation Keyframes */
@keyframes supportWaves {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

@keyframes commPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.5); }
}

@keyframes carMove {
    0%, 100% { left: 20%; }
    50% { left: 60%; }
}

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

@keyframes routeFlow {
    0% { background-position: 0 0; }
    100% { background-position: 8px 0; }
}

/* Enhanced Visitor Management Animations */
@keyframes scanPulse {
    0%, 100% { 
        border-color: #666; 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(102, 102, 102, 0);
    }
    25% { 
        border-color: #999; 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.2);
    }
    50% { 
        border-color: #1a1a1a; 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.3);
    }
    75% { 
        border-color: #999; 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.2);
    }
}

@keyframes scanLine {
    0% { 
        opacity: 0.2;
        transform: translateY(-50%) scaleX(0.5);
    }
    25% { 
        opacity: 0.8;
        transform: translateY(-50%) scaleX(0.8);
    }
    50% { 
        opacity: 1;
        transform: translateY(-50%) scaleX(1.2);
    }
    75% { 
        opacity: 0.8;
        transform: translateY(-50%) scaleX(0.8);
    }
    100% { 
        opacity: 0.2;
        transform: translateY(-50%) scaleX(0.5);
    }
}

@keyframes securityBlink {
    0%, 70%, 100% { 
        opacity: 0.4;
        transform: scale(1);
        background: #666;
    }
    10%, 30% { 
        opacity: 1;
        transform: scale(1.3);
        background: #ff6b6b;
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
        background: #4CAF50;
    }
}

/* Enhanced AI Interview Animations */
@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1);
        border-color: #666;
    }
    25% { 
        transform: scale(1.05);
        border-color: #999;
    }
    50% { 
        transform: scale(1.1);
        border-color: #1a1a1a;
    }
    75% { 
        transform: scale(1.05);
        border-color: #999;
    }
}

@keyframes neuralPulse {
    0% { 
        opacity: 0.3; 
        transform: scale(0.8);
        background: #666;
    }
    25% { 
        opacity: 0.7; 
        transform: scale(1.1);
        background: #999;
    }
    50% { 
        opacity: 1; 
        transform: scale(1.4);
        background: #1a1a1a;
    }
    75% { 
        opacity: 0.8; 
        transform: scale(1.2);
        background: #999;
    }
    100% { 
        opacity: 0.4; 
        transform: scale(1);
        background: #666;
    }
}

/* Enhanced Insurance Animation (already good but minor improvements) */
@keyframes heartbeatLine {
    0%, 100% { 
        transform: translate(-50%, -50%) scaleX(1);
        background: #666;
    }
    14% { 
        transform: translate(-50%, -50%) scaleX(1.3);
        background: #ff6b6b;
    }
    28% { 
        transform: translate(-50%, -50%) scaleX(1);
        background: #666;
    }
    42% { 
        transform: translate(-50%, -50%) scaleX(1.3);
        background: #ff6b6b;
    }
    70% { 
        transform: translate(-50%, -50%) scaleX(1);
        background: #666;
    }
}

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

@keyframes connectionPulse {
    0%, 100% { opacity: 0.5; height: 8px; }
    50% { opacity: 1; height: 12px; }
}

/* Contact Info Section */
.contact-info {
    padding: 4rem 0;
    background: #ffffff;
}

.terminal-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-window {
    width: 720px;
    background: #0d1117;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    border: 1px solid #30363d;
}

.terminal-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #30363d;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-dot:hover {
    transform: scale(1.1);
}

.control-dot.red {
    background: #ff5f56;
    border: 1px solid #e04640;
}

.control-dot.yellow {
    background: #ffbd2e;
    border: 1px solid #dea123;
}

.control-dot.green {
    background: #27ca3f;
    border: 1px solid #1aab2e;
}

.terminal-title {
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
    margin-left: 8px;
    flex: 1;
    text-align: center;
    font-family: 'SF Mono', Monaco, monospace;
}

.terminal-content {
    padding: 24px;
    color: #8b949e;
    font-size: 15px;
    line-height: 1.8;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    background: #0d1117;
}

.terminal-line {
    margin-bottom: 10px;
    display: block;
    opacity: 0;
    animation: fadeInLine 0.5s ease forwards;
}

.terminal-prompt {
    color: #7ee83f;
    font-weight: 500;
    font-size: 15px;
}

.terminal-command {
    color: #ffffff;
    margin-left: 8px;
    font-weight: 300;
}

.typing-effect {
    animation: typeWriter 1.5s steps(30, end) 0.5s both;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

@keyframes typeWriter {
    from {
        width: 0;
    }
    to {
        width: auto;
    }
}

.terminal-output {
    margin: 20px 0;
    padding-left: 0;
}

.terminal-response {
    margin: 8px 0;
    opacity: 0;
    animation: fadeInTerminal 0.5s ease forwards;
}

.terminal-response:nth-child(1) { animation-delay: 1.5s; }
.terminal-response:nth-child(2) { animation-delay: 1.8s; }
.terminal-response:nth-child(3) { animation-delay: 2.1s; }

@keyframes fadeInTerminal {
    to {
        opacity: 1;
    }
}

.terminal-comment {
    color: #7ee83f;
    font-style: normal;
    font-size: 15px;
    opacity: 0;
    animation: fadeInLine 0.5s ease forwards;
}

.terminal-text {
    color: #8b949e;
    font-size: 15px;
    opacity: 0;
    animation: fadeInLine 0.5s ease forwards;
}

.terminal-link {
    color: #58a6ff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.terminal-link:hover {
    color: #79c0ff;
    text-decoration: underline;
}

.terminal-success {
    color: #7ee83f;
    font-size: 15px;
    font-weight: 500;
}

.terminal-value {
    color: #c9d1d9;
    font-size: 15px;
}

@keyframes fadeInLine {
    to {
        opacity: 1;
    }
}

/* Animation delays for sequential appearance */
.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.6s; }
.terminal-line:nth-child(3) { animation-delay: 1s; }
.terminal-output .terminal-line:nth-child(1) { animation-delay: 1.4s; }
.terminal-output .terminal-line:nth-child(2) { animation-delay: 1.6s; }
.terminal-output .terminal-line:nth-child(3) { animation-delay: 1.8s; }
.terminal-output .terminal-line:nth-child(4) { animation-delay: 2.0s; }
.terminal-output .terminal-line:nth-child(5) { animation-delay: 2.2s; }
.terminal-output .terminal-line:nth-child(6) { animation-delay: 2.4s; }
.terminal-line:nth-child(11) { animation-delay: 2.6s; }
.terminal-line:nth-child(12) { animation-delay: 2.8s; }
.terminal-line:nth-child(13) { animation-delay: 3.0s; }

.contact-detail {
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: slideInTerminal 0.5s ease forwards;
}

.contact-detail:nth-of-type(4) { animation-delay: 2.4s; }
.contact-detail:nth-of-type(5) { animation-delay: 2.6s; }
.contact-detail:nth-of-type(6) { animation-delay: 2.8s; }

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

.contact-label {
    color: #00ff00;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    min-width: 80px;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.2);
}

.contact-value {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.contact-value:hover {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.status-active {
    color: #10b981;
}

.status-active::before {
    content: '';
    animation: pulse 2s infinite;
}

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

.terminal-cursor {
    display: inline-block;
    background: #7ee83f;
    width: 10px;
    height: 18px;
    margin-left: 0;
    opacity: 0;
    animation: fadeInLine 0.5s ease 3.5s forwards, blink 1s infinite 3.5s;
}

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


/* Terminal Responsive Styles */
@media (max-width: 768px) {
    .terminal-window {
        width: 90%;
        margin: 0 20px;
    }
    
    .terminal-header {
        padding: 10px 12px;
    }
    
    .terminal-title {
        font-size: 12px;
    }
    
    .terminal-content {
        padding: 16px;
        font-size: 13px;
    }
    
    .contact-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .contact-label {
        min-width: auto;
        font-size: 13px;
    }
    
    .contact-value {
        font-size: 13px;
    }
    
    .hero-animation {
        max-width: 350px;
        height: 300px;
    }
    
    .device-frame {
        width: 120px;
        height: 240px;
        padding: 12px 10px;
    }
    
    .app-window {
        width: 200px;
        height: 160px;
    }
    
    .hero-animation {
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
    }
    
    .mobile-device,
    .desktop-app {
        flex: none;
        width: 100%;
        max-width: 300px;
        transform: none;
    }
    
    .terminal-window {
        width: 90%;
        max-width: 500px;
    }
}
