* {
    margin: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    cursor: none;
}

body {
    /* Optimize rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    z-index: 1000;
    padding: 0;
    margin: 0;
    animation: slideDown 0.5s ease-out;
    transition: transform 0.25s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hidden state for navbar when scrolling down */
.nav-hidden {
    transform: translateY(-110%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 15px 40px;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-svg {
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
    /* filter: drop-shadow(0 0 8px rgba(255, 64, 64, 0.5)); */
    animation: dragonFloat 3.5s ease-in-out infinite;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    /* filter: drop-shadow(0 0 2px rgba(255, 64, 64, 0.5)); */
}
/* }

@keyframes dragonFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-6px) translateX(2px);
    }
    50% {
        transform: translateY(-3px) translateX(-2px);
    }
    75% {
        transform: translateY(-5px) translateX(1px);
    }
} */

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ff2b2b;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 64, 64, 0.6);
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
    color: #ff4d4d;
    text-shadow: 0 0 18px rgba(255, 64, 64, 0.9), 0 0 28px rgba(255, 0, 0, 0.6);
    transform: translateY(-2px);
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 38px;
    border: 2px solid rgba(255, 43, 43, 0.6);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ff2b2b;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.navbar.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,#000000, #ff0000);
    transition: width 0.4s ease;
}

.nav-link:hover {
    color: #ff4d4d;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 16px;
    }
    .nav-container {
        padding: 15px 20px;
    }
}

.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    will-change: transform;
    top: 0;
    left: 0;
    transition: width 0.15s ease, height 0.15s ease, border-color 0.15s ease, border-width 0.15s ease;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff0000;
}

.custom-cursor.cursor-hover {
    transform: scale(1.5);
    border-color: #ff0000;
}

.custom-cursor.cursor-hover::after {
    background: #ff0000;
    box-shadow: 0 0 12px #ff0000;
}

.custom-cursor.cursor-click {
    border-width: 4px;
    border-color: #ff0000;
    width: 24px;
    height: 24px;
}

.custom-cursor.cursor-click::after {
    background: #ff0000;
    box-shadow: 0 0 20px #ff0000;
    width: 10px;
    height: 10px;
}

.custom-cursor.cursor-click::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid #ff0000;
    border-radius: 50%;
    animation: clickRipple 0.4s ease-out;
}

@media (hover: none), (pointer: coarse) {
    * {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

@keyframes clickRipple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

.page-1 {
    height: 100svh;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background-color: black;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgvideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    /* filter: blur(1px); */
}
.page1-hero {
    position: fixed;
    z-index: 0;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    transform-origin: center bottom;
    width: auto;
    height: auto;
    max-height: 110vh;
    max-width: 110vw;
    object-fit: contain;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    contain: layout style paint;
    padding-top: 9%;
    transition: transform 0.3s ease-out;
}

/* .home-parallax {
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} */

/* ===== IMAGE GLOW PULSE ===== */
/* @keyframes imagePulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(0, 255, 136, 0.6)) drop-shadow(0 0 80px rgba(0, 102, 255, 0.4));
    }
} */

/* ===== CUSTOM CURSOR TRAIL ===== */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff0000, transparent);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(0);
        opacity: 0;
    }
}

.page1-text {
    position: fixed;
    z-index: 0;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    top: calc(50% - 150px);
    height: 300px;
    width: 80%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== FLOATING PARTICLES ENHANCED ===== */
@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -40px) scale(1.3) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translate(-15px, -80px) scale(0.7) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(25px, -50px) scale(1.2) rotate(270deg);
        opacity: 0.9;
    }
}

.page1-text::before,
.page1-text::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 30px currentColor, 0 0 60px currentColor;
    filter: blur(1px);
    display: none;
}

.page1-text::before {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #00ff88, #00ffaa);
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.page1-text::after {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #00aaff, #0066ff);
    bottom: 15%;
    right: 12%;
    animation-delay: 3s;
}

/* ===== HERO BOTTOM RIGHT CONTENT ===== */
.hero-bottom-right {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 5;
    max-width: 500px;
    animation: slideInUp 0.8s ease-out 0.3s backwards;
    overflow: visible;
    text-align: left;
    will-change: transform;
    animation-name: mukesh;
    animation-timing-function: ease-out;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}


.hero-greeting .name {
    color: #00ff88;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 25px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-family: 'Courier New', monospace;
    min-height: 30px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.55), 0 0 18px rgba(255, 0, 0, 0.35);
}

