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

:root {
    /* Modern Color Palette */
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Background Gradients */
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --cta-gradient: linear-gradient(90deg, #ffffff 0%, #f8fafc 25%, #e2e8f0 50%, #cbd5e1 75%, #94a3b8 100%);
    
    /* Page-specific CTA Gradients */
    --cta-home: linear-gradient(90deg, #ffffff 0%, #dbeafe 15%, #3b82f6 100%);
    --cta-about: linear-gradient(90deg, #ffffff 0%, #f0f9ff 15%, #0ea5e9 100%);
    --cta-contact: linear-gradient(90deg, #ffffff 0%, #f0fdf4 15%, #10b981 100%);
    --cta-why: linear-gradient(90deg, #ffffff 0%, #fef3c7 15%, #f59e0b 100%);
    --cta-compliance: linear-gradient(90deg, #ffffff 0%, #fce7f3 15%, #ec4899 100%);
    --cta-tech: linear-gradient(90deg, #ffffff 0%, #ede9fe 15%, #8b5cf6 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    padding-top: 80px;
}

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

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    transition: transform 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.2s ease;
}

.logo:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #6b7280;
    border-color: #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1f2937;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Main Content */
.content {
    flex: 1;
}

/* Hero Section */
.hero {
    padding: 0;
    background: linear-gradient(135deg, #dbeafe 0%, #f8fafc 100%);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 60px 0;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    margin-top: auto;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-top: 80px;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
}

.hero-actions {
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.typing-text {
    display: inline-block;
    min-height: 1.2em;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}

.hero-title .word {
    display: inline-block;
    margin-right: 0.3em;
    transition: opacity 1.5s ease-out;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    margin-left: 2px;
    color: #10b981;
    font-weight: 400;
}

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


.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-social {
    margin-top: 40px;
    text-align: center;
}

.hero-social .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-social .social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.hero-social .social-icon {
    font-size: 1.25rem;
    color: #374151;
}

.hero-social .social-link:hover .social-icon {
    color: #1e40af;
}

@media (max-width: 768px) {
    .hero-social {
        margin-top: 32px;
    }
    
    .hero-social .social-links {
        gap: 16px;
    }
    
    .hero-social .social-link {
        width: 44px;
        height: 44px;
    }
    
    .hero-social .social-icon {
        font-size: 1.125rem;
    }
}

.hero-meta {
    font-size: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 500;
}

.hero-meta::before,
.hero-meta::after {
    content: '';
    width: 20px;
    height: 1px;
    background: #d1d5db;
}

/* Services Section */
.section {
    padding: 80px 0;
    position: relative;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: 32px;
    margin-top: 20px;
    width: 100%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f0f9ff;
    border: 1px solid #dbeafe;
}


.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.2;
    text-align: center;
}

.service-card p {
    color: #6b7280;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Service icons */
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

/* Timeline Styles */
.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #3b82f6;
}


.timeline-content {
    width: 45%;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(1) .timeline-content {
    background: rgba(59, 130, 246, 0.1);
}

.timeline-item:nth-child(2) .timeline-content {
    background: rgba(59, 130, 246, 0.15);
}

.timeline-item:nth-child(3) .timeline-content {
    background: rgba(59, 130, 246, 0.2);
}

.timeline-item:nth-child(4) .timeline-content {
    background: rgba(59, 130, 246, 0.25);
}

.timeline-item:nth-child(5) .timeline-content {
    background: rgba(59, 130, 246, 0.3);
}

.timeline-item:nth-child(6) .timeline-content {
    background: rgba(59, 130, 246, 0.35);
}

.timeline-item:nth-child(7) .timeline-content {
    background: rgba(59, 130, 246, 0.4);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -16px;
    border-left-color: rgba(59, 130, 246, 0.1);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -16px;
    border-right-color: rgba(59, 130, 246, 0.15);
}

.timeline-item:nth-child(1) .timeline-content::before {
    border-left-color: rgba(59, 130, 246, 0.1);
}

.timeline-item:nth-child(2) .timeline-content::before {
    border-right-color: rgba(59, 130, 246, 0.15);
}

.timeline-item:nth-child(3) .timeline-content::before {
    border-left-color: rgba(59, 130, 246, 0.2);
}

.timeline-item:nth-child(4) .timeline-content::before {
    border-right-color: rgba(59, 130, 246, 0.25);
}

.timeline-item:nth-child(5) .timeline-content::before {
    border-left-color: rgba(59, 130, 246, 0.3);
}

.timeline-item:nth-child(6) .timeline-content::before {
    border-right-color: rgba(59, 130, 246, 0.35);
}

.timeline-item:nth-child(7) .timeline-content::before {
    border-left-color: rgba(59, 130, 246, 0.4);
}


.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.timeline-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        margin-bottom: 25px;
    }
    
    .timeline-item::before {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 50px;
        padding: 20px;
    }
    
    .timeline-content::before {
        left: -16px !important;
        right: auto !important;
        border-right-color: rgba(59, 130, 246, 0.1) !important;
        border-left-color: transparent !important;
    }
    
    .timeline-item:nth-child(1) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.1) !important;
    }
    
    .timeline-item:nth-child(2) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.15) !important;
    }
    
    .timeline-item:nth-child(3) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.2) !important;
    }
    
    .timeline-item:nth-child(4) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.25) !important;
    }
    
    .timeline-item:nth-child(5) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.3) !important;
    }
    
    .timeline-item:nth-child(6) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.35) !important;
    }
    
    .timeline-item:nth-child(7) .timeline-content::before {
        border-right-color: rgba(59, 130, 246, 0.4) !important;
    }
    
    .timeline-content h3 {
        font-size: 1.125rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

/* Feature List Styles */
.feature-list {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
}

.feature-icon {
    font-size: 2rem;
    margin-right: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.feature-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Process Flow Styles */
.process-flow {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-width: 250px;
    min-height: 120px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-content p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.step-arrow {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-left: 20px;
    font-weight: bold;
}

/* Mobile Process Flow */
@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        align-items: stretch;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        min-width: auto;
        margin-bottom: 30px;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Responsive grid for features */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--cta-gradient);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 25%, rgba(226, 232, 240, 0.7) 50%, rgba(203, 213, 225, 0.6) 75%, rgba(148, 163, 184, 0.5) 100%);
    transform: skewY(-1deg);
    transform-origin: top left;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
    font-weight: 600;
    padding: 16px 32px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta .btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.cta .btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    font-weight: 600;
    padding: 16px 32px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta .btn-outline:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Page-specific CTA Gradients */
.index-page .cta {
    background: var(--cta-home);
}

.about-page .cta {
    background: var(--cta-about);
}

.contact-page .cta {
    background: var(--cta-contact);
}

.why-nexops-page .cta {
    background: var(--cta-why);
}

.compliance-page .cta {
    background: var(--cta-compliance);
}

.tech-mix-page .cta {
    background: var(--cta-tech);
}

/* Ensure consistent hero title alignment across all pages */
.about-page .hero-title,
.contact-page .hero-title,
.why-nexops-page .hero-title,
.compliance-page .hero-title,
.tech-mix-page .hero-title {
    margin-top: 0;
    margin-bottom: 0;
}

/* Founder Story Styling */
.founder-story {
    max-width: 1000px;
    margin: 0 auto;
}

.story-content {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 24px;
    text-align: left;
}

.story-text:last-of-type {
    margin-bottom: 32px;
}

.story-conclusion {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    border-left: 4px solid #3b82f6;
    padding: 32px;
    border-radius: 12px;
    margin-top: 32px;
}

.conclusion-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 16px;
    font-weight: 500;
}

