/* Import professional fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Source+Serif+Pro:wght@400;600;700;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Accessibility - Screen reader only text */
.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;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* Enhanced color palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary-color: #0f172a;
    --accent-color: #06b6d4;
    --accent-light: #67e8f9;
    --accent-dark: #0891b2;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-lightest: #94a3b8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-900: #0f172a;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Enhanced shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Color shadows for enhanced depth */
    --shadow-primary: 0 10px 25px -3px rgba(99, 102, 241, 0.3);
    --shadow-accent: 0 10px 25px -3px rgba(6, 182, 212, 0.3);
    --shadow-success: 0 10px 25px -3px rgba(34, 197, 94, 0.3);
    
    /* Advanced gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #f1f5f9 50%, #ffffff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Improved border radius */
    --border-radius-xs: 0.25rem;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-3xl: 2rem;
    --border-radius-full: 9999px;
    
    /* Enhanced transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    
    /* Letter spacing */
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    
    /* Line height */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
}

/* Smooth scrolling and base styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga' 1, 'kern' 1;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Selection styles */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Container improvements */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* Enhanced Navigation with Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(250%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

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

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

.navbar.scrolled .nav-container {
    padding: 1rem 2rem;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all var(--transition-bounce);
    position: relative;
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius-2xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.nav-logo:hover::before {
    opacity: 1;
}

.nav-logo:hover {
    transform: scale(1.08) rotate(1deg);
}

.logo-text {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
    position: relative;
    transition: all var(--transition-normal);
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var (--border-radius-full);
    transform: scaleX(0);
    transition: transform var(--transition-bounce);
    transform-origin: left;
}

.nav-logo:hover .logo-text::after {
    transform: scaleX(1);
}

.logo-subtitle {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: 700;
    margin-top: -2px;
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.nav-logo:hover .logo-subtitle {
    opacity: 1;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
    position: relative;
    padding: 1rem 0;
    letter-spacing: var(--letter-spacing-wider);    text-transform: uppercase;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left var(--transition-slow);
}

.nav-link:hover::before {
    left: 100%;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-bounce);
    transform: translateX(-50%);
    border-radius: var(--border-radius-full);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.hamburger:hover {
    background: var(--gray-100);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all var(--transition-normal);
    border-radius: var(--border-radius-full);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Spectacular Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 140px 2rem 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(60px) translateY(60px); }
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 3;
    position: relative;
}

.hero-title {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: var(--line-height-tight);
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: var(--letter-spacing-tight);
    animation: fadeInUp 0.8s ease-out;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.3em;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    z-index: -1;
    border-radius: var(--border-radius-full);
}

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: var(--line-height-relaxed);
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    border-radius: var(--border-radius-2xl);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-base);
    transition: all var(--transition-bounce);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-lg);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left var(--transition-slow);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-bounce);
}

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

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary), var(--shadow-xl);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-primary), var(--shadow-2xl);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-primary), var(--shadow-xl);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 600px;
    z-index: 2;
}

.floating-cards {
    position: relative;
    width: 450px;
    height: 450px;
}

