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

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    /* Clean very light gray/off-white */
    color: #1e293b;
    /* Dark slate text */
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 14px;
}

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

.stagger-animation {
    transition-delay: var(--delay, 0s);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 42px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    /* Light glass background */
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    transform: translateY(-100%);
    animation: slideDown 0.8s ease-out 0.2s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    /* Solid white on scroll */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    /* Subtle primary accent */
    transform: translateY(0) scale(0.98);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(45deg, #1e293b, #475569, #7c3aed);
    /* Dark to primary gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 28px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInNav 0.6s ease-out forwards;
}

.main-nav ul li:nth-child(1) {
    animation-delay: 0.3s;
}

.main-nav ul li:nth-child(2) {
    animation-delay: 0.4s;
}

.main-nav ul li:nth-child(3) {
    animation-delay: 0.5s;
}

.main-nav ul li:nth-child(4) {
    animation-delay: 0.6s;
}

.main-nav ul li:nth-child(5) {
    animation-delay: 0.7s;
}

.main-nav ul li:nth-child(6) {
    animation-delay: 0.8s;
}

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

.main-nav ul li a {
    color: #475569;
    /* Medium slate text */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    padding: 8px 0;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #7c3aed;
    /* Primary accent */
    transform: translateY(-2px);
}

.header-icons {
    display: flex;
    align-items: center;
}

.social-icon-link {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
    padding: 7px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: scale(0);
    animation: popIn 0.6s ease-out forwards;
}

.social-icon-link:nth-child(1) {
    animation-delay: 0.9s;
}

.social-icon-link:nth-child(2) {
    animation-delay: 1.0s;
}

.social-icon-link:nth-child(3) {
    animation-delay: 1.1s;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.social-icon-link:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.5);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 15px rgba(124, 58, 237, 0.15);
}

.hero-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 14px 28px;
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
    overflow: hidden;
    /* For the ambient glow */
}

/* tsParticles container */
#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass to particles */
}

.hero-content-wrapper * {
    pointer-events: auto;
    /* Re-enable for inner elements */
}

.hero-content-left {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-visual-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

/* Hero Ambient Glows */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    top: -10%;
    left: 0%;
    animation: floatGlow1 15s infinite alternate ease-in-out;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    /* Lighter blue */
    bottom: 10%;
    right: -5%;
    animation: floatGlow2 20s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-80px, -60px) scale(0.9);
    }
}

/* Removed floatParticle keyframes and hero-particle class */

.profile-image-container {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    opacity: 0;
    transform: scale(0.8);
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: heroImageIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.2), inset 0 0 0 2px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

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

.profile-image:hover::before {
    left: 100%;
}

.profile-image:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.3);
    border-color: rgba(124, 58, 237, 0.4);
}

/* Removed pointing arrows to clean up the modern stat-card layout */

.role-badge {
    display: inline-block;
    padding: 7px 14px;
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #1e293b;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.role-badge:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
    color: #7c3aed;
}

.role-fullstack {
    bottom: 30px;
    left: -170px;
    animation: badgeSlideIn 0.8s ease-out 1.2s forwards;
}

.role-uiux {
    top: 30px;
    left: -140px;
    animation: badgeSlideIn 0.8s ease-out 1.4s forwards;
}

.role-ai {
    top: 30px;
    right: -130px;
    animation: badgeSlideIn 0.8s ease-out 1.3s forwards;
}

.role-roblox {
    bottom: 30px;
    right: -190px;
    animation: badgeSlideIn 0.8s ease-out 1.5s forwards;
}

@keyframes badgeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideUp 1s ease-out 0.8s forwards;
    text-align: left;
}

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

.hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.7;
    margin: 0 auto 32px auto;
    opacity: 0;
    color: #475569;
    transform: translateY(20px);
    animation: subtitleFadeIn 1s ease-out 1.2s forwards;
    text-align: left;
}

@keyframes subtitleFadeIn {
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

.hero-buttons-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: buttonsSlideUp 1s ease-out 1.5s forwards;
}

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

.connect-button {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.connect-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
    transition: left 0.6s;
}

.connect-button:hover::before {
    left: 100%;
}

.connect-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.4);
    background: linear-gradient(45deg, #6d28d9, #9333ea);
}

.cv-button {
    background: #ffffff;
    color: #1e293b;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cv-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    z-index: -2;
    border-radius: 50px;
}

.cv-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #ffffff;
    z-index: -1;
    border-radius: 48px;
    transition: background 0.3s ease;
}

.cv-button:hover::before {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.cv-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.15);
    color: #7c3aed;
}

