/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #f97316 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 120px 0;
    --element-padding: 2rem;
    
    /* Borders */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Animations */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: var(--gray-800);
}

.loading-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.loading-logo-image {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    /* Remove filter for light background */
    animation: logoFloat 2s ease-in-out infinite;
}

.logo-text-loading {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--gray-800);
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    animation: progressLoad 3s ease-out;
}

.loading-text {
    font-size: 1.1rem;
    opacity: 0.8;
    animation: textPulse 1.5s ease-in-out infinite;
}

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

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

@keyframes textPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ===== PARTICLES SYSTEM ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 20s linear infinite;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    cursor: pointer;
    transition: transform var(--transition-normal);
    display: flex;
    align-items: center;
}

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

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.logo-image:hover {
    filter: brightness(1.1);
}

.logo-text-header {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--gray-900);
    margin-left: 0.75rem;
    transition: all var(--transition-normal);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* ===== BUTTONS ===== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover .btn-effect {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 2rem 0;
}

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(1px);
}

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

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatingMove 20s linear infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.floating-element:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: -15s;
}

@keyframes floatingMove {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(30px) rotate(240deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 4rem);
}

.hero-content {
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: heroSlideUp 1s ease-out 0.2s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    animation: heroSlideUp 1s ease-out both;
}

.title-line:nth-child(1) { animation-delay: 0.4s; }
.title-line:nth-child(2) { animation-delay: 0.6s; }
.title-line:nth-child(3) { animation-delay: 0.8s; }

.title-line.highlight {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #ffffff !important;
    opacity: 1 !important;
    margin-bottom: 2.5rem;
    animation: heroSlideUp 1s ease-out 1s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: heroSlideUp 1s ease-out 1.2s both;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: heroSlideUp 1s ease-out 1.4s both;
    margin-bottom: 2rem;
    justify-content: flex-start;
    align-items: center;
}

.stat-item {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    display: block;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    animation: heroSlideUp 1s ease-out 0.6s both;
}

.visual-container {
    position: relative;
    transform-style: preserve-3d;
    animation: visualFloat 6s ease-in-out infinite;
}

.code-window {
    background: var(--gray-900);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
}

.window-header {
    background: var(--gray-800);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.window-title {
    color: var(--gray-400);
    font-size: 0.875rem;
    font-family: var(--font-mono);
}

.code-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    animation: codeType 0.5s ease-out both;
}

.code-line:nth-child(1) { animation-delay: 2s; }
.code-line:nth-child(2) { animation-delay: 2.5s; }
.code-line:nth-child(3) { animation-delay: 3s; }
.code-line:nth-child(4) { animation-delay: 3.5s; }

.line-number {
    color: var(--gray-500);
    margin-right: 1rem;
    min-width: 20px;
}

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

