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

:root {
    /* Color palette - Inspired by banner teal gradient */
    --primary-color: #2c5f5a;        /* Deep teal from banner */
    --secondary-color: #386963;      /* Mid teal */
    --accent-color: #4a9b94;         /* Bright teal accent */
    --accent-light: #7bc4c0;         /* Light teal */
    --accent-dark: #1e4a45;          /* Dark teal */
    --warm-accent: #d4a574;          /* Warm gold accent */
    --success-color: #52c38a;        /* Fresh green */
    --warning-color: #f4a261;        /* Warm orange */
    --error-color: #e76f51;          /* Coral red */
    
    /* Neutrals */
    --white: #ffffff;
    --cream: #fefcf8;                /* Warm white */
    --light-gray: #f7f9fa;           /* Cool light gray */
    --medium-gray: #748c94;          /* Teal-tinted gray */
    --dark-gray: #2d3e42;            /* Deep gray */
    --text-primary: #1a2b2e;         /* Almost black with teal tint */
    --text-secondary: #4a5c60;       /* Medium text */
    --border-color: #d1e3e1;         /* Light teal border */
    --border-accent: #a8ccc8;        /* Medium teal border */
    
    /* Shadows with teal tint */
    --shadow-light: 0 2px 8px rgba(44, 95, 90, 0.08);
    --shadow-medium: 0 6px 20px rgba(44, 95, 90, 0.12);
    --shadow-strong: 0 12px 32px rgba(44, 95, 90, 0.18);
    --shadow-glow: 0 0 20px rgba(74, 155, 148, 0.3);
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Breakpoints */
    --bp-sm: 576px;
    --bp-md: 768px;
    --bp-lg: 992px;
    --bp-xl: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--cream);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Navigation */
.navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-accent);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
}

.nav-brand:hover {
    color: var(--accent-color);
    background: rgba(74, 155, 148, 0.05);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.nav-profile-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-light);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.nav-brand:hover .nav-profile-photo {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.nav-brand-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(74, 155, 148, 0.08);
    border-color: rgba(74, 155, 148, 0.2);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}

.nav-link.active:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: var(--spacing-md);
    right: var(--spacing-md);
    z-index: 1000;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: var(--shadow-strong);
    padding: 6px;
    border: 1px solid var(--border-accent);
}

.lang-btn {
    background: none;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    min-width: 45px;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.lang-btn:hover:not(.active) {
    background: rgba(74, 155, 148, 0.1);
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Header */
.header {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.main-header {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 30%, var(--accent-color) 70%, var(--accent-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 30%, var(--accent-color) 70%, var(--accent-light) 100%);
    }
    50% {
        background: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary-color) 30%, var(--secondary-color) 70%, var(--accent-color) 100%);
    }
}

.header-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index: 1;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.95;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(44, 95, 90, 0.3) 0%, 
        rgba(56, 105, 99, 0.2) 50%,
        rgba(74, 155, 148, 0.1) 100%);
}

/* Specialized headers for new pages */
.project-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.service-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.project-header .header-content,
.service-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

/* Header wave effect */
.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.header-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.header-wave .shape-fill {
    fill: var(--white);
}

/* Modern Header Background */
.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: floating 8s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation: floatingLarge 10s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    animation: floatingMedium 12s ease-in-out infinite;
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 60%;
    animation-delay: 6s;
    animation: floatingSmall 9s ease-in-out infinite;
}

@keyframes floatingLarge {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    33% { 
        transform: translateY(-30px) translateX(20px) rotate(120deg) scale(1.1);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(10px) translateX(-15px) rotate(240deg) scale(0.9);
        opacity: 0.9;
    }
}

@keyframes floatingMedium {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-40px) translateX(-25px) rotate(180deg) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes floatingSmall {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    25% { 
        transform: translateY(20px) translateX(30px) rotate(90deg) scale(0.8);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-25px) translateX(-20px) rotate(270deg) scale(1.1);
        opacity: 0.8;
    }
}

/* Project and service specific badges */
.project-badge,
.service-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Project and service hero sections */
.project-hero,
.service-hero {
    flex: 1;
    max-width: 700px;
}

