/* ===================================
   Modern Portfolio CSS
   Clean, Professional Design
=================================== */

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

/* Modern smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Respect user motion preferences (WCAG 2.2) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    /* Modern Vibrant Colors */
    --primary: #0A0E27;
    --secondary: #1A1F3A;
    --accent: #6366F1;
    --accent-2: #EC4899;
    --accent-3: #8B5CF6;
    --accent-hover: #4F46E5;
    --text-primary: #0A0E27;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border: #E5E7EB;
    
    /* Gradient Palettes */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --success: #10B981;
    --warning: #F59E0B;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent);
    color: white;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
}

/* ===================================
   NAVIGATION
=================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 40px;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta .btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-resume-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-resume-icon:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-nav:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================================
   HERO SECTION
=================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-greeting {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    color: var(--primary);
}

.name-highlight {
    color: var(--accent);
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 45px;
}

.typed-text {
    font-weight: 600;
    color: var(--accent);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-animation-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
}

.ai-brain i {
    font-size: 4rem;
    color: white;
}

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

.orbit-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbit-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    animation: orbit 20s linear infinite;
    border: 2px solid var(--accent);
}

.orbit-item i {
    font-size: 1.8rem;
    color: var(--accent);
}

.orbit-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.orbit-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: -5s;
}

.orbit-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
}

.orbit-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: -15s;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(160px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.pulse-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    opacity: 0.3;
    animation: pulse-ring 3s ease-out infinite;
}

.pulse-circle:nth-child(2) {
    animation-delay: 1s;
}

.pulse-circle:nth-child(3) {
    animation-delay: 2s;
}

@keyframes pulse-ring {
    0% {
        opacity: 0.6;
        stroke-width: 3;
    }
    100% {
        opacity: 0;
        stroke-width: 0.5;
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
}

.icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.icon-wrapper i {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.floating-card:hover .icon-wrapper i {
    transform: scale(1.1) rotate(5deg);
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(5px);
    color: var(--accent-hover);
}

.mouse {
    width: 28px;
    height: 45px;
    border: 3px solid var(--accent);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.scroll-indicator:hover .mouse {
    border-color: var(--accent-hover);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--accent);
    border-radius: 3px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
    100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(18px);
    }
}

/* ===================================
   SECTION HEADERS
=================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 1.2;
}

/* ===================================
   ABOUT SECTION
=================================== */
.about {
    padding: var(--section-padding) 0;
    background: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.profile-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover .profile-photo {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--accent);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.highlight-item i {
    color: var(--success);
    font-size: 1.2rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

/* ===================================
   WORK/PROJECTS SECTION
=================================== */
.work {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.work-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.featured-work {
    grid-column: 1 / -1;
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1));
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.featured-badge i {
    color: #fbbf24;
}

.ai-project {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-project i {
    font-size: 8rem;
    color: white;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.work-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-link {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.work-link:hover {
    transform: scale(1.1);
}

.work-info {
    padding: 2rem;
}

.work-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.work-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.work-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.work-tech span {
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===================================
   EXPERIENCE SECTION
=================================== */
.experience {
    padding: var(--section-padding) 0;
    background: white;
}

.experience-wrapper {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.experience-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

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

.exp-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.exp-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
}

.experience-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.experience-card h4 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.experience-card > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.exp-achievements {
    list-style: none;
    margin-bottom: 1.5rem;
}

.exp-achievements li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.exp-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.exp-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.exp-skills span {
    padding: 0.4rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Skills Summary */
.skills-summary {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
}

.skills-summary h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.skill-group h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.skill-tags span {
    padding: 0.6rem 1.25rem;
    background: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.skill-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===================================
   CASE STUDIES SECTION
=================================== */
.case-studies {
    padding: var(--section-padding) 0;
    background: white;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.case-study-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.case-study-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.case-tag {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-study-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: left;
}

.case-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
}

.case-metrics .metric {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.case-metrics h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: visible;
}

.case-metrics p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.case-tech span {
    background: white;
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--accent);
}

/* ===================================
   TESTIMONIALS SECTION
=================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-quote {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===================================
   TESTIMONIALS SECTION
=================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.client-info {
    flex: 1;
}

.client-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.client-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* ===================================
   CONTACT SECTION
=================================== */
.contact {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.method-info span {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* ===================================
   FOOTER
=================================== */
.footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: #EF4444;
    margin: 0 0.25rem;
}

/* ===================================
   METRICS DASHBOARD
=================================== */
.metrics-dashboard {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.metric-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
}

.metric-content p {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   TECH STACK ICONS GRID
=================================== */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.tech-item:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.tech-item i {
    font-size: 3.5rem;
    transition: var(--transition);
}

.tech-item:hover i {
    transform: rotate(360deg);
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* ===================================
   SKILLS PROFICIENCY BARS
=================================== */
.skills-proficiency {
    margin-top: 4rem;
}

.proficiency-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.proficiency-item {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.proficiency-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.proficiency-percent {
    color: var(--accent);
}

.proficiency-bar {
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out;
    position: relative;
    overflow: hidden;
}

.proficiency-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* ===================================
   TERMINAL SECTION
=================================== */
.terminal-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.terminal-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27c93f; }

.terminal-title {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 1.5rem;
    background: #1e1e1e;
    color: #33ff33;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    min-height: 300px;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.prompt {
    color: #33ff33;
    margin-right: 0.5rem;
    font-weight: bold;
}

.command {
    color: #66d9ef;
}

.terminal-cursor {
    color: #33ff33;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-output {
    color: #a0a0a0;
    line-height: 1.8;
}

.terminal-output .success {
    color: #33ff33;
}

.terminal-output .info {
    color: #66d9ef;
}

.terminal-output .warning {
    color: #ffbd2e;
}

/* ===================================
   THEME SWITCHER
=================================== */
.theme-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.theme-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: 3px solid white;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: themePulse 3s ease-in-out infinite;
    position: relative;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: ripple 2s ease-out infinite;
}

@keyframes themePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(59, 130, 246, 0.6);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.theme-toggle:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 60px rgba(59, 130, 246, 0.7);
    animation: none;
}

.theme-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.theme-panel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.theme-option {
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.theme-option:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.theme-option.active {
    border-color: var(--accent);
    background: white;
    box-shadow: var(--shadow);
}

.theme-preview {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    gap: 4px;
    padding: 6px;
    overflow: hidden;
}

.theme-preview span {
    flex: 1;
    border-radius: 4px;
}

.light-preview {
    background: #F8FAFC;
}
.light-preview span:nth-child(1) { background: #3B82F6; }
.light-preview span:nth-child(2) { background: #0F172A; }
.light-preview span:nth-child(3) { background: #64748B; }

.dark-preview {
    background: #0F172A;
}
.dark-preview span:nth-child(1) { background: #60A5FA; }
.dark-preview span:nth-child(2) { background: #1E293B; }
.dark-preview span:nth-child(3) { background: #94A3B8; }

.ocean-preview {
    background: #EFF6FF;
}
.ocean-preview span:nth-child(1) { background: #0EA5E9; }
.ocean-preview span:nth-child(2) { background: #0C4A6E; }
.ocean-preview span:nth-child(3) { background: #06B6D4; }

.sunset-preview {
    background: #FFF7ED;
}
.sunset-preview span:nth-child(1) { background: #F97316; }
.sunset-preview span:nth-child(2) { background: #7C2D12; }
.sunset-preview span:nth-child(3) { background: #FB923C; }

.forest-preview {
    background: #F0FDF4;
}
.forest-preview span:nth-child(1) { background: #10B981; }
.forest-preview span:nth-child(2) { background: #064E3B; }
.forest-preview span:nth-child(3) { background: #34D399; }

.purple-preview {
    background: #FAF5FF;
}
.purple-preview span:nth-child(1) { background: #A855F7; }
.purple-preview span:nth-child(2) { background: #581C87; }
.purple-preview span:nth-child(3) { background: #C084FC; }

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

/* ===================================
   THEME VARIATIONS
=================================== */

/* Dark Theme */
body[data-theme="dark"] {
    --primary: #F8FAFC;
    --secondary: #E2E8F0;
    --accent: #60A5FA;
    --accent-hover: #3B82F6;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-light: #64748B;
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --border: #334155;
}

body[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.8);
    border-bottom-color: #334155;
}

body[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

body[data-theme="dark"] .theme-panel {
    background: #1E293B;
}

body[data-theme="dark"] .theme-option {
    background: #0F172A;
}

body[data-theme="dark"] .theme-option.active {
    background: #334155;
}

/* Ocean Theme */
body[data-theme="ocean"] {
    --primary: #0C4A6E;
    --secondary: #075985;
    --accent: #0EA5E9;
    --accent-hover: #0284C7;
    --text-primary: #0C4A6E;
    --text-secondary: #475569;
    --text-light: #64748B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0F9FF;
    --bg-tertiary: #E0F2FE;
    --border: #BAE6FD;
}

body[data-theme="ocean"] .hero {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

/* Sunset Theme */
body[data-theme="sunset"] {
    --primary: #7C2D12;
    --secondary: #9A3412;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --text-primary: #7C2D12;
    --text-secondary: #78716C;
    --text-light: #A8A29E;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFF7ED;
    --bg-tertiary: #FFEDD5;
    --border: #FED7AA;
}

body[data-theme="sunset"] .hero {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

/* Forest Theme */
body[data-theme="forest"] {
    --primary: #064E3B;
    --secondary: #065F46;
    --accent: #10B981;
    --accent-hover: #059669;
    --text-primary: #064E3B;
    --text-secondary: #475569;
    --text-light: #64748B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0FDF4;
    --bg-tertiary: #DCFCE7;
    --border: #BBF7D0;
}

body[data-theme="forest"] .hero {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

/* Purple Theme */
body[data-theme="purple"] {
    --primary: #581C87;
    --secondary: #6B21A8;
    --accent: #A855F7;
    --accent-hover: #9333EA;
    --text-primary: #581C87;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAF5FF;
    --bg-tertiary: #F3E8FF;
    --border: #E9D5FF;
}

body[data-theme="purple"] .hero {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
}

/* ===================================
   ANIMATED BACKGROUND
=================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: 
        linear-gradient(90deg, var(--accent) 1px, transparent 1px),
        linear-gradient(0deg, var(--accent) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

body[data-theme="dark"] .bg-animation {
    opacity: 0.05;
}

/* Add tech pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ===================================
   GITHUB ACTIVITY
=================================== */
.github-activity {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.activity-wrapper {
    margin-top: 3rem;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.activity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contribution-graph {
    display: grid;
    grid-template-columns: repeat(53, 1fr);
    gap: 3px;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow-x: auto;
}

.contribution-cell {
    aspect-ratio: 1;
    background: var(--bg-tertiary);
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
}

.contribution-cell:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--accent);
}

.contribution-cell[data-level="1"] {
    background: rgba(59, 130, 246, 0.3);
}

.contribution-cell[data-level="2"] {
    background: rgba(59, 130, 246, 0.5);
}

.contribution-cell[data-level="3"] {
    background: rgba(59, 130, 246, 0.7);
}

.contribution-cell[data-level="4"] {
    background: rgba(59, 130, 246, 1);
}

/* ===================================
   CERTIFICATION BADGES
=================================== */
.testimonial-card {
    position: relative;
}

.testimonial-card .testimonial-quote {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cert-issuer {
    color: var(--accent);
    font-weight: 600;
    margin: 0.5rem 0;
}

.cert-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 1rem;
}

.education-card .cert-status {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
    color: var(--accent);
    font-weight: 500;
}

/* Badge Effect */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 0.3;
}

/* ===================================
   PARTICLE BACKGROUND
=================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

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

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

    .profile-wrapper {
        width: 300px;
        height: 300px;
    }

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

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

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

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

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

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

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
    }

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

    .nav-cta {
        display: none;
    }

    .hero {
        padding-top: 100px;
    }

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

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

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

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

    .profile-wrapper {
        width: 250px;
        height: 250px;
    }

    .profile-img {
        font-size: 5rem;
    }

    .floating-card {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

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

    .profile-wrapper {
        width: 200px;
        height: 200px;
    }

    .floating-card {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Counter Animation */
.counter {
    display: inline-block;
}
