/* ============================================
   NPMC Tech - Professional Landing Page
   ============================================ */

:root {
    /* Vibrant Color Palette - More Personable & Colorful */
    --primary: #5b8def;
    --primary-dark: #4a7dd6;
    --primary-light: #7ba3f5;
    --accent: #b794f6;
    --accent-light: #c9a8ff;
    --accent-warm: #f59e8c;
    --accent-coral: #ff8a80;
    --accent-teal: #4dd0e1;
    --accent-green: #81c784;
    --accent-yellow: #ffd54f;
    --accent-pink: #f48fb1;
    
    /* Neutrals - Warmer Tones */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #1c2128;
    --bg-elevated: rgba(28, 33, 40, 0.7);
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-muted: #8b949e;
    --text-subtle: #6e7681;
    --border-color: rgba(139, 148, 158, 0.12);
    --border-hover: rgba(139, 148, 158, 0.25);
    
    /* Typography - More Personable */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius - More Organic */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-organic: 1rem 0.5rem 1.25rem 0.75rem; /* Handmade feel */
    
    /* Shadows - Softer, More Organic */
    --shadow-xs: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.15), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 20px -4px rgba(0, 0, 0, 0.2), 0 4px 8px -2px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 32px -6px rgba(0, 0, 0, 0.25), 0 8px 16px -4px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 0 1px rgba(91, 141, 239, 0.15), 0 0 50px rgba(91, 141, 239, 0.2);
    --shadow-warm: 0 8px 24px -4px rgba(245, 158, 140, 0.25);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* ============================================
   Navigation - Ultra Professional
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.92);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-hover);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding: var(--spacing-xs);
    margin: calc(var(--spacing-xs) * -1);
    border-radius: var(--radius-md);
}

.logo-link:hover {
    transform: translateY(-1px);
}

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

.logo-icon-wrapper svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(91, 141, 239, 0.3));
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.4) 0%, rgba(183, 148, 246, 0.3) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: logo-pulse 3s ease-in-out infinite;
}

.logo-link:hover .logo-glow {
    opacity: 1;
}

@keyframes logo-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo-link:hover .logo-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-2xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   Hero Section - Premium Design
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(80px + var(--spacing-4xl)) var(--spacing-xl) var(--spacing-4xl);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(91, 141, 239, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 141, 239, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.25;
    transform: rotate(0.5deg); /* Slight organic rotation */
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: gentle-pulse 8s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.05); }
}

.orb-1 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--primary) 0%, var(--accent) 40%, transparent 70%);
    top: -450px;
    right: -350px;
    animation-delay: 0s;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-warm) 0%, var(--accent) 50%, transparent 70%);
    bottom: -350px;
    left: -250px;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.15), rgba(183, 148, 246, 0.1));
    border: 1px solid rgba(91, 141, 239, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(91, 141, 239, 0.2), 0 0 20px rgba(183, 148, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.3) 0%, transparent 70%);
    animation: badge-shimmer 3s ease-in-out infinite;
}

@keyframes badge-shimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    50% { transform: translate(20px, 20px) rotate(180deg); opacity: 0.6; }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent-warm));
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(91, 141, 239, 0.6), 0 0 16px rgba(245, 158, 140, 0.4);
    animation: dot-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 4px rgba(91, 141, 239, 0.3));
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ============================================
   Buttons - Professional Style
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(91, 141, 239, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
}

.btn-secondary {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.12);
    border-color: var(--border-hover);
}

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

/* ============================================
   Section Headers
   ============================================ */

section {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ============================================
   Expertise Section
   ============================================ */

.expertise {
    background: var(--bg-secondary);
}

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

.expertise-card {
    padding: var(--spacing-2xl);
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: rotate(0deg); /* Will be slightly varied per card */
}

.expertise-card:nth-child(1) {
    transform: rotate(-0.3deg);
}

.expertise-card:nth-child(2) {
    transform: rotate(0.2deg);
}

.expertise-card:nth-child(3) {
    transform: rotate(-0.15deg);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-warm));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.expertise-card:hover {
    transform: translateY(-4px) rotate(0deg) !important;
    border-color: var(--border-hover);
    box-shadow: var(--shadow-xl);
}

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

