/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-script: 'Kaushan Script', cursive;
    --font-agustina: 'Agustina', cursive;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-code: #1e293b;
    --bg-dark: #0f172a;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-lighter: #c4b5fd;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* Hide Scrollbar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

* {
    scrollbar-width: none;
}

/* ============================================
   Agustina Font Class
   ============================================ */
.agustina-font {
    font-family: 'Agustina', cursive !important;
}

/* ============================================
   Preloader - Dark Theme
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Preloader Content Wrapper */
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loader {
    scale: 0.75;
    position: relative;
    width: 200px;
    height: 200px;
    translate: 10px -20px;
}

.loader svg {
    position: absolute;
    top: 0;
    left: 0;
}

/* Preloader Name Styling */
.preloader-name {
    font-family: 'Agustina', cursive;
    font-size: 28px;
    color: var(--accent-light);
    letter-spacing: 2px;
    margin-top: 20px;
    animation: nameGlow 2s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { 
        opacity: 0.7;
        text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 20px rgba(167, 139, 250, 0.6), 0 0 40px rgba(167, 139, 250, 0.3);
    }
}

.loader-text {
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-lighter);
    letter-spacing: 2px;
    animation: textPulse 1.5s ease-in-out infinite;
}

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

.head {
    translate: 27px -30px;
    z-index: 3;
    animation: bob 1s infinite ease-in;
}

.bod {
    translate: 0px 30px;
    z-index: 3;
    animation: bob 1s infinite ease-in-out;
}

.legr {
    translate: 75px 135px;
    z-index: 0;
    animation: rstep 1s infinite ease-in;
    animation-delay: 0.45s;
}

.legl {
    translate: 30px 155px;
    z-index: 3;
    animation: lstep 1s infinite ease-in;
}

@keyframes bob {
    0% { transform: translateY(0) rotate(3deg); }
    5% { transform: translateY(0) rotate(3deg); }
    25% { transform: translateY(5px) rotate(0deg); }
    50% { transform: translateY(0px) rotate(-3deg); }
    70% { transform: translateY(5px) rotate(0deg); }
    100% { transform: translateY(0) rotate(3deg); }
}

@keyframes lstep {
    0% { transform: translateY(0) rotate(-5deg); }
    33% { transform: translateY(-15px) translate(32px) rotate(35deg); }
    66% { transform: translateY(0) translate(25px) rotate(-25deg); }
    100% { transform: translateY(0) rotate(-5deg); }
}

@keyframes rstep {
    0% { transform: translateY(0) translate(0px) rotate(-5deg); }
    33% { transform: translateY(-10px) translate(30px) rotate(35deg); }
    66% { transform: translateY(0) translate(20px) rotate(-25deg); }
    100% { transform: translateY(0) translate(0px) rotate(-5deg); }
}

#gnd {
    translate: -140px 0;
    rotate: 10deg;
    z-index: -1;
    filter: blur(0.5px) drop-shadow(1px 3px 5px rgba(167, 139, 250, 0.5));
    opacity: 0.25;
    animation: scroll 5s infinite linear;
}

@keyframes scroll {
    0% { transform: translateY(25px) translate(50px); opacity: 0; }
    33% { opacity: 0.25; }
    66% { opacity: 0.25; }
    to { transform: translateY(-50px) translate(-100px); opacity: 0; }
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 0 24px;
}

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

.nav-brand {
    text-decoration: none;
}

.nav-logo-text {
    font-family: var(--font-script);
    font-size: 24px;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Agustina font override for nav logo */
.nav-logo-text.agustina-font {
    font-family: 'Agustina', cursive !important;
    font-size: 22px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

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

.nav-link i {
    width: 18px;
    height: 18px;
}



.nav-mobile-toggle {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    padding: 80px 24px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.1), transparent);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    pointer-events: none;
}

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 24px;
    width: fit-content;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.hero-title-accent {
    display: block;
    font-family: var(--font-script);
    font-size: clamp(48px, 7vw, 80px);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 520px;
}

