/* ============================================
   GLOBAL STYLES & RESET
   Ultra-Premium Portfolio Design v2.0
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Ultra Premium Dark Theme */
    --bg-primary: #050816;
    --bg-secondary: rgba(15, 23, 42, 0.6);
    --bg-card: rgba(15, 23, 42, 0.45);
    --bg-elevated: rgba(30, 41, 59, 0.5);
    --bg-glass: rgba(15, 23, 42, 0.35);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Multi-tone accent system */
    --accent-cyan: #38BDF8;
    --accent-blue: #3B82F6;
    --accent-violet: #8B5CF6;
    --accent-purple: #A855F7;
    --accent-emerald: #34D399;
    --accent-rose: #FB7185;

    /* Functional colors */
    --accent: #38BDF8;
    --accent-light: #7DD3FC;
    --accent-hover: #0EA5E9;
    --accent-glow: rgba(56, 189, 248, 0.3);
    --accent-subtle: rgba(56, 189, 248, 0.06);
    --success: #34D399;

    /* Borders */
    --border-color: rgba(148, 163, 184, 0.08);
    --border-accent: rgba(56, 189, 248, 0.2);
    --border-glow: rgba(56, 189, 248, 0.4);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #38BDF8 0%, #8B5CF6 50%, #A855F7 100%);
    --gradient-secondary: linear-gradient(135deg, #0EA5E9 0%, #3B82F6 100%);
    --gradient-accent: linear-gradient(135deg, #38BDF8 0%, #34D399 100%);
    --gradient-warm: linear-gradient(135deg, #FB7185 0%, #A855F7 100%);
    --gradient-mesh-1: radial-gradient(at 40% 20%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(52, 211, 153, 0.08) 0px, transparent 50%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;
    --card-padding: 2rem;
    --border-radius: 20px;
    --border-radius-lg: 28px;
    --border-radius-sm: 12px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Animated mesh background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 85% 20%, rgba(139, 92, 246, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(52, 211, 153, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 70% 70%, rgba(251, 113, 133, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: meshShift 20s ease-in-out infinite alternate;
}

/* Noise texture overlay for depth */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
}

@keyframes meshShift {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* Premium section divider */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 2px;
}

/* ============================================
   NAVIGATION - Floating Glass
   ============================================ */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    background: rgba(5, 8, 22, 0.6);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 16px;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(5, 8, 22, 0.85);
    box-shadow: 0 8px 40px rgba(56, 189, 248, 0.08), 0 4px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 10px;
    opacity: 0;
    transition: var(--transition);
}

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

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

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

.nav-link.active::before {
    opacity: 1;
    background: rgba(56, 189, 248, 0.12);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION - Immersive
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 160%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(52, 211, 153, 0.06) 0%, transparent 30%);
    animation: heroGlow 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-2%, 3%) scale(1.05);
    }

    100% {
        transform: translate(2%, -2%) scale(1);
    }
}

/* Animated grid lines for hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatPremium 25s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: 5%;
    left: -5%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

.shape-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation-delay: 4s;
}

.shape-3 {
    width: 450px;
    height: 450px;
    bottom: -10%;
    left: 30%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
    animation-delay: 8s;
}

@keyframes floatPremium {

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

    25% {
        transform: translate(40px, -40px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(25px, 15px) scale(1.05);
    }
}

/* Hero Content Layout */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Side - Photo with Premium Ring */
.hero-photo-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-container {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg,
            #38BDF8,
            #8B5CF6,
            #A855F7,
            #FB7185,
            #34D399,
            #38BDF8);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.85;
    animation: rotateHolo 8s linear infinite;
    filter: blur(1px);
}

@keyframes rotateHolo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-profile-photo {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-primary);
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 60px rgba(56, 189, 248, 0.15),
        0 25px 60px -12px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}

.hero-profile-photo:hover {
    transform: scale(1.03);
    box-shadow:
        0 0 80px rgba(56, 189, 248, 0.25),
        0 30px 70px -12px rgba(0, 0, 0, 0.5);
}

.photo-glow-effect {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: conic-gradient(from 90deg,
            rgba(56, 189, 248, 0.15),
            rgba(139, 92, 246, 0.1),
            rgba(52, 211, 153, 0.08),
            rgba(56, 189, 248, 0.15));
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

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

    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Right Side - Content */
.hero-text-side {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--accent-cyan);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-greeting::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.typed-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    background-size: 200% auto;
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0% {
        background-position: 0% center;
    }

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

    100% {
        background-position: 0% center;
    }
}