.expertise-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-lg);
    opacity: 0.2;
    letter-spacing: -0.05em;
}

.expertise-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.expertise-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.expertise-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.expertise-list li {
    color: var(--text-muted);
    font-size: 0.9375rem;
    padding-left: var(--spacing-lg);
    position: relative;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Capabilities Section
   ============================================ */

.capabilities {
    background: var(--bg-primary);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.capability-item {
    padding: var(--spacing-2xl);
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.capability-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(91, 141, 239, 0.4);
}

.capability-item:hover::after {
    opacity: 1;
}

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

.capability-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.15), rgba(183, 148, 246, 0.1));
    border: 1px solid rgba(91, 141, 239, 0.3);
    border-radius: var(--radius-lg);
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 141, 239, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-item:hover .capability-icon {
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.2), rgba(183, 148, 246, 0.15));
    border-color: var(--accent);
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 4px 12px rgba(91, 141, 239, 0.3);
}

.capability-item:hover .capability-icon::before {
    opacity: 1;
}

.capability-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.capability-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

.why-choose {
    background: var(--bg-secondary);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.why-choose-text {
    max-width: none;
}

.why-choose-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.why-point {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.why-point-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.why-point h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.why-point p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.visual-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    width: 100%;
}

.visual-stat-card {
    padding: var(--spacing-xl);
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
}

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

.visual-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.03em;
    filter: drop-shadow(0 2px 4px rgba(91, 141, 239, 0.3));
}

.visual-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-4xl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-detail-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form-wrapper {
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

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

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

/* Form Messages */
.form-message {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideIn 0.3s ease;
}

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

.form-message-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
}

.form-message-success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
}

.form-message-error::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.footer-logo svg {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-subtle);
    font-size: 0.8125rem;
}

/* ============================================
   Projects Page - Distinct Style
   ============================================ */

.projects-hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.projects-title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.projects-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.projects-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-2xl);
}

.project-card {
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent-warm));
    border-radius: var(--radius-xl);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(12px);
    animation: card-glow 4s ease-in-out infinite;
}

@keyframes card-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.2; }
}

.project-card:hover::before {
    opacity: 0.4;
    animation: none;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.project-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.project-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-md);
}

.coming-soon-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-card.coming-soon {
    opacity: 0.85;
    border-style: dashed;
}

.project-card.coming-soon:hover {
    opacity: 1;
    border-style: solid;
}

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

.project-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-lg);
    color: var(--primary);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.project-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.project-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.project-content {
    margin-bottom: var(--spacing-xl);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.12), rgba(183, 148, 246, 0.08));
    border: 1px solid rgba(91, 141, 239, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--primary-light);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.2), rgba(183, 148, 246, 0.15));
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(91, 141, 239, 0.3);
}

.feature-tag:hover::before {
    left: 100%;
}

.project-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.stat-mini {
    flex: 1;
    text-align: center;
}

.stat-mini-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.stat-mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.project-actions {
    margin-top: var(--spacing-lg);
}

.project-related {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.project-related-header {
    margin-bottom: var(--spacing-lg);
}

.project-related-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.project-related-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.project-related-item:hover {
    border-color: var(--border-hover);
    background: rgba(15, 23, 42, 0.6);
}

.related-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.related-item-content {
    flex: 1;
}

.related-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.related-item-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.related-item-action {
    flex-shrink: 0;
}

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.875rem;
}

.cta-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   About Page - Unique Personable Style
   ============================================ */

.about-hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-4xl);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
    max-width: 700px;
}

.about-story {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-secondary);
}

.story-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-4xl);
    align-items: start;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.story-paragraphs p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 400;
}

.story-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: sticky;
    top: 100px;
}

.story-card {
    padding: var(--spacing-xl);
    background: rgba(30, 41, 59, 0.4);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--accent-warm));
    opacity: 0.8;
    box-shadow: 0 0 12px rgba(91, 141, 239, 0.5);
}

