/* Base Variables */
:root {
    --primary-color: #00ff00;
    --secondary-color: #003300;
    --background-color: #000000;
    --text-color: #ffffff;
    --accent-color: #00cc00;
    --cyber-glow: 0 0 10px var(--primary-color);
    --fluid-typography-ratio: 1vw;
    --min-font-size: 16px;
    --max-font-size: 18px;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Courier New', monospace;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    background-color: var(--background-color);
    font-size: clamp(var(--min-font-size), calc(16px + var(--fluid-typography-ratio)), var(--max-font-size));
}

/* Video Background - Visible on All Devices */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    transition: opacity var(--transition-speed) ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
    height: var(--header-height);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.profile-pic:hover {
    transform: scale(1.1);
}

.logo span {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: var(--cyber-glow);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
    text-shadow: var(--cyber-glow);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.cyber-container {
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    animation: containerPulse 2s infinite;
}

/* Section Styles */
section {
    padding: 5rem 1rem;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(1.75rem, calc(1.5rem + 2vw), 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: var(--cyber-glow);
}

.subtitle {
    font-size: clamp(1.1rem, calc(1rem + 1vw), 1.5rem);
    margin: 1rem 0 2rem;
    color: var(--accent-color);
}

/* About Section */
.about-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    margin-top: 2rem;
}

.security-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: transform var(--transition-speed) ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cyber-glow);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card ul {
    list-style: none;
    margin-top: 1rem;
}

.skill-card li {
    margin: 0.5rem 0;
    color: var(--text-color);
}

/* Certificates Section */
.certificates-section {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: calc(100vh - var(--header-height));
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.certificate-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cyber-glow);
}

.certificate-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--primary-color);
}

.certificate-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.certificate-card:hover .certificate-preview img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 1.5rem;
}

.certificate-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.certificate-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.certificate-issuer {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Filter Styles */
.filter-container {
    background: rgba(0, 0,
