:root {
    --ai-primary: #faa73c;
    --ai-secondary: #ff9204;
    --ai-accent: #a5a5a5;
    --ai-neural: #7c3aed;
    --ai-dark: #21262d;
    --ai-darker: #0d1117;
    --ai-glow: #ffe658;
    --ai-purple-glow: #ed903a;
    --ai-pink-glow: #f85149;
    
    /* RGB values for rgba() functions */
    --ai-primary-rgb: 88, 166, 255;
    --ai-secondary-rgb: 248, 81, 73;
    --ai-accent-rgb: 165, 165, 165;
    --ai-neural-rgb: 124, 58, 237;
}



* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0d1117;
    color: #f0f6fc;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Minimal background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d1117;
    z-index: -2;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.8; }
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

/* Clean background */
body::after {
    display: none;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.code-font {
    font-family: 'JetBrains Mono', monospace;
}

/* Enhanced Navigation Styles */
.floating-nav {
    backdrop-filter: blur(30px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(250, 167, 60, 0.3);
    box-shadow: 0 8px 32px rgba(255, 230, 88, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.floating-nav:hover::before {
    left: 100%;
}

.nav-item {
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, var(--ai-primary), var(--ai-secondary));
    transition: width 0.4s ease;
    z-index: -1;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 230, 88, 0.4);
    color: white !important;
}

.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scaleX(0);
    transform-origin: left;
}

.nav-item:hover .nav-indicator {
    transform: scaleX(1);
}

.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary), var(--ai-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite alternate;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary), var(--ai-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Enhanced AI Navbar with Floating Animation */
.ai-navbar {
    animation: navbarFloat 6s ease-in-out infinite;
}

@keyframes navbarFloat {

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

    50% {
        transform: translateY(-5px);
    }
}

/* Enhanced Hero Section with Pulsing Background */
.hero-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Enhanced Terminal Window with Glow */
.terminal-window {
    animation: terminalGlow 4s ease-in-out infinite alternate;
}

@keyframes terminalGlow {
    0% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 50px rgba(0, 217, 255, 0.4);
    }
}

/* Enhanced Stats with Hover Effects */
.ai-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.ai-stat:hover::before {
    left: 100%;
}

.ai-stat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 230, 88, 0.4);
}

/* Enhanced Tech Icons */
.tech-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
}

/* Enhanced Project Tags with Hover */
.project-futuristic .project-tags span:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.3);
}

/* Enhanced Connect Buttons with Ripple */
.connect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.connect-btn:hover::before {
    left: 100%;
}

.connect-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Enhanced Social Links with Ripple Effect */
.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link:hover::before {
    width: 40px;
    height: 40px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Enhanced Gradient Text with Glow */
.gradient-text {
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary), var(--ai-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

.ai-card {
    background: #21262d;
    border: 1px solid #30363d;
    box-shadow: 0 0 20px rgba(255, 230, 88, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.7), var(--ai-accent) 120%);
    opacity: 0.18;
    filter: blur(32px);
    z-index: 0;
    animation: cardPulse 8s ease-in-out infinite;
}

@keyframes cardPulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.18;
    }

    50% {
        transform: scale(1.1) translateY(-10px);
        opacity: 0.25;
    }
}

.ai-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    border: 2px solid transparent;
    background: linear-gradient(120deg, rgba(0, 217, 255, 0.18), rgba(124, 58, 237, 0.12), rgba(255, 107, 157, 0.10));
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.ai-card:hover {
    transform: translateY(-2px);
    border-color: var(--ai-primary);
    background: #262c36;
    box-shadow: 0 0 30px rgba(255, 230, 88, 0.3);
}

/* ============================================================================ */
/* ========================== APPLE GLASS NAVIGATION BAR ========================= */
/* ============================================================================ */

