/* style.css - Luxe Cyber-Obsidian Design System for Dilshan Andaramana */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    /* Core Luxe Color Tokens */
    --primary: #02000d;       /* Pitch-Black Celestial Deep Space */
    --primary-depth: #07041b; /* Rich dark depth slate for panels */
    --secondary: rgba(10, 8, 28, 0.65); /* Cyber Frosted Glass Backdrop */
    --secondary-solid: #0d0b21;
    
    /* Neon Accents */
    --accent: #8b5cf6;        /* Electric Violet-Amethyst */
    --accent-glow: rgba(139, 92, 246, 0.35);
    --accent-cyan: #06b6d4;   /* High-Voltage Cyber Aqua */
    --accent-cyan-glow: rgba(6, 182, 212, 0.35);
    --accent-gold: #fbbf24;   /* Luxurious Sunset Gold */
    --accent-gold-glow: rgba(251, 191, 36, 0.3);
    
    /* Text Hierarchy */
    --text-primary: #f8fafc;   /* Pristine Crystal White */
    --text-secondary: #94a3b8; /* Muted Starlight Slate */
    --white: #ffffff;
    
    /* Priority Status Colors */
    --urgent: #f43f5e;        /* Pulsing Rose Red */
    --high: #f97316;          /* Hyper Orange */
    --medium: #2563eb;        /* Deep Space Blue */
    --low: #10b981;           /* Neon Emerald */
    
    /* Glowing Border Gradients */
    --border-color: rgba(139, 92, 246, 0.12);
    --border-glow: rgba(6, 182, 212, 0.35);
    --card-glow: 0 0 30px rgba(139, 92, 246, 0.15);
    
    /* High-End Linear Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #22d3ee 100%);
    --gradient-accent: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Base & Global Resets === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) var(--primary);
}

/* Webkit Scrollbars */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), var(--accent-cyan));
    border-radius: 6px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* === Massive Fluid Auroras (WOW Factor) === */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: var(--primary);
    overflow: hidden;
}

/* Aurora Backdrop Blobs */
.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.14;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Purple Aurora */
.animated-bg::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    animation: aurora-move-1 25s ease-in-out infinite alternate;
}

/* Teal Aurora */
.animated-bg::after {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
    animation: aurora-move-2 30s ease-in-out infinite alternate;
}

@keyframes aurora-move-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(150px, 100px) scale(1.2); }
    100% { transform: translate(80px, -50px) scale(0.9); }
}

@keyframes aurora-move-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(-100px, -150px) scale(0.85); }
    100% { transform: translate(50px, 100px) scale(1.15); }
}

/* Particles Canvas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

/* === Custom Reactive Cursors === */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent-glow);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background 0.3s ease,
                transform 0.1s ease;
}

@media (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* === Navigation & Luxe Blurry Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(2, 0, 13, 0.65);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(2, 0, 13, 0.9);
    border-bottom-color: rgba(6, 182, 212, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Cybernetic Glowing Logo */
.logo {
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    color: var(--white);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.logo::before {
    content: '</>';
    color: var(--accent-cyan);
    margin-right: 6px;
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 8px 0;
    text-transform: uppercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Premium Login Button */
.nav-link.login-btn {
    background: var(--gradient-primary);
    color: var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.nav-link.login-btn::before {
    display: none;
}

.nav-link.login-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
    text-shadow: none;
}

/* Dropdown Menu */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(10, 8, 28, 0.95);
    min-width: 220px;
    padding: 15px 0;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.submenu a:hover {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.06);
    padding-left: 30px;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition);
}

/* === Layout & Containers === */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* Cyber Title Overhaul */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title h2 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::before {
    content: attr(data-number);
    position: absolute;
    left: -60px;
    top: -2px;
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    font-weight: 500;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.section-title p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Floating Social Sidebar === */
.social-links {
    position: fixed;
    bottom: 50px;
    left: 45px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    z-index: 100;
}

.social-links::after {
    content: '';
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    margin: 0 auto;
}

.social-links a {
    font-size: 19px;
    color: var(--text-secondary);
    transition: var(--transition);
    text-align: center;
}

.social-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-4px) scale(1.1);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* === The Neo-Futuristic Cyber Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

/* === Cyber Hero Badges & Terminal === */
.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-badge {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 11.5px;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-badge i {
    font-size: 13px;
}

.hero-badge.badge-cyan {
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}

.hero-badge.badge-cyan:hover {
    background: rgba(6, 182, 212, 0.15);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
    transform: translateY(-2px);
}

.hero-badge.badge-gold {
    background: rgba(251, 191, 36, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.05);
}

.hero-badge.badge-gold:hover {
    background: rgba(251, 191, 36, 0.15);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
    transform: translateY(-2px);
}

.cyber-terminal {
    background: rgba(7, 4, 27, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    font-family: 'Fira Code', monospace;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--card-glow);
    max-width: 580px;
    margin-bottom: 35px;
    backdrop-filter: blur(12px);
    border-left: 3px solid var(--accent-cyan);
    transition: var(--transition);
}

.cyber-terminal:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(6, 182, 212, 0.2);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.terminal-title {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #eab308; }
.terminal-dot.green { background: #22c55e; }

.terminal-body {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.terminal-line {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.terminal-prompt {
    color: var(--accent-cyan);
    margin-right: 10px;
}

.terminal-typed {
    color: var(--white);
    font-weight: 500;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--accent-cyan);
    margin-left: 2px;
    animation: blink-cursor 0.8s infinite;
}

.hero-text .subtitle {
    color: var(--accent-cyan);
    font-size: 14px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -1.5px;
}

.hero-text h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .job-title {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-text .job-title i {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Dynamic Typing cursor snippet */
.job-title span::after {
    content: '|';
    color: var(--accent-cyan);
    animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 45px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 24px;
}

/* Glass Buttons Overhaul */
.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.5);
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1.5px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.05);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--primary);
    border-color: transparent;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.4);
}

/* === Gorgeous Holographic Core === */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.profile-3d-container {
    width: 440px;
    height: 440px;
    position: relative;
}

/* Glowing Aurora Backdrop Layer */
.profile-3d-container::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--accent) 0%, var(--accent-cyan) 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.25;
    filter: blur(50px);
    animation: breathing-glow 6s ease-in-out infinite alternate;
}

@keyframes breathing-glow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.35; }
}