.keyword { color: #c792ea; }
.variable { color: #82aaff; }
.string { color: #c3e88d; }
.function { color: #ffcb6b; }

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    font-size: 2rem;
    animation: iconFloat 4s ease-in-out infinite;
}

.tech-icon:nth-child(1) {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    bottom: -20px;
    left: -20px;
    animation-delay: 1s;
}

.tech-icon:nth-child(3) {
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

.tech-icon:nth-child(4) {
    bottom: 20%;
    left: -40px;
    animation-delay: 3s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

@keyframes visualFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(10deg) translateY(-20px);
    }
}

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

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

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

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.icon-container {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

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

.service-svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.service-card:hover .service-overlay {
    opacity: 0.05;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: var(--section-padding);
}

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

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-image {
    position: relative;
    height: 300px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder {
    text-align: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: placeholderFloat 3s ease-in-out infinite;
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.overlay-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

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

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-description {
    margin-bottom: 1rem;
    opacity: 0.9;
}

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

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 50px;
}

.view-project-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.view-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

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

/* ===== PORTFOLIO MOCKUPS ===== */

/* Mobile App Mockups */
.mobile-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.phone-frame {
    width: 180px;
    height: 320px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: #f8f9fa;
    font-size: 10px;
    font-weight: 600;
}

.time {
    color: #000;
}

.indicators {
    display: flex;
    gap: 4px;
}

.signal, .wifi, .battery {
    width: 12px;
    height: 8px;
    background: #000;
    border-radius: 1px;
}

.battery {
    border: 1px solid #000;
    background: transparent;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;
    width: 1px;
    height: 4px;
    background: #000;
}

/* Fitness App Styles */
.fitness-app .app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #4CAF50;
    color: white;
}

.fitness-app .app-header h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.profile-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.progress-ring-large {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 20px auto;
}

.progress-ring-large svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.big-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #4CAF50;
}

.label {
    font-size: 10px;
    color: #666;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    padding: 15px;
}

.stat {
    text-align: center;
}

.stat .value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.stat .unit {
    font-size: 10px;
    color: #666;
}

/* Banking App Styles */
.banking-app .app-header.banking {
    background: #1565C0;
    position: relative;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: #FF5722;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 15px;
}

.balance-card {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    color: white;
    position: relative;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 10px;
}

.card-chip {
    width: 20px;
    height: 15px;
    background: #FFD700;
    border-radius: 3px;
}

.balance {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-number {
    font-size: 12px;
    opacity: 0.8;
}

.quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 20px 15px;
}

.action-btn {
    text-align: center;
    font-size: 10px;
}

.action-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 auto 5px;
}

.action-icon.transfer {
    background: #4CAF50;
}

.action-icon.pay {
    background: #FF9800;
}

.action-icon.invest {
    background: #9C27B0;
}

/* Food App Styles */
.food-app .app-header.food {
    background: #FF5722;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location {
    font-size: 10px;
    opacity: 0.9;
}

.search-bar {
    margin: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
}

.food-categories {
    display: flex;
    gap: 8px;
    padding: 0 15px;
    margin-bottom: 15px;
}

.category {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 10px;
    white-space: nowrap;
}

.category.active {
    background: #FF5722;
    color: white;
}

.restaurant-card {
    margin: 0 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.restaurant-image {
    height: 60px;
    background: linear-gradient(45deg, #FF9800, #FF5722);
}

.restaurant-info {
    padding: 10px;
}

.restaurant-info h4 {
    font-size: 12px;
    margin: 0 0 5px 0;
}

.rating {
    font-size: 10px;
    color: #666;
}

/* Web Mockups */
.web-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.browser-frame {
    width: 280px;
    height: 200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.browser-header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.browser-controls {
    display: flex;
    gap: 6px;
    margin-right: 12px;
}

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

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.url-bar {
    flex: 1;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: #666;
}

.web-content {
    height: calc(100% - 32px);
    overflow: hidden;
}

/* SaaS Platform Styles */
.web-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.web-nav .logo {
    font-size: 12px;
    font-weight: 700;
    color: #1565C0;
}

.nav-items {
    display: flex;
    gap: 15px;
    font-size: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 15px;
}

.metric-card {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.metric-card h4 {
    font-size: 9px;
    color: #666;
    margin: 0 0 5px 0;
}

.big-metric {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.trend {
    font-size: 8px;
    font-weight: 600;
}

.trend.up {
    color: #4CAF50;
}

.chart-card {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chart-bars-mini {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 30px;
}

.chart-bars-mini .bar {
    flex: 1;
    background: #1565C0;
    border-radius: 1px;
    min-height: 4px;
}

/* Portfolio Site Styles */
.portfolio-site .web-content {
    background: #f8f9fa;
}

.hero-section {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    background: #fff;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.hero-text p {
    font-size: 10px;
    color: #666;
    margin: 0;
}

.hero-image {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 15px;
}

.work-item {
    height: 40px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Learning Platform Styles */
.web-nav.learning .logo {
    color: #4CAF50;
}

.course-hero {
    display: flex;
    padding: 15px;
    gap: 15px;
}

.course-info {
    flex: 1;
}

.course-info h2 {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.course-meta {
    display: flex;
    gap: 10px;
    font-size: 8px;
    color: #666;
    margin-bottom: 8px;
}

.progress-bar-web {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
}

.video-player {
    width: 80px;
    height: 50px;
    background: #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.play-button {
    font-size: 16px;
}

/* E-commerce Styles */
.web-nav.ecommerce .logo {
    color: #E91E63;
    font-weight: 900;
}

.product-showcase {
    display: flex;
    padding: 15px;
    gap: 15px;
}

.product-image {
    width: 80px;
    height: 100px;
    background: linear-gradient(45deg, #E91E63, #F06292);
    border-radius: 6px;
}

.product-details {
    flex: 1;
}

.product-details h3 {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.price {
    font-size: 14px;
    font-weight: 700;
    color: #E91E63;
    margin-bottom: 8px;
}

.colors {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid transparent;
}

.color.black { background: #333; }
.color.red { background: #f44336; }
.color.blue { background: #2196F3; }
.color.active { border-color: #666; }

.sizes {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.size {
    padding: 3px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 8px;
}

.size.active {
    background: #333;
    color: white;
    border-color: #333;
}

.add-to-cart {
    width: 100%;
    padding: 6px;
    background: #E91E63;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

/* Tech Store Styles */
.web-nav.tech .logo {
    color: #FF9800;
    font-weight: 700;
}

.search-bar-web {
    flex: 1;
    margin: 0 15px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 10px;
    color: #666;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 15px;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-img {
    height: 30px;
    background: linear-gradient(45deg, #FF9800, #FFC107);
    border-radius: 4px;
    margin-bottom: 5px;
}

.product-card h4 {
    font-size: 8px;
    font-weight: 600;
    margin: 0 0 3px 0;
}

.product-price {
    font-size: 10px;
    font-weight: 700;
    color: #FF9800;
    margin-bottom: 2px;
}

.product-card .rating {
    font-size: 7px;
    color: #666;
}

/* Marketplace Styles */
.web-nav.marketplace .logo {
    color: #8BC34A;
    font-weight: 700;
}

.marketplace-hero {
    padding: 15px;
}

.hero-content h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.hero-content p {
    font-size: 10px;
    color: #666;
    margin: 0 0 15px 0;
}

.featured-products {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.featured-item {
    text-align: center;
    flex: 1;
}

.item-image {
    height: 30px;
    background: linear-gradient(45deg, #8BC34A, #CDDC39);
    border-radius: 6px;
    margin-bottom: 5px;
}

.featured-item span {
    font-size: 8px;
    color: #666;
}

.seller-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.seller-stats .stat {
    text-align: center;
}

.seller-stats .number {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #8BC34A;
}

.seller-stats .label {
    font-size: 8px;
    color: #666;
}

/* Responsive adjustments for mockups */
@media (max-width: 768px) {
    .phone-frame {
        width: 160px;
        height: 280px;
    }
    
    .browser-frame {
        width: 250px;
        height: 180px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

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

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

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.feature-svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

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

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.team-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.showcase-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.showcase-item:hover::before {
    opacity: 0.05;
}

.item-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.showcase-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.showcase-item p {
    color: var(--gray-600);
    position: relative;
    z-index: 2;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    color: var(--white);
}

.contact-section .section-badge {
    background: var(--secondary-color);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p {
    opacity: 0.8;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
    background: var(--gray-800);
    color: var(--white);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-logo-image {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all var(--transition-normal);
    /* Remove filter to show favicon in original colors */
}

.footer-logo-image:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.logo-text-footer {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-left: 0.75rem;
    transition: all var(--transition-normal);
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center;
}

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

.link-group h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color var(--transition-normal);
}

.link-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-description {
        max-width: 100%;
        color: #ffffff !important;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-description {
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-section {
        padding: 120px 0 2rem;
        min-height: calc(100vh + 40px);
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
        min-height: calc(100vh - 140px);
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
        color: #ffffff !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        justify-content: center;
    }
    
    .team-showcase {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .logo-text-header {
        font-size: 1.25rem;
        margin-left: 0.5rem;
    }
    
    .loading-logo-image {
        height: 60px;
        max-width: 200px;
    }
    
    .logo-text-loading {
        font-size: 2rem;
    }
    
    .footer-logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .logo-text-footer {
        font-size: 1.25rem;
        margin-left: 0.5rem;
    }
    
    .hero-container {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: #ffffff !important;
    }
    
    .hero-buttons {
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 0.5rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .code-window {
        transform: none;
    }
    
    .tech-icon {
        display: none;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero-section,
    .loading-screen,
    .particles-container,
    .floating-elements {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}