.typewriter {
    display: inline-block;
    width: 350px;
    font-family: 'Courier New', monospace;
    overflow: visible;
    white-space: nowrap;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5), 0 0 18px rgba(255, 0, 0, 0.25);
    color: #ff0000;
}

.cursor-blink {
    color: #ff0000;
    animation: blink 1s infinite;
    font-weight: bold;
    position: relative;
    left: 0;
    top: 0;
    display: inline-block;
    margin-left: 2px;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.resume-btn {
    background: #ff0000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    display: inline-block;
    background-size: 220% 220%;
    text-decoration: none;
    transform: skew(-15deg);
}

.resume-btn:hover {
    background: #000000;
    color: #ff0000;
    border-color: #ff0000;
    transform: skew(-15deg) translateY(-3px) scale(1.06);
    box-shadow: 0 10px 28px rgba(255, 0, 0, 0.5);
    background-position: 100% 50%;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00ff88;
    border-radius: 50%;
    color: #00ff88;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: #00ff88;
    color: #000;
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.55), inset 0 0 8px rgba(0, 0, 0, 0.2);
}

/* ===== ABOUT ME SECTION ===== */
.about-section {
    height: 100svh;
    width: 100%;
    background: #000000;
    /* padding: 80px 20px; */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: #ff0000;
    margin: 0 0 20px 0;
    text-shadow: none;
    font-style: italic;
    animation: none;
}


@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.title-underline {
    width: 180px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #1D546D, transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    color: #ddd;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Arial', sans-serif;
}

