/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a1f 0%, #1a1a3e 25%, #0f1b35 50%, #1a1a3e 75%, #0a0a1f 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

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

/* Animated Stars Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

.star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translate(-50%, -50%);
    filter: blur(1px);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Different star sizes and colors */
.star.small {
    width: 2px;
    height: 2px;
    background: #ffffff;
}

.star.medium {
    width: 3px;
    height: 3px;
    background: #00d4ff;
}

.star.large {
    width: 4px;
    height: 4px;
    background: #ffd700;
}

.star.blue {
    background: #00d4ff;
}

.star.gold {
    background: #ffd700;
}

.star.white {
    background: #ffffff;
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, transparent);
    border-radius: 50%;
    animation: shoot var(--duration) linear infinite;
    opacity: 0;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, #ffffff, transparent);
    transform: translateX(-100px);
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 100px)) translateY(100px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.75);
    box-shadow: 0 8px 32px 0 rgba(0, 212, 255, 0.12), 
                0 2px 0 0 rgba(0, 212, 255, 0.5);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.4));
}

.nav-logo a:hover {
    filter: drop-shadow(0 6px 20px rgba(168, 85, 247, 0.6));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-link {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 4px 16px 0 rgba(0, 212, 255, 0.25);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #a855f7);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.hamburger .bar {
    height: 3.5px;
    width: 28px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.welcome-text {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    animation: colorChange 4s infinite;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorChange 4s ease-in-out infinite, gradientShift 6s ease-in-out infinite;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes colorChange {
    0% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(90deg); }
    50% { filter: hue-rotate(180deg); }
    75% { filter: hue-rotate(270deg); }
    100% { filter: hue-rotate(360deg); }
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #fbbf24 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, #33ddff 0%, #c084fc 100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border: 2px solid #00d4ff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

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

.profile-card {
    width: 400px;
    height: 500px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: visible;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    border: 2px solid rgba(0, 212, 255, 0.5);
}

.profile-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 2;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.profile-card .tech-element-1 {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    z-index: 2;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.profile-card .tech-element-2 {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 2;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.profile-card .tech-element-3 {
    position: absolute;
    top: 50%;
    left: -15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    border: 2px solid rgba(0, 212, 255, 0.5);
    transform: translateY(-50%);
}

/* Profile Image Styling */
.profile-image {
    width: 350px;
    height: 450px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.2),
        0 0 20px rgba(0, 212, 255, 0.1),
        0 0 40px rgba(0, 212, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 0, 0.1));
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2),
        0 0 60px rgba(0, 212, 255, 0.1);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Enhanced profile card for AI theme */
.profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.05);
    padding: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.1),
        0 0 15px rgba(0, 212, 255, 0.05);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.05) 0%, 
        transparent 50%, 
        rgba(0, 255, 0, 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Remove any conflicting background styles */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* AI scan overlay adjustments */
.ai-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    border-radius: 20px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: scan 2s linear infinite;
    border-radius: 1px;
}

.scan-data {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.scan-data span {
    font-size: 0.6rem;
    color: #00ff00;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px #00ff00;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #00d4ff 0%, #a855f7 50%, #fbbf24 100%);
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

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

.stat {
    background: rgba(15, 15, 35, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff 0%, #a855f7 50%, #fbbf24 100%);
}

.stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.25);
    border-color: rgba(168, 85, 247, 0.4);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.stat p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    color: white;
}

/* Enhanced Skills Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00ff00, #00d4ff);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.4);
}

.skill-category h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    flex: 1;
    align-content: start;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 50px;
}

.skill-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

/* Skill Icon Styling */
.skill-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.skill-item:hover .skill-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%) drop-shadow(0 0 10px rgba(0, 255, 0, 0.5));
    transform: scale(1.1);
}

