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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Developer-focused typography */
.code-accent {
    font-family: 'JetBrains Mono', monospace;
    color: #e83e8c;
    font-weight: 500;
}

.string-accent {
    font-family: 'JetBrains Mono', monospace;
    color: #20c997;
    font-weight: 500;
}

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

/* Page Progress Indicator */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
    pointer-events: none;
}

.page-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Section Navigation Dots */
.section-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.section-dot.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.section-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.section-dot::after {
    content: attr(data-section);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.section-dot:hover::after {
    opacity: 1;
}

/* Navigation - Simple Sticky Glassy Design */
.navbar {
    position: fixed;
    top: 10px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: auto;
    max-width: 600px;
    min-width: 400px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    z-index: 1000;
    padding: 0.8rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: none;
}

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

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #007bff;
}

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

.bar {
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 2px 0;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #1e293b;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    color: #0f172a;
}

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

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

.highlight {
    color: #1e40af;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #334155;
    font-family: 'JetBrains Mono', monospace;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #475569;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    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: rgba(255, 255, 255, 0.15);
    color: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #475569;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #1e293b;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

/* About Section - Toned Down Design */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #475569;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.skills h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
    text-align: center;
    font-weight: 700;
    position: relative;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

.skills h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.skills-category {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.category-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

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

.skill-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #333;
    padding: 1.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    will-change: transform;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
}

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

.skill-card:hover .skill-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.skill-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    color: #1e293b;
    position: relative;
    z-index: 2;
}

/* Experience Section - Toned Down Design */
.experience {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.experience-container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.experience-tree {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-content {
    width: 100%;
    position: relative;
}

.experience-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.experience-item.active {
    opacity: 1;
    transform: translateY(0);
    border-left: 4px solid rgba(102, 126, 234, 0.6);
    box-shadow: 0 16px 50px rgba(102, 126, 234, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.experience-item.active::before {
    opacity: 1;
}

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

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

.company-logo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.logo-placeholder {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.7rem;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.service-health-logo {
    background-color: #fff;
    border: 2px solid #e9ecef;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.3rem;
    font-family: 'JetBrains Mono', monospace;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    display: block;
}

.experience-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.duration,
.location {
    font-size: 0.85rem;
    color: #444;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.achievements {
    list-style: none;
    margin-bottom: 1.5rem;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.8rem;
}

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

.tech-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 10px rgba(31, 38, 135, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Removed technology-specific hover effects for tech badges */

/* Technology-specific gradients for tech badges */
.tech-badge.aws {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.4), rgba(255, 102, 0, 0.4));
    color: #333;
    border-color: rgba(255, 153, 0, 0.5);
}

.tech-badge.java {
    background: linear-gradient(135deg, rgba(237, 139, 0, 0.4), rgba(248, 152, 32, 0.4));
    color: #333;
    border-color: rgba(237, 139, 0, 0.5);
}

.tech-badge.spring {
    background: linear-gradient(135deg, rgba(109, 179, 63, 0.4), rgba(76, 175, 80, 0.4));
    color: #333;
    border-color: rgba(109, 179, 63, 0.5);
}

.tech-badge.docker {
    background: linear-gradient(135deg, rgba(36, 150, 237, 0.4), rgba(13, 183, 237, 0.4));
    color: #333;
    border-color: rgba(36, 150, 237, 0.5);
}

.tech-badge.kubernetes {
    background: linear-gradient(135deg, rgba(50, 108, 229, 0.4), rgba(66, 133, 244, 0.4));
    color: #333;
    border-color: rgba(50, 108, 229, 0.5);
}

.tech-badge.terraform {
    background: linear-gradient(135deg, rgba(98, 60, 228, 0.4), rgba(123, 66, 188, 0.4));
    color: #333;
    border-color: rgba(98, 60, 228, 0.5);
}

.tech-badge.github {
    background: linear-gradient(135deg, rgba(36, 41, 46, 0.4), rgba(88, 96, 105, 0.4));
    color: #333;
    border-color: rgba(36, 41, 46, 0.5);
}

.tech-badge.jenkins {
    background: linear-gradient(135deg, rgba(211, 56, 51, 0.4), rgba(240, 119, 108, 0.4));
    color: #333;
    border-color: rgba(211, 56, 51, 0.5);
}

.tech-badge.sonar {
    background: linear-gradient(135deg, rgba(78, 155, 205, 0.4), rgba(93, 173, 226, 0.4));
    color: #333;
    border-color: rgba(78, 155, 205, 0.5);
}

.tech-badge.python {
    background: linear-gradient(135deg, rgba(55, 118, 171, 0.4), rgba(255, 212, 59, 0.4));
    color: #333;
    border-color: rgba(55, 118, 171, 0.5);
}

.tech-badge.nodejs {
    background: linear-gradient(135deg, rgba(51, 153, 51, 0.4), rgba(104, 160, 99, 0.4));
    color: #333;
    border-color: rgba(51, 153, 51, 0.5);
}

.tech-badge.javascript {
    background: linear-gradient(135deg, rgba(247, 223, 30, 0.4), rgba(240, 219, 79, 0.4));
    color: #333;
    border-color: rgba(247, 223, 30, 0.5);
}

.tech-badge.typescript {
    background: linear-gradient(135deg, rgba(49, 120, 198, 0.4), rgba(0, 122, 204, 0.4));
    color: #333;
    border-color: rgba(49, 120, 198, 0.5);
}

.tech-badge.security {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.4), rgba(255, 107, 107, 0.4));
    color: #333;
    border-color: rgba(220, 53, 69, 0.5);
}

/* Removed skill card hover color effects */
.tech-badge.microsoft {
    background: linear-gradient(135deg, rgba(0, 188, 242, 0.4), rgba(0, 120, 212, 0.4));
    color: #333;
    border-color: rgba(0, 188, 242, 0.5);
}

.tech-badge.data {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(162, 155, 254, 0.4));
    color: #333;
    border-color: rgba(108, 92, 231, 0.5);
}

/* Modern Color-Coded Skill Cards */
.skill-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotate(5deg);
}

