/* ========================================
   triCreazione - Clean & Maintainable CSS
   Version 2.0
   ======================================== */


/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --accent-2: #f59e0b;
    
    --bg-dark: #0f172a;
    --bg-medium: #1e293b;
    --bg-light: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --border: #475569;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-2));
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 2025 Futuristic Grid Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure all content is above the background */
body > * {
    position: relative;
    z-index: 1;
}

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

/* ===== Typography ===== */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Three Dots Logo */
.three-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.three-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

.three-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.three-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
    margin-right: 4px;
}

.three-dots .dot.distant {
    width: 8px;
    height: 8px;
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) translateY(-2px);
        opacity: 0.8;
    }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Modern 2025 Gradient Indicator */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px 3px 0 0;
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover::after {
    transform: scaleX(0.7);
    opacity: 0.7;
}

/* Animated gradient bar below navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 25%;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--accent) 100%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.navbar[data-active="home"]::after {
    left: 0;
    width: 25%;
}

.navbar[data-active="about"]::after {
    left: 25%;
    width: 25%;
    background: linear-gradient(90deg, 
        var(--secondary) 0%, 
        var(--accent) 50%, 
        var(--accent-2) 100%);
}

.navbar[data-active="featured"]::after {
    left: 50%;
    width: 25%;
    background: linear-gradient(90deg, 
        var(--accent) 0%, 
        var(--accent-2) 50%, 
        var(--primary) 100%);
}

.navbar[data-active="contact"]::after {
    left: 75%;
    width: 25%;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--accent) 100%);
}

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

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    padding: 2rem 0;
    max-width: 800px;
    text-align: center;
}

/* Hero Circles - Modern 2025 Design */
.hero-circles {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-circles .circle {
    position: absolute;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    opacity: 0.7;
    filter: blur(0.2px);
    animation: circleAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, 
               modernBreathing 6s ease-in-out 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.hero-circles .circle-1 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    left: calc(50% - 140px);
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0s, 2s;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.hero-circles .circle-2 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    left: calc(50% - 40px);
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0.1s, 2.1s;
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.3);
}

.hero-circles .circle-3 {
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    left: calc(50% + 120px);
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0.2s, 2.2s;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

/* Modern 2025 Hover Effects for Circles - Reduced brightness */
.hero-circles .circle:hover {
    transform: translateY(-50%) scale(1.15);
    opacity: 0.85;
    filter: blur(0px) brightness(1.1);
    animation-play-state: paused;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-circles .circle-1:hover {
    box-shadow: 
        0 15px 50px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(99, 102, 241, 0.3);
}

.hero-circles .circle-2:hover {
    box-shadow: 
        0 15px 50px rgba(236, 72, 153, 0.4),
        0 0 30px rgba(236, 72, 153, 0.3);
}

.hero-circles .circle-3:hover {
    box-shadow: 
        0 15px 50px rgba(245, 158, 11, 0.4),
        0 0 30px rgba(245, 158, 11, 0.3);
}

/* Pulse effect on hover */
.hero-circles .circle:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.3;
    animation: pulseRing 1s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes circleAppear {
    0% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.7;
    }
}

@keyframes modernBreathing {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
        filter: blur(0.2px);
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    }
    33% {
        transform: translateY(-50%) scale(1.03);
        opacity: 0.85;
        filter: blur(0.1px);
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.35);
    }
    66% {
        transform: translateY(-50%) scale(1.02);
        opacity: 0.9;
        filter: blur(0px);
        box-shadow: 0 12px 48px rgba(99, 102, 241, 0.4);
    }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* 2025 Shimmer Effect on Buttons */
.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;
}

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

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

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

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.btn-makerworld {
    background: var(--gradient-accent);
    color: white;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-makerworld:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

/* ===== About Section ===== */
.about {
    min-height: 100vh;
    padding: 1rem 0 3rem 0;
    background: var(--bg-medium);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* 2025 Subtle Animated Background Pattern */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.about .container,
.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

/* 2025 Futuristic Underline Effect */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary), 
        var(--secondary), 
        var(--accent), 
        transparent);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0;
    position: relative;
}

