/* ==========================================================================
   High-Fidelity Claymorphism Design System
   Portfolio Website for Mangesh Yadav
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties - Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Masculine/Aesthetic Palette */
    --clay-canvas: #E8EBF0;
    --clay-foreground: #1E293B;
    --clay-muted: #475569;
    --clay-accent: #0EA5E9;
    --clay-accent-alt: #3B82F6;
    --clay-tertiary: #06B6D4;
    --clay-success: #10B981;
    --clay-warning: #F59E0B;
    
    /* Background Colors */
    --clay-card-bg: rgba(255, 255, 255, 0.7);
    --clay-card-solid: #ffffff;
    --clay-input-bg: #EFEBF5;
    
    /* Gradient Colors */
    --clay-gradient-start: #38BDF8;
    --clay-gradient-end: #0EA5E9;
    
    /* Shadows - 4 Layer Stack */
    --shadow-clay-deep: 
        30px 30px 60px #cdc6d9,
        -30px -30px 60px #ffffff,
        inset 10px 10px 20px rgba(139, 92, 246, 0.05),
        inset -10px -10px 20px rgba(255, 255, 255, 0.8);
    
    --shadow-clay-card: 
        16px 16px 32px rgba(160, 150, 180, 0.2),
        -10px -10px 24px rgba(255, 255, 255, 0.9),
        inset 6px 6px 12px rgba(139, 92, 246, 0.03),
        inset -6px -6px 12px rgba(255, 255, 255, 1);
    
    --shadow-clay-button: 
        12px 12px 24px rgba(139, 92, 246, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.4),
        inset 4px 4px 8px rgba(255, 255, 255, 0.4),
        inset -4px -4px 8px rgba(0, 0, 0, 0.1);
    
    --shadow-clay-button-hover: 
        16px 16px 32px rgba(139, 92, 246, 0.4),
        -10px -10px 20px rgba(255, 255, 255, 0.5),
        inset 4px 4px 8px rgba(255, 255, 255, 0.4),
        inset -4px -4px 8px rgba(0, 0, 0, 0.15);
    
    --shadow-clay-pressed: 
        inset 10px 10px 20px #d9d4e3,
        inset -10px -10px 20px #ffffff;
    
    --shadow-clay-card-hover: 
        24px 24px 48px rgba(160, 150, 180, 0.25),
        -14px -14px 32px rgba(255, 255, 255, 0.95),
        inset 6px 6px 12px rgba(139, 92, 246, 0.05),
        inset -6px -6px 12px rgba(255, 255, 255, 1);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 48px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* --------------------------------------------------------------------------
   Base Styles & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.625;
    color: var(--clay-foreground);
    background-color: var(--clay-canvas);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   Background Blobs - Animated Ambient Lighting
   -------------------------------------------------------------------------- */
.clay-blobs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.clay-blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    opacity: 0.4;
    animation: clay-float 10s ease-in-out infinite;
}

.blob-1 {
    width: 70vh;
    height: 70vh;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 60vh;
    height: 60vh;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    top: 30%;
    right: -15%;
    animation: clay-float-delayed 12s ease-in-out infinite;
    animation-delay: 2s;
}

.blob-3 {
    width: 50vh;
    height: 50vh;
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    bottom: -10%;
    left: 20%;
    animation: clay-float 8s ease-in-out infinite;
    animation-delay: 4s;
}

.blob-4 {
    width: 40vh;
    height: 40vh;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    bottom: 20%;
    right: 10%;
    animation: clay-float-delayed 14s ease-in-out infinite;
    animation-delay: 1s;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes clay-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(3deg);
    }
}

@keyframes clay-float-delayed {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

@keyframes clay-breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes clay-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-clay-button);
    }
    50% {
        transform: scale(1.02);
        box-shadow: var(--shadow-clay-button-hover);
    }
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .clay-blob {
        animation: none;
        opacity: 0.2;
    }
}

/* --------------------------------------------------------------------------
   Navigation - Tubelight Style
   -------------------------------------------------------------------------- */
.tubelight-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 500px;
}

@media (min-width: 768px) {
    .tubelight-nav {
        top: 16px;
        bottom: auto;
        max-width: 550px;
    }
}

