/* CSS Variables - Dark Theme (Default) */
:root {
    --dark-bg: #0a0000;
    --darker-bg: #050000;
    --card-bg: #110000;
    --border-color: #1a0000;
    --neon-red: #ff0000;
    --blood-red: #8b0000;
    --scarlet: #dc143c;
    --crimson: #dc143c;
    --neon-white: #ffffff;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-color: #ff0033;
    --terminal-red: #ff0000;
    --matrix-red: #ff0000;
    --cyber-red: #ff0000;
    --shadow-red: rgba(255, 0, 0, 0.3);
    --neon-green: #33ff00;
}

/* Light Theme Variables */
[data-theme="light"] {
    --dark-bg: #f5f5f5;
    --darker-bg: #e8e8e8;
    --card-bg: #ffffff;
    --border-color: #d1d1d1;
    --neon-red: #28a745;
    --blood-red: #1e7e34;
    --scarlet: #155724;
    --crimson: #0f4c1a;
    --neon-white: #000000;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --accent-color: #007bff;
    --terminal-red: #28a745;
    --matrix-red: #28a745;
    --cyber-red: #17a2b8;
    --shadow-red: rgba(40, 167, 69, 0.15);
    --neon-green: #28a745;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 25px;
    background: var(--card-bg);
    border: 2px solid var(--neon-red);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--shadow-red), 0 0 20px rgba(255, 0, 0, 0.5);
    margin-left: 1rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.theme-toggle:hover {
    box-shadow: 0 0 15px var(--shadow-red);
    transform: scale(1.05);
}

.theme-toggle::before {
    content: '🌙';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: all 0.3s ease;
    opacity: 1;
    z-index: 1002;
}

.theme-toggle::after {
    content: '☀️';
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1002;
}

.theme-toggle .toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    background: var(--neon-red);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-red);
    z-index: 1003;
}

[data-theme="light"] .theme-toggle::before {
    opacity: 0;
}

[data-theme="light"] .theme-toggle::after {
    opacity: 1;
}

[data-theme="light"] .theme-toggle .toggle-slider {
    left: calc(100% - 19px);
    background: var(--accent-color);
    box-shadow: 0 0 5px var(--accent-color);
}

/* Theme transition for smooth switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(255, 0, 0, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(255, 0, 0, 0.1) 100%);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Terminal-style scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-red);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-red);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scarlet);
    box-shadow: 0 0 15px var(--scarlet);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-red);
    z-index: 1000;
    box-shadow: 0 0 20px var(--shadow-red);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
    letter-spacing: 2px;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { text-shadow: 0 0 10px var(--neon-red); }
    100% { text-shadow: 0 0 20px var(--neon-red), 0 0 30px var(--neon-red); }
}

.logo-subtext {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--neon-red);
    border-color: var(--neon-red);
    box-shadow: 0 0 10px var(--shadow-red);
    text-shadow: 0 0 5px var(--neon-red);
}

.nav-link::before {
    content: '>';
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--neon-red);
}

.nav-link:hover::before {
    opacity: 1;
    left: -15px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-red);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-red);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 0, 0, 0.3) 0%, transparent 50%);
    pointer-events: none;
    animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    color: var(--neon-red);
    text-shadow: 0 0 20px var(--neon-red);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    animation: titleFlicker 3s ease-in-out infinite;
}

@keyframes titleFlicker {
    0%, 100% { text-shadow: 0 0 20px var(--neon-red); }
    50% { text-shadow: 0 0 30px var(--neon-red), 0 0 40px var(--neon-red); }
}

.hero-subtitle {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    font-family: 'Courier New', monospace;
    padding: 1rem 2rem;
    border: 2px solid;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    border-color: var(--neon-red);
    color: var(--neon-red);
    box-shadow: 0 0 20px var(--shadow-red);
}

.btn-primary:hover {
    background: var(--neon-red);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--neon-red);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--blood-red);
    color: var(--blood-red);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--blood-red);
    color: var(--neon-white);
    box-shadow: 0 0 30px var(--blood-red);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-red);
    text-shadow: 0 0 15px var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

/* Services Section */
.services {
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transform: translateY(-5px) scale(1.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects Section */
#projects {
    padding: 6rem 0;
    background: var(--section-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease-out;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--neon-red);
    box-shadow: 0 10px 40px var(--shadow-red);
}

.project-card h3 {
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.project-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.project-icon {
    font-size: 2.5rem;
    line-height: 1;
}

/* About Section */
#about {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.stat-number {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services List Styling */
.services-list-container {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.services-list-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-red);
    animation: bloodFlow 3s ease-in-out infinite;
}

@keyframes bloodFlow {
    0%, 100% { 
        transform: scaleX(0); 
        opacity: 0.8;
    }
    50% { 
        transform: scaleX(1); 
        opacity: 1;
    }
}

.services-list-title {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.services-list-title::before {
    content: '>';
    position: absolute;
    left: -20px;
    color: var(--neon-red);
    animation: terminalBlink 1s ease-in-out infinite;
}

/* Services Categories */
.services-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.services-category:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 20px var(--shadow-red);
}

.category-title {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--neon-red);
    text-shadow: 0 0 8px var(--neon-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 20px;
}

.category-title::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-red);
    animation: terminalBlink 1.5s ease-in-out infinite;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
}