/* Main Navigation Container */
.awesome-nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    margin: 0;
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.awesome-nav.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(50px) saturate(200%) brightness(1.2);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* ========================== ANIMATED LOGO ========================== */
.nav-logo-awesome {
    text-decoration: none;
    position: relative;
    z-index: 15;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.logo-name {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0.5rem;
    position: relative;
}

.gradient-logo {
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary), var(--ai-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGradientShift 3s ease-in-out infinite alternate;
}

@keyframes logoGradientShift {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    100% {
        background-position: 100% 50%;
        filter: hue-rotate(10deg);
    }
}



@keyframes logoParticleFloat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ========================== DESKTOP NAVIGATION LINKS ========================== */
.nav-links-awesome {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    background: transparent;
    padding: 0.5rem;
    border-radius: 0;
    border: none;
}

.nav-link-awesome {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-link-awesome.active {
    color: rgba(0, 0, 0, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-link-awesome:hover:not(.active) {
    color: rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.link-icon {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link-awesome:hover .link-icon {
    transform: scale(1.2) rotate(5deg);
}

.link-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.link-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.nav-link-awesome:hover .link-glow {
    left: 100%;
}

/* ========================== MOBILE MENU TOGGLE ========================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: rgba(255, 255, 255, 1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: rgba(255, 255, 255, 1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: rgba(255, 255, 255, 1);
}

.menu-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover .menu-particles {
    opacity: 1;
    animation: menuParticlesPulse 1.5s ease-in-out infinite;
}

@keyframes menuParticlesPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ========================== NAVIGATION BACKGROUND EFFECTS ========================== */
.nav-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.nav-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ai-primary);
    border-radius: 50%;
    opacity: 0.3;
}

.nav-particle-1 {
    top: 20%;
    left: 10%;
    animation: navParticleFloat1 8s ease-in-out infinite;
}

.nav-particle-2 {
    top: 60%;
    right: 15%;
    animation: navParticleFloat2 6s ease-in-out infinite;
}

.nav-particle-3 {
    bottom: 30%;
    left: 50%;
    animation: navParticleFloat3 10s ease-in-out infinite;
}

@keyframes navParticleFloat1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.6;
    }
}

@keyframes navParticleFloat2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(8px) translateX(-3px);
        opacity: 0.5;
    }
}

@keyframes navParticleFloat3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-6px) translateX(8px);
        opacity: 0.7;
    }
}

/* ========================== SECTION INDICATOR ========================== */
.section-indicator {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-accent));
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* ========================== MOBILE NAVIGATION OVERLAY ========================== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 10;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-close {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-close:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    color: #cbd5e1;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    transform: translateX(-100px);
    opacity: 0;
}

.mobile-nav-overlay.active .mobile-nav-link {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-link:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-link:nth-child(8) { transition-delay: 0.45s; }

.mobile-nav-link:hover {
    color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-nav-link i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.mobile-link-trail {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-link:hover .mobile-link-trail {
    left: 100%;
}

.mobile-nav-footer {
    margin-top: 2rem;
    text-align: center;
}

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

.mobile-social-link {
    width: 50px;
    height: 50px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50%;
    color: var(--ai-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

/* ========================== MOBILE BACKGROUND EFFECTS ========================== */
.mobile-nav-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.mobile-bg-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ai-primary);
    border-radius: 50%;
    opacity: 0.2;
}

.mobile-bg-particle-1 {
    top: 20%;
    left: 10%;
    animation: mobileBgFloat1 12s ease-in-out infinite;
}

.mobile-bg-particle-2 {
    top: 60%;
    right: 15%;
    animation: mobileBgFloat2 8s ease-in-out infinite;
}

.mobile-bg-particle-3 {
    bottom: 30%;
    left: 70%;
    animation: mobileBgFloat3 15s ease-in-out infinite;
}

@keyframes mobileBgFloat1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) translateX(10px) rotate(180deg);
        opacity: 0.5;
    }
}

@keyframes mobileBgFloat2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(15px) translateX(-8px) rotate(-180deg);
        opacity: 0.6;
    }
}

@keyframes mobileBgFloat3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-12px) translateX(15px) rotate(90deg);
        opacity: 0.55;
    }
}