.tubelight-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Hamburger Menu Button (Mobile Only) */
.hamburger-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hamburger-btn:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 22px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 100px;
    color: rgba(51, 47, 58, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--clay-accent);
}

.nav-item.active {
    color: var(--clay-accent);
    background: rgba(124, 58, 237, 0.1);
}

.nav-text {
    display: none;
}

@media (min-width: 768px) {
    .nav-text {
        display: inline;
    }
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .nav-icon {
        display: none;
    }
}

/* Lamp indicator - the glowing effect */
.lamp-indicator {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clay-accent), var(--clay-accent-alt));
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.nav-item.active .lamp-indicator {
    width: 24px;
    opacity: 1;
    box-shadow: 0 0 12px var(--clay-accent),
                0 0 24px rgba(124, 58, 237, 0.4),
                0 0 36px rgba(124, 58, 237, 0.2);
}

/* Glow effect behind active item */
.nav-item.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 100px;
    z-index: -1;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--clay-foreground);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(40px + var(--space-xl)) var(--space-lg) var(--space-xl);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.hero-text {
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .hero-text {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 992px) {
    .hero-text {
        text-align: left;
    }
}

.hero-greeting {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--clay-muted);
    margin-bottom: var(--space-xs);
    animation: float-up 0.8s ease-out 0.2s both;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    color: var(--clay-foreground);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xs);
    animation: float-up 0.8s ease-out 0.4s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--clay-accent);
    margin-bottom: var(--space-sm);
    animation: float-up 0.8s ease-out 0.6s both;
    min-height: 1.5em;
}

.typing-text {
    display: inline;
}

.typing-cursor {
    display: inline-block;
    color: var(--clay-accent);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1rem;
    color: var(--clay-muted);
    max-width: 500px;
    margin-bottom: var(--space-md);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .hero-description {
        margin-left: 0;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .hero-stats {
        justify-content: flex-start;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

@media (min-width: 992px) {
    .stat-item {
        align-items: flex-start;
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--clay-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--clay-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Orb */
.hero-orb {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--clay-gradient-start) 0%, var(--clay-gradient-end) 100%);
    box-shadow: var(--shadow-clay-button);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: clay-breathe 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.orb-inner {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.orb-icon {
    color: white;
    opacity: 0.9;
}

/* Floating Shapes with Icons */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-clay-card);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: clay-float 8s ease-in-out infinite;
    color: var(--clay-accent);
}

.shape-1 {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
    color: #10B981;
}

.shape-2 {
    bottom: 25%;
    left: 0%;
    animation-delay: 1s;
    color: #3B82F6;
}

.shape-3 {
    bottom: 10%;
    right: 15%;
    animation-delay: 2s;
    color: #0EA5E9;
}

.shape-4 {
    top: 25%;
    left: 10%;
    animation-delay: 3s;
    color: #06B6D4;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 300px;
    animation: float-up 0.8s ease-out 0.8s both;
}

.hero-orb {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--clay-gradient-start) 0%, var(--clay-gradient-end) 100%);
    box-shadow: var(--shadow-clay-button);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: clay-breathe 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.orb-inner {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    animation: clay-float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--clay-accent-alt);
    top: 10%;
    right: 10%;
    opacity: 0.6;
    animation-delay: 1s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--clay-tertiary);
    bottom: 20%;
    left: 5%;
    opacity: 0.5;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--clay-success);
    top: 30%;
    left: 15%;
    opacity: 0.4;
    animation-delay: 3s;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: float-up 0.8s ease-out 1s both;
}

.scroll-indicator span {
    font-size: 0.875rem;
    color: var(--clay-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--clay-accent);
    border-bottom: 2px solid var(--clay-accent);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(10px) rotate(45deg);
    }
    60% {
        transform: translateY(5px) rotate(45deg);
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.clay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.clay-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.clay-btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clay-gradient-start) 0%, var(--clay-gradient-end) 100%);
    color: white;
    box-shadow: var(--shadow-clay-button);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-clay-button-hover);
}

