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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #d4d4d4;
    background-color: #1e1e1e;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.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: 1.5rem;
    font-weight: 700;
    color: #007acc;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #d4d4d4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007acc;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007acc;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #d4d4d4;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e1e1e 0%, #252526 100%);
    color: white;
    padding: 100px 0 50px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: rgba(45, 45, 48, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(0, 122, 204, 0.2);
    z-index: 1;
}

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

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

.highlight {
    color: #007acc;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: #007acc;
    color: white;
}

.btn-primary:hover {
    background: #005a9e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e1e1e;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

.profile-card {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: scaleIn 1s ease-out 0.5s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    box-shadow: 0 20px 40px rgba(0, 122, 204, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4d4d4;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007acc, #00d4ff);
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #252526;
}

/* Experience Section */
.experience {
    padding: 100px 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: #2d2d30;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-left: 4px solid #007acc;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }
.experience-card:nth-child(4) { animation-delay: 0.4s; }

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
}

.company {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #007acc;
    margin-bottom: 0.25rem;
}

.duration {
    display: block;
    font-size: 0.9rem;
    color: #cccccc;
    font-style: italic;
}

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

.experience-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #cccccc;
    line-height: 1.6;
}

.experience-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #007acc;
    font-weight: bold;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: #2d2d30;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: bounceIn 0.8s ease-out;
    animation-fill-mode: both;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }

.stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 122, 204, 0.2);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007acc;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #cccccc;
    font-weight: 500;
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

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

.project-card {
    background: #2d2d30;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Old project-image styling removed - replaced with project-icon */

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #d4d4d4;
}

.project-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tech-tag {
    background: #3c3c3c;
    color: #d4d4d4;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 204, 0.3), transparent);
    transition: left 0.5s;
}

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

.tech-tag:hover {
    background: #007acc;
    color: white;
    transform: translateY(-2px);
}

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

.project-link {
    color: #007acc;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #005a9e;
}

/* Project visibility classes */
.hidden-project {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.hidden-project.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Cool Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 122, 204, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 122, 204, 0.6);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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



/* Floating animation for profile card */
.profile-card {
    animation: gentleFloat 4s ease-in-out infinite;
}

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

/* Glow effect for highlight */
.highlight {
    animation: glow 3s ease-in-out infinite;
}

/* Pulse animation for buttons */
.btn-primary {
    animation: pulse 2s ease-in-out infinite;
}

/* Slide animations for hero content */
.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.3s both;
}

/* Floating Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 122, 204, 0.8);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.9;
    box-shadow: 0 0 12px rgba(0, 122, 204, 0.5);
    transition: none;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    width: 25px;
    height: 25px;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    width: 15px;
    height: 15px;
}

.particle:nth-child(3) {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
    width: 30px;
    height: 30px;
}

.particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 6s;
    width: 18px;
    height: 18px;
}

.particle:nth-child(5) {
    top: 30%;
    left: 90%;
    animation-delay: 1s;
    width: 22px;
    height: 22px;
}

.particle:nth-child(6) {
    top: 70%;
    left: 40%;
    animation-delay: 3s;
    width: 16px;
    height: 16px;
}

.particle:nth-child(7) {
    top: 15%;
    left: 50%;
    animation-delay: 5s;
    width: 28px;
    height: 28px;
}

.particle:nth-child(8) {
    top: 85%;
    left: 70%;
    animation-delay: 7s;
    width: 20px;
    height: 20px;
}

.particle:nth-child(9) {
    top: 25%;
    left: 30%;
    animation-delay: 1.5s;
    width: 24px;
    height: 24px;
}

.particle:nth-child(10) {
    top: 75%;
    left: 85%;
    animation-delay: 3.5s;
    width: 17px;
    height: 17px;
}

.particle:nth-child(11) {
    top: 45%;
    left: 15%;
    animation-delay: 5.5s;
    width: 26px;
    height: 26px;
}

.particle:nth-child(12) {
    top: 55%;
    left: 95%;
    animation-delay: 7.5s;
    width: 19px;
    height: 19px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.9;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.2);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-15px) translateX(-10px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-25px) translateX(20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Hover animations for project cards - removed conflicting animation */

/* Skill items animation */
.skill-item {
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-item:nth-child(4) { animation-delay: 0.4s; }
.skill-item:nth-child(5) { animation-delay: 0.5s; }
.skill-item:nth-child(6) { animation-delay: 0.6s; }

.skill-item:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 122, 204, 0.4);
}

