/* Portfolio Card Hover Effects */
.portfolio-card {
    transition: box-shadow 0.35s cubic-bezier(.23,1.02,.32,1), transform 0.35s cubic-bezier(.23,1.02,.32,1);
}
.portfolio-card:hover {
    box-shadow: 0 24px 64px 0 rgba(52,152,219,0.22), 0 2px 8px 0 rgba(44,62,80,0.10), 0 0 32px 0 #00c3ff44;
    transform: translateY(-10px) scale(1.04) rotate3d(1,1,0,7deg);
    border-color: #00c3ff;
    animation: cardGlow 0.5s cubic-bezier(.23,1.02,.32,1);
}

@keyframes cardGlow {
    0% {
        box-shadow: 0 0 0 0 #00c3ff00;
        filter: brightness(1);
    }
    60% {
        box-shadow: 0 0 32px 0 #00c3ff88;
        filter: brightness(1.08);
    }
    100% {
        box-shadow: 0 24px 64px 0 rgba(52,152,219,0.22), 0 2px 8px 0 rgba(44,62,80,0.10), 0 0 32px 0 #00c3ff44;
        filter: brightness(1);
    }
}
.portfolio-image-link {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 8px 32px rgba(44,62,80,0.13);
    transition: box-shadow 0.3s, transform 0.3s;
}

.portfolio-image-link iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
    pointer-events: none;
    background: #ecf0f1;
}
.portfolio-image-link:hover {
    box-shadow: 0 20px 60px 0 rgba(52,152,219,0.18), 0 2px 8px 0 rgba(44,62,80,0.10);
    transform: scale(1.03) rotate(0.5deg);
}
.portfolio-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44,62,80,0.0);
    color: #ecf0f1;
    font-size: 2.2rem;
    opacity: 0;
    pointer-events: none;
    transition: background 0.25s, opacity 0.25s;
    z-index: 2;
}
.portfolio-image-link:hover .portfolio-link-overlay {
    background: rgba(44,62,80,0.32);
    opacity: 1;
    pointer-events: auto;
}
.portfolio-link-overlay i {
    transform: scale(0.8) translateY(10px);
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.3s;
}
.portfolio-image-link:hover .portfolio-link-overlay i {
    transform: scale(1.1) translateY(0);
    opacity: 1;
}
/* World-class animation for portfolio cards */
.worldclass-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    animation: worldclassFadeIn 1.1s cubic-bezier(.23,1.02,.32,1) forwards;
    animation-delay: 0.2s;
}
@keyframes worldclassFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ========================================
   ThisUncle Technologies Limited
   Modern Portfolio Website Styles
   ======================================== */

/* ========================================
   CSS Variables for Theme Support
   ======================================== */

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
    --accent-color: #3498db;
    --card-bg: #1a1a1a;
    --card-border: #333333;
    --shadow-color: rgba(255, 255, 255, 0.1);
    --hero-bg: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --btn-primary-bg: linear-gradient(135deg, #ffffff, #cccccc);
    --btn-primary-color: #000000;
    --btn-primary-shadow: rgba(255, 255, 255, 0.2);
    --btn-secondary-bg: transparent;
    --btn-secondary-color: #ffffff;
    --btn-secondary-border: #ffffff;
    --btn-secondary-hover-bg: #ffffff;
    --btn-secondary-hover-color: #000000;
    --animation-element-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --animation-element-bg-2: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    --animation-element-bg-3: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    --code-tag-color: #ff6b6b;
    --code-text-color: #4ecdc4;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --accent-color: #3498db;
    --card-bg: #ffffff;
    --card-border: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --hero-bg: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    --btn-primary-bg: linear-gradient(135deg, #3498db, #2980b9);
    --btn-primary-color: #ffffff;
    --btn-primary-shadow: rgba(52, 152, 219, 0.3);
    --btn-secondary-bg: transparent;
    --btn-secondary-color: #3498db;
    --btn-secondary-border: #3498db;
    --btn-secondary-hover-bg: #3498db;
    --btn-secondary-hover-color: #ffffff;
    --animation-element-bg: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.1));
    --animation-element-bg-2: linear-gradient(135deg, rgba(52, 152, 219, 0.18), rgba(52, 152, 219, 0.09));
    --animation-element-bg-3: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.07));
    --code-tag-color: #e74c3c;
    --code-text-color: #3498db;
}

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary, #ffffff);
    background-color: var(--bg-primary, #000000);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary, #ffffff);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary, #cccccc);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   Utilities
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ffffff, #666666);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted, #999999);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333333, #666666);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-color);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--btn-primary-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--btn-secondary-color);
    border: 2px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover-bg);
    color: var(--btn-secondary-hover-color);
    transform: translateY(-2px);
}

