/* Global Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors - Light Blue & Dark Blue */
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --accent-color: #2563eb;
    --text-color: #0f172a;
    --bg-color: #eff6ff;
    --card-bg: rgba(239, 246, 255, 0.7);
    --border-color: rgba(147, 197, 253, 0.3);
    --shadow: rgba(59, 130, 246, 0.15);
    --code-bg: rgba(219, 234, 254, 0.8);
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-2: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    --gradient-3: linear-gradient(135deg, #93c5fd 0%, #3b82f6 100%);
    --glass-bg: rgba(239, 246, 255, 0.25);
    --glass-border: rgba(147, 197, 253, 0.18);
    --heading-color: #0c1a2e;
    
    /* Responsive Spacing */
    --container-padding: 2rem;
    --section-padding: 5rem;
    --card-padding: 2rem;
    --gap-small: 1rem;
    --gap-medium: 2rem;
    --gap-large: 3rem;
}

[data-theme="dark"] {
    /* Dark Theme Colors - Dark Blue & Navy */
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #93c5fd;
    --text-color: #f0f9ff;
    --bg-color: #0c1a2e;
    --card-bg: rgba(15, 23, 42, 0.7);
    --border-color: rgba(59, 130, 246, 0.2);
    --shadow: rgba(0, 0, 0, 0.5);
    --code-bg: rgba(30, 58, 138, 0.8);
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(59, 130, 246, 0.1);
    --heading-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #60a5fa 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
}

/* Typography for better readability in light mode */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

p, span, a, li {
    color: var(--text-color);
}

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

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0;
}

.particle:nth-child(1) { width: 80px; height: 80px; background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent); left: 10%; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { width: 60px; height: 60px; background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent); left: 20%; animation-duration: 30s; animation-delay: 2s; }
.particle:nth-child(3) { width: 100px; height: 100px; background: radial-gradient(circle, rgba(147, 197, 253, 0.2), transparent); left: 35%; animation-duration: 28s; animation-delay: 4s; }
.particle:nth-child(4) { width: 70px; height: 70px; background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent); left: 50%; animation-duration: 32s; animation-delay: 1s; }
.particle:nth-child(5) { width: 90px; height: 90px; background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent); left: 65%; animation-duration: 27s; animation-delay: 3s; }
.particle:nth-child(6) { width: 75px; height: 75px; background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent); left: 75%; animation-duration: 29s; animation-delay: 5s; }
.particle:nth-child(7) { width: 85px; height: 85px; background: radial-gradient(circle, rgba(147, 197, 253, 0.3), transparent); left: 85%; animation-duration: 26s; animation-delay: 2.5s; }
.particle:nth-child(8) { width: 65px; height: 65px; background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent); left: 15%; animation-duration: 31s; animation-delay: 4.5s; }
.particle:nth-child(9) { width: 95px; height: 95px; background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent); left: 45%; animation-duration: 33s; animation-delay: 1.5s; }
.particle:nth-child(10) { width: 80px; height: 80px; background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent); left: 60%; animation-duration: 28s; animation-delay: 3.5s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}



/* Animated Grid Lines */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: slide-line linear infinite;
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    top: 0;
}

.grid-line:nth-child(1) { top: 10%; animation-duration: 8s; animation-delay: 0s; }
.grid-line:nth-child(2) { top: 30%; animation-duration: 12s; animation-delay: 2s; }
.grid-line:nth-child(3) { top: 50%; animation-duration: 10s; animation-delay: 4s; }
.grid-line:nth-child(4) { top: 70%; animation-duration: 14s; animation-delay: 1s; }
.grid-line:nth-child(5) { top: 90%; animation-duration: 11s; animation-delay: 3s; }
.grid-line.vertical:nth-child(6) { left: 15%; animation-duration: 9s; animation-delay: 1.5s; }
.grid-line.vertical:nth-child(7) { left: 45%; animation-duration: 13s; animation-delay: 3.5s; }
.grid-line.vertical:nth-child(8) { left: 75%; animation-duration: 11s; animation-delay: 2.5s; }



.grid-line.vertical {
    animation-name: slide-line-vertical;
}



body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(236, 72, 153, 0.12) 0%, transparent 50%);
    background-size: 100% 100%;
    animation: floatBackground 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

