:root {
    --bg-deep: #05050A;
    --neon-purple: #9d4edd;
    --neon-blue: #00f0ff;
    --glass-bg: rgba(20, 20, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #e0e6ed;
    --font-terminal: 'Fira Code', monospace;
    --font-display: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-terminal);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 4px;
}

/* Typography Helpers */
.neon-text {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple);
}

.neon-text-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}

.neon-text-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.terminal-prompt {
    color: var(--neon-blue);
    font-weight: bold;
}

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

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

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

/* Parallax Background Effect */
.parallax-bg {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110vw;
    height: 110vh;
    background: radial-gradient(circle at 50% 50%, #150030 0%, var(--bg-deep) 100%);
    z-index: -2;
    transition: transform 0.1s ease-out;
    /* smooth parallax tracking */
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--neon-blue) 1px, transparent 1px),
        radial-gradient(var(--neon-purple) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.15;
    z-index: -1;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

/* Active State & Neon Border */
.nav-links a.active {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
    border-bottom: 2px solid var(--neon-blue);
    box-shadow: 0 5px 15px -5px rgba(0, 240, 255, 0.4);
}

/* Scanline animation on Hover */
.nav-links a::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.8), transparent);
    z-index: -1;
    transition: none;
}

.nav-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.nav-links a:hover::after {
    top: 100%;
    transition: top 0.5s linear;
}

/* Glitch Effect for Logo */
.glitch-logo {
    position: relative;
    display: inline-block;
    color: var(--neon-blue) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.glitch-logo::before,
.glitch-logo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-logo::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-logo::after {
    left: -2px;
    text-shadow: 2px 0 #00fff9;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(5% 0 80% 0); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.greeting {
    color: #8892b0;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    min-height: 4.5rem;
    /* Ensures area reserved for typing effect */
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a8b2d1;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 5px;
}

.glass-btn {
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    backdrop-filter: blur(10px);
}

.glass-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* 3D Profile Card */
.hero-card-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-card {
    width: 350px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    /* Required for internal 3d elements */
    position: relative;
}

/* Neon Orbs behind card */
.glass-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--neon-purple);
    border-radius: 50%;
    filter: blur(80px);
    top: -30px;
    right: -30px;
    z-index: -1;
}

.glass-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--neon-blue);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -30px;
    left: -30px;
    z-index: -1;
}

.card-inner {
    text-align: center;
    transform: translateZ(50px);
    /* 3D pop effect relative to tilted card */
}

.profile-img-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #222;
    background-image: url('I\ Am.jpg');
    background-size: cover;
    background-position: center;
    border: 3px solid var(--bg-deep);
}

.card-inner h3 {
    font-family: var(--font-display);
    color: var(--neon-blue);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.card-inner .level {
    color: #a8b2d1;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tech-stack-mini {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.tech-stack-mini span {
    font-size: 1.5rem;
    color: #e0e6ed;
    transition: color 0.3s, transform 0.3s;
}

.tech-stack-mini span:hover {
    color: var(--neon-purple);
    transform: scale(1.2) translateZ(20px);
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-bubble {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: 15px; /* Bento grid style */
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--neon-blue);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: floating-tag calc(3s + (var(--order, 0) * 0.5s)) ease-in-out infinite alternate;
}

@keyframes floating-tag {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.skill-bubble:hover {
    transform: translateY(-15px) scale(1.1) !important;
    background: rgba(157, 78, 221, 0.15);
    border-color: var(--neon-purple);
    color: #fff;
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4), inset 0 0 10px rgba(157, 78, 221, 0.2);
}

/* Global Pulse Animation for Buttons */
.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2); }
    50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.8), inset 0 0 15px rgba(0, 240, 255, 0.5); }
    100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2); }
}