.story-card:hover {
    background: rgba(30, 41, 59, 0.6);
    transform: translateX(6px);
    box-shadow: 4px 0 16px rgba(91, 141, 239, 0.2);
}

.story-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.15), rgba(183, 148, 246, 0.1));
    border: 1px solid rgba(91, 141, 239, 0.3);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.story-card:hover .story-card-icon {
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.25), rgba(183, 148, 246, 0.2));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(91, 141, 239, 0.3);
}

.story-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.story-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-values {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
}

.values-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.values-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    padding: var(--spacing-2xl);
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    position: relative;
}

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

.value-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
    letter-spacing: -0.05em;
    filter: drop-shadow(0 2px 4px rgba(91, 141, 239, 0.25));
}

.value-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.value-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-approach {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-secondary);
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-4xl);
    align-items: start;
}

.approach-timeline {
    position: relative;
    padding-left: var(--spacing-xl);
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--accent-warm));
    opacity: 0.3;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-2xl);
    padding-left: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    left: -19px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--bg-secondary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(91, 141, 239, 0.5);
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.approach-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.approach-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

.approach-highlight {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(37, 99, 235, 0.08);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
}

.approach-highlight p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
}

.approach-highlight strong {
    color: var(--primary);
    font-weight: 700;
}

.about-cta {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
    text-align: center;
}

