/* Global Styles */
:root {
    --primary-color: #00ff00;
    --secondary-color: #00cc00;
    --accent-color: #ff0080;
    --text-color: #00ff00;
    --light-color: #0a0f0a;
    --dark-color: #000000;
    --gray-color: #003300;
    --border-color: #00ff00;
    --terminal-green: #00ff00;
    --matrix-green: #00ff00;
    --cyber-blue: #00ffff;
    --danger-red: #ff0000;
    --warning-yellow: #ffff00;
    --hacker-purple: #ff00ff;
    --hacker-cyan: #00ffff;
    --box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    color: var(--terminal-green);
    background-color: var(--dark-color);
    background-image: 
        linear-gradient(rgba(0, 255, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.05) 1px, transparent 1px);
    background-size: 15px 15px;
    position: relative;
    overflow-x: hidden;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.5);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 0, 255, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: hacker-pulse 4s ease-in-out infinite;
}

@keyframes hacker-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--terminal-green);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: hacker-glow 2s ease-in-out infinite;
}

.section-header h2::before {
    content: '> ';
    color: var(--danger-red);
    animation: blink 0.8s infinite;
}

.section-header h2::after {
    content: ' _';
    color: var(--hacker-cyan);
    animation: blink 1s infinite;
    position: absolute;
    right: -20px;
    top: 0;
}

@keyframes hacker-glow {
    0%, 100% { 
        text-shadow: 0 0 15px rgba(0, 255, 0, 0.8),
                    0 0 25px rgba(0, 255, 0, 0.4);
    }
    50% { 
        text-shadow: 0 0 20px rgba(0, 255, 0, 1),
                    0 0 35px rgba(0, 255, 0, 0.6);
    }
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    font-style: italic;
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.8); }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    color: var(--terminal-green);
    border-color: var(--terminal-green);
    text-shadow: 0 0 8px rgba(0, 255, 0, 1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.btn-primary:hover {
    background-color: rgba(0, 255, 0, 0.15);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.8),
                inset 0 0 10px rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(0, 255, 0, 1);
}

.btn-secondary {
    color: var(--hacker-cyan);
    border-color: var(--hacker-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8),
                inset 0 0 10px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(0, 255, 255, 1);
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--terminal-green);
    box-shadow: 0 2px 25px rgba(0, 255, 0, 0.5);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    animation: header-scan 3s ease-in-out infinite;
}

@keyframes header-scan {
    0%, 100% { border-color: var(--terminal-green); }
    33% { border-color: var(--hacker-cyan); }
    66% { border-color: var(--hacker-purple); }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terminal-green);
    text-shadow: 0 0 15px rgba(0, 255, 0, 1),
                0 0 25px rgba(0, 255, 0, 0.5);
    font-family: 'Courier New', monospace;
    animation: logo-glitch 4s infinite;
}

.logo h1::before {
    content: '[root@techno-infosec ~]# ';
    color: var(--danger-red);
    font-size: 1.2rem;
    animation: terminal-blink 1s infinite;
}

.logo span {
    color: var(--hacker-purple);
    text-shadow: 0 0 15px rgba(255, 0, 255, 1),
                0 0 25px rgba(255, 0, 255, 0.5);
}

@keyframes logo-glitch {
    0%, 90%, 100% { 
        text-shadow: 0 0 15px rgba(0, 255, 0, 1),
                    0 0 25px rgba(0, 255, 0, 0.5);
    }
    95% { 
        text-shadow: -2px 0 15px rgba(255, 0, 0, 1),
                    2px 0 25px rgba(0, 255, 255, 0.5);
    }
}

@keyframes terminal-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--terminal-green);
    font-weight: bold;
    transition: var(--transition);
    position: relative;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 10px;
    border: 1px solid transparent;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.nav-links a::before {
    content: '> ';
    color: var(--danger-red);
    opacity: 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: ' _';
    color: var(--hacker-cyan);
    animation: blink 0.8s infinite;
    opacity: 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--hacker-purple);
    border: 1px solid var(--hacker-purple);
    background-color: rgba(255, 0, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 0, 255, 1);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
    animation: nav-hack 0.5s ease-in-out;
}

@keyframes nav-hack {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: relative;
}

.hamburger::before {
    content: '[MENU]';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--terminal-green);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--terminal-green);
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0f0a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--terminal-green);
    animation: hero-pulse 5s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.08) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: matrix-rain 15s linear infinite;
    z-index: -1;
}

@keyframes hero-pulse {
    0%, 100% { 
        border-color: var(--terminal-green);
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    }
    33% { 
        border-color: var(--hacker-cyan);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    }
    66% { 
        border-color: var(--hacker-purple);
        box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    }
}

@keyframes matrix-rain {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--terminal-green);
    text-shadow: 0 0 25px rgba(0, 255, 0, 1),
                0 0 40px rgba(0, 255, 0, 0.5);
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: hero-title-glitch 3s infinite;
}

.hero-content h1::before {
    content: '$ ./hack --init --target=world\n> ';
    display: block;
    color: var(--danger-red);
    font-size: 1.5rem;
    margin-bottom: 10px;
    animation: terminal-blink 0.8s infinite;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--hacker-cyan);
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