.about-text p {
    margin: 0 0 20px 0;
    padding: 0px;
    background: transparent;
    /* border-left: 3px solid #ff0000; */
    border-radius: 8px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1.2fr 1fr;
    }
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== RESPONSIVE LAYOUTS ===== */
@media (max-width: 1024px) {
    .page1-text {
        top: 40%;
        width: 90%;
    }

    .page1-hero {
        max-height: 90vh;
        bottom: -15%;
    }

    .hero-bottom-right {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 16px 0 18px;
        background: rgba(10, 10, 10, 0.97);
        border-bottom: 1px solid rgba(255, 43, 43, 0.25);
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar.nav-open .nav-menu {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        align-self: flex-end;
    }

    .nav-link {
        font-size: 12px;
    }

    .page1-text {
        top: 35%;
        width: 94%;
        height: auto;
    }

    .page1-hero {
        max-height: 75vh;
        bottom: -8%;
    }

    .hero-bottom-right {
        position: absolute;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
        max-width: 90%;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .typewriter {
        width: auto;
    }

    .about-section,
    .skills-section,
    .projects-section,
    .contact-section {
        height: auto;
        min-height: auto;
        padding: 80px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .skills-box {
        width: 100%;
    }

    .center-circle-symbol img {
        width: 180px;
        height: auto;
        max-width: 70vw;
    }

    .para-effect {
        height: auto;
        width: 100%;
    }

    .projects-grid {
        flex-direction: column;
        gap: 22px;
    }

    .project-card {
        position: static;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        transform: none !important;
    }

    .project-card:hover {
        transform: translateY(-6px) scale(1.01);
    }

    .contact-form {
        width: 100%;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 18px;
    }

    .logo-svg,
    .logo-img {
        width: 36px;
        height: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .page1-text-inner .extrude {
        font-size: 160px !important;
    }

    .page1-hero {
        max-height: 65vh;
    }

    .resume-btn {
        padding: 10px 22px;
        font-size: 12px;
    }

    .project-card {
        padding: 22px;
    }

    .contact-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #ff0000;
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-note {
    font-size: 14px;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}

/* ===== CODING PROFILES SECTION ===== */
.coding-profiles {
    background: #1a1a1a9f;
    padding: 35px;
    border-radius: 20px;
    /* border: 2px solid #ff0000; */
    backdrop-filter: none;
    box-shadow: none;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.profiles-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin: 0 auto 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.profiles-label:hover {
    color: #ff0000;
}

.profile-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 480px) {
    .profile-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.profile-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    /* border: 2px solid #ffffff; */
    border-radius: 14px;
    color: #ffffff;
    background: #202020;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
}

.profile-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    transition: left 0.5s ease;
}

.profile-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.profile-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.5s ease;
    /* filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3)); */
}

.profile-icon span {
    flex: 1;
}

.profile-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 5px rgba(212, 255, 0, 0.15);
    border-color: rgba(0, 255, 136, 0.7);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(2px);
    transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
    will-change: opacity, transform, filter;
}

.reveal.reveal-up {
    transform: translateY(26px);
}

.reveal.reveal-left {
    transform: translateX(-30px);
}

.reveal.reveal-right {
    transform: translateX(30px);
}

.reveal.reveal-zoom {
    transform: scale(0.96);
}

.reveal.reveal-fade {
    transform: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    filter: blur(0);
}

/* Keep parallax transforms intact for fade-only reveals */
.reveal.reveal-fade.is-visible {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        filter: none;
        opacity: 1;
    }
}

.page1-text-inner h1 {
    margin: 0 0 8px 0;
    font-size: clamp(28px, 6vw, 80px);
    line-height: 1;
}
.page1-text-inner p {
    margin: 0;
    font-size: clamp(14px, 2.2vw, 18px);
    opacity: 0.95;
}

/* ===== 3D EXTRUDED TEXT EFFECT ===== */
.extrude{
    position: relative;
    display: inline-block;
    font-weight: 900;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    z-index: 3;
    letter-spacing: 0em;
    cursor: none;
    text-align: center;
    white-space: pre;
    
    /* 3D depth with orange to red gradient */
    text-shadow: 
        1px 1px 0 #ff6600,
        2px 2px 0 #ff5500,
        3px 3px 0 #ff4400,
        4px 4px 0 #ff3300,
        5px 5px 0 #ee2200,
        6px 6px 0 #dd1100,
        7px 7px 0 #cc0000,
        8px 8px 0 #aa0000,
        9px 9px 0 #880000,
        10px 10px 0 #660000,
        11px 11px 0 #440000,
        12px 12px 0 #220000,
        13px 13px 20px rgba(0, 0, 0, 0.5),
        13px 13px 40px rgba(0, 0, 0, 0.3);
    
    transition: all 0.3s ease;
}

/* Hover effect - shift perspective */
/* .extrude:hover {
    transform: translate(-3px, -3px);
    text-shadow: 
        4px 4px 0 #ff6600,
        5px 5px 0 #ff5500,
        6px 6px 0 #ff4400,
        7px 7px 0 #ff3300,
        8px 8px 0 #ee2200,
        9px 9px 0 #dd1100,
        10px 10px 0 #cc0000,
        11px 11px 0 #aa0000,
        12px 12px 0 #880000,
        13px 13px 0 #660000,
        14px 14px 0 #440000,
        15px 15px 0 #220000,
        16px 16px 30px rgba(0, 0, 0, 0.6),
        16px 16px 50px rgba(0, 0, 0, 0.4);
} */

/* ===== TEXT FLOATING ===== */
@keyframes textFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ===== SCANLINE OVERLAY EFFECT ===== */
.page-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 136, 0.01) 0px,
        transparent 2px,
        transparent 4px,
        rgba(0, 255, 136, 0.01) 6px
    );
    pointer-events: none;
    z-index: 10;
    will-change: transform;
    display: none;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ===== ANIMATED GRADIENT BACKGROUND OVERLAY ===== */
.page-1::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 102, 255, 0.05) 50%, 
        transparent 70%);
    pointer-events: none;
    z-index: 1;
    display: none;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== SKILLS SECTION ===== */
.skills-section {
    height: 100svh;
    width: 100%;
    background: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
}

.section-container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.section-header {
    text-align: center;
    /* margin-bottom: 40px; */
    width: 100%;
}

/* ===== SKILLS GRID LAYOUT ===== */
.skills-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    animation: fadeInUp 0.8s ease-out backwards;
    position: relative;
    margin-top: 20px;
}

/* Center Circle Symbol */
.center-circle-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    text-align: center;
}

.circle-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    white-space: nowrap;
    text-align: center;
    color: #ff0000;
    opacity: 0.15;
}