.hero-code {
    background: var(--bg-code);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    max-width: 320px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
}

.hero-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.hero-btn i {
    width: 20px;
    height: 20px;
}

.hero-btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.hero-btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.hero-btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    position: relative;
    z-index: 2;
}

.hero-image-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.hero-image-ring-1 {
    width: 450px;
    height: 450px;
}

.hero-image-ring-2 {
    width: 500px;
    height: 500px;
    animation-direction: reverse;
    animation-duration: 40s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.floating-icon i {
    font-size: 24px;
}

.floating-icon-1 { top: 10%; left: 0; animation-delay: 0s; }
.floating-icon-2 { top: 30%; right: 0; animation-delay: 1s; }
.floating-icon-3 { bottom: 30%; left: 5%; animation-delay: 2s; }
.floating-icon-4 { bottom: 10%; right: 10%; animation-delay: 3s; }

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

/* ============================================
   Code Blocks
   ============================================ */
.code-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot-red { background: #ef4444; }
.code-dot-yellow { background: #fbbf24; }
.code-dot-green { background: #22c55e; }

.code-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #94a3b8;
}

.code-content {
    padding: 16px;
}

.code-content pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: #e2e8f0;
}

.code-content .comment { color: #64748b; }
.code-content .keyword { color: #f472b6; }
.code-content .string { color: #67e8f9; }
.code-content .function { color: #fbbf24; }
.code-content .property { color: #a78bfa; }
.code-content .number { color: #34d399; }

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 24px;
}

.section-alt {
    background: var(--bg-secondary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 24px;
    border-left: 4px solid var(--accent-primary);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    
}

.section-label i {
    width: 14px;
    height: 14px;
}

.section-title {
    font-family: var(--font-script);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-2xl);
}

.about-code {
    background: var(--bg-code);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.about-highlight i {
    width: 20px;
    height: 20px;
    color: var(--success);
}

/* ============================================
   Worked With Section - Marquee Style
   ============================================ */
.companies-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Fade edges */
.companies-marquee-wrapper::before,
.companies-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.companies-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.companies-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.companies-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.companies-marquee-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marqueeScroll 25s linear infinite;
    will-change: transform;
}

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

/* Pause animation when marquee has .paused class */
.companies-marquee.paused .companies-marquee-track {
    animation-play-state: paused;
}

.company-logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 10px;
}

.company-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all var(--transition-slow);
}

/* Hover - show color */
.company-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Active/clicked state - show color and scale */
.company-logo-item.active img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
}

.company-logo-item.active {
    position: relative;
}

.company-logo-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* ============================================
   Skills Section
   ============================================ */
.skills-code {
    background: var(--bg-code);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
}

.skill-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
}

.skill-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    font-size: 36px;
}

.skill-icon i {
    font-size: 36px;
}

.skill-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================
   Featured Projects - My Big Deals
   ============================================ */
.big-deals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.big-deal-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.big-deal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-primary);
}

.big-deal-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.big-deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.big-deal-card:hover .big-deal-image img {
    transform: scale(1.08);
}

.big-deal-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.big-deal-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.big-deal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.big-deal-badge i {
    width: 12px;
    height: 12px;
}

.badge-ai {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(139, 92, 246, 0.15));
    color: #8b5cf6;
}

.badge-open {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

.badge-live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.big-deal-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.big-deal-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.big-deal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.big-deal-tech span {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.big-deal-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-primary);
    transition: gap var(--transition-base);
}

.big-deal-action i {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.big-deal-card:hover .big-deal-action {
    gap: 14px;
}

.big-deal-card:hover .big-deal-action i {
    transform: translateX(6px);
}

/* ============================================
   Other Projects - Grid Style (No Radius)
   ============================================ */
.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.other-project-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.other-project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.other-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.other-project-item:hover img {
    transform: scale(1.1);
}

.other-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    transition: background var(--transition-base);
}

.other-project-item:hover .other-project-overlay {
    background: linear-gradient(to top, rgba(99, 102, 241, 0.95) 0%, rgba(99, 102, 241, 0.6) 50%, rgba(99, 102, 241, 0.2) 100%);
}