/* ========================== RESPONSIVE DESIGN ========================== */
@media (max-width: 1024px) {
    .nav-links-awesome {
        gap: 0.25rem;
    }
    
    .nav-link-awesome {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .link-text {
        display: none;
    }
    
    .link-icon {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links-awesome {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .mobile-menu-toggle:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .hamburger-line {
        background: rgba(255, 255, 255, 0.85);
    }
    
    .mobile-menu-toggle:hover .hamburger-line {
        background: rgba(255, 255, 255, 1);
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-wrapper {
        padding: 0.4rem 0.8rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
        backdrop-filter: blur(40px) saturate(180%) brightness(1.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }
    
    .mobile-menu-toggle:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    }
    
    .hamburger-line {
        background: rgba(255, 255, 255, 0.85) !important;
    }
    
    .mobile-menu-toggle:hover .hamburger-line {
        background: rgba(255, 255, 255, 1) !important;
    }
    
    .mobile-nav-content {
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .mobile-logo {
        font-size: 1.2rem;
    }
}

/* Enhanced Hero Section */
.hero-3d {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    overflow: hidden;
}

.hero-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.ai-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}



.ai-button:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(255, 230, 88, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Terminal Window */
.terminal-window {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 0 30px rgba(255, 230, 88, 0.3);
    border: 1px solid rgba(250, 167, 60, 0.4);
    animation: terminalGlow 4s ease-in-out infinite alternate;
}

@keyframes terminalGlow {
    0% {
        box-shadow: 0 0 30px rgba(255, 230, 88, 0.3);
    }

    100% {
        box-shadow: 0 0 50px rgba(255, 230, 88, 0.5);
    }
}

.terminal-header {
    background: #333;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.terminal-body {
    padding: 16px;
    color: #00ff00;
    min-height: 120px;
    position: relative;
}

.typing-cursor {
    border-right: 3px solid var(--ai-primary);
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {

    0%,
    50% {
        border-color: var(--ai-primary);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

/* Enhanced Stats Dashboard */
.ai-stat {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(0, 217, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.ai-stat:hover::before {
    left: 100%;
}

.ai-stat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* Enhanced Tech Icons */
.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.tech-icon:hover::after {
    transform: translateX(100%);
}

.tech-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 230, 88, 0.5);
}

/* Enhanced Skill Progress */
.skill-progress {
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    height: 4px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skill-shine 2s infinite;
}

@keyframes skill-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced Project Cards */
.project-futuristic {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(255, 230, 88, 0.1);
}

.project-futuristic:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 230, 88, 0.4);
}

.project-futuristic .project-icon {
    position: absolute;
    top: -24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-accent));
    border-radius: 50%;
    box-shadow: 0 0 24px 6px var(--ai-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    animation: floatIcon 3s ease-in-out infinite alternate;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(12px);
    }
}

.project-futuristic .project-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0 2px, transparent 2px 20px);
    pointer-events: none;
    z-index: 1;
}

.project-futuristic .project-title {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary), var(--ai-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-futuristic .project-desc {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 1rem;
    z-index: 2;
}

.project-futuristic .project-tags span {
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 2px 10px;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    display: inline-block;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.project-futuristic .project-tags span:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.3);
}

.project-futuristic .ai-button {
    z-index: 2;
}

/* Enhanced Glassy Cards */
.glassy-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(255, 230, 88, 0.10));
    border-left: 4px solid var(--ai-accent);
    box-shadow: 0 8px 32px 0 rgba(255, 230, 88, 0.15), 0 1.5px 8px 0 rgba(250, 167, 60, 0.10);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

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

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

.glassy-card:hover {
    box-shadow: 0 0 32px 8px rgba(255, 230, 88, 0.6), 0 8px 32px 0 rgba(250, 167, 60, 0.15);
    border-left-color: var(--ai-primary);
    transform: translateY(-5px) scale(1.02);
}

/* Enhanced Connect Buttons */
.connect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    white-space: normal;
}

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

.connect-btn:hover::before {
    left: 100%;
}

