:root {
    --accent-color: #00ffcc;
    --secondary-color: #0088ff;
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --font-main: 'Space Grotesk', sans-serif;
    --font-display: 'Syncopate', sans-serif;
}

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

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none !important;
}

a, button, [role="button"], .project-item, .tech-tag, .strength-pill, .matrix-item {
    cursor: none !important;
}

.cursor,
.cursor-follower,
.project-hover-reveal,
.map-hud {
    will-change: transform, opacity;
}

/* Smooth Scroll Wrapper */
#smooth-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2; /* Ensure content is above canvas */
}

#smooth-content {
    width: 100%;
    position: relative;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Lower z-index */
    pointer-events: none; /* Allow clicks to pass through */
    background: transparent; /* Ensure transparent */
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(0, 0, 0);
    transition: transform 0.14s ease-out, opacity 0.3s ease;
}

.initial-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.cursor,
.cursor-follower,
.project-hover-reveal,
.map-hud {
    will-change: transform, opacity;
}

/* Container Utility */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

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

.highlight {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2; /* Ensure above canvas */
}

.glitch-text {
    font-family: var(--font-display);
    font-size: 8vw;
    font-weight: 700;
    position: relative;
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-top: 20px;
    color: var(--secondary-color);
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    font-size: 0.9rem;
    color: #888;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 20px;
}

/* Marquee */
.marquee-section {
    padding: 60px 0;
    background: var(--accent-color);
    color: #000;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    overflow: hidden;
    position: relative;
    transform: rotate(-3deg) scale(1.1); /* Slant Scrolling */
    z-index: 5;
    margin: 50px 0;
}

.marquee-content {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    animation: marquee 20s linear infinite;
    display: flex;
    align-items: center;
    color: #000;
}

.marquee-content span {
    display: flex;
    align-items: center;
    color: #000;
}

.marquee-separator {
    margin: 0 30px;
    font-size: 3rem;
    color: #000;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section */
.about-section {
    padding: 100px 50px;
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.95) 0%, rgba(10, 10, 16, 0.9) 100%);
    border-top: 1px solid rgba(0, 255, 204, 0.08);
}

.section-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.section-pill {
    padding: 10px 18px;
    border: 1px solid rgba(0, 255, 204, 0.25);
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 255, 204, 0.06);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #888;
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 130px rgba(0, 0, 0, 0.2);
}

.identity-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 24px;
}

.identity-panels {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.identity-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.large-text {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.05;
    max-width: 720px;
}

.info-summary {
    display: grid;
    gap: 28px;
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    max-width: 740px;
}

.skill-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-chip-row span {
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.17);
    color: #fff;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.id-module {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.id-module:hover {
    border-color: rgba(0, 255, 204, 0.2);
}

.module-header {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    padding-bottom: 15px;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex-grow: 1;
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    white-space: nowrap;
}

.tech-tag:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.strength-pill {
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid rgba(0, 255, 204, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.strength-pill:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--accent-color);
    color: #fff;
}

.map-container-wrapper {
    min-height: 720px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(5, 18, 40, 0.95), rgba(0, 9, 22, 0.88));
    border: 1px solid rgba(0, 255, 204, 0.16);
    box-shadow: 0 55px 160px rgba(0, 0, 0, 0.28);
}

.map-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 255, 204, 0.18), transparent 32%);
    pointer-events: none;
    opacity: 0.95;
}

.hologram-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.05) 40%, transparent 100%);
    opacity: 0.45;
    pointer-events: none;
}

.map-hud {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    padding: 28px;
    height: 100%;
}

.map-visual {
    width: 100%;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 204, 0.14);
    background: rgba(0, 0, 0, 0.22);
}

.hud-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.hud-topbar h4 {
    font-size: 1.85rem;
    margin: 0;
    color: #fff;
}

.hud-status {
    color: var(--accent-color);
    font-family: monospace;
    font-size: 0.95rem;
    white-space: nowrap;
}