.other-project-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.other-project-tags {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* Show All GitHub Button */
.show-all-github {
    display: flex;
    justify-content: center;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--bg-dark);
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.github-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.github-btn i {
    width: 22px;
    height: 22px;
}

/* ============================================
   Awards Section - Circle Style
   ============================================ */
.awards-circle-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.award-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.award-circle:hover {
    transform: translateY(-8px);
}

.award-circle-image {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-light);
    transition: all var(--transition-base);
}

.award-circle:hover .award-circle-image {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.award-circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.award-circle:hover .award-circle-image img {
    transform: scale(1.1);
}

.award-circle-hover {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: 50%;
}

.award-circle:hover .award-circle-hover {
    opacity: 1;
}

.award-circle-hover i {
    width: 32px;
    height: 32px;
    color: white;
}

.award-circle-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-code {
    background: var(--bg-code);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon i {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-card a:hover {
    color: var(--accent-primary);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 22px;
}

/* ============================================
   Modal
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal.active {
    display: flex;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.modal-close i {
    width: 24px;
    height: 24px;
    color: white;
}

/* ============================================
   Contact Widget
   ============================================ */
.contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-button {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all var(--transition-base);
}

.contact-button:hover {
    transform: scale(1.1);
}

.contact-button i {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-2xl);
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.popup-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.popup-header button:hover {
    color: var(--text-primary);
}

.popup-header button i {
    width: 20px;
    height: 20px;
}

.popup-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.popup-profile img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.popup-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.popup-role {
    font-size: 14px;
    color: var(--text-muted);
}

.popup-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.popup-links a,
.popup-location {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.popup-links a:hover {
    color: var(--accent-primary);
}

.popup-links i,
.popup-location i {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.popup-btn i {
    width: 18px;
    height: 18px;
}

.popup-btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.popup-btn-whatsapp {
    background: #25d366;
    color: white;
}

.popup-btn-whatsapp:hover {
    background: #20bd5a;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        width: 350px;
        height: 350px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .big-deals-grid {
        grid-template-columns: 1fr;
    }
    
    .other-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Marquee - Tablet */
    .company-logo-item {
        width: 100px;
        height: 70px;
    }
    
    .companies-marquee-track {
        gap: 50px;
    }
    
    /* Preloader name - Tablet */
    .preloader-name {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .hero-image-container {
        width: 280px;
        height: 280px;
    }
    
    .floating-icon {
        display: none;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .other-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .awards-circle-grid {
        gap: 24px;
    }
    
    .award-circle-image {
        width: 100px;
        height: 100px;
    }
    
    /* Marquee - Mobile */
    .company-logo-item {
        width: 90px;
        height: 60px;
    }
    
    .companies-marquee-track {
        gap: 40px;
        animation-duration: 20s;
    }
    
    .companies-marquee-wrapper::before,
    .companies-marquee-wrapper::after {
        width: 50px;
    }
    
    /* Preloader name - Mobile */
    .preloader-name {
        font-size: 22px;
        margin-top: 10px;
    }
    
    /* Nav logo - Mobile */
    .nav-logo-text.agustina-font {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-title-accent {
        font-size: 44px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .contact-popup {
        width: 300px;
        right: -10px;
    }
    
    .other-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .awards-circle-grid {
        gap: 20px;
    }
    
    .award-circle-image {
        width: 80px;
        height: 80px;
    }
    
    .award-circle-label {
        font-size: 12px;
    }
    
    /* Marquee - Small Mobile */
    .company-logo-item {
        width: 80px;
        height: 55px;
    }
    
    .companies-marquee-track {
        gap: 30px;
        animation-duration: 15s;
    }
    
    .companies-marquee-wrapper::before,
    .companies-marquee-wrapper::after {
        width: 30px;
    }
   
    
    /* Nav logo - Small Mobile */
    .nav-logo-text.agustina-font {
        font-size: 16px;
    }
}