.card {
    position: absolute;
    background: var(--gradient-card);
    border-radius: var(--border-radius-3xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: float 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-3xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.card:hover::before {
    opacity: 0.2;
}

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

.card i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.card:hover i {
    transform: scale(1.1);
}

.card span {
    font-weight: 800;
    color: var(--text-dark);
    font-size: var(--font-size-xl);
    text-align: center;
    letter-spacing: var(--letter-spacing-wide);
    transition: all var(--transition-normal);
}

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

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.card-2 {
    top: 120px;
    right: 0;
    animation-delay: 2.5s;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
}

.card-3 {
    bottom: 0;
    left: 100px;
    animation-delay: 5s;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

@keyframes float {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
    20% { 
        transform: translateY(-40px) translateX(20px) rotate(5deg); 
    }
    40% { 
        transform: translateY(-20px) translateX(-15px) rotate(-3deg); 
    }
    60% { 
        transform: translateY(-50px) translateX(25px) rotate(7deg); 
    }
    80% { 
        transform: translateY(-10px) translateX(-20px) rotate(-2deg); 
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 4;
    opacity: 1;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    transition: left var(--transition-slow);
}

.scroll-arrow:hover::before {
    left: 100%;
}

.scroll-arrow:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-primary), var(--shadow-xl);
}

.scroll-arrow i {
    font-size: 1.25rem;
    color: var(--primary-color);
    animation: bounce 2s ease-in-out infinite;
    transition: all var(--transition-normal);
}

.scroll-arrow:hover i {
    color: var(--primary-light);
    transform: scale(1.2);
}

.scroll-text {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    opacity: 0.8;
    transition: all var(--transition-normal);
}

.scroll-indicator:hover .scroll-text {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
}

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

/* Enhanced Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.02) 0%, transparent 50%);
    background-size: 600px 600px, 800px 800px, 400px 400px;
    background-position: 0% 0%, 100% 100%, 50% 50%;
    animation: backgroundShift 20s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.015"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.6;
}

@keyframes backgroundShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%; 
    }
    50% { 
        background-position: 20% 20%, 80% 80%, 60% 40%; 
    }
}

.services::after {
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.02"><path d="M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm40 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z"/></g></svg>') repeat;
    opacity: 0.5;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-sm);
    opacity: 1 !important;
    transform: none !important;
}

.section-header h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: var(--letter-spacing-tight);
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    opacity: 1 !important;
    transform: none !important;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 3;
    opacity: 1 !important;    transform: none !important;
}

/* Ensure section-header is always visible regardless of fade-in-up class */
.section-header.fade-in-up,
.section-header.fade-in-up h2,
.section-header.fade-in-up p {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

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

/* Ensure service cards are always visible */
.service-card {
    opacity: 1 !important;
    transform: none !important;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    padding: 3.5rem 3rem;
    border-radius: 28px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08), 
        0 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-bounce);
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    right: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: all var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl), var(--shadow-primary);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.service-card:hover::after {
    opacity: 1;
    top: -50%;
    right: -50%;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-bounce);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-2xl);
    opacity: 0.3;
    filter: blur(15px);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.15);
    box-shadow: var(--shadow-primary), var(--shadow-2xl);
}

.service-card:hover .service-icon::before {
    opacity: 0.6;
    filter: blur(20px);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--white);
    transition: all var(--transition-bounce);
    position: relative;
    z-index: 2;
}

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

/* Enhanced Service Card Content Styling */
.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.025em;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover h3 {
    color: #6366f1;
    transform: translateY(-2px);
}

.service-card p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover p {
    color: #475569;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    padding: 0;
}

.service-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #64748b;
    transition: all 0.4s ease;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    transition: all 0.4s ease;
}

.service-card:hover ul li::before {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.service-card:hover ul li {
    color: #475569;
    transform: translateX(3px);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-cta::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.6s ease;
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.service-cta i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-cta:hover i {
    transform: translateX(4px);
}

.service-card:hover .service-cta {
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.5);
}

/* Spectacular Stats Section */
.stats {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="25" cy="25" r="25"/><circle cx="75" cy="75" r="25"/></g></svg>') repeat;
    animation: backgroundFloat 30s linear infinite;
}

@keyframes backgroundFloat {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(100px) translateY(100px); }
}

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

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-2xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-2xl);
}

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Source Serif Pro', serif;
    line-height: 1;
    animation: countUp 2s ease-out;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-full);
}

.stat-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    line-height: var(--line-height-normal);
}

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

/* Spectacular CTA Section */
.cta {
    padding: 150px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.03"><circle cx="60" cy="60" r="3"/><circle cx="20" cy="20" r="2"/><circle cx="100" cy="20" r="2"/><circle cx="20" cy="100" r="2"/><circle cx="100" cy="100" r="2"/></g></svg>') repeat;
    animation: float 30s linear infinite;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    transform: none !important;
}