/* Updated badges */
.project-badge,
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.project-badge i,
.service-badge i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.project-main-title,
.service-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    max-width: 800px;
    position: relative;
}

/* Role and status cards */
.project-role-card,
.service-role-card,
.project-status-card,
.service-status-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.project-role-card:hover,
.service-role-card:hover,
.project-status-card:hover,
.service-status-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.role-icon,
.status-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 155, 148, 0.3);
}

.role-content,
.status-content {
    flex: 1;
}

.role-title,
.status-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.role-subtitle,
.status-subtitle {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Highlight tags */
.project-highlights,
.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.highlight-tag {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.highlight-tag i {
    font-size: 1.1rem;
}

.project-role,
.service-role {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.project-status,
.service-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1rem;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--spacing-xxl);
    flex-wrap: wrap;
    padding: var(--spacing-xxl) 0;
    margin-top: 0;
}

.header-hero {
    flex: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    position: relative;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.title-accent {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--warm-accent));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(123, 196, 192, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    color: var(--cream);
}

/* Hero Specialties */
.hero-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0 var(--spacing-xl) 0;
}

.specialty-tag {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.specialty-tag i {
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 155, 148, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.header-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex: 1;
    min-width: 300px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-strong);
}

.header-text {
    flex: 1;
}

.name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    opacity: 0.95;
}

.headline {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 300;
}

.header-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: stretch;
    min-width: 200px;
}

.header-quick-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Specialized page components */
.context-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.context-card,
.mission-card,
.vision-card,
.positioning-card,
.availability-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: none;
}

.context-text,
.mission-text,
.vision-text,
.positioning-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

.vision-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.vision-title::before {
    content: '✨';
    font-size: 1.2rem;
}

/* Pillars grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.pillar-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.pillar-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f8fdfd 100%);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.5rem;
}

.pillar-card.featured .pillar-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, #11998e 100%);
}

.pillar-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.pillar-text {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 14px;
}

/* Approach grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.approach-card {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.approach-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

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

.approach-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.approach-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Value proposition list */
.value-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-left-color: var(--accent-color);
    transform: translateX(4px);
}

.value-item.featured {
    border-left-color: var(--accent-color);
    background: #f8fdfd;
}

.value-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.value-item span {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: var(--shadow-medium);
    font-weight: 600;
    font-size: 16px;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseGlow 3s ease-in-out infinite;
}

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

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-strong), 0 0 20px rgba(74, 155, 148, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--shadow-medium), 0 0 0 0 rgba(74, 155, 148, 0.4);
    }
    50% {
        box-shadow: var(--shadow-medium), 0 0 0 8px rgba(74, 155, 148, 0);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* CV Download */
.cv-download {
    position: relative;
}

.cv-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow-strong);
    padding: var(--spacing-xs);
    margin-top: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.cv-download:hover .cv-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cv-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.cv-link:hover {
    background: var(--light-gray);
}

/* Main content */
.main {
    padding-bottom: var(--spacing-xxl);
}

/* Sections */
.section {
    margin-bottom: var(--spacing-xxl);
    background: linear-gradient(135deg, var(--white) 0%, #fafcfc 100%);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(32, 178, 170, 0.1);
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: all 0.3s ease;
}

.section:hover::before {
    opacity: 1;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* About section */
.summary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    max-width: 800px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    background: var(--cream);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
    border: 1px solid var(--border-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: var(--spacing-lg);
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.timeline-date {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.job-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.company {
    font-weight: 500;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.job-description {
    margin-bottom: var(--spacing-md);
    font-style: italic;
    color: var(--dark-gray);
}

.achievements {
    list-style: none;
}

.achievements li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

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

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 900px;
        margin: var(--spacing-lg) auto 0;
    }
}

.project-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium), 0 0 0 1px rgba(74, 155, 148, 0.1);
    border: 2px solid transparent;
    margin: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 20px 20px 0 0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong), 0 0 0 2px rgba(74, 155, 148, 0.2);
    border: 2px solid rgba(74, 155, 148, 0.3);
}

.project-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f8fdfd 100%);
}