.btn-primary:active {
    transform: scale(0.92) translateY(0);
    box-shadow: var(--shadow-clay-pressed);
}

.btn-secondary {
    background: var(--clay-card-solid);
    color: var(--clay-foreground);
    box-shadow: var(--shadow-clay-button);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-clay-button-hover);
}

.btn-secondary:active {
    transform: scale(0.92) translateY(0);
    box-shadow: var(--shadow-clay-pressed);
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clay-accent);
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--clay-foreground);
}

.text-gradient {
    background: linear-gradient(135deg, var(--clay-accent) 0%, var(--clay-accent-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
    position: relative;
}

.about-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: var(--shadow-clay-button);
}

.icon-automation {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.icon-ai {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.icon-dev {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-card {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-md);
    text-align: center;
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-clay-card-hover);
}

.about-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clay-gradient-start) 0%, var(--clay-gradient-end) 100%);
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: var(--shadow-clay-button);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--clay-foreground);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--clay-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Experience Section
   -------------------------------------------------------------------------- */
.experience-section {
    position: relative;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.experience-card {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-clay-card-hover);
}

.experience-card {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.experience-visual {
    flex-shrink: 0;
}

.company-badge {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: var(--shadow-clay-button);
}

.experience-content {
    flex: 1;
    min-width: 250px;
}

.experience-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--clay-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.highlight-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 2px;
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

@media (min-width: 576px) {
    .experience-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.experience-company {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.company-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: var(--radius-lg);
    color: white;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: var(--shadow-clay-button);
}

.experience-company h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clay-foreground);
}

.company-location {
    font-size: 0.9rem;
    color: var(--clay-muted);
}

.experience-date {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clay-accent);
    padding: var(--space-xs) var(--space-md);
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.experience-details {
    list-style: none;
}

.experience-details li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--clay-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.experience-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--clay-accent);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

/* --------------------------------------------------------------------------
   Skills Section
   -------------------------------------------------------------------------- */
.skills-section {
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 576px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-category {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-clay-card-hover);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.skill-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 4px 4px 10px rgba(160, 150, 180, 0.2),
                -4px -4px 10px rgba(255, 255, 255, 0.9);
}

.skill-icon.python {
    background: linear-gradient(135deg, #3776AB 0%, #FFD43B 100%);
}

.skill-icon.ai {
    background: linear-gradient(135deg, #FF6F61 0%, #FF8C42 100%);
}

.skill-icon.web {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.skill-icon.db {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.skill-icon.cloud {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.skill-icon.tools {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.skill-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--clay-foreground);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    background: var(--clay-card-solid);
    color: var(--clay-foreground);
    border-radius: var(--radius-full);
    box-shadow: 4px 4px 10px rgba(160, 150, 180, 0.15),
                -4px -4px 10px rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--clay-gradient-start) 0%, var(--clay-gradient-end) 100%);
    color: white;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Projects Section
   -------------------------------------------------------------------------- */
.projects-section {
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-clay-card-hover);
}

.project-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-visual {
    display: none;
}

@media (min-width: 992px) {
    .project-featured .project-visual {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.project-orb {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: clay-breathe 6s ease-in-out infinite;
}

.orb-deepfake {
    background: linear-gradient(135deg, #0EA5E9 0%, #3B82F6 100%);
}

.project-decoration {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.decoration-chess, .decoration-agent {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-clay-button);
    animation: clay-float 6s ease-in-out infinite;
}

.decoration-agent {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.project-featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .project-featured {
        grid-column: span 2;
    }
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    padding: 4px 12px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.project-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clay-foreground);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.project-description {
    font-size: 0.95rem;
    color: var(--clay-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.project-tech span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--clay-accent);
    border-radius: var(--radius-sm);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clay-accent);
    transition: all var(--transition-fast);
}

.project-link:hover {
    gap: var(--space-sm);
    color: var(--clay-accent-alt);
}

.project-visual {
    display: none;
}

@media (min-width: 992px) {
    .project-featured .project-visual {
        display: block;
        position: absolute;
        right: -50px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.visual-orb {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    opacity: 0.15;
    animation: clay-breathe 6s ease-in-out infinite;
}

.orb-ai {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

/* --------------------------------------------------------------------------
   Education Section
   -------------------------------------------------------------------------- */
.education-section {
    position: relative;
}

.education-content {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.education-card {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .education-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

.education-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: var(--shadow-clay-button);
}

.education-details {
    flex: 1;
}

.education-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clay-success);
    margin-bottom: var(--space-xs);
}

.education-degree {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clay-foreground);
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.education-specialization {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clay-accent);
    margin-bottom: var(--space-xs);
}

.education-institution {
    font-size: 0.95rem;
    color: var(--clay-muted);
    margin-bottom: var(--space-md);
}

.education-coursework span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clay-foreground);
    display: block;
    margin-bottom: var(--space-xs);
}

.education-coursework p {
    font-size: 0.9rem;
    color: var(--clay-muted);
}

/* Certifications */
.certifications-section {
    max-width: 800px;
    margin: 0 auto;
}

.certifications-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clay-foreground);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}

.certifications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.certification-card {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-clay-card-hover);
}