.typed-text::after {
    content: '|';
    position: relative;
    color: var(--accent-cyan);
    animation: blink 0.8s infinite;
    -webkit-text-fill-color: var(--accent-cyan);
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.tech-stack-preview {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.tech-badge {
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.15);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.825rem;
    font-weight: 500;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.tech-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.tech-badge:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.15);
}

.tech-badge:hover::before {
    opacity: 0.08;
}

/* ============================================
   BUTTONS - Premium Glass
   ============================================ */
.btn {
    padding: 14px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-spring);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 25px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
    background: rgba(56, 189, 248, 0.06);
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.12);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(148, 163, 184, 0.15);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-light);
    background: rgba(56, 189, 248, 0.06);
    transform: translateY(-2px);
}

/* ============================================
   SECTION TITLES - Premium
   ============================================ */
.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 4px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

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

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-text p:first-of-type {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 400;
}

/* About Photo - Premium Frame */
.about-photo-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 120px;
}

.about-photo-wrapper {
    position: relative;
    width: 280px;
    height: 360px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 3px;
    background: conic-gradient(from 0deg,
            #38BDF8, #8B5CF6, #34D399, #FB7185, #38BDF8);
    animation: borderRotate 6s linear infinite;
    background-size: 400% 400%;
}

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

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

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

.about-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    background: conic-gradient(from 0deg, #38BDF8, #8B5CF6, #34D399, #FB7185, #38BDF8);
    z-index: 0;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--border-radius-lg) - 3px);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.about-photo:hover {
    transform: scale(1.02);
}

.photo-border {
    display: none;
}

/* About Stats - Premium Cards */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: var(--bg-glass);
    padding: 1.75rem 1.25rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow:
        0 20px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(56, 189, 248, 0.06);
}

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

.stat-card i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   SKILLS SECTION - Premium Grid
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-glass);
    padding: var(--card-padding);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: left;
}

.skill-category:hover {
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(56, 189, 248, 0.04);
    transform: translateY(-4px);
}

.skill-category:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.skill-category.full-width {
    grid-column: 1 / -1;
}

.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.category-header i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.skill-bar {
    height: 5px;
    background: rgba(148, 163, 184, 0.08);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.skill-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease 1.2s;
}

.skill-progress[style*="width"]::after {
    opacity: 1;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: rgba(56, 189, 248, 0.05);
    color: var(--accent-light);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    border: 1px solid rgba(56, 189, 248, 0.12);
    font-weight: 500;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.skill-tag:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.12);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.cert-category {
    margin-bottom: 3.5rem;
}

.cert-category:last-of-type {
    margin-bottom: 2rem;
}

.cert-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
    text-align: center;
}

.cert-category-title i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.badge-card {
    background: var(--bg-glass);
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.badge-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.badge-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(56, 189, 248, 0.06);
}

.badge-card:hover::before {
    opacity: 0.03;
}

.badge-icon {
    width: 68px;
    height: 68px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition-spring);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

.badge-card:hover .badge-icon {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.3);
}

.badge-icon i {
    font-size: 1.5rem;
    color: white;
}

.badge-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.badge-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.profile-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* ============================================
   PROJECTS SECTION - Spotlight
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-glass);
    padding: 2.75rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

/* Animated gradient border on hover */
.project-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from var(--angle, 0deg),
            #38BDF8, #8B5CF6, #34D399, #FB7185, #38BDF8);
    border-radius: calc(var(--border-radius-lg) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: cardBorderSpin 4s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes cardBorderSpin {
    0% {
        --angle: 0deg;
    }

    100% {
        --angle: 360deg;
    }
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-primary);
    border-radius: calc(var(--border-radius-lg) - 1px);
    z-index: -1;
}

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

.project-card:hover {
    border-color: transparent;
    box-shadow:
        0 30px 70px -12px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(56, 189, 248, 0.06);
}

.flagship-project {
    border-color: rgba(56, 189, 248, 0.15);
}

.project-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.gradient-bg {
    background: var(--gradient-primary);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.2);
}