/* Learning Journey Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.neon-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-node.left {
    left: 0;
    text-align: right;
}

.timeline-node.right {
    left: 50%;
    text-align: left;
}

.timeline-node::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-deep);
    border: 4px solid var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

.timeline-node.left::after {
    right: -10px;
}

.timeline-node.right::after {
    left: -10px;
}

.node-content {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

/* Services Grid & Scan Animation */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.scan-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--neon-blue);
    box-shadow: 0 0 15px 5px rgba(0, 240, 255, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.service-card:hover .scan-line {
    opacity: 1;
    animation: scanning 2s linear infinite;
}

@keyframes scanning {
    0% { top: -10%; }
    50% { top: 110%; }
    100% { top: -10%; }
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.project-glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-glass-card:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    border-color: rgba(0, 240, 255, 0.5);
}

.project-image {
    height: 220px;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 2px solid var(--neon-blue);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 10, 0.5);
    transition: background 0.3s;
}

.project-glass-card:hover .project-image::before {
    background: rgba(5, 5, 10, 0.1);
}

/* Terminal Custom Image for Keylogger Project */
.terminal-img-style {
    background: #0a0a0f !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #ff5f56 !important;
    box-shadow: 0 4px 15px rgba(255, 95, 86, 0.4) !important;
}

.terminal-img-style::before {
    display: none;
}

.terminal-img-content {
    text-align: center;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.neon-glow-img.terminal-img-style::after {
    box-shadow: inset 0 0 20px rgba(255, 95, 86, 0.3);
}

.project-glass-card:hover .neon-glow-img.terminal-img-style::after {
    box-shadow: inset 0 0 40px rgba(255, 95, 86, 0.6), inset 0 0 20px rgba(255, 95, 86, 0.3);
}

/* Green Matrix Glow Override for Port Scanner Project */
.terminal-img-style.matrix-glow {
    border-bottom: 2px solid #27c93f !important;
    box-shadow: 0 4px 15px rgba(39, 201, 63, 0.4) !important;
}
.neon-glow-img.terminal-img-style.matrix-glow::after {
    box-shadow: inset 0 0 20px rgba(39, 201, 63, 0.3);
}
.project-glass-card:hover .neon-glow-img.terminal-img-style.matrix-glow::after {
    box-shadow: inset 0 0 40px rgba(39, 201, 63, 0.6), inset 0 0 20px rgba(39, 201, 63, 0.3);
}

/* Yellow Warning Glow Override for Password Checker Project */
.terminal-img-style.warning-glow {
    border-bottom: 2px solid #ffbd2e !important;
    box-shadow: 0 4px 15px rgba(255, 189, 46, 0.4) !important;
}
.neon-glow-img.terminal-img-style.warning-glow::after {
    box-shadow: inset 0 0 20px rgba(255, 189, 46, 0.3);
}
.project-glass-card:hover .neon-glow-img.terminal-img-style.warning-glow::after {
    box-shadow: inset 0 0 40px rgba(255, 189, 46, 0.6), inset 0 0 20px rgba(255, 189, 46, 0.3);
}

.project-content {
    padding: 1.5rem;
    transform: translateZ(30px);
    /* Lift content during tilt */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-family: var(--font-display);
    color: var(--neon-purple);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-content p {
    color: #a8b2d1;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.tags span {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--neon-blue);
}

/* Neon Glow Image Effect */
.neon-glow-img {
    position: relative;
}
.neon-glow-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.5);
    pointer-events: none;
    transition: box-shadow 0.3s;
}
.project-glass-card:hover .neon-glow-img::after {
    box-shadow: inset 0 0 40px rgba(157, 78, 221, 0.8), inset 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Glow Badges */
.glow-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-blue) !important;
    border-radius: 20px;
    color: var(--neon-blue) !important;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
    text-shadow: 0 0 5px var(--neon-blue);
}
.glow-badge:nth-child(even) {
    border-color: var(--neon-purple) !important;
    color: #fff !important;
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 8px rgba(157, 78, 221, 0.4);
    text-shadow: 0 0 5px var(--neon-purple);
}

/* Terminal Modal */
.terminal-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.terminal-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.terminal-modal-content {
    width: 650px;
    max-width: 90%;
    background: #0a0a0f;
    border: 1px solid var(--neon-purple);
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.4);
    overflow: hidden;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.terminal-modal-overlay.active .terminal-modal-content {
    transform: translateY(0) scale(1);
}