/* AWS - Orange Theme */
.skill-card.aws {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.2), rgba(255, 102, 0, 0.1));
    border-color: rgba(255, 153, 0, 0.3);
}

.skill-card.aws:hover {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.3), rgba(255, 102, 0, 0.2));
    box-shadow: 0 20px 40px rgba(255, 153, 0, 0.2);
}

/* Java - Orange/Red Theme */
.skill-card.java {
    background: linear-gradient(135deg, rgba(237, 139, 0, 0.2), rgba(248, 152, 32, 0.1));
    border-color: rgba(237, 139, 0, 0.3);
}

.skill-card.java:hover {
    background: linear-gradient(135deg, rgba(237, 139, 0, 0.3), rgba(248, 152, 32, 0.2));
    box-shadow: 0 20px 40px rgba(237, 139, 0, 0.2);
}

/* Spring - Green Theme */
.skill-card.spring {
    background: linear-gradient(135deg, rgba(109, 179, 63, 0.2), rgba(76, 175, 80, 0.1));
    border-color: rgba(109, 179, 63, 0.3);
}

.skill-card.spring:hover {
    background: linear-gradient(135deg, rgba(109, 179, 63, 0.3), rgba(76, 175, 80, 0.2));
    box-shadow: 0 20px 40px rgba(109, 179, 63, 0.2);
}

/* Docker - Blue Theme */
.skill-card.docker {
    background: linear-gradient(135deg, rgba(36, 150, 237, 0.2), rgba(13, 183, 237, 0.1));
    border-color: rgba(36, 150, 237, 0.3);
}

.skill-card.docker:hover {
    background: linear-gradient(135deg, rgba(36, 150, 237, 0.3), rgba(13, 183, 237, 0.2));
    box-shadow: 0 20px 40px rgba(36, 150, 237, 0.2);
}

/* Kubernetes - Blue Theme */
.skill-card.kubernetes {
    background: linear-gradient(135deg, rgba(50, 108, 229, 0.2), rgba(66, 133, 244, 0.1));
    border-color: rgba(50, 108, 229, 0.3);
}

.skill-card.kubernetes:hover {
    background: linear-gradient(135deg, rgba(50, 108, 229, 0.3), rgba(66, 133, 244, 0.2));
    box-shadow: 0 20px 40px rgba(50, 108, 229, 0.2);
}

/* Terraform - Purple Theme */
.skill-card.terraform {
    background: linear-gradient(135deg, rgba(98, 60, 228, 0.2), rgba(123, 66, 188, 0.1));
    border-color: rgba(98, 60, 228, 0.3);
}

