/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Custom Font Definitions */
@font-face {
    font-family: 'SuperWater';
    src: url('fonts/Super Water.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Swiss721';
    src: url('/fonts/swiss-721.woff2') format('woff2'),
         url('/fonts/swiss-721.woff') format('woff'),
         url('/fonts/swiss-721.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #00ffe5;
    --secondary-color: #0b66ff;
    --accent-color: #00ffe5;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.7);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(0, 255, 229, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-shadow-hover: 0 16px 64px rgba(0, 255, 229, 0.2);
    --blur-amount: 16px;
    --blur-amount-strong: 24px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

body {
    font-family: 'Inter', 'Arial', 'Helvetica', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.5rem 2rem;
}

.top-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
}

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

.nav-links .cms-link {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.2));
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.nav-links .cms-link:hover {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(0, 255, 255, 0.3));
    border-color: rgba(138, 43, 226, 0.6);
}

/* Hero section */
#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

/* Modern glassmorphism floating shapes */
.floating-shape {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    opacity: 0.3;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.floating-shape:hover {
    opacity: 0.5;
    transform: scale(1.1);
    box-shadow: 0 16px 64px rgba(0, 255, 229, 0.3);
}

.floating-orb-1 {
    top: 15%;
    left: 8%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.2), rgba(0, 255, 229, 0.1));
    animation: floatOrb1 8s ease-in-out infinite;
}

.floating-orb-2 {
    bottom: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, rgba(0, 255, 229, 0.2), rgba(138, 43, 226, 0.1));
    animation: floatOrb2 10s ease-in-out infinite reverse;
}

.floating-hex-1 {
    top: 25%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(0, 255, 229, 0.1));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: floatHex1 12s ease-in-out infinite;
}

.floating-hex-2 {
    bottom: 30%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 255, 229, 0.15), rgba(138, 43, 226, 0.1));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: floatHex2 9s ease-in-out infinite reverse;
}

.floating-diamond {
    top: 45%;
    left: 12%;
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), transparent, rgba(0, 255, 229, 0.2));
    transform: rotate(45deg);
    animation: floatDiamond 11s ease-in-out infinite;
}

/* Floating animations */
@keyframes floatOrb1 {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes floatOrb2 {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-20px) scale(1.08);
        opacity: 0.35;
    }
}

@keyframes floatHex1 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-12px) rotate(10deg);
        opacity: 0.4;
    }
}

@keyframes floatHex2 {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-18px) rotate(-8deg);
        opacity: 0.35;
    }
}

@keyframes floatDiamond {
    0%, 100% { 
        transform: rotate(45deg) translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(50deg) translateY(-10px) scale(1.03);
        opacity: 0.4;
    }
}

.hero-layout {
    display: flex;
    height: 100%;
    align-items: center;
}

.name-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
}

.stacked-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.first-name,
.last-name {
    font-family: 'SuperWater', 'Swiss721', 'Inter', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

.first-name {
    margin-bottom: 0.1em;
}

.title {
    font-family: 'Inter', 'Arial', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    text-align: center;
}

.right-side {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.head-image-container {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.head-image {
    width: auto;
    height: 100%;
    max-width: 500px;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.9) contrast(1.1);
    position: relative;
    z-index: 10;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 50%, #000000 100%);
    pointer-events: none;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    margin: 3rem auto;
    max-width: 90%;
}

/* Projects section */
#projects {
    padding: 4rem 0 2rem;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    position: relative;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.95) 100%);
}

#projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    font-weight: bold;
    position: relative;
    z-index: 10;
    color: #ffffff;
    max-width: 1200px;
}

/* Swiper Styles */
.swiper {
    width: 100%;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #8a2be2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(138, 43, 226, 0.2);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 10px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    transform: scale(1.2);
}

/* Swiper Scrollbar */
.swiper-scrollbar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 15px;
    height: 4px;
}

.swiper-scrollbar-drag {
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    border-radius: 10px;
}

/* Glassmorphism UI panels */
#projects::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 8%;
    width: 280px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1;
    animation: glassFloat1 8s ease-in-out infinite;
}

#projects::after {
    content: '';
    position: absolute;
    bottom: 120px;
    right: 10%;
    width: 320px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 1;
    animation: glassFloat2 10s ease-in-out infinite reverse;
}

.glass-panel-1 {
    position: absolute;
    top: 25%;
    right: 5%;
    width: 200px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    z-index: 2;
    animation: glassFloat3 12s ease-in-out infinite;
}

.glass-panel-2 {
    position: absolute;
    bottom: 15%;
    left: 6%;
    width: 160px;
    height: 120px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    z-index: 2;
    animation: glassFloat1 15s ease-in-out infinite;
}

.glass-panel-3 {
    position: absolute;
    top: 55%;
    left: 12%;
    width: 120px;
    height: 160px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 
        0 10px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    z-index: 1;
    animation: glassFloat2 14s ease-in-out infinite;
}

.glass-panel-4 {
    position: absolute;
    top: 10%;
    right: 22%;
    width: 180px;
    height: 100px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 26px;
    box-shadow: 
        0 7px 26px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.17);
    z-index: 1;
    animation: glassFloat3 16s ease-in-out infinite reverse;
}