[data-theme="dark"] body::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(236, 72, 153, 0.18) 0%, transparent 50%);
}

[data-theme="dark"] body::after {
    opacity: 0.06;
}







/* Loading Screen */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 25%, #1e40af 50%, #3b82f6 75%, #60a5fa 100%);
    background-size: 400% 400%;
    animation: gradientWave 8s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}



.loading::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(96, 165, 250, 0.1) 30px,
            rgba(96, 165, 250, 0.1) 60px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 30px,
            rgba(37, 99, 235, 0.08) 30px,
            rgba(37, 99, 235, 0.08) 60px
        );
    animation: moveBackground 25s linear infinite;
}



.loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.loading-logo {
    margin-bottom: 20px;
}

.loading-icon {
    font-size: 5em;
    color: white;
    animation: floatIcon 3s ease-in-out infinite, colorShift 6s ease-in-out infinite;
    text-shadow: 
        0 0 20px rgba(96, 165, 250, 0.8),
        0 0 40px rgba(59, 130, 246, 0.6),
        0 0 60px rgba(37, 99, 235, 0.4);
}





.loading-animation {
    margin-bottom: 30px;
}

.code-brackets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 3em;
    font-weight: 700;
    color: white;
    font-family: 'Fira Code', monospace;
}

.bracket {
    animation: pulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.bracket i {
    font-size: 0.8em;
}

.bracket.left {
    animation-delay: 0s;
}

.bracket.right {
    animation-delay: 0.2s;
}

.loading-text {
    display: flex;
    gap: 5px;
}

.name-letter {
    animation: bounce 0.8s ease-in-out;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.name-letter:nth-child(1) { animation-delay: 0s; }
.name-letter:nth-child(2) { animation-delay: 0.05s; }
.name-letter:nth-child(3) { animation-delay: 0.1s; }
.name-letter:nth-child(4) { animation-delay: 0.15s; }
.name-letter:nth-child(5) { animation-delay: 0.2s; }
.name-letter:nth-child(6) { animation-delay: 0.25s; }





.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, #f0f0f0);
    border-radius: 10px;
    animation: loadProgress 0.8s ease-in-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}



.loading-message {
    color: white;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadeInOut 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-message i {
    animation: rocket 2s ease-in-out infinite;
}





.loading-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.loading-icons i {
    font-size: 2.5em;
    color: white;
    animation: techIconFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.loading-icons i:nth-child(1) { animation-delay: 0s; color: #e34c26; }
.loading-icons i:nth-child(2) { animation-delay: 0.2s; color: #264de4; }
.loading-icons i:nth-child(3) { animation-delay: 0.4s; color: #f7df1e; }
.loading-icons i:nth-child(4) { animation-delay: 0.6s; color: #777bb4; }
.loading-icons i:nth-child(5) { animation-delay: 0.8s; color: #3776ab; }
.loading-icons i:nth-child(6) { animation-delay: 1s; color: #61dafb; }



.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}



/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Floating Particles */
.section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: floatParticles 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}



/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.navbar.scrolled {
    box-shadow: 0 4px 6px var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Section */
.section {
    padding: 5rem 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Section */
.section {
    padding: 5rem 0;
    min-height: 100vh;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 3rem;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Hero Section - Professional Minimalist Design */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-greeting-text {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.hero-name {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: var(--heading-color);
}

[data-theme="dark"] .hero-role {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #2563eb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: roleSlideIn 1s ease-out, roleGradientPush 3s ease-in-out infinite 1s;
}





.hero-role-animated {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.role-letter {
    display: inline-block;
    color: var(--heading-color);
}

[data-theme="dark"] .role-letter {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #2563eb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: roleGradientFlow 4s ease infinite, roleLetterFloat 3s ease-in-out infinite;
    position: relative;
}

.role-letter:nth-child(1) { animation-delay: 0s, 0s; }
.role-letter:nth-child(2) { animation-delay: 0.05s, 0.1s; }
.role-letter:nth-child(3) { animation-delay: 0.1s, 0.2s; }
.role-letter:nth-child(4) { animation-delay: 0.15s, 0.3s; }
.role-letter:nth-child(5) { animation-delay: 0.2s, 0.4s; }
.role-letter:nth-child(6) { animation-delay: 0.25s, 0.5s; }
.role-letter:nth-child(7) { animation-delay: 0.3s, 0.6s; }
.role-letter:nth-child(8) { animation-delay: 0.35s, 0.7s; }
.role-letter:nth-child(9) { animation-delay: 0.4s, 0.8s; }
.role-letter:nth-child(10) { animation-delay: 0.45s, 0.9s; }
.role-letter:nth-child(11) { animation-delay: 0.5s, 1s; }
.role-letter:nth-child(12) { animation-delay: 0.55s, 1.1s; }
.role-letter:nth-child(13) { animation-delay: 0.6s, 1.2s; }
.role-letter:nth-child(14) { animation-delay: 0.65s, 1.3s; }
.role-letter:nth-child(15) { animation-delay: 0.7s, 1.4s; }
.role-letter:nth-child(16) { animation-delay: 0.75s, 1.5s; }
.role-letter:nth-child(17) { animation-delay: 0.8s, 1.6s; }
.role-letter:nth-child(18) { animation-delay: 0.85s, 1.7s; }
.role-letter:nth-child(19) { animation-delay: 0.9s, 1.8s; }
.role-letter:nth-child(20) { animation-delay: 0.95s, 1.9s; }
.role-letter:nth-child(21) { animation-delay: 1s, 2s; }
.role-letter:nth-child(22) { animation-delay: 1.05s, 2.1s; }
.role-letter:nth-child(23) { animation-delay: 1.1s, 2.2s; }
.role-letter:nth-child(24) { animation-delay: 1.15s, 2.3s; }
.role-letter:nth-child(25) { animation-delay: 1.2s, 2.4s; }
.role-letter:nth-child(26) { animation-delay: 1.25s, 2.5s; }
.role-letter:nth-child(27) { animation-delay: 1.3s, 2.6s; }
.role-letter:nth-child(28) { animation-delay: 1.35s, 2.7s; }
.role-letter:nth-child(29) { animation-delay: 1.4s, 2.8s; }
.role-letter:nth-child(30) { animation-delay: 1.45s, 2.9s; }

.role-separator {
    display: inline-block;
    color: var(--primary-color);
    margin: 0 0.3rem;
    opacity: 0.6;
    font-weight: 400;
}





.hero-description-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-transform: uppercase;
}

.btn-download {
    background: var(--gradient-1);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.btn-hire {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-hire:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Profile Badge Container - Circular Design */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-badge-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-circle {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateBadge 20s linear infinite;
}



.badge-ring {
    position: absolute;
    border-radius: 50%;
}

.blue-ring {
    width: 100%;
    height: 100%;
    border: 12px solid #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.white-ring {
    width: 90%;
    height: 90%;
    border: 8px solid #ffffff;
}

[data-theme="dark"] .white-ring {
    border-color: #1e293b;
}

.brown-ring {
    width: 82%;
    height: 82%;
    border: 3px solid #78350f;
}

.profile-circle {
    position: relative;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: reverseRotate 20s linear infinite;
}



.profile-circle .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.badge-text-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.badge-text {
    fill: var(--text-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

/* Old profile image container styles (keeping for compatibility) */
.profile-image-container {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-1);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.profile-image-container .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}



.mouse-icon {
    width: 28px;
    height: 45px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
    opacity: 0.6;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseWheel 2s ease-in-out infinite;
}



.scroll-indicator p {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-color);
    opacity: 0.5;
    text-transform: uppercase;
}
    font-size: 0.85rem;
    font-weight: 500;
/* Card - Glassmorphism */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
}

/* About Section - Professional Design */
.about-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-profile-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 520px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 3px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.about-profile-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.4);
    border-color: var(--primary-color);
}

.about-profile-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-1);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-profile-frame:hover::before {
    opacity: 0.5;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.85;
    margin: 0;
}

.about-intro strong,
.about-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px 0 rgba(59, 130, 246, 0.3);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* GitHub Stats Section */
.github-stats-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.github-stats-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.github-stats-title i {
    font-size: 2rem;
}

.github-stats-content {
    max-width: 900px;
    margin: 0 auto;
}

.github-profile-link {
    text-align: center;
    margin-bottom: 2rem;
}

.github-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.github-view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.github-view-btn i {
    font-size: 1.5rem;
}

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

.github-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.github-highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.github-highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 2rem;
}

.github-highlight-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.github-highlight-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

[data-theme="dark"] .github-highlight-item {
    background: rgba(59, 130, 246, 0.15);
}

/* Education Section */
.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-item {
    display: flex;
    gap: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--primary-color);
}

.education-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.education-content {
    flex: 1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.education-degree {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.education-duration {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.education-institution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.education-institution i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.education-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.education-location i {
    color: var(--primary-color);
}

.education-status {
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.status-badge.completed {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.education-achievement {
    margin-bottom: 1rem;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.achievement-badge i {
    font-size: 1.1rem;
}

.education-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

.education-description p {
    margin: 0;
}

@media (max-width: 768px) {
    .education-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .education-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .education-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .education-degree {
        font-size: 1.3rem;
    }
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.skill-category {
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.8rem;
}

[data-theme="dark"] .skill-category-title {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.skill-category h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

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

.skill-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.65rem 1.3rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skill-tag i {
    font-size: 1rem;
    width: 1rem;
    text-align: center;
}

[data-theme="dark"] .skill-tag {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid var(--primary-color);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Brand Color Icons for Skills */
.skill-tag .fa-java { color: #007396; }
.skill-tag .fa-python { color: #3776AB; }
.skill-tag .fa-php { color: #777BB4; }
.skill-tag .fa-js, .skill-tag .fa-js-square { color: #F7DF1E; }
.skill-tag .fa-html5 { color: #E34F26; }
.skill-tag .fa-css3-alt { color: #1572B6; }
.skill-tag .fa-react { color: #61DAFB; }
.skill-tag .fa-bootstrap { color: #7952B3; }
.skill-tag .fa-node-js { color: #339933; }
.skill-tag .fa-git-alt { color: #F05032; }
.skill-tag .fa-github { color: #181717; }
.skill-tag .fa-aws { color: #FF9900; }
.skill-tag .fa-microsoft { color: #00A4EF; }
.skill-tag .fa-google { color: #4285F4; }
.skill-tag .fa-figma { color: #F24E1E; }
.skill-tag .fa-image { color: #31A8FF; }
.skill-tag .fa-vector-square { color: #FF7C00; }
.skill-tag .fa-database { color: #4479A1; }
.skill-tag .fa-mobile-alt { color: #34A853; }
.skill-tag .fa-shield-alt { color: #00BCEB; }
.skill-tag .fa-lock { color: #FFB800; }
.skill-tag .fa-network-wired { color: #0078D4; }
.skill-tag .fa-paint-brush { color: #00C4CC; }
.skill-tag .fa-laptop-code { color: #000000; }
.skill-tag .fa-code { color: #00599C; }
.skill-tag .fa-file-excel { color: #217346; }
.skill-tag .fa-file-word { color: #2B579A; }
.skill-tag .fa-file-powerpoint { color: #D24726; }
.skill-tag .fa-robot { color: #00D9FF; }

/* Light background for better icon visibility */
.skill-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .skill-tag {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-color);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .skill-tag .fa-github { color: #ffffff; }
[data-theme="dark"] .skill-tag .fa-laptop-code { color: #FF6B57; }

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border: 2px solid rgba(59, 130, 246, 0.25);
    background: rgba(15, 23, 42, 0.6);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.8);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

/* Certificate Filters - Same styling as project filters */
.certificate-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cert-filter-btn {
    padding: 0.8rem 1.8rem;
    border: 2px solid rgba(59, 130, 246, 0.25);
    background: rgba(15, 23, 42, 0.6);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cert-filter-btn:hover {
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.8);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cert-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: none;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: none;
    height: 100%;
    max-width: 100%;
    transform: none !important;
}

[data-theme="dark"] .project-card {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(59, 130, 246, 0.3);
}

.project-card:hover {
    transform: none;
    border-color: var(--primary-color);
    box-shadow: none;
}

.project-card.hidden {
    display: none;
}

.project-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin: 0;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.project-card:hover .project-image img {
    transform: none;
}

.project-card::before {
    display: none;
}

.project-card:hover::before {
    display: none;
}

.featured-project {
    grid-column: span 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid var(--primary-color);
    box-shadow: 0 15px 45px 0 rgba(59, 130, 246, 0.2);
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 0.5rem;
}

.project-icon {
    display: none;
}

.project-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    line-height: 1.3;
}

[data-theme="dark"] .project-title {
    color: #f0f9ff;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    padding: 0 1rem 1rem 1rem;
    margin-top: 0.75rem;
}

.project-link {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: rgba(59, 130, 246, 0.15);
    color: #0f172a;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-align: center;
}

[data-theme="dark"] .project-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.project-link:hover {
    background: rgba(59, 130, 246, 0.25);
    color: #0f172a;
    transform: none;
    box-shadow: none;
    border-color: rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .project-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.live-demo {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #0f172a;
    border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .live-demo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(139, 92, 246, 0.6));
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
}

.live-demo:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
    color: #0f172a;
    border-color: rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .live-demo:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    border-color: rgba(99, 102, 241, 0.7);
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    opacity: 1;
    margin-bottom: 1.2rem;
    padding: 0 1.5rem;
    font-weight: 500;
}

[data-theme="dark"] .project-description {
    color: #f0f9ff;
    opacity: 0.85;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.feature-badge {
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    transition: none;
}

[data-theme="dark"] .feature-badge {
    background: rgba(99, 102, 241, 0.2);
    color: #f0f9ff;
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-badge:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    transform: none;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: auto;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
    color: #0f172a;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: none;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .tech-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    color: white;
    border: none;
}

.tech-tag:hover {
    transform: none;
    box-shadow: none;
}

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

.certificate-card {
    text-align: center;
    transition: none;
}

.certificate-card:hover {
    transform: none;
    border-color: var(--primary-color);
}

.certificate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Brand-specific certificate icon colors */
.certificate-icon .fa-python {
    color: #3776AB;
}

.certificate-icon .fa-java {
    color: #007396;
}

.certificate-icon .fa-html5 {
    color: #E34F26;
}

.certificate-icon .fa-css3-alt {
    color: #1572B6;
}

.certificate-icon .fa-database {
    color: #00758F;
}

.certificate-icon .fa-shield-alt {
    color: #00BCEB;
}

.certificate-icon .fa-cloud {
    color: #FF9900;
}

.certificate-icon .fa-hackerrank {
    color: #2EC866;
}

.certificate-icon .fa-globe {
    color: #4A90E2;
}

.certificate-icon .fa-microsoft {
    color: #00A4EF;
}

.certificate-icon .fa-github {
    color: #181717;
}

.certificate-icon .fa-google {
    color: #4285F4;
}

.certificate-icon .fa-linux {
    color: #FCC624;
}

.certificate-icon .fa-robot {
    color: #00D9FF;
}

.certificate-icon .fa-aws {
    color: #FF9900;
}

[data-theme="dark"] .certificate-icon .fa-github {
    color: #ffffff;
}

.certificate-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.certificate-issuer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.certificate-date {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.certificate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.cert-skill-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.certificate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.certificate-link i {
    font-size: 0.85rem;
}

/* See More Button */
.see-more-container {
    text-align: center;
    margin-top: 3rem;
}

.see-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.see-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.see-more-btn i {
    transition: transform 0.3s ease;
}

.certificate-hidden {
    display: none;
}

.certificate-extra {
    animation: fadeIn 0.5s ease;
}

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

/* AI/ML Section - Additional Styles */
.aiml-content {
    margin-top: 2rem;
}

.aiml-info h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.learning-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.learning-icon {
    font-size: 2rem;
}

.learning-content h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.learning-content p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}   padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Contact Form */
.contact-form h3 {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -8px 32px 0 rgba(31, 38, 135, 0.15);
}   outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    opacity: 0.8;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}



/* ========================================
   RESPONSIVE DESIGN - Mobile Optimized
   ======================================== */

/* Tablet and Small Desktop (max-width: 968px) */
@media (max-width: 968px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 4rem;
        --card-padding: 1.5rem;
        --gap-small: 0.75rem;
        --gap-medium: 1.5rem;
        --gap-large: 2.5rem;
    }

    .container {
        padding: 0 2rem;
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border-color);
        z-index: 999;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 3rem;
    }

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

    .hero-image {
        order: -1;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .profile-badge-container {
        width: 300px;
        height: 300px;
    }

    .badge-text {
        font-size: 12px;
        letter-spacing: 6px;
    }

    .profile-image-container {
        width: 300px;
        height: 375px;
    }

    .hero-name {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .hero-role {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-role-animated {
        font-size: 1.2rem;
        justify-content: center;
    }

    .hero-description-text {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .about-image-container {
        order: -1;
        margin-bottom: 1rem;
    }

    .about-profile-frame {
        max-width: 350px;
        height: 440px;
        margin: 0 auto;
    }

    .about-intro,
    .about-description {
        font-size: 1rem;
        line-height: 1.8;
        padding: 0 0.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

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

    .skill-category {
        padding: 1.75rem 1.5rem;
    }

    .skill-category-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.7rem;
    }

    .skill-tags {
        gap: 0.75rem;
        justify-content: center;
    }

    .skill-tag {
        padding: 0.6rem 1.15rem;
        font-size: 0.88rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .skill-name {
        font-size: 0.95rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card {
        padding: 0;
    }

    .project-title {
        font-size: 1.15rem;
    }

    .project-description {
        font-size: 0.9rem;
        padding: 0 1.2rem;
    }

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

    .contact-item {
        padding: 1.2rem;
    }

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

    .featured-project {
        grid-column: span 1;
    }

    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Small Tablet and Large Mobile (max-width: 640px) */
@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3.5rem;
        --card-padding: 1.25rem;
        --gap-small: 0.6rem;
        --gap-medium: 1.25rem;
        --gap-large: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 2rem;
        min-height: 100vh;
    }

    .hero-content {
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-greeting-text {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-name {
        font-size: 2rem;
        letter-spacing: -0.5px;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero-role {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .hero-role-animated {
        font-size: 0.95rem;
        gap: 3px;
        margin-bottom: 1.25rem;
    }

    .role-separator {
        width: 100%;
        margin: 0;
    }

    .hero-description-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .profile-badge-container {
        width: 240px;
        height: 240px;
    }

    .badge-text {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .blue-ring {
        border-width: 10px;
    }

    .white-ring {
        border-width: 7px;
    }

    .brown-ring {
        border-width: 3px;
    }

    .profile-image-container {
        width: 250px;
        height: 320px;
    }

    .about-profile-frame {
        max-width: 280px;
        height: 360px;
    }

    .about-intro,
    .about-description {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .section {
        padding: 3.5rem 0;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
    }

    .skill-category {
        padding: 1.5rem 1.25rem;
        margin: 0 0.5rem;
    }

    .skill-category-title {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.6rem;
    }

    .skill-tags {
        gap: 0.7rem;
        justify-content: center;
    }

    .skill-tag {
        padding: 0.6rem 1.15rem;
        font-size: 0.88rem;
    }

    .skill-card {
        padding: 1.2rem;
    }

    .skill-icon {
        font-size: 2.2rem;
    }

    .skill-name {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.25rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
    }

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

    .project-card {
        padding: 0;
    }

    .project-title {
        font-size: 1.15rem;
    }

    .project-description {
        font-size: 0.9rem;
        padding: 0 1.25rem;
    }

    .project-links {
        padding: 0 1.25rem 1.25rem 1.25rem;
        gap: 0.8rem;
    }

    .project-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .certificate-card {
        padding: 1.5rem;
    }

    .certificate-icon {
        font-size: 2.5rem;
    }

    .contact-content {
        padding: 0;
    }

    .contact-info {
        gap: 1.25rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 0.95rem;
    }

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

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 15px;
        gap: 0.4rem;
    }

    .mouse-icon {
        width: 26px;
        height: 42px;
    }

    .mouse-wheel {
        width: 4px;
        height: 8px;
    }

    .scroll-indicator p {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --section-padding: 2.5rem;
        --card-padding: 1rem;
        --gap-small: 0.5rem;
        --gap-medium: 1rem;
        --gap-large: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 1.5rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-greeting-text {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .hero-name {
        font-size: 1.65rem;
        margin-bottom: 0.5rem;
    }

    .hero-role {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-role-animated {
        font-size: 0.8rem;
        gap: 2px;
    }

    .hero-description-text {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0;
    }

    .profile-badge-container {
        width: 200px;
        height: 200px;
    }

    .badge-text {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .blue-ring {
        border-width: 8px;
    }

    .white-ring {
        border-width: 5px;
    }

    .brown-ring {
        border-width: 2px;
    }

    .profile-image-container {
        width: 210px;
        height: 275px;
    }

    .about-profile-frame {
        max-width: 240px;
        height: 310px;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.65rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .about-intro,
    .about-description {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .skill-category {
        padding: 1.25rem 1rem;
        margin: 0 0.25rem;
    }

    .skill-category-title {
        font-size: 1.05rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .skill-tags {
        gap: 0.65rem;
        justify-content: center;
    }

    .skill-tag {
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
    }

    .skill-tag i {
        font-size: 0.9rem;
    }

    .skill-card {
        padding: 1rem;
    }

    .skill-icon {
        font-size: 1.8rem;
    }

    .skill-name {
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .project-card {
        padding: 0;
    }

    .project-image {
        height: 160px;
    }

    .project-header {
        padding: 0.85rem 0.85rem 0 0.85rem;
    }

    .project-title {
        font-size: 1.05rem;
    }

    .project-description {
        font-size: 0.85rem;
        padding: 0 1rem;
    }

    .project-links {
        padding: 0 1rem 1rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-link {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .feature-badge,
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    .project-features,
    .project-tech {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .certificate-card {
        padding: 1.25rem;
    }

    .certificate-icon {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }

    .certificate-card h3 {
        font-size: 1.05rem;
    }

    .certificate-issuer {
        font-size: 0.85rem;
    }

    .certificate-date {
        font-size: 0.8rem;
    }

    .cert-skill-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.7rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-icon {
        font-size: 1.3rem;
        min-width: 35px;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.5rem;
    }

    .scroll-indicator {
        bottom: 10px;
        gap: 0.3rem;
    }

    .mouse-icon {
        width: 22px;
        height: 36px;
        border-width: 1.5px;
    }

    .mouse-wheel {
        width: 3px;
        height: 6px;
    }

    .scroll-indicator p {
        font-size: 0.65rem;
        letter-spacing: 1.2px;
    }

    /* Adjust filter buttons for mobile */
    .project-filters,
    .certificate-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .filter-btn,
    .cert-filter-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Loading screen adjustments */
    .loading-icon {
        font-size: 4em;
    }

    .code-brackets {
        font-size: 2em;
        gap: 10px;
    }

    .loading-progress {
        width: 250px;
    }

    .loading-message {
        font-size: 1em;
        letter-spacing: 1.5px;
    }

    .loading-icons {
        gap: 15px;
    }

    .loading-icons i {
        font-size: 2em;
    }
}

/* Ultra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    :root {
        --container-padding: 0.5rem;
        --section-padding: 2rem;
        --card-padding: 0.85rem;
        --gap-small: 0.4rem;
        --gap-medium: 0.75rem;
        --gap-large: 1.25rem;
    }

    .container {
        padding: 0 0.75rem;
    }

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

    .profile-badge-container {
        width: 180px;
        height: 180px;
    }

    .profile-image-container {
        width: 190px;
        height: 250px;
    }

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

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 0;
    }

    .skill-category {
        padding: 1rem 0.85rem;
        margin: 0;
    }

    .skill-category-title {
        font-size: 1rem;
        margin-bottom: 0.9rem;
        padding-bottom: 0.5rem;
    }

    .skill-tags {
        gap: 0.6rem;
        justify-content: center;
    }

    .skill-tag {
        padding: 0.5rem 0.9rem;
        font-size: 0.78rem;
    }

    .skill-tag i {
        font-size: 0.85rem;
    }

    .skill-card {
        padding: 0.85rem;
    }

    .skill-icon {
        font-size: 1.6rem;
    }

    .skill-name {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .project-image {
        height: 140px;
    }

    .filter-btn,
    .cert-filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Keyframes for Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slide-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

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

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

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

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

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

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

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

@keyframes loadProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes rocket {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-10px) rotate(-45deg); }
}

@keyframes techIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

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

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

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

@keyframes roleGradientPush {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes roleGradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

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

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

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

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes mouseWheel {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}
/* ============================================
   FORM VALIDATION STYLES (HTML5 + JS)
   ============================================ */

/* Error message styling */
.form-error {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

/* Invalid input styling */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Valid input styling */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

/* Focus states for validation */
.form-group input:invalid:focus,
.form-group textarea:invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:valid:focus,
.form-group textarea:valid:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}