@keyframes hero-title-glitch {
    0%, 85%, 100% { 
        text-shadow: 0 0 25px rgba(0, 255, 0, 1),
                    0 0 40px rgba(0, 255, 0, 0.5);
    }
    90% { 
        text-shadow: -3px 0 25px rgba(255, 0, 255, 1),
                    3px 0 40px rgba(0, 255, 0, 0.5);
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--terminal-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

/* Services Section */
.services {
    background-color: #0a0a0a;
    border-top: 2px solid var(--terminal-green);
    border-bottom: 2px solid var(--terminal-green);
}

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

.service-card {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.2);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    transition: left 0.5s;
}

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

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--terminal-green);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.4);
    background-color: rgba(0, 255, 65, 0.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 255, 65, 0.1);
    border: 2px solid var(--terminal-green);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--terminal-green);
    border-radius: 5px;
    animation: border-glow 2s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.service-icon i {
    font-size: 30px;
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--terminal-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.service-card p {
    color: var(--gray-color);
    font-style: italic;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
    justify-content: center;
}

.cert-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    border: 1px solid;
    position: relative;
    overflow: hidden;
    animation: badge-pulse 2s ease-in-out infinite;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badge-shine 3s linear infinite;
}

.cert-badge.iso {
    color: var(--terminal-green);
    border-color: var(--terminal-green);
    background-color: rgba(0, 255, 0, 0.1);
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.cert-badge.mca {
    color: var(--hacker-purple);
    border-color: var(--hacker-purple);
    background-color: rgba(255, 0, 255, 0.1);
    text-shadow: 0 0 3px rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.3);
}

.cert-badge.govt {
    color: var(--hacker-cyan);
    border-color: var(--hacker-cyan);
    background-color: rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

@keyframes badge-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes badge-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Badge hover effects */
.cert-badge:hover {
    transform: translateY(-2px);
    animation: badge-glow 0.5s ease-in-out;
}

.cert-badge.iso:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}

.cert-badge.mca:hover {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.cert-badge.govt:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

@keyframes badge-glow {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

/* About Section */
.about {
    background-color: #050505;
    border-top: 2px solid var(--terminal-green);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--terminal-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-style: italic;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: rgba(0, 255, 65, 0.05);
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--terminal-green);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    font-family: 'Courier New', monospace;
}

.stat p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    background-color: #0a0a0a;
    border-top: 2px solid var(--terminal-green);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--terminal-green);
    margin-right: 20px;
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--terminal-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.contact-item p {
    color: var(--gray-color);
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 255, 65, 0.1);
    border: 2px solid var(--terminal-green);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terminal-green);
    transition: var(--transition);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
}

.social-links a:hover {
    background-color: rgba(0, 255, 65, 0.2);
    border-color: var(--cyber-blue);
    color: var(--cyber-blue);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--terminal-green);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terminal-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    background-color: rgba(0, 255, 65, 0.05);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Success Message Styles */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.success-message h3 {
    margin-bottom: 15px;
    color: #155724;
}

.success-message p {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #000000;
    color: var(--terminal-green);
    padding: 70px 0 0;
    border-top: 2px solid var(--terminal-green);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--danger-red), var(--terminal-green), var(--cyber-blue), var(--terminal-green), var(--danger-red));
    animation: footer-glow 3s ease-in-out infinite;
}

@keyframes footer-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--terminal-green);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.footer-logo span {
    color: var(--cyber-blue);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.footer-logo p {
    color: var(--gray-color);
    font-style: italic;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--terminal-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--danger-red), var(--terminal-green));
    bottom: 0;
    left: 0;
    animation: footer-line-glow 2s ease-in-out infinite;
}

@keyframes footer-line-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--cyber-blue);
    padding-left: 5px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
}

.footer-newsletter p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-style: italic;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-family: 'Courier New', monospace;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--terminal-green);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--terminal-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.footer-newsletter button {
    border-radius: 0 5px 5px 0;
    padding: 10px 15px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

/* Terminal Window Styles */
.terminal-window {
    background-color: #0a0a0a;
    border: 2px solid var(--terminal-green);
    border-radius: 4px;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.5),
                inset 0 0 20px rgba(0, 255, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    animation: terminal-glow 2s ease-in-out infinite;
}

.terminal-header {
    background-color: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--terminal-green);
}

@keyframes terminal-glow {
    0%, 100% { 
        border-color: var(--terminal-green);
        box-shadow: 0 0 40px rgba(0, 255, 0, 0.5),
                    inset 0 0 20px rgba(0, 255, 0, 0.1);
    }
    50% { 
        border-color: var(--hacker-cyan);
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.5),
                    inset 0 0 20px rgba(0, 255, 255, 0.1);
    }
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.terminal-btn.red {
    background-color: #ff5f56;
}

.terminal-btn.yellow {
    background-color: #ffbd2e;
}

.terminal-btn.green {
    background-color: #27c93f;
}

.terminal-title {
    color: var(--terminal-green);
    font-size: 0.9rem;
    font-weight: bold;
}

.terminal-body {
    padding: 20px;
    background-color: #000000;
    min-height: 200px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.terminal-line {
    color: var(--terminal-green);
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.8);
}

.terminal-line:nth-child(2) {
    color: var(--hacker-cyan);
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.8);
}

.terminal-line:nth-child(3) {
    color: var(--danger-red);
    text-shadow: 0 0 3px rgba(255, 0, 0, 0.8);
}

.terminal-line:nth-child(4) {
    color: var(--warning-yellow);
    text-shadow: 0 0 3px rgba(255, 255, 0, 0.8);
}

.terminal-line:nth-child(5) {
    color: var(--terminal-green);
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.8);
}

.cursor-blink {
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Security Badge Styles */
.security-badge {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--terminal-green);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.badge-ring::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--danger-red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.8);
}

.badge-content {
    text-align: center;
    z-index: 1;
    color: var(--terminal-green);
}

.badge-content i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

.badge-content span {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        border: 2px solid var(--terminal-green);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
        padding: 20px 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}