.terminal-header {
    background: #1a1a24;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.terminal-btn {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
}
.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27c93f; }

.terminal-title {
    margin-left: 15px;
    font-family: var(--font-terminal);
    color: #a8b2d1;
    font-size: 0.9rem;
}

.terminal-body {
    padding: 25px;
    font-family: var(--font-terminal);
    color: var(--text-main);
    line-height: 1.8;
}

.modal-line {
    margin-bottom: 15px;
    color: #8892b0;
}
.modal-desc {
    color: #e0e6ed;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 2px solid var(--neon-purple);
}
.modal-tech {
    color: var(--neon-blue);
    padding-left: 15px;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
    margin-bottom: 25px;
}

/* Footer & Contact System */
footer {
    padding: 2rem 5% 0;
    margin-top: 5rem;
}

.glass-footer {
    background: rgba(5, 5, 10, 0.9);
    border-top: 2px solid rgba(157, 78, 221, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
    color: #a8b2d1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
    justify-content: center;
    perspective: 1000px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neon-blue);
    font-size: 2.5rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

/* Hover effect: Glow + Bounce + 3D Rotate */
.social-icon:hover {
    color: #fff;
    background: rgba(157, 78, 221, 0.3);
    border-color: var(--neon-purple);
    box-shadow: 0 0 35px var(--neon-purple), 0 0 15px rgba(157, 78, 221, 0.8), inset 0 0 15px rgba(157, 78, 221, 0.5);
    transform: translateY(-20px) scale(1.15) rotateY(360deg);
}

.contact-action {
    margin-bottom: 1rem;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Cyber-terminal Button Style overrides */
.cyber-tel-btn {
    font-family: var(--font-terminal);
    background: rgba(5, 5, 10, 0.8) !important;
    border: 2px solid var(--neon-blue) !important;
    color: var(--neon-blue) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4), inset 0 0 8px rgba(0, 240, 255, 0.2) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hover effect: Glow + Bounce */
.cyber-tel-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), inset 0 0 15px rgba(0, 240, 255, 0.5) !important;
    text-shadow: 0 0 5px var(--neon-blue);
}

.cyber-tel-btn i {
    font-size: 1.8rem;
    color: #27c93f;
    text-shadow: 0 0 10px #27c93f;
}

/* Skill Modal Overlay & Animations */
.skill-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.skill-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.skill-modal-content {
    width: 90%;
    max-width: 650px;
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-modal-overlay.active .skill-modal-content {
    transform: scale(1);
}

.close-btn-text {
    margin-left: auto;
    color: #ff5f56;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-terminal);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.close-btn-text:hover {
    text-shadow: 0 0 15px #ff5f56;
    transform: scale(1.1);
}

.download-notes-btn:hover {
    background: rgba(39, 201, 63, 0.15) !important;
    color: #fff !important;
    box-shadow: 0 0 25px rgba(39, 201, 63, 0.7), inset 0 0 10px rgba(39, 201, 63, 0.5) !important;
    transform: translateY(-3px);
}

.skill-modal-content .terminal-body ul#skill-modal-roadmap li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}
.skill-modal-content .terminal-body ul#skill-modal-roadmap li::before {
    content: '[+]';
    position: absolute;
    left: -15px;
    color: var(--neon-blue);
    font-family: var(--font-terminal);
    font-weight: bold;
}

.skill-modal-content .terminal-body div#skill-modal-resources a {
    display: inline-block;
    margin-bottom: 5px;
    text-decoration: none;
    transition: all 0.3s;
}
.skill-modal-content .terminal-body div#skill-modal-resources a:hover {
    color: var(--neon-purple) !important;
    text-shadow: 0 0 10px var(--neon-purple);
    transform: translateX(5px);
}