/* Glassmorphism Stat Cards */
.hero-stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 5;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(20px);
}

.hero-stat-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.stat-1 {
    top: -20px;
    left: -90px;
    z-index: 10;
}

.stat-2 {
    bottom: -30px;
    right: -90px;
    z-index: 10;
}

.about-section {
    background: #ffffff;
    /* Clean white */
    color: #334155;
    padding: 100px 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.about-header {
    position: sticky;
    top: 120px;
}

.about-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin: 0;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.about-text p {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.about-text p:hover {
    transform: translateX(5px);
    color: #334155;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-link {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.about-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7c3aed;
    transition: width 0.3s ease;
}

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

.about-link:hover {
    color: #5b21b6;
}

.skills-section {
    background: #f8fafc;
    /* Very light gray */
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skills-header {
    text-align: center;
    margin-bottom: 4rem;
}

.skills-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1e293b, #334155, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.skill-category:nth-child(4) {
    grid-column: 1 / -1;
    max-width: 400px;
    width: 100%;
}

.skill-category {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
    opacity: 0.5;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill-category:hover::before {
    transform: translateX(0);
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft dark shadow */
    border-color: rgba(124, 58, 237, 0.2);
    background: #ffffff;
}

.skill-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.skill-category:hover .skill-category-title {
    transform: translateX(5px);
}

.skill-category-icon {
    font-size: 1.5rem;
    color: #7c3aed;
    transition: all 0.3s ease;
}

.skill-category:hover .skill-category-icon {
    transform: scale(1.1) rotate(5deg);
}

.skills-list {
    display: grid;
    gap: 1rem;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateX(5px);
}

.skill-name {
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-icon {
    font-size: 1.2rem;
    color: #7c3aed;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.2);
    color: #a855f7;
}

.skill-level {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 4px;
    /* Make it slightly thicker for visibility */
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #7c3aed);
    /* Bright gradient */
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform: translateX(-100%);
}

.skill-progress.animate {
    transform: translateX(0);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

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

.projects-section {
    background: #ffffff;
    /* Clean white */
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10000;
}

.projects-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #1e293b, #334155, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
    z-index: 10000;
}

.dropdown-btn {
    background: #f8fafc;
    border: 2px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #334155;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.dropdown-btn:hover {
    border-color: rgba(124, 58, 237, 0.4);
    background: #ffffff;
    box-shadow: 0 8px 15px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
    color: #7c3aed;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 9999;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    padding: 10px 15px;
    color: #475569;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a.active {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    font-weight: 600;
}

.dropdown-content a:hover {
    background: #f8fafc;
    color: #7c3aed;
    transform: translateX(5px);
}

.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9998;
    display: none;
}

.dropdown-overlay.show {
    display: block;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.project-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    display: none;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border-color: rgba(124, 58, 237, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

/* Light background alternatives for project images */
.project-card:nth-child(1) .project-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.project-card:nth-child(5) .project-image {
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
}

.project-card:nth-child(6) .project-image {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

.project-mockup {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 80%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover .project-mockup {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mockup-header {
    height: 30px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.project-card:hover .mockup-dot {
    transform: scale(1.2);
}

.mockup-dot:first-child {
    background: #ef4444;
}

.mockup-dot:nth-child(2) {
    background: #f59e0b;
}

.mockup-dot:nth-child(3) {
    background: #10b981;
}

.mockup-content {
    flex: 1;
    background: #fafafa;
    position: relative;
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-title {
    transform: translateX(5px);
    color: #a855f7;
}

.project-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.project-card:hover .project-description {
    color: #475569;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.3);
    background: linear-gradient(45deg, #6d28d9, #9333ea);
}

.btn-secondary {
    background: transparent;
    color: #475569;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: rgba(124, 58, 237, 0.3);
    color: #7c3aed;
    transform: translateY(-3px) scale(1.02);
    background: rgba(124, 58, 237, 0.05);
}

.icon {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.btn:hover .icon {
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(124, 58, 237, 0.6);
    animation: bounce 2s infinite;
    opacity: 0;
    animation: bounceIn 2s ease-out 2s forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.interest-section {
    background: #ffffff;
    color: #334155;
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.interest-section::before {
    display: none;
    /* Removed top border element for cleaner look */
}

.interest-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.interest-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.interest-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.interest-btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.interest-btn:hover::before {
    left: 100%;
}

.interest-btn-primary {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.interest-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.3);
    background: linear-gradient(45deg, #6d28d9, #9333ea);
}

.interest-btn-secondary {
    background: transparent;
    color: #475569;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.interest-btn-secondary:hover {
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.05);
    color: #7c3aed;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.1);
}

.testimonials-section {
    background: #f8fafc;
    /* Very light gray */
    padding: 100px 0;
    position: relative;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 800px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft dark shadow */
    transform: translateY(-5px);
}

.testimonial-content {
    flex: 1;
}

.testimonial-label {
    color: #7c3aed;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.testimonial-card.animate .testimonial-label {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #1e293b;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.testimonial-card.animate .testimonial-quote {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.testimonial-author {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.testimonial-card.animate .testimonial-author {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(124, 58, 237, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card.animate .testimonial-image {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

.testimonial-card:hover .testimonial-image {
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(124, 58, 237, 0.3);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #475569;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-arrow:hover {
    background: #f8fafc;
    color: #7c3aed;
    transform: scale(1.15);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-dot:hover {
    transform: scale(1.3);
    background: rgba(124, 58, 237, 0.6);
}

.nav-dot.active {
    background: #7c3aed;
    transform: scale(1.2);
}

.contact-section {
    background: #ffffff;
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
    background: linear-gradient(45deg, #1e293b, #334155, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-email {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7c3aed;
    transition: width 0.3s ease;
}

.contact-email:hover::after {
    width: 100%;
}

.contact-email:hover {
    color: #a855f7;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.contact-social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.contact-social-link:hover::before {
    transform: scale(1);
}

.contact-social-link:hover {
    background: #f8fafc;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: #7c3aed;
}

.footer {
    background: #f1f5f9;
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Soft border */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-like {
    width: auto;
    padding: 0 25px;
    height: 60px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 2rem;
    color: #64748b;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.like-counter {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-like:hover,
.footer-like.liked {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.footer-like:active {
    transform: scale(0.95);
}

.floating-heart {
    position: absolute;
    color: #ef4444;
    font-size: 1.5rem;
    pointer-events: none;
    animation: floatUpHeart 1s ease-out forwards;
    z-index: 10;
}

@keyframes floatUpHeart {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-80px) scale(1.5) rotate(20deg);
        opacity: 0;
    }
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: rgb(107, 106, 106);
}

.footer-date {
    color: rgba(112, 111, 111, 0.4);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.footer-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.footer-project {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 25px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.footer-project:hover {
    background: #f8fafc;
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    color: #7c3aed;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #1e293b;
    /* Dark toggle icon */
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    margin-left: 10px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    /* More transparent for blur */
    backdrop-filter: blur(25px);
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 100px 30px 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    overflow-y: auto;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav ul li {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.open ul li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.open ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.open ul li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-nav.open ul li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-nav.open ul li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav.open ul li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav.open ul li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav ul li a {
    color: #334155;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.mobile-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #7c3aed;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 4px;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    padding-left: 28px;
}

.mobile-nav ul li a:hover::before,
.mobile-nav ul li a.active::before {
    transform: scaleY(0.7);
}

.mobile-nav .header-icons {
    margin-top: 30px;
    justify-content: center;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

#typed-text {
    display: inline;
}

#typed-cursor {
    display: inline;
    color: #6c63ff;
    animation: blink 0.7s infinite;
    font-weight: bold;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


@media (max-width: 1200px) {
    .site-header {
        padding: 21px 35px;
    }

    .logo {
        font-size: 20px;
    }

    .main-nav ul li a {
        font-size: 15px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-subtitle,
    .role-badge {
        font-size: 13px;
    }

    .role-fullstack {
        left: -196px;
        bottom: 70px;
    }

    .role-uiux {
        right: -196px;
        bottom: 42px;
    }

    .arrow-for-fullstack {
        left: -154px;
        bottom: 105px;
        font-size: 18px;
    }

    .arrow-for-uiux {
        right: -154px;
        bottom: 77px;
        font-size: 18px;
    }

    .projects-header h2,
    .skills-header h2,
    .contact-title {
        font-size: 2.5rem;
    }

    .interest-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-category:nth-child(4) {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .site-header {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .hero-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 15px;
        padding-top: 10px;
    }

    .hero-visual-right {
        min-height: 250px;
    }

    .hero-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title,
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons-container {
        justify-content: center;
    }

    .stat-1 {
        top: -45px;
        left: 50%;
        margin-left: -160px;
        padding: 6px 10px;
        z-index: 10;
    }

    .stat-2 {
        top: -45px;
        right: 50%;
        margin-right: -160px;
        bottom: auto;
        padding: 6px 10px;
        z-index: 10;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-label {
        font-size: 9px;
    }

    .main-nav ul {
        flex-direction: column;
        margin-top: 14px;
    }

    .main-nav ul li {
        margin: 7px 0;
    }

    .header-icons {
        margin-top: 14px;
    }

    .social-icon-link {
        margin-left: 7px;
        margin-right: 7px;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 30px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 5px;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .role-badge {
        position: static;
        margin: 10px auto;
        display: block;
        width: fit-content;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        font-size: 12px;
    }

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

    .arrow-for-fullstack {
        left: -30px;
        bottom: 90 px;
        font-size: 15px;
    }

    .arrow-for-uiux {
        right: -20px;
        bottom: 100px;
        font-size: 15px;
    }

    .hero-buttons-container {
        flex-direction: row;
        gap: 1rem;
        margin-top: 5px;
    }

    .connect-button,
    .cv-button {
        font-size: 14px;
        padding: 10px 24px;
    }


    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-header {
        position: static;
    }

    .about-title {
        font-size: 2.5rem;
    }

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

    .skill-category:nth-child(4) {
        grid-column: 1;
        max-width: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-actions {
        flex-direction: column;
    }

    .projects-header h2,
    .skills-header h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .testimonial-quote {
        font-size: 1.2rem;
    }

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

    .contact-title {
        font-size: 2rem;
    }

    .footer-projects {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Duplicate site-header removed */
    .logo {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 10px;
    }

    .logo {
        font-size: 17px;
    }

    .main-nav ul li a {
        font-size: 14px;
    }

    .hero-title {
        font-size: 22px;
    }

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

    .profile-image {
        width: 105px;
        height: 105px;
    }

    /* Inherit optimized hero padding from 992px */

    .connect-button,
    .cv-button {
        font-size: 13px;
        padding: 8px 20px;
    }

    .social-icon-link {
        font-size: 11px;
        width: 21px;
        height: 21px;
        padding: 4px;
        margin-left: 4px;
    }

    .about-section,
    .skills-section,
    .projects-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .skills-container,
    .projects-container {
        padding: 0 1rem;
    }

    .projects-header h2,
    .skills-header h2 {
        font-size: 1.8rem;
    }

    .interest-title {
        font-size: 1.8rem;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 20px;
    }

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

.header-icons {
    margin-bottom: 12px;
}

body,
html {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    /* Clean white for light theme */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #7c3aed;
    border-bottom-color: #a855f7;
    animation: spin 1.2s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-left-color: #7c3aed;
    border-right-color: #a855f7;
    animation: spin 0.8s ease-in-out infinite reverse;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 576px) {
    .mobile-nav {
        width: 85%;
    }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 18px;
    cursor: pointer;
    margin-right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.theme-toggle-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    transform: rotate(15deg) scale(1.1);
}

/* =========================================
   PREMIUM UI ENHANCEMENTS 
   ========================================= */

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #7c3aed;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(124, 58, 237, 0.5);
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background-color 0.3s ease, border-color 0.3s ease;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(124, 58, 237, 0.05);
    border-color: #7c3aed;
}

@media (max-width: 992px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.5);
    background: linear-gradient(45deg, #6d28d9, #9333ea);
}

/* =========================================
   DARK MODE OVERRIDES
   ========================================= */
[data-theme="dark"] body {
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 50%, #1a1a1a 100%);
    color: white;
}

[data-theme="dark"] .site-header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .logo {
    background: linear-gradient(45deg, #ffffff, #e5e5e5, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="dark"] .main-nav ul li a {
    color: #e5e5e5;
}

[data-theme="dark"] .main-nav ul li a:hover,
[data-theme="dark"] .main-nav ul li a.active {
    color: #ffffff;
}

[data-theme="dark"] .social-icon-link {
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .social-icon-link:hover {
    background: rgba(124, 58, 237, 0.2);
    color: white;
    border-color: rgba(124, 58, 237, 0.5);
}

[data-theme="dark"] .theme-toggle-btn {
    color: #e5e5e5;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .hero-section {
    background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.08) 0%, rgba(10, 10, 10, 0) 70%);
}

[data-theme="dark"] .glow-1 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
}

[data-theme="dark"] .glow-2 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .hero-particle {
    filter: blur(3px);
    opacity: 0.8 !important;
}

[data-theme="dark"] .role-badge {
    background: rgba(0, 0, 0, 0.5);
    color: #e5e5e5;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .role-badge:hover {
    background: rgba(124, 58, 237, 0.2);
    color: white;
    border-color: rgba(124, 58, 237, 0.5);
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 10px 40px rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .hero-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .connect-button {
    background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .cv-button {
    background: #111111;
    color: #e5e5e5;
    border: none;
}

[data-theme="dark"] .cv-button::before {
    background: linear-gradient(135deg, #475569, #1e293b);
}

[data-theme="dark"] .cv-button::after {
    background: #111111;
}

[data-theme="dark"] .cv-button:hover::before {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

[data-theme="dark"] .cv-button:hover {
    color: #a855f7;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .hero-stat-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-label {
    color: #94a3b8;
}

[data-theme="dark"] .about-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
}

[data-theme="dark"] .about-section::before {
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

[data-theme="dark"] .about-title {
    color: #f8fafc;
}

[data-theme="dark"] .about-text {
    color: #cbd5e1;
}

[data-theme="dark"] .about-label {
    color: #7c3aed;
}

[data-theme="dark"] .skills-section {
    background: linear-gradient(180deg, #111111 0%, #1a1a1a 50%, #111111 100%);
    border-top: none;
}

[data-theme="dark"] .skills-header h2 {
    background: linear-gradient(45deg, #ffffff, #e5e5e5, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="dark"] .skills-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .skill-category {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

[data-theme="dark"] .skill-category:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(124, 58, 237, 0.3);
}

[data-theme="dark"] .skill-category-title {
    color: white;
}

[data-theme="dark"] .skill-name {
    color: #e5e5e5;
}

[data-theme="dark"] .skill-level {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .skill-bar {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .skill-progress {
    background: linear-gradient(90deg, #333333, #7c3aed);
}

[data-theme="dark"] .projects-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 50%, #0a0a0a 100%);
}

[data-theme="dark"] .projects-header h2 {
    background: linear-gradient(45deg, #ffffff, #e5e5e5, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="dark"] .dropdown-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
}

[data-theme="dark"] .dropdown-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    color: white;
}

[data-theme="dark"] .dropdown-content {
    background: rgba(10, 10, 10, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dropdown-content a {
    color: #e5e5e5;
}

[data-theme="dark"] .dropdown-content a.active {
    background: rgba(124, 58, 237, 0.3);
    color: white;
}

[data-theme="dark"] .dropdown-content a:hover {
    background: rgba(124, 58, 237, 0.15);
    color: white;
}

[data-theme="dark"] .project-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

[data-theme="dark"] .project-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .project-image {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
}

[data-theme="dark"] .project-mockup {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .project-title {
    color: white;
}

[data-theme="dark"] .project-description {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(45deg, #333333, #444444);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(45deg, #444444, #555555);
    border-color: rgba(124, 58, 237, 0.4);
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #e5e5e5;
}

[data-theme="dark"] .interest-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-top: none;
}

[data-theme="dark"] .interest-title {
    color: white;
}

[data-theme="dark"] .interest-btn-primary {
    background: linear-gradient(45deg, #333333, #444444);
    color: white;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .interest-btn-primary:hover {
    background: linear-gradient(45deg, #444444, #555555);
}

[data-theme="dark"] .interest-btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .testimonials-section {
    background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
}

[data-theme="dark"] .testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

[data-theme="dark"] .testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .testimonial-quote {
    color: white;
}

[data-theme="dark"] .testimonial-author {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .testimonial-image {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-arrow {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
    box-shadow: none;
}

[data-theme="dark"] .nav-arrow:hover {
    background: rgba(124, 58, 237, 0.15);
    color: #e5e5e5;
}

[data-theme="dark"] .nav-dot {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .contact-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    border-top: none;
}

[data-theme="dark"] .contact-title {
    background: linear-gradient(45deg, #ffffff, #e5e5e5, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
}

[data-theme="dark"] .contact-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .contact-social-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
    box-shadow: none;
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .footer-like {
    background: linear-gradient(45deg, #333333, #444444);
    border-color: rgba(124, 58, 237, 0.2);
    color: white;
}

[data-theme="dark"] .footer-like:hover,
[data-theme="dark"] .footer-like.liked {
    background: linear-gradient(45deg, #444444, #555555);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .footer-title {
    color: white;
}

[data-theme="dark"] .footer-date {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .footer-project {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

[data-theme="dark"] .footer-project span {
    color: white;
}

[data-theme="dark"] .footer-project:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .loading-overlay {
    background: linear-gradient(45deg, #0a0a0a, #111111);
}

[data-theme="dark"] .loading-spinner {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

[data-theme="dark"] .mobile-nav {
    background: rgba(10, 10, 10, 0.98);
    border-left-color: rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .mobile-nav ul li a {
    color: #e5e5e5;
}

[data-theme="dark"] .mobile-menu-btn {
    color: white;
}