.services-list li {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-list li::before {
    content: '>';
    position: absolute;
    left: 6px;
    color: var(--neon-red);
    opacity: 0;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px var(--neon-red);
}

.services-list li:hover {
    color: var(--neon-red);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--shadow-red);
    transform: translateX(5px);
    text-shadow: 0 0 5px var(--neon-red);
    animation: listItemFlicker 0.3s ease-in-out;
}

.services-list li:hover::before {
    opacity: 1;
    left: 10px;
}

@keyframes listItemFlicker {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 15px var(--shadow-red);
    }
    50% { 
        opacity: 0.9; 
        box-shadow: 0 0 20px var(--neon-red);
    }
}

.services-list li:nth-child(odd) {
    animation-delay: 0.1s;
}

.services-list li:nth-child(even) {
    animation-delay: 0.2s;
}

/* Services Note Section */
.services-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--darker-bg);
    border: 1px solid var(--neon-red);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.services-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-red), var(--blood-red), var(--neon-red));
    animation: noteGlow 2s ease-in-out infinite;
}

@keyframes noteGlow {
    0%, 100% { 
        opacity: 0.8; 
        transform: scaleX(0.8);
    }
    50% { 
        opacity: 1; 
        transform: scaleX(1);
    }
}

.note-title {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 25px;
}

.note-title::before {
    content: '!';
    position: absolute;
    left: 0;
    color: var(--neon-red);
    animation: warningBlink 1s ease-in-out infinite;
    font-weight: bold;
}