.connect-btn i {
    font-size: 1.2em;
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.connect-btn:hover,
.connect-btn:focus {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(255, 230, 88, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.connect-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.connect-btn span {
    font-size: 1em;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
    white-space: normal;
}

/* Enhanced Form Elements */
.form-input {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.form-input:focus {
    border-color: var(--ai-primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Footer */
.footer-title {
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px var(--ai-primary);
    }

    100% {
        text-shadow: 0 0 20px var(--ai-primary), 0 0 30px var(--ai-accent);
    }
}

.social-link {
    position: relative;
    transition: all 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link:hover::before {
    width: 40px;
    height: 40px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ============================================================================ */
/* ========================== MOBILE OPTIMIZATIONS ========================== */
/* ============================================================================ */

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 480px) {
    /* Typography adjustments */
    .text-6xl, .text-8xl {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .text-5xl {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .text-4xl {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }
    
    .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.2;
    }
    
    .text-xl {
        font-size: 1.125rem !important;
        line-height: 1.4;
    }
    
    /* Container and spacing adjustments */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-32 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .py-24 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-20 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-12 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    
    .mb-12 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-8 {
        margin-bottom: 1rem !important;
    }
    
    /* Hero section mobile optimization */
    .hero-3d {
        min-height: 100vh;
        padding-top: 6rem !important;
    }
    
    .terminal-window {
        margin-bottom: 2rem !important;
        font-size: 0.75rem;
    }
    
    .terminal-body {
        padding: 0.75rem;
        min-height: 80px;
    }
    
    /* Navigation mobile optimization */
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .logo-text {
        font-size: 1rem !important;
    }
    
    .logo-name {
        font-size: 0.875rem !important;
    }
    
    /* Button optimizations */
    .ai-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Grid optimizations */
    .grid {
        gap: 1rem !important;
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    
    /* Card optimizations */
    .ai-card {
        padding: 1rem !important;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    /* Stats dashboard mobile */
    .ai-stat {
        padding: 1rem !important;
    }
    
    .ai-stat .text-4xl {
        font-size: 1.5rem !important;
    }
    
    /* About section mobile - Vertical timeline */
    .about-timeline-line {
        display: none !important;
    }
    
    .about-timeline-item {
        padding-left: 30px !important;
        margin-bottom: 3rem !important;
        position: relative;
        border-left: 3px solid transparent;
        border-image: linear-gradient(180deg, var(--ai-primary), var(--ai-accent), var(--ai-secondary)) 1;
    }
    
    .about-timeline-item::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 20px;
        width: 12px;
        height: 12px;
        background: var(--ai-primary);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--ai-primary);
        animation: pulse 2s ease-in-out infinite;
    }
    
    .about-timeline-item::after {
        display: none;
    }
    
    .about-timeline-node,
    .about-timeline-node-inner,
    .about-timeline-node-pulse {
        display: none !important;
    }
    
    .about-timeline-item .flex.items-center.justify-center {
        display: none !important;
    }
    
    .about-card-left,
    .about-card-right {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Education section mobile - Vertical timeline */
    .timeline-line {
        display: none !important;
    }
    
    .timeline-item {
        padding-left: 30px !important;
        margin-bottom: 3rem !important;
        position: relative;
        border-left: 3px solid transparent;
        border-image: linear-gradient(180deg, var(--ai-primary), var(--ai-accent), var(--ai-secondary)) 1;
    }
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 20px;
        width: 12px;
        height: 12px;
        background: var(--ai-primary);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--ai-primary);
        animation: pulse 2s ease-in-out infinite;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .timeline-node,
    .timeline-node-inner,
    .timeline-node-pulse {
        display: none !important;
    }
    
    .timeline-item .flex.items-center.justify-center {
        display: none !important;
    }
    
    .education-card-left,
    .education-card-right {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Contact section mobile - Hide background animations */
    #contact .absolute {
        display: none !important;
    }
    
    /* Projects section mobile */
    .project-filter {
        padding: 0.5rem 1rem !important;
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem;
    }
    
    /* Contact form mobile */
    .contact-input,
    .contact-submit-btn {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Footer mobile */
    .footer-social {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Floating elements - hide on mobile for performance */
    .absolute.top-1\/4,
    .absolute.top-1\/3,
    .absolute.top-2\/3,
    .absolute.bottom-32,
    .absolute.top-20,
    .absolute.top-24,
    .absolute.bottom-28 {
        display: none !important;
    }
    
    /* Reduce animations on mobile for performance */
    .animate-spin,
    .animate-pulse,
    .animate-bounce {
        animation: none !important;
    }
    
    /* Simplify background effects on mobile */
    body::before,
    body::after {
        opacity: 0.1 !important;
    }
    
    .hero-3d::before {
        opacity: 0.2 !important;
    }
}

/* Tablet optimization */
@media (min-width: 481px) and (max-width: 768px) {
    /* Typography adjustments for tablet */
    .text-6xl, .text-8xl {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }
    
    .text-5xl {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    /* Reduce section padding */
    .py-32 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    
    .py-24 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    /* Grid adjustments */
    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    
    /* Navigation adjustments */
    .nav-links-awesome {
        gap: 0.25rem;
    }
    
    .nav-link-awesome {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .link-text {
        display: none;
    }
    
    .link-icon {
        font-size: 1rem;
    }
    
    /* About and Education timeline adjustments - Fixed alignment */
    .about-timeline-line,
    .timeline-line {
        left: 30px !important;
        width: 2px !important;
    }
    
    .about-timeline-item,
    .timeline-item {
        padding-left: 80px !important;
    }
    
    .about-timeline-item .flex.items-center.justify-center,
    .timeline-item .flex.items-center.justify-center {
        position: absolute !important;
        left: 10px !important;
        top: 0 !important;
    }
    
    .expertise-domains,
    .tool-items {
        grid-template-columns: 1fr;
    }
}

/* Standard tablet and small desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links-awesome {
        gap: 0.25rem;
    }
    
    .nav-link-awesome {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .link-text {
        display: none;
    }
    
    .link-icon {
        font-size: 1rem;
    }
    
    .expertise-domains {
        grid-template-columns: 1fr;
    }
    
    .tool-items {
        grid-template-columns: 1fr;
    }
}

/* Legacy responsive design - keep for compatibility */
@media (max-width: 768px) {
    .project-preview:hover {
        transform: none;
    }

    .floating-nav {
        left: 4px;
        right: 4px;
        transform: none;
        border-radius: 30px;
    }

    .nav-item {
        padding: 6px 12px;
    }
    
    .nav-links-awesome {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-wrapper {
        padding: 0.4rem 0.8rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-name {
        font-size: 1rem;
    }
}

/* Touch-friendly improvements */
.touch-active {
    background-color: rgba(0, 217, 255, 0.1) !important;
    transform: scale(0.95) !important;
    transition: all 0.15s ease !important;
}

@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .hover\:scale-105:hover {
        transform: none !important;
    }
    
    .hover\:bg-\[var\(--ai-primary\)\]:hover {
        background-color: inherit !important;
    }
    
    /* Make buttons more touch-friendly */
    .ai-button,
    .project-filter,
    .blog-filter,
    .nav-link-awesome {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Increase tap targets */
    .social-link,
    .connect-btn {
        min-height: 48px;
        min-width: 48px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .terminal-window,
    .ai-card {
        border-width: 0.5px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-3d {
        min-height: 100vh;
        padding-top: 4rem !important;
    }
    
    .py-32 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .terminal-window {
        margin-bottom: 1rem !important;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce complex animations */
    .animate-fade-in-up,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .animate-slide-in-up,
    .animate-stagger {
        animation-duration: 0.3s !important;
    }
    
    /* Simplify gradients for better performance */
    .gradient-text {
        background: var(--ai-primary) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
    
    /* Reduce backdrop blur for performance */
    .backdrop-filter {
        backdrop-filter: blur(10px) !important;
    }
    
    /* Optimize shadows */
    .box-shadow,
    .shadow-lg,
    .shadow-xl {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    }
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Enhanced Animation Classes */
@keyframes gradientFlow {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

.animate-stagger {
    animation: staggerFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Enhanced Particle Effects */
.cert-particles,
.contact-particles,
.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {

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

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

/* Enhanced Icon Animations */
.cert-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cert-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Enhanced Badge Animations */
.animate-badge {
    animation: badgeFloat 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

/* Enhanced Glow Effects */
.cert-glow-effect {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--ai-primary), var(--ai-accent), var(--ai-secondary));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cert-featured-card:hover .cert-glow-effect {
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Enhanced Image Animations */
.cert-image {
    transition: transform 0.3s ease;
}

.cert-featured-card:hover .cert-image {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Button Effects */
.cert-filter-btn {
    position: relative;
    overflow: hidden;
}

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

.cert-filter-btn:hover::before {
    left: 100%;
}

/* Enhanced Contact Form */
.contact-form-animate {
    animation: formSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes formSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.contact-input {
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.contact-input:focus {
    border-color: var(--ai-primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-accent));
    transition: width 0.3s ease;
}

.contact-input:focus+.input-focus-border {
    width: 100%;
}

.contact-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-text {
    transition: transform 0.3s ease;
}

.btn-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover .btn-text {
    transform: translateX(-10px);
}

.contact-submit-btn:hover .btn-icon {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.location-icon {
    animation: locationPulse 2s ease-in-out infinite;
}

@keyframes locationPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.connect-grid {
    animation: gridStagger 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes gridStagger {
    to {
        opacity: 1;
    }
}

/* Enhanced Footer Particles */
.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: footerParticleFloat 25s ease-in-out infinite;
}

@keyframes footerParticleFloat {

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

    50% {
        transform: translateY(-15px) rotate(90deg);
    }
}

.footer-social {
    animation: socialSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

/* Enhanced Contact Card */
.contact-card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.contact-divider {
    animation: contactDividerGlow 3s ease-in-out infinite alternate;
}

@keyframes contactDividerGlow {
    0% {
        box-shadow: 0 0 10px var(--ai-primary);
    }

    100% {
        box-shadow: 0 0 25px var(--ai-primary), 0 0 35px var(--ai-accent);
    }
}

/* Enhanced Legend Animations */
.cert-legend {
    animation: legendGlow 3s ease-in-out infinite alternate;
}

@keyframes legendGlow {
    0% {
        box-shadow: 0 0 5px currentColor;
    }

    100% {
        box-shadow: 0 0 15px currentColor, 0 0 25px currentColor;
    }
}

/* Enhanced About Section Styles */
.about-timeline-line {
    background: linear-gradient(180deg,
            var(--ai-primary) 0%,
            var(--ai-secondary) 50%,
            var(--ai-accent) 100%);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    animation: aboutTimelineGlow 3s ease-in-out infinite alternate;
    position: absolute;
    width: 3px;
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes aboutTimelineGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
        opacity: 0.8;
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
        opacity: 1;
    }
}

.about-timeline-node {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    animation: aboutNodeFloat 4s ease-in-out infinite;
}

@keyframes aboutNodeFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.about-timeline-node-inner {
    width: 40px;
    height: 40px;
    background: var(--ai-dark);
    border-radius: 50%;
    border: 3px solid var(--ai-primary);
}

.about-timeline-node-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--ai-primary);
    border-radius: 50%;
    animation: aboutNodePulse 2s ease-in-out infinite;
}

@keyframes aboutNodePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.about-card-left,
.about-card-right {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.about-card-left::before,
.about-card-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-card-left:hover::before,
.about-card-right:hover::before {
    left: 100%;
}

.about-card-left:hover,
.about-card-right:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
    border-color: var(--ai-primary);
}

.story-badge,
.tools-badge,
.fun-fact-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.story-level,
.tools-level,
.fun-fact-level {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--ai-primary);
    font-size: 0.9rem;
}

.story-title,
.tools-title,
.fun-fact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

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

.story-intro {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.story-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.highlight-item i {
    font-size: 1.2rem;
}

.highlight-item span {
    color: #fff;
    font-weight: 500;
}

.expertise-showcase,
.skills-showcase {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-header,
.skills-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.expertise-title,
.skills-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.expertise-badge,
.skills-badge {
    background: linear-gradient(135deg, var(--ai-accent), var(--ai-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.expertise-name,
.skills-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.expertise-description,
.skills-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.expertise-domains {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.domain-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.domain-icon {
    font-size: 1.2rem;
}

.domain-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.expertise-metrics {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-item {
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.category-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tool-category {
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.tool-category-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.tool-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.tool-icon {
    width: 24px;
    height: 24px;
}

.tool-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.learning-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 217, 255, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.learning-title {
    color: var(--ai-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.learning-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-fun-fact {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(0, 217, 255, 0.1));
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.fun-fact-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.fun-fact-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.fun-fact-quote {
    color: var(--ai-accent);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-timeline-node {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    animation: aboutNodeFloat 4s ease-in-out infinite;
}

@keyframes aboutNodeFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.about-timeline-node-inner {
    width: 40px;
    height: 40px;
    background: var(--ai-dark);
    border-radius: 50%;
    border: 3px solid var(--ai-primary);
}

.about-timeline-node-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--ai-primary);
    border-radius: 50%;
    animation: aboutNodePulse 2s ease-in-out infinite;
}

@keyframes aboutNodePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.about-card-left,
.about-card-right {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.about-card-left::before,
.about-card-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-card-left:hover::before,
.about-card-right:hover::before {
    left: 100%;
}

.about-card-left:hover,
.about-card-right:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
    border-color: var(--ai-primary);
}

.story-badge,
.tools-badge,
.fun-fact-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.story-level,
.tools-level,
.fun-fact-level {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--ai-primary);
    font-size: 0.9rem;
}

.story-title,
.tools-title,
.fun-fact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

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

.story-intro {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.story-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.highlight-item i {
    font-size: 1.2rem;
}

.highlight-item span {
    color: #fff;
    font-weight: 500;
}

.expertise-showcase,
.skills-showcase {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-header,
.skills-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.expertise-title,
.skills-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.expertise-badge,
.skills-badge {
    background: linear-gradient(135deg, var(--ai-accent), var(--ai-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.expertise-name,
.skills-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.expertise-description,
.skills-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.expertise-domains {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.domain-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.domain-icon {
    font-size: 1.2rem;
}

.domain-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.expertise-metrics {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-item {
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.category-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tool-category {
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.tool-category-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.tool-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.tool-icon {
    width: 24px;
    height: 24px;
}

.tool-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.learning-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 217, 255, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.learning-title {
    color: var(--ai-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.learning-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-fun-fact {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(0, 217, 255, 0.1));
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.fun-fact-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.fun-fact-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.fun-fact-quote {
    color: var(--ai-accent);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Enhanced Education Section Styles */
.timeline-line {
    background: linear-gradient(180deg,
            var(--ai-primary) 0%,
            var(--ai-secondary) 50%,
            var(--ai-accent) 100%);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    animation: timelineGlow 3s ease-in-out infinite alternate;
    position: absolute;
    width: 3px;
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes timelineGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
    }
}

.timeline-node {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    animation: timelineNodeFloat 4s ease-in-out infinite;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

@keyframes timelineNodeFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.timeline-node-inner {
    width: 40px;
    height: 40px;
    background: var(--ai-dark);
    border-radius: 50%;
    border: 3px solid var(--ai-primary);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.timeline-node-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--ai-primary);
    border-radius: 50%;
    animation: timelineNodePulse 2s ease-in-out infinite;
}

@keyframes timelineNodePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.education-card-left,
.education-card-right {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.education-card-left::before,
.education-card-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.education-card-left:hover::before,
.education-card-right:hover::before {
    left: 100%;
}

.education-card-left:hover,
.education-card-right:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 230, 88, 0.25);
    border-color: var(--ai-primary);
}

.degree-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.degree-level {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--ai-primary);
    font-size: 0.9rem;
}

.degree-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.university-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.university-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.university-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.university-location {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.degree-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.detail-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-value.highlight {
    color: var(--ai-primary);
    font-weight: 700;
}

.project-showcase {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.project-title {
    color: var(--ai-primary);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.project-badge {
    background: linear-gradient(135deg, var(--ai-accent), var(--ai-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.tech-tag {
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 2px 10px;
    display: inline-block;
}

.project-metrics {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-value {
    color: var(--ai-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.metric-label {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Enhanced Timeline Layout */
.about-timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

/* Professional Timeline Spacing */
.about-timeline-item .grid {
    gap: 3rem;
}

/* Enhanced Card Positioning */
.about-card-left,
.about-card-right {
    position: relative;
    z-index: 15;
}

/* Timeline Background Effect */
.timeline-background {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 217, 255, 0.1) 20%,
            rgba(124, 58, 237, 0.1) 50%,
            rgba(255, 107, 157, 0.1) 80%,
            transparent 100%);
    transform: translateX(-50%);
    animation: timelineBackgroundPulse 8s ease-in-out infinite;
}

@keyframes timelineBackgroundPulse {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .about-timeline-line {
        left: 30px !important;
        width: 2px !important;
    }

    .about-timeline-item {
        padding-left: 80px !important;
    }
    
    .about-timeline-item .flex.items-center.justify-center {
        position: absolute !important;
        left: 10px !important;
        top: 0 !important;
    }

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

    .about-card-left,
    .about-card-right {
        margin-bottom: 2rem;
    }

    .expertise-domains {
        grid-template-columns: 1fr;
    }

    .tool-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-timeline-line {
        left: 20px !important;
        width: 2px !important;
    }

    .about-timeline-item {
        padding-left: 60px !important;
    }
    
    .about-timeline-item .flex.items-center.justify-center {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
    }

    .story-title,
    .tools-title,
    .fun-fact-title {
        font-size: 1.4rem;
    }

    .expertise-name,
    .skills-name {
        font-size: 1.2rem;
    }

    .expertise-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }
}









/* ---------------------------------------------------------------------------- */
/* ------------------------------ github section ------------------------------ */
/* ---------------------------------------------------------------------------- */








.github-stat-card,
.github-graph-card,
.github-repo-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82));
    border: 2px solid rgba(255, 230, 88, 0.13);
    box-shadow: 0 8px 32px 0 rgba(255, 230, 88, 0.15), 0 1.5px 8px 0 rgba(250, 167, 60, 0.10);
    backdrop-filter: blur(24px);
    transition: border 0.4s, box-shadow 0.4s, transform 0.4s;
    position: relative;
    z-index: 10;
}

.github-stat-card:hover,
.github-graph-card:hover,
.github-repo-card:hover {
    border: 2px solid var(--ai-primary);
    box-shadow: 0 0 32px 8px rgba(255, 230, 88, 0.6), 0 8px 32px 0 rgba(250, 167, 60, 0.15);
    transform: scale(1.04) translateY(-4px);
}

.github-badge {
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(0, 217, 255, 0.10);
    transition: transform 0.3s;
}

.github-badge:hover {
    transform: scale(1.08) rotate(-2deg);
}

.animate-fadein {
    opacity: 0;
    animation: fadeInGithub 1.2s cubic-bezier(.4, 2, .6, 1) forwards;
}

.animate-slidein {
    opacity: 0;
    animation: slideInGithub 1.2s cubic-bezier(.4, 2, .6, 1) forwards;
}

@keyframes fadeInGithub {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInGithub {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}









/* --------------------------------------------------- ------------------------------ */
/* ------------------------------certification section ------------------------------ */
/* --------------------------------------------------- ------------------------------ */












.cert-stat-card,
.cert-featured-card,
.cert-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82));
    border: 2px solid rgba(255, 230, 88, 0.13);
    box-shadow: 0 8px 32px 0 rgba(255, 230, 88, 0.15), 0 1.5px 8px 0 rgba(250, 167, 60, 0.10);
    backdrop-filter: blur(24px);
    transition: border 0.4s, box-shadow 0.4s, transform 0.4s;
    position: relative;
    z-index: 10;
}

.cert-stat-card:hover,
.cert-featured-card:hover,
.cert-card:hover {
    border: 2px solid var(--ai-primary);
    box-shadow: 0 0 32px 8px rgba(255, 230, 88, 0.6), 0 8px 32px 0 rgba(250, 167, 60, 0.15);
    transform: scale(1.04) translateY(-4px);
}

.cert-badge {
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(0, 217, 255, 0.10);
    transition: transform 0.3s;
}

.cert-badge:hover {
    transform: scale(1.08) rotate(-2deg);
}

.cert-verify-btn {
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    padding: 0.4rem 1.2rem;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px 0 rgba(0, 217, 255, 0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    min-width: 0;
    margin-top: 0.5rem;
}

.cert-verify-btn:hover,
.cert-verify-btn:focus {
    background: linear-gradient(90deg, var(--ai-secondary), var(--ai-primary));
    color: #fff;
    box-shadow: 0 0 12px 2px rgba(255, 230, 88, 0.8);
}

.animate-fadein {
    opacity: 0;
    animation: fadeInCert 1.2s cubic-bezier(.4, 2, .6, 1) forwards;
}

.animate-slidein {
    opacity: 0;
    animation: slideInCert 1.2s cubic-bezier(.4, 2, .6, 1) forwards;
}

@keyframes fadeInCert {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInCert {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

</style><style>.cert-bg-anim {
    pointer-events: none;
    z-index: 0;
}

.cert-orb-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.cert-orb-rot {
    animation: certOrbPulse 4s ease-in-out infinite;
}

@keyframes certOrbPulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1) translateY(-5px);
        opacity: 0.6;
    }
}

/* Enhanced Certification Section Styles */
.cert-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {

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

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

.cert-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cert-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.cert-legend {
    animation: legendGlow 3s ease-in-out infinite alternate;
}

@keyframes legendGlow {
    0% {
        box-shadow: 0 0 5px currentColor;
    }

    100% {
        box-shadow: 0 0 15px currentColor, 0 0 25px currentColor;
    }
}

.animate-badge {
    animation: badgeFloat 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.cert-glow-effect {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--ai-primary), var(--ai-accent), var(--ai-secondary));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cert-featured-card:hover .cert-glow-effect {
    opacity: 0.3;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.cert-image {
    transition: transform 0.3s ease;
}

.cert-featured-card:hover .cert-image {
    transform: scale(1.1) rotate(5deg);
}

.cert-filter-btn {
    position: relative;
    overflow: hidden;
}

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

.cert-filter-btn:hover::before {
    left: 100%;
}

/* Enhanced Contact Section Styles */
.contact-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    animation: contactParticleFloat 15s ease-in-out infinite;
}

@keyframes contactParticleFloat {

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

    33% {
        transform: translateX(10px) translateY(-10px);
    }

    66% {
        transform: translateX(-10px) translateY(10px);
    }
}

.contact-card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.contact-divider {
    animation: contactDividerGlow 3s ease-in-out infinite alternate;
}

@keyframes contactDividerGlow {
    0% {
        box-shadow: 0 0 10px var(--ai-primary);
    }

    100% {
        box-shadow: 0 0 25px var(--ai-primary), 0 0 35px var(--ai-accent);
    }
}

.contact-form-animate {
    animation: formSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes formSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.contact-input {
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.contact-input:focus {
    border-color: var(--ai-primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-accent));
    transition: width 0.3s ease;
}

.contact-input:focus+.input-focus-border {
    width: 100%;
}

.contact-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-text {
    transition: transform 0.3s ease;
}

.btn-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover .btn-text {
    transform: translateX(-10px);
}

.contact-submit-btn:hover .btn-icon {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.location-icon {
    animation: locationPulse 2s ease-in-out infinite;
}

@keyframes locationPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.connect-grid {
    animation: gridStagger 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes gridStagger {
    to {
        opacity: 1;
    }
}

/* Enhanced Footer Styles */
.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: footerParticleFloat 25s ease-in-out infinite;
}

@keyframes footerParticleFloat {

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

    50% {
        transform: translateY(-15px) rotate(90deg);
    }
}

.footer-title {
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px var(--ai-primary);
    }

    100% {
        text-shadow: 0 0 20px var(--ai-primary), 0 0 30px var(--ai-accent);
    }
}

.footer-social {
    animation: socialSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.social-link {
    position: relative;
    transition: all 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-link:hover::before {
    width: 40px;
    height: 40px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

.animate-stagger {
    animation: staggerFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* ---------------------------------------------------------------------------- */
/* ------------------------------ blog section ------------------------------ */
/* ---------------------------------------------------------------------------- */
.blog-read-btn {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.85rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(0, 217, 255, 0.10);
    outline: none;
    border: none;
    min-width: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.18s;
}

.blog-read-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-accent), var(--ai-secondary));
    transition: width 0.32s cubic-bezier(.4, 2, .6, 1);
    z-index: 2;
}

.blog-read-btn:hover::after,
.blog-read-btn:focus::after {
    width: 100%;
}

.blog-read-btn:hover,
.blog-read-btn:focus {
    background: linear-gradient(90deg, var(--ai-secondary), var(--ai-primary));
    color: #fff;
    box-shadow: 0 0 12px 2px rgba(255, 230, 88, 0.8);
    transform: scale(1.06) translateY(-2px);
}

.see-all-blog-btn {
    font-size: 1.1rem;
    padding: 0.9rem 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px 0 rgba(0, 217, 255, 0.10);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.2s, background 0.2s;
}

.see-all-blog-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-accent), var(--ai-secondary));
    transition: width 0.35s cubic-bezier(.4, 2, .6, 1);
    z-index: 2;
}

.see-all-blog-btn:hover::after,
.see-all-blog-btn:focus::after {
    width: 100%;
}

.see-all-blog-btn:hover,
.see-all-blog-btn:focus {
    color: #fff;
    background: linear-gradient(90deg, var(--ai-secondary), var(--ai-primary));
}