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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #2c3e50;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Header Styles - Professional Corporate Theme */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.3px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
}

nav a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section - Professional Theme */
#hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    padding: 100px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23f1f3f4" fill-opacity="0.4"><circle cx="30" cy="30" r="1"/></g></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 32px;
    color: #5a6c7d;
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
}

.hero-features {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(52, 152, 219, 0.15);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    z-index: 10;
    user-select: none;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #3498db;
}

.cta-btn.secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(44, 62, 80, 0.15);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(44, 62, 80, 0.2);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.lead {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

/* About Section */
#about {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.15);
    backdrop-filter: blur(10px);
}

.stat h3 {
    font-size: 2.8rem;
    color: #3498db;
    margin-bottom: 8px;
    font-weight: 700;
}

.stat p {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(44, 62, 80, 0.15);
}

/* Services Section */
#services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(52, 152, 219, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #3498db;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    color: #3498db;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    color: #5a6c7d;
}

.service-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #3498db;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Industries Section */
#industries {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
}

.industries-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    list-style: none;
}

.industries-list li {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(52, 152, 219, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.industries-list li:hover {
    color: #3498db;
    border-color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.15);
}

/* Careers Section */
#careers {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.careers-text h2 {
    text-align: left;
}

.benefits-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    background: rgba(255, 153, 0, 0.05);
    border-left: 4px solid #ff9900;
    padding: 20px;
    border-radius: 5px;
}

.benefit-item h4 {
    color: #ff9900;
    margin-bottom: 8px;
    font-size: 1rem;
}

.benefit-item p {
    color: #c0c0c0;
    font-size: 0.9rem;
}

.open-positions {
    margin: 30px 0;
}

.open-positions h3 {
    color: #ff9900;
    margin-bottom: 15px;
}

.open-positions ul {
    list-style: none;
    color: #d0d0d0;
}

.open-positions li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 153, 0, 0.1);
}

.open-positions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff9900;
}

.careers-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

.logo-display {
    text-align: center;
    margin: 30px 0;
}

.contact-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(255, 153, 0, 0.3));
}

.contact-details {
    display: grid;
    gap: 25px;
}

.contact-item {
    background: rgba(255, 153, 0, 0.05);
    border: 1px solid rgba(255, 153, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.contact-item h4 {
    color: #ff9900;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-item p {
    color: #d0d0d0;
}

.contact-item a {
    color: #ff9900;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-section h3 {
    color: #ff9900;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.contact-form select {
    cursor: pointer;
}

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

.privacy-note {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 15px;
    text-align: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    text-align: center;
    padding: 40px 0;
    margin-top: 0;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
}

/* Projects Page Specific Styles */
.project-category {
    margin-bottom: 60px;
}

.project-category h3 {
    color: #ff9900;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 153, 0, 0.3);
}

.project-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 1px solid rgba(255, 153, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #ff9900;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.1);
}

.project-card h4 {
    color: #ff9900;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-meta span {
    background: rgba(255, 153, 0, 0.1);
    color: #ff9900;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-card p {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-card strong {
    color: #ff9900;
}

.technologies {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tech-tag {
    background: linear-gradient(45deg, #ff9900, #ffb84d);
    color: #000;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.approach-item {
    background: rgba(255, 153, 0, 0.05);
    border: 1px solid rgba(255, 153, 0, 0.2);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.approach-item h4 {
    color: #ff9900;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.approach-item p {
    color: #c0c0c0;
    line-height: 1.5;
}

#project-cta {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    text-align: center;
    padding: 80px 0;
}

#project-cta h2 {
    margin-bottom: 20px;
}

#project-cta p {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 480px) {
    nav ul {
        gap: 10px;
    }
    
    nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/* === BLOG STYLES === */
.blog-hero {
    background: linear-gradient(135deg, #000000 0%, #001100 50%, #000000 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 65, 0.05) 0%, transparent 50%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    pointer-events: none;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff9900;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px #ff9900;
    animation: matrixGlow 3s ease-in-out infinite alternate;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #ff9900;
    margin-bottom: 0.5rem;
}

.blog-categories {
    padding: 60px 0;
    background: #1a1a1a;
    text-align: center;
}

.blog-categories h2 {
    margin-bottom: 2rem;
    color: #ffffff;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #ff9900;
    background: transparent;
    color: #ff9900;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #ff9900;
    color: #000000;
}

.featured-projects {
    padding: 80px 0;
    background: #0a0a0a;
}

.featured-projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.blog-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.2);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff9900;
    color: #000;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.category {
    color: #ff9900;
    font-weight: bold;
}

.blog-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: #333;
    color: #ff9900;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #ff9900;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.migration-phases {
    margin: 1.5rem 0;
}

.migration-phases h4 {
    color: #ff9900;
    margin-bottom: 1rem;
}

.migration-phases ul {
    list-style: none;
    padding: 0;
}

.migration-phases li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    color: #cccccc;
}

.migration-phases strong {
    color: #ff9900;
}

.contribution-note {
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid #ff9900;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.contribution-note p {
    margin: 0;
    color: #ffffff;
}

.community-section {
    padding: 80px 0;
    background: #1a1a1a;
}

.community-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.community-text h3,
.community-text h4 {
    color: #ff9900;
    margin-bottom: 1rem;
}

.community-text ul {
    list-style: none;
    padding: 0;
}

.community-text li {
    margin-bottom: 0.8rem;
    color: #cccccc;
    padding-left: 1.5rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: #0a0a0a;
    border: 1px solid #ff9900;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    color: #ff9900;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #cccccc;
    margin: 0;
}

.recent-posts {
    padding: 80px 0;
    background: #0a0a0a;
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.post-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: #ff9900;
}

.post-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #ff9900;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ffffff;
}

.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ff9900 0%, #ffaa00 100%);
    text-align: center;
}

.newsletter-section h2 {
    color: #000;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: #333;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-links {
        flex-direction: column;
    }
}

/* === MATRIX TERMINAL EFFECTS === */

/* Terminal cursor effect */
.terminal-cursor::after {
    content: '_';
    animation: cursorBlink 1s infinite;
    color: #ff9900;
}

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

/* Matrix code rain animation */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.matrix-rain::before {
    content: '01010101010101010101010101010101010101010101010101010101010101010101010101010101';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100vh;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(0, 255, 65, 0.1);
    line-height: 10px;
    word-wrap: break-word;
    animation: matrixFall 15s linear infinite;
}

@keyframes matrixFall {
    0% { transform: translateY(-100%); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Scanline effect */
.scanlines::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.02) 2px,
        rgba(0, 255, 65, 0.02) 4px
    );
    pointer-events: none;
    z-index: 1000;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

/* Terminal window styling */
.terminal-window {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #ff9900;
    border-radius: 5px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.terminal-window::before {
    content: '> ';
    color: #ff9900;
}

/* Glitch effect for special text */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #0000ff;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
}
