/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #00ff00;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
    overflow: hidden;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(0, 255, 0, 0.03) 100px
    );
    animation: matrixFlow 20s linear infinite;
}

@keyframes matrixFlow {
    0% { opacity: 0.3; transform: translateY(0px); }
    50% { opacity: 0.7; transform: translateY(-50px); }
    100% { opacity: 0.3; transform: translateY(-100px); }
}

/* Matrix Loading Screen */
.matrix-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10001;
    overflow: hidden;
    transition: opacity 1s ease;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.matrix-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
}

.matrix-loader-content {
    text-align: center;
    color: #00ff00;
    font-family: 'Orbitron', monospace;
    padding: 40px;
    border: 2px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    animation: matrixContentGlow 2s ease-in-out infinite alternate;
}

@keyframes matrixContentGlow {
    0% { 
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
        border-color: rgba(0, 255, 0, 0.3);
    }
    100% { 
        box-shadow: 0 0 40px rgba(0, 255, 0, 0.6);
        border-color: rgba(0, 255, 0, 0.6);
    }
}

.matrix-logo .logo-line {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 20px #00ff00;
    animation: matrixFlicker 1s infinite;
}

.matrix-glitch {
    color: #ff0000;
    animation: glitchEffect 0.5s infinite;
}

@keyframes glitchEffect {
    0%, 100% { 
        transform: translate(0);
        color: #ff0000;
    }
    25% { 
        transform: translate(-2px, 2px);
        color: #00ff00;
    }
    50% { 
        transform: translate(2px, -2px);
        color: #00ccff;
    }
    75% { 
        transform: translate(-1px, -1px);
        color: #ff0000;
    }
}

.logo-subtitle {
    font-size: 1.2rem;
    color: #00ccff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.matrix-loading-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loading-dots::after {
    content: '...';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.matrix-progress {
    width: 300px;
    height: 4px;
    background: rgba(0, 255, 0, 0.2);
    margin: 20px auto;
    border: 1px solid rgba(0, 255, 0, 0.3);
    overflow: hidden;
}

.matrix-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ff00, #00ccff, #00ff00);
    animation: progressFill 5s ease-in-out forwards;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.matrix-status {
    font-size: 0.9rem;
    color: #00ccff;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

@keyframes matrixFlicker {
    0%, 100% { 
        text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00;
    }
    50% { 
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    }
}

.matrix-loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: #00ff00;
}

.loader-hexagon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.hex-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ff00, #00ccff);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexRotate 2s linear infinite;
}

.hex-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #000;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@keyframes hexRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    animation: glitch 2s infinite;
}

.loader-subtext {
    font-size: 14px;
    color: #00ccff;
    animation: typing 3s steps(30) infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 10px #00ff00; }
    25% { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
    50% { text-shadow: 0 0 5px #00ff00; }
    75% { text-shadow: 0 0 25px #00ff00, 0 0 35px #00ff00; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 2px 20px rgba(0, 255, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
}

.logo-bracket {
    color: #00ccff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 5px;
}

.nav-logo h2 {
    color: #00ff00;
    font-weight: 700;
    font-size: 24px;
    text-shadow: 0 0 10px #00ff00;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #00ff00;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00ff00, #00ccff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ff00;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000 0%, #001a1a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    color: #00ff00;
    z-index: 2;
}

.hero-tag {
    margin-bottom: 20px;
}

.tag-text {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    color: #00ccff;
    background: rgba(0, 255, 0, 0.1);
    padding: 5px 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 20px #00ff00;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid #00ff00;
    padding-right: 5px;
    animation: typing 4s steps(20) infinite, blink 1s infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #00ccff;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 1s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    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, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00ff00, #00ccff);
    color: #000;
    border: 2px solid #00ff00;
}

.btn-primary:hover {
    background: #000;
    color: #00ff00;
    box-shadow: 0 0 20px #00ff00;
}

.btn-secondary {
    background: transparent;
    color: #00ccff;
    border: 2px solid #00ccff;
}

.btn-secondary:hover {
    background: #00ccff;
    color: #000;
    box-shadow: 0 0 20px #00ccff;
}

.hero-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cyber-grid {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    animation: gridPulse 3s ease-in-out infinite;
}

.cyber-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    animation: gridPulse 2s ease-in-out infinite reverse;
}

.cyber-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 1px solid rgba(0, 255, 0, 0.1);
    animation: gridPulse 1s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { 
        border-color: rgba(0, 255, 0, 0.3);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        border-color: rgba(0, 255, 0, 0.8);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    height: 1px;
    width: 100%;
    animation: scanLine 3s linear infinite;
}

.grid-line:nth-child(1) { top: 25%; animation-delay: 0s; }
.grid-line:nth-child(2) { top: 50%; animation-delay: 0.5s; }
.grid-line:nth-child(3) { top: 75%; animation-delay: 1s; }
.grid-line:nth-child(4) { top: 100%; animation-delay: 1.5s; }

@keyframes scanLine {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(100%); }
}

.floating-elements {
    position: relative;
    width: 400px;
    height: 400px;
}

.cyber-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #00ff00;
    background: rgba(0, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00ff00;
    animation: cyberFloat 6s ease-in-out infinite;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cyber-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cyber-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.cyber-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.cyber-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes cyberFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 0 10px #00ff00;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        box-shadow: 0 0 20px #00ff00;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 15px;
    text-shadow: 0 0 20px #00ff00;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #00ccff;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(0, 255, 0, 0.05);
    padding: 40px 30px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ff00;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00ff00, #00ccff);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #000;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 20px #00ff00;
}

.service-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00ff00;
}

