/* Import animations */
@import url('animations.css');

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

:root {
    /* Brand Colors */
    --primary-cyan: #00d4ff;
    --primary-purple: #7c3aed;
    --primary-orange: #f97316;
    --dark-bg: #0f1020;
    --dark-secondary: #1a1d3a;
    --text-white: #ffffff;
    --text-gray: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-orange));
    --gradient-bg: radial-gradient(circle at center, var(--dark-secondary), var(--dark-bg));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    --gradient-hover: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,58,237,0.1), rgba(249,115,22,0.1));
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(0,212,255,0.3);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --grid-gap: 2rem;
    
    /* Mobile viewport height fix */
    --vh: 1vh;
    
    /* Touch target sizes */
    --touch-target-min: 44px;
    --touch-spacing: 8px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.6s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--dark-bg);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Enhanced background with noise texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.005) 35px, rgba(255,255,255,.005) 70px),
        radial-gradient(ellipse at top, rgba(0,212,255,0.05), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 16, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.navbar.scrolled {
    background: rgba(15, 16, 32, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

/* Main content wrapper */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-bg);
    overflow: hidden;
    z-index: 2;
}

/* Enhanced hero background animation */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.floating-particles {
    position: absolute;
    inset: 0;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-medium);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: width 0.3s ease;
    border-radius: 50px;
}

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

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.4),
        0 0 50px rgba(0, 212, 255, 0.2);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-10px) rotate(-45deg); }
    60% { transform: translateY(-5px) rotate(-45deg); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* About Section */
.about {
    background: var(--dark-secondary);
}

.about-story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.story-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Glassmorphism enhancement */
.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.story-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.story-card:hover::before {
    opacity: 1;
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.story-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.story-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap);
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Animated gradient border */
.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-medium);
    animation: gradientShift 3s ease infinite;
}

.service-card:hover {
    transform: translateY(-5px) rotateX(-2deg) rotateY(2deg);
    background: rgba(255, 255, 255, 0.06);
    border-color: transparent;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(124, 58, 237, 0.3);
}

.service-card:hover::after {
    opacity: 0.3;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.tech-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.tech-tag:hover::before {
    width: 100px;
    height: 100px;
}

/* Future Aspirations Section */
.future-aspirations {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.future-aspirations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 212, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.aspirations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
    position: relative;
    z-index: 2;
}

.aspiration-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.aspiration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(249, 115, 22, 0.15));
    opacity: 0;
    transition: all 0.4s ease;
}

.aspiration-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 58, 237, 0.2);
}

.aspiration-card:hover::before {
    opacity: 1;
}

.aspiration-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
    transition: all 0.4s ease;
}

.aspiration-card:hover .aspiration-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.6));
}

.aspiration-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.aspiration-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.aspiration-status {
    display: inline-block;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(249, 115, 22, 0.3));
    color: var(--text-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aspiration-card:hover .aspiration-status {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(249, 115, 22, 0.5));
    border-color: rgba(124, 58, 237, 0.6);
    transform: scale(1.05);
}

/* Vision Section */
.vision {
    background: var(--dark-secondary);
}

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

.vision-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.vision-goals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.goal-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.goal-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.goal-text p {
    color: var(--text-muted);
    line-height: 1.6;
}

.vision-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotate 60s linear infinite; /* Slowed from 20s to 60s for professional look */
}

.vision-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--dark-secondary);
}

.circle-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.circle-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.circle-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grid-gap);
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

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

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
}

.value-card:hover::before {
    opacity: 0.05;
}

.value-icon-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

/* About Us Section */
.about-us {
    background: rgba(255, 255, 255, 0.03);
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-us-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.kpi {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.kpi h4 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Values List in About Us */
.values-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.value-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
}

.value-text h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.value-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--dark-secondary);
}

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

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

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.method-icon {
    font-size: 1.5rem;
}

.method-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.method-text p,
.method-text a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-text a:hover {
    color: var(--primary-cyan);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.08);
}

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

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    min-height: 200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--text-white);
}

.footer-brand p {
    color: var(--text-muted);
}

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

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    margin-top: 2rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
    font-style: italic;
    opacity: 0.8;
}

/* Reduce motion for accessibility and slow connections */
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: calc(var(--vh, 1vh) * 100);
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

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

.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 2px;
}