/* ========================================
   Page Loader
   ======================================== */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(26, 188, 156, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 400% 400%;
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    animation: magicalBackground 8s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Floating Code Elements */
.code-float {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    animation: floatCode 12s infinite ease-in-out;
    pointer-events: none;
}

.code-1 {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
}

.code-2 {
    bottom: 30%;
    right: 25%;
    animation-delay: 3s;
}

.code-3 {
    top: 70%;
    left: 15%;
    animation-delay: 5s;
}

.code-4 {
    top: 40%;
    right: 10%;
    animation-delay: 7s;
}

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

/* Company Name Display */
.company-name-display {
    margin-bottom: 2rem;
    z-index: 3;
    position: relative;
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Terminal Prompt */
.terminal-prompt {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 10;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    pointer-events: none;
    display: block;
    line-height: 1.4;
    max-width: 80%;
}

.terminal-user {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
    animation: terminalBlink 2s infinite ease-in-out;
}

.terminal-prompt .typewriter {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-left: 0;
    display: inline;
    text-shadow: none;
}

.terminal-prompt .cursor-blink {
    color: #00ff00;
    font-weight: bold;
    animation: cursorBlink 1s infinite;
    margin-left: 2px;
}

@keyframes terminalBlink {
    0%, 80%, 100% { opacity: 1; }
    40% { opacity: 0.7; }
}

.loader-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.logo-tech-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.4), transparent, rgba(0, 255, 255, 0.4));
    animation: techRingRotate 4s infinite linear;
    z-index: 1;
}

.loader-logo {
    position: relative;
    z-index: 2;
}

.loader-logo img {
    width: 180px;
    height: 180px;
    animation: logoFloat 4s infinite ease-in-out;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

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

.loader-logo {
    position: relative;
    z-index: 2;
}

.loader-logo img {
    width: 180px;
    height: 180px;
    animation: logoFloat 4s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.loader-text-container {
    max-width: 300px;
    margin: 0 auto;
}

.loader-text {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    animation: magicalTextGlow 4s infinite ease-in-out, rainbowText 6s infinite linear;
    position: relative;
    overflow: hidden;
}

.loader-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: textShimmer 3s infinite ease-in-out;
}

.loader-text::after {
    content: 'Crafting Digital Excellence...';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowText 6s infinite linear, textPulse 2s infinite ease-in-out;
    opacity: 0.7;
}

.loader-progress {
    position: relative;
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #cccccc, #ffffff);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: progressFill 3s infinite ease-in-out, shimmer 2s infinite linear;
    width: 0%;
}

.progress-percentage {
    position: absolute;
    top: -25px;
    right: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00ffff, #ffffff);
    border-radius: 50%;
    animation: techDotBounce 1.5s infinite ease-in-out;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.dot::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    animation: techDotGlow 2s infinite ease-in-out;
    z-index: -1;
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.3s; }
.dot-3 { animation-delay: 0.6s; }

.cursor-follower {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.1s ease;
}

/* Animations */
@keyframes floatParticle {
    0% { transform: translateY(100vh) translateX(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px) rotate(360deg); opacity: 0; }
}

@keyframes rotateShape {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.2; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 0.4; }
    50% { transform: translateY(-10px) translateX(-5px); opacity: 0.3; }
    75% { transform: translateY(-30px) translateX(15px); opacity: 0.4; }
}

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

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

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); }
}

@keyframes magicalTextGlow {
    0%, 100% { 
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.3),
            0 0 10px rgba(52, 152, 219, 0.2),
            0 0 15px rgba(155, 89, 182, 0.2);
    }
    25% { 
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(52, 152, 219, 0.4),
            0 0 30px rgba(155, 89, 182, 0.3),
            0 0 40px rgba(26, 188, 156, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.7),
            0 0 25px rgba(52, 152, 219, 0.5),
            0 0 35px rgba(155, 89, 182, 0.4),
            0 0 45px rgba(26, 188, 156, 0.3);
    }
    75% { 
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(52, 152, 219, 0.4),
            0 0 30px rgba(155, 89, 182, 0.3),
            0 0 40px rgba(26, 188, 156, 0.2);
    }
}

@keyframes rainbowText {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes textShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes techDotBounce {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.7; 
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    }
    50% { 
        transform: translateY(-15px) scale(1.2); 
        opacity: 1; 
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 25px rgba(0, 255, 255, 0.4);
    }
}

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

