/* 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: white;
    background-color: #000;
    position: relative;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-menu.nav-left {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    list-style: none;
}

.nav-logo.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
    margin-left: auto;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000000;
    font-family: 'Inter', Arial, sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-logo a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #ff1744, 0 0 16px #ff416c, 0 0 24px #ff1744;
    letter-spacing: 4px;
    transform: scale(1.08) rotate(-2deg);
    transition: color 0.3s, text-shadow 0.3s, letter-spacing 0.3s, transform 0.3s;
}

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

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

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    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: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    padding-top: 80px;
    overflow: hidden;
    background: none;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background.jpg') center center/cover no-repeat;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate(var(--hero-bg-x, 0px), var(--hero-bg-y, 0px));
}
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero, .tech-stack {
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 26, 32, 0.68); /* semi-transparent dark overlay */
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    text-align: left;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    transition: none;
}
.hero-content.scroll-animate.visible {
    border: none !important;
    border-image: none !important;
    box-shadow: none !important;
}

.hero-image, .profile-photo-wrapper, .profile-photo, .profile-caption {
    display: none !important;
}

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

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1 1 0;
    min-width: 300px;
}

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

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

.highlight {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    font-weight: 700;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.9);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-location {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero-tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
    border-left: 4px solid #fbbf24;
    padding-left: 1rem;
}

.hero-contact {
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #b22222 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #dc143c 0%, #b22222 50%, #8b0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.profile-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    animation: none;
}

.profile-photo {
    width: 340px;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    background: #111;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.13);
    border: none;
    transition: transform 0.4s, box-shadow 0.4s;
    will-change: transform, box-shadow;
    position: relative;
    z-index: 1;
    filter: none;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 32px 8px rgba(0,212,255,0.18), 0 2px 8px rgba(0,212,255,0.10);
    }
    100% {
        box-shadow: 0 0 48px 16px rgba(0,212,255,0.32), 0 2px 16px rgba(0,212,255,0.18);
    }
}

@keyframes floatProfile {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

.profile-photo:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.18);
}

.profile-caption {
    display: none;
}