/* Skip to content link for accessibility - hidden by default, only visible on focus */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-cyan);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10001;
    border-radius: 4px;
    transition: top 0.2s ease, opacity 0.2s ease;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
}

.skip-to-content:focus {
    top: 10px;
    opacity: 1;
    pointer-events: auto;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kpis {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-circle {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    /* Stack vision goals on tablets/phones */
    .goal-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .goal-icon {
        font-size: 2rem;
        margin-top: 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .member-links {
        flex-direction: column;
    }
    
    .member-link {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 70px);
        height: calc(var(--vh, 1vh) * 100 - 70px);
        background: rgba(15, 16, 32, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        gap: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1003;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 80%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
        background: none;
        border: none;
        position: relative;
        z-index: 1002;
    }
    
    .nav-toggle:focus {
        outline: 2px solid var(--primary-cyan);
        outline-offset: 2px;
        border-radius: 4px;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-white);
        transition: all 0.3s ease;
        border-radius: 2px;
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* About Section */
    .about-story {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    /* About Us Section */
    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-us-card {
        padding: 1.5rem;
    }
    
    .about-us-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .about-us-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .about-us-card ul li {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }
    
    .kpis {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .kpi {
        padding: 0.75rem;
        text-align: center;
    }
    
    .kpi h4 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .kpi p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .value-item {
        padding: 0.875rem;
        gap: 0.875rem;
    }
    
    .value-icon {
        font-size: 1.25rem;
        min-width: 1.75rem;
        height: 1.75rem;
    }
    
    .value-text h4 {
        font-size: 0.9rem;
    }
    
    .value-text p {
        font-size: 0.8rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .service-tech {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: auto;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }
    
    /* Vision Section */
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-circle {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .circle-content h3 {
        font-size: 1.25rem;
    }
    
    .circle-content p {
        font-size: 0.875rem;
    }
    
    .vision-goals {
        gap: 1.5rem;
    }
    
    .goal-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .goal-icon {
        font-size: 2rem;
    }
    
    /* Future Aspirations Section */
    .aspirations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .aspiration-card {
        padding: 1.5rem;
    }
    
    .aspiration-card h3 {
        font-size: 1.25rem;
    }
    
    .aspiration-card p {
        font-size: 0.875rem;
    }
    
    .aspiration-status {
        font-size: 0.8rem;
        padding: 0.375rem 0.875rem;
    }
    
    /* Values Section */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
        text-align: left;
    }
    
    .value-icon-wrapper {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .value-card h3 {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .value-card::before {
        display: none;
    }
    
    .value-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        min-height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Team Page */
    .team-hero-title {
        font-size: 2rem;
    }
    
    .team-hero-subtitle {
        font-size: 1rem;
    }
    
    .team-hero-description {
        font-size: 1rem;
    }
    
    .member-name {
        font-size: 1.25rem;
    }
    
    .member-title {
        font-size: 0.875rem;
    }
    
    .member-bio {
        font-size: 0.875rem;
    }
    
    .join-content h2 {
        font-size: 2rem;
    }
    
    .join-content p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 0;
    }
    
    .nav-link {
        width: 90%;
        padding: 0.875rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-logo-img {
        width: 80px;
        height: 80px;
    }
    
    /* Cards */
    .story-card,
    .service-card,
    .value-card,
    .about-us-card {
        padding: 1rem;
    }
    
    /* Vision Circle */
    .vision-circle {
        width: 150px;
        height: 150px;
    }
    
    .circle-content h3 {
        font-size: 1rem;
    }
    
    .circle-content p {
        font-size: 0.75rem;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    /* Team Page */
    .team-hero-title {
        font-size: 1.75rem;
    }
    
    .team-hero-subtitle {
        font-size: 0.875rem;
    }
    
    .team-hero-description {
        font-size: 0.875rem;
    }
    
    .member-name {
        font-size: 1.125rem;
    }
    
    .member-title {
        font-size: 0.8rem;
    }
    
    .member-bio {
        font-size: 0.8rem;
    }
    
    .join-content h2 {
        font-size: 1.75rem;
    }
    
    .join-content p {
        font-size: 0.875rem;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
    }
    
    .avatar-placeholder.future {
        font-size: 2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
    
    /* Form */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Navigation */
    .nav-logo .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero-buttons .btn {
        max-width: 240px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: calc(var(--vh, 1vh) * 100);
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-img {
        width: 60px;
        height: 60px;
    }
    
    /* Compact navigation in landscape */
    .nav-container {
        height: 60px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .hero-logo-img,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Very small screens (e.g., iPhone SE) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .story-card,
    .service-card,
    .value-card,
    .about-us-card {
        padding: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 100%;
        right: -100%;
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 95%;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

/* Foldable devices */
@media (max-width: 280px) {
    .hero-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .container {
        padding: 0 0.25rem;
    }
}

/* Large screens optimization */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-medium);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

/* Enhanced KPI Cards with Counter Animation */
.kpi h4 {
    position: relative;
    overflow: hidden;
}

.kpi h4::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s ease-in-out;
}

/* Interactive Timeline (for future company history) */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    text-align: right;
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    text-align: left;
    padding-left: calc(50% + 2rem);
}

.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary-cyan);
    border: 3px solid var(--dark-bg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Progress Bar Component */
.skill-progress {
    margin: 1rem 0;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 1.5s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

/* Testimonial Cards (for future use) */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-cyan);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn,
    .service-card,
    .value-card,
    .about-us-card {
        min-height: var(--touch-target-min);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        margin: var(--touch-spacing) 0;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        margin: var(--touch-spacing);
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: var(--touch-target-min);
    }
    
    /* Improve touch targets for team page */
    .member-link {
        min-height: var(--touch-target-min);
        padding: 0.875rem 1rem;
    }
    
    .expertise-tag {
        min-height: 32px;
        padding: 0.5rem 0.875rem;
    }
    
    /* Remove hover effects on touch devices */
    .story-card:hover,
    .service-card:hover,
    .value-card:hover,
    .team-member-card:hover {
        transform: none;
    }
    
    /* Ensure tap highlights are visible */
    * {
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
    }
}

/* Team Page Styles */
.team-hero {
    background: var(--gradient-bg);
    padding: 120px 0 80px;
    text-align: center;
}

.team-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.team-hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.team-members {
    padding: var(--section-padding);
}

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

.team-member-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.3);
}

.team-member-card.founder {
    border-color: rgba(124, 58, 237, 0.3);
}

.team-member-card.founder:hover {
    border-color: rgba(124, 58, 237, 0.6);
}

.team-member-card.future-member {
    border-color: rgba(249, 115, 22, 0.3);
    opacity: 0.8;
}

.team-member-card.future-member:hover {
    border-color: rgba(249, 115, 22, 0.6);
    opacity: 1;
}

.member-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    position: relative;
}

.avatar-placeholder.future {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    font-size: 3rem;
}

.founder-badge,
.future-badge {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.future-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.member-title {
    font-size: 1rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-bio {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.member-expertise h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.expertise-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-cyan);
    color: var(--text-white);
}

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

.member-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.member-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-cyan);
    color: var(--text-white);
    transform: translateY(-2px);
}

.member-link.portfolio:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--primary-purple);
}

.member-link.github:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: #333;
}

.member-link.email:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--primary-orange);
}

.member-link.join:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.link-icon {
    font-size: 1rem;
}

.team-values {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--section-padding);
}