/* ========================================
   Techy Loading Elements
   ======================================== */

/* Matrix Rain Effect */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.matrix-column {
    position: absolute;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    animation: matrixFall 8s infinite linear;
    text-shadow: 0 0 5px #00ff41;
    opacity: 0.7;
}

@keyframes matrixFall {
    0% { 
        transform: translateY(-100vh); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(100vh); 
        opacity: 0; 
    }
}

/* Hexagonal Tech Grid */
.hex-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hex-cell {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    animation: hexPulse 4s infinite ease-in-out;
}

.hex-1 { top: 20%; left: 20%; animation-delay: 0s; }
.hex-2 { top: 30%; right: 25%; animation-delay: 0.8s; }
.hex-3 { bottom: 35%; left: 15%; animation-delay: 1.6s; }
.hex-4 { top: 60%; right: 20%; animation-delay: 2.4s; }
.hex-5 { bottom: 20%; right: 35%; animation-delay: 3.2s; }
.hex-6 { top: 45%; left: 50%; animation-delay: 4s; }

@keyframes hexPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) rotate(0deg);
        border-color: rgba(0, 255, 255, 0.3);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2) rotate(60deg);
        border-color: rgba(0, 255, 255, 0.8);
    }
}

/* Circuit Board Pathways */
.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.6), rgba(255, 0, 255, 0.4));
    animation: circuitFlow 6s infinite ease-in-out;
}

.circuit-1 {
    top: 25%;
    left: 10%;
    width: 200px;
    height: 2px;
    animation-delay: 0s;
}

.circuit-2 {
    top: 50%;
    right: 15%;
    width: 2px;
    height: 150px;
    animation-delay: 2s;
}

.circuit-3 {
    bottom: 30%;
    left: 30%;
    width: 180px;
    height: 2px;
    animation-delay: 4s;
}

.circuit-node {
    position: absolute;
    color: #00ffff;
    font-size: 1.2rem;
    animation: nodeFlicker 3s infinite ease-in-out;
    text-shadow: 0 0 10px #00ffff;
}

.node-1 { top: 24%; left: 8%; animation-delay: 0s; }
.node-2 { top: 48%; right: 14%; animation-delay: 1s; }
.node-3 { bottom: 29%; left: 28%; animation-delay: 2s; }
.node-4 { top: 35%; left: 45%; animation-delay: 3s; }

@keyframes circuitFlow {
    0%, 100% { 
        opacity: 0.3; 
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
}

@keyframes nodeFlicker {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
        text-shadow: 0 0 5px #00ffff;
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3);
        text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff;
    }
}

/* Holographic Data Streams */
.data-stream {
    position: absolute;
    display: flex;
    gap: 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff6b6b;
    animation: streamFlow 10s infinite linear;
    pointer-events: none;
    z-index: 1;
}

.data-stream span {
    background: linear-gradient(45deg, #00ffff, #4ecdc4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: dataGlow 2s infinite ease-in-out;
}

.stream-1 {
    top: 20%;
    left: -300px;
    animation-delay: 0s;
}

.stream-2 {
    top: 60%;
    right: -300px;
    animation-delay: 3s;
    animation-direction: reverse;
}

.stream-3 {
    bottom: 25%;
    left: -300px;
    animation-delay: 6s;
}

@keyframes streamFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 300px)); }
}

@keyframes dataGlow {
    0%, 100% { 
        opacity: 0.7; 
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    }
    50% { 
        opacity: 1; 
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    }
}

/* Terminal Commands */
.terminal-commands {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.terminal-line {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #00ff00;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: terminalType 8s infinite ease-in-out;
    text-shadow: 0 0 5px #00ff00;
}

.cmd-1 { animation-delay: 0s; }
.cmd-2 { animation-delay: 2s; }
.cmd-3 { animation-delay: 4s; }
.cmd-4 { animation-delay: 6s; }

@keyframes terminalType {
    0%, 90%, 100% { opacity: 0; transform: translateX(-20px); }
    10%, 80% { opacity: 1; transform: translateX(0); }
}

/* Typewriter Effect */
.typewriter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    margin-bottom: 2rem;
}

.terminal-prompt-text {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.typewriter {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    border-right: none;
    overflow: hidden;
    white-space: nowrap;
}

.cursor-blink {
    color: #00ff00;
    font-weight: bold;
    animation: cursorBlink 1s infinite;
    margin-left: 2px;
}

@keyframes typeWriter {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; }
}

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

