@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables for Themes */
:root {
    /* Dark Theme (Default) with Purple Accents */
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --accent-primary: #8b5cf6;
    --accent-secondary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    --border-color: rgba(139, 92, 246, 0.2);
    --shadow: rgba(0, 0, 0, 0.4);
    --navbar-bg: rgba(15, 15, 35, 0.9);
    --card-bg: rgba(139, 92, 246, 0.1);
    --glass-bg: rgba(139, 92, 246, 0.15);
    --glass-border: rgba(139, 92, 246, 0.3);
    --hover-bg: rgba(139, 92, 246, 0.08);
}

[data-theme="light"] {
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #2d3748;
    --text-muted: #4a5568;
    --accent-primary: #2563eb;
    --accent-secondary: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: rgba(0, 0, 0, 0.08);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --hover-bg: rgba(0, 0, 0, 0.03);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 3rem;
}

@media (max-width: 768px) {
    .nav-logo {
        margin-right: 1rem;
    }
}

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

/* Advanced Search Functionality */
.search-container {
    position: relative;
    width: 250px;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    transform: scale(1.02);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--accent-primary);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.search-clear.show {
    opacity: 1;
    visibility: visible;
}

.search-clear:hover {
    background: var(--hover-bg);
    color: var(--accent-primary);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-results.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-category {
    padding: 15px 20px 10px;
    border-bottom: 1px solid var(--border-color);
}

.search-category:last-child {
    border-bottom: none;
}

.search-category-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.search-item {
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.search-item:hover {
    background: var(--hover-bg);
    padding-left: 10px;
}

.search-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.search-item-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.search-highlight {
    background: var(--accent-primary);
    color: white;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-suggestions {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.search-suggestion {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-primary);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 2px 5px 2px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.search-suggestion:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-1px);
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

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

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

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link.active {
    color: var(--accent-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 8px;
    margin: -8px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95), 
        rgba(26, 26, 46, 0.9), 
        rgba(22, 33, 62, 0.95)
    ), var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* Terminal Background Animation */
.terminal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .terminal-window {
    width: 95%;
    max-width: 1200px;
    height: 75%;
    background: #0a0a0a;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #333;
} */

.terminal-window {
    width: 110%;
    max-width: 1500px;
    height: 70%;
    background: #0a0a0a;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #333;
}

.terminal-header {
    background: #1e1e1e;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #888;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 20px;
    height: calc(100% - 60px);
    overflow: hidden;
}

.terminal-content {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #00ff00;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: #00ff00;
    margin-right: 8px;
}

.terminal-cursor {
    color: #00ff00;
    animation: blink 1s infinite;
    font-weight: bold;
}

.terminal-text {
    color: #ffffff;
}

.terminal-comment {
    color: #888;
}

.terminal-string {
    color: #ffd700;
}

.terminal-keyword {
    color: #ff6b6b;
}

.terminal-success {
    color: #4ecdc4;
}

.terminal-error {
    color: #ff6b6b;
}

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

/* Hero Content - Higher z-index to stay above terminal */
.hero-content {
    position: relative;
    z-index: 2;
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, 
        rgba(79, 172, 254, 0.1), 
        rgba(0, 242, 254, 0.05), 
        rgba(79, 172, 254, 0.1)
    ), var(--bg-primary);
}

/* Light mode navbar fixes */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-link {
    color: #1a1a1a;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #2563eb;
}

[data-theme="light"] .nav-logo {
    color: #2563eb;
}

[data-theme="light"] .theme-toggle {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .bar {
    background-color: #1a1a1a;
}

/* Light mode carousel fixes */
[data-theme="light"] .carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .carousel-btn:hover {
    background: #2563eb;
    backdrop-filter: none;
}

[data-theme="light"] .indicator {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .indicator.active {
    background: #2563eb;
    border-color: #2563eb;
}

/* Light mode project tech tags enhancement */
[data-theme="light"] .project-tech span {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .project-tech span:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Light mode search styles */
[data-theme="light"] .search-input-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-input-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .search-results {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-suggestion {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .search-suggestion:hover {
    background: #2563eb;
    color: white;
}

/* Light mode carousel enhancements */
[data-theme="light"] .carousel-btn {
    background: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .carousel-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .carousel-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .carousel-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .indicator {
    background: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .indicator.active {
    background: #2563eb;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

[data-theme="light"] .indicator:hover {
    background: #1d4ed8;
}

/* Light mode project links */
[data-theme="light"] .project-link {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

[data-theme="light"] .project-link:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Light mode certifications */
[data-theme="light"] .certification-card::before {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

[data-theme="light"] .certification-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .certification-icon.aws-badge {
    background: linear-gradient(135deg, #FF9900, #FF6600);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.3);
}

[data-theme="light"] .certification-icon.google-badge {
    background: linear-gradient(135deg, #4285F4, #34A853);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

[data-theme="light"] .certification-icon.microsoft-badge {
    background: linear-gradient(135deg, #0078D4, #106EBE);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

[data-theme="light"] .certification-icon.kubernetes-badge {
    background: linear-gradient(135deg, #326CE5, #1A73E8);
    box-shadow: 0 8px 25px rgba(50, 108, 229, 0.3);
}

[data-theme="light"] .certification-icon.docker-badge {
    background: linear-gradient(135deg, #2496ED, #0DB7ED);
    box-shadow: 0 8px 25px rgba(36, 150, 237, 0.3);
}

[data-theme="light"] .certification-icon.greatlearning-badge {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

[data-theme="light"] .certification-icon.azure-badge {
    background: linear-gradient(135deg, #0078D4, #106EBE);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

[data-theme="light"] .certification-icon.udemy-badge {
    background: linear-gradient(135deg, #A435F0, #8710D8);
    box-shadow: 0 8px 25px rgba(164, 53, 240, 0.3);
}

[data-theme="light"] .certification-icon.hackerrank-badge {
    background: linear-gradient(135deg, #00EA64, #00B84A);
    box-shadow: 0 8px 25px rgba(0, 234, 100, 0.3);
}

[data-theme="light"] .certification-card:hover .certification-icon {
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .credential-id {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .credential-value {
    color: #2563eb;
}

[data-theme="light"] .cert-link {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .cert-link:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-primary);
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow);
    border-color: var(--accent-primary);
}

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

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    transition: color 0.4s ease;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

/* Neural Network Background */
.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 2;
}

[data-theme="light"] .neural-network-bg {
    opacity: 0.2;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.skills .container {
    position: relative;
    z-index: 2;
}

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

.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: var(--hover-bg);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    transition: color 0.4s ease;
}

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

.skill-item {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications {
    background: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.certifications .container {
    position: relative;
    z-index: 2;
}

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

.certification-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: var(--hover-bg);
    border-color: var(--accent-primary);
}

.certification-card:hover::before {
    transform: scaleX(1);
}

.certification-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    transition: all 0.4s ease;
}

.certification-icon.aws-badge {
    background: linear-gradient(135deg, #FF9900, #FF6600);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.3);
}

.certification-icon.google-badge {
    background: linear-gradient(135deg, #4285F4, #34A853);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.certification-icon.microsoft-badge {
    background: linear-gradient(135deg, #0078D4, #106EBE);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

.certification-icon.kubernetes-badge {
    background: linear-gradient(135deg, #326CE5, #1A73E8);
    box-shadow: 0 8px 25px rgba(50, 108, 229, 0.3);
}

.certification-icon.docker-badge {
    background: linear-gradient(135deg, #2496ED, #0DB7ED);
    box-shadow: 0 8px 25px rgba(36, 150, 237, 0.3);
}

.certification-icon.greatlearning-badge {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.certification-icon.azure-badge {
    background: linear-gradient(135deg, #0078D4, #106EBE);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

.certification-icon.udemy-badge {
    background: linear-gradient(135deg, #A435F0, #8710D8);
    box-shadow: 0 8px 25px rgba(164, 53, 240, 0.3);
}

.certification-icon.hackerrank-badge {
    background: linear-gradient(135deg, #00EA64, #00B84A);
    box-shadow: 0 8px 25px rgba(0, 234, 100, 0.3);
}

.certification-card:hover .certification-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.certification-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.4;
    font-weight: 600;
}

.credential-id {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.credential-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.credential-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
    word-break: break-all;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    letter-spacing: 0.3px;
}

.cert-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
}

.cert-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.cert-link:hover i {
    transform: translateX(3px);
}

/* Experience Section */
.experience {
    background: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.experience .container {
    position: relative;
    z-index: 2;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--accent-primary);
}

.experience-card:hover::before {
    transform: scaleX(1);
}

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

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 4px;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.kiya-logo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.findem-logo {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.experience-card:hover .company-logo {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.experience-meta {
    text-align: right;
}

.experience-date {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.experience-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.experience-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.experience-content h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.experience-summary {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.details-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 1rem;
}

.details-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.details-toggle span {
    color: var(--accent-primary);
    font-weight: 500;
}

.details-toggle i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.details-toggle.active i {
    transform: rotate(180deg);
}

.experience-achievements {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.experience-achievements.show {
    max-height: 1000px;
}

.experience-achievements li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-tags .tag {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.experience-tags .tag:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .experience-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .experience-meta {
        text-align: center;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .experience-card {
        padding: 1.5rem;
    }
}

/* Achievements Section */
.achievements {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.achievement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.achievement-card p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.achievement-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Projects Section */
.projects {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.projects .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Projects Carousel */
.projects-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.projects-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    width: max-content;
}

.projects-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
}

.project-card {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(139, 92, 246, 0.2);
    background: var(--hover-bg);
    border-color: var(--accent-primary);
}

.project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-content {
    transform: translateZ(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-content {
    transform: translateZ(30px);
}

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

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.project-tech span {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

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

.project-link {
    color: var(--accent-primary);
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.project-link:hover {
    color: white;
    background: var(--accent-primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* Education Section */
.education {
    background: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.education .container {
    position: relative;
    z-index: 2;
}

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

.education-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: var(--hover-bg);
}

.education-date {
    color: var(--accent-primary);
    font-weight: 600;
    white-space: nowrap;
}

.education-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-details p {
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

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

.contact-item i {
    color: var(--accent-primary);
    width: 20px;
}

.contact-item span {
    color: var(--text-primary);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

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

/* Google Form Container */
.google-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-form-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.google-form-container iframe {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 600px;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-social a {
    color: var(--accent-primary);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-secondary);
}

/* Enhanced Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    border: none;
    border-radius: 12px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--text-muted);
}

.carousel-btn:disabled:hover {
    background: var(--text-muted);
    transform: translateY(-50%) scale(1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.indicator.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.indicator.active::before {
    background: white;
}

.indicator:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.floating-contact.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-contact:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.floating-contact:active {
    transform: scale(0.95);
}

/* Scroll to top button hover effect */
.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

/* Phase 1 Interactive Features */

/* Animated Counters & Stats */
.stat {
    position: relative;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.counter {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--accent-primary) !important;
    margin-bottom: 0.5rem !important;
    display: block;
    transition: all 0.3s ease;
}

.stat-progress {
    width: 100%;
    height: 6px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.stat-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 2s ease-in-out 0.5s;
    border-radius: 10px;
    position: relative;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

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

/* Achievement Badges */
.achievement-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.achievement-badge {
    position: relative;
    background: var(--glass-bg);
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.achievement-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
    background: var(--accent-primary);
    color: white;
}

.badge-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.badge-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.achievement-badge:hover .badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Enhanced Skills Section */
.skill-category {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

.skill-category.featured-category {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(135deg, var(--glass-bg), rgba(139, 92, 246, 0.1));
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-category h3 i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}



/* 3D Project Card Effects */
.project-card {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.project-card:hover {
    transform: translateY(-15px) rotateY(8deg) rotateX(5deg) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-content {
    transform: translateZ(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-content {
    transform: translateZ(40px);
}

/* Floating AI Chatbot Styles */
.floating-chatbot-btn {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.floating-chatbot-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
}

.chatbot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.6;
    animation: pulse-ring 2s infinite;
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-overlay.show {
    opacity: 1;
    visibility: visible;
}

.chatbot-popup {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.chatbot-overlay.show .chatbot-popup {
    transform: translateX(0);
}

.chatbot-header {
    background: var(--accent-gradient);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.status.online::before {
    content: '●';
    color: #10b981;
    margin-right: 0.5rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.message {
    display: flex;
    gap: 0.75rem;
    animation: messageSlideIn 0.3s ease;
}

.message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: var(--accent-gradient);
    color: white;
}

.user-message .message-avatar {
    background: var(--text-muted);
    color: white;
}

.message-content {
    max-width: 80%;
}

.message-content p {
    background: var(--glass-bg);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.4;
    border: 1px solid var(--glass-border);
}

.user-message .message-content p {
    background: var(--accent-primary);
    color: white;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    padding-left: 1rem;
}

.chatbot-suggestions {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.suggestion-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.chatbot-input-area {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
    margin-top: auto;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#chatbot-input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

#chatbot-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.send-btn {
    background: var(--accent-gradient);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator {
    display: none;
    padding: 0.5rem 1rem;
    align-items: center;
    gap: 0.25rem;
}

.typing-indicator.show {
    display: flex;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

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

@keyframes typingDot {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .achievement-badges {
        gap: 1rem;
    }
    
    .achievement-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .skill-category:hover {
        transform: translateY(-5px);
    }
    
    .project-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .floating-chatbot-btn {
        top: 40%;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .chatbot-popup {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--glass-border);
    }
    
    .chatbot-messages {
        height: 250px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .suggestion-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Projects Search & Grid Styles */
.projects-search-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.project-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 0 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.project-search-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    transform: scale(1.02);
}

.project-search-icon {
    color: var(--text-muted);
    margin-right: 15px;
    font-size: 1rem;
}

.project-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 15px 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.project-search-input::placeholder {
    color: var(--text-muted);
}

.project-search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.project-search-clear.show {
    opacity: 1;
    visibility: visible;
}

.project-search-clear:hover {
    background: var(--hover-bg);
    color: var(--accent-primary);
}

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

.project-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.project-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.project-tag.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.no-projects-found {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.no-projects-found i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-projects-found h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-tags {
        gap: 0.5rem;
    }
    
    .project-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .project-search-wrapper {
        padding: 0 15px;
    }
    
    .project-search-input {
        padding: 12px 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    .search-input {
        font-size: 0.8rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--navbar-bg);
        backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .search-container {
        width: 160px;
        margin-left: 1rem;
    }
    
    .search-results {
        left: -50px;
        right: -50px;
    }
    
    .nav-link {
        padding: 1rem 0;
        margin: 0.5rem 0;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--hover-bg);
        transform: translateX(10px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item::before {
        left: 9px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certification-card {
        padding: 2rem;
    }
    
    .certification-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

/* Animation Keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

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

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

.pulse {
    animation: pulse 2s infinite;
}

.bounce {
    animation: bounce 1s;
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle {
        top: 10px !important;
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}
/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.pagination-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-info {
    background: var(--glass-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    font-weight: 500;
    color: var(--text-primary);
}

.pagination-info span {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Light mode pagination styles */
[data-theme="light"] .pagination-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .pagination-btn:hover:not(:disabled) {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .pagination-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .pagination-info {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pagination-info span {
    color: #2563eb;
}

@media (max-width: 768px) {
    .pagination-container {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .pagination-info {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}