@keyframes warningBlink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.services-note p {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.services-note strong {
    color: var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
    font-weight: bold;
}

/* Responsive adjustments for services list */
@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .services-list li {
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .note-title {
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact {
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 20px var(--shadow-red);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-item h4 {
    font-family: 'Courier New', monospace;
    color: var(--neon-red);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-link {
    color: var(--neon-red);
    text-decoration: none;
    text-shadow: 0 0 5px var(--neon-red);
    transition: all 0.3s ease;
    font-weight: bold;
}

.contact-link:hover {
    text-shadow: 0 0 10px var(--neon-red), 0 0 15px var(--neon-red);
    animation: linkGlow 0.5s ease-in-out;
}

@keyframes linkGlow {
    0%, 100% { 
        text-shadow: 0 0 5px var(--neon-red);
    }
    50% { 
        text-shadow: 0 0 15px var(--neon-red), 0 0 25px var(--neon-red);
    }
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-red);
    box-shadow: 0 0 10px var(--shadow-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Contact Method Options */
.contact-method-label {
    display: block;
    margin-bottom: 1rem;
    color: var(--neon-red);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-method-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.contact-method-option:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 10px var(--shadow-red);
}

.contact-method-option input[type="radio"] {
    display: none;
}

.contact-method-option input[type="radio"]:checked + .option-icon + .option-text {
    color: var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
}

.contact-method-option input[type="radio"]:checked ~ * {
    color: var(--neon-red);
}

.option-icon {
    font-size: 1.2rem;
}

.option-text {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Privacy Policy */
.privacy-policy-group {
    margin-top: 2rem;
}

.privacy-policy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-wrap: wrap;
}

.privacy-policy-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.privacy-policy-label input[type="checkbox"]:checked + .checkmark {
    background: var(--neon-red);
    border-color: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

.privacy-policy-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-bg);
    font-weight: bold;
    font-size: 12px;
}

.policy-link {
    color: var(--neon-red);
    text-decoration: none;
    text-shadow: 0 0 5px var(--neon-red);
}

.policy-link:hover {
    text-decoration: underline;
}

.privacy-policy-text {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-red);
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-30px) scale(1.3); 
        opacity: 1; 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--neon-red);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        align-items: center;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .contact-method-options {
        flex-direction: column;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Contact Form Mobile Fixes */
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-method-option {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .privacy-policy-label {
        font-size: 0.85rem;
        line-height: 1.4;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    
    .privacy-policy-label .checkmark {
        margin-top: 0;
        align-self: center;
    }
    
    .privacy-policy-text {
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: center;
    }
    
    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .contact {
        width: 100%;
        overflow-x: hidden;
    }
    
    .contact-content {
        width: 100%;
        max-width: 100%;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
}

.notification-success {
    background: var(--neon-red);
    box-shadow: 0 0 20px var(--neon-red);
}

.notification-error {
    background: var(--blood-red);
    box-shadow: 0 0 20px var(--blood-red);
}

.notification-info {
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Redroom Effects Animations */
@keyframes flicker {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 20px var(--shadow-red);
    }
    25% { 
        opacity: 0.8; 
        box-shadow: 0 0 15px var(--shadow-red);
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 25px var(--neon-red);
    }
    75% { 
        opacity: 0.9; 
        box-shadow: 0 0 18px var(--shadow-red);
    }
}

@keyframes textGlitch {
    0%, 100% { 
        text-shadow: 0 0 15px var(--neon-red);
        transform: translateX(0);
    }
    25% { 
        text-shadow: 0 0 20px var(--neon-red), 2px 0 var(--blood-red);
        transform: translateX(-1px);
    }
    50% { 
        text-shadow: 0 0 25px var(--neon-red), -2px 0 var(--scarlet);
        transform: translateX(1px);
    }
    75% { 
        text-shadow: 0 0 18px var(--neon-red), 1px 0 var(--crimson);
        transform: translateX(-0.5px);
    }
}

@keyframes redParticleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.6; 
        box-shadow: 0 0 15px var(--neon-red);
    }
    25% { 
        transform: translateY(-20px) scale(1.2); 
        opacity: 0.8; 
        box-shadow: 0 0 20px var(--neon-red);
    }
    50% { 
        transform: translateY(-40px) scale(1.4); 
        opacity: 1; 
        box-shadow: 0 0 25px var(--neon-red), 0 0 35px var(--neon-red);
    }
    75% { 
        transform: translateY(-20px) scale(1.2); 
        opacity: 0.8; 
        box-shadow: 0 0 20px var(--neon-red);
    }
}

/* Eerie hover effects */
.service-card:hover,
.project-card:hover,
.contact-item:hover {
    animation: flicker 0.3s ease-in-out;
}

.btn:hover,
.nav-link:hover {
    animation: textGlitch 0.2s ease-in-out;
}

/* Blood drip effect for cards */
.service-card::after,
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--neon-red), transparent);
    transition: height 0.3s ease;
    transform: translateX(-50%);
}

.service-card:hover::after,
.project-card:hover::after {
    height: 100%;
    animation: bloodDrip 2s ease-in-out infinite;
}

@keyframes bloodDrip {
    0%, 100% { 
        height: 0; 
        opacity: 0.8;
    }
    50% { 
        height: 100%; 
        opacity: 1;
    }
}

/* Sinister background patterns */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: sinisterPulse 8s ease-in-out infinite;
}

@keyframes sinisterPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.02);
    }
}

/* Unsettling text effects */
.section-title::before {
    content: '>';
    position: absolute;
    left: -20px;
    color: var(--neon-red);
    opacity: 0;
    transition: all 0.3s ease;
    animation: terminalBlink 1s ease-in-out infinite;
}

