/* ===== PORTFOLIO - NEON DARK THEME ===== */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #080810;
    background-image:
        radial-gradient(ellipse at 15% 10%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(233, 30, 140, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: #c4c4cc;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #080810;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top-color: #e91e8c;
    border-right-color: #8b5cf6;
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

/* ===== PARTICLE CANVAS ===== */
.particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== HERO IMAGE RING ===== */
.hero-image-ring {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(139, 92, 246, 0.25);
    animation: ring-rotate 12s linear infinite;
    z-index: 0;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #e91e8c;
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px #e91e8c;
}

.hero-image-ring::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px #8b5cf6;
}

@keyframes ring-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== FOOTER PREMIUM ===== */
.footer-gradient-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e91e8c, #8b5cf6, #3b82f6, transparent);
    background-size: 200% 100%;
    animation: gradient-slide 4s ease infinite;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer-link {
    color: #6b6b80;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, #e91e8c, #8b5cf6);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #e91e8c;
}

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

.heartbeat {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.2);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    56% {
        transform: scale(1);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #080810;
}

::-webkit-scrollbar-thumb {
    background: #1a1a2e;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e91e8c;
}

/* ===== GLOW BLOBS ===== */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.glow-pink {
    background: radial-gradient(circle, #e91e8c 0%, transparent 70%);
}

.glow-purple {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
}

.glow-blue {
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

/* ===== GLASSMORPHISM ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    animation: rotate-mesh 25s linear infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.glass-card>* {
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(139, 92, 246, 0.12),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    transform: perspective(1000px) rotateX(2deg) rotateY(-1deg) translateY(-6px);
}

.glass-card:active {
    transform: perspective(1000px) scale(0.97) translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(139, 92, 246, 0.15);
    transition-duration: 0.1s;
}

/* ===== NAVIGATION ===== */
.nav-capsule {
    background: rgba(16, 16, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.nav-link {
    color: #8888a0;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(233, 30, 140, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: #e91e8c;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.15);
}

/* ===== HEADINGS ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title .highlight {
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #6b6b80;
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.7;
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Fira Code', monospace;
    font-size: clamp(1rem, 2vw, 1.2rem);
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 500;
    min-height: 1.8em;
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
    animation: blink-cursor 0.7s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    color: #8888a0;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-stat-value i {
    font-size: 1rem;
    color: #e91e8c;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #6b6b80;
    margin-top: 4px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(233, 30, 140, 0.8);
    box-shadow: 0 0 40px rgba(233, 30, 140, 0.2), 0 0 80px rgba(139, 92, 246, 0.1);
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: -10px;
    right: 20%;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px #10b981;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    animation: status-pulse 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* ===== PROJECT CARDS ===== */

/* Projects Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-featured {
    grid-column: span 2;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--card-color, #e91e8c) 0.06, transparent 60%);
    animation: rotate-mesh 20s linear infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-card>* {
    position: relative;
    z-index: 1;
}

.project-card:hover {
    border-color: var(--card-color, rgba(233, 30, 140, 0.35));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px color-mix(in srgb, var(--card-color) 20%, transparent),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    transform: perspective(1200px) rotateX(3deg) rotateY(-2deg) translateY(-10px);
}

.project-card:active {
    transform: perspective(1200px) scale(0.96) translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(233, 30, 140, 0.2);
    transition-duration: 0.1s;
}

/* Project Card Number */
.project-card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    font-size: 3.5rem;
    line-height: 1;
    z-index: 3;
    pointer-events: none;
    transition: color 0.4s ease;
}

.project-card:hover .project-card-number {
    color: rgba(233, 30, 140, 0.12);
}

/* Project Icon Ring */
.project-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--ring-color, #e91e8c);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px color-mix(in srgb, var(--ring-color, #e91e8c) 30%, transparent),
        inset 0 0 15px color-mix(in srgb, var(--ring-color, #e91e8c) 10%, transparent);
    transition: all 0.4s ease;
}

.project-icon-ring i {
    font-size: 2rem !important;
    opacity: 1 !important;
}

.project-card:hover .project-icon-ring {
    transform: scale(1.1);
    box-shadow: 0 0 30px color-mix(in srgb, var(--ring-color, #e91e8c) 50%, transparent),
        inset 0 0 20px color-mix(in srgb, var(--ring-color, #e91e8c) 15%, transparent);
}

/* Orbiting dot around icon ring */
.project-icon-ring::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ring-color, #e91e8c);
    border-radius: 50%;
    top: -3px;
    left: 50%;
    transform-origin: 50% calc(40px + 3px);
    animation: orbit-ring 4s linear infinite;
    box-shadow: 0 0 8px var(--ring-color, #e91e8c);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

@keyframes orbit-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Decorative Pattern */
.project-card-pattern {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 8px 8px;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

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

.project-card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}





.project-card-body {
    padding: 20px;
}

.project-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.project-card-desc {
    font-size: 0.85rem;
    color: #6b6b80;
    margin-bottom: 12px;
}

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(233, 30, 140, 0.1);
    color: #e91e8c;
    border: 1px solid rgba(233, 30, 140, 0.15);
    margin-right: 6px;
    margin-bottom: 6px;
}

/* Project Link Button */
.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(233, 30, 140, 0.08);
    border: 1px solid rgba(233, 30, 140, 0.2);
    transition: all 0.3s ease;
}

.project-link-btn:hover {
    background: var(--card-color, rgba(233, 30, 140, 0.2));
    border-color: var(--card-color, rgba(233, 30, 140, 0.5));
    box-shadow: 0 0 15px color-mix(in srgb, var(--card-color) 30%, transparent);
    transform: translateX(4px);
}

/* Animations */
.animate-entrance {
    animation: entrance-fade 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes entrance-fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.project-link-btn .fa-external-link-alt {
    font-size: 0.65rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.project-link-btn:hover .fa-external-link-alt {
    opacity: 1;
}

/* ===== ABOUT SECTION ENHANCEMENTS ===== */
.about-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(233, 30, 140, 0.08) 0%, transparent 60%);
    animation: rotate-mesh 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.about-card>* {
    position: relative;
    z-index: 1;
}

.about-card:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(-5deg) translateY(-10px);
    border-color: rgba(233, 30, 140, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(233, 30, 140, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.about-card.fullstack::before {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.about-card.fullstack:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 92, 246, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.about-card-icon {
    display: inline-block;
    animation: float-icon 4s ease-in-out infinite;
}

.about-card-icon i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.glass-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.02);
}

.glass-image-container:hover {
    transform: scale(1.02);
    border-color: rgba(233, 30, 140, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-image-container img {
    transition: transform 0.5s ease;
}

.glass-image-container:hover img {
    transform: scale(1.1);
}

.glass-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(8, 8, 16, 0.4));
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.glass-image-container:hover::after {
    opacity: 0.2;
}

/* ===== HERO STATS ENHANCEMENTS ===== */
.hero-stat {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-stat.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-stat:nth-child(1) {
    transition-delay: 0.1s;
}

.hero-stat:nth-child(2) {
    transition-delay: 0.2s;
}

.hero-stat:nth-child(3) {
    transition-delay: 0.3s;
}

/* ===== NEW KEYFRAMES ===== */
@keyframes rotate-mesh {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


.skill-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 16, 0.9) 0%, transparent 100%);
    z-index: 1;
}

.skill-card:hover {
    transform: perspective(1000px) rotateX(4deg) rotateY(4deg) translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(233, 30, 140, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(233, 30, 140, 0.1);
}

.skill-card>* {
    position: relative;
    z-index: 2;
}

.skill-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.skill-card-count {
    font-size: 0.8rem;
    color: #8888a0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.skill-card-icon {
    width: 42px;
    height: 42px;
    background: rgba(233, 30, 140, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(233, 30, 140, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-card-icon {
    transform: translateZ(20px) scale(1.1);
    animation: float-icon 2s ease-in-out infinite;
}

/* Category Specific Card Styles */
.skill-card.backend {
    background: linear-gradient(135deg, #100a20 0%, #1a0a2e 100%);
    border-color: rgba(233, 30, 140, 0.1);
}

.skill-card.frontend {
    background: linear-gradient(135deg, #0a1020 0%, #0a1628 100%);
    border-color: rgba(59, 130, 246, 0.1);
}

.skill-card.ai {
    background: linear-gradient(135deg, #100a18 0%, #1a0a20 100%);
    border-color: rgba(139, 92, 246, 0.1);
}

.skill-card.tools {
    background: linear-gradient(135deg, #0a1815 0%, #0a1a18 100%);
    border-color: rgba(16, 185, 129, 0.1);
}

/* Glowing Skill Badges */
.badge-python {
    background: rgba(255, 206, 44, 0.1) !important;
    color: #ffce2c !important;
    border-color: rgba(255, 206, 44, 0.2) !important;
}

.badge-python:hover {
    filter: drop-shadow(0 0 8px rgba(255, 206, 44, 0.4));
}

.badge-react {
    background: rgba(97, 218, 251, 0.1) !important;
    color: #61dafb !important;
    border-color: rgba(97, 218, 251, 0.2) !important;
}

.badge-react:hover {
    filter: drop-shadow(0 0 8px rgba(97, 218, 251, 0.4));
}

.badge-js {
    background: rgba(247, 223, 30, 0.1) !important;
    color: #f7df1e !important;
    border-color: rgba(247, 223, 30, 0.2) !important;
}

.badge-js:hover {
    filter: drop-shadow(0 0 8px rgba(247, 223, 30, 0.4));
}

.badge-db {
    background: rgba(71, 162, 72, 0.1) !important;
    color: #47a248 !important;
    border-color: rgba(71, 162, 72, 0.2) !important;
}

.badge-db:hover {
    filter: drop-shadow(0 0 8px rgba(71, 162, 72, 0.4));
}

.proficiency-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e8c, #8b5cf6);
    border-radius: 2px;
    width: 0%;
    transition: width 1s ease-in-out;
}

.skill-card:hover .proficiency-fill {
    box-shadow: 0 0 10px rgba(233, 30, 140, 0.5);
}

/* ===== TIMELINE ===== */
.timeline-line {
    position: absolute;
    left: 8px;
    /* Centered with the 18px dot */
    top: 37px;
    /* Starts exactly at the first dot's center level */
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e91e8c, #8b5cf6, transparent);
    z-index: 0;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    box-shadow: 0 0 10px rgba(233, 30, 140, 0.8), 0 0 20px rgba(139, 92, 246, 0.4);
    position: absolute;
    left: 2px;
    /* Centered on the 2px line */
    top: 30px;
    z-index: 2;
    border: 2px solid #080810;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(233, 30, 140, 0.4);
    animation: dot-pulse 2s ease-out infinite;
}

@keyframes dot-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Experience Card Premium Styles */
.experience-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    animation: rotate-mesh 25s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.experience-card>* {
    position: relative;
    z-index: 1;
}

.experience-card:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 92, 246, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.02);
}

/* ===== CONTACT FORM ===== */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #e91e8c;
    box-shadow: 0 0 15px rgba(233, 30, 140, 0.1);
}

.form-input::placeholder {
    color: #4a4a60;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(8, 8, 16, 0.95);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(233, 30, 140, 0.5);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 16, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #e91e8c;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8888a0;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #e91e8c, #8b5cf6);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.3);
}

/* ===== CERTIFICATION CARD ===== */
.cert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(233, 30, 140, 0.05) 0%, transparent 60%);
    animation: rotate-mesh 22s linear infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.cert-card>* {
    position: relative;
    z-index: 1;
}

.cert-card:hover {
    border-color: rgba(233, 30, 140, 0.35);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(233, 30, 140, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.02);
    transform: perspective(1000px) rotateX(2deg) translateY(-5px);
}

.cert-card:active {
    transform: perspective(1000px) scale(0.97) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(233, 30, 140, 0.15);
    transition-duration: 0.1s;
}

/* ===== SCROLLING KEYWORD MARQUEE ===== */
.marquee-section {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}

/* Fade edges for smooth entry/exit */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, #080810 0%, transparent 100%);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, #080810 0%, transparent 100%);
}

.marquee-row {
    overflow: hidden;
    padding: 8px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused !important;
}

.marquee-track:hover .marquee-content {
    animation-play-state: paused !important;
}

.marquee-left {
    animation: none;
}

.marquee-left .marquee-content {
    display: flex;
    gap: 16px;
    padding-right: 16px;
    animation: marquee-scroll-left 35s linear infinite;
}

.marquee-right {
    animation: none;
}

.marquee-right .marquee-content {
    display: flex;
    gap: 16px;
    padding-right: 16px;
    animation: marquee-scroll-right 35s linear infinite;
}

/* Keyword pill styling */
.marquee-keyword {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    letter-spacing: 0.02em;
}

.marquee-keyword i {
    font-size: 1rem;
}

.marquee-keyword:hover {
    transform: scale(1.08) translateY(-2px);
}

/* Color variants */
.kw-pink {
    background: rgba(233, 30, 140, 0.08);
    color: #e91e8c;
    border: 1px solid rgba(233, 30, 140, 0.2);
    box-shadow: 0 0 0 rgba(233, 30, 140, 0);
}

.kw-pink:hover {
    background: rgba(233, 30, 140, 0.15);
    border-color: rgba(233, 30, 140, 0.5);
    box-shadow: 0 0 25px rgba(233, 30, 140, 0.2);
}

.kw-purple {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
}

.kw-purple:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.kw-blue {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
}

.kw-blue:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
}

.kw-green {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
}

.kw-green:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

/* Marquee keyframes */
@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

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

    100% {
        transform: translateX(0);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateZ(20px) translateY(0);
    }

    50% {
        transform: translateZ(20px) translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ===== HERO NAME ANIMATIONS ===== */
.animate-entrance {
    display: inline-block;
    animation: entrance-reveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.glimmer-text {
    background: linear-gradient(90deg, #e91e8c 0%, #8b5cf6 25%, #ffffff 50%, #8b5cf6 75%, #e91e8c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #e91e8c;
    animation: shimmer-glow 6s linear infinite;
}

@keyframes entrance-reveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes shimmer-glow {
    to {
        background-position: 200% center;
    }
}

@keyframes ripple-burst {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.animate-pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}


@media (max-width: 768px) {
    .hero-stats {
        gap: 24px;
    }

    .hero-image {
        width: 220px;
        height: 220px;
    }

    .nav-capsule {
        padding: 10px 20px;
    }
}