.cert-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: var(--shadow-clay-button);
}

.cert-1 {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.cert-2 {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.cert-3 {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

.certification-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clay-foreground);
    margin-bottom: var(--space-xs);
    font-family: var(--font-body);
    line-height: 1.4;
}

.certification-card p {
    font-size: 0.8rem;
    color: var(--clay-muted);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    position: relative;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-clay-card);
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-clay-card-hover);
}

.contact-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clay-gradient-start) 0%, var(--clay-gradient-end) 100%);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: var(--shadow-clay-button);
    transition: transform var(--transition-fast);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon.email {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.contact-icon.linkedin {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.contact-icon.github {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clay-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clay-foreground);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.clay-footer {
    text-align: center;
    padding: var(--space-md) var(--space-md);
    background: var(--clay-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: var(--space-lg);
}

.clay-footer p {
    font-size: 0.85rem;
    color: var(--clay-muted);
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */

/* Small phones (320px+) */
@media (max-width: 380px) {
    :root {
        --space-xs: 0.375rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.25rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .tubelight-nav-inner {
        padding: 6px 6px;
        gap: 2px;
    }
    
    .nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .clay-btn {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
}

/* Large phones (381px - 480px) */
@media (min-width: 381px) and (max-width: 480px) {
    .hero-name {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Tablet portrait (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .skills-grid,
    .projects-grid,
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Default mobile (max-width 767px) */
@media (max-width: 767px) {
    /* Show hamburger button on mobile */
    .hamburger-btn {
        display: flex;
    }
    
    /* Navbar hidden by default on mobile, show when active */
    .tubelight-nav {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(20px);
        transition: all 0.3s ease;
    }
    
    .tubelight-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .section-container {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .hero-section {
        padding-top: calc(60px + var(--space-2xl));
        min-height: auto;
        padding-bottom: var(--space-3xl);
    }
    
    .hero-content {
        gap: var(--space-xl);
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .clay-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-visual {
        min-height: 200px;
    }
    
    .hero-orb {
        width: 180px;
        height: 180px;
    }
    
    .orb-inner {
        width: 130px;
        height: 130px;
    }
    
    .orb-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .about-content,
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card,
    .skill-category,
    .project-card,
    .contact-card {
        padding: var(--space-md);
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: center;
    }
    
    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .project-orb,
    .project-decoration {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Tablet landscape and small laptop (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-name {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-orb {
        width: 260px;
        height: 260px;
    }
}

/* Laptop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-orb {
        width: 280px;
        height: 280px;
    }
    
    .hero-name {
        font-size: 3.5rem;
    }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
    .section-container {
        max-width: 1100px;
    }
    
    .hero-content {
        max-width: 1100px;
    }
}

/* Extra large desktop (1440px+) */
@media (min-width: 1440px) {
    :root {
        --space-3xl: 7rem;
    }
    
    .hero-name {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-orb {
        width: 350px;
        height: 350px;
    }
    
    .orb-inner {
        width: 260px;
        height: 260px;
    }
}

/* Ultra wide (1920px+) */
@media (min-width: 1920px) {
    .section-container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 1400px;
    }
}