.service-card p {
    color: #00ccff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 5px 12px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 10px #00ff00;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #000;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(0, 255, 0, 0.02) 52px
    );
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #00ff00;
}

.about-text p {
    font-size: 1.1rem;
    color: #00ccff;
    line-height: 1.8;
    margin-bottom: 40px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 5px;
    text-shadow: 0 0 10px #00ff00;
}

.stat-label {
    font-size: 0.9rem;
    color: #00ccff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 0, 0.1);
    padding: 10px 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 350px;
    height: 350px;
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.security-dashboard {
    width: 100%;
    padding: 30px;
}

.dashboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.green { background: #00ff00; }
.status-dot.orange { background: #ff9800; }
.status-dot.red { background: #ff0000; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
}

/* Portfolio Navigation */
.portfolio-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.portfolio-tab {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);
    position: relative;
    overflow: hidden;
}

.portfolio-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.portfolio-tab:hover::before {
    left: 100%;
}

.portfolio-tab:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.portfolio-tab.active {
    background: #00ff00;
    color: #000;
    border-color: #00ff00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.portfolio-tab i {
    font-size: 16px;
}

/* Portfolio Content */
.portfolio-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.portfolio-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
    transition: all 0.3s ease;
    height: 280px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    transform: translateX(100%);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: #00ff00;
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001122 0%, #000811 100%);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 255, 0, 0.02) 10px,
            rgba(0, 255, 0, 0.02) 11px
        );
    z-index: 1;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 0, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
    animation: hexPulse 3s ease-in-out infinite;
}

@keyframes hexPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #00ff00;
    text-align: center;
    opacity: 1;
    transition: all 0.3s ease;
    padding: 30px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(0, 255, 0, 0.5);
    transform: scale(1.02);
}

.portfolio-overlay h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 10px #00ff00;
    color: #00ff00;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: #00ccff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.severity-badge {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    animation: pulseBadge 2s infinite;
    margin-bottom: 20px;
}

.severity-badge.critical {
    background: #ff0000;
    color: #fff;
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.severity-badge.high {
    background: #ff9800;
    color: #fff;
    border: 2px solid #ff9800;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.5);
}

.severity-badge.medium {
    background: #ffeb3b;
    color: #000;
    border: 2px solid #ffeb3b;
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.5);
}

.tech-badge {
    background: #00ff00;
    color: #000;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    animation: techGlow 2s infinite alternate;
}

@keyframes techGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
    }
}

.portfolio-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #00ccff;
    font-family: 'Orbitron', monospace;
}