/* Glass floating animations */
@keyframes glassFloat1 {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-8px) scale(1.02); 
        opacity: 0.9;
    }
}

@keyframes glassFloat2 {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-12px) scale(0.98); 
        opacity: 0.95;
    }
}

@keyframes glassFloat3 {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-6px) scale(1.01); 
        opacity: 0.92;
    }
}

/* Splide.js Project Slider */
.projects-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.projects-track {
    display: flex;
    gap: 1rem;
    animation: infiniteScroll 30s linear infinite;
    width: calc(200% + 1rem);
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.5rem)); }
}



/* Responsive Splide Settings */
@media (max-width: 1200px) {
    .project-card {
        width: 280px;
        height: 360px;
    }
    
    .projects-track {
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .project-card {
        width: 260px;
        height: 340px;
    }
    
    .projects-track {
        gap: 0.6rem;
        animation-duration: 25s;
    }
}

@media (max-width: 480px) {
    .project-card {
        width: 280px;
        height: 360px;
    }
    
    .projects-track {
        gap: 0.5rem;
        animation-duration: 20s;
    }
}
    
    .project-image {
        height: 180px;
    }
    
    .splide__arrow {
        width: 40px;
        height: 40px;
    }
    
    .splide__arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .splide__list {
        padding: 0 1rem;
    }
    

    

}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

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







.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

.tech-tag {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.tech-tag:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid rgba(138, 43, 226, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        border: none;
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn:hover {
    background: rgba(138, 43, 226, 0.8);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.modal-header h2 {
    color: #ffffff;
    font-size: 2rem;
    margin: 0;
}



.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-details {
    color: #ffffff;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h4 {
    color: #8a2be2;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.tech-stack-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack-modal .tech-tag {
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.modal-details ul {
    list-style: none;
    padding: 0;
}

.modal-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.modal-details li:before {
    content: "▸";
    color: #8a2be2;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Modern scroll-based About section */
#about {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-scroll-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-profile-section {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 1;
    visibility: visible;
}

.about-content-scroll {
    position: relative;
    z-index: 10;
    max-width: 800px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.about-content-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism floating shapes for about section */
.about-glass-orb-1 {
    position: absolute;
    top: 12%;
    right: 8%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.2), rgba(0, 255, 229, 0.1));
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    opacity: 0.3;
    z-index: 1;
    animation: aboutFloat1 10s ease-in-out infinite;
}

.about-glass-orb-2 {
    position: absolute;
    bottom: 18%;
    left: 10%;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 60%, rgba(0, 255, 229, 0.2), rgba(138, 43, 226, 0.1));
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    opacity: 0.25;
    z-index: 1;
    animation: aboutFloat2 12s ease-in-out infinite reverse;
}

/* About section floating animations */
@keyframes aboutFloat1 {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-12px) scale(1.04);
        opacity: 0.4;
    }
}

@keyframes aboutFloat2 {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-15px) scale(1.06);
        opacity: 0.35;
    }
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    position: relative;
    z-index: 10;
}

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

.about-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    align-items: start;
}

.about-section {
    background: var(--glass-bg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    text-align: left;
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--glass-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-section:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--glass-shadow-hover);
}

.about-section h3 {
    color: #8a2be2;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-section p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #8a2be2;
}

.experience-item h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: linear-gradient(45deg, #8a2be2, #00ffff);
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.about-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 3px solid rgba(138, 43, 226, 0.3);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-text {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.2));
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
    border-radius: 50%;
}

.about-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    text-align: center;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #ffffff;
    opacity: 1;
}

/* Contact section */
#contact {
    padding: 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    overflow: hidden;
}

/* Floating particles background for contact */
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(138, 43, 226, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 229, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(138, 43, 226, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 229, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: scale(1.2);
}

.social-icon.email:hover {
    color: #ea4335;
}

.social-icon.linkedin:hover {
    color: #0077b5;
}

.social-icon.github:hover {
    color: #333333;
}

.social-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Project Card Unified Styles */
.project-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 320px;
    height: 360px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.5);
}

