/* ============================================
   Global Styles & Reset
   ============================================ */

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

:root {
    /* Dark Hacker Theme Color Palette - Inspired by CMD/Terminal */
    --primary-color: #00ff41;
    --primary-dark: #00cc33;
    --primary-light: #33ff66;
    --secondary-color: #0dff92;
    --accent-color: #00ffff;
    --text-primary: #00ff41;
    --text-secondary: #00cc66;
    --text-light: #009933;
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1419;
    --bg-dark: #000000;
    --bg-card: #1a1f2e;
    --gradient-1: linear-gradient(135deg, #00ff41 0%, #00ffff 100%);
    --gradient-2: linear-gradient(135deg, #0dff92 0%, #00ff41 100%);
    --terminal-green: #00ff41;
    --matrix-green: #0dff92;
    --cyber-cyan: #00ffff;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 255, 65, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 255, 65, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 255, 65, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 255, 65, 0.4);
    --glow: 0 0 10px rgba(0, 255, 65, 0.5);
    --glow-strong: 0 0 20px rgba(0, 255, 65, 0.8);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.03) 0%, transparent 50%);
}

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.2);
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.4);
    border-bottom: 1px solid rgba(0, 255, 65, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--terminal-green);
    text-decoration: none;
}

.logo-image {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.6));
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

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

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

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

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--terminal-green);
    border-radius: 3px;
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #000000 100%);
    opacity: 1;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.08) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: #000;
    box-shadow: var(--glow-strong);
    border: 1px solid var(--terminal-green);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 1);
    background: var(--terminal-green);
}

.btn-secondary {
    background: transparent;
    color: var(--terminal-green);
    border: 2px solid var(--terminal-green);
    box-shadow: var(--glow);
}

.btn-secondary:hover {
    background: var(--terminal-green);
    color: #000;
    box-shadow: var(--glow-strong);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
}

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

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 255, 65, 0.2);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-strong);
    border-color: var(--terminal-green);
    background: rgba(0, 255, 65, 0.05);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(0, 255, 65, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    box-shadow: var(--glow);
}

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

.service-card:hover {
    border-color: var(--terminal-green);
    box-shadow: var(--glow-strong);
    transform: translateY(-5px);
    background: rgba(0, 255, 65, 0.05);
}   border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   Research Section
   ============================================ */

.research {
    padding: var(--section-padding);
    background: var(--bg-dark);
    color: white;
}

.research .section-title,
.research .section-subtitle {
    color: white;
}

.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.research-area {
    background: rgba(0, 255, 65, 0.05);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 255, 65, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.research-area:hover {
    background: rgba(0, 255, 65, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--glow-strong);
    border-color: var(--terminal-green);
}

.research-area h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.research-area p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Team Section
   ============================================ */

.team {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(0, 255, 65, 0.3);
    text-align: center;
}

.team-member.featured {
    border: 3px solid var(--terminal-green);
    box-shadow: var(--glow-strong);
}

.member-image {
    margin-bottom: 30px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.member-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.member-role {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.member-bio {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: left;
}

.member-expertise {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.expertise-tag {
    padding: 8px 16px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--terminal-green);
    border-radius: 20px;
    font-size: 14px;
    color: var(--terminal-green);
    font-weight: 600;
    box-shadow: var(--glow);
}

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

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 255, 65, 0.2);
    box-shadow: var(--glow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--terminal-green);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.5);
    color: var(--terminal-green);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terminal-green);
    box-shadow: var(--glow);
    background: rgba(0, 0, 0, 0.7);
}

.form-group textarea {
    resize: vertical;
}

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

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    color: var(--text-secondary);
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid,
    .research-areas {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .team-member {
        padding: 30px 20px;
    }
    
    .member-name {
        font-size: 24px;
    }
}