.skill-card.terraform:hover {
    background: linear-gradient(135deg, rgba(98, 60, 228, 0.3), rgba(123, 66, 188, 0.2));
    box-shadow: 0 20px 40px rgba(98, 60, 228, 0.2);
}

/* GitHub - Dark Theme */
.skill-card.github {
    background: linear-gradient(135deg, rgba(36, 41, 46, 0.2), rgba(88, 96, 105, 0.1));
    border-color: rgba(36, 41, 46, 0.3);
}

.skill-card.github:hover {
    background: linear-gradient(135deg, rgba(36, 41, 46, 0.3), rgba(88, 96, 105, 0.2));
    box-shadow: 0 20px 40px rgba(36, 41, 46, 0.2);
}

/* Jenkins - Red Theme */
.skill-card.jenkins {
    background: linear-gradient(135deg, rgba(211, 56, 51, 0.2), rgba(240, 119, 108, 0.1));
    border-color: rgba(211, 56, 51, 0.3);
}

.skill-card.jenkins:hover {
    background: linear-gradient(135deg, rgba(211, 56, 51, 0.3), rgba(240, 119, 108, 0.2));
    box-shadow: 0 20px 40px rgba(211, 56, 51, 0.2);
}

/* SonarQube - Blue Theme */
.skill-card.sonar {
    background: linear-gradient(135deg, rgba(78, 155, 205, 0.2), rgba(93, 173, 226, 0.1));
    border-color: rgba(78, 155, 205, 0.3);
}

.skill-card.sonar:hover {
    background: linear-gradient(135deg, rgba(78, 155, 205, 0.3), rgba(93, 173, 226, 0.2));
    box-shadow: 0 20px 40px rgba(78, 155, 205, 0.2);
}

/* JavaScript - Yellow Theme */
.skill-card.javascript {
    background: linear-gradient(135deg, rgba(247, 223, 30, 0.2), rgba(240, 219, 79, 0.1));
    border-color: rgba(247, 223, 30, 0.3);
}

.skill-card.javascript:hover {
    background: linear-gradient(135deg, rgba(247, 223, 30, 0.3), rgba(240, 219, 79, 0.2));
    box-shadow: 0 20px 40px rgba(247, 223, 30, 0.2);
}

/* TypeScript - Blue Theme */
.skill-card.typescript {
    background: linear-gradient(135deg, rgba(49, 120, 198, 0.2), rgba(0, 122, 204, 0.1));
    border-color: rgba(49, 120, 198, 0.3);
}

.skill-card.typescript:hover {
    background: linear-gradient(135deg, rgba(49, 120, 198, 0.3), rgba(0, 122, 204, 0.2));
    box-shadow: 0 20px 40px rgba(49, 120, 198, 0.2);
}

/* Node.js - Green Theme */
.skill-card.nodejs {
    background: linear-gradient(135deg, rgba(51, 153, 51, 0.2), rgba(104, 160, 99, 0.1));
    border-color: rgba(51, 153, 51, 0.3);
}

.skill-card.nodejs:hover {
    background: linear-gradient(135deg, rgba(51, 153, 51, 0.3), rgba(104, 160, 99, 0.2));
    box-shadow: 0 20px 40px rgba(51, 153, 51, 0.2);
}

/* GraphQL - Pink Theme */
.skill-card.graphql {
    background: linear-gradient(135deg, rgba(225, 0, 152, 0.2), rgba(255, 105, 180, 0.1));
    border-color: rgba(225, 0, 152, 0.3);
}

.skill-card.graphql:hover {
    background: linear-gradient(135deg, rgba(225, 0, 152, 0.3), rgba(255, 105, 180, 0.2));
    box-shadow: 0 20px 40px rgba(225, 0, 152, 0.2);
}

/* Prometheus - Orange Theme */
.skill-card.prometheus {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.2), rgba(241, 196, 15, 0.1));
    border-color: rgba(230, 126, 34, 0.3);
}

.skill-card.prometheus:hover {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.3), rgba(241, 196, 15, 0.2));
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.2);
}

/* Grafana - Orange Theme */
.skill-card.grafana {
    background: linear-gradient(135deg, rgba(242, 73, 92, 0.2), rgba(255, 115, 131, 0.1));
    border-color: rgba(242, 73, 92, 0.3);
}

.skill-card.grafana:hover {
    background: linear-gradient(135deg, rgba(242, 73, 92, 0.3), rgba(255, 115, 131, 0.2));
    box-shadow: 0 20px 40px rgba(242, 73, 92, 0.2);
}