.hero-avatar {
    position: absolute;
    top: 110px;
    left: 60px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background-image:
        linear-gradient(#232526, #232526),
        linear-gradient(135deg, #ff416c, #ff4b2b, #ff6b6b);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 4px 18px rgba(255,65,108,0.18), 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
}

.avatar-photo:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(255,65,108,0.25), 0 4px 16px rgba(0,0,0,0.13);
}

.hero-inline-avatar {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.avatar-photo-inline {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background-image:
        linear-gradient(#232526, #232526),
        linear-gradient(135deg, #ff416c, #ff4b2b, #ff6b6b);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 2px 8px rgba(255,65,108,0.12), 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.avatar-photo-inline:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 18px rgba(255,65,108,0.18), 0 2px 8px rgba(0,0,0,0.10);
}

@media (max-width: 600px) {
    .hero-inline-avatar {
        gap: 0.7rem;
    }
    .avatar-photo-inline {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 900px) {
    .hero-avatar {
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .hero-content {
        padding: 1.2rem 0.5rem;
    }
    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    .profile-caption {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #2563eb;
}

.section-divider {
    width: 100%;
    height: 60px;
    line-height: 0;
    position: relative;
    margin-top: -2px;
    z-index: 10;
    background: transparent;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Tech Stack Section */
.tech-stack {
    position: relative;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), #000;
    background-size: 340px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center center;
    z-index: 1;
    overflow: hidden;
}
.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    z-index: 0;
}
.tech-stack .container, .tech-stack .section-title, .techstack-grid, .techstack-category, .techstack-items, .techstack-item {
    position: relative;
    z-index: 1;
}

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

.tech-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.tech-category h3 {
    color: #ff1744;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff1744, #00d4ff, #ff416c, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background-position 0.5s, transform 0.3s;
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-category h3:hover {
    background-position: 100% 0;
    transform: scale(1.08) rotate(-2deg);
    text-shadow: 0 0 12px #ff1744, 0 0 24px #00d4ff;
    cursor: pointer;
}

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

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-item {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Projects Section */
.projects {
    position: relative;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), #000;
    background-size: 340px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center center;
    z-index: 1;
    overflow: hidden;
}
.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    z-index: 0;
}
.projects .container, .projects .section-title, .projects-grid, .project-card, .project-header, .project-icon, .project-title, .project-links, .project-badges, .project-tagline, .project-features {
    position: relative;
    z-index: 1;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.project-card {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 1.5rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s;
    color: #fff;
    position: relative;
    overflow: visible;
    border: none;
}
.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: none;
    border: none;
}
.project-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.7rem;
    gap: 1rem;
}
.project-icon {
    position: static;
    top: unset;
    left: unset;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.project-icon img {
    width: 32px;
    height: 32px;
    display: block;
}
.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}
.project-links {
    display: flex;
    gap: 0.7rem;
}
.project-links a {
    color: #00d4ff;
    font-size: 1.2rem;
    background: #181a20;
    border-radius: 50%;
    padding: 0.3rem 0.4rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-links a:hover {
    background: #00d4ff;
    color: #fff;
}
.project-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}
.project-badges .tech-badge {
    background: #00d4ff;
    color: #fff;
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.project-tagline {
    font-size: 1.05rem;
    color: #ff416c;
    font-weight: 600;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
}
.project-features {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.project-features li {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1.2rem;
}
.project-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .project-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .project-icon {
        top: -18px;
        left: 0.7rem;
        padding: 0.4rem;
    }
    .project-icon img {
        width: 28px;
        height: 28px;
    }
}

/* Education Section */
.education {
    position: relative;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), #000;
    background-size: 340px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center center;
    z-index: 1;
    overflow: hidden;
}
.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    z-index: 0;
}
.education .container, .education .section-title, .education-timeline, .education-item, .education-header, .education-icon, .education-content, .education-degree, .education-year, .education-institution, .education-badge, .education-achievement {
    position: relative;
    z-index: 1;
}
.education-timeline {
    position: relative;
    margin: 3rem 0 0 0;
    padding-left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.education-timeline:before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff 0%, #ff416c 100%);
    border-radius: 2px;
    opacity: 0.18;
    z-index: 0;
}
.education-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}
.education-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,212,255,0.10), 0 2px 8px rgba(0,0,0,0.13);
}
.education-icon {
    min-width: 64px;
    min-height: 64px;
    background: linear-gradient(135deg, #232526 60%, #00d4ff 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(0,212,255,0.10);
    border: 4px solid #181a20;
    position: relative;
    z-index: 2;
    transition: background 0.3s, color 0.3s;
}
.education-item:hover .education-icon {
    background: linear-gradient(135deg, #ff416c 60%, #00d4ff 100%);
    color: #fff;
}
.education-content {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 1.5rem;
    min-width: 220px;
    flex: 1;
    transition: none;
}
.education-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.education-degree {
    background: #00d4ff;
    color: #fff;
    border-radius: 8px;
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.education-year {
    background: #232526;
    color: #00d4ff;
    border-radius: 8px;
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1.5px solid #00d4ff;
}
.education-institution {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.education-badge {
    background: #00d4ff;
    color: #fff;
    border-radius: 8px;
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.3rem;
}
.education-achievement {
    color: #ff416c;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.2rem;
}
.education-achievement span {
    color: #fff;
    font-weight: 700;
}
@media (max-width: 700px) {
    .education-timeline:before {
        left: 18px;
    }
    .education-icon {
        min-width: 38px;
        min-height: 38px;
        font-size: 1.2rem;
        border-width: 2px;
    }
    .education-content {
        padding: 0.7rem 0.7rem;
        min-width: 0;
    }
}

/* Certifications Section */
.certifications {
    position: relative;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), #000;
    background-size: 340px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center center;
    z-index: 1;
    overflow: hidden;
}
.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    z-index: 0;
}
.certifications .container, .certifications .section-title, .certifications-grid, .certification-card, .certification-icon, .certification-title, .certification-provider {
    position: relative;
    z-index: 1;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.certification-card {
    background: none;
    border-radius: 16px;
    box-shadow: none;
    padding: 0 1.5rem 0 1.5rem;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}
.certification-card:hover {
    transform: translateY(-8px) scale(1.04);
    background: rgba(0,212,255,0.07);
    box-shadow: 0 8px 24px rgba(0,212,255,0.10), 0 2px 8px rgba(0,0,0,0.13);
}
.certification-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.certification-icon img {
    width: 48px;
    height: 48px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,212,255,0.10));
}
.certification-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.3rem;
}
.certification-provider {
    background: #ff416c;
    color: #fff;
    border-radius: 8px;
    padding: 0.2rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.3rem;
    margin-top: 0.2rem;
}
@media (max-width: 600px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .certification-card {
        padding: 0 0.7rem 0 0.7rem;
    }
    .certification-icon img {
        width: 32px;
        height: 32px;
    }
}

/* Languages Section - Tech Cubes Background */
.languages {
    position: relative;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), #000;
    background-size: 340px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center center;
    z-index: 1;
    overflow: hidden;
    color: #fff;
}
.languages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    z-index: 0;
}
.languages .container, .languages .section-title, .languages-badges {
    position: relative;
    z-index: 1;
}
.languages-badges {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.language-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #2563eb 0%, #00d4ff 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 30px;
    padding: 0.5rem 1.3rem;
    box-shadow: 0 4px 16px rgba(0,212,255,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}
.language-badge .flag-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.10));
}
.language-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0,212,255,0.13);
}