.project-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.project-card:active {
    transform: translateY(-4px) scale(0.98);
    transition: transform 0.1s ease;
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-info {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--glass-border);
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 2rem;
        flex-direction: column;
        padding: 0.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
        letter-spacing: 1px;
    }
    
    #hero {
        height: 80vh;
        padding-top: 140px;
    }
    
    .hero-oil-spill-1 {
        width: 100px;
        height: 70px;
        top: 40%;
        left: 12%;
    }
    
    .hero-oil-spill-2 {
        width: 120px;
        height: 90px;
        top: 65%;
        right: 12%;
    }
    
    .hero-oil-spill-3 {
        width: 70px;
        height: 50px;
        top: 25%;
        right: 30%;
    }
    
    .hero-oil-spill-4 {
        width: 90px;
        height: 65px;
        bottom: 20%;
        left: 20%;
    }
    
    .hero-layout {
        flex-direction: column;
        justify-content: center;
    }
    
    .name-section {
        flex: none;
        padding: 2rem 1rem;
    }
    
    .first-name,
    .last-name {
        font-size: clamp(3rem, 10vw, 5rem);
    }
    
    .right-side {
        flex: none;
        height: 40vh;
        width: 100%;
        justify-content: center;
    }
    
    .head-image-container {
        height: 100%;
        width: 80%;
    }
    
    .head-image {
        max-width: 300px;
    }
    
    .gradient-overlay {
        width: 100px;
    }
    
    .project-container {
        animation-duration: 40s;
    }
    
    #projects::before,
    #projects::after {
        width: 200px;
        height: 120px;
    }
    
    .oil-spill-accent {
        width: 120px;
        height: 80px;
        top: 35%;
        right: 6%;
    }
    
    .oil-spill-small {
        width: 100px;
        height: 65px;
        bottom: 25%;
        left: 6%;
    }
    
    .fluid-accent-1 {
        width: 80px;
        height: 100px;
        top: 55%;
        left: 18%;
    }
    
    .fluid-accent-2 {
        width: 120px;
        height: 70px;
        top: 15%;
        right: 28%;
    }
    
    .project-card {
        min-width: 280px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .progress-bar {
        max-width: 400px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-direction: column;
        padding: 0.25rem 0;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 1px;
    }
    
    #hero {
        height: 70vh;
        padding-top: 160px;
    }
    
    .hero-oil-spill-1 {
        width: 70px;
        height: 50px;
        top: 45%;
        left: 15%;
    }
    
    .hero-oil-spill-2 {
        width: 80px;
        height: 60px;
        top: 70%;
        right: 15%;
    }
    
    .hero-oil-spill-3 {
        width: 50px;
        height: 35px;
        top: 30%;
        right: 35%;
    }
    
    .hero-oil-spill-4 {
        width: 60px;
        height: 45px;
        bottom: 25%;
        left: 25%;
    }
    
    .first-name,
    .last-name {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .right-side {
        height: 30vh;
    }
    
    .head-image {
        max-width: 200px;
    }
    
    .project-container {
        animation-duration: 30s;
    }
    
    #projects::before,
    #projects::after {
        width: 140px;
        height: 90px;
    }
    
    .oil-spill-accent {
        width: 90px;
        height: 60px;
        top: 40%;
        right: 8%;
    }
    
    .oil-spill-small {
        width: 70px;
        height: 45px;
        bottom: 30%;
        left: 8%;
    }
    
    .fluid-accent-1 {
        width: 60px;
        height: 80px;
        top: 50%;
        left: 20%;
    }
    
    .fluid-accent-2 {
        width: 80px;
        height: 50px;
        top: 20%;
        right: 30%;
    }
    
    .project-card {
        min-width: 250px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .btn-purple, .btn-cyan {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .progress-bar {
        max-width: 300px;
        height: 5px;
    }
    
    .project-counter {
        margin-top: 1rem;
        font-size: 0.8rem;
    }
    
    .counter-text {
        gap: 0.25rem;
    }
    
    .remaining-count {
        font-size: 0.75rem;
    }
}
/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Title divider styles */
.title-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #00ffff);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Ensure about section is visible */
#about {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links a {
        font-size: 2rem;
        padding: 1rem 2rem;
    }
}
/* Logo positioning */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

/* Improved Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .logo {
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 3rem;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease forwards;
    }
    
    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
    
    .nav-links a {
        font-size: 2.5rem;
        padding: 1rem 2rem;
        text-align: center;
    }
}

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



/* Mobile-friendly project buttons */
.mobile-project-buttons {
    display: none;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    gap: 0.5rem;
    z-index: 15;
}

.mobile-project-btn {
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-project-btn.live {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000000;
}

.mobile-project-btn.code {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.mobile-project-buttons {
    display: flex;
}

.project-card {
    position: relative;
    touch-action: manipulation;
}

.mobile-project-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    min-height: 44px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-project-btn:hover {
    transform: scale(1.05);
}

.mobile-project-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}



/* Swiper Responsive Improvements */
.swiper {
    width: 100%;
    padding: 2rem 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Enhanced About Section Responsive */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    #about {
        min-height: 150vh;
    }
    
    .about-scroll-container {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 4rem 1rem;
    }
    
    .about-content-scroll {
        position: relative;
        opacity: 1;
        transform: none;
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-section {
        padding: 1.5rem;
    }
    
    #about {
        min-height: 120vh;
    }
}

/* Enhanced Hero Section Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .name-section {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .right-side {
        height: 50vh;
        width: 100%;
        justify-content: center;
    }
    
    .head-image-container {
        width: 80%;
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .hero-layout {
        padding: 1rem;
    }
    
    .first-name,
    .last-name {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .title {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
    
    .right-side {
        height: 40vh;
    }
    
    .head-image-container {
        width: 90%;
        max-width: 300px;
    }
}

/* Enhanced Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* Enhanced Contact Section Responsive */
@media (max-width: 640px) {
    .social-icons {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Enhanced Skills Container Responsive */
@media (max-width: 640px) {
    .skills-container {
        justify-content: center;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Enhanced Experience List Responsive */
@media (max-width: 640px) {
    .experience-item {
        padding: 0.8rem;
    }
    
    .experience-item h4 {
        font-size: 1rem;
    }
    
    .experience-item p {
        font-size: 0.85rem;
    }
}





/* Professional Image Handling */
.about-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 3rem;
    border: 3px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    transition: all 0.3s ease;
}

.about-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(138, 43, 226, 0.3);
}

@media (max-width: 640px) {
    .about-image-placeholder {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced About Section Visibility */
#about {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Title divider styles */
.title-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #00ffff);
    margin: 1rem auto;
    border-radius: 2px;
}

@media (max-width: 640px) {
    .title-divider {
        width: 50px;
        margin: 0.8rem auto;
    }
}
/* Hide Swiper navigation on mobile */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}


/* All Projects Button */
.all-projects-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}

.all-projects-btn {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--glass-shadow);
}

