/* CLOTH Portfolio - Main CSS */

/* CSS Custom Properties (Design System) */
:root {
    /* Primary Purple Palette */
    --color-primary: #8B5CF6;
    --color-primary-dark: #5B21B6;
    --color-primary-light: #A78BFA;
    --color-primary-ultra-dark: #3C1A78;

    /* Complementary Colors */
    --color-secondary: #06B6D4;
    /* Cyan - Tech feel */
    --color-accent: #F59E0B;
    /* Amber - Highlights */
    --color-success: #10B981;
    /* Emerald - Success states */

    /* Light Mode Colors */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #F8FAFC;
    --text-primary-light: #1F2937;
    --text-secondary-light: #6B7280;

    /* Dark Mode Colors */
    --bg-primary-dark: #0F0F23;
    --bg-secondary-dark: #1A1A2E;
    --text-primary-dark: #F9FAFB;
    --text-secondary-dark: #D1D5DB;

    /* Dynamic Colors (change with dark mode) */
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);

    /* Theme Colors (Default Purple Theme) */
    --theme-primary: var(--color-primary);
    --theme-secondary: var(--color-secondary);
    --theme-accent: var(--color-accent);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--theme-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--color-primary-ultra-dark) 0%, var(--color-primary-dark) 50%, var(--theme-primary) 100%);
    --gradient-card: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(91, 33, 182, 0.1) 100%);
    --gradient-text: linear-gradient(135deg, var(--color-primary-light) 0%, var(--theme-secondary) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(139, 92, 246, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(139, 92, 246, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(139, 92, 246, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(139, 92, 246, 0.1);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

/* Typography Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--theme-secondary);
}

/* Container System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-mono {
    font-family: var(--font-mono);
}

.font-display {
    font-family: var(--font-display);
}

/* Button Base Styles */
button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--theme-primary);
    color: white;
}

/* Section Spacing */
section {
    padding: var(--space-24) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    margin: 0;
}

.nav-link {
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--theme-primary);
}

.nav-link.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--theme-primary);
    font-weight: 600;
}

.nav-link i {
    font-size: var(--text-sm);
    width: 20px;
    text-align: center;
}

/* MM Logo Styles */
.mm-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
    animation: mmFloat 4s ease-in-out infinite;
}

.mm-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: var(--theme-primary);
    background: rgba(139, 92, 246, 0.1);
    animation-play-state: paused;
}

.mm-letter {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--text-3xl);
    line-height: 1;
    position: relative;
    transition: all var(--transition-normal);
    text-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.mm-letter.first {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: -4px;
    z-index: 2;
    animation: mmPulse1 3s ease-in-out infinite;
}

.mm-letter.second {
    background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    animation: mmPulse2 3s ease-in-out infinite 1.5s;
}

/* MM Logo Animations */
@keyframes mmFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes mmPulse1 {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    }
}

@keyframes mmPulse2 {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.5));
    }
}

.mm-logo:hover .mm-letter.first {
    transform: scale(1.15) rotate(-5deg);
    animation-play-state: paused;
}

.mm-logo:hover .mm-letter.second {
    transform: scale(1.1) rotate(3deg);
    animation-play-state: paused;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 2px solid var(--theme-primary);
    color: var(--theme-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.dark-mode-toggle:hover {
    background: var(--theme-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--theme-primary);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    padding: var(--space-4) 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--theme-primary);
}

.mobile-nav-link.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--theme-primary);
    font-weight: 600;
}

.mobile-nav-link i {
    font-size: var(--text-base);
    width: 24px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.hero-profile {
    margin-bottom: var(--space-6);
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--theme-primary);
    box-shadow: var(--shadow-glow);
}

.profile-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--theme-secondary);
    border-radius: var(--radius-full);
    opacity: 0.5;
    animation: profileRing 3s linear infinite;
}

.profile-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: profileGlow 2s ease-in-out infinite alternate;
}

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

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

@keyframes profileGlow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

/* Hero Typography */
.hero-greeting {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--theme-accent);
    margin-bottom: var(--space-2);
    letter-spacing: 0.01em;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
    font-weight: 800;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    color: var(--theme-primary);
    letter-spacing: -0.01em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--theme-secondary);
    margin-bottom: var(--space-6);
    min-height: 60px;
}

.hero-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 600px;
    color: var(--text-secondary);
}

/* CTA Buttons */
.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--transition-normal);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    min-width: 44px;
    user-select: none;
    -webkit-user-select: none;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.cta-secondary:hover {
    background: var(--theme-primary);
    color: white;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--theme-primary);
    border-bottom: 2px solid var(--theme-primary);
    transform: rotate(45deg);
    margin: var(--space-2) auto 0;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mm-letter {
        font-size: var(--text-2xl);
    }

    .mm-logo {
        padding: var(--space-1);
    }

    .hero-greeting {
        font-size: var(--text-xl);
    }

    .hero-name {
        font-size: var(--text-4xl);
    }

    .hero-title {
        font-size: var(--text-xl);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

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

    .cta-primary,
    .cta-secondary {
        justify-content: center;
        padding: var(--space-4) var(--space-6);
        width: 100%;
        min-height: 48px;
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .mm-letter {
        font-size: var(--text-xl);
    }

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .hero-content {
        padding: var(--space-6);
    }
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);

    /* Enhanced shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .glass-card {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] #particles-js {
    opacity: 0.7;
}

[data-theme="dark"] .gradient-text {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

/* Smooth transitions for theme switching */
body,
.navbar,
.hero-section,
.glass-card {
    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal);
}