/* Fallback for FontAwesome icons */
.skill-item i {
    font-size: 1.2rem;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.skill-item:hover i {
    color: #00ff00;
    transform: scale(1.1);
}

.skill-item span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.skill-item:hover span {
    color: #00ff00;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

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

.project-card {
    background: rgba(15, 15, 35, 0.6);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #00d4ff, #a855f7, #fbbf24);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3),
                0 0 30px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

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

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    z-index: 1;
}

.project-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

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

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

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.project-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

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

.project-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #0099cc;
}

/* Positions of Responsibility Section */
.responsibilities {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.responsibility-card {
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.responsibility-card:hover {
    transform: translateY(-5px);
}

.responsibility-icon {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.responsibility-icon i {
    font-size: 1.5rem;
    color: white;
}

.responsibility-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.responsibility-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    opacity: 0.9;
}

.responsibility-content .duration {
    font-size: 0.9rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.responsibility-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    color: white;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
}

.experience-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.experience-date {
    min-width: 120px;
    text-align: right;
    padding-top: 0.5rem;
}

.experience-date .date {
    display: block;
    font-weight: 600;
    background: linear-gradient(135deg, #fbbf24 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

.experience-date .duration {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.experience-content {
    flex: 1;
    background: rgba(15, 15, 35, 0.7);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.experience-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff 0%, #a855f7 100%);
}

.experience-content:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.25);
    border-color: rgba(168, 85, 247, 0.4);
}

.experience-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-content h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 0.9;
}

.experience-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #ffd700;
    min-width: 30px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.contact-item p {
    opacity: 0.9;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(15, 15, 35, 0.98);
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0 1rem 0;
        box-shadow: 0 8px 32px 0 #00d4ff22;
        border-bottom: 2px solid #00d4ff;
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }

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

    .welcome-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

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

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

    .profile-card {
        width: 300px;
        height: 400px;
    }
    
    .profile-image {
        width: 250px;
        height: 330px;
    }

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

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

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

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

    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .responsibilities-grid {
        grid-template-columns: 1fr;
    }
    
    .responsibility-card {
        flex-direction: column;
        text-align: center;
    }
    
    .experience-timeline::before {
        left: 20px;
    }
    
    .experience-item::before {
        left: 16px;
    }
    
    .experience-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .experience-date {
        text-align: left;
        min-width: auto;
    }
    
    .processing-percentage {
        font-size: 0.7rem;
        top: -20px;
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

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

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

    .container {
        padding: 0 15px;
    }
    
    .processing-percentage {
        font-size: 0.6rem;
        top: -18px;
        padding: 1px 3px;
    }
}

/* Smooth scrolling and animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

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

.education-block {
    margin-top: 2.5rem;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 16px 0 #00d4ff11;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.education-block h3 {
    color: #00d4ff;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: 1px;
}
.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.education-list li {
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
    color: #eaf6fb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,212,255,0.08);
    padding-bottom: 0.5rem;
}
.education-list li:last-child {
    border-bottom: none;
}
.edu-year {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: 0;
} 

.education-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
    width: 100%;
}
.education-card {
    background: rgba(0, 212, 255, 0.13);
    border-radius: 12px;
    padding: 1rem 0.8rem;
    box-shadow: 0 2px 12px 0 #00d4ff18;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid #00d4ff;
    transition: box-shadow 0.3s, transform 0.3s;
    flex: 0 1 auto;
    min-width: 220px;
    max-width: 260px;
    text-align: center;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}
.education-card:hover {
    box-shadow: 0 6px 24px 0 #00d4ff33;
    transform: translateY(-3px) scale(1.02);
}
.edu-degree {
    font-size: 1rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.edu-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 0.8rem;
    color: #eaf6fb;
    gap: 0.2rem;
    word-wrap: break-word;
    word-break: break-word;
}
.edu-inst {
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0.75rem;
}
.edu-year {
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0;
} 

/* AI Agent Effects */
.ai-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.ai-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.ai-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #00ff00;
    letter-spacing: 1px;
}

.system-status {
    display: flex;
    gap: 1rem;
}

.status-item {
    font-size: 0.7rem;
    color: #00d4ff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dynamic-name {
    position: relative;
    display: inline-block;
    animation: glitch 3s infinite;
}

.dynamic-name::before,
.dynamic-name::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dynamic-name::before {
    animation: glitch-1 2s infinite;
    color: #ff0000;
    z-index: -1;
}

.dynamic-name::after {
    animation: glitch-2 2s infinite;
    color: #00ffff;
    z-index: -2;
}

.ai-processing-indicator {
    margin: 1rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.processing-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 2px;
    overflow: visible;
    margin-bottom: 0.5rem;
    position: relative;
}

.processing-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #00ff00);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.processing-percentage {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.8rem;
    color: #00d4ff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
    transition: all 0.3s ease;
    animation: percentagePulse 2s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.processing-text {
    font-size: 0.8rem;
    color: #00d4ff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ai-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    border-radius: 20px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: scan 2s linear infinite;
    border-radius: 1px;
}

.scan-data {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.scan-data span {
    font-size: 0.6rem;
    color: #00ff00;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px #00ff00;
}

/* Teddy Bear Cursor Effect */
#teddycursor {
    opacity: 0.4;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Speech Bubble */
.speech-bubble {
    position: absolute;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: #2c1810;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 0.8);
    top: -45px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: bottom center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    border: 2px solid #c19a6b;
    min-width: 120px;
    text-align: center;
}

.speech-bubble.show {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    animation: bubbleBounce 0.6s ease-out;
}

@keyframes bubbleBounce {
    0% {
        transform: translateX(-50%) scale(0) translateY(10px);
    }
    50% {
        transform: translateX(-50%) scale(1.1) translateY(-5px);
    }
    100% {
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #c19a6b;
}

.speech-bubble:before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
    z-index: 1;
}

#speechText {
    display: inline-block;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.teddy {
    width: 70px;
    height: 70px;
    left: calc(50% - 35px);
    top: calc(50% - 35px);
    background: linear-gradient(145deg, #c19a6b 0%, #a67c52 50%, #8b6f47 100%);
    position: absolute;
    transition: 0s ease-in-out;
    border-radius: 50%;
    animation: teddyBounce 1.8s ease-in-out infinite alternate;
    transform: translateX(-50px);
    box-shadow: 0 8px 20px rgba(139, 111, 71, 0.3),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.teddy:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 200, 200, 0.5);
    border-radius: 100%;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    animation: heartPulse 2s ease-in-out infinite;
    filter: blur(4px);
}

@keyframes heartPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 200, 200, 0);
        transform: scale(0.8);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 150, 150, 0.8);
        transform: scale(1.4);
    }
}