.all-projects-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 var(--transition-slow);
}

.all-projects-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow-hover), 0 0 40px rgba(138, 43, 226, 0.4);
    color: var(--secondary-color);
}

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

.all-projects-btn:active {
    transform: translateY(-2px) scale(1.02);
}




/* Enhanced focus states for accessibility */
.project-card:focus,
.all-projects-btn:focus,
.nav-links a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
}

/* Smooth stagger animation for project cards */
.project-card.reveal {
    transition-delay: calc(var(--card-index, 0) * 0.1s);
}

/* Enhanced modal styling */
.modal-content {
    background: linear-gradient(145deg, var(--bg-secondary), #252525);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.btn-live,
.btn-github {
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-live:hover,
.btn-github:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}
/* Glassmorphism cursor orb */
.cursor-orb {
    position: fixed;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(0, 255, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.3s ease;
}

/* Enhanced glassmorphism for modal */
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount-strong));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Glassmorphism for contact section */
#contact {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Enhanced project info with better contrast */
.project-info {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--glass-border);
}

/* Glassmorphism for sections */
#projects {
    background: transparent;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

#about {
    background: transparent;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .cursor-orb {
        display: none;
    }
    
    .project-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .about-section:hover {
        transform: translateY(-2px);
    }
}
/* Technology icons styling */
.tech-stack {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

.tech-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.tech-icon:hover {
    transform: scale(1.2);
    background: var(--glass-bg);
    box-shadow: 0 4px 12px rgba(0, 255, 229, 0.2);
}

.tech-icon svg {
    width: 24px;
    height: 24px;
}

.tech-text {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    font-weight: 600;
    padding: 2px 6px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

/* Enhanced contact section */
#contact {
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    margin: var(--spacing-xl) auto;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

#contact:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}
/* Additional reduced motion support for new features */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .about-content-scroll {
        transition: none !important;
    }
    
    .about-content-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Fixed corner images */
.corner-image {
    position: fixed;
    width: 120px;
    height: auto;
    z-index: 5;
    opacity: 0.8;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
    pointer-events: none;
}

.corner-bottom-right {
    bottom: 2rem;
    right: 2rem;
}

.corner-top-left {
    top: 2rem;
    left: 2rem;
}

.corner-image:hover {
    opacity: 1;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(138, 43, 226, 0.2);
}

@media (max-width: 768px) {
    .corner-image {
        width: 80px;
    }
    
    .corner-bottom-right {
        bottom: 1rem;
        right: 1rem;
    }
    
    .corner-top-left {
        top: 1rem;
        left: 1rem;
    }
}
/* Name section corner images */
.name-section {
    position: relative;
}

.name-corner-image {
    position: absolute;
    width: 80px;
    height: auto;
    z-index: 5;
    opacity: 0.6;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
    pointer-events: none;
}

.name-top-right {
    top: -20px;
    right: -20px;
}

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

@media (max-width: 768px) {
    .name-corner-image {
        width: 50px;
    }
    
    .name-top-right {
        top: -10px;
        right: -10px;
    }
    
    .name-bottom-right {
        bottom: -10px;
        right: -10px;
    }
}
/* Fixed corner images */
.fixed-corner-image {
    position: fixed;
    width: 100px;
    height: auto;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.top-left {
    top: 2rem;
    left: 2rem;
}

.bottom-right {
    bottom: 2rem;
    right: 2rem;
}

@media (max-width: 768px) {
    .fixed-corner-image {
        width: 60px;
    }
    
    .top-left {
        top: 1rem;
        left: 1rem;
    }
    
    .bottom-right {
        bottom: 1rem;
        right: 1rem;
    }
}
/* Hero corner images */
.hero-corner-image {
    position: absolute;
    width: 100px;
    height: auto;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero-corner-image.top-left {
    top: 2rem;
    left: 2rem;
}

.hero-corner-image.bottom-right {
    bottom: 2rem;
    right: 2rem;
}

@media (max-width: 768px) {
    .hero-corner-image {
        width: 60px;
    }
    
    .hero-corner-image.top-left {
        top: 1rem;
        left: 1rem;
    }
    
    .hero-corner-image.bottom-right {
        bottom: 1rem;
        right: 1rem;
    }
}
/* Updated hero corner images */
.hero-corner-image {
    position: absolute;
    width: 200px;
    height: auto;
    z-index: 5;
    opacity: 0.3;
    pointer-events: none;
}

.hero-corner-image.top-left {
    top: 8rem;
    left: -2rem;
}

.hero-corner-image.bottom-right {
    bottom: 2rem;
    right: 2rem;
}

@media (max-width: 768px) {
    .hero-corner-image {
        width: 120px;
    }
    
    .hero-corner-image.top-left {
        top: 6rem;
        left: -1rem;
    }
    
    .hero-corner-image.bottom-right {
        bottom: 1rem;
        right: 1rem;
    }
}
/* Banner corner images */
.banner-corner-image {
    position: absolute;
    width: 250px;
    height: auto;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.banner-corner-image.top-left {
    top: 120px;
    left: -50px;
}

.banner-corner-image.bottom-right {
    bottom: 20px;
    right: 20px;
}

@media (max-width: 768px) {
    .banner-corner-image {
        width: 150px;
    }
    
    .banner-corner-image.top-left {
        top: 140px;
        left: -30px;
    }
    
    .banner-corner-image.bottom-right {
        bottom: 10px;
        right: 10px;
    }
}
/* Updated banner corner images - 3x bigger and clear */
.banner-corner-image {
    position: absolute;
    width: 750px;
    height: auto;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
    filter: none;
}

.banner-corner-image.top-left {
    top: 120px;
    left: -50px;
}

.banner-corner-image.bottom-right {
    bottom: 20px;
    right: 20px;
}

@media (max-width: 768px) {
    .banner-corner-image {
        width: 450px;
    }
    
    .banner-corner-image.top-left {
        top: 140px;
        left: -30px;
    }
    
    .banner-corner-image.bottom-right {
        bottom: 10px;
        right: 10px;
    }
}
/* Repositioned banner corner images */
.banner-corner-image.top-left {
    top: 120px;
    left: -300px;
}

.banner-corner-image.bottom-right {
    bottom: -200px;
    right: -200px;
}

/* Black outline for name */
.first-name,
.last-name {
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
}

@media (max-width: 768px) {
    .banner-corner-image.top-left {
        top: 140px;
        left: -180px;
    }
    
    .banner-corner-image.bottom-right {
        bottom: -120px;
        right: -120px;
    }
}
/* Updated positioning and outline */
.banner-corner-image.top-left {
    top: 120px;
    left: 0px;
}

.first-name,
.last-name {
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

@media (max-width: 768px) {
    .banner-corner-image.top-left {
        top: 140px;
        left: 0px;
    }
}
/* 50% smaller banner images */
.banner-corner-image {
    width: 375px;
}

@media (max-width: 768px) {
    .banner-corner-image {
        width: 225px;
    }
}
/* Adjusted image positioning */
.banner-corner-image.top-left {
    top: 120px;
    left: 0px;
}

.banner-corner-image.bottom-right {
    bottom: -100px;
    right: -100px;
}

@media (max-width: 768px) {
    .banner-corner-image.top-left {
        top: 140px;
        left: 0px;
    }
    
    .banner-corner-image.bottom-right {
        bottom: -60px;
        right: -60px;
    }
}
/* Adjusted left image positioning and text z-index */
.banner-corner-image.top-left {
    top: 120px;
    left: -100px;
}

.title {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .banner-corner-image.top-left {
        top: 140px;
        left: -60px;
    }
}
/* Center banner image */
.banner-center-image {
    position: absolute;
    width: 300px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .banner-center-image {
        width: 200px;
    }
}
/* Updated center banner image - no shadow */
.banner-center-image {
    opacity: 1;
    filter: none;
}
/* Bigger nav text and software developer outline */
.nav-links a {
    font-size: 1.2rem;
}

.title {
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}
/* Hide wik.png and wik3.png on mobile */
@media (max-width: 768px) {
    .banner-corner-image.top-left,
    .banner-center-image {
        display: none;
    }
}
/* Make banner images 60% bigger on desktop */
@media (min-width: 769px) {
    .banner-corner-image {
        width: 600px;
    }
    
    .banner-center-image {
        width: 480px;
    }
}
/* Move wik3.png to top right corner */
.banner-center-image {
    top: 120px;
    right: -100px;
    left: auto;
    transform: none;
}

@media (max-width: 768px) {
    .banner-center-image {
        top: 140px;
        right: -60px;
    }
}
/* Move wik3.png higher up */
.banner-center-image {
    top: 80px;
}

@media (max-width: 768px) {
    .banner-center-image {
        top: 100px;
    }
}
/* Move wik3.png to top middle */
.banner-center-image {
    top: 80px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .banner-center-image {
        top: 100px;
    }
}

/* Make wik.png and wik3.png 30% bigger */
img[src*="wik.png"],
img[src*="wik3.png"] {
    transform: scale(1.3);
}
/* Add wik4.png to top right corner */
.wik4-corner {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}
.banner-corner-image.top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}
/* Arrange banner images to fit properly */
.banner-corner-image.top-left {
    top: 150px;
    left: 50px;
    width: 200px;
}

.banner-corner-image.bottom-right {
    bottom: 50px;
    right: 50px;
    width: 200px;
}

.banner-corner-image.top-right {
    top: 150px;
    right: 50px;
    width: 200px;
}

.banner-center-image {
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
}
/* Update banner image positioning and make 25% bigger */
.banner-corner-image.top-left {
    top: 150px;
    left: 50px;
    width: 250px;
}

.banner-corner-image.bottom-right {
    bottom: 50px;
    right: 50px;
    width: 250px;
}

.banner-corner-image.bottom-left {
    bottom: 50px;
    left: 50px;
    width: 250px;
}

.banner-center-image {
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 312px;
}

/* Updated banner images - wik.png top-left, wik2.png bottom-right */
.banner-corner-image.top-left {
    top: 150px;
    left: 50px;
    width: 390px;
}

.banner-corner-image.bottom-right {
    bottom: 50px;
    right: 50px;
    width: 390px;
}
/* Banner images peeking from corners with cutoff */
.banner-corner-image.top-left {
    top: 120px;
    left: -100px;
    width: 468px;
}

.banner-corner-image.bottom-right {
    bottom: -50px;
    right: -100px;
    width: 468px;
}
/* Final banner image positioning */
.banner-corner-image.top-left {
    top: 80px;
    left: -100px;
    width: 468px;
    z-index: 1001;
}

.banner-corner-image.bottom-right {
    bottom: -50px;
    right: -100px;
    width: 608px;
}
/* Position wik.png behind name */
.banner-corner-image.top-left {
    top: 200px;
    left: 20%;
    width: 468px;
    z-index: 5;
}
/* Position wik.png top left near nav bar */
.banner-corner-image.top-left {
    top: 100px;
    left: 50px;
    width: 468px;
    z-index: 5;
}
/* Fade in animation for banner images */
.banner-corner-image {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

.banner-corner-image.top-left {
    animation-delay: 0.5s;
}

.banner-corner-image.bottom-right {
    animation-delay: 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/* Floating background images for projects section */
.projects-bg-image {
    position: absolute;
    width: 300px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.projects-bg-image.bg-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.projects-bg-image.bg-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

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

@media (max-width: 768px) {
    .projects-bg-image {
        width: 200px;
        opacity: 0.1;
    }
}
/* Updated projects background images - fixed corners, no shadow, 40% bigger */
.projects-bg-image {
    width: 420px;
    opacity: 1;
    filter: none;
}

.projects-bg-image.bg-1 {
    top: -100px;
    right: -100px;
}

.projects-bg-image.bg-2 {
    bottom: -100px;
    left: -100px;
}

@media (max-width: 768px) {
    .projects-bg-image {
        width: 280px;
    }
    
    .projects-bg-image.bg-1 {
        top: -60px;
        right: -60px;
    }
    
    .projects-bg-image.bg-2 {
        bottom: -60px;
        left: -60px;
    }
}
/* Fixed static images - no hover effects */
.projects-bg-image {
    position: absolute !important;
    transition: none !important;
}

.projects-bg-image:hover {
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}
/* Single decorative image for projects section */
.projects-decoration {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: auto;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .projects-decoration {
        width: 200px;
        top: -100px;
        right: -100px;
    }
}
/* Black background for projects section */
#projects {
    background-color: #000000;
}

/* Updated decorative images positioning */
.projects-decoration.top-right {
    top: -150px;
    right: -150px;
}

.projects-decoration.bottom-left {
    bottom: -150px;
    left: -150px;
}

@media (max-width: 768px) {
    .projects-decoration.top-right {
        top: -100px;
        right: -100px;
    }
    
    .projects-decoration.bottom-left {
        bottom: -100px;
        left: -100px;
    }
}
/* Animated divider line */
.divider-line {
    height: 4px;
    background-color: white;
    border-radius: 2px;
    width: 0;
    margin: 0 auto;
    transition: width 1s ease-out;
}

.divider.animate .divider-line {
    width: 100%;
}


/* Remove shadow and make decorative images 30% larger */
.projects-decoration {
    width: 390px;
    opacity: 1;
    filter: none;
}

.projects-decoration.top-right {
    top: -195px;
    right: -195px;
}

.projects-decoration.bottom-left {
    bottom: -195px;
    left: -195px;
}

@media (max-width: 768px) {
    .projects-decoration {
        width: 260px;
    }
    
    .projects-decoration.top-right {
        top: -130px;
        right: -130px;
    }
    
    .projects-decoration.bottom-left {
        bottom: -130px;
        left: -130px;
    }
}
/* Final decorative images - 30% larger, no shadows, swapped positions */
.projects-decoration {
    width: 507px !important;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: none !important;
    z-index: 1 !important;
}

.projects-decoration.top-right {
    top: -253px !important;
    right: -253px !important;
}

.projects-decoration.bottom-left {
    bottom: -253px !important;
    left: -253px !important;
}

@media (max-width: 768px) {
    .projects-decoration {
        width: 338px !important;
    }
    
    .projects-decoration.top-right {
        top: -169px !important;
        right: -169px !important;
    }
    
    .projects-decoration.bottom-left {
        bottom: -169px !important;
        left: -169px !important;
    }
}
/* Single wik4.png in bottom-right aligned with button */
.projects-decoration.bottom-right {
    bottom: 20px !important;
    right: -253px !important;
    z-index: 0 !important;
}

@media (max-width: 768px) {
    .projects-decoration.bottom-right {
        bottom: 15px !important;
        right: -169px !important;
    }
}
/* Remove pseudo-elements and position both images at bottom */
#projects::before,
#projects::after {
    display: none !important;
}

.projects-decoration.bottom-left {
    bottom: 20px !important;
    left: -253px !important;
    z-index: 0 !important;
}

@media (max-width: 768px) {
    .projects-decoration.bottom-left {
        bottom: 15px !important;
        left: -169px !important;
    }
}
/* Position wik4.png in button container */
.all-projects-btn-container {
    position: relative;
}

.btn-container-decoration {
    position: absolute;
    width: 507px;
    height: auto;
    bottom: -253px;
    right: -253px;
    opacity: 1;
    filter: none;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .btn-container-decoration {
        width: 338px;
        bottom: -169px;
        right: -169px;
    }
}
/* Make wik4.png poke out more from button container */
.btn-container-decoration {
    bottom: -350px;
    right: -350px;
}

@media (max-width: 768px) {
    .btn-container-decoration {
        bottom: -230px;
        right: -230px;
    }
}
/* Make wik4.png poke out more to the left */
.btn-container-decoration {
    right: -200px;
}

@media (max-width: 768px) {
    .btn-container-decoration {
        right: -130px;
    }
}
/* Make wik4.png 15% bigger and poke out more diagonally left */
.btn-container-decoration {
    width: 583px;
    bottom: -300px;
    right: -150px;
    z-index: -1;
}

@media (max-width: 768px) {
    .btn-container-decoration {
        width: 389px;
        bottom: -200px;
        right: -100px;
    }
}
/* Remove hover glow and add frosted glass effect to button */
.all-projects-btn {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.all-projects-btn:hover {
    box-shadow: none;
    transform: none;
    background: rgba(255, 255, 255, 0.5);
}

/* Enhanced About Me Section - Fun, Dynamic & Interactive */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Animated background particles */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(138, 43, 226, 0.3); }
    50% { box-shadow: 0 0 40px rgba(138, 43, 226, 0.6), 0 0 60px rgba(0, 255, 229, 0.3); }
}

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

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

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

#about {
    font-family: 'Inter', sans-serif;
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* Floating particles background */
#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(138, 43, 226, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 229, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(138, 43, 226, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 229, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
}

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

/* Enhanced profile section with floating animation */
.about-profile-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.about-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) padding-box,
                linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
    animation: float 4s ease-in-out infinite, glow 3s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-image-placeholder:hover {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.4), 0 0 80px rgba(0, 255, 229, 0.3);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.about-image-placeholder:hover .about-photo {
    filter: brightness(1.1) contrast(1.1);
}

/* Typewriter effect for heading */
#about h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    animation: typewriter 2s steps(8) 1s forwards, blink 1s infinite;
    background: linear-gradient(45deg, #ffffff, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: slideInUp 1s ease 2.5s forwards;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced grid with staggered animations */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-section {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(18, 18, 18, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

/* Staggered reveal animation */
.about-section:nth-child(1) { animation: slideInUp 0.8s ease 0.2s forwards; }
.about-section:nth-child(2) { animation: slideInUp 0.8s ease 0.4s forwards; }
.about-section:nth-child(3) { animation: slideInUp 0.8s ease 0.6s forwards; }
.about-section:nth-child(4) { animation: slideInUp 0.8s ease 0.8s forwards; }

.about-section.reveal.active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* 3D hover effect */
.about-section:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
}

/* Card glow effect on hover */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 229, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.about-section:hover::before {
    opacity: 1;
}

.about-section h3 {
    font-family: 'SuperWater', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.about-section:hover h3 {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(138, 43, 226, 0.3));
}

.about-section p {
    line-height: 1.7;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.about-section:hover p {
    color: rgba(255, 255, 255, 1);
}

/* Enhanced skills with bounce animation */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.skill-tag {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 229, 0.2));
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-tag::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 ease;
}

.skill-tag:hover {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.4), rgba(0, 255, 229, 0.4));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    animation: bounce 0.6s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

/* Enhanced experience list */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.experience-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.experience-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.experience-item h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.experience-item:hover h4 {
    color: #ffffff;
    transform: translateX(5px);
}

.experience-item p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.experience-item:hover p {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .about-scroll-container {
        padding: 2rem 1rem;
    }
    
    #about h2 {
        font-size: 2.5rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .about-image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-section {
        padding: 2rem;
        min-height: 250px;
    }
    
    .about-section:hover {
        transform: translateY(-10px) scale(1.02);
    }
}

@media (max-width: 480px) {
    #about h2 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 1.5rem;
    }
}
/* Make "My Projects" all caps with same font as name */
#projects h2 {
    text-transform: uppercase;
    font-family: inherit;
}
/* Shorter nav underline */
.nav-links a::after {
    width: 60%;
    left: 20%;
}