/* Remove list styles */
.languages-list, .languages-list li { display: none !important; }

/* Simplified Contact Section */
.contact-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    background: none;
    box-shadow: none;
}
.contact-badge {
    background: none;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: unset;
    width: auto;
    max-width: unset;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
    transition: none;
}
.contact-badge-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}
.contact-badge-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.1rem;
}
.contact-badge a {
    color: #fff;
    font-size: 1.05rem;
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.2s;
}
.contact-badge a:hover {
    color: #ff416c;
}
.contact-badge i {
    font-size: 2.1rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255,65,108,0.18));
    transition: transform 0.2s, filter 0.2s;
}
.contact-badge:hover i {
    transform: scale(1.18) rotate(-3deg);
    filter: drop-shadow(0 4px 16px #ff416c) drop-shadow(0 2px 8px #ff4b2b);
    background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

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

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

    .education-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .education-year {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

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

    .container {
        padding: 0 15px;
    }
}

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

.hero-text, .project-card, .education-card, .certification-card, .language-card, .contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
} 

.avatar-photo-navbar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(135deg, #fff, #e0e0e0, #bdbdbd);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
    margin-left: 10px;
    vertical-align: middle;
    transition: transform 0.2s, box-shadow 0.2s;
}

.avatar-photo-navbar:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
} 

@media (max-width: 900px) {
  .nav-container {
    flex-direction: row;
  }
  .nav-menu.nav-left {
    flex: unset;
    width: 100%;
    justify-content: flex-start;
  }
  .nav-logo.nav-right {
    margin-left: 0;
  }
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    padding: 1.2rem 0.5rem;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .projects-grid, .techstack-grid, .hobbies-badges, .languages-badges, .contact-badges-grid {
    flex-direction: column !important;
    gap: 1.2rem !important;
    align-items: center;
  }
  .project-card, .techstack-category, .hobby-badge, .language-badge, .contact-badge {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    padding: 0.7rem 0.5rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #181a20;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
    padding: 2rem 0;
    z-index: 2001;
  }
  .nav-menu.active {
    left: 0;
  }
  .hamburger {
    display: flex;
    z-index: 2002;
  }
  .container {
    padding: 0 10px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .profile-placeholder {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.1rem;
  }
  .container {
    padding: 0 5px;
  }
  .nav-logo a {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .hobby-badge, .language-badge, .contact-badge {
    font-size: 0.95rem !important;
    padding: 0.4rem 0.7rem !important;
  }
}

body, html {
  max-width: 100vw;
  overflow-x: hidden;
}

.nav-link, .contact-btn, .social-link {
  min-height: 44px;
  min-width: 44px;
  font-size: 1rem;
} 

.techstack-grid img,
.techstack-items img,
.techstack-item img {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  min-width: 28px;
  min-height: 28px;
  object-fit: contain;
  display: block;
} 

.techstack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.techstack-item {
  min-width: 90px;
  max-width: 120px;
  padding: 0.5rem 0.7rem 0.2rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}
.techstack-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.techstack-item span {
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 600px) {
  .techstack-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.7rem !important;
    justify-items: center;
  }
  .techstack-item img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }
  .techstack-item {
    min-width: 70px;
    max-width: 100px;
    padding: 0.3rem 0.2rem 0.1rem 0.2rem;
    gap: 0.1rem;
  }
  .techstack-item span {
    font-size: 0.95rem !important;
  }
} 