@keyframes techTextGlow {
    0%, 100% { 
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.3),
            0 0 10px rgba(0, 255, 255, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.6),
            0 0 20px rgba(0, 255, 255, 0.5),
            0 0 30px rgba(0, 255, 255, 0.3);
    }
}

/* Floating Tech Icons */
.tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tech-icon {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(0, 255, 255, 0.6);
    animation: techFloat 8s infinite ease-in-out;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.icon-1 { top: 15%; left: 10%; animation-delay: 0s; }
.icon-2 { top: 25%; right: 15%; animation-delay: 1s; }
.icon-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.icon-4 { top: 60%; right: 25%; animation-delay: 3s; }
.icon-5 { bottom: 40%; right: 10%; animation-delay: 4s; }
.icon-6 { top: 40%; left: 5%; animation-delay: 5s; }
.icon-7 { bottom: 20%; left: 40%; animation-delay: 6s; }
.icon-8 { top: 70%; right: 40%; animation-delay: 7s; }

@keyframes techFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.4; 
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-10px) rotate(180deg) scale(0.9); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateY(-30px) rotate(270deg) scale(1.2); 
        opacity: 0.9; 
    }
}

/* Digital Particles */
.digital-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.7);
    animation: digitalFloat 12s infinite linear;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.digital-1 { top: 10%; left: 30%; animation-delay: 0s; }
.digital-2 { top: 70%; left: 70%; animation-delay: 2s; }
.digital-3 { bottom: 50%; right: 20%; animation-delay: 4s; }
.digital-4 { top: 50%; left: 80%; animation-delay: 6s; }
.digital-5 { bottom: 25%; left: 60%; animation-delay: 8s; }
.digital-6 { top: 30%; right: 50%; animation-delay: 10s; }

@keyframes digitalFloat {
    0% { 
        transform: translateY(100vh) rotate(0deg) scale(0.5); 
        opacity: 0; 
    }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { 
        transform: translateY(-100px) rotate(360deg) scale(1.2); 
        opacity: 0; 
    }
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px var(--shadow-color, rgba(255, 255, 255, 0.1));
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary, #cccccc);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary, #ffffff);
    background: var(--shadow-color, rgba(255, 255, 255, 0.1));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary, #ffffff);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: var(--shadow-color, rgba(255, 255, 255, 0.1));
    transform: scale(1.1);
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary, #ffffff);
    cursor: pointer;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--hero-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title-accent {
    background: linear-gradient(135deg, #ffffff, #666666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: var(--animation-element-bg);
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    background: var(--animation-element-bg-2);
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: var(--animation-element-bg-3);
    top: 30%;
    left: 60%;
    animation-delay: 4s;
}

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

.code-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    border: 1px solid var(--card-border);
}

.code-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666666;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: typewriter 4s infinite;
}

.code-tag { color: var(--code-tag-color); }
.code-text { color: var(--code-text-color); }

@keyframes typewriter {
    0%, 90%, 100% { opacity: 1; }
    45% { opacity: 0.7; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
}

.scroll-arrow {
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: var(--bg-secondary, #0a0a0a);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--card-bg, linear-gradient(135deg, #1a1a1a, #0d0d0d));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--card-border, #333333);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="light"] .service-card {
    background: var(--card-bg);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-color);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary, #cccccc);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--text-primary);
    font-size: 0.8rem;
}

.service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #666666);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover .service-hover-effect {
    transform: scaleX(1);
}

/* ========================================
   Portfolio Section
   ======================================== */

.portfolio {
    background: var(--bg-primary, #000000);
    position: relative;
}

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

.portfolio-item {
    position: relative;
}

/* Portfolio Carousel Styles */
.portfolio-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 3rem 0;
    perspective: 1500px;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-carousel-3d {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 480px;
    max-width: 90vw;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    transform-origin: center center;
}

/* Center active slide - largest */
.portfolio-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(0) scale(1.1) rotateY(0deg);
    z-index: 3;
    pointer-events: all;
}

/* Left side preview - smaller */
.portfolio-slide.prev {
    opacity: 0.5;
    transform: translate(calc(-50% - 550px), -50%) translateZ(-100px) scale(0.7) rotateY(12deg);
    z-index: 2;
    pointer-events: all;
    filter: brightness(0.65);
}

/* Right side preview - smaller */
.portfolio-slide.next {
    opacity: 0.5;
    transform: translate(calc(-50% + 550px), -50%) translateZ(-100px) scale(0.7) rotateY(-12deg);
    z-index: 2;
    pointer-events: all;
    filter: brightness(0.65);
}

