:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #7000ff;
    --primary-glow: rgba(112, 0, 255, 0.5);
    --secondary: #00f3ff;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --gradient-main: linear-gradient(135deg, #7000ff, #00f3ff);
    --gradient-blob: linear-gradient(135deg, #7000ff 0%, #3d009e 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Background Decorations (Blobs) */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 5rem;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Decorative Curves */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--gradient-blob);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(112, 0, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(112, 0, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.mt-2 {
    margin-top: 1rem;
}

/* Glowing Orbs for Decorations */
.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-glow);
    top: 10%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(0, 243, 255, 0.3);
    bottom: 10%;
    left: -5%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Sections General */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 3rem;
}

.center-text {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Glass Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.hover-glow:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 30px rgba(112, 0, 255, 0.15);
    transform: translateY(-5px);
}

/* Grids */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.center-vertical {
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* About Section Visual */
.about-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.blob-shape {
    width: 300px;
    height: 300px;
    background: var(--gradient-main);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    /* Centers the image */
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

.about-logo {
    width: 70%;
    height: auto;
    /* mix-blend-mode: multiply;  Removed as transparent PNG is better, giving basic style*/
    border-radius: 10px;
}

/* Tech Stack */
.tech-stack-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.tech-stack-section h3 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(to bottom, #fff, #aaa);

}

.tech-item:hover {
    color: var(--text-main);
    transform: translateY(-5px);
}

.tech-item:hover i {
    background: var(--gradient-main);

}


/* Vision/Mission Cards */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(112, 0, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.card h3 {
    font-size: 1.5rem;
}

/* Goals (List Style) */
.goals-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    /* Pill shape like reference somewhat */
}

.goal-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e1e24, #121217);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    border: 2px solid var(--bg-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.goal-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.goal-content p {
    color: var(--text-muted);
    font-size: 1rem;
}


/* Services */
.services-section {
    position: relative;
    overflow: hidden;
}

/* Service Blob */
.services-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-main);
    filter: blur(60px);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.service-card:hover::after {
    opacity: 0.4;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(112, 0, 255, 0.3);
}

.service-card i {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);

}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid transparent;
    /* No border by default */
    transition: var(--transition);
}

.team-member:hover {
    background: var(--bg-card);
    border-color: var(--glass-border);
    transform: translateY(-10px);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1f1f2e, #2d2d3d);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    border: 3px solid rgba(112, 0, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-member h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-main);
}

.team-member .role {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 500;
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--secondary);
    filter: blur(80px);
    opacity: 0.2;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    margin: 2rem 0;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border: 1px solid var(--glass-border);
}

.info-item a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 15px;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Animations */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }

    .goal-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .tech-icons {
        gap: 2rem;
    }
}

/* Projects Section (Home) */
.projects-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.parallax-container {
    position: relative;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.1), transparent 70%);
    z-index: -1;
    transform: translateY(-20%);
    will-change: transform;
}

.projects-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card-preview {
    height: 300px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    will-change: transform;
    /* Performance optimization */
}

.project-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
    opacity: 0.8;
}

.project-card-preview:hover {
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.2);
    border-color: var(--primary);
}

.project-card-preview .preview-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: 0.3s;
}

.project-card-preview:hover .preview-content {
    transform: translateY(0);
}