/* Elasticsearch - Yellow Theme */
.skill-card.elasticsearch {
    background: linear-gradient(135deg, rgba(254, 220, 97, 0.2), rgba(255, 235, 59, 0.1));
    border-color: rgba(254, 220, 97, 0.3);
}

.skill-card.elasticsearch:hover {
    background: linear-gradient(135deg, rgba(254, 220, 97, 0.3), rgba(255, 235, 59, 0.2));
    box-shadow: 0 20px 40px rgba(254, 220, 97, 0.2);
}

/* Git - Red Theme */
.skill-card.git {
    background: linear-gradient(135deg, rgba(240, 80, 51, 0.2), rgba(255, 99, 71, 0.1));
    border-color: rgba(240, 80, 51, 0.3);
}

.skill-card.git:hover {
    background: linear-gradient(135deg, rgba(240, 80, 51, 0.3), rgba(255, 99, 71, 0.2));
    box-shadow: 0 20px 40px rgba(240, 80, 51, 0.2);
}

/* Jira - Blue Theme */
.skill-card.jira {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.2), rgba(38, 132, 255, 0.1));
    border-color: rgba(0, 82, 204, 0.3);
}

.skill-card.jira:hover {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.3), rgba(38, 132, 255, 0.2));
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.2);
}

/* Bash - Dark Theme */
.skill-card.bash {
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.2), rgba(108, 117, 125, 0.1));
    border-color: rgba(52, 58, 64, 0.3);
}

.skill-card.bash:hover {
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.3), rgba(108, 117, 125, 0.2));
    box-shadow: 0 20px 40px rgba(52, 58, 64, 0.2);
}

/* Projects Section - Toned Down Design */
.projects {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    will-change: transform;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

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

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

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-placeholder {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

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

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.025em;
}

.project-description {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

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

.tech-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

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

.project-link:hover {
    color: #0056b3;
}

/* Contact Section - Toned Down Design */
.contact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    color: #1e293b;
    padding: 100px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Removed contact-content container */

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-description {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4c51bf 0%, #6b46c1 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    border-top: 5px solid rgba(255, 255, 255, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    /* Mobile navbar - simple sticky design */
    .navbar {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 0;
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
        max-width: none;
    }

    .nav-logo {
        display: block;
    }

    .nav-logo a {
        font-size: 1.2rem;
        color: #333;
        text-decoration: none;
        font-family: 'JetBrains Mono', monospace;
        font-weight: 700;
    }

    /* Mobile hamburger menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu .nav-link {
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        border-radius: 0;
        color: #333;
        font-size: 1rem;
    }

    .nav-menu .nav-link:hover {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

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

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .experience-container {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-indicator {
        position: relative;
        width: 100%;
        height: 60px;
        top: auto;
        transform: none;
    }

    .timeline-line {
        width: 100%;
        height: 3px;
    }

    .timeline-dots {
        flex-direction: row;
        width: 100%;
        height: auto;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 20px;
    }

    .experience-item {
        padding: 1.5rem;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .experience-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-nav {
        right: 15px;
        gap: 0.8rem;
    }

    .section-dot {
        width: 10px;
        height: 10px;
    }

    .section-dot::after {
        display: none;
    }
}

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

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

/*
 Animation classes for performance optimization */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Optimize will-change usage */
.experience-item:hover,
.tech-badge:hover,
.project-card:hover {
    will-change: transform;
}

/* Remove will-change when not needed */
.experience-item,
.tech-badge,
.project-card {
    will-change: auto;
}

/* Anim
ation delay classes for staggered animations */
.delay-0 {
    transition-delay: 0s;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Optimize performance for animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .delay-1,
    .delay-2,
    .delay-3,
    .delay-4,
    .delay-5 {
        transition-delay: 0s !important;
    }
}

/* Hardware acceleration for smoother scrolling */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Desktop navbar centering - ensure it works on larger screens */
@media screen and (min-width: 769px) {
    .navbar {
        position: fixed !important;
        top: 10px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: 600px !important;
        min-width: 400px !important;
        margin: 0 auto !important;
    }

    .nav-logo {
        display: none !important;
    }

    .nav-container {
        justify-content: center !important;
        padding: 0 !important;
    }
}

/* Reduce paint operations during scroll */
.navbar,
.section-nav,
.page-progress {
    transform: translateZ(0);
    backface-visibility: hidden;
}