.cta h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    position: relative;
}

.cta h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.cta p {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: var(--line-height-relaxed);
    font-weight: 400;
}

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

.cta .btn {
    padding: 1.25rem 3rem;
    font-size: var(--font-size-lg);
    border-radius: var(--border-radius-2xl);
    font-weight: 700;
}

.cta .btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary), var(--shadow-xl);
}

.cta .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-primary), var(--shadow-2xl);
}

.cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.05);
}

/* Enhanced Footer Section */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.02"><rect x="0" y="0" width="30" height="30"/><rect x="30" y="30" width="30" height="30"/></g></svg>') repeat;
}

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

.footer-section {
    position: relative;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.footer-section h3 {
    font-family: 'Source Serif Pro', serif;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: var(--border-radius-full);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
    transition: transform var(--transition-fast);
}

.footer-section li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

.footer-section a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: var(--white);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-primary);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.social-links a i {
    font-size: var(--font-size-lg);
    color: inherit;
    transition: all var(--transition-normal);
    line-height: 1;
    display: block;
    text-align: center;
}

.social-links a:hover i {
    color: var(--white);
    transform: scale(1.1);
}

/* Enhanced brand-specific hover colors for professional look */
.social-links a[aria-label="LinkedIn"]:hover {
    background: #0077b5 !important;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-links a[aria-label="Twitter"]:hover {
    background: #000000 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-links a[aria-label="Facebook"]:hover {
    background: #1877f2 !important;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
    transition: all var(--transition-normal);
}

.contact-info p:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

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

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

.footer-bottom p {
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Enhanced Page Header Styles */
.page-header {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><polygon points="50,0 60,40 100,50 60,60 50,100 40,60 0,50 40,40"/></g></svg>') repeat;
    animation: backgroundFloat 40s linear infinite;
}

@keyframes backgroundFloat {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(100px) translateY(100px); }
}

.page-header h1 {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-full);
}

.page-header p {
    font-size: var(--font-size-xl);
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: var(--letter-spacing-wide);
    line-height: var(--line-height-relaxed);
}

/* Enhanced About Page Styles */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.lead {
    font-size: var(--font-size-xl);
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: var(--line-height-relaxed);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.values {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.value-item:hover i {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.value-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: var(--font-size-lg);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-wide);
}

.value-item p {
    color: var(--text-medium);
    line-height: var(--line-height-relaxed);
}

.about-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.team-image, .image-placeholder {
    width: 400px;
    height: 400px;
    background: var(--gradient-card);
    border-radius: var(--border-radius-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px solid rgba(99, 102, 241, 0.1);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-primary);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.image-placeholder span {
    position: relative;
    z-index: 2;
    font-weight: 600;
    color: var(--text-medium);
}
.about-intro {
    padding: 100px 0;
    background: var(--white);
}

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

.about-text h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.values {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.value-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.team-image, .image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gray-100);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px dashed var(--gray-200);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission {
    padding: 100px 0;
    background: var(--gray-50);
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.goal {
    text-align: left;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.goal-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.team {
    padding: 100px 0;
    background: var(--white);
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-image .image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
}

.team-member h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Team Section Social Links - Always Visible */
.team .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--white);
    opacity: 1;
    visibility: visible;
}

.team .social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.team .social-links a i {
    font-size: 1rem;
    color: var(--white);
    transition: transform var(--transition-normal);
}

.team .social-links a:hover i {
    transform: scale(1.1);
}

/* Brand-specific colors for team social links */
.team .social-links a[aria-label="LinkedIn"]:hover {
    background: #0077b5 !important;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.team .social-links a[aria-label="GitHub"]:hover {
    background: #333 !important;
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

.team .social-links a[aria-label="Twitter"]:hover {
    background: #1da1f2 !important;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

.process {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Portfolio Styles */
.portfolio-intro {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
}

.intro-content h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.portfolio-grid {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.project-card {
    background: var(--white);
    border-radius: var(--border-radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-slow);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl), var(--shadow-primary);
}

.project-card:hover::before {
    opacity: 0.03;
}

.project-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--gray-50), var(--gray-100));
    transition: all var(--transition-bounce);
}

.project-card:hover .project-preview {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-bounce);
    backdrop-filter: blur(10px);
}

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

.project-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-bounce);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.project-info {
    padding: 2rem;
}