.project-icon i {
    font-size: 1.85rem;
    color: white;
}

.project-status {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
    animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
    }

    50% {
        box-shadow: 0 4px 25px rgba(56, 189, 248, 0.4);
    }
}

.project-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.project-focus-areas {
    background: rgba(56, 189, 248, 0.04);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    border-left: 3px solid;
    border-image: var(--gradient-primary) 1;
    position: relative;
}

.project-focus-areas h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-focus-areas h4 i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
}

.focus-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.focus-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.focus-list li i {
    color: var(--accent-emerald);
    font-size: 0.75rem;
}

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

.tech-tag {
    background: rgba(56, 189, 248, 0.05);
    color: var(--accent-light);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.12);
    transition: var(--transition-spring);
}

.tech-tag:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}

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

.project-link {
    flex: 1;
    max-width: 240px;
    justify-content: center;
}

/* ============================================
   EXPERIENCE SECTION - Timeline
   ============================================ */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow:
        0 0 0 4px rgba(56, 189, 248, 0.15),
        0 0 20px rgba(56, 189, 248, 0.2);
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15), 0 0 20px rgba(56, 189, 248, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.1), 0 0 30px rgba(56, 189, 248, 0.3);
    }
}

.timeline-content {
    background: var(--bg-glass);
    padding: 2.25rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-spring);
    backdrop-filter: blur(12px);
}

.timeline-content:hover {
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(56, 189, 248, 0.04);
    transform: translateY(-4px);
}

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

.timeline-date {
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-date i {
    font-size: 0.85rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.responsibilities {
    background: rgba(56, 189, 248, 0.04);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid;
    border-image: var(--gradient-primary) 1;
}

.responsibilities h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.responsibilities h4 i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
}

.responsibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.responsibility-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.responsibility-list li i {
    color: var(--accent-emerald);
    font-size: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tag {
    background: rgba(56, 189, 248, 0.05);
    color: var(--accent-light);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.12);
    transition: var(--transition-spring);
}

.timeline-tag:hover {
    background: rgba(56, 189, 248, 0.12);
    transform: translateY(-2px);
}

/* ============================================
   CONTACT SECTION - Premium Cards
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-glass);
    padding: 2.25rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow:
        0 25px 60px -12px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(56, 189, 248, 0.06);
}

.contact-card:hover::before {
    opacity: 0.04;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition-spring);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

.contact-card:hover .contact-icon {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   FOOTER - Subtle Premium
   ============================================ */
.footer {
    background: rgba(15, 23, 42, 0.4);
    padding: 3rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.06);
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-links a:hover {
    color: var(--accent-light);
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS - Premium Scroll Reveal
   ============================================ */
.fade-in {
    opacity: 0;
    animation: fadeInPremium 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.35s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.65s;
}

@keyframes fadeInPremium {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        filter: blur(4px);
    }

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

/* Scroll reveal animation class */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .navbar {
        width: calc(100% - 32px);
        top: 8px;
    }

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

    .hero-photo-side {
        order: 1;
    }

    .hero-text-side {
        order: 2;
        align-items: center;
    }

    .hero-greeting::before {
        display: none;
    }

    .hero-description {
        text-align: center;
    }

    .hero-buttons,
    .tech-stack-preview {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-photo-section {
        position: static;
        order: -1;
    }

    .about-photo-wrapper {
        margin: 0 auto 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .navbar {
        width: calc(100% - 24px);
        top: 6px;
        border-radius: 14px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(5, 8, 22, 0.95);
        backdrop-filter: blur(24px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        gap: 0.25rem;
        border-radius: 0 0 16px 16px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-photo-container {
        width: 270px;
        height: 270px;
    }

    .hero-profile-photo {
        width: 250px;
        height: 250px;
    }

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

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

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

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

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

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

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

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 16px);
        top: 4px;
        border-radius: 12px;
    }

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

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

    .hero-photo-container {
        width: 220px;
        height: 220px;
    }

    .hero-profile-photo {
        width: 200px;
        height: 200px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .skill-category,
    .project-card,
    .timeline-content {
        padding: 1.5rem;
    }

    .project-card {
        padding: 1.75rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.15);
    border-radius: 100px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.3);
}

/* Selection styling */
::selection {
    background: rgba(56, 189, 248, 0.25);
    color: var(--text-primary);
}