/* 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: #e2e8f0;
    background-color: #0f172a;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.nav-logo h2 {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.nav-link:hover {
    color: #f8fafc;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: width 0.3s ease;
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}



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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

/* Particles Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

.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-text-wrapper {
    margin-bottom: 2rem;
}

.hero-greeting {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    display: block;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: #fbbf24;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 1s both;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-glow {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(51, 65, 85, 0.5);
    color: #f8fafc;
    border: 2px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(148, 163, 184, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Profile Showcase */
.profile-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.6s ease 1.2s both;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 30px;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    animation: float-shape 8s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    background: linear-gradient(45deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3));
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(29, 78, 216, 0.3));
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.3));
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: 1s;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
}

@keyframes float-shape {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    33% { 
        transform: translateY(-20px) rotate(120deg) scale(1.1);
        opacity: 0.9;
    }
    66% { 
        transform: translateY(10px) rotate(240deg) scale(0.9);
        opacity: 0.5;
    }
}

.profile-container {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-effect {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-frame {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.full-profile-photo {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.full-profile-photo:hover {
    transform: scale(1.05);
}

.profile-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.profile-badge {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.profile-info h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-stats-mini {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

.stat-mini span {
    display: block;
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-mini label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 0.6s ease 1.4s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Floating Tech Icons with Orbital Animation */
.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tech-orbit {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-1 {
    top: 15%;
    left: 15%;
    animation: orbit-rotate 12s linear infinite;
}

.orbit-2 {
    top: 20%;
    right: 20%;
    animation: orbit-rotate 15s linear infinite reverse;
}

.orbit-3 {
    bottom: 25%;
    left: 25%;
    animation: orbit-rotate 18s linear infinite;
}

.orbit-4 {
    top: 50%;
    right: 10%;
    animation: orbit-rotate 14s linear infinite reverse;
}

.orbit-5 {
    bottom: 15%;
    right: 30%;
    animation: orbit-rotate 16s linear infinite;
}

.orbit-6 {
    top: 70%;
    left: 10%;
    animation: orbit-rotate 13s linear infinite reverse;
}

.tech-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: counter-rotate 12s linear infinite, float-tech 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.tech-icon i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Different colors for different tech icons */
.orbit-1 .tech-icon {
    background: linear-gradient(45deg, rgba(237, 117, 54, 0.3), rgba(237, 117, 54, 0.1));
}

.orbit-2 .tech-icon {
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.3), rgba(220, 38, 38, 0.1));
}

.orbit-3 .tech-icon {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
}

.orbit-4 .tech-icon {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1));
}

.orbit-5 .tech-icon {
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.1));
}

.orbit-6 .tech-icon {
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
}

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

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

@keyframes float-tech {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-8px) scale(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

.scroll-arrow i {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

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

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

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #f8fafc;
    position: relative;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

/* About Section */
.about {
    background-color: #1e293b;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.about-text h3 {
    font-size: 1.8rem;
    color: #60a5fa;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: #60a5fa;
    font-size: 1.2rem;
    width: 20px;
}

.contact-item span {
    color: #e2e8f0;
}

.education h3 {
    font-size: 1.8rem;
    color: #f8fafc;
    margin-bottom: 2rem;
    font-weight: 600;
}

.education-item {
    background: rgba(51, 65, 85, 0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #60a5fa;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.education-item h4 {
    color: #60a5fa;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-item p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.education-item span {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}



.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-date {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    margin: 0 2rem;
}

.timeline-content {
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex: 1;
    border-left: 4px solid #60a5fa;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(51, 65, 85, 0.8);
}

.timeline-content h3 {
    color: #60a5fa;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background-color: #0f172a;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.project-card {
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    background: rgba(51, 65, 85, 0.8);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.project-year {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.project-card h3 {
    color: #f8fafc;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

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

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

.tech-tag {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Awards Section */
.awards {
    background-color: #1e293b;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.award-card {
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    background: rgba(51, 65, 85, 0.8);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.award-card h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.award-card p {
    color: #60a5fa;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.award-card span {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Skills Header */
.skills-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.title-icon {
    display: inline-block;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.5rem;
    font-size: 2.5rem;
}

.skills-subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* New Skills Grid */
.skills-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .skills-grid-new {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .skills-grid-new {
        max-width: 900px;
        gap: 1.5rem;
    }
    
    .skill-category-new {
        min-height: 280px;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* New Skill Categories */
.skill-category-new {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.skill-category-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--category-color), transparent);
    transition: all 0.4s ease;
}

.skill-category-new.programming {
    --category-color: #38bdf8;
}

.skill-category-new.programming::before {
    background: linear-gradient(90deg, transparent, #38bdf8, #0ea5e9, transparent);
}

.skill-category-new.testing {
    --category-color: #fbbf24;
}

.skill-category-new.testing::before {
    background: linear-gradient(90deg, transparent, #fbbf24, #f59e0b, transparent);
}

.skill-category-new.tools {
    --category-color: #34d399;
}

.skill-category-new.tools::before {
    background: linear-gradient(90deg, transparent, #34d399, #10b981, transparent);
}

.skill-category-new.interests {
    --category-color: #f472b6;
}

.skill-category-new.interests::before {
    background: linear-gradient(90deg, transparent, #f472b6, #ec4899, transparent);
}

.skill-category-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(148, 163, 184, 0.3);
}

.skill-category-new:hover::before {
    height: 6px;
    box-shadow: 0 0 20px var(--category-color);
}

.skill-category {
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #60a5fa;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

/* New Skill Category Headers */
.skill-category-header-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.skill-icon-new {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.programming .skill-icon-new {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
}

.testing .skill-icon-new {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.tools .skill-icon-new {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
}

.interests .skill-icon-new {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: white;
}

.skill-category-header-new h3 {
    color: #f8fafc;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    background: rgba(51, 65, 85, 0.8);
}

/* New Skill Tags */
.skill-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    flex: 1;
    align-content: flex-start;
}

.skill-tag-new {
    background: rgba(51, 65, 85, 0.6);
    color: #e2e8f0;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.skill-tag-new:hover {
    transform: translateY(-2px);
    border-color: var(--category-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.programming .skill-tag-new:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
}

.testing .skill-tag-new:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
}

.tools .skill-tag-new:hover {
    background: rgba(52, 211, 153, 0.2);
    border-color: #34d399;
}

.interests .skill-tag-new:hover {
    background: rgba(244, 114, 182, 0.2);
    border-color: #f472b6;
}

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

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-tag {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* New Languages Section */
.languages-section-new {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.languages-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #818cf8, #6366f1, transparent);
}

.languages-header-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.languages-header-new .skill-icon-new {
    background: linear-gradient(135deg, #818cf8, #6366f1);
}

.languages-header-new h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

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

.language-item-new {
    background: rgba(51, 65, 85, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.language-item-new:hover {
    background: rgba(51, 65, 85, 0.6);
    transform: translateY(-2px);
}

.language-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.language-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #f8fafc;
}

.language-level {
    font-size: 0.9rem;
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.language-bar-new {
    height: 8px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.language-progress-new {
    height: 100%;
    border-radius: 8px;
    position: relative;
    transition: width 1s ease-in-out;
    background: linear-gradient(90deg, #818cf8, #6366f1);
}

.language-progress-new[data-width="100"] {
    width: 100%;
}

.language-progress-new[data-width="85"] {
    width: 85%;
}

.languages {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.languages h3 {
    text-align: center;
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.language-list {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.language-item span {
    font-weight: 500;
    color: #e2e8f0;
    min-width: 80px;
}

.language-bar {
    flex: 1;
    height: 8px;
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 4px;
    margin-left: 1rem;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    border-top: 4px solid #60a5fa;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.activity-card:hover {
    transform: translateY(-5px);
    background: rgba(51, 65, 85, 0.8);
}

.activity-card h3 {
    color: #60a5fa;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.activity-card p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.activity-card span {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: #1e293b;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.contact-info-section h3 {
    color: #f8fafc;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(51, 65, 85, 0.6);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.contact-detail i {
    color: #60a5fa;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-detail h4 {
    color: #f8fafc;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-detail p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 2rem 0;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

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

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

.social-links a {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(51, 65, 85, 0.5);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    color: #60a5fa;
    background: rgba(51, 65, 85, 0.8);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(51, 65, 85, 0.3);
        z-index: 999;
        gap: 1.5rem;
    }

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

    .nav-menu .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }
    


    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .profile-showcase {
        height: 400px;
    }
    
    .full-profile-photo {
        width: 160px;
        height: 220px;
    }
    
    .profile-stats-mini {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-mini {
        display: flex;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }
    
    .stat-mini span {
        font-size: 1rem;
    }
    
    .floating-tech-icons {
        display: none;
    }
    
    .animated-background .bg-shape {
        opacity: 0.5;
    }

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



    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-item .timeline-content {
        text-align: left !important;
    }

    .timeline-date {
        position: absolute;
        left: -40px;
        transform: rotate(-90deg);
        transform-origin: center;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

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

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

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

    .container {
        padding: 0 15px;
    }
}

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

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn span {
        display: inline;
    }
    
    .btn i {
        display: none;
    }

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

    .skills-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .skill-category-new {
        padding: 1.5rem;
        min-height: auto;
    }

    .skill-category-header-new {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        justify-content: flex-start;
    }

    .languages-section-new {
        padding: 2rem;
        margin: 0 1rem;
    }

    .language-list-new {
        gap: 1rem;
    }

    .language-item-new {
        padding: 1rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .profile-showcase {
        height: 350px;
    }
    
    .full-profile-photo {
        width: 140px;
        height: 200px;
    }
    
    .profile-container {
        padding: 1.5rem;
    }
    
    .profile-info h3 {
        font-size: 1.1rem;
    }
    
    .profile-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    .timeline-date {
        margin-left: 5px;
    }

    .language-list {
        gap: 2.5rem;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
}

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

.hero-content,
.timeline-item,
.skill-category,
.activity-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