/* ============================================================
   Service Card Modal
   ============================================================ */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 10, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-content {
    width: 90%;
    max-width: 660px;
    background: rgba(8, 8, 14, 0.97);
    border: 2px solid var(--neon-purple);
    box-shadow:
        0 0 30px rgba(157, 78, 221, 0.45),
        inset 0 0 15px rgba(157, 78, 221, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(40px) scale(0.94);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-modal-overlay.active .service-modal-content {
    transform: translateY(0) scale(1);
}

/* Staggered item fade-in keyframe */
@keyframes svcItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* ============================================================
   Initiate Project / Service Inquiry Section
   ============================================================ */
.inquiry-section {
    position: relative;
}

.inquiry-container {
    max-width: 1000px;
}

/* ---- 4-card selection grid ---- */
.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.inquiry-card {
    position: relative;
    overflow: hidden;
    background: rgba(20, 20, 35, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.inquiry-card i {
    font-size: 2.4rem;
    color: var(--neon-blue);
    transition: all 0.35s;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.inq-label {
    font-family: var(--font-terminal);
    font-size: 0.95rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.inq-sub {
    font-family: var(--font-terminal);
    font-size: 0.75rem;
    color: #8892b0;
}

/* Scan-line animation */
.inquiry-scan-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--neon-blue);
    box-shadow: 0 0 12px 4px rgba(0, 240, 255, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.inquiry-card:hover .inquiry-scan-line {
    opacity: 1;
    animation: scanning 1.6s linear infinite;
}

.inquiry-card:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.15);
}

.inquiry-card:hover i {
    color: #fff;
    text-shadow: 0 0 20px var(--neon-blue), 0 0 40px rgba(0, 240, 255, 0.5);
    transform: scale(1.15);
}

/* Selected state — neon purple glow */
.inquiry-card.selected {
    border-color: var(--neon-purple) !important;
    background: rgba(157, 78, 221, 0.12) !important;
    box-shadow:
        0 0 20px rgba(157, 78, 221, 0.4),
        inset 0 0 15px rgba(157, 78, 221, 0.1) !important;
    transform: translateY(-6px) scale(1.03) !important;
}

.inquiry-card.selected i {
    color: var(--neon-purple) !important;
    text-shadow: 0 0 20px var(--neon-purple), 0 0 40px rgba(157, 78, 221, 0.6) !important;
}

.inquiry-card.selected .inq-label {
    color: var(--neon-purple);
}

/* ---- Sliding form wrapper ---- */
.inquiry-form-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                margin-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.inquiry-form-wrapper.open {
    max-height: 800px;
    opacity: 1;
    margin-top: 30px;
}

.inquiry-terminal {
    background: rgba(8, 8, 14, 0.97);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.4);
}

/* ---- Form field elements ---- */
.inq-field-group {
    margin-bottom: 22px;
}

.inq-field-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-terminal);
    font-size: 0.88rem;
    color: #8892b0;
}

.inq-prompt {
    color: var(--neon-blue);
    font-weight: bold;
    margin-right: 6px;
}

.inq-input,
.inq-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-terminal);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

.inq-input::placeholder,
.inq-textarea::placeholder {
    color: #4a5568;
}

.inq-input:focus,
.inq-textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.04);
}

/* ---- Submit button ---- */
.inq-submit-btn {
    background: rgba(0, 240, 255, 0.07);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    font-family: var(--font-terminal);
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.inq-submit-btn:hover {
    background: rgba(0, 240, 255, 0.18);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.inq-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---- Success message ---- */
.inq-success-msg {
    margin-top: 20px;
    padding: 18px 22px;
    background: rgba(39, 201, 63, 0.08);
    border: 1px solid rgba(39, 201, 63, 0.4);
    border-radius: 8px;
    font-family: var(--font-terminal);
    font-size: 1rem;
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(39, 201, 63, 0.2);
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0%   { transform: scale(0.95); opacity: 0; }
    60%  { transform: scale(1.02); }
    100% { transform: scale(1);    opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
    .inquiry-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .description {
        margin: 0 auto 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        min-height: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2rem;
        min-height: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .glass-card {
        width: 100%;
        max-width: 320px;
    }

    .section-title {
        font-size: 2rem;
    }

    .neon-line {
        left: 20px;
    }
    .timeline-node {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left;
    }
    .timeline-node.right {
        left: 0;
    }
    .timeline-node.left::after, .timeline-node.right::after {
        left: 10px;
        right: auto;
    }
}