/* Hover effects on side previews */
.portfolio-slide.prev:hover,
.portfolio-slide.next:hover {
    opacity: 0.8;
    filter: brightness(0.8);
    cursor: pointer;
}

.portfolio-slide.prev:hover {
    transform: translate(calc(-50% - 550px), -50%) translateZ(-80px) scale(0.75) rotateY(8deg);
}

.portfolio-slide.next:hover {
    transform: translate(calc(-50% + 550px), -50%) translateZ(-80px) scale(0.75) rotateY(-8deg);
}

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

/* Carousel Navigation Buttons - Creative Design */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 200, 255, 0.3));
    border: 2px solid transparent;
    background-clip: padding-box;
    color: #00ffff;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 255, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #00ff88, #00ffff);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.4), rgba(0, 200, 255, 0.5));
    transform: translateY(-50%) scale(1.15) rotate(5deg);
    box-shadow: 
        0 12px 48px rgba(0, 255, 255, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.carousel-btn:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

.carousel-btn:hover::after {
    opacity: 1;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

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

.carousel-btn-prev {
    left: 0;
    border-radius: 0 16px 16px 0;
}

.carousel-btn-next {
    right: 0;
    border-radius: 16px 0 0 16px;
}

.carousel-btn i {
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.carousel-btn:hover i {
    transform: scale(1.2);
}

.carousel-btn-prev:hover i {
    animation: slideLeft 0.6s ease infinite;
}

.carousel-btn-next:hover i {
    animation: slideRight 0.6s ease infinite;
}

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

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* Carousel Indicators - Creative Design */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2.5rem;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.carousel-indicator::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-indicator:hover {
    background: rgba(0, 255, 255, 0.4);
    transform: scale(1.3);
    box-shadow: 
        0 0 12px rgba(0, 255, 255, 0.6),
        0 0 24px rgba(0, 255, 255, 0.3);
}

.carousel-indicator:hover::before {
    opacity: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

.carousel-indicator.active {
    background: linear-gradient(90deg, #00ffff, #00ff88, #00ffff);
    width: 50px;
    border-radius: 8px;
    box-shadow: 
        0 0 16px rgba(0, 255, 255, 0.8),
        0 0 32px rgba(0, 255, 255, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    animation: activeIndicatorGlow 2s ease-in-out infinite;
}

.carousel-indicator.active::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 8px;
    animation: shimmer 2s linear infinite;
}

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

@keyframes activeIndicatorGlow {
    0%, 100% { 
        box-shadow: 
            0 0 16px rgba(0, 255, 255, 0.8),
            0 0 32px rgba(0, 255, 255, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 24px rgba(0, 255, 255, 1),
            0 0 48px rgba(0, 255, 255, 0.6);
    }
}

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

/* Swipe hint for mobile devices */
.swipe-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 5;
    animation: swipeHintFade 2s ease-in-out infinite;
}

.swipe-hint i {
    font-size: 1rem;
    animation: swipeArrowMove 1.5s ease-in-out infinite;
}

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

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

/* Show swipe hint on touch devices */
@media (hover: none) and (pointer: coarse) {
    .swipe-hint {
        display: flex;
    }
    
    /* Hide hint after first interaction */
    .portfolio-carousel-container.interacted .swipe-hint {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
}

.portfolio-card {
    background: var(--card-bg, #1a1a1a);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border, #333333);
    transition: all 0.3s ease;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    touch-action: pan-y pinch-zoom;
}

[data-theme="light"] .portfolio-card {
    box-shadow: 0 4px 6px var(--shadow-color);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px var(--shadow-color);
    border-color: var(--border-color);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-screenshot {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.browser-mockup {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.browser-header {
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #444444;
}

.browser-dots {
    display: flex;
    gap: 0.3rem;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666666;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex: 1;
}

.browser-content {
    height: calc(100% - 40px);
    background: var(--bg-primary);
    position: relative;
}

.mockup-header {
    height: 20%;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-bottom: 1px solid #e0e0e0;
}

.mockup-nav {
    height: 15%;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.mockup-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 60%;
    height: 2px;
    background: #e0e0e0;
}

.mockup-hero {
    height: 35%;
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    position: relative;
}

.mockup-hero::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 1rem;
    width: 70%;
    height: 40%;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 4px;
}

.mockup-sections {
    height: 30%;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.mockup-section {
    flex: 1;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

/* Theme variations for different portfolio items */
.selah-theme .mockup-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.selah-theme .mockup-hero::after {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.akstands-theme .mockup-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.akstands-theme .mockup-hero::after {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1);
    background: #cccccc;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-header {
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.portfolio-location {
    color: #999999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.portfolio-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    margin: 6rem auto 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.portfolio-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.portfolio-cta:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Services CTA Section */
.services-cta-section {
    padding: 0;
}

.services-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    margin: 6rem auto 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.services-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.services-cta:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.services-cta h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.services-cta p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.portfolio-cta h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.portfolio-cta p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ========================================
   Portfolio Hero Section
   ======================================== */

.portfolio-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}

.portfolio-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3498db, #00c3ff);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #9b59b6, #e91e63);
    bottom: -250px;
    right: -150px;
    animation-delay: 2s;
}

.gradient-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #00c3ff, #2ecc71);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.tech-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

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

.floating-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #00c3ff, #3498db);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    animation: particleFloat 15s linear infinite;
}

.floating-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-particles .particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.floating-particles .particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.floating-particles .particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.floating-particles .particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.floating-particles .particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.floating-particles .particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.floating-particles .particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.floating-particles .particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }
.floating-particles .particle:nth-child(10) { left: 95%; animation-delay: 3.5s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #00c3ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 195, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 195, 255, 0);
    }
}

.hero-badge i {
    color: #ffd700;
}

.portfolio-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #00c3ff, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

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

.portfolio-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Portfolio Statistics Section
   ======================================== */

.portfolio-stats {
    padding: 4rem 0;
    background: #0a0a0a;
    position: relative;
}

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

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.1), rgba(52, 152, 219, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 195, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 195, 255, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00c3ff, #3498db);
    border-radius: 50%;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 195, 255, 0.3);
    position: relative;
    z-index: 1;
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00c3ff;
    display: inline-block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========================================
   Portfolio Category Filter
   ======================================== */

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c3ff, #3498db);
    transition: width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn i,
.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    border-color: #00c3ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 195, 255, 0.3);
}

/* ========================================
   Enhanced Portfolio Cards
   ======================================== */

.project-label {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.project-status {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(46, 204, 113, 0.8);
    }
}

.project-category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.3);
    border-radius: 20px;
    color: #00c3ff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 195, 255, 0.2);
    border-color: #00c3ff;
    color: #00c3ff;
    transform: scale(1.05);
}

.project-metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
}

.metric i {
    color: #00c3ff;
    font-size: 1rem;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.testimonial-slide {
    opacity: 0;
    position: absolute;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testimonial-slide:first-child {
    position: relative;
    opacity: 1;
    pointer-events: all;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 195, 255, 0.2);
    border-color: rgba(0, 195, 255, 0.3);
}

.testimonial-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c3ff, #3498db);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 195, 255, 0.4);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: linear-gradient(135deg, #00c3ff, #3498db);
    border-color: #00c3ff;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 195, 255, 0.4);
}

.testimonial-indicators {
    display: flex;
    gap: 0.75rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: linear-gradient(135deg, #00c3ff, #3498db);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.6);
}

/* ========================================
   Process Timeline Section
   ======================================== */

.process-section {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
}

.process-timeline {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:nth-child(even) {
    grid-template-columns: 1fr auto;
}

.process-step:nth-child(even) .step-content {
    order: -1;
    text-align: right;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c3ff, #3498db);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 195, 255, 0.4);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 15px 50px rgba(0, 195, 255, 0.6);
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.step-connector {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 195, 255, 0.5), transparent);
}

.process-step:last-child .step-connector {
    display: none;
}

/* ========================================
   Enhanced CTA Section
   ======================================== */

.enhanced-cta-section {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 195, 255, 0.1), rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    animation: gradientMove 10s ease infinite;
    background-size: 200% 200%;
}

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

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 195, 255, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 195, 255, 0.05) 2px, transparent 2px);
    background-size: 100px 100px;
    opacity: 0.3;
}