.conclusion-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .story-content {
        padding: 32px 24px;
    }
    
    .story-text,
    .conclusion-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .story-conclusion {
        padding: 24px 20px;
        margin-top: 24px;
    }
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: stretch;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.contact-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.success-message {
    display: none;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

/* Mobile Contact Layout */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cards {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
        padding: 24px;
    }
}

/* Technology Stack Table */
.tech-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: white;
    margin: 40px 0;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.tech-table thead {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.tech-table th {
    padding: 20px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-header {
    width: 20%;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.tools-header {
    width: 35%;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.description-header {
    width: 30%;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.type-header {
    width: 15%;
}

.tech-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.tech-table tbody tr:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tech-table tbody tr:last-child {
    border-bottom: none;
}

.tech-table td {
    padding: 20px 16px;
    vertical-align: top;
}

.category-cell {
    border-right: 1px solid #f3f4f6;
}

.category-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 8px;
}

.category-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.tools-cell {
    border-right: 1px solid #f3f4f6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #f0f9ff;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #dbeafe;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.tech-tag:visited {
    color: inherit;
}

.tech-tag:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.description-cell {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    border-right: 1px solid #f3f4f6;
}

.type-cell {
    text-align: center;
}

.type-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.type-badge.enterprise {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.type-badge.opensource {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.type-badge.mixed {
    background: #e0e7ff;
    color: #7c3aed;
    border: 1px solid #c4b5fd;
}

.type-badge.free-enterprise {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
    position: relative;
}

.type-badge.free-enterprise::after {
    content: "FREE";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #16a34a;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 8px;
    line-height: 1;
}

/* Responsive table */
@media (max-width: 1024px) {
    .tech-table th,
    .tech-table td {
        padding: 16px 12px;
    }
    
    .category-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .category-icon {
        width: 28px;
        height: 28px;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .tech-table-container {
        margin: 20px 0;
        border-radius: 8px;
    }
    
    .tech-table th,
    .tech-table td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .tech-table th {
        font-size: 0.75rem;
    }
    
    .tech-tags {
        gap: 4px;
    }
    
    .tech-tag {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .type-badge {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

/* Tech Mix legend */
.tech-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #e0e7ff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 12px 0 20px;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    border: 1px solid rgba(0,0,0,0.1);
}
.legend-dot.oss { background: #bbf7d0; border-color: #22c55e; }
.legend-dot.free { background: #bfdbfe; border-color: #2563eb; }
.legend-dot.mixed { background: #ddd6fe; border-color: #7c3aed; }

/* Hide Type column but keep in DOM for styling */
.type-header, .type-cell { display: none; }

/* Remove row-based coloring: explicit per-tag classes win */

/* Ensure visited state keeps variant colors */
.tech-tag.oss:visited { color: #065f46; }
.tech-tag.free:visited { color: #1e3a8a; }
.tech-tag.mixed:visited { color: #5b21b6; }

/* Tag variants (explicit classes) */
.tech-tag.oss {
    background: #bbf7d0;
    color: #065f46;
    border-color: #22c55e;
}
.tech-tag.oss:hover {
    background: #065f46;
    color: #ffffff;
}

.tech-tag.free {
    background: #bfdbfe;
    color: #1e3a8a;
    border-color: #2563eb;
}
.tech-tag.free:hover {
    background: #1e3a8a;
    color: #ffffff;
}

.tech-tag.mixed {
    background: #ddd6fe;
    color: #5b21b6;
    border-color: #7c3aed;
}
.tech-tag.mixed:hover {
    background: #5b21b6;
    color: #ffffff;
}

/* Footer */
.footer {
    background: #1f2937;
    padding: 60px 0 40px;
    border-top: 1px solid #374151;
}

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

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}


.footer-info {
    text-align: right;
}

.footer-info p {
    color: #d1d5db;
    margin-bottom: 8px;
}

.footer-address {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 16px;
        z-index: 1000;
    }
    
    .hero {
        padding: 40px 0 60px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .typing-text .word {
        margin-right: 0.1em;
    }
    
    .cursor {
        display: inline-block !important;
        animation: blink 1s infinite !important;
        margin-left: 2px;
        color: #10b981 !important;
        font-weight: 400;
        font-size: 0.8em;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 32px;
        aspect-ratio: 1;
    }
    
    .service-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .service-icon {
        font-size: 34px;
        margin-bottom: 12px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}
@media (max-width: 900px) {
    body {
        padding-top: 70px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 16px;
        z-index: 1000;
    }
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    font-family: inherit;
    background: #ffffff;
}

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 24px;
    }
}

/* Contact Page Social Media */
.contact-social {
    margin-top: 40px;
    text-align: center;
}

.contact-social .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-social .social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.contact-social .social-icon {
    font-size: 1.25rem;
    color: #374151;
}

.contact-social .social-link:hover .social-icon {
    color: #1e40af;
}

@media (max-width: 768px) {
    .contact-social {
        margin-top: 32px;
    }
    
    .contact-social .social-links {
        gap: 16px;
    }
    
    .contact-social .social-link {
        width: 44px;
        height: 44px;
    }
    
    .contact-social .social-icon {
        font-size: 1.125rem;
    }
}

/* Social Media Section Styling */
.social-section {
    max-width: 800px;
    margin: 0 auto;
}

.social-content {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    text-align: center;
    margin-bottom: 40px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.3);
    color: #1e40af;
}

.social-icon {
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Mobile Responsive for Social Section */
@media (max-width: 768px) {
    .social-content {
        padding: 32px 24px;
    }
    
    .social-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
    }
    
    .social-link {
        padding: 14px 18px;
    }
    
    .social-icon {
        font-size: 1.125rem;
        width: 22px;
        height: 22px;
    }
    
    .social-text {
        font-size: 0.9rem;
    }
}