/* Floating Theme Panel */
.floating-theme-panel {
    position: fixed;
    top: 50%;
    right: var(--space-6);
    transform: translateY(-50%);
    z-index: var(--z-popover);
    transition: all var(--transition-normal);
}

.theme-panel-toggle {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.theme-panel-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.theme-panel-toggle:active {
    transform: scale(0.95);
}

.theme-panel-content {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(20px);
    transition: all var(--transition-normal);
    min-width: 200px;
}

.floating-theme-panel.active .theme-panel-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.theme-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.theme-panel-header h4 {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.theme-panel-close {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.theme-panel-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--theme-primary);
}

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

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-primary);
    width: 100%;
    text-align: center;
}

.theme-option:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.theme-option.active {
    border-color: var(--theme-primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: var(--shadow-glow);
}

.theme-preview {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Theme Preview Colors */
.default-preview {
    background: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%);
}

.ocean-preview {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}

.sunset-preview {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.forest-preview {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.gray-preview {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
}

.gold-preview {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
}

.cyan-preview {
    background: linear-gradient(135deg, #00FFFF 0%, #00CED1 100%);
}

.magenta-preview {
    background: linear-gradient(135deg, #FF00FF 0%, #DA70D6 100%);
}

.midnight-preview {
    background: linear-gradient(135deg, #191970 0%, #000080 100%);
}

.rose-gold-preview {
    background: linear-gradient(135deg, #E91E63 0%, #AD1457 100%);
}

/* Theme Preview Hover Effects */
.theme-option:hover .theme-preview {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.theme-option.active .theme-preview {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Dark Mode Toggle inside Theme Panel */
.theme-dark-mode-section {
    padding: var(--space-3) 0;
    margin-bottom: var(--space-3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.theme-dark-mode-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
}

.theme-dark-mode-toggle:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.theme-dark-mode-toggle.active {
    border-color: var(--theme-primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: var(--shadow-glow);
}

.theme-dark-mode-toggle i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    color: var(--theme-primary);
}

/* Desktop - Hide theme panel dark mode toggle */
@media (min-width: 769px) {
    .theme-dark-mode-section {
        display: none;
    }
}

/* Mobile Responsive for Theme Panel */
@media (max-width: 768px) {

    /* Hide navbar dark mode toggle on mobile */
    .dark-mode-toggle {
        display: none;
    }

    /* Show theme panel dark mode toggle on mobile */
    .theme-dark-mode-section {
        display: block;
    }

    .floating-theme-panel {
        right: var(--space-4);
    }

    .theme-panel-toggle {
        width: 44px;
        height: 44px;
        font-size: var(--text-base);
    }

    .theme-panel-content {
        right: 54px;
        min-width: 200px;
        padding: var(--space-4);
    }

    .theme-options {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-1);
    }

    .theme-preview {
        width: 24px;
        height: 24px;
    }

    .theme-option {
        padding: var(--space-1);
        font-size: 10px;
    }

    .theme-dark-mode-toggle {
        padding: var(--space-2);
        font-size: var(--text-xs);
    }

    .theme-dark-mode-toggle i {
        width: 18px;
        height: 18px;
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .floating-theme-panel {
        right: var(--space-2);
    }

    .theme-panel-content {
        right: 50px;
        min-width: 180px;
    }

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

    .theme-preview {
        width: 20px;
        height: 20px;
    }
}

/* Color Theme Variations */
[data-color-theme="default"] {
    --theme-primary: #8B5CF6;
    --theme-secondary: #06B6D4;
    --theme-accent: #650bf5;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%);
    --gradient-hero: linear-gradient(135deg, #3C1A78 0%, #5B21B6 50%, #8B5CF6 100%);
    --gradient-text: linear-gradient(135deg, #A78BFA 0%, #06B6D4 100%);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

[data-color-theme="ocean"] {
    --theme-primary: #0EA5E9;
    --theme-secondary: #06B6D4;
    --theme-accent: #0284C7;
    --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    --gradient-hero: linear-gradient(135deg, #0C4A6E 0%, #0284C7 50%, #0EA5E9 100%);
    --gradient-text: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(14, 165, 233, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(14, 165, 233, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(14, 165, 233, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(14, 165, 233, 0.1);
}

[data-color-theme="sunset"] {
    --theme-primary: #F97316;
    --theme-secondary: #FB923C;
    --theme-accent: #EA580C;
    --gradient-primary: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --gradient-hero: linear-gradient(135deg, #C2410C 0%, #EA580C 50%, #F97316 100%);
    --gradient-text: linear-gradient(135deg, #FB923C 0%, #FBBF24 100%);
    --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(249, 115, 22, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(249, 115, 22, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(249, 115, 22, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(249, 115, 22, 0.1);
}

[data-color-theme="forest"] {
    --theme-primary: #059669;
    --theme-secondary: #10B981;
    --theme-accent: #047857;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 100%);
    --gradient-hero: linear-gradient(135deg, #064E3B 0%, #047857 50%, #059669 100%);
    --gradient-text: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(5, 150, 105, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(5, 150, 105, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(5, 150, 105, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(5, 150, 105, 0.1);
}

[data-color-theme="gray"] {
    --theme-primary: #6B7280;
    --theme-secondary: #9CA3AF;
    --theme-accent: #4B5563;
    --gradient-primary: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    --gradient-hero: linear-gradient(135deg, #374151 0%, #4B5563 50%, #6B7280 100%);
    --gradient-text: linear-gradient(135deg, #9CA3AF 0%, #D1D5DB 100%);
    --shadow-glow: 0 0 20px rgba(107, 114, 128, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(107, 114, 128, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(107, 114, 128, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(107, 114, 128, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(107, 114, 128, 0.1);
}

/* Rich Gold Theme */
[data-color-theme="gold"] {
    --theme-primary: #FFD700;
    --theme-secondary: #F5E6CC;
    --theme-accent: #B0A8A3;
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --gradient-hero: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #FFD700 100%);
    --gradient-text: linear-gradient(135deg, #FFD700 0%, #F5E6CC 100%);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(255, 215, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(255, 215, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(255, 215, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(255, 215, 0, 0.1);

    /* Neutral blends for backgrounds */
    --bg-primary-light: #FFF9F2;
    --bg-secondary-light: #F5E6CC;
}

/* Rich Gold Theme */
[data-color-theme="gold"] {
    --theme-primary: #FFD700;
    --theme-secondary: #FFA500;
    --theme-accent: #B8860B;
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-hero: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #FFD700 100%);
    --gradient-text: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.4);
    --shadow-sm: 0 1px 2px 0 rgba(255, 215, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(255, 215, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(255, 215, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(255, 215, 0, 0.2);

    /* Improved light mode backgrounds for better contrast */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #FFF8E1;
}

/* Neon Cyan Theme */
[data-color-theme="cyan"] {
    --theme-primary: #00BCD4;
    --theme-secondary: #0097A7;
    --theme-accent: #00838F;
    --gradient-primary: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
    --gradient-hero: linear-gradient(135deg, #00838F 0%, #0097A7 50%, #00BCD4 100%);
    --gradient-text: linear-gradient(135deg, #00BCD4 0%, #00E5FF 100%);
    --shadow-glow: 0 0 20px rgba(0, 188, 212, 0.4);
    --shadow-sm: 0 1px 2px 0 rgba(0, 188, 212, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 188, 212, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 188, 212, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 188, 212, 0.2);

    /* Improved light mode backgrounds for better contrast */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #E0F7FA;
}

/* Electric Magenta Theme */
[data-color-theme="magenta"] {
    --theme-primary: #E91E63;
    --theme-secondary: #C2185B;
    --theme-accent: #880E4F;
    --gradient-primary: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    --gradient-hero: linear-gradient(135deg, #880E4F 0%, #C2185B 50%, #E91E63 100%);
    --gradient-text: linear-gradient(135deg, #E91E63 0%, #F50057 100%);
    --shadow-glow: 0 0 20px rgba(233, 30, 99, 0.4);
    --shadow-sm: 0 1px 2px 0 rgba(233, 30, 99, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(233, 30, 99, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(233, 30, 99, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(233, 30, 99, 0.2);

    /* Improved light mode backgrounds for better contrast */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #FCE4EC;
}

/* Midnight Blue Theme */
[data-color-theme="midnight"] {
    --theme-primary: #3F51B5;
    --theme-secondary: #303F9F;
    --theme-accent: #1A237E;
    --gradient-primary: linear-gradient(135deg, #3F51B5 0%, #303F9F 100%);
    --gradient-hero: linear-gradient(135deg, #1A237E 0%, #303F9F 50%, #3F51B5 100%);
    --gradient-text: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%);
    --shadow-glow: 0 0 20px rgba(63, 81, 181, 0.4);
    --shadow-sm: 0 1px 2px 0 rgba(63, 81, 181, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(63, 81, 181, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(63, 81, 181, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(63, 81, 181, 0.2);

    /* Improved light mode backgrounds for better contrast */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #E8EAF6;
}

/* Rose Gold Theme */
[data-color-theme="rose-gold"] {
    --theme-primary: #FF4081;
    --theme-secondary: #F50057;
    --theme-accent: #C51162;
    --gradient-primary: linear-gradient(135deg, #FF4081 0%, #F50057 100%);
    --gradient-hero: linear-gradient(135deg, #C51162 0%, #F50057 50%, #FF4081 100%);
    --gradient-text: linear-gradient(135deg, #FF4081 0%, #FF80AB 100%);
    --shadow-glow: 0 0 20px rgba(255, 64, 129, 0.4);
    --shadow-sm: 0 1px 2px 0 rgba(255, 64, 129, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(255, 64, 129, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(255, 64, 129, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(255, 64, 129, 0.2);

    /* Improved light mode backgrounds for better contrast */
    --bg-primary-light: #FFFFFF;
    --bg-secondary-light: #FFF0F5;
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   HERO SECTION STYLES
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: 80px;
}

/* Particles Container */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
}

/* Profile Image */
.hero-profile {
    margin-bottom: var(--space-6);
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto var(--space-4);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--theme-primary);
    box-shadow: var(--shadow-glow);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--theme-primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--theme-primary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.2;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes glow {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 0.4;
    }
}

.hero-greeting {
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    opacity: 0.9;
}

.hero-name {
    font-size: var(--text-5xl);
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: var(--space-4);
    line-height: 1.1;
}

.hero-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    min-height: 2em;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-base);
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.cta-secondary:hover {
    background: var(--theme-primary);
    color: white;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--theme-primary);
    border-bottom: 2px solid var(--theme-primary);
    transform: rotate(45deg);
    margin: var(--space-2) auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

.typing-text {
    color: var(--theme-primary);
    font-weight: 600;
    position: relative;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--theme-primary);
}

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

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

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding-top: 60px;
    }



    .hero-content {
        padding: var(--space-6) var(--space-4);
    }

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .hero-greeting {
        font-size: var(--text-lg);
    }

    .hero-name {
        font-size: var(--text-4xl);
    }

    .hero-title {
        font-size: var(--text-xl);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-4);
        margin: var(--space-4) auto;
    }

    .profile-image-container {
        width: 100px;
        height: 100px;
    }

    .hero-name {
        font-size: var(--text-3xl);
    }

    .hero-title {
        font-size: var(--text-lg);
    }

    .scroll-indicator {
        bottom: var(--space-4);
    }
}

/* Dark mode adjustments for particles */
[data-theme="dark"] .particles-container {
    opacity: 0.9;
}

/* Theme-specific particle colors will be handled by JavaScript */
/* ====
===============================
   ABOUT SECTION STYLES
   =================================== */

.about-section {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-8);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: var(--text-lg);
    line-height: 1.5;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.flag-icon {
    font-size: 1.2em;
    margin: 0 var(--space-1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin: var(--space-4) 0;
}

.stat-item {
    text-align: center;
    padding: var(--space-3);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--theme-primary);
    font-family: var(--font-display);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
}

/* Skills List */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--theme-primary);
}

.skill-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.skill-text {
    font-size: var(--text-base);
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        gap: var(--space-3);
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-4);
    }

    .about-intro {
        font-size: var(--text-base);
        margin-bottom: var(--space-2);
    }

    .stats-grid {
        gap: var(--space-2);
        margin: var(--space-3) 0;
    }

    .stat-item {
        padding: var(--space-2);
    }

    .stat-number {
        font-size: var(--text-lg);
    }

    .skills-list {
        gap: var(--space-2);
    }

    .skill-item {
        padding: var(--space-2);
        gap: var(--space-2);
    }

    .skill-icon {
        font-size: var(--text-xl);
        width: 32px;
    }

    .skill-text {
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: var(--text-xl);
        margin-bottom: var(--space-4);
    }

    .about-intro {
        font-size: var(--text-xs);
        margin-bottom: var(--space-3);
        line-height: 1.4;
    }

    .stats-grid {
        gap: var(--space-1);
        margin-top: var(--space-3);
    }

    .stat-item {
        padding: var(--space-2);
    }

    .stat-number {
        font-size: var(--text-lg);
        margin-bottom: 0;
    }

    .stat-label {
        font-size: 10px;
        line-height: 1.2;
    }

    .expertise-cards {
        margin-top: var(--space-3);
        gap: var(--space-2);
    }

    .expertise-card {
        padding: var(--space-2);
        gap: var(--space-2);
    }

    .card-icon {
        width: 32px;
        height: 32px;
        font-size: var(--text-base);
    }

    .expertise-card h3 {
        font-size: var(--text-sm);
        margin-bottom: 0;
    }

    .expertise-card p {
        font-size: 10px;
        line-height: 1.2;
    }
}

/* =====
==============================
   ABOUT SECTION STYLES
   =================================== */

.about-section {
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-4);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: var(--text-base);
    line-height: 1.5;
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.stat-item {
    text-align: center;
    padding: var(--space-3);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--theme-primary);
    font-family: var(--font-display);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
}

/* Skills List */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    transform-style: preserve-3d;
    text-align: left;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        var(--shadow-xl),
        0 20px 40px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: var(--theme-primary);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.skill-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.skill-item:hover .skill-icon::before {
    transform: translateX(100%);
}

.skill-icon i {
    font-size: var(--text-2xl);
    color: white;
    z-index: 1;
    position: relative;
}

.skill-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    line-height: 1.3;
}

.skill-text small {
    display: block;
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: var(--space-2);
    line-height: 1.6;
}

/* Flag icon styling */
.flag-icon {
    font-size: 1.2em;
    margin: 0 var(--space-1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: var(--space-6) 0;
    }

    .section-title {
        font-size: var(--text-xl);
        margin-bottom: var(--space-3);
    }

    .about-intro {
        font-size: var(--text-sm);
        margin-bottom: var(--space-3);
    }

    .stats-grid {
        gap: var(--space-1);
        margin-bottom: var(--space-3);
    }

    .stat-item {
        padding: var(--space-2);
    }

    .stat-number {
        font-size: var(--text-lg);
    }

    .stat-label {
        font-size: 10px;
    }

    .skills-list {
        gap: var(--space-1);
    }

    .skill-item {
        padding: var(--space-2);
        gap: var(--space-2);
    }

    .skill-icon {
        font-size: var(--text-xl);
        width: 36px;
        height: 36px;
    }

    .skill-text {
        font-size: var(--text-xs);
    }

    .skill-text small {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: var(--space-4) 0;
    }

    .section-title {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2);
    }

    .about-intro {
        font-size: var(--text-xs);
        margin-bottom: var(--space-2);
        line-height: 1.4;
    }

    .stats-grid {
        gap: 4px;
        margin-bottom: var(--space-2);
    }

    .stat-item {
        padding: 8px;
    }

    .stat-number {
        font-size: var(--text-base);
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 9px;
    }

    .skills-list {
        gap: 4px;
    }

    .skill-item {
        padding: 8px;
        gap: 8px;
    }

    .skill-icon {
        font-size: var(--text-lg);
        width: 32px;
        height: 32px;
    }

    .skill-text {
        font-size: 11px;
        line-height: 1.3;
    }

    .skill-text small {
        font-size: 9px;
    }
}

/*
 ===================================
   ABOUT SECTION GLASS EFFECTS
   =================================== */

.about-section {
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: var(--text-base);
    line-height: 1.5;
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.stat-item {
    text-align: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    transform-style: preserve-3d;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

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

.stat-item:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(3deg);
    box-shadow:
        var(--shadow-xl),
        0 15px 30px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: var(--theme-primary);
}

.stat-number {
    display: block;
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--theme-primary);
    font-family: var(--font-display);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
}

/* Skills List Glass Effects */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    transform-style: preserve-3d;
    text-align: left;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        var(--shadow-xl),
        0 20px 40px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: var(--theme-primary);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.skill-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.skill-item:hover .skill-icon::before {
    transform: translateX(100%);
}

.skill-icon i {
    font-size: var(--text-2xl);
    color: white;
    z-index: 1;
    position: relative;
}

.skill-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    line-height: 1.3;
}

.skill-text small {
    display: block;
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: var(--space-2);
    line-height: 1.6;
}

/* Flag icon styling */
.flag-icon {
    font-size: 1.2em;
    margin: 0 var(--space-1);
}

/* Responsive Design for Glass Effects */
@media (max-width: 768px) {
    .about-section {
        padding: var(--space-6) 0;
    }

    .about-intro {
        font-size: var(--text-sm);
        margin-bottom: var(--space-3);
    }

    .stats-grid {
        gap: var(--space-1);
        margin-bottom: var(--space-3);
    }

    .stat-item {
        padding: var(--space-3);
    }

    .stat-item:hover {
        transform: translateY(-6px) rotateX(2deg) rotateY(2deg);
    }

    .stat-number {
        font-size: var(--text-lg);
    }

    .stat-label {
        font-size: 10px;
    }

    .skills-list {
        gap: var(--space-1);
    }

    .skill-item {
        padding: var(--space-4);
        gap: var(--space-2);
    }

    .skill-item:hover {
        transform: translateY(-8px) rotateX(3deg) rotateY(3deg);
    }

    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }

    .skill-text {
        font-size: var(--text-lg);
    }

    .skill-text small {
        font-size: var(--text-sm);
        margin-top: var(--space-1);
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: var(--space-4) 0;
    }

    .about-intro {
        font-size: var(--text-xs);
        margin-bottom: var(--space-2);
        line-height: 1.4;
    }

    .stats-grid {
        gap: 4px;
        margin-bottom: var(--space-2);
    }

    .stat-item {
        padding: var(--space-2);
    }

    .stat-item:hover {
        transform: translateY(-4px) rotateX(1deg) rotateY(1deg);
    }

    .stat-number {
        font-size: var(--text-base);
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 9px;
    }

    .skills-list {
        gap: 4px;
    }

    .skill-item {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .skill-item:hover {
        transform: translateY(-6px) rotateX(2deg) rotateY(2deg);
    }

    .skill-icon {
        width: 40px;
        height: 40px;
    }

    .skill-icon i {
        font-size: var(--text-lg);
    }

    .skill-text {
        font-size: var(--text-base);
        line-height: 1.3;
    }

    .skill-text small {
        font-size: var(--text-xs);
        margin-top: 2px;
    }
}

/* =
==================================
   SKILLS/TECH SECTION STYLES
   =================================== */

.skills-section {
    padding: var(--space-16) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.tech-carousel-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.tech-carousel {
    display: flex;
    gap: var(--space-6);
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

.tech-carousel.reverse {
    animation: scrollRight 30s linear infinite;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    min-width: 120px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    transform-style: preserve-3d;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        var(--shadow-xl),
        0 15px 30px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: var(--theme-primary);
}

.tech-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.2));
}

.tech-item:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.4));
}

.tech-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    position: relative;
}

/* Carousel Animations */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.tech-carousel:hover {
    animation-play-state: paused;
}

/* Responsive Design for Tech Section */
@media (max-width: 768px) {
    .skills-section {
        padding: var(--space-12) 0;
    }

    .tech-carousel-container {
        gap: var(--space-4);
        margin-top: var(--space-6);
    }

    .tech-carousel {
        gap: var(--space-4);
        animation-duration: 25s;
    }

    .tech-item {
        padding: var(--space-4);
        min-width: 100px;
        gap: var(--space-2);
    }

    .tech-item:hover {
        transform: translateY(-6px) rotateX(3deg) rotateY(3deg);
    }

    .tech-item img {
        width: 40px;
        height: 40px;
    }

    .tech-name {
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .skills-section {
        padding: var(--space-8) 0;
    }

    .tech-carousel-container {
        gap: var(--space-3);
        margin-top: var(--space-4);
    }

    .tech-carousel {
        gap: var(--space-3);
        animation-duration: 20s;
    }

    .tech-item {
        padding: var(--space-3);
        min-width: 80px;
        gap: var(--space-1);
    }

    .tech-item:hover {
        transform: translateY(-4px) rotateX(2deg) rotateY(2deg);
    }

    .tech-item img {
        width: 32px;
        height: 32px;
    }

    .tech-name {
        font-size: 10px;
        line-height: 1.2;
    }
}

/* Dark mode adjustments for tech items */
[data-theme="dark"] .tech-item {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .tech-item img {
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3)) brightness(1.1);
}

[data-theme="dark"] .tech-item:hover img {
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.5)) brightness(1.2);
}

/* ===== CONTACT SECTION STYLES ===== */

.contact-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }
  
  .contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
      radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    z-index: 1;
    animation: contactGradientShift 20s ease-in-out infinite alternate;
  }
  
  @keyframes contactGradientShift {
    0% {
      transform: scale(1) rotate(0deg);
      opacity: 0.8;
    }
  
    100% {
      transform: scale(1.2) rotate(5deg);
      opacity: 1;
    }
  }
  
  .contact-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
  }
  
  .contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: contactShimmer 3s ease-in-out infinite;
  }
  
  @keyframes contactShimmer {
    0% {
      left: -100%;
    }
  
    50% {
      left: 100%;
    }
  
    100% {
      left: 100%;
    }
  }
  
  .contact-description {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-12);
    font-weight: 500;
    position: relative;
  }
  
  .contact-description::after {
    content: '';
    position: absolute;
    bottom: -var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: contactUnderlineExpand 2s ease-out 1s forwards;
    transform-origin: center;
    scale: 0;
  }
  
  @keyframes contactUnderlineExpand {
    to {
      scale: 1;
    }
  }
  
  /* Contact Info Grid */
  .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
  }
  
  .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.6s;
  }
  
  .contact-item:hover::before {
    left: 100%;
  }
  
  .contact-item:hover {
    transform: translateY(-8px) scale(1.02) rotateX(5deg);
    box-shadow:
      var(--shadow-xl),
      0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--theme-primary);
    background: rgba(139, 92, 246, 0.1);
  }
  
  .contact-item:active {
    transform: translateY(-4px) scale(0.98);
  }
  
  .contact-item i {
    font-size: var(--text-2xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
    position: relative;
  }
  
  .contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
  }
  
  .contact-item span {
    transition: all var(--transition-normal);
    position: relative;
  }
  
  .contact-item:hover span {
    color: var(--theme-primary);
    transform: translateX(5px);
  }
  
  /* Individual Contact Item Animations */
  .contact-item:nth-child(1) {
    animation: contactFloat1 6s ease-in-out infinite;
  }
  
  .contact-item:nth-child(2) {
    animation: contactFloat2 6s ease-in-out infinite 2s;
  }
  
  .contact-item:nth-child(3) {
    animation: contactFloat3 6s ease-in-out infinite 4s;
  }
  
  @keyframes contactFloat1 {
  
    0%,
    100% {
      transform: translateY(0px);
    }
  
    50% {
      transform: translateY(-8px);
    }
  }
  
  @keyframes contactFloat2 {
  
    0%,
    100% {
      transform: translateY(0px);
    }
  
    50% {
      transform: translateY(-12px);
    }
  }
  
  @keyframes contactFloat3 {
  
    0%,
    100% {
      transform: translateY(0px);
    }
  
    50% {
      transform: translateY(-6px);
    }
  }
  
  /* Contact Item Ripple Effect */
  .contact-item {
    position: relative;
    overflow: hidden;
  }

@media (max-width: 480px) {
    .contact-content {
        padding: var(--space-4);
        margin: 0 var(--space-2);
    }
    
    .contact-description {
        font-size: var(--text-base);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
        padding: var(--space-3);
    }
    
    .contact-item span {
        font-size: var(--text-sm);
    }
}

/* ===== FOOTER SECTION STYLES ===== */

.footer {
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--color-gray-900) 100%);
  color: var(--text-primary);
  padding: var(--space-20) 0 var(--space-8) 0;
  overflow: hidden;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

/* Footer Particle Background */
.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.footer-particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(6, 182, 212, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(245, 158, 11, 0.3), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(6, 182, 212, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: footerParticleMove 20s linear infinite;
}

.footer-particles::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 60px 20px, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(1px 1px at 100px 60px, rgba(6, 182, 212, 0.2), transparent),
    radial-gradient(2px 2px at 140px 90px, rgba(245, 158, 11, 0.2), transparent),
    radial-gradient(1px 1px at 180px 10px, rgba(139, 92, 246, 0.4), transparent);
  background-repeat: repeat;
  background-size: 220px 120px;
  animation: footerParticleMove 25s linear infinite reverse;
}

@keyframes footerParticleMove {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(-200px) translateY(-100px);
  }
}

/* Footer Overlay */
.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(15, 15, 35, 0.8) 0%,
      rgba(26, 26, 46, 0.9) 50%,
      rgba(15, 15, 35, 0.95) 100%);
  z-index: 2;
}

.footer .container {
  position: relative;
  z-index: 3;
}

/* Footer Content Layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
  gap: var(--space-8);
}

/* Footer Brand with MM Logo */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.mm-logo-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-lg);
  animation: footerLogoFloat 4s ease-in-out infinite;
}

@keyframes footerLogoFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.mm-letter-footer {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-2xl);
  line-height: 1;
  position: relative;
  transition: all var(--transition-normal);
}

.mm-letter-footer.first {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: -3px;
  z-index: 2;
  animation: footerPulse1 3s ease-in-out infinite;
}

.mm-letter-footer.second {
  background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  animation: footerPulse2 3s ease-in-out infinite 1.5s;
}

@keyframes footerPulse1 {

  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.8));
  }
}

@keyframes footerPulse2 {

  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.7));
  }
}

.footer-tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 2px solid rgba(139, 92, 246, 0.2);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-xl);
  transition: all var(--transition-normal);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.5s;
  z-index: -1;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-lg);
  color: white;
  border-color: var(--theme-primary);
}

.social-link:hover::before {
  left: 0;
}

.social-link i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.2) rotate(10deg);
}

/* Individual social link colors */
.social-link[href*="github"] {
  border-color: rgba(139, 92, 246, 0.3);
}

.social-link[href*="linkedin"] {
  border-color: rgba(6, 182, 212, 0.3);
}

.social-link[href*="instagram"] {
  border-color: rgba(245, 158, 11, 0.3);
}

.social-link[href*="wa.me"] {
  border-color: rgba(32, 201, 83, 0.3);
}

.social-link[href*="github"]:hover {
  border-color: var(--theme-primary);
}

.social-link[href*="linkedin"]:hover {
  border-color: var(--theme-secondary);
}

.social-link[href*="instagram"]:hover {
  border-color: var(--theme-accent);
}

.social-link[href*="wa.me"]:hover {
  border-color: #20c953;
}

/* Social tooltips */
.social-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 35, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.social-link:hover .social-tooltip {
  opacity: 1;
}

.social-tooltip::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 4px 4px 4px;
  border-style: solid;
  border-color: transparent transparent rgba(15, 15, 35, 0.9) transparent;
}

/* Ensure tooltips don't interfere with hover */
.social-link {
  position: relative;
  z-index: 1;
}

/* Footer Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
  margin: var(--space-8) 0;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.copyright,
.made-with {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.heart {
  color: #ff4757;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

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

  50% {
    transform: scale(1.2);
  }
}

.flag {
  margin-left: var(--space-1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: var(--space-16) 0 var(--space-6) 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
  }

  .footer-brand {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .copyright,
  .made-with {
    font-size: var(--text-xs);
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--space-12) 0 var(--space-4) 0;
  }

  .social-links {
    gap: var(--space-2);
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }

  .mm-logo-footer {
    padding: var(--space-2);
  }

  .mm-letter-footer {
    font-size: var(--text-xl);
  }

  .footer-tagline {
    font-size: var(--text-base);
  }
}

  
  .contact-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  .contact-item:active::after {
    width: 300px;
    height: 300px;
  }
  
  /* Enhanced Contact Section Interactions */
  .contact-content {
    animation: contactPulse 8s ease-in-out infinite;
  }
  
  @keyframes contactPulse {
  
    0%,
    100% {
      box-shadow: var(--shadow-xl);
    }
  
    50% {
      box-shadow:
        var(--shadow-xl),
        0 0 50px rgba(139, 92, 246, 0.2);
    }
  }
  
  /* Responsive Design for Contact Section */
  @media (max-width: 1024px) {
    .contact-info {
      grid-template-columns: 1fr;
      gap: var(--space-4);
    }
  
    .contact-item {
      padding: var(--space-5);
      font-size: var(--text-base);
    }
  
    .contact-item i {
      font-size: var(--text-xl);
    }
  }
  
  @media (max-width: 768px) {
    .contact-section {
      min-height: 60vh;
    }
  
    .contact-content {
      padding: var(--space-6);
      margin: 0 var(--space-4);
    }
  
    .contact-description {
      font-size: var(--text-lg);
      margin-bottom: var(--space-8);
    }
  
    .contact-item {
      padding: var(--space-4);
      gap: var(--space-3);
    }
  
    .contact-item i {
      font-size: var(--text-lg);
    }
  
    .contact-item span {
      font-size: var(--text-base);
    }
  }
  
  @media (max-width: 480px) {
    .contact-content {
      padding: var(--space-4);
      margin: 0 var(--space-2);
    }
  
    .contact-description {
      font-size: var(--text-base);
    }
  
    .contact-item {
      flex-direction: column;
      text-align: center;
      gap: var(--space-2);
      padding: var(--space-3);
    }
  
    .contact-item span {
      font-size: var(--text-sm);
    }
  }/*
 ===================================
   CONTACT SECTION STYLES (UPDATED)
   =================================== */

.contact-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    z-index: 1;
    animation: contactGradientShift 20s ease-in-out infinite alternate;
}

@keyframes contactGradientShift {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2) rotate(5deg);
        opacity: 1;
    }
}