.about-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.about-cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .why-choose-visual {
        order: -1; /* Show visual stats first on mobile */
    }

    .visual-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .visual-stat-card {
        padding: var(--spacing-lg);
    }

    .visual-stat-value {
        font-size: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .story-content,
    .approach-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .story-visual {
        position: static;
    }

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

@media (max-width: 768px) {
    /* Mobile Hero Graphics Fixes */
    .hero {
        overflow: hidden;
        min-height: auto;
        padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
    }

    .hero-background {
        overflow: hidden;
    }

    .hero-grid {
        background-size: 40px 40px; /* Smaller grid for mobile */
        opacity: 0.15;
        transform: rotate(0deg); /* Remove rotation on mobile */
    }

    .hero-gradient-orb {
        filter: blur(80px); /* Less blur on mobile */
        opacity: 0.15; /* More subtle */
    }

    .orb-1 {
        width: 400px; /* Much smaller - was 900px */
        height: 400px;
        top: -200px;
        right: -150px;
    }

    .orb-2 {
        width: 350px; /* Much smaller - was 700px */
        height: 350px;
        bottom: -150px;
        left: -100px;
    }

    /* Mobile Navigation Improvements */
    .nav-container {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: var(--bg-secondary);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        flex-direction: column;
        padding: calc(var(--spacing-4xl) + 60px) var(--spacing-xl) var(--spacing-2xl);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }

    .nav-link {
        display: block;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1.125rem;
        font-weight: 600;
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
        min-height: 56px; /* Better touch target */
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(91, 141, 239, 0.2);
    }

    .nav-link:active {
        background: rgba(91, 141, 239, 0.1);
        transform: scale(0.98);
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: var(--spacing-sm);
        border-radius: var(--radius-md);
        -webkit-tap-highlight-color: rgba(91, 141, 239, 0.2);
        transition: background 0.2s ease;
    }

    .nav-toggle:active {
        background: rgba(91, 141, 239, 0.1);
    }

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

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

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

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

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

    .expertise-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .visual-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        max-width: 100%;
        overflow: hidden;
    }

    .visual-stat-card {
        padding: var(--spacing-md);
        max-width: 100%;
        overflow: hidden;
    }

    .visual-stat-value {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

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

    .why-choose-content {
        gap: var(--spacing-xl);
    }

    .why-choose-visual {
        max-width: 100%;
        overflow: hidden;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .btn {
        width: 100%;
        justify-content: center;
        min-height: 52px; /* Better touch target */
        font-size: 1rem;
        padding: var(--spacing-md) var(--spacing-xl);
        -webkit-tap-highlight-color: rgba(91, 141, 239, 0.2);
    }

    /* Mobile Form Improvements */
    .contact-form-wrapper {
        padding: var(--spacing-xl);
        margin: 0;
    }

    .form-group {
        margin-bottom: var(--spacing-xl);
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: var(--spacing-md) var(--spacing-lg);
        min-height: 52px; /* Better touch target */
        border-radius: var(--radius-md);
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }

    .form-group textarea {
        min-height: 160px;
        padding: var(--spacing-lg);
        line-height: 1.6;
    }

    .form-group label {
        font-size: 0.9375rem;
        margin-bottom: var(--spacing-sm);
    }

    button[type="submit"] {
        min-height: 56px;
        font-size: 1.0625rem;
        font-weight: 600;
    }

    /* Mobile Typography Improvements */
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .container {
        padding: 0 var(--spacing-md);
        overflow-x: hidden;
    }

    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .hero {
        padding: calc(70px + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg);
        min-height: auto;
        overflow: hidden;
    }

    /* Even smaller orbs for very small screens */
    .orb-1 {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -100px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
        bottom: -100px;
        left: -50px;
    }

    .hero-grid {
        background-size: 30px 30px;
        opacity: 0.1;
    }

    /* Extra small - Coming Soon Page */
    .projects-hero-content > div[style*="padding: 1rem 3rem"] {
        padding: var(--spacing-xs) var(--spacing-md) !important;
        font-size: 0.6875rem !important;
    }

    .project-card > div[style*="font-size: 3rem"] {
        font-size: 1.5rem !important;
    }

    .project-card > div[style*="width: 120px"] {
        width: 60px !important;
        height: 60px !important;
    }

    .project-card > div[style*="width: 120px"] svg {
        width: 32px !important;
        height: 32px !important;
    }

    .project-card h2.project-title[style*="font-size: 2rem"] {
        font-size: 1.125rem !important;
    }

    .project-card p.project-description[style*="font-size: 1.25rem"] {
        font-size: 0.9375rem !important;
    }

    .project-card[style*="padding: var(--spacing-4xl)"] {
        padding: var(--spacing-lg) var(--spacing-md) !important;
    }

    section {
        padding: var(--spacing-xl) 0;
    }

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

    .expertise-card,
    .capability-item {
        padding: var(--spacing-lg);
    }

    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }

    .form-group {
        margin-bottom: var(--spacing-lg);
    }

    /* Better spacing for small screens */
    .tech-card,
    .project-card {
        padding: var(--spacing-lg);
    }

    /* Improve touch targets on very small screens */
    .btn {
        min-height: 48px;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .nav-link {
        min-height: 52px;
        padding: var(--spacing-md);
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Safe area insets for iOS */
    .navbar {
        padding-top: env(safe-area-inset-top);
    }

    .nav-menu {
        padding-top: calc(env(safe-area-inset-top) + var(--spacing-4xl) + 60px);
        padding-bottom: calc(env(safe-area-inset-bottom) + var(--spacing-2xl));
    }

    /* Improve scrolling on mobile */
    * {
        -webkit-tap-highlight-color: rgba(91, 141, 239, 0.1);
    }

    /* Better focus states for mobile */
    .form-group input:focus,
    .form-group textarea:focus {
        box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.15);
        transform: scale(1.01);
    }

    /* Smooth animations */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Prevent text size adjustment on iOS */
    html {
        -webkit-text-size-adjust: 100%;
    }

    /* Better card spacing on mobile */
    .tech-card,
    .project-card,
    .capability-item {
        margin-bottom: var(--spacing-lg);
    }

    /* Fix card rotations on mobile - remove organic rotations */
    .expertise-card {
        transform: rotate(0deg) !important;
    }

    .expertise-card:hover {
        transform: translateY(-4px) !important;
    }

    /* Ensure all cards are contained */
    .expertise-card,
    .capability-item,
    .project-card,
    .tech-card {
        overflow: hidden;
        max-width: 100%;
    }

    /* Fix capability icons on mobile */
    .capability-icon {
        width: 48px;
        height: 48px;
    }

    .capability-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Fix expertise numbers on mobile */
    .expertise-number {
        font-size: 3rem;
    }

    /* Improve stat display on mobile */
    .stat-item {
        padding: var(--spacing-lg);
    }

    .stat-value {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    /* Ensure hero content doesn't overflow */
    .hero-content {
        max-width: 100%;
        padding: 0;
    }

    /* Fix hero badge on mobile */
    .hero-badge {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    /* Ensure all sections are contained */
    section {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    /* Coming Soon Page Mobile Fixes */
    .projects-hero {
        padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
        min-height: auto;
    }

    /* Fix coming soon badge - responsive sizing */
    .projects-hero-content > div[style*="padding: 1rem 3rem"],
    .projects-hero-content > div[style*="padding:1rem 3rem"] {
        padding: var(--spacing-sm) var(--spacing-lg) !important;
        font-size: clamp(0.625rem, 3vw, 0.875rem) !important;
        letter-spacing: 0.1em !important;
        margin-bottom: var(--spacing-lg) !important;
        display: block !important;
        width: fit-content !important;
        max-width: calc(100% - var(--spacing-md)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    /* Fix projects subtitle on coming soon page */
    .projects-subtitle[style*="font-size: 1.5rem"] {
        font-size: clamp(0.9375rem, 4vw, 1.125rem) !important;
        padding: 0 var(--spacing-sm) !important;
    }

    /* Use more specific selectors for coming soon page elements */
    .projects-section .project-card[style*="padding: var(--spacing-4xl)"] {
        padding: var(--spacing-xl) var(--spacing-lg) !important;
    }

    /* Fix large icon on coming soon page */
    .project-card > div[style*="width: 120px"],
    .project-card > div[style*="width:120px"] {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: var(--spacing-lg) !important;
    }

    .project-card > div[style*="width: 120px"] svg,
    .project-card > div[style*="width:120px"] svg {
        width: 40px !important;
        height: 40px !important;
    }

    /* Fix large "Coming Soon" text */
    .project-card > div[style*="font-size: 3rem"],
    .project-card > div[style*="font-size:3rem"] {
        font-size: clamp(1.5rem, 8vw, 2.25rem) !important;
        margin-bottom: var(--spacing-md) !important;
        line-height: 1.2 !important;
    }

    /* Fix project title on coming soon page */
    .project-card h2.project-title[style*="font-size: 2rem"],
    .project-card h2.project-title[style*="font-size:2rem"] {
        font-size: clamp(1.125rem, 5vw, 1.5rem) !important;
        margin-bottom: var(--spacing-md) !important;
    }

    /* Fix description text on coming soon page */
    .project-card p.project-description[style*="font-size: 1.25rem"],
    .project-card p.project-description[style*="font-size:1.25rem"] {
        font-size: clamp(0.9375rem, 4vw, 1.0625rem) !important;
        line-height: 1.7 !important;
        padding: 0 !important;
    }

    /* Fix construction message box */
    .project-card > div[style*="padding: var(--spacing-xl)"] {
        padding: var(--spacing-lg) var(--spacing-md) !important;
        margin-bottom: var(--spacing-lg) !important;
    }

    .project-card > div[style*="padding: var(--spacing-xl)"] h3 {
        font-size: clamp(0.9375rem, 4vw, 1.125rem) !important;
    }

    .project-card > div[style*="padding: var(--spacing-xl)"] p {
        font-size: clamp(0.8125rem, 3.5vw, 0.9375rem) !important;
        line-height: 1.6 !important;
    }

    /* Fix all text elements to wrap properly */
    .projects-section .project-card > div,
    .projects-section .project-card > p,
    .projects-section .project-card > h2 {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Fix button actions on coming soon page */
    .project-actions[style*="display: flex"],
    .project-actions {
        flex-direction: column !important;
        gap: var(--spacing-md) !important;
        width: 100% !important;
    }

    .project-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 48px !important;
    }

    /* Projects Page - Fix Related Resources on Mobile */
    .project-related-item {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .related-item-content {
        order: 1;
    }

    .related-item-icon {
        order: 0;
        width: 40px;
        height: 40px;
        align-self: flex-start;
    }

    .related-item-action {
        order: 2;
        width: 100%;
        margin-top: var(--spacing-xs);
    }

    .related-item-action .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    /* Fix project actions buttons on mobile */
    .project-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }

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