.enhanced-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    animation: ctaBadgePulse 2s ease-in-out infinite;
}

@keyframes ctaBadgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }
}

.cta-badge i {
    color: #ffd700;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #00c3ff, #3498db);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 195, 255, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 195, 255, 0.6);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00c3ff;
    transform: translateY(-3px);
}

.btn-cta-tertiary {
    background: transparent;
    border: 2px solid rgba(0, 195, 255, 0.5);
    color: #00c3ff;
}

.btn-cta-tertiary:hover {
    background: rgba(0, 195, 255, 0.1);
    border-color: #00c3ff;
    transform: translateY(-3px);
}

.cta-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-badge i {
    color: #2ecc71;
    font-size: 1.2rem;
}

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

.about {
    background: #0a0a0a;
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.7;
}

.about-values {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.value-content p {
    color: #cccccc;
    margin: 0;
}

.about-visual {
    position: relative;
    height: 400px;
}

.about-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 100%;
}

.stat-item {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission and Vision Section */
.mission-vision-section {
    margin: 5rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #333333;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.mission-card:hover::before,
.vision-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.mission-card .card-icon,
.vision-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #000000;
    position: relative;
    z-index: 2;
}

.mission-card h3,
.vision-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.mission-card p,
.vision-card p {
    color: #cccccc;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Team Section */
.team-section {
    margin: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.member-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #333333;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-avatar img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-overlay .social-links {
    display: flex;
    gap: 1rem;
}

.member-overlay .social-link {
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.member-overlay .social-link:hover {
    background: #cccccc;
    transform: scale(1.1);
}

.member-info h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: #888888;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

/* Technologies Section */
.technologies-section {
    margin: 5rem 0;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.tech-category h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

.tech-category h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-item {
    background: #333333;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #444444;
}

.tech-item:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* About CTA Section */
.about-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    margin: 6rem auto 4rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.about-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.about-cta:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

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

.cta-content h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

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

/* Page Section Styling */
.page-section {
    padding-top: 8rem;
    min-height: 100vh;
}

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

.contact {
    background: #000000;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 15px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: #222222;
    border-color: #666666;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: #cccccc;
    margin: 0.3rem 0;
}

.whatsapp-link {
    color: #25D366;
    transition: color 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
}

.contact-form-container {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #333333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--card-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    align-self: flex-start;
    margin-top: 1rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333333;
}

.map-embed iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

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

.footer {
    background: var(--bg-secondary, #0a0a0a);
    border-top: 1px solid var(--border-color, #333333);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-logo span {
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

.footer-description {
    color: var(--text-secondary, #cccccc);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1rem;
    text-align: center;
    color: #999999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom i {
    color: #ff4757;
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        height: 300px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content .section-header {
        text-align: center;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
    }
    
    [data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .nav-toggle,
    .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    
    .theme-toggle {
        font-size: 1rem;
        width: 35px;
        height: 35px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* About page tablet styles */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-cta {
        padding: 3rem 2.5rem;
        margin: 5rem auto 3rem;
        max-width: 700px;
    }
    
    .portfolio-cta {
        padding: 3rem 2.5rem;
        margin: 5rem auto 3rem;
        max-width: 700px;
    }
    
    .services-cta {
        padding: 3rem 2.5rem;
        margin: 5rem auto 3rem;
        max-width: 700px;
    }
    
    .cta-content h3 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    /* Carousel responsive styles */
    .portfolio-carousel-container {
        padding: 2.5rem 0;
        min-height: 550px;
        perspective: 1200px;
    }
    
    .portfolio-carousel-3d {
        height: 500px;
    }
    
    .portfolio-slide {
        width: 380px;
        max-width: 85vw;
    }
    
    .portfolio-image-link iframe {
        height: 280px;
    }
    
    .portfolio-slide.active {
        transform: translate(-50%, -50%) translateZ(0) scale(1.05) rotateY(0deg);
    }
    
    .portfolio-slide.prev {
        transform: translate(calc(-50% - 420px), -50%) translateZ(-80px) scale(0.65) rotateY(12deg);
        opacity: 0.4;
    }
    
    .portfolio-slide.next {
        transform: translate(calc(-50% + 420px), -50%) translateZ(-80px) scale(0.65) rotateY(-12deg);
        opacity: 0.4;
    }
    
    .portfolio-slide.prev:hover {
        transform: translate(calc(-50% - 420px), -50%) translateZ(-60px) scale(0.7) rotateY(8deg);
        opacity: 0.7;
    }
    
    .portfolio-slide.next:hover {
        transform: translate(calc(-50% + 420px), -50%) translateZ(-60px) scale(0.7) rotateY(-8deg);
        opacity: 0.7;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-btn i {
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        gap: 12px;
    }
    
    .carousel-indicator.active {
        width: 40px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .portfolio-card {
        margin: 0 1rem;
    }
    
    /* Carousel mobile styles */
    .portfolio-carousel-container {
        padding: 2rem 0;
        min-height: 480px;
        perspective: 1000px;
    }
    
    .portfolio-carousel-3d {
        height: 420px;
    }
    
    .portfolio-slide {
        width: 300px;
        max-width: 88vw;
    }
    
    .portfolio-image-link iframe {
        height: 240px;
    }
    
    /* On mobile, show only center card with side previews barely visible */
    .portfolio-slide.active {
        transform: translate(-50%, -50%) translateZ(0) scale(1) rotateY(0deg);
    }
    
    .portfolio-slide.prev {
        transform: translate(calc(-50% - 280px), -50%) translateZ(-60px) scale(0.55) rotateY(18deg);
        opacity: 0.25;
        filter: brightness(0.5);
    }
    
    .portfolio-slide.next {
        transform: translate(calc(-50% + 280px), -50%) translateZ(-60px) scale(0.55) rotateY(-18deg);
        opacity: 0.25;
        filter: brightness(0.5);
    }
    
    .portfolio-slide.prev:hover,
    .portfolio-slide.next:hover {
        opacity: 0.4;
        filter: brightness(0.6);
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }
    
    .carousel-btn-prev {
        border-radius: 0 12px 12px 0;
    }
    
    .carousel-btn-next {
        border-radius: 12px 0 0 12px;
    }
    
    .carousel-btn i {
        font-size: 1.1rem;
    }
    
    .carousel-indicators {
        gap: 10px;
        margin-top: 2rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 35px;
        border-radius: 6px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    /* About page mobile styles */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-cta {
        padding: 2.5rem 2rem;
        margin: 4rem auto 2rem;
        max-width: 100%;
    }
    
    .portfolio-cta {
        padding: 2.5rem 2rem;
        margin: 4rem auto 2rem;
        max-width: 100%;
    }
    
    .services-cta {
        padding: 2.5rem 2rem;
        margin: 4rem auto 2rem;
        max-width: 100%;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .portfolio-cta h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .portfolio-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .services-cta h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .services-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
    }
    
    /* Portfolio Hero Responsive */
    .portfolio-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }
    
    .portfolio-hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-hero-subtitle {
        font-size: 1rem;
    }
    
    /* Stats Grid Responsive */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Filter Buttons Responsive */
    .portfolio-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Testimonials Responsive */
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    /* Process Timeline Responsive */
    .process-step {
        grid-template-columns: auto 1fr !important;
        gap: 1.5rem;
    }
    
    .process-step:nth-child(even) .step-content {
        order: 0;
        text-align: left;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 1.4rem;
    }
    
    .step-number {
        font-size: 5rem;
    }
    
    /* CTA Section Responsive */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-tertiary {
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .cta-trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========================================
   Small Mobile Devices (480px)
   ======================================== */

@media screen and (max-width: 480px) {
    .portfolio-hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator,
    .floating-element,
    .loader-spinner {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .portfolio-card,
    .contact-item {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Extra small screens (max-width: 360px) */
@media screen and (max-width: 360px) {
    .portfolio-carousel-container {
        min-height: 450px;
        padding: 1.5rem 0;
    }
    
    .portfolio-carousel-3d {
        height: 400px;
    }
    
    .portfolio-slide {
        width: 280px;
        max-width: 92vw;
    }
    
    .portfolio-image-link iframe {
        height: 220px;
    }
    
    .portfolio-slide.active {
        transform: translate(-50%, -50%) translateZ(0) scale(0.95) rotateY(0deg);
    }
    
    .portfolio-slide.prev {
        transform: translate(calc(-50% - 250px), -50%) translateZ(-60px) scale(0.5) rotateY(20deg);
        opacity: 0.2;
    }
    
    .portfolio-slide.next {
        transform: translate(calc(-50% + 250px), -50%) translateZ(-60px) scale(0.5) rotateY(-20deg);
        opacity: 0.2;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicator.active {
        width: 30px;
    }
}

/* ========================================
   Global Smooth Page Transitions
   ======================================== */

/* Smooth page entry animation */
body {
    animation: pageEntryFade 0.5s ease-in;
}

@keyframes pageEntryFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Universal smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth link transitions */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth button hover */
button,
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Smooth form element focus */
input,
textarea,
select {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 195, 255, 0.2);
}

/* Smooth card animations */
.service-card,
.portfolio-card,
.team-member,
.contact-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Smooth section transitions */
section {
    opacity: 0;
    animation: sectionFadeIn 0.8s ease-out forwards;
}

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

/* Performance optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU acceleration for smooth animations */
.portfolio-slide,
.testimonial-slide,
.service-card,
.gradient-orb,
.floating-particles .particle {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth modal/overlay transitions */
.modal,
.overlay {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Smooth loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Smooth hover lift effect */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scale effect */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure 60fps animations */
@media (prefers-reduced-motion: no-preference) {
    * {
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}