/* Fade in decorative images on scroll */
.projects-decoration,
.btn-container-decoration {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.projects-decoration.fade-in,
.btn-container-decoration.fade-in {
    opacity: 1;
}
/* Keep nav underline at current length */
.nav-links a::after {
    width: 60%;
    left: 20%;
}
/* Remove nav underline */
.nav-links a::after {
    display: none;
}
/* Frosted glass hover effect for nav items */
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
/* Remove circle and add simple bob hover effect */
.nav-links a {
    border: none;
    border-radius: 0;
    background: none;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    background: none;
    backdrop-filter: none;
    transform: translateY(-3px);
}
/* Remove blue focus outline */
.nav-links a:focus {
    outline: none;
}

/* Splide.js Custom Styling */
.splide__slide {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
}

.splide__slide .project-card {
    width: 100%;
    margin: 0 auto;
}

/* Accessibility improvements */
.splide__arrow:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state */
.splide.is-initialized {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.splide:not(.is-initialized) {
    opacity: 0;
}
/* Cartoony balloon style for name */
.hero h1 {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 50px;
    padding: 1.5rem 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.8);
    border: 3px solid rgba(255,255,255,0.5);
    color: #333;
    display: inline-block;
    transform: perspective(1000px) rotateX(5deg);
}
/* Add Atop Font to name */
@import url('https://fonts.googleapis.com/css2?family=Atop:wght@400;700&display=swap');

.hero h1 {
    font-family: 'Atop', cursive;
    font-weight: 700;
}
/* Custom font for name */
@font-face {
    font-family: 'MCKLB';
    src: url('../fonts/MCKLB___.ttf') format('truetype');
}

.first-name,
.last-name {
    font-family: 'MCKLB', 'Swiss 721 Black Rounded CE', 'Inter', 'Arial Black', sans-serif;
}
/* Updated custom font for name */
@font-face {
    font-family: 'Railghost';
    src: url('../fonts/Railghost.ttf') format('truetype');
}

.first-name,
.last-name {
    font-family: 'Railghost', 'Swiss 721 Black Rounded CE', 'Inter', 'Arial Black', sans-serif;
}
/* Updated custom font for name */
@font-face {
    font-family: 'MeilaArabic';
    src: url('../fonts/MeilaArabicDEMO-LineBold.otf') format('opentype');
}

.first-name,
.last-name {
    font-family: 'MeilaArabic', 'Swiss 721 Black Rounded CE', 'Inter', 'Arial Black', sans-serif;
}
/* Super water font for My Projects */
@font-face {
    font-family: 'SuperWater';
    src: url('../fonts/super water.ttf') format('truetype');
}

#projects h2 {
    font-family: 'SuperWater', sans-serif;
}
/* Super water font for name */
.first-name,
.last-name {
    font-family: 'SuperWater', 'Swiss 721 Black Rounded CE', 'Inter', 'Arial Black', sans-serif;
}
/* Super water font for nav, contact, about, and software developer */
.nav-links a,
#contact h2,
#about h2,
.title {
    font-family: 'SuperWater', sans-serif;
}
/* Super water font for about section headings */
.about-section h3 {
    font-family: 'SuperWater', sans-serif;
}