.preview-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.preview-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Background Gradients for Cards (Placeholders) */
.project-card-preview:nth-child(1) {
    background-image: linear-gradient(45deg, #2a0845, #6441a5);
}

.project-card-preview:nth-child(2) {
    background-image: linear-gradient(45deg, #0f2027, #203a43, #2c5364);
}

.project-card-preview:nth-child(3) {
    background-image: linear-gradient(45deg, #134e5e, #71b280);
}

/* Pulse Button */
.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(112, 0, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(112, 0, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(112, 0, 255, 0);
    }
}

/* Projects Page Styles */
.page-header {
    background: linear-gradient(to bottom, var(--bg-dark), #12121e);
    padding: 15rem 0 5rem;
    position: relative;
}

.projects-grid-section {
    padding-bottom: 5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
}

.color-1 {
    background-color: #ff6b6b;
}

.color-2 {
    background-color: #4ecdc4;
}

.color-3 {
    background-color: #a78bfa;
}

.color-4 {
    background-color: #fea3b4;
}

.color-5 {
    background-color: #a2d2ff;
}

.color-6 {
    background-color: #80ced6;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.project-card:hover .overlay {
    opacity: 1;
}

.view-btn {
    padding: 10px 25px;
    background: white;
    color: black;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.project-card:hover .view-btn {
    transform: translateY(0);
}

.project-info {
    padding: 1.5rem;
}

.project-info .category {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.project-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .projects-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* === CORRECTED DEPTH HERO STYLES === */

.hero-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Force full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 60px;
    /* Slight offset for navbar, but keep centered */
}

/* Background "TECHMORPH" text */
.depth-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(1.3);
    /* Stretched to look taller like reference */
    font-size: 18vw;
    /* Larger to fill space */
    font-family: 'Anton', sans-serif;
    /* The requested font style */
    font-weight: 400;
    text-transform: uppercase;
    color: transparent;
    /* Gradient matching uploaded image: Deep Violet to Pink/Lavender */
    background: linear-gradient(to bottom, #1a0b2e 0%, #30005a 30%, #b100e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
    z-index: 1;
    /* Lowest layer */
    pointer-events: none;
    letter-spacing: 10px;
    width: 100%;
    text-align: center;
}

/* Foreground Glass Card */

/* Foreground Glass Card */
.foreground-object {
    position: relative;
    z-index: 10;
    /* Top layer */
    width: 90%;
    max-width: 500px;
    background: rgba(18, 18, 24, 0.65);
    /* Darker, more premium glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
    transform-style: preserve-3d;
    animation: hero-float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center text inside */
    text-align: center;
}

.hero-content-inner h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content-inner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Floating Cube Decoration */
.floating-cube {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7000ff, #00f3ff);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(112, 0, 255, 0.5);
    z-index: 11;
    animation: cube-float 8s ease-in-out infinite alternate;
}

/* Animation Keyframes */
@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes cube-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-10px, -20px) rotate(10deg);
    }
}

/* Fix for subsequent sections overlapping */
.section {
    position: relative;
    background-color: var(--bg-dark);
    /* Ensure background is solid */
    z-index: 5;
}

/* Ensure Scanlines cover everything but allow clicks */
.scanlines {
    display: none;
    /* Removed as requested */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .depth-text {
        font-size: 20vw;
        /* Bigger text on mobile to fill screen */
    }

    .foreground-object {
        padding: 2rem;
        width: 85%;
    }

    .hero-content-inner h1 {
        font-size: 2.5rem;
    }

    .floating-cube {
        width: 60px;
        height: 60px;
        top: -20px;
        right: -20px;
    }
}

/* === NEON FUTURISTIC PROJECTS SECTION === */
.neon-projects-section {
    position: relative;
    background-color: #050505;
    padding: 100px 0;
    overflow: hidden;
}

/* Subtle Grain Texture */
.scanlines-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

/* Neon Green Accent Light */
.neon-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: neon-pulse 5s ease-in-out infinite alternate;
}

.neon-green-text {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    letter-spacing: 3px;
}

.neon-title {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Carousel Layout */
.neon-carousel-container {
    perspective: 1000px;
    margin-top: 3rem;
    overflow: visible;
    /* Allow hover effects to spill out */
}

.neon-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 50px 20px;
    /* Padding for hover growth */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    justify-content: center;
    /* Center if few items, scroll if many */
}

.neon-carousel::-webkit-scrollbar {
    display: none;
}

/* Neon Card */
.neon-card {
    flex: 0 0 320px;
    height: 450px;
    position: relative;
    border-radius: 20px;
    background: #111;
    overflow: hidden;
    scroll-snap-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    cursor: pointer;
}

/* Interactive Card Effects */
.neon-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3), inset 0 0 20px rgba(0, 255, 136, 0.1);
}

.card-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.card-img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.neon-card:hover .card-img {
    filter: grayscale(0%);
}

.neon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 0%, transparent 80%);
    z-index: 2;
}

/* Content */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 3;
    transition: transform 0.4s ease;
    transform: translateY(10px);
}

.neon-card:hover .card-content {
    transform: translateY(0);
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-category {
    display: block;
    font-size: 0.8rem;
    color: #00ff88;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.neon-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.btn-link {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: #00ff88;
}

/* Neon Button */
.btn-neon-green {
    background: transparent;
    color: #00ff88;
    border: 1px solid #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-neon-green:hover {
    background: #00ff88;
    color: black;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

@keyframes neon-pulse {
    0% {
        opacity: 0.1;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 0.25;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .neon-carousel {
        padding: 40px 20px;
        justify-content: flex-start;
        /* Ensure scrolling works on small screens */
    }

    .neon-card {
        flex: 0 0 280px;
        height: 400px;
    }
}