/* Variant 5 Modern 3 - Sophisticated Dark Theme */
:root {
    /* Colors based on brysk logo */
    --primary: #ff4757;
    --primary-dark: #ff3838;
    --primary-light: #ff6b7a;
    --accent: var(--primary);
    --accent-hover: var(--primary-dark);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #ec4899 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 56, 56, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    --success: #10b981;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme (default) */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #1a1a1d;
    --surface: #202025;
    --surface-hover: #26262c;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: #27272a;
    --border-hover: #3f3f46;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 71, 87, 0.3);
    --bg-gradient-1: rgba(59, 130, 246, 0.08);
    --bg-gradient-2: rgba(139, 92, 246, 0.04);
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 71, 87, 0.2);
    --bg-gradient-1: rgba(255, 71, 87, 0.04);
    --bg-gradient-2: rgba(255, 56, 56, 0.02);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: 
        radial-gradient(ellipse at top, var(--bg-gradient-1) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, var(--bg-gradient-2) 0%, transparent 60%),
        var(--bg-primary);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.3s ease;
    -webkit-backdrop-filter: blur(20px);
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

/* Logo Styles - matching brysk.png */
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
    transition: var(--transition);
}

.bar-1 {
    width: 20px;
    height: 3px;
}

.bar-2 {
    width: 16px;
    height: 3px;
}

.bar-3 {
    width: 12px;
    height: 3px;
}

.logo-dot {
    position: absolute;
    top: 50%;
    right: -8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.logo:hover .bar {
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.logo:hover .logo-dot {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.5);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center center;
}

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

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

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.cta-link {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.cta-link:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.link-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.cta-link:hover .link-glow {
    left: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.btn.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Language Toggle */
.language-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 1rem;
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 600;
}

.language-toggle:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    transform: scale(1.05);
    color: var(--accent);
}

.lang-text {
    transition: var(--transition);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 1rem;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.theme-toggle .theme-icon {
    transition: var(--transition);
}

.theme-toggle .moon {
    display: none;
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: 400px;
    z-index: 1;
}

.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.window-header {
    background: var(--surface);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

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

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

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.window-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Monaco', monospace;
}

.code-content {
    padding: 1.5rem;
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.line-number {
    color: var(--text-muted);
    width: 20px;
    text-align: right;
    user-select: none;
}

.keyword { color: #c678dd; }
.property { color: #e06c75; }
.string { color: #98c379; }
.template { color: #61dafb; }

/* Light mode code colors with better contrast */
[data-theme="light"] .keyword { color: #7c3aed; }
[data-theme="light"] .property { color: #dc2626; }
[data-theme="light"] .string { color: #16a34a; }
[data-theme="light"] .template { color: #0284c7; }

/* Sections */
section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

/* Expertise Section */
.expertise {
    background: var(--bg-secondary);
    position: relative;
}

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

.expertise-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.expertise-card.primary {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.card-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 71, 87, 0.02) 100%);
}

.project-image-container {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.9) 0%, rgba(255, 56, 56, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: var(--transition);
}

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

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.view-project {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.project-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.project-content {
    padding: 2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-year {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.active {
    background: var(--success);
    animation: pulse 2s infinite;
}

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

.tech-badge {
    background: rgba(255, 71, 87, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

.tech-badge.angular {
    background: rgba(221, 0, 49, 0.1);
    color: #dd0031;
    border-color: rgba(221, 0, 49, 0.2);
}

.tech-badge.typescript {
    background: rgba(49, 120, 198, 0.1);
    color: #3178c6;
    border-color: rgba(49, 120, 198, 0.2);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

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

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

.metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Approach Section */
.approach {
    background: var(--bg-secondary);
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.approach-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.approach-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.process-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

[data-theme="light"] .step-number {
    color: white;
}

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

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* Contact Cards Redesign */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

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

.email-card:hover .card-icon,
.linkedin-card:hover .card-icon {
    background: var(--gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.email-card:hover .card-icon svg,
.linkedin-card:hover .card-icon svg {
    color: white;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card-content {
    flex: 1;
}

.card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.card-action {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent);
}

.contact-card:hover .card-action {
    opacity: 1;
    transform: translateX(0);
}

.location-card {
    cursor: default;
}

.location-card:hover {
    transform: none;
}

.contact-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-value:hover {
    color: var(--accent);
}

.contact-cta {
    text-align: center;
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

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

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

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design - Optimized for Tablet and Mobile */

/* Large Tablets (1200px) */
@media (max-width: 1200px) {
    .hero-visual {
        display: none;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Tablets (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    /* Navigation adjustments */
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero section */
    .hero {
        padding: 9rem 0 6rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Section spacing */
    .section {
        padding: 4rem 0;
    }
    
    /* Approach content */
    .approach-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    /* Projects grid for tablet */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Process steps */
    .process-steps {
        gap: 2rem;
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    /* Mobile Navigation */
    .nav {
        padding: 0.75rem 0;
    }
    
    .nav-content {
        position: relative;
        padding: 1rem 0;
    }
    
    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile menu styles */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }
    
    .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .nav-link.cta-link {
        margin-top: 1rem;
        background: var(--gradient);
        color: white;
        border-radius: var(--radius);
        border: none;
    }
    
    .language-toggle,
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
        margin: 0.5rem;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 9rem 0 4rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Expertise cards mobile */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-card {
        padding: 2rem;
    }
    
    /* Projects mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tech-badges {
        flex-wrap: wrap;
    }
    
    /* Approach mobile */
    .approach-stats {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .stat {
        width: 100%;
    }
    
    /* Process steps mobile */
    .process-steps {
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact cards mobile */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* Buttons mobile */
    .btn {
        padding: 1rem 1.5rem;
    }
    
    .btn.large {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Small mobile navigation */
    .logo-text {
        font-size: 1.5rem;
    }
    
    /* Small mobile hero */
    .hero {
        padding: 8rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-status {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-cta {
        align-items: stretch;
    }
    
    /* Section spacing small mobile */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    /* Expertise small mobile */
    .expertise-card {
        padding: 1.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    /* Projects small mobile */
    .project-card {
        padding: 1.25rem;
    }
    
    .project-title {
        font-size: 1.25rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    /* Process small mobile */
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    /* Contact small mobile */
    .contact-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .card-action {
        display: none;
    }
    
    /* Typography small mobile */
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Buttons small mobile */
    .btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
    }
}

/* Landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}