/* ================================
   NOXGAMES Presentation Website
   Theme: Cyber/Gaming Modern (Dark Mode)
   ================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Enhanced NOXGAMES Blue Palette */
    --color-bg-dark: #000a1a;      /* Deep Dark Blue instead of Black */
    --color-bg-card: #05122b;      /* Rich Navy Blue for cards */
    --color-bg-light: #020f26;     /* Slightly lighter blue background */
    
    --color-primary: #007bff;      /* NOXGAMES Blue (Bright) */
    --color-primary-dark: #003366; /* NOXGAMES Blue (Dark) */
    --color-secondary: #00e5ff;    /* Cyan accent */
    --color-tertiary: #4d94ff;     /* Lighter Blue accent */
    
    --color-text: #e6f0ff;         /* Cool white */
    --color-text-muted: #8aa3cc;   /* Blue-grey for secondary text */
    --color-white: #ffffff;
    
    --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    --gradient-glow: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 229, 255, 0.2));
    --gradient-overlay: radial-gradient(circle at 50% 0%, rgba(0, 123, 255, 0.15), transparent 70%);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 4px 12px rgba(0, 10, 30, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 15, 40, 0.6);
    --shadow-lg: 0 12px 40px rgba(0, 20, 50, 0.8);
    --shadow-neon: 0 0 15px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 123, 255, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(0, 51, 102, 0.2), transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(0, 123, 255, 0.1), transparent 40%);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 4.5rem; letter-spacing: -1px; }
h2 { font-size: 3.5rem; letter-spacing: -0.5px; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Override section colors for Dark Gaming Theme */
.section-light {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-light) 100%);
    position: relative;
}

/* Removed separator for smoother blending */
.section-light::after {
    display: none;
}

.section-dark {
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg-dark) 100%);
    position: relative;
}

.section-accent {
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-primary-dark) 50%, #001a33 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    padding: 0.25rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 100px;
    background: rgba(0, 51, 102, 0.3);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

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

.lead {
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--color-text);
    max-width: 800px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    border: 1px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
    border-color: var(--color-secondary);
}

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

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

.btn-secondary:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(0, 10, 26, 0.95);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

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

.nav-menu a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--color-secondary);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-white);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.nav-cta {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid var(--color-primary);
    padding: 0.6rem 1.5rem !important;
    border-radius: 4px;
    color: var(--color-primary) !important;
}

.nav-cta:hover {
    background: var(--color-primary);
    color: var(--color-white) !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 30px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.hero-video-placeholder {
    width: 100%;
    height: 100%;
    /* Updated to more NOX Blue Gradient */
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 51, 102, 0.4), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.2), transparent 50%),
        linear-gradient(to bottom, #000a1a, #020f26);
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--color-bg-dark) 90%);
    background-image: 
        linear-gradient(rgba(0, 123, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 123, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--spacing-md);
    max-width: 1000px;
}

.hero-logo h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff, #8aa3cc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(0, 123, 255, 0.4);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 1px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-bottom: var(--spacing-lg);
    padding: 2rem;
    background: rgba(5, 18, 43, 0.6);
    border: 1px solid rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

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

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
}

.scroll-indicator span {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 4px; height: 6px;
    background: var(--color-secondary);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollPip 2s infinite;
}

@keyframes scrollPip {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* ===== WHO WE ARE / ABOUT ===== */
.who-we-are { padding: var(--spacing-xl) 0; }

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-text .lead {
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

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

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.fact-card {
    background: var(--color-bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.15);
}

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

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(1.5) drop-shadow(0 0 5px var(--color-primary-dark));
    transition: var(--transition);
}

.fact-card:hover .fact-icon {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 15px var(--color-secondary));
    transform: scale(1.1);
}

.fact-content h4 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

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

/* ===== TIMELINE ===== */
.timeline { padding: var(--spacing-lg) 0; }

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: var(--spacing-sm) 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--color-primary), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.timeline-year {
    grid-column: 2;
    width: 60px; height: 60px;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    z-index: 2;
}