/* Hologram Shield frame */
.profile-circle {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    z-index: 2;
    border: 2px solid rgba(6, 182, 212, 0.2);
    background: linear-gradient(135deg, rgba(10, 8, 28, 0.6) 0%, rgba(3, 0, 20, 0.85) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(10px);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-circle:hover img {
    transform: scale(1.08) rotate(1deg);
}

/* Rotating outer dashes */
.rotating-border {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1.5px dashed rgba(139, 92, 246, 0.4);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 35s linear infinite;
    z-index: 1;
}

/* Glowing Orbital badging */
.tech-orbit {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(13, 11, 33, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1.5px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 10px rgba(139, 92, 246, 0.1);
    z-index: 3;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.tech-orbit:hover {
    transform: scale(1.3) !important;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glowing Developer console mockup */
.hero-code-card {
    position: absolute;
    bottom: -30px;
    right: -40px;
    background: rgba(7, 4, 27, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 11.5px;
    color: #cbd5e1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--card-glow);
    z-index: 4;
    width: 250px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.hero-code-card:hover {
    transform: translateY(-5px);
}

.hero-code-card-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.hero-code-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.hero-code-card-dot.r { background: #ef4444; }
.hero-code-card-dot.y { background: #eab308; }
.hero-code-card-dot.g { background: #22c55e; }

/* Code syntax colors */
.code-keyword { color: #f472b6; }
.code-class { color: #22d3ee; }
.code-method { color: #a78bfa; }
.code-string { color: #fbbf24; }

/* === Premium Frosted Cards & Shadows === */
.cyber-card {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.06), transparent);
    transition: all 0.6s ease;
}

.cyber-card:hover::before {
    left: 100%;
}

.cyber-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: var(--card-shadow), var(--card-glow);
}

/* === Dual About Me Section === */
.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.about-image img {
    width: 100%;
    display: block;
    filter: grayscale(35%) contrast(1.05);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

.about-text h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 22px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Tech Progress meters */
.skills {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
}

.skill-info h5 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-info span {
    font-size: 13.5px;
    color: var(--accent-cyan);
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.05);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    border-radius: 10px;
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* === Modernized Services Grid === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    /* Extending .cyber-card properties */
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: var(--card-shadow), var(--card-glow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--primary);
    border-color: transparent;
    transform: rotateY(360deg) scale(1.05);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
}

/* === Cyber Notice Board Feed === */
.notice-board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.notice-card {
    background: rgba(10, 8, 28, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
}

.notice-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: var(--card-shadow), var(--card-glow);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.notice-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.4;
}

.notice-badge {
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    border: 1px solid transparent;
}

/* Priority color glows */
.notice-badge.urgent { 
    background: rgba(244, 63, 94, 0.1); 
    border-color: var(--urgent); 
    color: var(--urgent);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2); 
    animation: pulse-urgent-badge 1.8s infinite; 
}
.notice-badge.high { background: rgba(249, 115, 22, 0.1); border-color: var(--high); color: var(--high); }
.notice-badge.medium { background: rgba(37, 99, 235, 0.1); border-color: var(--medium); color: var(--medium); }
.notice-badge.low { background: rgba(16, 185, 129, 0.1); border-color: var(--low); color: var(--low); }

@keyframes pulse-urgent-badge {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

.notice-body {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 25px;
    white-space: pre-line;
}

.notice-expand-btn {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    transition: var(--transition);
}

.notice-expand-btn:hover {
    color: var(--white);
    transform: translateX(4px);
}

.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.notice-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.notice-meta-item i {
    color: var(--accent-cyan);
}

/* === Modernized Grid Catalog (Projects) === */
.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.project-card {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--card-shadow);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: var(--card-shadow), var(--card-glow);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 0, 13, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 18px;
}

.project-links a {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 17px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.project-links a:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.project-info {
    padding: 30px;
}

.project-category {
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent-cyan);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 14px;
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.project-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.project-info h3 a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.project-info h3 a:hover {
    color: var(--accent-cyan);
}

.project-info p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.more-projects-btn {
    text-align: center;
    margin-top: 60px;
}

/* === Contact Cards & Luxe Forms === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--secondary);
    padding: 45px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: var(--card-shadow), var(--card-glow);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: rgba(6, 182, 212, 0.06);
    border: 1.5px solid rgba(6, 182, 212, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 22px;
    color: var(--accent-cyan);
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: var(--gradient-primary);
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: 0.5px;
}

.contact-card a,
.contact-card p {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--accent-cyan);
}

.contact-form {
    background: rgba(10, 8, 28, 0.65);
    padding: 60px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(25px);
    box-shadow: var(--card-shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    padding: 16px 22px;
    background: rgba(2, 0, 13, 0.65);
    border: 1.5px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    color: var(--white);
    font-size: 14.5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
    background: rgba(2, 0, 13, 0.85);
}

textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.45);
    background: var(--white);
}

/* Luxe Newsletter container */
.newsletter {
    max-width: 680px;
    margin: 90px auto 0;
    text-align: center;
    background: rgba(10, 8, 28, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 55px;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
}

.newsletter h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 15px;
}

.newsletter-form-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 24px;
    background: rgba(2, 0, 13, 0.7);
    border: 1.5px solid rgba(139, 92, 246, 0.15);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.newsletter-btn {
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
    background: var(--white);
}

#newsletterMessage {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

/* === Modernized Responsive Popups === */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 0, 13, 0.88);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(15px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-message {
    background: var(--secondary-solid);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 50px;
    text-align: center;
    max-width: 520px;
    width: 90%;
    transform: scale(0.85);
    transition: var(--transition);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), var(--card-glow);
    position: relative;
}

.popup-overlay.active .popup-message {
    transform: scale(1);
}

.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
}

.popup-icon.success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--low);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.popup-icon.error {
    background: rgba(244, 63, 94, 0.08);
    color: var(--urgent);
    border: 1.5px solid rgba(244, 63, 94, 0.25);
}

.popup-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.popup-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.popup-button {
    padding: 14px 40px;
    background: var(--gradient-primary);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.popup-button:hover {
    background: var(--white);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
}

/* === Luxe Footer === */
.footer {
    background: #010007;
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
    margin-top: 120px;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    margin: 0 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer p a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.footer p a:hover {
    color: var(--white);
}

/* === Floating Back To Top button === */
.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 45px;
    width: 48px;
    height: 48px;
    background: rgba(10, 8, 28, 0.85);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-primary);
    color: var(--primary);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

/* === Subpage Specific Layouts === */
.page-header {
    background: radial-gradient(circle at 50% 50%, rgba(10, 8, 28, 0.7) 0%, var(--primary) 100%);
    padding: 200px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.page-header h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--white);
}

.page-header h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.breadcrumb i {
    font-size: 10px;
    color: rgba(6, 182, 212, 0.4);
}

.breadcrumb span {
    color: var(--accent-cyan);
}

/* Subpages Filter layouts */
.filters-section {
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.filter-tabs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 11px 26px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    background: rgba(10, 8, 28, 0.4);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tab:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.search-form {
    display: flex;
    gap: 10px;
    position: relative;
    max-width: 330px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 13px 22px;
    padding-right: 52px;
    background: rgba(2, 0, 13, 0.7);
    border: 1.5px solid rgba(139, 92, 246, 0.15);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    background: var(--white);
}

.stats-bar {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.stats-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.stats-number {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Card Specific Technology styling */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.05);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.empty-state {
    text-align: center;
    padding: 100px 20px;
    background: rgba(10, 8, 28, 0.3);
    border: 1px dashed rgba(6, 182, 212, 0.2);
    border-radius: 28px;
    max-width: 560px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.empty-state i {
    font-size: 58px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--white);
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
}

/* Pagination Specifics */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 80px;
}

.pagination a,
.pagination span {
    padding: 12px 22px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    background: rgba(10, 8, 28, 0.4);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.pagination .current {
    background: var(--gradient-primary);
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.03);
}

/* === Project Detail Subpage === */
.detail-wrapper {
    min-height: 100vh;
    padding: 200px 0 100px;
    position: relative;
}

.detail-wrapper .breadcrumb {
    justify-content: flex-start;
    margin-bottom: 40px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 70px;
    align-items: start;
}

.detail-visual {
    position: sticky;
    top: 140px;
}

.detail-image-card {
    background: var(--secondary);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    padding: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 35px;
}

.detail-image-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow), var(--card-glow);
}

.detail-image-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.action-buttons .btn {
    flex: 1;
}

.detail-info {
    background: rgba(10, 8, 28, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 45px;
    border-radius: 28px;
    box-shadow: var(--card-shadow);
}

.detail-info h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.detail-section-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 15px;
    letter-spacing: 0.5px;
}

.tech-capsules {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.tech-capsule {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    transition: var(--transition);
}

.tech-capsule:hover {
    transform: scale(1.06);
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.description-content {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.8;
}

.description-content p {
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 22px;
}

.meta-tag {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-category {
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.18);
}

.meta-featured {
    background: rgba(251, 191, 36, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.18);
}

.project-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.project-specs div h4 {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 700;
}

.project-specs div p {
    font-size: 15px;
    color: var(--white);
    font-weight: 600;
}

.error-card {
    background: rgba(10, 8, 28, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 80px 40px;
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    box-shadow: var(--card-shadow);
}

.error-card i {
    font-size: 72px;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.error-card h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
}

.error-card p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 16px;
}

/* === Responsive Media Breakpoints === */
@media screen and (max-width: 1200px) {
    .hero-text h1 {
        font-size: 60px;
    }
    .profile-3d-container {
        width: 380px;
        height: 380px;
    }
    .profile-circle {
        width: 270px;
        height: 270px;
    }
    .rotating-border {
        width: 295px;
        height: 295px;
    }
    .hero-code-card {
        right: -10px;
    }
}

@media screen and (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-btns {
        justify-content: center;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .notice-board-grid {
        grid-template-columns: 1fr;
    }
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 50px;
    }
    .social-links {
        display: none;
    }
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detail-visual {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    .nav-container {
        padding: 0 20px;
    }
    .menu-btn {
        display: flex;
        z-index: 1005; /* Always on top */
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background: rgba(2, 0, 13, 0.98);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        gap: 25px;
        transition: var(--transition);
        z-index: 1001; /* Fix z-index stacking bug */
        backdrop-filter: blur(25px);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-item {
        width: 100%;
    }
    .nav-link {
        display: block;
        font-size: 15px;
        padding: 10px 0;
    }
    .submenu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 5px 0 0 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }
    .nav-item.active .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }
    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .hero-text h1 {
        font-size: 46px;
    }
    .hero-text .job-title {
        font-size: 19px;
        justify-content: center;
    }
    .section-title h2 {
        font-size: 32px;
    }
    .section-title h2::before {
        display: none;
    }
    
    /* Responsive Profile components */
    .profile-3d-container {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    .profile-circle {
        width: 220px;
        height: 220px;
    }
    .rotating-border {
        width: 245px;
        height: 245px;
    }
    .tech-orbit {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .hero-code-card {
        display: none;
    }

    .services-grid,
    .projects-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 35px 25px;
    }
    .newsletter {
        padding: 40px 24px;
    }
    .newsletter-form-container {
        flex-direction: column;
        background: transparent;
        gap: 12px;
    }
    .newsletter-input {
        width: 100%;
    }
    .newsletter-btn {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .detail-info {
        padding: 25px;
    }
    .detail-info h1 {
        font-size: 30px;
    }
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .action-buttons .btn {
        width: 100%;
    }
    .profile-3d-container {
        width: 260px;
        height: 260px;
    }
    .profile-circle {
        width: 180px;
        height: 180px;
    }
    .rotating-border {
        width: 200px;
        height: 200px;
    }
    .tech-orbit {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