@keyframes teddyBounce {
    0% {
        transform: translateX(-50px) translateY(0px) rotate(-3deg);
    }
    100% {
        transform: translateX(50px) translateY(-12px) rotate(3deg);
    }
}

/* Teddy Bear Face */
.teddy.face .ears {
    position: absolute;
    width: 100%;
    height: 100%;
}

.teddy.face .ears .ear {
    position: absolute;
    width: 22px;
    height: 22px;
    background: linear-gradient(145deg, #c19a6b, #a67c52);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: earWiggle 2.5s ease-in-out infinite;
}

.teddy.face .ears .ear:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(145deg, #f4a460, #d4894a);
    border-radius: 50%;
    top: 5px;
    left: 5px;
}

.teddy.face .ears .ear.left {
    top: -5px;
    left: 5px;
}

.teddy.face .ears .ear.right {
    top: -5px;
    right: 5px;
}

@keyframes earWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

.teddy.face .eyes {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: eyeBlink 5s ease-in-out infinite;
}

@keyframes eyeBlink {
    0%, 48%, 52%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.1);
    }
}

.teddy.face .eyes .eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #2c1810;
    border-radius: 50%;
    top: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.teddy.face .eyes .eye.left {
    left: 16px;
}

.teddy.face .eyes .eye.right {
    right: 16px;
}

.teddy.face .eyes .eye:after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    animation: eyeSparkle 4s ease-in-out infinite;
}

@keyframes eyeSparkle {
    0%, 85%, 100% {
        opacity: 1;
    }
    90% {
        opacity: 0.3;
    }
}

/* Teddy Bear Snout */
.teddy.face .snout {
    position: absolute;
    width: 28px;
    height: 22px;
    background: linear-gradient(145deg, #f4a460, #d4894a);
    border-radius: 50% 50% 60% 60%;
    top: 32px;
    left: 21px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.teddy.face .snout .nose {
    position: absolute;
    width: 10px;
    height: 8px;
    background: #2c1810;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 3px;
    left: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.teddy.face .snout .nose:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

.teddy.face .snout .mouth {
    position: absolute;
    width: 16px;
    height: 10px;
    top: 10px;
    left: 6px;
}

.teddy.face .snout .mouth:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 6px;
    border: 1.5px solid #2c1810;
    border-top: none;
    border-radius: 0 0 12px 12px;
    left: 0;
}

.teddy.face .snout .mouth:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 6px;
    border: 1.5px solid #2c1810;
    border-top: none;
    border-radius: 0 0 12px 12px;
    right: 0;
}

/* Teddy Bear Arms */
.teddy.face .arms {
    position: absolute;
    width: 100%;
    height: 100%;
}

.teddy.face .arms .arm {
    position: absolute;
    width: 12px;
    height: 28px;
    background: linear-gradient(145deg, #c19a6b, #a67c52);
    border-radius: 50%;
    animation: armWave 1.8s ease-in-out infinite;
    top: 30px;
    box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.2);
}

.teddy.face .arms .arm:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(145deg, #f4a460, #d4894a);
    border-radius: 50%;
    bottom: -3px;
    left: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.teddy.face .arms .arm.left {
    left: -3px;
    transform-origin: top center;
    animation-delay: 0s;
}

.teddy.face .arms .arm.right {
    right: -3px;
    transform-origin: top center;
    animation-delay: 0.9s;
}

@keyframes armWave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(25deg);
    }
}

