@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Poppins:wght@300;500;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --primary-neon: #00f0ff;
    --secondary-neon: #a855f7;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.custom-navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-navbar .navbar-brand {
    font-family: 'Fira Code', monospace;
    color: var(--primary-neon);
    font-size: 1.6rem;
}

.custom-navbar .nav-link {
    color: var(--text-main);
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s;
}

.custom-navbar .nav-link:hover {
    color: var(--primary-neon);
    transform: translateY(-2px);
}

.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 240, 255, 0.1), transparent 40%);
}

.greeting-text {
    font-family: 'Fira Code', monospace;
    color: var(--primary-neon);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.name-title {
    font-size: 4.5rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-container {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.8rem;
}

.cursor {
    color: var(--primary-neon);
    animation: blink 1s infinite;
}

.btn-glow {
    background: transparent;
    color: var(--primary-neon);
    border: 2px solid var(--primary-neon);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: var(--primary-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.projects-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title span {
    color: var(--primary-neon);
}

.dev-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.dev-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-neon);
    margin-bottom: 20px;
}

.dev-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.dev-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-link {
    color: var(--primary-neon);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    transition: 0.3s;
}

.card-link:hover {
    color: #fff;
    letter-spacing: 1px;
}

.card-tech-stack {
    position: absolute;
    top: 20px;
    right: 20px;
}

.badge {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 5px;
}

.social-links-hero {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links-hero a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links-hero a:hover {
    color: var(--primary-neon);
    transform: translateY(-5px);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.dev-card {
    display: flex;
    flex-direction: column;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.card-link-secondary {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.card-link-secondary:hover {
    color: var(--secondary-neon);
}

.project-details-page {
    background-color: var(--bg-dark);
}

.btn-back {
    color: var(--text-muted);
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    transition: 0.3s;
}

.btn-back:hover {
    color: var(--primary-neon);
    transform: translateX(-5px);
}

.project-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-main-image {
    width: 100%;
    border-radius: 12px;
    z-index: 2;
    position: relative;
}

.image-overlay-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-neon);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.project-category {
    font-family: 'Fira Code', monospace;
    color: var(--secondary-neon);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-main);
}

.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 8px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-family: 'Fira Code', monospace;
}

.info-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.project-description p {
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.text-neon-blue {
    color: var(--primary-neon);
    margin-right: 12px;
}

.toast-notification {
    visibility: hidden;
    min-width: 300px;
    background-color: var(--card-bg);
    color: var(--text-main);
    text-align: center;
    border-radius: 30px;
    padding: 15px 25px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 20px;
    transform: translateX(-50%) translateY(-20px);
    border: 1px solid var(--primary-neon);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast-notification.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bg-unity {
    background: #000;
    color: #fff;
    border: 1px solid #555;
}

.bg-csharp {
    background: #68217A;
    color: #fff;
}

.bg-php {
    background: #4F5D95;
    color: #fff;
}

.bg-mysql {
    background: #00758F;
    color: #fff;
}

.bg-js {
    background: #F7DF1E;
    color: #000;
}

.bg-iot {
    background: #00979D;
    color: #fff;
}

.bg-cpp {
    background: #00599C;
    color: #fff;
}

.bg-python {
    background: #3776AB;
    color: #fff;
}

.bg-ai {
    background: #FF6F00;
    color: #fff;
}