.contact-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: contactShimmer 3s ease-in-out infinite;
}

@keyframes contactShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.contact-description {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-12);
    font-weight: 500;
    position: relative;
}

.contact-description::after {
    content: '';
    position: absolute;
    bottom: -var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: contactUnderlineExpand 2s ease-out 1s forwards;
    transform-origin: center;
    scale: 0;
}

@keyframes contactUnderlineExpand {
    to {
        scale: 1;
    }
}

/* Contact Info Grid */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.6s;
}

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

.contact-item:hover {
    transform: translateY(-8px) scale(1.02) rotateX(5deg);
    box-shadow:
        var(--shadow-xl),
        0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: var(--theme-primary);
    background: rgba(139, 92, 246, 0.1);
}

.contact-item:active {
    transform: translateY(-4px) scale(0.98);
}

.contact-item i {
    font-size: var(--text-2xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
    position: relative;
}

.contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.contact-item span {
    transition: all var(--transition-normal);
    position: relative;
}

.contact-item:hover span {
    color: var(--theme-primary);
    transform: translateX(5px);
}

/* Individual Contact Item Animations */
.contact-item:nth-child(1) {
    animation: contactFloat1 6s ease-in-out infinite;
}

.contact-item:nth-child(2) {
    animation: contactFloat2 6s ease-in-out infinite 2s;
}

.contact-item:nth-child(3) {
    animation: contactFloat3 6s ease-in-out infinite 4s;
}

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

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

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

/* Contact Item Ripple Effect */
.contact-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-item:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Contact Section Interactions */
.contact-content {
    animation: contactPulse 8s ease-in-out infinite;
}

@keyframes contactPulse {
    0%, 100% {
        box-shadow: var(--shadow-xl);
    }
    50% {
        box-shadow:
            var(--shadow-xl),
            0 0 50px rgba(139, 92, 246, 0.2);
    }
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .contact-item {
        padding: var(--space-5);
        font-size: var(--text-base);
    }
    
    .contact-item i {
        font-size: var(--text-xl);
    }
}

@media (max-width: 768px) {
    .contact-section {
        min-height: 60vh;
    }
    
    .contact-content {
        padding: var(--space-6);
        margin: 0 var(--space-4);
    }
    
    .contact-description {
        font-size: var(--text-lg);
        margin-bottom: var(--space-8);
    }
    
    .contact-item {
        padding: var(--space-4);
        gap: var(--space-3);
    }
    
    .contact-item i {
        font-size: var(--text-lg);
    }
    
    .contact-item span {
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: var(--space-4);
        margin: 0 var(--space-2);
    }
    
    .contact-description {
        font-size: var(--text-base);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
        padding: var(--space-3);
    }
    
    .contact-item span {
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: var(--space-4);
        margin: 0 var(--space-2);
    }
    
    .contact-description {
        font-size: var(--text-base);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
        padding: var(--space-3);
    }
    
    .contact-item span {
        font-size: var(--text-sm);
    }
}