.section-title:hover::before {
    opacity: 1;
    left: -25px;
}

@keyframes terminalBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Eerie form focus effects */
.form-group input:focus,
.form-group textarea:focus {
    animation: inputGlow 0.5s ease-in-out;
}

@keyframes inputGlow {
    0%, 100% { 
        box-shadow: 0 0 10px var(--shadow-red);
    }
    50% { 
        box-shadow: 0 0 20px var(--neon-red), 0 0 30px var(--neon-red);
    }
}

/* Global strong tag styling */
strong {
    color: var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
    font-weight: bold;
    transition: all 0.3s ease;
}

strong:hover {
    text-shadow: 0 0 10px var(--neon-red), 0 0 15px var(--neon-red);
    animation: strongGlow 0.5s ease-in-out;
}

@keyframes strongGlow {
    0%, 100% { text-shadow: 0 0 10px var(--neon-red); }
    50% { text-shadow: 0 0 20px var(--neon-red), 0 0 30px var(--scarlet); }
}

/* Project Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(10, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 3rem;
    border: 1px solid var(--neon-red);
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 40px var(--shadow-red), 0 0 80px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-button {
    color: var(--text-secondary);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--neon-red);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--neon-red);
}

#modalProjectTitle {
    color: var(--neon-red);
    text-shadow: 0 0 15px var(--neon-red);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-images img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    filter: brightness(0.8) contrast(1.1);
}

.modal-images img:hover {
    filter: brightness(1) contrast(1);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--shadow-red);
    transform: scale(1.05);
}

#modalProjectDescription {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

/* Light Theme Specific Overrides */
[data-theme="light"] body::before {
    background: 
        linear-gradient(90deg, transparent 98%, rgba(40, 167, 69, 0.03) 100%),
        linear-gradient(0deg, transparent 98%, rgba(40, 167, 69, 0.03) 100%);
}

[data-theme="light"] .navbar {
    background: rgba(245, 245, 245, 0.95);
    border-bottom: 1px solid var(--neon-red);
    box-shadow: 0 0 20px var(--shadow-red);
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

[data-theme="light"] .service-card,
[data-theme="light"] .project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.08);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .project-card:hover {
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.15);
    border-color: var(--neon-red);
}

[data-theme="light"] .contact-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.08);
}

[data-theme="light"] .contact-item:hover {
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.12);
    border-color: var(--neon-red);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--shadow-red);
}

[data-theme="light"] .btn {
    background: var(--card-bg);
    border: 2px solid var(--neon-red);
    color: var(--text-primary);
}

[data-theme="light"] .btn:hover {
    background: var(--neon-red);
    color: var(--card-bg);
    box-shadow: 0 0 20px var(--shadow-red);
}

[data-theme="light"] .contact-method-option {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .contact-method-option:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 12px var(--shadow-red);
}

[data-theme="light"] .contact-method-option input[type="radio"]:checked ~ * {
    color: var(--neon-red);
}

[data-theme="light"] .privacy-policy-label .checkmark {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
}

[data-theme="light"] .privacy-policy-label input[type="checkbox"]:checked + .checkmark {
    background: var(--neon-red);
    border-color: var(--neon-red);
}

[data-theme="light"] .footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] .services-list-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .services-list li {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .services-list li:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 12px var(--shadow-red);
}

[data-theme="light"] .services-note {
    background: var(--card-bg);
    border: 2px solid var(--neon-red);
}

[data-theme="light"] .stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .stat:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--shadow-red);
}

[data-theme="light"] .particle {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

[data-theme="light"] .red-particle {
    background: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red);
}

/* Mobile responsive adjustments for theme toggle */
@media (max-width: 768px) {
    .nav-controls {
        gap: 0.5rem;
    }
    
    .theme-toggle {
        margin-left: 0;
        width: 45px;
        height: 22px;
    }
    
    .theme-toggle .toggle-slider {
        width: 15px;
        height: 15px;
    }
    
    [data-theme="light"] .theme-toggle .toggle-slider {
        left: calc(100% - 17px);
    }
}
