/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');
/* Note: Berkeley Mono is a premium font. If installed locally, it will be used for hero headings. */

/* CSS Custom Properties */
:root {
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #0a0a0a;
    --text-primary: #E0E0E0;
    --color-primary: #007BFF;
    --color-primary-hover: #0056b3;
    --color-accent: #007BFF;
    --border-color: #222;
    --font-main: 'JetBrains Mono', monospace;
    --font-hero: 'Berkeley Mono', 'JetBrains Mono', monospace;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: #E0E0E0;
    background-color: #111111;
}

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

/* Global Link Styles */
a {
    color: #007BFF;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

/* Navigation */
.navbar {
    background-color: #1a1a1a;
    color: #E0E0E0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #E0E0E0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0056b3;
}

/* Hero Section */
.hero {
    background: #111111;
    color: #E0E0E0;
    padding: 6rem 0;
    text-align: center;
    border-bottom: 2px solid #007BFF;
}

.hero h1 {
    font-family: 'Berkeley Mono', 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #E0E0E0;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #E0E0E0;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #E0E0E0;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.btn-primary {
    background-color: #007BFF;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #111111;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #E0E0E0;
}

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

.feature-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border-color: #007BFF;
}

.feature-card h3 {
    color: #007BFF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #E0E0E0;
}

/* Page Header */
.page-header {
    background: #111111;
    color: #E0E0E0;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 2px solid #007BFF;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #E0E0E0;
}

.page-header p {
    font-size: 1.2rem;
    color: #E0E0E0;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: #111111;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    background: #1a1a1a;
    padding: 2rem;
    border-left: 4px solid #007BFF;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.service-item:hover {
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.service-item h2 {
    color: #E0E0E0;
    margin-bottom: 1rem;
}

.service-item p {
    color: #E0E0E0;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #111111;
}

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

.about-content h2 {
    color: #E0E0E0;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: #E0E0E0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    margin-top: 1rem;
}

.values-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #1a1a1a;
    border-left: 3px solid #007BFF;
    border-radius: 3px;
    color: #E0E0E0;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: #111111;
}

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

.contact-info h2,
.contact-form h2 {
    color: #E0E0E0;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #E0E0E0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.contact-details h3 {
    color: #007BFF;
    margin-bottom: 1rem;
}

.contact-details p {
    color: #E0E0E0;
}

.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #E0E0E0;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #333;
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    background-color: #0a0a0a;
    color: #E0E0E0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: #E0E0E0;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    border-top: 2px solid #007BFF;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Reveal Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Animated Gradient Background */
.hero.animated-gradient {
    background: linear-gradient(-45deg, #0a0a0a, #111111, #1a1a1a, #0d1117);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Pulse Animation for CTA Button */
.pulse-animation {
    animation: pulse 2s infinite;
}

/* Navigation Link Animation */
.nav-link-animated {
    position: relative;
    display: inline-block;
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #007BFF;
    transition: width 0.3s ease, left 0.3s ease;
}

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

/* Navbar Scroll Effect */
.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Ripple Effect for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Form Focus Animation */
.form-group.focused label {
    color: #007BFF;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Page Load Animation */
body {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

body.loaded {
    opacity: 1;
}

/* Feature Cards Hover Enhancement */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* Service Item Animation */
.service-item {
    transform-origin: left center;
}

.service-item:hover {
    transform: translateX(5px);
}

/* Staggered Animation for Grid Items */
.feature-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.feature-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.feature-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

/* Hero Elements Animation */
.hero h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    opacity: 0;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero .btn {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Smooth Transitions */
* {
    scroll-behavior: smooth;
}

/* Logo Animation */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #007BFF;
}

/* Values List Animation */
.values-list li {
    transition: all 0.3s ease;
}

.values-list li:hover {
    transform: translateX(10px);
    border-left-width: 5px;
    background: #222;
}

/* Contact Details Hover */
.contact-details {
    transition: all 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* Disable parallax on mobile for better performance */
    .hero {
        transform: none !important;
    }
}