.project-item-header {
    margin-bottom: var(--spacing-md);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.project-role {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px var(--spacing-sm);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-right: var(--spacing-sm);
}

.project-date {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
}

.project-description {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    color: var(--dark-gray);
}

.project-achievements {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.project-achievements li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6px var(--spacing-sm);
    border-radius: 18px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 90, 0.3);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.skill-category {
    background: var(--cream);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.skill-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.skill-title i {
    color: var(--accent-color);
    font-size: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    background: var(--white);
    color: var(--text-primary);
    padding: 8px var(--spacing-md);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
}

.skill-tag i {
    font-size: 16px;
}

.skill-tag .devicon-microsoftsqlserver-plain,
.skill-tag .devicon-azure-plain,
.skill-tag .devicon-powershell-plain,
.skill-tag .devicon-bash-plain,
.skill-tag .devicon-docker-plain,
.skill-tag .devicon-git-plain,
.skill-tag .devicon-csharp-plain,
.skill-tag .devicon-java-plain,
.skill-tag .devicon-python-plain {
    font-size: 18px;
}

.skill-tag:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
}

@media (max-width: 968px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
}

.education-column {
    background: var(--cream);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.education-list,
.certification-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.education-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 8px;
    background: var(--white);
    border-left: 4px solid var(--border-color);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.certification-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 8px;
    background: var(--white);
    border-left: 4px solid var(--border-color);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.certification-name {
    font-size: 0.95rem;
    line-height: 1.3;
}

.certification-date {
    font-size: 13px;
    color: var(--accent-color);
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

.certification-note {
    font-size: 0.85rem;
    color: var(--text-light, #666);
    margin-top: var(--spacing-sm);
    font-style: italic;
    line-height: 1.4;
}

.cert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.cert-icon i {
    font-size: 20px;
    color: var(--accent-color);
}

.cert-content {
    flex: 1;
}

.certification-item.featured {
    border-left-color: var(--accent-color);
    background: #f8fdfd;
}

.education-date {
    min-width: 80px;
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-gray);
}

.education-content {
    flex: 1;
}

.education-title,
.certification-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
    font-size: 1rem;
}

.education-school,
.certification-issuer {
    font-size: 14px;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.certification-issuer i {
    color: var(--accent-color);
}

.certification-date {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 4px;
}

/* Languages */
.languages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
    border: 1px solid var(--border-color);
}

.language-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.language-info i {
    font-size: 16px;
}

.language-name {
    font-weight: 600;
    color: var(--primary-color);
}

.language-level {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
    box-shadow: var(--shadow-strong);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-info p {
    margin-bottom: 4px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-contact {
    display: flex;
    gap: var(--spacing-md);
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-section h4 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1rem;
    font-weight: 600;
    opacity: 1;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 13px;
    margin-top: var(--spacing-xs);
}

.footer-heading {
    color: var(--white);
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--white);
        width: 250px;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-strong);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .navigation {
        padding: var(--spacing-sm) 0;
    }

    .nav-profile-photo {
        width: 50px;
        height: 50px;
    }

    .nav-brand-name {
        font-size: 1.1rem;
    }

    .nav-brand-title {
        font-size: 0.8rem;
    }

    .lang-toggle {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        padding: 4px;
    }

    .lang-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 40px;
    }

    .header {
        padding: var(--spacing-lg) 0;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg) 0;
    }

    .header-hero {
        max-width: 100%;
    }

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

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

    .hero-badge {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .hero-specialties {
        justify-content: center;
    }

    .specialty-tag {
        font-size: 0.8rem;
        padding: 6px var(--spacing-sm);
    }

    .hero-stats {
        gap: var(--spacing-md);
        justify-content: center;
    }

    .stat-card {
        min-width: 150px;
        flex: 1 1 calc(50% - var(--spacing-md));
        max-width: calc(50% - var(--spacing-md));
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .header-info {
        flex-direction: column;
        text-align: center;
        min-width: auto;
    }

    .name {
        font-size: 2rem;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .header-actions {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline {
        padding-left: var(--spacing-sm);
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item::before {
        left: -20px;
        width: 10px;
        height: 10px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-profile-photo {
        width: 45px;
        height: 45px;
    }

    .nav-brand-name {
        font-size: 1rem;
    }

    .nav-brand-title {
        font-size: 0.7rem;
    }

    .lang-toggle {
        padding: 3px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 35px;
    }

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

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

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px var(--spacing-sm);
    }

    .specialty-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .specialty-tag i {
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .stat-card {
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .header-content {
        padding: var(--spacing-md) 0;
    }

    .main-header {
        min-height: 60vh;
    }

    .project-header {
        text-align: center;
    }

    .project-role,
    .project-date {
        display: block;
        margin-bottom: var(--spacing-xs);
    }

    .project-tech {
        justify-content: center;
    }

    .skill-tags,
    .project-tech {
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .lang-toggle {
        display: none;
    }
    
    .header {
        background: var(--white) !important;
        color: var(--primary-color) !important;
        page-break-after: avoid;
    }
    
    .section {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .timeline-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .project-card {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* Animation classes for dynamic content */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Icon animations and effects */
.section-title i,
.skill-title i,
.company i,
.cert-icon i,
.certification-issuer i {
    transition: all 0.3s ease;
}

.section-title:hover i,
.skill-title:hover i {
    transform: scale(1.1);
}

.cert-icon {
    transition: all 0.3s ease;
}

.certification-item:hover .cert-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.skill-tag:hover i {
    transform: scale(1.1);
}

.btn:hover i {
    transform: translateX(2px);
}

.fab.fa-linkedin {
    color: #0077B5;
}

.fab.fa-microsoft {
    color: #00BCF2;
}

.devicon-azure-plain.colored {
    color: #0078D4;
}

.devicon-microsoftsqlserver-plain.colored {
    color: #CC2927;
}

.devicon-powershell-plain.colored {
    color: #012456;
}

.devicon-bash-plain.colored {
    color: #4EAA25;
}

.devicon-docker-plain.colored {
    color: #2496ED;
}

.devicon-git-plain.colored {
    color: #F05032;
}

.devicon-csharp-plain.colored {
    color: #239120;
}

.devicon-java-plain.colored {
    color: #ED8B00;
}

.devicon-python-plain.colored {
    color: #3776AB;
}

/* Loading state for better UX */
.loading {
    opacity: 0.9;
}

/* Enhance timeline visual appeal */
.timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.timeline-item::before {
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(32, 178, 170, 0.2);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.lang-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

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

/* Services specific styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

.service-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f8fdfd 100%);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.3rem;
}

.service-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.service-description {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Clients grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.client-card {
    background: var(--white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

.client-icon {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.client-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.client-description {
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Technology grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark-gray);
}

.tech-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.tech-item i {
    font-size: 1.5rem;
}

/* Availability section */
.availability-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.availability-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.availability-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.availability-item.warning i {
    color: #f39c12;
}

.availability-item h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1rem;
}

.availability-item p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Positioning highlight */
.positioning-content {
    text-align: center;
}

.positioning-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--accent-color) 0%, #11998e 100%);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.positioning-highlight i {
    font-size: 1.2rem;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    padding: var(--spacing-xxl);
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-strong);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 8px;
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        font-size: 12px;
        padding: var(--spacing-xs);
    }
    
    .project-main-title,
    .service-main-title {
        font-size: 1.8rem;
    }
    
    .context-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .header-quick-links {
        flex-direction: row;
        gap: var(--spacing-xs);
    }
    
    .project-header,
    .service-header {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .project-main-title,
    .service-main-title {
        font-size: 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --accent-color: #0066cc;
        --medium-gray: #333333;
        --border-color: #666666;
    }
}

/* Profile Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
    overflow: hidden;
}

.modal.closing {
    display: flex;
    animation: fadeOut 0.3s ease;
}

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

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-header {
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: 24px 24px 0 0;
    padding: var(--spacing-lg);
    display: flex;
    justify-content: flex-end;
}

.modal-close {
    background: var(--light-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.modal-close:hover {
    background: var(--error-color);
    color: var(--white);
    transform: scale(1.1);
}

.modal-body {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-card {
    text-align: center;
}

.profile-photo-large {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-light);
    box-shadow: 0 8px 32px rgba(74, 155, 148, 0.3);
}

.profile-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--white);
    padding: 4px 8px;
    border-radius: 20px;
    border: 2px solid var(--success-color);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success-color);
    box-shadow: var(--shadow-medium);
}

.profile-status .online {
    color: var(--success-color);
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

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

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

.profile-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.profile-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.profile-bio {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--accent-color);
}

.profile-bio p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.profile-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.specialty-chip {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(74, 155, 148, 0.3);
}

.profile-social {
    margin-bottom: var(--spacing-lg);
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    color: var(--white);
}

.social-link.dailydev {
    background: linear-gradient(135deg, #151618, #ce3df3);
    color: var(--white);
}

.social-link.github {
    background: linear-gradient(135deg, #24292e, #586069);
    color: var(--white);
}

.social-link.email {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.profile-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* WhatsApp Protection Modal */
.whatsapp-modal {
    max-width: 600px;
}


.whatsapp-protection {
    text-align: center;
}

.protection-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.protection-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.protection-warning {
    background: linear-gradient(135deg, #FFF3CD, #FCF4A3);
    border: 2px solid #F4A261;
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.warning-icon {
    width: 40px;
    height: 40px;
    background: var(--warning-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.warning-text {
    margin: 0;
    color: #856404;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.contact-rules {
    background: var(--light-gray);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--accent-color);
}

.rules-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.rules-list li {
    padding: var(--spacing-xs) 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.verification-section {
    margin-bottom: var(--spacing-xl);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    text-align: left;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    border-color: var(--accent-color);
    background: var(--light-gray);
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.checkbox-text {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

.protection-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.protection-actions .btn {
    flex: 1;
    max-width: 200px;
}

#proceedWhatsApp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#proceedWhatsApp:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Social links grid adjustment for 5 items */
.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.social-links:has(.whatsapp) {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
    .social-links:has(.whatsapp) {
        grid-template-columns: 1fr 1fr;
    }
    
    .social-links .whatsapp {
        grid-column: span 2;
    }
    
    .whatsapp-modal {
        max-width: 95%;
    }
    
    .protection-actions {
        flex-direction: column;
    }
    
    .checkbox-container {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

/* Side Project Specific Styles */
.side-project-page .emergency-stats {
    background: linear-gradient(135deg, var(--white) 0%, #fef8f0 100%);
    border: 2px solid var(--warm-accent);
    border-radius: 16px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-accent);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.stat-item .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 1px 2px rgba(44, 95, 90, 0.1);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

.context-text.urgency {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
    background: linear-gradient(135deg, var(--white) 0%, #fff7ed 100%);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--warm-accent);
    box-shadow: var(--shadow-light);
}

.revolutionary-vision {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
}

.revolutionary-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.vision-hero {
    position: relative;
    z-index: 2;
    text-align: center;
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.8rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vision-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.urgent-cta {
    background: linear-gradient(135deg, var(--warm-accent) 0%, #e8b968 100%) !important;
    border: 2px solid var(--warm-accent) !important;
    animation: urgentPulse 3s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 165, 116, 0);
    }
}

.urgent-cta .status-title {
    color: var(--white) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.urgent-cta .status-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

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

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.action-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.partners-hero {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.partners-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.5rem;
    color: var(--white);
}

.partners-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
}

.partner-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.partner-profile {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.partner-profile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

.profile-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.3rem;
    color: var(--white);
}

.profile-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.profile-skills {
    list-style: none;
    padding: 0;
    text-align: left;
}

.profile-skills li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-md);
}

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

.partnership-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: var(--spacing-xxl);
    text-align: center;
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.partnership-cta::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%);
    animation: rotate 20s linear infinite;
}

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

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mega-cta {
    font-size: 1.1rem !important;
    padding: var(--spacing-lg) var(--spacing-xxl) !important;
    animation: megaPulse 3s ease-in-out infinite;
}

@keyframes megaPulse {
    0%, 100% {
        box-shadow: var(--shadow-strong), 0 0 0 0 rgba(74, 155, 148, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: var(--shadow-strong), 0 0 0 15px rgba(74, 155, 148, 0);
        transform: scale(1.05);
    }
}

.explosive-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #11998e 100%) !important;
    animation: explosivePulse 2.5s ease-in-out infinite;
}

@keyframes explosivePulse {
    0%, 100% {
        box-shadow: var(--shadow-strong), 0 0 0 0 rgba(17, 153, 142, 0.6);
    }
    50% {
        box-shadow: var(--shadow-strong), 0 0 0 12px rgba(17, 153, 142, 0);
    }
}

.btn-accent {
    background: linear-gradient(135deg, var(--warm-accent) 0%, #d4a574 100%);
    color: var(--white);
    border: 2px solid transparent;
    box-shadow: var(--shadow-medium);
    font-weight: 600;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #c59660 0%, var(--warm-accent) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.glow-effect {
    animation: gentleGlow 4s ease-in-out infinite;
}

@keyframes gentleGlow {
    0%, 100% {
        box-shadow: var(--shadow-medium), 0 0 0 0 rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: var(--shadow-medium), 0 0 0 8px rgba(212, 165, 116, 0);
    }
}

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

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

/* Mission and Challenge Cards */
.mission-overview-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-lg);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.mission-overview-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 155, 148, 0.4);
}

.mission-content {
    flex: 1;
}

.mission-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.mission-subtitle {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.4;
}

.challenge-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-lg);
    border-radius: 16px;
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.challenge-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.challenge-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--warm-accent), #d4a574);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.challenge-content {
    flex: 1;
}

.challenge-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.challenge-subtitle {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.4;
}

.contact-highlight {
    margin-top: var(--spacing-md);
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    animation: contactGlow 3s ease-in-out infinite;
}

@keyframes contactGlow {
    0%, 100% {
        box-shadow: var(--shadow-medium), 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: var(--shadow-medium), 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

.contact-emphasis {
    animation: emphasisPulse 4s ease-in-out infinite;
    font-weight: 600 !important;
}

@keyframes emphasisPulse {
    0%, 100% {
        box-shadow: var(--shadow-medium), 0 0 0 0 rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: var(--shadow-medium), 0 0 0 10px rgba(212, 165, 116, 0);
    }
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.solution-card {
    background: linear-gradient(135deg, var(--white) 0%, #f9fdfd 100%);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(32, 178, 170, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-align: center;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
}

.solution-card.featured::before {
    background: linear-gradient(90deg, var(--warm-accent), #e8b968);
}

.solution-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f0fcfc 100%);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(74, 155, 148, 0.3);
}

.solution-card.featured .solution-icon {
    background: linear-gradient(135deg, var(--warm-accent), #d4a574);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.solution-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.solution-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.solution-impact {
    text-align: center;
}

.impact-metric {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(74, 155, 148, 0.3);
}

.solution-card.featured .impact-metric {
    background: linear-gradient(135deg, var(--warm-accent), #d4a574);
    box-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
}

/* Implementation Grid */
.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.implementation-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.implementation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--accent-color);
}

.implementation-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f8fdfd 100%);
}

.implementation-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.implementation-header i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.implementation-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.implementation-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.implementation-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.metric-item {
    background: var(--light-gray);
    color: var(--text-primary);
    padding: 4px var(--spacing-sm);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Community Building Styles */
.community-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.community-profile {
    background: linear-gradient(135deg, var(--white) 0%, #f8fdff 100%);
    border-radius: 18px;
    padding: var(--spacing-xl);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(32, 178, 170, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.community-profile:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f0fcff 100%);
}

.community-profile.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, #f8fdfd 100%);
    position: relative;
}

.community-profile.featured::before {
    content: '⭐ PRIORITAIRE';
    position: absolute;
    top: -8px;
    right: var(--spacing-md);
    background: var(--accent-color);
    color: var(--white);
    padding: 4px var(--spacing-sm);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.community-hero {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.community-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.8rem;
    color: var(--white);
}

.community-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
}

/* Diverse Talents Section */
.diverse-talents {
    margin: var(--spacing-xl) 0;
}

.talents-card {
    background: linear-gradient(135deg, var(--warm-accent) 0%, #e8b968 100%);
    color: var(--white);
    border-radius: 16px;
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.talents-card::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%);
    animation: rotate 15s linear infinite;
}

.talents-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.8rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.talents-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.talents-description {
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Community CTA */
.community-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: var(--spacing-xxl);
    text-align: center;
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.community-cta::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%);
    animation: rotate 20s linear infinite;
}

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

/* Side Project Modal Styles */
.project-vision-section {
    background: var(--light-gray);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-left: 4px solid var(--accent-color);
}

.vision-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.vision-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.vision-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.vision-item:hover {
    border-color: var(--accent-color);
    transform: translateX(4px);
}

.vision-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.vision-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Enhanced header actions */
.header-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
    min-width: 250px;
}

.header-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Community Movement Styles */
.movement-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.movement-content {
    text-align: center;
}

.movement-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.movement-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    width: fit-content;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
}

.movement-highlight i {
    font-size: 1.2rem;
}

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

/* Responsive adjustments for side project */
@media (max-width: 768px) {
    .impact-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .stat-item .stat-number {
        font-size: 1.8rem;
    }
    
    .partner-profiles-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .context-text.urgency {
        font-size: 1rem;
        padding: var(--spacing-md);
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .mega-cta {
        font-size: 1rem !important;
        padding: var(--spacing-md) var(--spacing-lg) !important;
    }
}

@media (max-width: 480px) {
    .impact-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .stat-item .stat-number {
        font-size: 1.6rem;
    }
    
    .revolutionary-vision {
        padding: var(--spacing-lg);
    }
    
    .vision-text {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .partnership-cta {
        padding: var(--spacing-xl);
    }
}

/* Skill Tooltips */
.skill-tooltip {
    position: fixed;
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 20px 60px rgba(44, 95, 90, 0.25);
    border: 2px solid var(--accent-color);
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.skill-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.skill-tooltip-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--accent-light);
}

.skill-tooltip-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 155, 148, 0.3);
}

.skill-tooltip-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.skill-tooltip-description {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.skill-tooltip-usage {
    background: linear-gradient(135deg, #f8fdfd, var(--cream));
    border-radius: 8px;
    padding: var(--spacing-md);
    border-left: 3px solid var(--accent-color);
}

.skill-tooltip-usage-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.skill-tooltip-usage-title i {
    color: var(--accent-color);
}

.skill-tooltip-usage-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.skill-tooltip-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: transparent;
    border: none;
    color: var(--medium-gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.skill-tooltip-close:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.skill-tag[data-skill] {
    cursor: pointer;
    position: relative;
}

.skill-tag[data-skill]:hover {
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .skill-tooltip {
        max-width: calc(100vw - 2rem);
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
    }
}

/* Mission Urgency Card Styles */
.mission-context {
    width: 100%;
}

.mission-urgency-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8fdfd 100%);
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--accent-color);
}

.urgency-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-accent);
}

.urgency-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warning-color), var(--error-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.urgency-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.threat-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.threat-item {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    border-left: 4px solid;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.threat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.threat-item.critical {
    border-left-color: var(--error-color);
}

.threat-item.high {
    border-left-color: var(--warning-color);
}

.threat-item.medium {
    border-left-color: var(--accent-color);
}

.threat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.threat-item.critical .threat-icon {
    background: linear-gradient(135deg, var(--error-color), var(--warning-color));
}

.threat-item.high .threat-icon {
    background: linear-gradient(135deg, var(--warning-color), var(--accent-color));
}

.threat-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.threat-impact {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.mission-statement {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 12px;
    padding: var(--spacing-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    color: var(--white);
}

.statement-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.statement-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.statement-text {
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Web3 Profile Highlight */
.highlight-web3 {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #f8fdfd 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.highlight-web3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
}

.highlight-web3 .profile-title {
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .threat-matrix {
        grid-template-columns: 1fr;
    }

    .mission-statement {
        flex-direction: column;
        text-align: center;
    }

    .urgency-header {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 600px) {
    header {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .language-toggle {
        margin-left: auto;
    }

    .menu-toggle {
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        max-width: 140px;
        margin: 0 auto 1rem;
    }

    .profile-text {
        padding: 0 1rem;
    }
}
@media (max-width: 600px) {
    .project {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .project h3 {
        font-size: 1.1rem;
    }

    .project p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 12px;
    }

    .modal-close {
        top: 8px;
        right: 8px;
        font-size: 1.3rem;
    }
}
@media (max-width: 600px) {
    nav {
        top: 60px;
    }
}