.join-us {
    background: var(--dark-secondary);
    padding: var(--section-padding);
    text-align: center;
}

.join-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.join-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating quick nav */
.floating-quick-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 16, 32, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 998;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
}

/* Hide quick nav when mobile menu is open */
body.mobile-menu-open .floating-quick-nav {
    display: none;
}

.quick-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.875rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.quick-nav-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

.quick-nav-btn span {
    display: none;
}

@media (min-width: 420px) {
    .quick-nav-btn span { display: inline; }
}

/* Team Navigation Section */
.team-navigation {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--section-padding);
}

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

.nav-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    min-width: 140px;
}

.nav-link-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-icon {
    font-size: 2rem;
    display: block;
}

.nav-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.nav-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.nav-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.nav-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.nav-card .btn {
    margin-top: auto;
}

/* Mobile styles for team navigation */
@media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-link-card {
        width: 100%;
        max-width: 280px;
        padding: 1.25rem;
    }
    
    .nav-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    /* Ensure team grid fits small phones */
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-member-card {
        padding: 1.25rem;
    }
    
    .nav-card {
        padding: 1.5rem;
    }
    
    .nav-icon {
        font-size: 2rem;
    }
    
    .nav-card h3 {
        font-size: 1.125rem;
    }
    
    .nav-card p {
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-buttons,
    .contact-form,
    .team-navigation {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