/* Social links rotation */
.social-link {
    transition: all 0.3s ease;
    animation: gentlePulse 2s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.social-link:hover {
    animation: rotate 0.6s ease-in-out;
}

/* Experience cards slide in */
.experience-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Stats counter animation */
.stat {
    transition: all 0.3s ease;
}

/* Typing cursor effect */
.hero-title::after {
    content: '|';
    animation: blink 1s infinite;
    color: #007acc;
}

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

/* Ripple effect for project cards */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced hover effects - removed conflicting project-image hover */

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 122, 204, 0.3);
}

/* Loading animation for page */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 1s ease-out;
}

/* Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: visible;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.15);
    border-color: rgba(0, 122, 204, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 122, 204, 0.2);
}

.project-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.project-description {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(0, 122, 204, 0.2);
    color: #007acc;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 122, 204, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 122, 204, 0.3);
    transform: scale(1.02);
}

.project-links {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.project-link {
    background: rgba(0, 122, 204, 0.2);
    color: #007acc;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 122, 204, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.project-link:hover {
    background: rgba(0, 122, 204, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 122, 204, 0.2);
}

/* Projects Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

/* Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: auto;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: visible;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.15);
    border-color: rgba(0, 122, 204, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.project-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 122, 204, 0.2);
}

.project-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.project-description {
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.tech-tag {
    background: rgba(0, 122, 204, 0.2);
    color: #007acc;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(0, 122, 204, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 122, 204, 0.3);
    transform: scale(1.02);
}

.project-links {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.project-link {
    background: rgba(0, 122, 204, 0.2);
    color: #007acc;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 122, 204, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.project-link:hover {
    background: rgba(0, 122, 204, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 122, 204, 0.2);
}

/* Responsive adjustments for projects */
@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin: 0 0.5rem 1.5rem 0.5rem;
    }
    
    .project-card {
        min-height: 140px;
        padding: 1rem;
    }
    
    .project-header {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .project-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .project-header h3 {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    
    .project-tech {
        gap: 0.25rem;
        margin-bottom: 0.6rem;
    }
    
    .tech-tag {
        padding: 0.1rem 0.4rem;
        font-size: 0.65rem;
    }
    
    .project-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        margin: 0 0.3rem 1rem 0.3rem;
        gap: 0.6rem;
    }
    
    .project-card {
        padding: 0.8rem;
        min-height: 130px;
    }
    
    .project-header {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .project-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .project-header h3 {
        font-size: 0.95rem;
    }
    
    .project-description {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .project-tech {
        margin-bottom: 0.5rem;
    }
    
    .tech-tag {
        padding: 0.08rem 0.3rem;
        font-size: 0.6rem;
    }
    
    .project-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
}

/* Expand Projects Button - Move away from down arrow */
/* Expand projects button removed */

/* Skills Section */
.skills {
    padding: 4rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.skill-category h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-item {
    background: rgba(0, 122, 204, 0.2);
    color: #007acc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 122, 204, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-item:nth-child(4) { animation-delay: 0.4s; }
.skill-item:nth-child(5) { animation-delay: 0.5s; }
.skill-item:nth-child(6) { animation-delay: 0.6s; }

.skill-item:hover {
    background: rgba(0, 122, 204, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.2);
}

/* Responsive adjustments for skills */
@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .skill-items {
        gap: 0.6rem;
    }
    
    .skill-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0.5rem 0 0.5rem;
    }
    
    .skill-category {
        padding: 1.2rem;
    }
    
    .skill-category h3 {
        font-size: 1.1rem;
    }
    
    .skill-items {
        gap: 0.5rem;
    }
    
    .skill-item {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

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

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #d4d4d4;
}

.contact-info p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #cccccc;
}

.contact-method i {
    color: #007acc;
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #007acc;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #005a9e;
    transform: translateY(-3px);
}

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



/* Prevent scrolling */
body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #1e1e1e;
}

/* Navigation Arrows */
.nav-arrow {
    position: fixed;
    width: 60px;
    height: 60px;
    background: rgba(0, 122, 204, 0.2);
    border: 2px solid rgba(0, 122, 204, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #007acc;
    text-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
}

.nav-arrow:hover {
    background: rgba(0, 122, 204, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 122, 204, 0.4);
    color: #fff;
}

.nav-arrow i {
    font-size: 1.5rem;
    font-weight: bold;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-arrow:hover i {
    color: #fff;
}

.nav-arrow.prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.nav-arrow.next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.nav-arrow.up {
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
}

.nav-arrow.down {
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

/* Text labels next to arrows */
.nav-arrow::after {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 80px;
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.nav-arrow.prev::after {
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-arrow.next::after {
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-arrow.up::after {
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-arrow.down::after {
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

/* Contact Bubble */
.contact-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
}

.contact-bubble-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007acc 0%, #005a9e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 122, 204, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.contact-bubble:hover .contact-bubble-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 122, 204, 0.4);
}

.contact-bubble-content {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.contact-bubble:hover .contact-bubble-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    color: #007acc;
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    color: #007acc;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #007acc;
}

/* Slide Navigation Styles */
.slide-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100vh;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    overflow: hidden;
    will-change: transform;
    transform: translateX(100%);
}

.slide.active {
    transform: translateX(0) translateY(0);
    z-index: 20;
}

.slide.prev {
    transform: translateX(-100%) translateY(0);
    z-index: 15;
}

.slide.next {
    transform: translateX(100%) translateY(0);
    z-index: 15;
}

.slide.up {
    transform: translateX(0) translateY(-100%);
    z-index: 15;
}

.slide.down {
    transform: translateX(0) translateY(100%);
    z-index: 15;
}

/* Slide Content Styles */
.slide-content {
    max-width: 1200px;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 80px;
    padding-bottom: 100px;
}

/* Container adjustments for slides */
.slide .container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 20px;
    padding-top: 80px;
    padding-bottom: 100px;
}

/* Hero Slide */
.hero-slide {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(37, 37, 38, 0.9) 100%);
}

.hero-slide .slide-content {
    text-align: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
}

/* About Slide */
.about-slide {
    background: linear-gradient(135deg, rgba(37, 37, 38, 0.9) 0%, rgba(45, 45, 48, 0.9) 100%);
}

.about-slide .slide-content {
    text-align: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
}

/* Experience Slide */
.experience-slide {
    background: linear-gradient(135deg, rgba(45, 45, 48, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
}

.experience-slide .slide-content {
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 100px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 20px 0;
}

/* Projects Slide */
.projects-slide {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(37, 37, 38, 0.9) 100%);
}

.projects-slide .slide-content {
    text-align: center;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 120px;
}

/* Projects grid - updated styles above */

/* Project Cards - Updated styles above */

/* Responsive adjustments for projects */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        min-height: 160px;
        padding: 1.2rem;
    }
    
    .project-header h3 {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}

/* Skills Slide */
.skills-slide {
    background: linear-gradient(135deg, rgba(37, 37, 38, 0.9) 0%, rgba(45, 45, 48, 0.9) 100%);
}

.skills-slide .slide-content {
    text-align: center;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 100px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 20px 0;
}

/* Contact Slide */
.contact-slide {
    background: linear-gradient(135deg, rgba(45, 45, 48, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
}

.contact-slide .slide-content {
    text-align: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-content {
        padding: 10px;
        padding-top: 60px;
    }
    
    .experience-grid,
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 120px);
    }
    
    .container {
        padding: 10px;
        padding-top: 60px;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow.prev {
        left: 10px;
    }
    
    .nav-arrow.next {
        right: 10px;
    }
    
    .nav-arrow.up {
        top: 80px;
    }
    
    .nav-arrow.down {
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 5px;
        padding-top: 50px;
    }
    
    .container {
        padding: 5px;
        padding-top: 50px;
    }
    
    .experience-grid,
    .projects-grid,
    .skills-grid {
        max-height: calc(100vh - 100px);
    }
}

/* Slide Transition Animations */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

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

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

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

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

/* Responsive Design for Slides */
@media (max-width: 768px) {
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow.prev {
        left: 10px;
    }
    
    .nav-arrow.next {
        right: 10px;
    }
    
    .nav-arrow.up {
        top: 80px;
    }
    
    .nav-arrow.down {
        bottom: 80px;
    }
    
    .slide-content {
        padding: 10px;
    }
    
    .experience-grid,
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        max-height: 70vh;
    }
    
    .experience-card,
    .project-card,
    .skill-category {
        max-height: 50vh;
    }
    
    .container {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 5px;
    }
    
    .container {
        padding: 5px;
    }
    
    .experience-grid,
    .projects-grid,
    .skills-grid {
        max-height: 60vh;
    }
}