.techstack-category {
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.techstack-category h3 {
    margin-bottom: 0.7rem;
}
.techstack-items {
    margin-top: 0;
    gap: 1.2rem;
}
.techstack-item img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s, filter 0.35s, background 0.35s;
    filter: drop-shadow(0 2px 8px #00d4ff33);
    border-radius: 16px;
    background: none;
}
.techstack-item img:hover {
    transform: scale(1.18) rotate(-8deg);
    filter: drop-shadow(0 3px 12px #ff174488) brightness(1.08) saturate(1.1);
    box-shadow: 0 0 10px 2px #ff174488;
    background: none;
    -webkit-background-clip: unset;
    animation: techElectric 0.5s;
}
@keyframes techElectric {
    0% { transform: scale(1.18) rotate(-8deg); }
    20% { transform: scale(1.22) rotate(8deg); }
    40% { transform: scale(1.18) rotate(-8deg); }
    60% { transform: scale(1.22) rotate(8deg); }
    100% { transform: scale(1.18) rotate(-8deg); }
}
.techstack-item {
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.techstack-item:hover {
    transform: translateY(-6px) scale(1.06);
    z-index: 2;
} 

.avatar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.65);
    transition: opacity 0.3s;
}
.avatar-modal.active {
    display: flex;
}
.avatar-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}
.avatar-modal-content {
    position: relative;
    z-index: 2;
    background: #181a20;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}
.avatar-modal-photo {
    max-width: 350px;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    margin-bottom: 1.2rem;
}
.avatar-modal-close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 2.2rem;
    color: #ff1744;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s, transform 0.2s;
}
.avatar-modal-close:hover {
    color: #ff416c;
    transform: scale(1.18) rotate(-8deg);
} 

.scroll-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
} 

.hero-divider {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
} 

.section-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.section-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.hero-divider {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-divider.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title-animate {
    opacity: 0;
    transform: translateY(30px);
    filter: none;
    letter-spacing: 0.5px;
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), letter-spacing 0.7s;
}
.section-title-animate.visible {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 1.5px;
    text-shadow: 0 1px 8px #fff8, 0 0 2px #fff6;
}
@keyframes bounceInTitle {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8) skewY(4deg);
        filter: blur(3px);
    }
    40% {
        opacity: 1;
        transform: translateY(-18px) scale(1.08) skewY(-2deg);
        filter: blur(0.5px);
    }
    60% {
        transform: translateY(8px) scale(0.98) skewY(1deg);
    }
    80% {
        transform: translateY(-4px) scale(1.03) skewY(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.08) skewY(0deg);
        filter: blur(0);
    }
}

.hobbies-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}
.hobby-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #ff1744 0%, #ff416c 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 16px rgba(255,23,68,0.10);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, filter 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
}
.hobby-badge:hover {
    transform: translateY(-3px) scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 32px 0 #ff1744, 0 0 24px #ff416c;
    background: linear-gradient(135deg, #ff416c 0%, #ff1744 100%);
    filter: brightness(1.08) saturate(1.2);
    animation: hobbyWiggle 0.4s;
}
@keyframes hobbyWiggle {
    0% { transform: translateY(-3px) scale(1.08) rotate(-2deg); }
    20% { transform: translateY(-3px) scale(1.12) rotate(2deg); }
    40% { transform: translateY(-3px) scale(1.08) rotate(-2deg); }
    60% { transform: translateY(-3px) scale(1.12) rotate(2deg); }
    100% { transform: translateY(-3px) scale(1.08) rotate(-2deg); }
} 

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: linear-gradient(90deg, #ff1744 0%, #ff416c 50%, #00d4ff 100%);
    z-index: 3001;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px #ff174488;
    transition: width 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 28px;
    padding: 0.5rem 1.1rem;
    margin-top: 0.7rem;
    border: 2px solid #868b97;
    box-shadow: none;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border 0.18s, transform 0.18s;
    position: relative;
    overflow: hidden;
}
.resume-btn i {
    font-size: 1.05rem;
}
.resume-btn:hover {
    background: #23272f11;
    color: #111;
    border-color: #111;
    transform: scale(1.03) translateY(-1px);
} 

.particle-dot {
    pointer-events: none;
    box-shadow: 0 0 12px 2px #fff8, 0 0 24px 4px #fff4;
    filter: blur(0.5px);
    transition: background 0.3s;
    will-change: transform, left, top;
}
#techstack-particles .particle-dot {
    box-shadow: 0 0 12px 2px #00d4ff88, 0 0 24px 4px #00d4ff44;
    background: #00d4ff;
} 