.skills-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: slideInUp 0.8s ease-out backwards;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.skills-box {
    width: 50%;
    padding: 15px;
    background: #1a1a1a;
    /* border: 2px solid #ff0000; */
    border-radius: 12px;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skills-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    box-shadow: 0 0 10px red;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .skills-box:hover {
    border-color: rgba(0, 255, 136, 0.45);
    box-shadow: 0 5px 12px rgba(0, 255, 136, 0.12);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.07) 0%, rgba(0, 102, 255, 0.05) 100%);
} */

.skills-box:hover::before {
    opacity: 1;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: #0a0a0a;
    /* border: 1.5px solid #ff0000; */
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: none;
}

.skill-item:hover {
    background: #1a1a1a;
    border-color: #ff0000;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.skill-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3));
    transition: all 0.3s ease;
}

.skill-item:hover img {
    /* filter: drop-shadow(0 0 15px rgba(242, 255, 0, 0.8)) drop-shadow(0 0 20px rgba(231, 234, 238, 0.4)); */
    transform: scale(1.1);
}

.skill-item span {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-box {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 15px;
    }
    
    .category-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-box {
        grid-template-columns: 1fr;
    }
    
    .skill-item img {
        width: 45px;
        height: 45px;
    }
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    height: 100svh;
    width: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 64, 64, 0.08), transparent 45%),
                radial-gradient(circle at 80% 30%, rgba(0, 255, 136, 0.06), transparent 40%),
                #040404;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

.projects-section .section-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-section .section-header {
    text-align: center;
}

.projects-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.12), rgba(0, 255, 136, 0.08));
    opacity: 0.3;
    pointer-events: none;
}

.para-effect {
    width: 100%;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card {
    background: rgba(12, 12, 12, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 43, 43, 0.35);
    border-radius: 18px;
    padding: 28px;
    position: absolute;
    width: 350px;
    overflow: hidden;
    transition: all 0.15s ease-out;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    will-change: transform;
    left: 50%;
    pointer-events: auto;
    cursor: default;
}

.project-card:nth-child(1) {
    transform: translateX(-565px);
    z-index: 3;
}

.project-card:nth-child(2) {
    transform: translateX(-175px);
    z-index: 2;
}

.project-card:nth-child(3) {
    transform: translateX(215px);
    z-index: 1;
}

.project-card::before,
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.project-card::before {
    background: linear-gradient(120deg, rgba(255, 43, 43, 0.18), rgba(0, 255, 136, 0.08));
    opacity: 0.35;
}

.project-card::after {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 45%);
    opacity: 0;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 5px 20px rgba(255, 43, 43, 0.25);
    border-color: rgba(255, 43, 43, 0.65);
}

.project-card:hover::after {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: #ffffff;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.project-badge {
    background: linear-gradient(135deg, #ff2b2b, #ff6b6b);
    color: #0b0b0b;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-description {
    color: #d9d9d9;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px 0;
}

.project-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #a8a8a8;
    font-size: 13px;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tag-chip {
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 43, 43, 0.35);
    background: rgba(255, 43, 43, 0.08);
    color: #ffbebe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.project-links {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10;
    cursor: none;
    pointer-events: auto;
}

.project-link.primary {
    background: linear-gradient(135deg, #ff2b2b, #ff6b6b);
    color: #0b0b0b;
    border: 1px solid rgba(255, 43, 43, 0.6);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 43, 43, 0.25);
}

@media (max-width: 1024px) {
    .projects-section {
        padding: 100px 18px 70px;
    }
}

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

/* ===== CONTACT SECTION ===== */
.contact-section {
    min-height: 100svh;
    width: 100%;
    background: #000000;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.contact-section .section-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
}

.section-header {
    width: 100%;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
}

.contact-description {
    color: #ffffff;
    font-size: 18px;
    margin: 0 0 30px 0;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* margin-bottom: 50px; */
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.contact-btn {
    background: #ff0000;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
    border: none;
    display: inline-block;
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.5);
}

/* Match Resume button styling for form submit */
.contact-form .contact-btn {
    background: #ff0000;
    color: #ffffff;
    border: 2px solid #000000;
    /* padding: 12px 28px; */
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
    display: inline-block;
    background-size: 220% 220%;
    text-decoration: none;
    /* transform: skew(-15deg); */
}