.timeline-content {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 { color: var(--color-secondary); }
.timeline-item:nth-child(even) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-content { grid-column: 3; text-align: left; }

/* ===== TEAM / LEADERSHIP ===== */
.leadership { padding: var(--spacing-xl) 0; }

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.leader-card {
    background: var(--color-bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 123, 255, 0.1);
}

.leader-photo-placeholder {
    width: 140px; height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #001a33, #003366);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    border: 3px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

.leader-card h3 { font-size: 1.25rem; color: var(--color-white); margin-bottom: 0.25rem; }
.leader-title { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.leader-bio { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* Video Section Styles */
.team-video-section {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== GAMES SHOWCASE ===== */
.games-showcase { padding: var(--spacing-xl) 0; }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.game-image-placeholder {
    height: 220px;
    background: linear-gradient(45deg, #001a33, #00264d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-text-muted);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Featured Card Style */
.game-card.featured .game-image-placeholder {
    background: linear-gradient(45deg, #003366, #004ecb);
    color: var(--color-white);
}

.game-card.featured {
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.1);
}

.game-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.game-info h3 { font-size: 1.4rem; color: var(--color-white); }

.game-meta {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0 1rem;
    font-size: 0.85rem;
    align-items: center;
}

.game-meta .rating { color: #ffd700; }
.game-meta .downloads { color: var(--color-secondary); }
.game-meta .partnership { 
    background: var(--color-primary-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: white;
    border: 1px solid var(--color-primary);
}

.game-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.game-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.btn-game {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: var(--color-secondary);
    transition: var(--transition);
    text-decoration: none;
    flex-grow: 1;
    text-align: center;
}

.btn-game:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* ===== RECENT PROJECTS (STYLING UPDATE) ===== */
.recent-projects { padding: var(--spacing-xl) 0; }

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

.project-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    /* New Card Styling for Project Items */
    background: var(--color-bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 123, 255, 0.15);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-item.reverse {
    direction: rtl;
}

.project-item.reverse > * {
    direction: ltr;
}

.project-image .image-placeholder {
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

.tag {
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(0, 123, 255, 0.3);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-details h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.project-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.project-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.project-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ===== TECHNICAL EXPERTISE ===== */
.tech-expertise { padding: var(--spacing-xl) 0; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.tech-category h3 {
    color: var(--color-secondary);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
}

.tech-icon {
    background: rgba(0, 51, 102, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}

.tech-icon:hover {
    background: rgba(0, 51, 102, 0.4);
    transform: scale(1.1);
    border-color: var(--color-primary);
}

.tech-icon span { 
    font-size: 2rem; 
    display: block; 
    margin-bottom: 0.5rem;
    filter: grayscale(1) brightness(2);
    transition: var(--transition);
}

.tech-icon:hover span {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 8px var(--color-secondary));
}
.tech-icon p { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }

.tech-list li {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.tech-list li::before {
    content: '▹';
    color: var(--color-primary);
    margin-right: 10px;
}


/* ===== COMPETENCIES SECTION ===== */
.competencies { padding: var(--spacing-xl) 0; }

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

.competency-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
}

.competency-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.competency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(1.5) drop-shadow(0 0 5px var(--color-primary-dark));
    transition: var(--transition);
}

.competency-card:hover .competency-icon {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 15px var(--color-secondary));
    transform: scale(1.1) rotate(5deg);
}

.competency-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.competency-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ===== TOOLING SECTION ===== */
.tooling { padding: var(--spacing-xl) 0; }

.tools-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.tool-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.tool-icon-placeholder {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(1.5);
    transition: var(--transition);
}

.tool-card:hover .tool-icon-placeholder {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 10px var(--color-primary));
    transform: scale(1.1);
}

.tool-card h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

/* ===== CULTURE SECTION (STYLING UPDATE) ===== */
.culture { padding: var(--spacing-xl) 0; }

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

.culture-quote {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--color-white);
    margin: 0 0 3rem 0;
    padding: 2rem;
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.1), transparent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.culture-values li {
    background: rgba(5, 18, 43, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: var(--transition);
}

.culture-values li:hover {
    border-color: var(--color-secondary);
    background: rgba(5, 18, 43, 0.8);
    transform: translateY(-3px);
}

.culture-values strong {
    display: block;
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.culture-values p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}


/* ===== PARTNERSHIP / CALL TO ACTION ===== */
.partnership { padding: var(--spacing-xl) 0; }

.partnership-card {
    background: rgba(0, 51, 102, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.partnership-card:hover {
    background: rgba(0, 51, 102, 0.3);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.1);
}

.partnership-icon { 
    font-size: 3rem; 
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(1.5) drop-shadow(0 0 5px var(--color-primary-dark)); 
    transition: var(--transition);
}

.partnership-card:hover .partnership-icon {
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 15px var(--color-secondary));
    transform: translateY(-5px);
}

.partnership-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.partnership-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 800;
}

.cta {
    background: linear-gradient(to top, var(--color-bg-dark), #001a33);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
}

.cta-content { max-width: 800px; margin: 0 auto; }
.cta-buttons { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; }

/* ===== FOOTER ===== */
.footer {
    background: #000510;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    text-align: center;
}

.footer-logo {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-info { margin: 2rem 0; color: var(--color-text-muted); }
.footer-copyright { font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); }

/* ===== ANIMATION UTILS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Image Placeholders specific styles to look "techy" */
.image-placeholder, .video-placeholder {
    position: relative;
    overflow: hidden;
}
.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 123, 255, 0.1) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}

/* Responsive Adjusments */
@media (max-width: 768px) {
    :root { --spacing-lg: 3rem; --spacing-xl: 4rem; }
    .hero-logo h1 { font-size: 3.5rem; }
    .content-grid, .timeline-item, .culture-content, .project-item { grid-template-columns: 1fr; text-align: left !important; }
    .project-item.reverse { direction: ltr; }
    .project-item { padding: 1.5rem; gap: 1.5rem; }
    .timeline-year { display: none; } 
    .timeline-container::before { left: 0; }
    .timeline-content { margin-left: 1rem; border-left: 2px solid var(--color-primary); }
    .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--color-bg-dark); flex-direction: column; padding-top: 5rem; }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: flex; }
    .cta-buttons { flex-direction: column; }
}