.about .section-header {
    margin-bottom: 2rem;
}

.featured .section-header {
    margin-bottom: 6rem;
}

.contact .section-header {
    margin-bottom: 6rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-text {
    max-width: 800px;
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.about-text .intro {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto;
}

.stat-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
    min-width: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 2025 Glassmorphism Hover Effect */
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 1.75rem;
    color: var(--primary);
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(99, 102, 241, 0.2);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.stat-number {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    line-height: 1.2;
}

.about-cta {
    text-align: center;
    width: 100%;
    margin-top: 2.5rem;
}

/* ===== Contact Section ===== */
.contact {
    min-height: 100vh;
    padding: 1rem 0 3rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* 2025 Subtle Animated Background Pattern */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 1rem auto;
}

.contact-card {
    background: var(--bg-medium);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 2025 Animated Border Shimmer */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.15), 
        transparent);
    transition: left 0.6s;
}

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

/* 2025 Gradient Border */
.contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover::after {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.03);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-card:hover .contact-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.contact-icon i {
    position: relative;
    z-index: 11;
    color: white;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

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

.contact-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-medium);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--bg-medium);
        flex-direction: column;
        padding: 2rem;
        border-left: 1px solid var(--border);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hide gradient bar on mobile */
    .navbar::after {
        display: none;
    }
    
    .hero-circles {
        height: 80px;
    }
    
    .hero-circles .circle {
        width: 60px;
        height: 60px;
    }
    
    .hero-circles .circle-1 {
        left: calc(50% - 95px);
    }
    
    .hero-circles .circle-2 {
        left: calc(50% - 30px);
    }
    
    .hero-circles .circle-3 {
        left: calc(50% + 75px);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Advanced Scroll Animations ===== */
.js .scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.js .scroll-reveal.fade-up {
    transform: translateY(60px);
}

.js .scroll-reveal.fade-left {
    transform: translateX(-60px);
}

.js .scroll-reveal.fade-right {
    transform: translateX(60px);
}

.js .scroll-reveal.fade-zoom {
    transform: scale(0.8) translateY(30px);
}

.js .scroll-reveal.fade-zoom.revealed {
    transform: scale(1) translateY(0);
}

/* Staggered animations for multiple elements */
.js .scroll-reveal.stagger-1 { transition-delay: 0.1s; }
.js .scroll-reveal.stagger-2 { transition-delay: 0.2s; }
.js .scroll-reveal.stagger-3 { transition-delay: 0.3s; }
.js .scroll-reveal.stagger-4 { transition-delay: 0.4s; }

/* Enhanced Contact Section Animations */
.contact-card {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-icon i {
    position: relative;
    z-index: 11;
    color: white;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.15) rotate(3deg);
    filter: brightness(1.1);
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(99, 102, 241, 0.3);
}

.contact-card:hover .contact-icon i {
    color: white;
    filter: brightness(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Glow effect for enhanced visual appeal */
@keyframes gentleGlow {
    0%, 100% { 
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.2),
            0 0 20px rgba(99, 102, 241, 0.1);
    }
}

.contact-card {
    animation: gentleGlow 4s ease-in-out infinite;
}


/* Modern button hover enhancements */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* ===== Featured Section ===== */
.featured {
    min-height: auto;
    padding: 1rem 0 3rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

/* 2025 Subtle Animated Background Pattern */
.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.featured .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.featured .section-header {
    margin-bottom: 6rem;
    position: relative;
}

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

.featured-card {
    background: var(--bg-medium);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

/* 2025 Animated Border Shimmer */
.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.15), 
        transparent);
    transition: left 0.6s;
    z-index: 2;
    pointer-events: none;
}

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

/* 2025 Gradient Border */
.featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.featured-card:hover::after {
    opacity: 1;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.03);
}

.featured-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-light);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.featured-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    position: relative;
    z-index: 3;
}

.featured-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.featured-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.featured-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .featured {
        padding: 4rem 0 2rem 0;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