.project-category {
    margin-bottom: 1rem;
}

.category-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-info p {
    color: var (--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: var(--gray-100);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

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

.project-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.project-stats span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Permanent visible button for portfolio projects */
.project-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    width: 100%;
    margin-top: 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    background-size: 200% 200%;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: var(--font-size-sm);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    transition: transform var(--transition-bounce), box-shadow var(--transition-bounce), background-position var(--transition-normal), filter var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.project-view-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
    background-position: 100% 100%;
    filter: brightness(1.1) saturate(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.project-view-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.project-view-btn i {
    font-size: var(--font-size-base);
    transition: transform var(--transition-normal);
    position: relative;
    z-index: 2;
}

.project-view-btn:hover i {
    transform: scale(1.1);
}

.project-view-btn span {
    position: relative;
    z-index: 2;
}

.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial p {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    display: block;
}

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

.results {
    padding: 100px 0;
    background: var(--gray-50);
    color: var(--text-dark);
}

.results .section-header h2,
.results .section-header p {
    color: var(--text-dark);
}

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

.result-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.result-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.result-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.result-label {
    opacity: 0.8;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info-section h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
}

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

.method-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.method-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.method-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

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

.response-time {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.response-time h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.response-time ul {
    list-style: none;
}

.response-time li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.response-time i {
    color: var(--accent-color);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h2 {
    font-family: 'Source Serif Pro', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.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(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Portfolio specific styles */
.portfolio-note {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-note i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.portfolio-note span {
    color: var(--text-dark);
    font-weight: 500;
    font-style: italic;
}

.project-tech {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-item strong {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.tech-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.approach-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.approach-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .floating-cards {
        width: 350px;
        height: 350px;
    }
    
    .card {
        padding: 2rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .floating-cards {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius-lg);
        padding: 0.75rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all var(--transition-normal);
    }
    
    .hamburger:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: left var(--transition-bounce);
        box-shadow: var(--shadow-2xl);
        padding: 3rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        animation: slideInFromLeft 0.5s ease-out forwards;
        opacity: 0;
    }
    
    .nav-menu.active li {
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
      .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1rem 80px;
    }
    
    .hero-visual {
        margin-top: 2rem;
        height: 220px;
        display: flex;
        align-items: flex-start;
        padding-top: 1rem;
    }.floating-cards {
        width: 280px;
        height: 200px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
      .card {
        position: static !important;
        padding: 0.5rem;
        width: 80px;
        height: 80px;
        animation: none !important;
        transform: none !important;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.3rem;
    }
    
    .card i {
        font-size: 1.8rem;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .card span {
        font-size: 0.7rem;
        line-height: 1;
        text-align: center;
        margin: 0;
    }
    
    /* Reset card positioning for mobile - make them horizontal */
    .card-1, .card-2, .card-3 {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
      .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Scroll indicator mobile adjustments */
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .scroll-arrow i {
        font-size: 1.1rem;
    }
    
    .scroll-text {
        font-size: 0.75rem;
        letter-spacing: 0.02em;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
      .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Fix voor gecentreerde blauwe streepjes in footer op mobiel */
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Fix voor gecentreerde hero buttons op mobiel */
    .hero-buttons {
        justify-content: center;
    }    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-goals,
    .process-steps {
        grid-template-columns: 1fr;
    }
      /* Fix voor values sectie op mobiel */
    .values {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .value-item i {
        margin-top: 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 1rem;
    }
      .results-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        min-height: 220px;
        padding: 2rem 1.5rem;
    }
    
    .result-number {
        font-size: 2.2rem;
    }
    
    .result-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        max-width: 320px;
        padding: 1rem 2rem;
    }
      /* Verdere optimalisatie voor values sectie op kleine schermen */
    .value-item {
        padding: 1rem;
        gap: 0.75rem;
        text-align: center;
        align-items: center;
    }
    
    .value-item i {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .value-item p {
        text-align: center;
    }    /* Extra kleine floating cards voor zeer kleine schermen */
    .floating-cards {
        width: 240px;
        height: 160px;
        gap: 8px;
    }
    
    .hero-visual {
        height: 180px;
        margin-top: 1.5rem;
        padding-top: 0.5rem;
    }
      .card {
        width: 70px;
        height: 70px;
        padding: 0.4rem;
        gap: 0.2rem;
    }
    
    .card i {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .card span {
        font-size: 0.6rem;
        margin: 0;
        text-align: center;
    }
    
    /* Ensure no positioning conflicts on very small screens */
    .card-1, .card-2, .card-3 {
        position: static !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Scroll indicator adjustments for very small screens */
    .scroll-indicator {
        bottom: 15px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow i {
        font-size: 1rem;
    }
    
    .scroll-text {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
      .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .result-item {
        min-height: 200px;
        padding: 1.5rem 1rem;
    }
    
    .result-number {
        font-size: 2rem;
    }
    
    .result-label {
        font-size: 0.8rem;
        max-width: 180px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .floating-cards {
        display: none !important;
    }
    
    .hero,
    .services,
    .stats,
    .cta {
        background: white !important;
        color: black !important;
    }
    
    .hero-title,
    .section-header h2 {
        color: black !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-dark: #000000;
        --text-light: #333333;
        --white: #ffffff;
        --gray-100: #f0f0f0;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-cards .card {
        animation: none;
    }
      .hero::before {
        animation: none;
    }
}

/* Advanced Animation System */
/* Removed unused complex animation keyframes for better performance */

/* Removed unused morphing shapes and glowing text effects for better performance */

/* Removed unused interactive background animations for better performance */

/* Removed unused glass card effects for better performance */

/* Removed unused service icon enhanced class */

/* Removed unused complex animation classes for better performance */

/* Removed unused particle and audio visualizer CSS for better performance */

/* Removed unused typewriter and text reveal animations for better performance */

/* Floating Action Button */
.scroll-to-top-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-bounce);
    z-index: 1000;
    border: none;
    cursor: pointer;
}

.scroll-to-top-fab:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-2xl), var(--shadow-primary);
}

.scroll-to-top-fab i {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(99, 102, 241, 0.2);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Prevent transform stacking issues */
.btn:not(:hover):not(:focus):not(.btn-magnetic) {
    transform: none !important;
}

.service-card:not(:hover):not(:focus) {
    transform: none !important;
}

/* ========================================
   ALGEMENE VOORWAARDEN STYLING
======================================== */

/* Terms Hero Section */
.terms-hero {
    background: var(--gradient-hero);
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.terms-hero .hero-pattern {
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

/* ========================================
   ALGEMENE VOORWAARDEN STYLING
======================================== */

/* Page meta information */
.page-meta {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary-color);
}

/* Breadcrumb styling */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 0.75rem;
    color: var(--text-lightest);
}

.breadcrumb-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list [aria-current="page"] {
    color: var(--text-dark);
    font-weight: 500;
}

/* Terms Content Layout */
.terms-content {
    padding: 4rem 0;
    background: var(--white);
}

.terms-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Table of Contents */
.terms-sidebar {
    position: sticky;
    top: 2rem;
}

.terms-toc {
    background: var(--gradient-card);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.terms-toc h2 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Source Serif Pro', serif;
}

.toc-nav {
    width: 100%;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
    font-weight: 500;
    position: relative;
}

.toc-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    transform: translateX(4px);
}

.toc-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
}

.toc-link.active::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Main Terms Content */
.terms-main {
    min-width: 0; /* Prevents overflow issues */
}

/* Introduction Card */
.terms-intro {
    margin-bottom: 3rem;
}

.intro-card,
.contact-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header i {
    font-size: 1.25rem;
}

.card-header h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0;
    font-family: 'Source Serif Pro', serif;
}

.card-content {
    padding: 2rem;
}

.card-content > p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Contact Information Grid */
.contact-info h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Source Serif Pro', serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--text-medium);
}

.contact-item strong {
    color: var(--text-dark);
}

/* Terms Articles */
.terms-article {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.terms-article:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.article-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.article-header h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    font-family: 'Source Serif Pro', serif;
}

.article-content {
    padding: 2rem;
}

/* Content Sections */
.content-section {
    margin-bottom: 2rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Source Serif Pro', serif;
}

.content-section p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.content-section li strong {
    color: var(--text-dark);
}

/* Definitions List */
.definitions-list {
    display: grid;
    gap: 1.5rem;
}

.definitions-list dt {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-base);
    margin-bottom: 0.5rem;
}

.definitions-list dd {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-medium);
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--gray-200);
}

/* Pricing Information */
.pricing-info {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--gray-200);
}

.pricing-info h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Source Serif Pro', serif;
}

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

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
}

.pricing-item strong {
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.pricing-item span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

/* Contact Section */
.terms-contact {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--gray-200);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

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

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

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.contact-info-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.contact-info-footer p {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.contact-info-footer strong {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .terms-sidebar {
        position: static;
        order: 2;
    }
    
    .terms-main {
        order: 1;
    }
    
    .terms-toc {
        background: var(--white);
        border: 2px solid var(--gray-200);
        padding: 1.5rem;
    }
    
    .toc-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }
    
    .toc-link {
        text-align: center;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-meta,
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .terms-content {
        padding: 2rem 0;
    }
    
    .terms-toc {
        padding: 1rem;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .article-header {
        padding: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .card-header {
        padding: 1rem 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .cta-button {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .terms-hero .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .article-header h2 {
        font-size: var(--font-size-xl);
    }
    
    .content-section h3 {
        font-size: var(--font-size-base);
    }
    
    .card-header h2 {
        font-size: var(--font-size-lg);
    }
    
    .definitions-list dd {
        padding-left: 1rem;
    }
    
    .pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Print Styles for Terms */
@media print {
    .terms-sidebar,
    .contact-actions,
    .breadcrumb {
        display: none !important;
    }
    
    .terms-layout {
        grid-template-columns: 1fr !important;
    }
    
    .terms-article {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        margin-bottom: 1rem !important;
        page-break-inside: avoid !important;
    }
    
    .article-header {
        background: #f5f5f5 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    .card-header {
        background: #333 !important;
        color: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

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

/* Focus styles for accessibility */
.toc-link:focus,
.cta-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .terms-article {
        border: 2px solid var(--text-dark);
    }
    
    .toc-link {
        border: 1px solid var(--text-medium);
    }
    
    .toc-link.active {
        border: 2px solid var(--text-dark);
    }
}

/* Live Project Styling */
.featured-project {
    position: relative;
    border: 2px solid var(--success-color);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.featured-project::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.live-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--success-color) 0%, #16a34a 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3); }
}

.category-tag.live-project {
    background: linear-gradient(135deg, var(--success-color) 0%, #16a34a 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.live-status {
    color: var(--success-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-status::before {
    content: '●';
    color: var(--success-color);
    animation: blink-green 2s infinite;
}

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

.project-view-btn.live-btn {
    background: linear-gradient(135deg, var(--success-color) 0%, #16a34a 100%);
    border-color: var(--success-color);
}

.project-view-btn.live-btn:hover {
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.featured-project .image-overlay {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(22, 163, 74, 0.9) 100%);
}

/* Project Logo Styling */
.project-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all var(--transition-bounce);
}

.project-card:hover .project-logo {
    transform: scale(1.1);
    filter: brightness(1.1);
}

