/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f0f23 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

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

.bg-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(17, 64, 112, 0.1), rgba(116, 193, 160, 0.1));
    animation: float 6s ease-in-out infinite;
}

.bg-element-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.bg-element-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.bg-element-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

.loader {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 3rem;
    animation: logoEntry 1.2s ease-out;
}

.logo-mark {
    position: relative;
    display: inline-block;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-layers {
    position: relative;
    width: 60px;
    height: 60px;
}

.layer {
    position: absolute;
    border-radius: 12px;
    background: linear-gradient(135deg, #114070, #74C1A0);
}

.layer-1 {
    width: 60px;
    height: 60px;
    opacity: 0.3;
    animation: layerPulse 2s ease-in-out infinite;
    animation-delay: 0s;
}

.layer-2 {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    opacity: 0.6;
    animation: layerPulse 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.layer-3 {
    width: 20px;
    height: 20px;
    top: 20px;
    left: 20px;
    opacity: 1;
    background: linear-gradient(135deg, #fff, #f0f9ff);
    animation: layerPulse 2s ease-in-out infinite;
    animation-delay: 0.6s;
}

.loading-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff, #114070, #74C1A0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.progress-container {
    margin: 3rem 0 2rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #114070, #74C1A0, #114070);
    background-size: 200% 100%;
    border-radius: 2px;
    width: 0%;
    animation: progressLoad 3s cubic-bezier(0.4, 0, 0.2, 1) infinite,
               progressShimmer 2s linear infinite;
}

.loading-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: dotBounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

/* Animations */
@keyframes logoEntry {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

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

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

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Responsive adjustments for loading screen */
@media (max-width: 768px) {
    .loading-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-layers {
        width: 45px;
        height: 45px;
    }
    
    .layer-1 {
        width: 45px;
        height: 45px;
    }
    
    .layer-2 {
        width: 30px;
        height: 30px;
        top: 7px;
        left: 7px;
    }
    
    .layer-3 {
        width: 15px;
        height: 15px;
        top: 15px;
        left: 15px;
    }
    
    .progress-container {
        max-width: 250px;
        margin: 2rem auto;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #114070;
    --primary-dark: #0d2f56;
    --secondary-color: #74C1A0;
    --accent-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #114070 0%, #74C1A0 100%);
    --gradient-secondary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #74C1A0 0%, #06b6d4 100%);
}

[data-theme="dark"] {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #1e293b;
    --bg-secondary: #0f172a;
    --bg-dark: #000000;
    --border-color: #334155;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Header Styles - Modern Overhaul */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    transform: translateY(0);
}

/* Scroll Effects */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header.nav-hidden {
    transform: translateY(-100%);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 0.5rem 0;
    position: relative;
}

.nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    min-height: 50px;
}

.nav-left {
    flex: 0 0 auto;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Simple Logo Design */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-svg {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

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

/* Fixed Modern Navigation Menu */
.nav-menu-wrapper {
    display: flex;
    justify-content: center;
}

[data-theme="dark"] .nav-menu-wrapper {
    background: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
}

[data-theme="dark"] .nav-menu {
    background: transparent;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-icon {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-text {
    transition: all 0.3s ease;
}

.nav-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.08);
}

[data-theme="dark"] .nav-link {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

[data-theme="dark"] .nav-indicator {
    background: #60a5fa;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
    transform: scale(1.05);
}

/* Removed dropdown functionality */

/* Fixed Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

[data-theme="dark"] .nav-actions {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 0.25rem;
}

/* Removed search button styles */

.theme-toggle.modern {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon-wrapper {
    position: relative;
    width: 18px;
    height: 18px;
}

.light-icon,
.dark-icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    font-size: 16px;
}

.light-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dark-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .light-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .dark-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle.modern:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle.modern {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .theme-toggle.modern:hover {
    background: rgba(148, 163, 184, 0.2);
    color: var(--primary-color);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
    margin: 0 0.5rem;
}

[data-theme="dark"] .nav-divider {
    background: rgba(148, 163, 184, 0.3);
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .cta-button {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: white;
}

[data-theme="dark"] .cta-button:hover {
    background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.cta-button:hover i {
    transform: translateX(2px);
}

/* Fixed Mobile Menu Toggle */
.nav-toggle.modern {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
}

.nav-toggle.modern:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

[data-theme="dark"] .nav-toggle.modern {
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .nav-toggle.modern:hover {
    background: rgba(148, 163, 184, 0.2);
    border-color: var(--primary-color);
}

[data-theme="dark"] .line {
    background: var(--text-primary);
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 20px;
    height: 14px;
    justify-content: space-between;
}

.line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
    transform-origin: center;
}

.menu-text {
    display: none;
}

.nav-toggle.modern.active .line1 {
    transform: translateY(5px) rotate(45deg);
}

.nav-toggle.modern.active .line2 {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.modern.active .line3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Removed problematic background effects */

/* Main Content */
.main-content {
    padding-top: 70px;
}

.page-section {
    display: none;
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
}

#home.page-section {
    min-height: auto;
    padding: 0;
}

.page-section.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(17, 64, 112, 0.8) 0%, rgba(116, 193, 160, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

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

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

/* Enhanced Hero Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.code-snippet {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    pointer-events: none;
}

/* Color variations for different code types */
.code-js { color: rgba(255, 206, 84, 0.3); animation: float-up-fast 8s linear infinite; }
.code-react { color: rgba(97, 218, 251, 0.3); animation: float-up-medium 10s linear infinite; }
.code-npm { color: rgba(203, 56, 55, 0.3); animation: float-up-slow 12s linear infinite; }
.code-git { color: rgba(240, 81, 51, 0.3); animation: float-up-zigzag 9s linear infinite; }
.code-docker { color: rgba(72, 187, 120, 0.3); animation: float-up-wave 11s linear infinite; }
.code-sql { color: rgba(102, 126, 234, 0.3); animation: float-up-fast 7s linear infinite; }
.code-python { color: rgba(56, 178, 172, 0.3); animation: float-up-medium 9s linear infinite; }
.code-html { color: rgba(237, 100, 166, 0.3); animation: float-up-slow 10s linear infinite; }
.code-css { color: rgba(139, 92, 246, 0.3); animation: float-up-zigzag 8s linear infinite; }
.code-ts { color: rgba(59, 130, 246, 0.3); animation: float-up-wave 10s linear infinite; }
.code-api { color: rgba(34, 197, 94, 0.3); animation: float-up-fast 9s linear infinite; }
.code-devops { color: rgba(249, 115, 22, 0.3); animation: float-up-medium 11s linear infinite; }

/* Positioning with much more variety */
.code-snippet:nth-child(1) { left: 5%; animation-delay: 0s; }
.code-snippet:nth-child(2) { left: 12%; animation-delay: -1s; }
.code-snippet:nth-child(3) { left: 19%; animation-delay: -2s; }
.code-snippet:nth-child(4) { left: 26%; animation-delay: -3s; }
.code-snippet:nth-child(5) { left: 33%; animation-delay: -4s; }
.code-snippet:nth-child(6) { left: 40%; animation-delay: -5s; }
.code-snippet:nth-child(7) { left: 47%; animation-delay: -6s; }
.code-snippet:nth-child(8) { left: 54%; animation-delay: -7s; }
.code-snippet:nth-child(9) { left: 61%; animation-delay: -0.5s; }
.code-snippet:nth-child(10) { left: 68%; animation-delay: -1.5s; }
.code-snippet:nth-child(11) { left: 75%; animation-delay: -2.5s; }
.code-snippet:nth-child(12) { left: 82%; animation-delay: -3.5s; }
.code-snippet:nth-child(13) { left: 89%; animation-delay: -4.5s; }
.code-snippet:nth-child(14) { left: 96%; animation-delay: -5.5s; }
.code-snippet:nth-child(15) { left: 8%; animation-delay: -6.5s; }
.code-snippet:nth-child(16) { left: 15%; animation-delay: -7.5s; }
.code-snippet:nth-child(17) { left: 22%; animation-delay: -8.5s; }
.code-snippet:nth-child(18) { left: 29%; animation-delay: -9.5s; }
.code-snippet:nth-child(19) { left: 36%; animation-delay: -0.2s; }
.code-snippet:nth-child(20) { left: 43%; animation-delay: -1.2s; }
.code-snippet:nth-child(21) { left: 50%; animation-delay: -2.2s; }
.code-snippet:nth-child(22) { left: 57%; animation-delay: -3.2s; }
.code-snippet:nth-child(23) { left: 64%; animation-delay: -4.2s; }
.code-snippet:nth-child(24) { left: 71%; animation-delay: -5.2s; }
.code-snippet:nth-child(25) { left: 78%; animation-delay: -6.2s; }
.code-snippet:nth-child(26) { left: 85%; animation-delay: -7.2s; }
.code-snippet:nth-child(27) { left: 92%; animation-delay: -8.2s; }
.code-snippet:nth-child(28) { left: 3%; animation-delay: -9.2s; }
.code-snippet:nth-child(29) { left: 17%; animation-delay: -0.8s; }
.code-snippet:nth-child(30) { left: 24%; animation-delay: -1.8s; }
.code-snippet:nth-child(31) { left: 31%; animation-delay: -2.8s; }
.code-snippet:nth-child(32) { left: 38%; animation-delay: -3.8s; }
.code-snippet:nth-child(33) { left: 45%; animation-delay: -4.8s; }
.code-snippet:nth-child(34) { left: 52%; animation-delay: -5.8s; }
.code-snippet:nth-child(35) { left: 59%; animation-delay: -6.8s; }
.code-snippet:nth-child(36) { left: 66%; animation-delay: -7.8s; }
.code-snippet:nth-child(37) { left: 73%; animation-delay: -8.8s; }
.code-snippet:nth-child(38) { left: 80%; animation-delay: -9.8s; }
.code-snippet:nth-child(39) { left: 87%; animation-delay: -0.3s; }
.code-snippet:nth-child(40) { left: 94%; animation-delay: -1.3s; }

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

@keyframes float-up-fast {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float-up-medium {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float-up-slow {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float-up-zigzag {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        transform: translateY(75vh) translateX(20px);
    }
    50% {
        transform: translateY(50vh) translateX(-20px);
    }
    75% {
        transform: translateY(25vh) translateX(15px);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(0px);
        opacity: 0;
    }
}

@keyframes float-up-wave {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translateY(80vh) translateX(10px);
    }
    40% {
        transform: translateY(60vh) translateX(-10px);
    }
    60% {
        transform: translateY(40vh) translateX(8px);
    }
    80% {
        transform: translateY(20vh) translateX(-8px);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(0px);
        opacity: 0;
    }
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(17, 64, 112, 0.2), rgba(116, 193, 160, 0.2));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

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

.title-line-1 {
    display: block;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.title-line-2 {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.feature-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

/* Social Proof Stats */
.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.proof-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.trust-item span {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

[data-theme="dark"] .trust-item {
    background: rgba(30, 41, 59, 0.9);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
#services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

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

/* Service Badge */
.service-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 16px 0 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Featured Service Card */
.service-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.service-card.featured:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Service Features */
.service-features {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Service Stats */
.service-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

/* Service Button - Always at bottom center */
.service-card .btn {
    margin-top: auto;
    align-self: center;
    min-width: 150px;
}

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

.service-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.service-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Service Process */
.service-process {
    margin-top: 4rem;
    padding: 3rem 0;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.service-process h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(50%);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.filter-btn.active {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    background-clip: padding-box;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.filter-btn i {
    font-size: 1rem;
}

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

.project-card.filtered-out {
    display: none;
}

.project-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

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

/* Project Header Styles */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.development {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.project-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Project Stats */
.project-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* E-commerce Mockup */
.mockup-browser {
    width: 90%;
    max-width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.85);
}

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

.browser-dots {
    display: flex;
    gap: 4px;
}

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

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

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

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

.browser-content {
    padding: 12px;
    background: #f8f9fa;
    min-height: 160px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.shop-logo {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
}

.shop-nav {
    display: flex;
    gap: 8px;
}

.nav-item {
	position: relative;
	width: 100%;
    font-size: 8px;
    color: #666;
    padding: 2px 4px;
    border-radius: 2px;
	background: transparent;
}

.shop-products {
    display: flex;
    gap: 8px;
}

.product-card {
    background: white;
    border-radius: 4px;
    padding: 6px;
    flex: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}


/* CRM Dashboard Mockup */
.mockup-dashboard {
    width: 90%;
    max-width: 320px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    display: flex;
}

.dashboard-sidebar {
    width: 80px;
    background: #2c3e50;
    padding: 12px 8px;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-item i {
    color: #bdc3c7;
    font-size: 12px;
}

.sidebar-item span {
    color: #bdc3c7;
    font-size: 6px;
    text-align: center;
}

.sidebar-item.active i,
.sidebar-item.active span {
    color: white;
}

.dashboard-content {
    flex: 1;
    padding: 12px;
    background: #f8f9fa;
}

.dashboard-header {
    font-size: 12px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.dashboard-cards {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.dash-card {
    background: white;
    padding: 8px;
    border-radius: 4px;
    flex: 1;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dash-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.dash-label {
    font-size: 6px;
    color: #666;
    text-transform: uppercase;
}

.dashboard-chart {
    background: white;
    border-radius: 4px;
    padding: 8px;
    height: 60px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.chart-bars {
    display: flex;
    gap: 4px;
    height: 100%;
    align-items: end;
}

.bar {
    width: 12px;
    background: var(--gradient-primary);
    border-radius: 2px 2px 0 0;
    min-height: 8px;
}

/* Mobile Phone Mockup */
.phone-frame {
    width: 120px;
    height: 240px;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 8px;
    position: relative;
    transform: scale(0.9);
}

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

.phone-statusbar {
    background: linear-gradient(135deg, #114070 0%, #74C1A0 100%);
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8px;
    color: white;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.status-icons i {
    font-size: 8px;
}

.phone-content {
    background: #f8f9fa;
    height: calc(100% - 20px);
    padding: 8px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-logo {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.app-header i {
    color: #666;
    font-size: 10px;
}

.balance-card {
    background: linear-gradient(135deg, #114070 0%, #74C1A0 100%);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    color: white;
    text-align: center;
}

.balance-title {
    font-size: 8px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 16px;
    font-weight: 700;
}

.quick-actions {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.action-item {
    background: white;
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
    flex: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.action-item i {
    color: var(--primary-color);
    font-size: 12px;
    margin-bottom: 2px;
}

.action-item span {
    font-size: 6px;
    color: #666;
    display: block;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.demo-link {
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Projects Section */
#projects {
    background: var(--bg-secondary);
}

/* About Section */
#about {
    background: var(--bg-secondary);
}

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

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-showcase {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    max-width: 650px;
    width: 100%;
}

.team-showcase h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.team-member {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.member-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.team-member:hover .avatar-circle {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.status-indicator {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    bottom: 4px;
    right: 4px;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-indicator.online {
    background: #10b981;
}

.status-indicator.busy {
    background: #f59e0b;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.member-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.member-skills {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.skill-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
}

.skill-badge:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.team-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
}

.team-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
    flex: 1;
}

.team-stat:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.team-stat i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Technical Skills Section */
.tech-skills {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.skills-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skills-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.skill-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.skill-category h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h4 i {
    color: var(--primary-color);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skill-item:hover i {
    color: white;
    transform: scale(1.1);
}

.skill-item span {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.skill-item:hover span {
    color: white;
}

/* Enhanced Tech Skills */
.tech-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tech-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tech-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tech-filter-btn.active {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    background-clip: padding-box;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.skill-category.hidden {
    display: none;
}

.skill-item {
    position: relative;
    overflow: visible;
}

.skill-level {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1s ease-out;
    width: 0 !important;
}

.skill-item.animate .skill-bar {
    width: var(--skill-width) !important;
}

.skill-tooltip {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.skill-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bg-dark);
}

.skill-tooltip h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.skill-tooltip p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.skill-projects {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.skill-item:hover .skill-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}


/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    border-top-color: var(--border-color);
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-cta {
    margin-top: 4rem;
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.cta-content p {
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

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

/* Testimonials Section */
#testimonials {
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Contact Section */
#contact {
    background: var(--bg-secondary);
}

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

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

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

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

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form Styles */
.contact-form {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Select dropdown options styling for dark mode compatibility */
.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Dark mode specific overrides for select dropdown */
[data-theme="dark"] .form-group select {
    color-scheme: dark;
}

[data-theme="dark"] .form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Placeholder text dark mode compatibility */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Dark mode fixes for project tags */
[data-theme="dark"] .tag {
    background: rgba(116, 193, 160, 0.15);
    color: #74C1A0;
    border: 1px solid rgba(116, 193, 160, 0.3);
}

/* Dark mode fixes for stat item icons */
[data-theme="dark"] .stat-item i {
    color: #74C1A0;
}

/* Dark mode fixes for tech tags */
[data-theme="dark"] .tech-tag {
    background: linear-gradient(135deg, #74C1A0, #06b6d4);
    color: white;
}

/* Dark mode fixes for team member skill badges */
[data-theme="dark"] .skill-badge {
    background: rgba(116, 193, 160, 0.15);
    color: #74C1A0;
    border: 1px solid rgba(116, 193, 160, 0.3);
}

/* Dark mode fixes for technology stack icons */
[data-theme="dark"] .skill-item i {
    color: #74C1A0;
}

/* Dark mode fixes for trust indicators icons */
[data-theme="dark"] .trust-item i {
    color: #74C1A0;
}

/* Dark mode fixes for skill category icons */
[data-theme="dark"] .skill-category h4 i {
    color: #74C1A0;
}

/* Dark mode fixes for team statistics icons */
[data-theme="dark"] .team-stat i {
    color: #74C1A0;
}

/* Dark mode fixes for hero secondary button - match header CTA button color */
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-hero-secondary {
    color: #74C1A0;
    border-color: #74C1A0;
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-hero-secondary:hover {
    background: #74C1A0;
    color: #1e293b;
}

/* Form validation states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.field-error::before {
    content: '⚠️';
    font-size: 0.75rem;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.success::before {
    content: '✅';
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message.error::before {
    content: '❌';
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* Advanced Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-delay {
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.fade-in-delay-3 {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.fade-in-delay-4 {
    animation: fadeIn 0.6s ease-out 0.4s both;
}

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

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.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;
}

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

/* Card reveal animations */
.service-card,
.project-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-card.animate,
.project-card.animate,
.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* Pulse animation for important elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-15px); }
    70% { transform: translateY(-8px); }
    90% { transform: translateY(-3px); }
}

.bounce {
    animation: bounce 1s ease-in-out;
}

/* Typewriter effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: typewriter 3s steps(30) 1s 1 normal both,
               blink 1s steps(30) infinite normal;
}

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.5);
        --border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-project-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>');
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
}

.modal-project-info h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.modal-details ul {
    list-style: none;
    padding: 0;
}

.modal-details li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.modal-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}


.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* WhatsApp Chat Integration */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 2rem;
    color: white;
}

.chat-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--bg-dark);
}

.whatsapp-button:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
}

.chat-window.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: #25d366;
    padding: 1rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.chat-info h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.chat-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.chat-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    padding: 1.5rem;
}

.chat-message {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.chat-message p {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    line-height: 1.4;
}

.chat-message p:last-child {
    margin-bottom: 0;
}

.quick-replies {
    display: grid;
    gap: 0.5rem;
}

.quick-reply {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-align: left;
}

.quick-reply:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu-wrapper {
        display: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    /* Removed search button responsive styles */
    
    .theme-toggle.modern {
        width: 32px;
        height: 32px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .nav-toggle.modern {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-svg {
        height: 45px;
    }
    
    .nav-actions {
        gap: 0.25rem;
    }
    
    /* Removed mobile search button styles */
    
    .theme-toggle.modern {
        width: 36px;
        height: 36px;
    }
    
    .cta-button {
        display: none;
    }
    
    .nav-divider {
        display: none;
    }
    
    /* Hide original nav-menu-wrapper on mobile */
    .nav-menu-wrapper {
        display: none;
    }
    
    /* Independent Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-container {
        position: absolute;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 400px;
        height: 100%;
        background: var(--bg-primary);
        transition: left 0.3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-menu-overlay.active .mobile-menu-container {
        left: 0;
    }
    
    /* Mobile Navigation Menu */
    .mobile-nav-menu {
        list-style: none;
        padding: 6rem 1rem 2rem;
        margin: 0;
        flex: 1;
    }
    
    .mobile-nav-menu .nav-link {
        display: flex;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        justify-content: flex-start;
        margin-bottom: 0.5rem;
        text-decoration: none;
        color: var(--text-primary);
        align-items: center;
        gap: 0.75rem;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-menu .nav-link:hover,
    .mobile-nav-menu .nav-link.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }
    
    [data-theme="dark"] .mobile-nav-menu .nav-link {
        background: rgba(30, 41, 59, 0.6);
        border: 1px solid rgba(148, 163, 184, 0.2);
        color: var(--text-primary);
    }
    
    [data-theme="dark"] .mobile-nav-menu .nav-link:hover,
    [data-theme="dark"] .mobile-nav-menu .nav-link.active {
        background: rgba(96, 165, 250, 0.2);
        border-color: #60a5fa;
        color: #60a5fa;
    }
    
    .mobile-nav-menu .nav-icon {
        font-size: 1rem;
    }
    
    /* Removed mobile dropdown styles */
    
    /* Mobile Menu Close Button */
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        font-size: 1.5rem;
        color: var(--text-primary);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-close:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
    
    /* Mobile CTA Section */
    .mobile-cta {
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }
    
    .mobile-cta .cta-button {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    /* Hero Section Mobile Styles */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle-title {
        font-size: 1.4rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        height: 300px;
        position: relative;
        margin-top: 2rem;
    }

    .floating-card {
        position: static;
        margin: 1rem;
        display: inline-flex;
    }

    /* Grid Layout Mobile Styles */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Service Card Mobile Adjustments */
    .service-card {
        padding: 2rem 1.5rem;
        min-height: 450px;
    }

    .service-card .btn {
        margin-top: auto;
        min-width: 120px;
        padding: 0.8rem 1.5rem;
    }

    .service-card.featured {
        transform: none;
        margin-bottom: 1rem;
    }

    .service-card.featured:hover {
        transform: translateY(-3px);
    }

    .service-badge {
        top: 1rem;
        right: 1rem;
        border-radius: 8px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .service-features {
        margin: 1rem 0;
        padding: 1rem 0;
    }

    .feature-group {
        margin-bottom: 1rem;
    }

    .tech-tags {
        gap: 0.3rem;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .service-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
        margin: 1rem 0;
    }

    .service-stats .stat-number {
        font-size: 1.2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .service-process {
        margin-top: 2rem;
        padding: 2rem 0;
    }

    .service-process h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-study-card {
        margin-bottom: 2rem;
    }

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

    /* Section Styling Mobile */
    .section-title {
        font-size: 2rem;
    }

    .roi-calculator-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .roi-chart {
        width: 200px;
        margin: 0 auto;
    }

    .container {
        padding: 0 15px;
    }
}

/* Case Studies Section Styles */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.case-study-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

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

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #114070 0%, #74C1A0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.company-logo.fintech {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.company-logo.healthcare {
    background: linear-gradient(135deg, #74C1A0 0%, #06b6d4 100%);
}

.company-info h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.industry {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.case-study-duration {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.challenge, .solution, .results {
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
}

.challenge {
    border-left: 4px solid #ff6b6b;
}

.solution {
    border-left: 4px solid #4ecdc4;
}

.results {
    border-left: 4px solid #45b7d1;
}

.challenge h4, .solution h4, .results h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.challenge h4 {
    color: #ff6b6b;
}

.solution h4 {
    color: #4ecdc4;
}

.results h4 {
    color: #45b7d1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ROI Calculator Section */
.roi-calculator-section {
    background: linear-gradient(135deg, #114070 0%, #74C1A0 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    color: white;
}

.roi-content h3 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
}

.roi-content p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

.roi-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.roi-chart {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    height: 120px;
    width: 300px;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 20px;
}

.bar:hover {
    background: rgba(255, 255, 255, 0.5);
}

.bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Team Section Responsive Design */
@media (max-width: 1024px) {
    .team-showcase {
        max-width: 550px;
        padding: 2.5rem;
    }
    
    .team-showcase h3 {
        font-size: 1.6rem;
    }
    
    .avatar-circle {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }
    
    .member-info h4 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .team-showcase {
        max-width: 100%;
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .team-showcase h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 1.6rem;
        margin: 0 auto;
    }
    
    .member-info {
        width: 100%;
    }
    
    .member-info h4 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .member-role {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .member-skills {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .team-stat {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .team-stat i {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
    
    .team-stat .stat-number {
        font-size: 1.25rem;
    }
    
    .team-stat .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .team-showcase {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .team-showcase h3 {
        font-size: 1.35rem;
    }
    
    .team-member {
        padding: 1.25rem;
    }
    
    .avatar-circle {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
    
    .skill-badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .team-stats {
        gap: 0.75rem;
    }
    
    .team-stat {
        padding: 0.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .team-stat i {
        font-size: 1.1rem;
    }
    
    .team-stat .stat-number {
        font-size: 1.1rem;
    }
    
    .team-stat .stat-label {
        font-size: 0.7rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 2rem 0;
    line-height: 1.7;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

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

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.legal-section h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.legal-section ul li::marker {
    color: var(--accent-color);
}

.contact-info {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.legal-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Legal page links */
.legal-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: var(--accent-color);
}

/* Responsive design for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 1rem 0;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .contact-info i {
        width: auto;
    }
}