.contact-form .contact-btn:hover {
    background: #000000;
    color: #ff0000;
    border-color: #ff0000;
    transform: skew(-15deg) translateY(-3px) scale(1.06);
    box-shadow: 0 10px 28px rgba(255, 0, 0, 0.5);
    background-position: 100% 50%;
}

.social-section {
    animation: slideInUp 0.8s ease-out 0.4s backwards;
    margin-top: 0;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* gap: 25px; */
    margin: 50px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.contact-card {
    background: #1a1a1a;
    /* border: 2px solid #ff0000; */
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.2);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #ff0000;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-card-value {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.contact-card-value:hover {
    color: #ff0000;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 20px auto 30px;
    padding: 0;
    animation: slideInUp 0.8s ease-out 0.3s backwards;
}

.form-group {
    margin-bottom: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: #0a0a0a;
    border: 2px solid #ff0000;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: #1a1a1a;
    border-color: #ff0000;
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.15), inset 0 0 8px rgba(255, 0, 0, 0.1);
}

.form-input:hover,
.form-textarea:hover {
    border-color: #ff3333;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
}

/* Prevent browser autofill white background */
.form-input:-webkit-autofill,
.form-textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0a0a0a inset;
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    transition: background-color 9999s ease-in-out 0s;
}

.form-input:-webkit-autofill:focus,
.form-textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset;
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
}

.contact-form .contact-btn {
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.contact-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

/* Form Status Message */
.form-status {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    animation: slideInUp 0.4s ease-out;
}

.form-status.success {
    background: rgba(0, 255, 136, 0.15);
    border: 2px solid rgba(0, 255, 136, 0.5);
    color: #00ff88;
}

.form-status.error {
    background: rgba(255, 43, 43, 0.15);
    border: 2px solid rgba(255, 43, 43, 0.5);
    color: #ff2b2b;
}

.social-label {
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icon-large {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff0000;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-icon-large svg {
    width: 28px;
    height: 28px;
}

.social-icon-large:hover {
    background: transparent;
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4), inset 0 0 10px rgba(255, 0, 0, 0.1);
    transform: translateY(-5px) scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    border-top: 2px solid rgba(0, 255, 136, 0.2);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #888;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    line-height: 1.8;
}

.footer-content p {
    margin: 8px 0;
}

.heart {
    color: #ff4466;
    animation: heartbeat 2.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(4);
    }
}

.pro {
    height: 400px;
    width: 300px;
    border: 1px solid white;
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
}

.para-effect {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 500px;
    position: relative;
}


/* * {
    margin: 0;
}
html {
  scroll-behavior: smooth;
}

.first_page {
    height: 100svh;
    width: 100%;
    background-color: red;
    position: sticky;
    top: 0;
    z-index: 0;
}
.layers-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.corners {
    height: 100svh;
    width: 100%;
    position: absolute;
    z-index: 10;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 50% , rgba(0, 0, 0, 0.7));
}
.cursor-effect {
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pro {
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.layer1 {
    position: absolute;
    width: 130%;
    height: 130;
    top: -20%;
    left: -15%;
    z-index: 0;
}
.fog1 {
    z-index: 1;
    width: 100vw;
    height: 15vh;
    top: 25vh;
    left: 0;
    object-fit: cover;
}
.layer2 {
    position: absolute;
    object-fit: cover;
    z-index: 2;
    width: 130%;
    height: 300px;
    top: calc(50% - 280px);
    left: -15%;
}
.layer3 {
    position: absolute;
    z-index: 3;
    width: 130%;
    height: 850px;
    top: calc(50% - 450px);
    left: -15%;
}
.layer4 {
    position: absolute;
    z-index: 4;
    object-fit: fill;
    height: 400px;
    width: 100%;
    left: 3%;
    top: calc(50% - 100px);
    filter:contrast(200%);
}
.layer5 {
    position: absolute;
    z-index: 4;
    object-fit: fill;
    height: 90%;
    width: 25%;
    left : -2%;
    top: 8%;
}
.layer6 {
    position: absolute;
    z-index: 4;
    object-fit: fill;
    height: 30%;
    width: 20%;
    right : -2%;
    top: 50%;
}
.page2 {
    height: 100svh;
    width: 100%;
    background-color: black;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.lightingspot {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    filter: drop-shadow(0 0 100px yellow);
} */


