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

:root {
    --bg: #081021;
    --bg-card: rgba(15, 25, 45, 0.7);
    --cyan: #00f0ff;
    --purple: #b44aff;
    --text: #e0e0e8;
    --text-muted: rgba(255, 255, 255, 0.5);
    --font: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --grid-color: rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* NAV */
#navbar {
    position: fixed;
    top: 0;
    left: 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.3);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

#navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo span {
    color: var(--cyan);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--cyan);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
    bottom: -12px;
}

.nav-links a.active {
    color: var(--cyan);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* SECTION BASE */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.section-container {
    max-width: 1100px;
    width: 100%;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.title-number {
    font-family: var(--mono);
    color: var(--cyan);
    margin-right: 0.5rem;
}

/* SECTION TRANSITION MASK */
.about-new-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #4a7d90 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    z-index: 100;
    pointer-events: none;
    transform: scale(1.1);
}

.about-new-v2.visible::before {
    opacity: 0.1;
    transform: scale(1);
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HERO SECTION */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bg);
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 80%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
    pointer-events: none;
}

.hero-main-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-sub-title {
    font-size: clamp(1rem, 2.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-portfolio-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    margin-top: -0.5rem;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    font-family: var(--mono);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
}

/* FLOATING ASSETS */
.floating-assets {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.asset {
    position: absolute;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.asset img {
    display: block;
    width: 100%;
    height: auto;
}

.asset-macbook {
    width: 400px;
    top: 5%;
    left: 5%;
    transform: rotate(15deg);
}

.asset-keyboard {
    width: 350px;
    top: 0%;
    right: 5%;
    transform: rotate(-10deg);
}

.asset-headset {
    width: 250px;
    bottom: 5%;
    left: 2%;
    transform: rotate(-15deg);
}

.asset-watch {
    width: 150px;
    bottom: 10%;
    left: 45%;
}

.asset-pi {
    width: 120px;
    top: 30%;
    right: 15%;
    transform: rotate(25deg);
}

.asset-pi-2 {
    width: 100px;
    bottom: 25%;
    right: 30%;
    transform: rotate(-10deg);
}

.asset-pc {
    width: 300px;
    bottom: -5%;
    right: 0%;
}

.asset-server {
    width: 100px;
    top: 40%;
    right: 35%;
}

/* WIRES */
.hero-wires {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.wire {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1.5;
    stroke-dasharray: 5, 5;
    animation: wireFlow 20s linear infinite;
}

@keyframes wireFlow {
    to {
        stroke-dashoffset: -100;
    }
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
}

.btn-outline:hover {
    background: var(--cyan);
    color: var(--bg);
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--cyan);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll 1.5s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--mono);
    letter-spacing: 1px;
}

/* ABOUT SECTION */
/* NEW ABOUT SECTION V2 */
.about-new-v2 {
    padding: 0 !important;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-bg-split {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: -1;
}

.bg-left {
    flex: 0 0 30%;
    background-color: #8da4b4;
    /* Greyish blue */
}

.bg-right {
    flex: 1;
    background-color: #051b2c;
    /* Dark blue */
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h180v180H10z' fill='none' stroke='rgba(74, 125, 144, 0.1)' stroke-width='1'/%3E%3Cpath d='M10 50h180M50 10v180M10 150h180M150 10v180' stroke='rgba(74, 125, 144, 0.05)' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(74, 125, 144, 0.2)'/%3E%3Ccircle cx='150' cy='50' r='2' fill='rgba(74, 125, 144, 0.2)'/%3E%3Ccircle cx='50' cy='150' r='2' fill='rgba(74, 125, 144, 0.2)'/%3E%3Ccircle cx='150' cy='150' r='2' fill='rgba(74, 125, 144, 0.2)'/%3E%3C/svg%3E");
    background-size: 100% 100%, 200px 200px;
    position: relative;
    overflow: hidden;
}

#about-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.about-content-wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 30% 1fr;
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}

.about-top-nav {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.innovations-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #051b2c;
    text-decoration: none;
    letter-spacing: 1px;
}

.grid-icon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.grid-icon span {
    width: 6px;
    height: 6px;
    background: #4a7d90;
    border-radius: 1px;
}

.about-left-side {
    padding: 100px 5% 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 5;
}

.vertical-name-wrapper {
    height: 60%;
    overflow: hidden;
}

.vertical-name {
    font-size: clamp(3rem, 8vw, 10rem);
    font-weight: 900;
    color: #051b2c;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: rotate(-90deg);
    transform-origin: center center;
    white-space: nowrap;
    height: 150vh; /* Increased space for safety */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.vertical-name-wrapper {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.vertical-name-train {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.about-bio-v2 {
    margin-top: auto;
    max-width: 250px;
    position: relative;
    z-index: 20;
}

.bio-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #051b2c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.bio-expertise {
    font-size: 0.85rem;
    color: #051b2c;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.btn-connect {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #051b2c;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.btn-connect:hover {
    transform: translateX(5px);
}

.about-center-image {
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.profile-img-v2 {
    height: 110%;
    width: auto;
    object-fit: contain;
}

.badge-v2 {
    position: absolute;
    top: 40%;
    right: 15%;
    z-index: 15;
}

.badge-circle {
    width: 120px;
    height: 120px;
    background: #051b2c;
    border: 8px solid #4a7d90;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: #4a7d90;
    font-family: var(--mono);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-right-side {
    padding: 100px 5% 5% 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Removed z-index to allow children to layer independently */
}

.header-name-v2 {
    font-family: var(--mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
    z-index: 25 !important; /* Front */
}

.main-titles-v2 {
    margin-top: 50px;
}

.title-primary-v2 {
    font-size: clamp(3rem, 9vw, 9rem); /* Increased scaling and max size */
    font-weight: 900;
    color: #4a7d90;
    line-height: 0.85;
    margin-bottom: 2rem;
    text-transform: uppercase;
    max-width: 1000px;
    position: relative;
    z-index: 5 !important; /* Force behind image */
}

.title-secondary-v2 {
    font-size: clamp(1.5rem, 3vw, 4rem);
    font-weight: 700;
    color: #4a7d90;
    opacity: 0.7;
    text-transform: uppercase;
    position: relative;
    z-index: 25 !important; /* Force in front of image */
}

.footer-labels-v2 {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    position: relative;
    z-index: 25 !important; /* Front */
}

.label-item {
    padding: 6px 12px;
    background: rgba(74, 125, 144, 0.2);
    border: 1px solid rgba(74, 125, 144, 0.4);
    color: #4a7d90;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .about-new-v2 {
        height: auto;
        min-height: 100vh;
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
    }

    .about-left-side {
        padding: 50px 5%;
        background-color: #8da4b4;
    }

    .about-right-side {
        padding: 50px 5%;
        background-color: #051b2c;
    }

    .about-center-image {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 500px;
        margin: -100px 0;
    }

    .vertical-name {
        width: auto;
    }
}
/* HOLOGRAPHIC SKILLS SECTION */
.skills-hologram-v3 {
    padding: 100px 0;
    overflow: visible; /* Prevent clipping of floating elements */
    background: radial-gradient(circle at 50% 100%, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
}

.hologram-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    height: 600px;
    padding: 0 20px;
    margin-top: 150px; /* Give title room to breathe */
}

.projector-unit {
    flex: 1;
    position: relative;
    max-width: 450px;
    height: 600px; 
    text-align: center;
    margin-bottom: 80px;
    overflow: visible; /* Ensure icons can float freely */
}

.projector-title {
    position: absolute;
    bottom: -60px; /* Positioned below the base circle */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 20;
    width: 100%;
}

.frontend .projector-title { color: #ff7e5f; text-shadow: 0 0 15px rgba(255, 126, 95, 0.5); }
.backend .projector-title { color: #00f2fe; text-shadow: 0 0 15px rgba(0, 242, 254, 0.5); }
.systems .projector-title { color: #b44aff; text-shadow: 0 0 15px rgba(180, 74, 255, 0.5); }

.frontend .projector-beam { background: linear-gradient(to top, #ff7e5f, transparent); }
.backend .projector-beam { background: linear-gradient(to top, #00f2fe, transparent); }
.systems .projector-beam { background: linear-gradient(to top, #b44aff, transparent); }

/* The Light Beam (Inverted Pyramid Shape) */
.projector-beam {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    height: 400px;
    clip-path: polygon(-10% 0%, 110% 0%, 65% 100%, 35% 100%);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.projector-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.1) 0px,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scan 10s linear infinite;
}

@keyframes scan {
    from { transform: translateY(100%); }
    to { transform: translateY(-100%); }
}



.projector-unit:hover .projector-beam {
    opacity: 0.4;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 400px; /* Reduced to avoid title overlap */
    z-index: 999; /* Absolute top priority */
    overflow: visible !important; 
}

.floating-icons i {
    position: absolute;
    font-size: 5rem; /* Even larger icons */
    opacity: 1 !important;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)); /* Stronger glow */
    animation: floatIcon 6s ease-in-out infinite;
    animation-delay: var(--d);
    left: calc(50% + var(--x));
    bottom: calc(20% + var(--y));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-icons i:hover {
    transform: scale(1.2) rotate(10deg);
    z-index: 20;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Projector Base */
.projector-base {
    width: 250px;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    perspective: 1000px;
}

.base-top {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: rotateX(60deg);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.frontend .base-top { 
    background: linear-gradient(45deg, #feb47b, #ff7e5f);
    box-shadow: 0 0 30px rgba(255, 126, 95, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.backend .base-top { 
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.base-inner {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateX(60deg);
    box-shadow: 0 0 20px white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) rotateX(60deg) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) rotateX(60deg) scale(1.2); opacity: 1; }
}

/* Divider */
.projector-divider {
    width: 2px;
    height: 400px;
    background: repeating-linear-gradient(to bottom, transparent, rgba(255,255,255,0.1) 5px, transparent 10px);
    opacity: 0.5;
}

@media (max-width: 992px) {
    .hologram-container {
        flex-direction: column;
        align-items: center;
        gap: 150px;
    }
    .projector-divider {
        width: 80%;
        height: 2px;
        background: repeating-linear-gradient(to right, transparent, rgba(255,255,255,0.1) 5px, transparent 10px);
    }
    .projector-title { margin-bottom: 200px; }
}

/* PROJECTS SECTION REDESIGN */
.projects-v3 {
    padding: 120px 0;
    position: relative;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;
    width: 100%;
}

.projects-v3 .section-container {
    margin: 0 auto;
}

.featured-project {
    width: 100%;
    height: 600px;
    margin-bottom: 80px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: transform 1s ease;
}

.featured-project:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 650px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-right: 2px solid var(--cyan);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    color: var(--cyan);
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #fff;
}

.featured-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.featured-tech {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tech-item {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 1.1rem;
}

.projects-grid-v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Balanced 2x2 layout */
    gap: 30px;
}

@media (max-width: 1200px) {
    .projects-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid-v3 {
        grid-template-columns: 1fr;
    }
}

.project-card-v3 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-v3:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cyan);
    transform: translateY(-5px);
}

.card-header {
    margin-bottom: 20px;
}

.card-tech-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.card-tech-icons i {
    font-size: 1.3rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.project-card-v3:hover .card-tech-icons i {
    opacity: 1;
    transform: scale(1.1);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-tag {
    font-family: var(--mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

.project-link-v3 {
    font-size: 1.5rem;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.project-link-v3:hover {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .projects-grid-v3 {
        grid-template-columns: 1fr;
    }
    
    .featured-project {
        height: auto;
        flex-direction: column;
    }
    
    .featured-content {
        max-width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--cyan);
        padding: 40px 30px;
    }
    
    .featured-title {
        font-size: 2.5rem;
    }
}

/* CONTACT SECTION REDESIGN */
.contact-v2 {
    padding: 120px 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.contact-info-v2 {
    position: relative;
    z-index: 1;
}

.contact-info-v2 h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-info-v2 p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    transition: all 0.3s ease;
}

.method-item:hover .method-icon {
    background: var(--cyan);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.method-text .label {
    display: block;
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-text .value {
    font-size: 1.1rem;
    font-weight: 600;
}

.social-strip {
    display: flex;
    gap: 20px;
}

.social-link-v2 {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link-v2:hover {
    color: var(--cyan);
    transform: translateY(-3px);
}

.contact-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--cyan);
    text-transform: uppercase;
}

.contact-form-v2 input,
.contact-form-v2 textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-v2 input:focus,
.contact-form-v2 textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.btn-send {
    margin-top: 10px;
    height: 55px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* ANIMATIONS */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(10, 10, 15, 0.95);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        gap: 2rem;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* HERO MOBILE */
    .hero-main-title {
        font-size: 2rem;
    }

    .hero-sub-title {
        font-size: 1rem;
    }

    .hero-portfolio-title {
        font-size: 3rem;
    }

    .hero-meta {
        font-size: 0.9rem;
    }

    /* ASSETS MOBILE */
    .asset-macbook {
        width: 150px !important;
        top: 2% !important;
        left: -15% !important;
        opacity: 0.6;
    }

    .asset-keyboard {
        width: 140px !important;
        top: 5% !important;
        right: -10% !important;
        left: auto !important;
        opacity: 0.6;
    }

    .asset-headset {
        width: 90px !important;
        bottom: 15% !important;
        left: 2% !important;
        top: auto !important;
    }

    .asset-watch {
        display: none !important;
    }

    .asset-pi {
        width: 50px !important;
        top: 30%;
        right: 5%;
        opacity: 0.4;
    }

    .asset-pi-2 {
        display: none !important;
    }

    .asset-pc {
        width: 120px !important;
        bottom: 8% !important;
        right: -5% !important;
        top: auto !important;
    }

    .asset-server {
        display: none !important;
    }

    .hero-content {
        position: relative;
        z-index: 10;
    }

    .hero-main-title,
    .hero-portfolio-title {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .skill-items {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .projects-grid-v3 {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px 20px;
    }

    /* MOBILE SKILLS OVERHAUL (Grid instead of Hologram) */
    .skills-hologram-v3 {
        padding: 80px 20px;
    }

    .hologram-container {
        flex-direction: column;
        gap: 60px;
        height: auto;
        padding-top: 50px;
    }

    .projector-unit {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 30px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        display: block;
    }

    .projector-beam, 
    .projector-base {
        display: none !important; /* Remove clutter on mobile */
    }

    .projector-title {
        position: static;
        transform: none;
        font-size: 1.4rem;
        margin-bottom: 25px;
        text-align: left;
        letter-spacing: 2px;
    }

    .floating-icons {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
        padding: 0;
    }

    .floating-icons i {
        position: static !important;
        transform: none !important;
        animation: none !important;
        font-size: 2.2rem;
        opacity: 1 !important;
    }

    .projector-unit:hover {
        border-color: var(--cyan);
        background: rgba(0, 240, 255, 0.03);
    }
}

    /* PROJECTS MOBILE */
    .featured-title {
        font-size: 2rem;
    }

    .featured-content {
        padding: 30px 20px;
    }

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

    .project-card-v3 {
        padding: 25px;
    }
}