/* Name letters float up animation */
.first-name,
.last-name {
    opacity: 0;
    transform: translateY(50px);
    animation: floatUp 1s ease-out forwards;
}

.first-name {
    animation-delay: 0.5s;
}

.last-name {
    animation-delay: 0.8s;
}

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

/* Project scrolling animation */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.project-container.cycling {
    animation: scroll-left 30s linear infinite;
}
/* Remove blue/teal highlight from all elements */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

*:focus {
    outline: none;
}

/* Comprehensive Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-lg: 1rem;
        --font-size-2xl: 1.25rem;
        --font-size-3xl: 1.75rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    .project-card {
        width: 280px;
        height: 360px;
    }
    
    .project-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    #about, #contact {
        padding: 3rem 1.5rem;
    }
    
    .nav-links a {
        font-size: var(--font-size-2xl);
        padding: var(--spacing-md) var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .project-card {
        width: 260px;
        height: 340px;
    }
    
    #about, #contact {
        padding: 2rem 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .intro-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}


/* Floating particles for About section */
.floating-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(0.5px);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* Enhanced About section responsive design */
@media (prefers-reduced-motion: reduce) {
    .about-section,
    .about-image-placeholder,
    .skill-tag,
    .experience-item {
        animation: none !important;
        transition: none !important;
    }
    
    .floating-particle {
        display: none;
    }
    
    #about::before {
        animation: none;
    }
}

/* Smooth focus states for accessibility */
.about-section:focus,
.skill-tag:focus,
.about-image-placeholder:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* Enhanced mobile interactions */
@media (hover: none) and (pointer: coarse) {
    .about-section:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .skill-tag:hover {
        transform: translateY(-2px) scale(1.02);
    }
    
    .about-image-placeholder:hover {
        transform: scale(1.05);
    }
}

/* Loading animation for About section */
.about-loading {
    opacity: 0;
    transform: translateY(30px);
}

.about-loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradient text animation for headings */
.gradient-text {
    background: linear-gradient(45deg, #ffffff, var(--primary-color), var(--secondary-color), #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* Enhanced card shadows */
.about-section {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-section:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 50px rgba(138, 43, 226, 0.15),
        0 0 100px rgba(0, 255, 229, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Align project grid gap with "All Projects" text center */
.all-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    justify-items: center;
    align-items: start;
}

.all-projects-modal h2 {
    position: relative;
    z-index: 1;
}



/* Consistent spacing and alignment utilities */
.section-spacing {
    padding: var(--spacing-xxl) var(--spacing-lg);
}

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

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* Consistent button styles */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-primary);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}