.detail-item i {
    width: 16px;
    color: #00ff00;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design for Portfolio */
@media (max-width: 768px) {
    .portfolio-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .portfolio-tab {
        width: 80%;
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .portfolio-tab {
        width: 100%;
        padding: 12px 20px;
    }
    
    .portfolio-item {
        height: 220px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
    
    .detail-item {
        font-size: 12px;
    }
}

/* Team Section */
.team {
    padding: 100px 0;
    background: #000;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.team-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #00ff00;
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.2);
}

.team-image {
    position: relative;
    margin-bottom: 20px;
}

.hacker-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00ff00, #00ccff);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 40px;
    color: #000;
    transition: all 0.3s ease;
}

.team-card:hover .hacker-avatar {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 30px #00ff00;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-tag {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    padding: 5px 10px;
    border: 1px solid rgba(0, 255, 0, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #00ff00;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ff00;
}

.team-role {
    color: #00ccff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-stats {
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    padding-top: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.stat-label {
    font-size: 12px;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.blog-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #00ff00;
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.2);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #000 0%, #001a1a 100%);
    position: relative;
    overflow: hidden;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-date {
    text-align: center;
    color: #00ff00;
    font-family: 'Orbitron', monospace;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px #00ff00;
}

.date-month {
    display: block;
    font-size: 1rem;
    color: #00ccff;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-category {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid;
}

.blog-category.CRITICAL {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
}

.blog-category.HIGH {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
}

.blog-category.MEDIUM {
    color: #ffeb3b;
    background: rgba(255, 235, 59, 0.1);
    border-color: #ffeb3b;
}

.blog-read-time {
    font-size: 12px;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: #00ff00;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00ff00;
}

.blog-content p {
    color: #00ccff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tags .tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 5px 10px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.blog-tags .tag:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 10px #00ff00;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #000;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(0, 255, 0, 0.02) 100px
    );
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.testimonial-card {
    display: none;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card.active {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: testimonialScan 3s ease-in-out infinite;
}

@keyframes testimonialScan {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.testimonial-text {
    font-size: 1.2rem;
    color: #00ccff;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: #00ff00;
    font-family: 'Orbitron', monospace;
    position: absolute;
    top: -10px;
}

.testimonial-text::before {
    left: -20px;
}

.testimonial-text::after {
    right: -20px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    padding-top: 20px;
}

.author-info h4 {
    font-family: 'Orbitron', monospace;
    color: #00ff00;
    margin-bottom: 5px;
    text-shadow: 0 0 5px #00ff00;
}

.author-info p {
    color: #00ccff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-rating {
    color: #ffeb3b;
    font-size: 18px;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px #00ff00;
}

/* Cyber Status Section */
.cyber-status {
    padding: 60px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.status-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.status-card:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.status-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ff00, #00ccff);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.status-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #00ccff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value.critical {
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
    animation: criticalBlink 1s infinite;
}

@keyframes criticalBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.status-value.online {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.status-value.secure {
    color: #00ccff;
    text-shadow: 0 0 10px #00ccff;
}

.status-value.warning {
    color: #ff9800;
    text-shadow: 0 0 10px #ff9800;
}

.status-detail {
    font-size: 12px;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.3);
    margin-top: 10px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff9800, #ffeb3b, #00ff00);
    transition: width 0.3s ease;
    animation: statusScan 2s linear infinite;
}

@keyframes statusScan {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #000;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 98px,
        rgba(0, 255, 0, 0.02) 100px
    );
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #00ff00;
}

.contact-info p {
    font-size: 1.1rem;
    color: #00ccff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #00ff00;
    padding: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.contact-item i {
    width: 20px;
    color: #00ccff;
}

.contact-form {
    background: rgba(0, 255, 0, 0.05);
    padding: 40px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
    color: #00ff00;
    font-size: 16px;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #00ccff;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #000;
    color: #00ff00;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 20px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-badge {
    margin-top: 15px;
}

.badge-text {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 5px 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #00ccff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ccff;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-top: 1px solid rgba(0, 255, 0, 0.3);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .floating-elements {
        width: 300px;
        height: 300px;
    }

    .cyber-grid {
        width: 300px;
        height: 300px;
    }

    .certifications {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .service-card,
    .contact-form {
        padding: 30px 20px;
    }

    .logo-bracket {
        display: none;
    }

    .nav-logo h2 {
        font-size: 20px;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Hover Effects */
.service-card,
.portfolio-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover,
.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Loading Animation Hide */
.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Additional Cybersecurity Effects */
.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #00ff00, #00ccff);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Active Navigation Link */
.nav-link.active {
    color: #00ccff;
    text-shadow: 0 0 10px #00ccff;
}

.nav-link.active::after {
    width: 100%;
}

/* Additional Advanced Animations */
@keyframes matrixGlow {
    0%, 100% { 
        text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
    }
    50% { 
        text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    }
}

@keyframes cyberPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(0, 255, 0, 0.6);
        transform: scale(1.02);
    }
}

@keyframes dataStream {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

@keyframes codeRain {
    0% { opacity: 0; transform: translateY(-50px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(50px); }
}

/* Advanced Hover Effects */
.advanced-hover {
    position: relative;
    overflow: hidden;
}

.advanced-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.advanced-hover:hover::before {
    left: 100%;
}

/* 3D Card Effects */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.6s ease;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* Cyber Scanner Lines */
@keyframes scannerLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.scanner-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: scannerLine 3s linear infinite;
    z-index: 1000;
    pointer-events: none;
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glitch-text::before {
    color: #ff0000;
    animation: glitch-1 0.5s infinite;
}

.glitch-text::after {
    color: #00ccff;
    animation: glitch-2 0.5s infinite;
}

@keyframes glitch-1 {
    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-2 {
    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); }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, #00ff00, #00ccff, #ff00ff, #ffff00);
    background-size: 400% 400%;
    animation: holographicShift 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Additional Responsive Design */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        padding: 0 20px;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
        display: none;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hacker-avatar {
        width: 100px;
        height: 100px;
        font-size: 35px;
    }
    
    .team-card {
        padding: 25px;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
    
    .status-card {
        padding: 15px;
    }
    
    .cyber-dashboard {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .team-card,
    .blog-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .hacker-avatar {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
    
    .status-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .status-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .blog-content h3 {
        font-size: 1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .team-info h3 {
        font-size: 1.1rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .blog-tags {
        margin-top: 10px;
    }
    
    .team-skills {
        padding: 10px;
    }
    
    .skill-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Dark Mode Optimizations */
@media (prefers-color-scheme: dark) {
    .cyber-grid {
        background-image: 
            linear-gradient(rgba(0, 255, 0, 0.15) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 0, 0.15) 1px, transparent 1px);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .team-card,
    .blog-card,
    .testimonial-card,
    .status-card {
        border-width: 2px;
    }
    
    .hacker-avatar {
        box-shadow: 0 0 20px #00ff00;
    }
    
    .status-value {
        text-shadow: 0 0 15px currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .matrix-bg,
    .cyber-grid .grid-line,
    .scanner-line {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .nav-container,
    .loading-screen,
    .hacking-terminal,
    .cyber-status,
    .testimonials-nav,
    .scanner-line,
    .cyber-grid {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-title,
    .team-info h3,
    .blog-content h3 {
        color: black !important;
        text-shadow: none !important;
    }
    
    .team-card,
    .blog-card,
    .testimonial-card {
        border: 1px solid #333 !important;
        background: white !important;
    }
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-acceleration {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
}

/* Loading States */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

.loading-spinner {
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-top: 2px solid #00ff00;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error-state {
    color: #ff0000;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.error-message::before {
    content: '⚠️';
    margin-right: 5px;
}

/* Success States */
.success-state {
    color: #00ff00;
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
}

.success-message {
    color: #00ff00;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.success-message::before {
    content: '✅';
    margin-right: 5px;
}

/* Floating Notification */
.floating-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 15px 20px;
    border-radius: 0;
    color: #00ff00;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    backdrop-filter: blur(10px);
}

.floating-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    font-size: 16px;
    animation: pulse 2s infinite;
}

/* Easter Egg Hint */
.easter-egg-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff00;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.easter-egg-hint:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Improved Cyber Grid */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -2;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { 
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% { 
        transform: translate(50px, 50px);
        opacity: 0.7;
    }
    100% { 
        transform: translate(100px, 100px);
        opacity: 0.3;
    }
}

/* Advanced Scanner Line */
.scanner-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: scannerLine 4s linear infinite;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 0 10px #00ff00;
}

/* Improved Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #00ff00, #00ccff);
    z-index: 9998;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Team Card Enhancements */
.team-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #00ff00;
    box-shadow: 
        0 15px 40px rgba(0, 255, 0, 0.2),
        0 0 0 1px rgba(0, 255, 0, 0.1);
}

/* Blog Card Enhancements */
.blog-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #00ff00;
    box-shadow: 
        0 15px 40px rgba(0, 255, 0, 0.2),
        0 0 0 1px rgba(0, 255, 0, 0.1);
}

/* Status Card Enhancements */
.status-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.status-card:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

/* Testimonial Card Enhancements */
.testimonial-card {
    display: none;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

/* Advanced Glow Effects */
.glow-on-hover {
    position: relative;
    transition: all 0.3s ease;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00ff00, #00ccff, #00ff00);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(10px);
}

.glow-on-hover:hover::before {
    opacity: 0.7;
}

/* Improved Loading States */
.loading-state {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 255, 0, 0.3);
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Improved Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -3;
    animation: matrixFlow 10s ease-in-out infinite;
}

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
    .cyber-grid {
        background-size: 80px 80px;
    }
}

@media (max-width: 1200px) {
    .floating-notification {
        right: 15px;
        top: 15px;
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .easter-egg-hint {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .cyber-grid {
        background-size: 60px 60px;
    }
    
    .floating-notification {
        right: 10px;
        top: 10px;
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .easter-egg-hint {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
    
    .team-card,
    .blog-card,
    .status-card,
    .testimonial-card {
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    }
}

@media (max-width: 480px) {
    .cyber-grid {
        background-size: 40px 40px;
    }
    
    .floating-notification {
        right: 5px;
        top: 5px;
        padding: 8px 10px;
        font-size: 10px;
    }
    
    .easter-egg-hint {
        width: 35px;
        height: 35px;
        font-size: 14px;
        bottom: 10px;
        right: 10px;
    }
    
    .team-card,
    .blog-card,
    .status-card,
    .testimonial-card {
        clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 30px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 26px;
    }
    
    .whatsapp-tooltip {
        right: 65px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        right: 60px;
        font-size: 11px;
        padding: 5px 8px;
    }
}