/* Teddy Bear Legs */
.teddy.face .legs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.teddy.face .legs .leg {
    position: absolute;
    width: 14px;
    height: 18px;
    background: linear-gradient(145deg, #c19a6b, #a67c52);
    border-radius: 50% 50% 50% 50%;
    bottom: -8px;
    box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.2);
}

.teddy.face .legs .leg:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 8px;
    background: linear-gradient(145deg, #f4a460, #d4894a);
    border-radius: 50%;
    bottom: 0;
    left: 2px;
}

.teddy.face .legs .leg.left {
    left: 12px;
}

.teddy.face .legs .leg.right {
    right: 12px;
}

/* Teddy Bear trail effect - multiple bears */
.teddy:nth-of-type(1) { transition: 0.05s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 70px; height: 70px; margin-left: -35px; margin-top: -35px; z-index: 19; }

.teddy:nth-of-type(2) { transition: 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 67px; height: 67px; margin-left: -33.5px; margin-top: -33.5px; background: linear-gradient(145deg, #b89060, #9e7449); z-index: 18; }

.teddy:nth-of-type(3) { transition: 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 64px; height: 64px; margin-left: -32px; margin-top: -32px; background: linear-gradient(145deg, #af8658, #956b41); z-index: 17; }

.teddy:nth-of-type(4) { transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 61px; height: 61px; margin-left: -30.5px; margin-top: -30.5px; background: linear-gradient(145deg, #a67c52, #8c633a); z-index: 16; }

.teddy:nth-of-type(5) { transition: 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 58px; height: 58px; margin-left: -29px; margin-top: -29px; background: linear-gradient(145deg, #9d724a, #835933); z-index: 15; }

.teddy:nth-of-type(6) { transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 55px; height: 55px; margin-left: -27.5px; margin-top: -27.5px; background: linear-gradient(145deg, #946842, #7a502c); z-index: 14; }

.teddy:nth-of-type(7) { transition: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 52px; height: 52px; margin-left: -26px; margin-top: -26px; background: linear-gradient(145deg, #8b5e3a, #714726); z-index: 13; }

.teddy:nth-of-type(8) { transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 49px; height: 49px; margin-left: -24.5px; margin-top: -24.5px; background: linear-gradient(145deg, #825432, #683e20); z-index: 12; }

.teddy:nth-of-type(9) { transition: 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 46px; height: 46px; margin-left: -23px; margin-top: -23px; background: linear-gradient(145deg, #794a2a, #5f361a); z-index: 11; }

.teddy:nth-of-type(10) { transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 43px; height: 43px; margin-left: -21.5px; margin-top: -21.5px; background: linear-gradient(145deg, #704022, #562e14); z-index: 10; }

.teddy:nth-of-type(11) { transition: 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 40px; height: 40px; margin-left: -20px; margin-top: -20px; background: linear-gradient(145deg, #67361a, #4d260e); z-index: 9; }

.teddy:nth-of-type(12) { transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 37px; height: 37px; margin-left: -18.5px; margin-top: -18.5px; background: linear-gradient(145deg, #5e2c12, #441e08); z-index: 8; }

.teddy:nth-of-type(13) { transition: 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 34px; height: 34px; margin-left: -17px; margin-top: -17px; background: linear-gradient(145deg, #55220a, #3b1604); z-index: 7; }

.teddy:nth-of-type(14) { transition: 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 31px; height: 31px; margin-left: -15.5px; margin-top: -15.5px; background: linear-gradient(145deg, #4c1806, #320f00); z-index: 6; }

.teddy:nth-of-type(15) { transition: 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 28px; height: 28px; margin-left: -14px; margin-top: -14px; background: linear-gradient(145deg, #431002, #2a0800); z-index: 5; }

.teddy:nth-of-type(16) { transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 25px; height: 25px; margin-left: -12.5px; margin-top: -12.5px; background: linear-gradient(145deg, #3a0a00, #220400); z-index: 4; }

.teddy:nth-of-type(17) { transition: 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 22px; height: 22px; margin-left: -11px; margin-top: -11px; background: linear-gradient(145deg, #310600, #1a0200); z-index: 3; }

.teddy:nth-of-type(18) { transition: 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 19px; height: 19px; margin-left: -9.5px; margin-top: -9.5px; background: linear-gradient(145deg, #280400, #120100); z-index: 2; }

.teddy:nth-of-type(19) { transition: 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 16px; height: 16px; margin-left: -8px; margin-top: -8px; background: linear-gradient(145deg, #1f0200, #0a0000); z-index: 1; }

.teddy:nth-of-type(20) { transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 13px; height: 13px; margin-left: -6.5px; margin-top: -6.5px; background: linear-gradient(145deg, #160100, #050000); z-index: 0; }

/* Enhanced tech overlay with cursor interaction */
.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.tech-overlay.cursor-active {
    opacity: 1;
}

.tech-overlay.cursor-inactive {
    opacity: 0.3;
}

/* Enhanced circuit pattern with cursor interaction */
.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    animation: circuit-pulse 4s ease-in-out infinite;
    transition: all 0.5s ease;
}

.circuit-pattern.cursor-active {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 255, 0.2) 0%, transparent 50%);
    animation: circuit-pulse 2s ease-in-out infinite;
}

/* Tech Overlay - Digital Elements */
.matrix-rain {
    display: none; /* Removed matrix rain effect */
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(1px, -1px); }
    40% { transform: translate(1px, 1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(-1px, 1px); }
}

@keyframes processing {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes percentagePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 212, 255, 1);
    }
}

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

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

@keyframes circuit-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
} 

/* Project Category Links */
.project-category-link {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.project-category-link:hover {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
}

.project-category-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff00);
    transition: width 0.3s ease;
}

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

/* Enhanced project cards for better interaction */
.project-card:hover .project-category-link {
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

.project-card:hover .project-category-link::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
} 

/* Project Detail Pages */
.project-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(15, 15, 35, 0.9));
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    animation: background-shift 8s ease-in-out infinite;
}

.project-header-content {
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: glitch 3s infinite;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.project-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.project-stats .stat {
    text-align: center;
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.project-stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.project-stats .stat h3 {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.project-stats .stat p {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.projects-detail {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(0, 0, 0, 0.95));
}

.back-to-portfolio {
    padding: 40px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
}

.back-to-portfolio .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-to-portfolio .btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Responsive Design for Project Pages */
@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .project-stats .stat {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1rem;
    }
    
    .project-stats .stat h3 {
        font-size: 2rem;
    }
} 

/* Enhanced Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-content i {
    font-size: 1.2rem;
    color: #00ff00;
}

.notification-success .notification-content i {
    color: #00ff00;
}

.notification-error .notification-content i {
    color: #ff6b6b;
}

.notification-info .notification-content i {
    color: #00d4ff;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 0.7;
}

/* Contact Form Enhancements */
.contact-form form {
    position: relative;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form button[type="submit"]:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Loading animation for submit button */
.contact-form button[type="submit"]:disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Contact Links Styling */
.contact-link {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff00);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #00ff00;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

.contact-link:active {
    transform: translateY(0);
}

/* Contact item hover effects */
.contact-item:hover .contact-link {
    color: #00ff00;
}

.contact-item:hover i {
    color: #00ff00;
    transform: scale(1.1);
}

/* External link indicator */
.contact-link[target="_blank"]::before {
    content: '↗';
    margin-right: 5px;
    font-size: 0.8em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-link[target="_blank"]:hover::before {
    opacity: 1;
} 

/* Download Button Enhancements */
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-secondary i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: translateY(-2px);
    animation: downloadBounce 0.6s ease infinite;
}

.btn-secondary::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;
}

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

@keyframes downloadBounce {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(-4px); }
}

/* Download progress indicator */
.btn-secondary.downloading {
    pointer-events: none;
}

.btn-secondary.downloading i {
    animation: downloadSpin 1s linear infinite;
}

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

/* Responsive adjustments for skills */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-items {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .skill-item {
        padding: 1rem;
    }
} 

/* Enhanced Education Card Styling */
.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00ff00, #00d4ff);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.edu-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 0.6rem;
}

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

.edu-logo:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: scale(1.05);
}

.edu-logo:hover .education-logo {
    transform: scale(1.1);
}

/* Responsive adjustments for education cards */
@media (max-width: 768px) {
    .education-cards {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
        min-width: 220px;
        max-width: 280px;
        padding: 1rem 0.8rem;
        margin: 0 auto;
        min-height: auto;
    }
    
    .edu-logo {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }
    
    .edu-degree {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .edu-meta {
        font-size: 0.8rem;
        gap: 0.2rem;
    }
    
    .edu-inst {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .education-card {
        min-width: 200px;
        max-width: 250px;
        padding: 0.8rem 0.6rem;
        min-height: auto;
    }
    
    .edu-logo {
        width: 40px;
        height: 40px;
    }
    
    .edu-degree {
        font-size: 0.95rem;
    }
    
    .edu-meta {
        font-size: 0.75rem;
    }
    
    .edu-inst {
        font-size: 0.7rem;
        line-height: 1.2;
    }
} 