.hud-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 18px;
    border: 1px solid rgba(0, 255, 204, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-family: monospace;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.hud-footer span {
    white-space: nowrap;
}

.hud-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 255, 204, 0.12);
    border: 1px solid rgba(0, 255, 204, 0.18);
    color: #fff;
    font-size: 0.8rem;
}

.map-overlay-panel {
    position: absolute;
    bottom: 95px;
    right: 24px;
    display: grid;
    gap: 14px;
    z-index: 10;
    width: min(520px, calc(100% - 48px));
    padding: 18px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 24px;
    border: 1px solid rgba(0, 255, 204, 0.16);
    backdrop-filter: blur(14px);
}

.overlay-item {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(0, 255, 204, 0.14);
    padding: 16px 18px;
    border-radius: 18px;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.overlay-route {
    display: grid;
    gap: 12px;
}

.route-title {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(0, 255, 204, 0.95);
}

.route-chip-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
}

.route-chip-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.16);
    color: #fff;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* Projects */
.work-section {
    padding: 100px 50px;
    position: relative;
    z-index: 50; /* High z-index to ensure visibility */
    background: rgba(5, 5, 5, 0.2); /* Increased transparency for better visibility */
    backdrop-filter: blur(2px); /* Reduced blur to keep particles visible */
    border-top: 1px solid rgba(0, 255, 204, 0.1);
}

.project-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item {
    position: relative;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02); /* Slight background for card effect */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, border-color 0.3s, padding-left 0.3s;
    overflow: hidden;
    border-radius: 8px; /* Slight roundness */
    min-height: 200px; /* Ensure minimum height */
}

.project-item:hover {
    padding-left: 60px;
    border-color: var(--accent-color);
    background: rgba(0, 255, 204, 0.05);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.project-num {
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.8); /* Increased visibility */
}

.project-title {
    font-family: var(--font-display);
    font-size: 2rem;
    transition: color 0.3s;
    color: #ffffff !important; /* Force white color */
    text-shadow: 0 0 10px rgba(0,0,0,0.5); /* Add shadow for contrast */
}

.project-cat {
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
}

.project-details {
    text-align: right;
    color: #eee; /* Ensure text is visible */
}

.project-details p {
    color: #ddd; /* Description color */
    margin-bottom: 10px;
}

.tech-tags span {
    margin-left: 10px;
    color: #bbb;
    font-size: 0.9rem;
}

/* Hover Reveal for Projects */
.project-hover-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transform: translateX(-100%) skewX(-20deg);
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-item:hover .project-hover-reveal {
    opacity: 0.1;
    transform: translateX(0) skewX(0);
}

.project-item:hover .project-title {
    color: #fff;
    text-shadow: 0 0 20px currentColor;
}


.timeline {
    position: relative;
    padding-left: 20px;
    margin-top: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 1px;
    height: calc(100% - 10px);
    background: linear-gradient(to bottom, var(--accent-color), rgba(0, 255, 204, 0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 9px;
    height: 9px;
    background: #000;
    border: 1.5px solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    transition: 0.3s;
    z-index: 2;
}

.timeline-item:hover .timeline-marker {
    background: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-color);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-content h5 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.timeline-content p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
}

/* Tech Cloud */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    cursor: default;
}

.tech-tag i {
    color: var(--accent-color);
}

.tech-tag:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.1);
}

/* Contact & Footer */
.contact-section {
    padding: 100px 50px;
    background: rgba(2, 2, 2, 0.2);
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 50;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-title {
    font-family: var(--font-display);
    font-size: 4vw;
    line-height: 1.1;
    margin-bottom: 60px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.connection-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.matrix-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: 0.3s;
    border-radius: 8px;
}

.matrix-item:hover {
    background: rgba(0, 255, 204, 0.05);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.matrix-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.matrix-info {
    display: flex;
    flex-direction: column;
}

.matrix-label {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-family: var(--font-display);
}

.matrix-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

.social-card:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.social-card i {
    font-size: 2.5rem;
}

.footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.8rem;
    font-family: monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right {
    color: var(--accent-color);
}


