/* InBio Style Modern Portfolio Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Improve touch interactions and performance */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Optimize scroll performance */
.hero, .container, section {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Reduce repaints during scroll */
img, .card, .btn {
    will-change: auto;
    contain: layout;
}

/* Allow text selection for content */
p, h1, h2, h3, h4, h5, h6, span, div, input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

:root {
    /* InBio Color Palette - Light Mode */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #212529;
    --accent-color: #ffc107;
    --text-primary: #212529;
    --text-secondary: #878e99;
    --text-muted: #adb5bd;
    --text-light: #ffffff;
    --bg-primary: #ecf0f3;
    --bg-secondary: #ffffff;
    --bg-dark: #212529;
    --bg-gradient: linear-gradient(135deg, #2563eb 0%, #ffc107 100%);
    --border-color: #dee2e6;
    --border-light: #f8f9fa;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #f8fafc;
    --accent-color: #fbbf24;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #1e293b;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #3b82f6 0%, #fbbf24 100%);
    --border-color: #334155;
    --border-light: #475569;
    
    /* Dark Mode Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.3);
    --shadow-colored: 0 8px 25px rgba(59, 130, 246, 0.4);
}

:root {
    /* InBio Shadows - Light Mode */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 8px 25px rgba(255, 107, 53, 0.3);
    
    /* InBio Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 50px;
    
    /* InBio Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* scroll-behavior: smooth; - Disabled for performance */
    transition: background-color var(--transition-normal), color var(--transition-normal);
    /* Scroll performance optimizations */
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;

}

/* Optimized theme transitions - only for specific elements */
.btn, .nav-link, .theme-toggle, .card, .hero-buttons .btn {
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.nav-container, .nav-menu {
    transition: background-color var(--transition-normal);
}

html {
    /* scroll-behavior: smooth; - Disabled for performance */
}

/* Enhanced scroll animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

h1 {
    font-weight: 800;
    letter-spacing: -0.05em;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.035em;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    contain: layout style;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
}

.nav-toggle .bar {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
    background: var(--primary-color);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
    background: var(--primary-color);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

.transform { transform: translateZ(0); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

.transition-all { transition: all var(--transition-normal); }
.transition-fast { transition: all var(--transition-fast); }
.transition-slow { transition: all var(--transition-slow); }

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(10px); - Disabled for performance */
    /* -webkit-backdrop-filter: blur(10px); - Disabled for performance */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* InBio Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000 !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: all var(--transition-normal), transform 0.3s ease-in-out !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Dark theme navbar styles */
[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 1) !important;
    border-bottom-color: #334155 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 1) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    border-bottom-color: #334155 !important;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-profile-img {
    width: 100%;
    height: 45px;
    border-radius: 0;
    object-fit: contain;
    border: none;
}

/* Logo Theme Switching */
.light-logo {
    display: block;
}

.dark-logo {
    display: none;
}

[data-theme="dark"] .light-logo {
    display: none;
}

[data-theme="dark"] .dark-logo {
    display: block;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-primary);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

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

.theme-toggle:active {
    transform: translateY(0);
}

#theme-icon {
    transition: all var(--transition-normal);
}

/* Dark mode active state */
[data-theme="dark"] .theme-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

.btn-buy-now {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    border: 2px solid var(--primary-color);
}

.btn-buy-now:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 16, 113, 0.3);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 11px;
    transition: all var(--transition-normal);
    position: relative;
    padding: 10px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-link i {
    font-size: 14px;
    transition: all var(--transition-normal);
}

.nav-link span {
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.nav-link:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.nav-link.active i {
    color: white !important;
    transform: scale(1.1);
}

.nav-link.active span {
    color: white !important;
}

.nav-link::after {
    display: none;
}

/* Dark Mode Nav Link Styles */
[data-theme="dark"] .nav-link {
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .nav-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

[data-theme="dark"] .nav-link:hover i {
    color: var(--primary-color);
}

[data-theme="dark"] .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
}

[data-theme="dark"] .nav-link.active i,
[data-theme="dark"] .nav-link.active span {
    color: white !important;
}

/* InBio Hero Section */
.hero {

    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
    padding: 120px 0 80px;

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-welcome {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-name {
    color: var(--primary-color);
}

.hero-profession {
    color: var(--text-primary);
}

.animated-profession {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    width: 100%;
}

.profession-text {
    position: absolute;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    white-space: nowrap;
    width: 0;
    text-align: left;
    overflow: hidden;
    animation: typing 16s steps(40, end) infinite;
}

.profession-text:nth-child(2) {
    animation-delay: 4s;
}

.profession-text:nth-child(3) {
    animation-delay: 8s;
}

.profession-text:nth-child(4) {
    animation-delay: 12s;
}

@keyframes typing {
    0%, 6.25% {
        width: 0;
        opacity: 1;
        border-right: 3px solid var(--primary-color);
    }
    12.5%, 18.75% {
        width: 100%;
        opacity: 1;
        border-right: none;
    }
    25%, 100% {
        width: 0;
        opacity: 0;
        border-right: none;
    }
}



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

.hero-social {
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.social-section,
.skills-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.social-label,
.skills-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.social-links,
.skill-badges {
    display: flex;
    gap: 15px;
}

.social-link,
.skill-badge {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 18px;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 16, 113, 0.3);
}

.skill-badge:hover {
    transform: translateY(-3px);
}

.skill-badge:nth-child(1):hover {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.skill-badge:nth-child(2):hover {
    background-color: #ff6b35;
    color: white;
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.skill-badge:nth-child(3):hover {
    background-color: #6f42c1;
    color: white;
    border-color: #6f42c1;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.hero-image-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Organic Blob Shapes */
.blob-shape {
    position: absolute;
    border-radius: 50% 40% 60% 30%;
    /* animation: blobFloat 6s ease-in-out infinite; - Disabled for performance */
    z-index: 1;
}

.blob-primary {
    width: 300px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    top: 50px;
    left: 80px;
    opacity: 0.9;
    animation-delay: 0s;
}

.blob-secondary {
    width: 200px;
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-color), #343a40);
    top: 150px;
    right: 50px;
    opacity: 0.8;
    animation-delay: 2s;
}

.blob-accent {
    width: 120px;
    height: 140px;
    background: linear-gradient(135deg, #009ad7, #0bb5e8);
    bottom: 100px;
    left: 50px;
    opacity: 0.7;
    animation-delay: 4s;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #009ad7);
    padding: 6px;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--transition-normal);
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

/* Floating Labels */
.floating-label {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 4;
    /* animation: labelFloat 4s ease-in-out infinite; - Disabled for performance */
    transition: transform var(--transition-normal);
}

.floating-label:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.label-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.label-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.label-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.label-subtext {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1;
}

/* Dark Mode Floating Label Styles */
[data-theme="dark"] .floating-label {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .floating-label:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .label-number {
    color: var(--text-primary);
}

[data-theme="dark"] .label-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .label-subtext {
    color: var(--text-muted);
}

/* Label Positioning */
.label-1 {
    top: 60px;
    left: -20px;
    animation-delay: 0s;
}

.label-2 {
    top: 80px;
    right: -30px;
    animation-delay: 1.5s;
}

.label-3 {
    bottom: 40px;
    left: -40px;
    animation-delay: 3s;
}

/* Decorative Dots */
.decorative-dots {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--text-muted) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.4;
    z-index: 2;
}

.dots-1 {
    top: 20px;
    right: 20px;
    /* animation: dotsFloat 8s ease-in-out infinite; - Disabled for performance */
}

.dots-2 {
    bottom: 20px;
    right: 100px;
    /* animation: dotsFloat 8s ease-in-out infinite reverse; - Disabled for performance */
}

/* Animations */
@keyframes blobFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        border-radius: 50% 40% 60% 30%;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        border-radius: 40% 60% 30% 50%;
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
        border-radius: 60% 30% 50% 40%;
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
        border-radius: 30% 50% 40% 60%;
    }
}

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

@keyframes dotsFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* InBio Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    text-transform: capitalize;
    min-width: 160px;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Sections - Modern Spacing */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
    font-weight: 400;
}

/* Cards - Clean Minimal Design */
.card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

/* Enhanced About Card Styling */
.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e3f2fd 100%);
    border: none;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15), 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25), 0 8px 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #e8f4fd 100%);
}

.about-card:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.about-card h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.about-card p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-align: justify;
}

.about-card .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.about-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.about-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 24px;
    transition: all var(--transition-normal);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* About Section - Enhanced */
.about {
    background: var(--bg-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

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

.about-image {
    text-align: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-xl);
    opacity: 0.1;
    z-index: -1;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.about-image:hover img {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-xl);
}

/* InBio Skills Section */
.skills {
    background: var(--bg-secondary);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.skill-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    height: 100%;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: all var(--transition-normal);
}

.skill-item:hover .skill-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.skill-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.skill-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.skill-progress {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.skill-progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 1.5s ease-out;
    position: relative;
}

.skill-percentage {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.skill-percentage {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.skill-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e5eff 0%, #4a90e2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 1.5rem;
}

.skill-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.skill-item p {
    color: #4a5568;
    line-height: 1.7;
}

/* Progress Bars - Minimal */
.skill-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 16px;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e5eff, #4a90e2);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Metrics - Clean Numbers */
.metrics {
    background: white;
    padding: 80px 0;
}

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

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e5eff;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.metric-label {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Achievements */
.achievements {
    background: #f8fafc;
}

.achievement-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

/* Metric Card Styles */
.metric-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.metric-card.active {
    background: #e3f2fd;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

.achievement-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e5eff 0%, #4a90e2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 1.5rem;
}

.achievement-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.achievement-card p {
    color: #4a5568;
    line-height: 1.7;
}

/* Footer - Minimal & Modern */
.footer {
    background: #1a202c;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 40px;
}

.footer-main h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-tagline {
    color: #a0aec0;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

.footer-social .social-links {
    display: flex;
    gap: 16px;
    margin: 0;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

/* Footer Modern Social Links */
.footer-modern-social-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
}

.footer-modern-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.footer-modern-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-modern-social-link:hover::before {
    left: 100%;
}

.footer-social-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-social-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.footer-social-platform {
    font-weight: 500;
    font-size: 0.85rem;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.footer-social-handle {
    font-size: 0.7rem;
    color: #a0aec0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Footer Platform-specific styling */
.footer-modern-social-link.linkedin {
    border-left: 3px solid #0077b5;
}

.footer-modern-social-link.linkedin .footer-social-icon-wrapper {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
}

.footer-modern-social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.08);
    border-color: #0077b5;
    transform: translateX(4px);
}

.footer-modern-social-link.linkedin:hover .footer-social-platform {
    color: #0077b5;
}

.footer-modern-social-link.facebook {
    border-left: 3px solid #1877f2;
}

.footer-modern-social-link.facebook .footer-social-icon-wrapper {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
    color: white;
}

.footer-modern-social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.08);
    border-color: #1877f2;
    transform: translateX(4px);
}

.footer-modern-social-link.facebook:hover .footer-social-platform {
    color: #1877f2;
}

.footer-modern-social-link.instagram {
    border-left: 3px solid #e4405f;
}

.footer-modern-social-link.instagram .footer-social-icon-wrapper {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
    color: white;
}

.footer-modern-social-link.instagram:hover {
    background: rgba(228, 64, 95, 0.08);
    border-color: #e4405f;
    transform: translateX(4px);
}

.footer-modern-social-link.instagram:hover .footer-social-platform {
    color: #e4405f;
}

.footer-modern-social-link:hover .footer-social-handle {
    opacity: 1;
    color: #cbd5e0;
}

.footer-modern-social-link:hover .footer-social-icon-wrapper {
    transform: scale(1.05);
}

/* Hero Modern Social Section */
.hero-social-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.hero-social-header {
    text-align: left;
    margin-bottom: 2px;
}

.hero-social-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.hero-social-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.hero-modern-social-grid {
    display: flex;
    flex-direction: row;
    gap: 8px;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
}

.hero-modern-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}



.hero-social-icon-wrapper {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.hero-social-info {
    display: none;
}

.hero-social-platform {
    display: none;
}

.hero-social-handle {
    display: none;
}

/* Hero Platform-specific styling */
.hero-modern-social-link.linkedin:hover {
    background-color: #0077b5;
    color: white;
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.hero-modern-social-link.linkedin:hover .hero-social-icon-wrapper {
    color: white;
}

.hero-modern-social-link.facebook:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.hero-modern-social-link.facebook:hover .hero-social-icon-wrapper {
    color: white;
}

.hero-modern-social-link.instagram:hover {
    background-color: #e4405f;
    color: white;
    border-color: #e4405f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
}

.hero-modern-social-link.instagram:hover .hero-social-icon-wrapper {
    color: white;
}



/* Modern Contact Social Section */
.contact-social-section {
    margin-top: 20px;
}

.social-header {
    text-align: center;
    margin-bottom: 25px;
}

.social-header h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.social-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.modern-social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.modern-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modern-social-link:hover::before {
    left: 100%;
}

.social-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.social-platform {
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.social-handle {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Platform-specific styling */
.modern-social-link.linkedin {
    border-left: 4px solid #0077b5;
}

.modern-social-link.linkedin .social-icon-wrapper {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
}

.modern-social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.1);
    border-color: #0077b5;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.2);
}

.modern-social-link.linkedin:hover .social-platform {
    color: #0077b5;
}

.modern-social-link.facebook {
    border-left: 4px solid #1877f2;
}

.modern-social-link.facebook .social-icon-wrapper {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
    color: white;
}

.modern-social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877f2;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
}

.modern-social-link.facebook:hover .social-platform {
    color: #1877f2;
}

.modern-social-link.instagram {
    border-left: 4px solid #e4405f;
}

.modern-social-link.instagram .social-icon-wrapper {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
    color: white;
}

.modern-social-link.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
    border-color: #e4405f;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.2);
}

.modern-social-link.instagram:hover .social-platform {
    color: #e4405f;
}

.modern-social-link:hover .social-handle {
    opacity: 1;
}

.modern-social-link:hover .social-icon-wrapper {
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.footer p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Design */
/* Enhanced Mobile Responsiveness */

/* Large Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-wrapper {
        gap: 60px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        height: 70px;
        position: relative;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-cta {
        display: flex;
        gap: 10px;
        z-index: 1001;
    }
    
    .theme-toggle {
        width: 44px;
        height: 44px;
        font-size: 16px;
        touch-action: manipulation;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        background: var(--bg-primary);
        /* backdrop-filter: blur(20px); - Disabled for performance */
        /* -webkit-backdrop-filter: blur(20px); - Disabled for performance */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 16px 24px;
        width: 220px;
        text-align: center;
        border-radius: var(--radius-md);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .hero {
        padding: 90px 0 50px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        width: 100%;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
        width: 100%;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 16px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-social {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-image-wrapper {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }
    
    .floating-label {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .label-number {
        font-size: 16px;
    }
    
    .label-text {
        font-size: 11px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
        font-size: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        justify-items: center;
    }
    
    .about-text {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .card {
        padding: 24px 20px;
    }
    
    .skill-item {
        padding: 24px 20px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-main h3 {
        font-size: 1.25rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
    
    /* Modern Social Links Mobile Styles */
    .modern-social-link {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .social-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .social-platform {
        font-size: 0.9rem;
    }
    
    .social-handle {
        font-size: 0.75rem;
    }
    
    .social-header h3 {
        font-size: 1.1rem;
    }
    
    .social-subtitle {
        font-size: 0.85rem;
    }
    
    /* Footer Modern Social Links Mobile Styles */
    .footer-modern-social-grid {
        max-width: 100%;
        gap: 8px;
    }
    
    .footer-modern-social-link {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .footer-social-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .footer-social-platform {
        font-size: 0.8rem;
    }
    
    .footer-social-handle {
        font-size: 0.65rem;
    }
    
    /* Hero Modern Social Links Mobile Styles */
    .hero-social-section {
        gap: 12px;
    }
    
    .hero-modern-social-grid {
        max-width: 100%;
        gap: 6px;
    }
    
    .hero-modern-social-link {
        padding: 0;
        width: 60px;
        height: 60px;
    }
    
    .hero-social-icon-wrapper {
        width: 100%;
        height: 100%;
        font-size: 18px;
    }
    
    .hero-social-label {
        font-size: 9px;
        letter-spacing: 1px;
    }
    
    .hero-social-subtitle {
        font-size: 0.65rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #1e5eff;
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Responsive Design */

/* Base responsive styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-image-container {
        width: 400px;
        height: 400px;
    }
    
    .hero-image-wrapper {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-cta {
        display: flex;
        gap: 10px;
        z-index: 1001;
    }
    
    .theme-toggle {
        width: 44px;
        height: 44px;
        font-size: 16px;
        touch-action: manipulation;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100vw;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        background: var(--bg-primary);
        /* backdrop-filter: blur(20px); - Disabled for performance */
        /* -webkit-backdrop-filter: blur(20px); - Disabled for performance */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        gap: 30px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 16px 24px;
        width: 200px;
        text-align: center;
        border-radius: var(--radius-md);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-image {
        width: 100%;
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
    }
    
    .hero-image-container {
        width: 280px;
        height: 280px;
        max-width: 90vw;
        max-height: 90vw;
    }
    
    .hero-image-wrapper {
        width: 200px;
        height: 200px;
        max-width: 70vw;
        max-height: 70vw;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    
    /* Mobile blob adjustments */
    .blob-primary {
        width: 200px;
        height: 180px;
        top: 30px;
        left: 40px;
    }
    
    .blob-secondary {
        width: 140px;
        height: 160px;
        top: 100px;
        right: 30px;
    }
    
    .blob-accent {
        width: 80px;
        height: 100px;
        bottom: 60px;
        left: 30px;
    }
    
    /* Mobile floating labels */
    .floating-label {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .label-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .label-number {
        font-size: 16px;
    }
    
    .label-text {
        font-size: 10px;
    }
    
    .label-1 {
        top: 40px;
        left: -10px;
    }
    
    .label-2 {
        top: 50px;
        right: -15px;
    }
    
    .label-3 {
        bottom: 20px;
        left: -20px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 60px;
    }
    
    .section-subtitle {
        margin-bottom: 60px;
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        justify-items: center;
    }
    
    .about-text {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-text h2 {
        font-size: 1.875rem;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Mobile About Card Optimizations */
    .about-card {
        padding: 30px 25px;
        border-radius: 16px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
        box-sizing: border-box;
    }
    
    .about-card h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .about-card p {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
        margin-bottom: 18px;
    }
    
    .about-card .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
        padding: 14px 25px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .about-card:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 15px 45px rgba(37, 99, 235, 0.2), 0 6px 20px rgba(0, 0, 0, 0.1);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .card {
        padding: 24px 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .skill-item {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Ensure all content sections are mobile-friendly */
    .about-content,
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* Professional expertise section */
    .services-grid .card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .services-grid .card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Progress bars in mobile */
    .progress-bar {
        width: 100%;
        margin: 8px 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
        height: 65px;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 30px 16px;
        gap: 16px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 14px 20px;
        width: 180px;
    }
    
    .hero {
        padding: 85px 0 50px;
        min-height: 80vh;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-welcome {
        font-size: 11px;
        margin-bottom: 12px;
        letter-spacing: 1.5px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .animated-profession {
        height: 50px;
        margin-bottom: 12px;
    }
    
    .profession-text {
        font-size: clamp(1rem, 6vw, 1.8rem);
    }
    
    .hero-social {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .hero-image-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .floating-label {
        padding: 8px 10px;
        gap: 6px;
        border-radius: var(--radius-sm);
    }
    
    .label-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .label-number {
        font-size: 14px;
    }
    
    .label-text {
        font-size: 10px;
    }
    
    .label-subtext {
        font-size: 9px;
    }
    
    /* Adjust floating label positions for mobile */
    .label-1 {
        top: 40px;
        left: -15px;
    }
    
    .label-2 {
        top: 60px;
        right: -20px;
    }
    
    .label-3 {
        bottom: 30px;
        left: -25px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card {
        padding: 20px 16px;
    }
    
    /* Small Mobile About Card Optimizations */
    .about-card {
        padding: 25px 20px;
        border-radius: 14px;
        margin: 0 12px;
        max-width: calc(100% - 24px);
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12), 0 3px 12px rgba(0, 0, 0, 0.06);
    }
    
    .about-card h2 {
        font-size: 1.75rem;
        margin-bottom: 18px;
    }
    
    .about-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .about-card .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 40px;
    }
    
    .about-card:hover {
        transform: translateY(-3px) scale(1.005);
        box-shadow: 0 12px 35px rgba(37, 99, 235, 0.18), 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .skill-item {
        padding: 20px 16px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 140px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-main h3 {
        font-size: 1.1rem;
    }
    
    .footer-tagline {
        font-size: 0.85rem;
    }
    
    /* Enhanced Mobile Social Links */
    .modern-social-link {
        padding: 10px 12px;
        gap: 10px;
        font-size: 13px;
    }
    
    .social-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .social-platform {
        font-size: 0.8rem;
    }
    
    .social-handle {
        font-size: 0.7rem;
    }
    
    .hero-modern-social-grid {
        gap: 8px;
    }
    
    .hero-modern-social-link {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .hero-social-icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .social-link {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* Contact Section Mobile Optimization */
    .contact {
        padding: 40px 0;
        background: var(--bg-secondary);
    }
    
    .contact-grid {
        display: block;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info {
        display: none;
    }
    
    .contact-form {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 24px 16px;
        background: var(--bg-primary);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-light);
    }
    
    .form-group {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        color: var(--text-primary);
        box-sizing: border-box;
        transition: all var(--transition-normal);
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
    
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: var(--text-muted);
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
        border-radius: var(--radius-md);
        border: none;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        cursor: pointer;
        transition: all var(--transition-normal);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    }
    
    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .portfolio-item {
        margin-bottom: 16px;
    }
    
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .testimonial-author {
        font-size: 13px;
    }
    
    /* Services Mobile */
    .service-card {
        padding: 20px 16px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 14px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 25px 12px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 12px 16px;
        width: 160px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
        margin-bottom: 12px;
    }
    
    .hero-welcome {
        font-size: 10px;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-image-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .floating-label {
        padding: 6px 8px;
        gap: 4px;
    }
    
    .label-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .label-number {
        font-size: 12px;
    }
    
    .label-text {
        font-size: 9px;
    }
    
    .about-content {
        justify-items: center;
    }
    
    .about-text {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .card {
        padding: 16px 12px;
    }
    
    /* Extra Small Mobile About Card Optimizations */
    .about-card {
        padding: 20px 16px;
        border-radius: 12px;
        margin: 0 10px;
        max-width: calc(100% - 20px);
        box-shadow: 0 6px 25px rgba(37, 99, 235, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .about-card h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .about-card p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    
    .about-card .btn {
        width: 100%;
        max-width: 240px;
        padding: 11px 18px;
        font-size: 12px;
        border-radius: 35px;
        letter-spacing: 0.3px;
    }
    
    .about-card:hover {
        transform: translateY(-2px) scale(1.002);
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 120px;
    }
    
    .modern-social-link {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .social-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .social-platform {
        font-size: 0.75rem;
    }
    
    .social-handle {
        font-size: 0.65rem;
    }
    .skill-badges {
        justify-content: center;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
        font-size: 0.95rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 1.625rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .card {
        padding: 24px 20px;
    }
    
    .skill-item {
        padding: 24px 20px;
    }
    
    .portfolio-stats {
        justify-content: center;
        gap: 15px;
    }
    
    .stat {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-author {
         flex-direction: column;
         gap: 15px;
         text-align: center;
     }
     
     .skill-icon {
         width: 60px;
         height: 60px;
         font-size: 24px;
     }
     
     .skill-title {
         font-size: 1.125rem;
     }
     
     .skill-description {
         font-size: 0.9rem;
     }
 }

/* Device color scheme preferences are disabled - website uses its own theme toggle only */

/* InBio Project Card Styles */
.project-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-illustration {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.clean-illustration {
    background: linear-gradient(135deg, var(--primary-color), #009ad7);
}

.clean-design {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.project-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modern-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-icon {
    position: absolute;
    z-index: 10;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    /* animation: iconPulse 2s ease-in-out infinite; - Disabled for performance */
}

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

/* AI Ads Illustration */
.ai-ads-illustration .shape-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #0bb5e8);
    top: 20%;
    left: 15%;
    /* animation: float1 4s ease-in-out infinite; - Disabled for performance */
}

.ai-ads-illustration .shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid var(--secondary-color);
    top: 60%;
    right: 20%;
    animation: float2 3s ease-in-out infinite;
}

.ai-ads-illustration .shape-square {
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #009ad7, #0bb5e8);
    border-radius: 8px;
    bottom: 15%;
    left: 60%;
    animation: rotate 6s linear infinite;
}

.floating-dots .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: dotFloat 2s ease-in-out infinite;
}

.floating-dots .dot:nth-child(1) { top: 30%; right: 10%; animation-delay: 0s; }
.floating-dots .dot:nth-child(2) { top: 70%; left: 20%; animation-delay: 0.7s; }
.floating-dots .dot:nth-child(3) { bottom: 20%; right: 40%; animation-delay: 1.4s; }

/* AI Photo Illustration */
.ai-photo-illustration .shape-hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(60deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 25%;
    right: 20%;
    animation: float1 3.5s ease-in-out infinite;
}

.ai-photo-illustration .shape-diamond {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #009ad7, #0bb5e8);
    transform: rotate(45deg);
    bottom: 30%;
    left: 15%;
    animation: float2 4s ease-in-out infinite;
}

.ai-photo-illustration .shape-oval {
    position: absolute;
    width: 70px;
    height: 35px;
    background: linear-gradient(90deg, var(--secondary-color), rgba(255,255,255,0.3));
    border-radius: 50%;
    top: 60%;
    right: 35%;
    animation: rotate 8s linear infinite;
}

.floating-lines .line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: lineMove 3s ease-in-out infinite;
}

.floating-lines .line:nth-child(1) { width: 60px; top: 40%; left: 10%; animation-delay: 0s; }
.floating-lines .line:nth-child(2) { width: 40px; bottom: 25%; right: 15%; animation-delay: 1.5s; }

/* AI Music Illustration */
.ai-music-illustration .shape-wave {
    position: absolute;
    width: 80px;
    height: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    top: 30%;
    left: 20%;
    animation: wave 2s ease-in-out infinite;
}

.ai-music-illustration .shape-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #009ad7;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    bottom: 25%;
    right: 25%;
    animation: pulse 2.5s ease-in-out infinite;
}

.ai-music-illustration .shape-ring {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: transparent;
    top: 60%;
    left: 60%;
    animation: spin 3s linear infinite;
}

.floating-notes .note {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.7);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    animation: noteFloat 2.5s ease-in-out infinite;
}

.floating-notes .note:nth-child(1) { top: 20%; right: 15%; animation-delay: 0s; }
.floating-notes .note:nth-child(2) { top: 45%; left: 10%; animation-delay: 0.8s; }
.floating-notes .note:nth-child(3) { bottom: 20%; right: 45%; animation-delay: 1.6s; }

/* AI Web App Illustration */
.ai-web-illustration .shape-grid {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), transparent 50%, #009ad7 50%);
    background-size: 10px 10px;
    top: 20%;
    left: 25%;
    animation: float1 3s ease-in-out infinite;
}

.ai-web-illustration .shape-polygon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), #0bb5e8);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    bottom: 30%;
    right: 20%;
    animation: float2 4s ease-in-out infinite;
}

.ai-web-illustration .shape-star {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #009ad7;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    top: 65%;
    left: 15%;
    animation: twinkle 2s ease-in-out infinite;
}

.floating-pixels .pixel {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 1px;
    animation: pixelGlitch 1.5s ease-in-out infinite;
}

.floating-pixels .pixel:nth-child(1) { top: 25%; right: 10%; animation-delay: 0s; }
.floating-pixels .pixel:nth-child(2) { top: 50%; left: 15%; animation-delay: 0.4s; }
.floating-pixels .pixel:nth-child(3) { bottom: 35%; right: 35%; animation-delay: 0.8s; }
.floating-pixels .pixel:nth-child(4) { bottom: 15%; left: 45%; animation-delay: 1.2s; }

/* Animations */
@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

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

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes dotFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.6; }
    50% { transform: translateY(-8px); opacity: 1; }
}

@keyframes noteFloat {
    0%, 100% { transform: translateY(0px) rotate(-45deg); opacity: 0.7; }
    50% { transform: translateY(-12px) rotate(-35deg); opacity: 1; }
}

@keyframes lineMove {
    0% { transform: translateX(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(20px); opacity: 0; }
}

@keyframes pixelGlitch {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    25% { transform: translate(2px, -2px); opacity: 1; }
    50% { transform: translate(-1px, 1px); opacity: 0.8; }
    75% { transform: translate(1px, 2px); opacity: 1; }
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.8));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    animation: contentSlideUp 0.6s ease-out 0.2s both;
}

.overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
    transition: color 0.3s ease;
}

.project-card:hover .overlay-content p {
    color: white;
    opacity: 1;
}

@keyframes contentSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Illustration Styles */
.about-illustration {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.illustration-container {
    width: 400px;
    height: 400px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
    overflow: hidden;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.element-3 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    left: 25%;
    animation-delay: 2s;
}

.element-4 {
    width: 50px;
    height: 50px;
    top: 35%;
    right: 15%;
    animation-delay: 3s;
}

.central-icon {
    font-size: 4rem;
    color: white;
    z-index: 10;
    animation: pulse 3s ease-in-out infinite;
}

.floating-skill {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: orbit 8s linear infinite;
}

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

.skill-2 {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.skill-3 {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

.skill-4 {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

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

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

.project-links {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    animation: linksSlideUp 0.6s ease-out 0.2s both;
}

.project-link {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.project-link:nth-child(1) {
    animation-delay: 0.3s;
}

.project-link:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes linksSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* InBio Service Card Styles */
.service-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-card li {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 20px;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Projects Section Specific */
.projects {
    background: var(--bg-secondary);
}

/* Services Section Specific */
.services {
    background: var(--bg-primary);
}

/* InBio Portfolio Section Styles */
.portfolio {
    background: var(--bg-primary);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
    transition: all var(--transition-normal);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.portfolio-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

/* InBio Contact Section Styles */
.contact {
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

.contact-form {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

/* Testimonials Section Styles */
.testimonial-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
    position: relative;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border-color: #1d4ed8;
    background: #f0f7ff;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-secondary);
    font-size: 14px;
}

.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    color: #fbbf24;
    font-size: 14px;
}



/* Enhanced Mobile Responsiveness */

/* Extra small devices (iPhone SE, small Android phones) */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }
    
    .nav-logo img {
        width: 35px;
        height: 35px;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* Ultra Small Mobile About Card Optimizations */
    .about-card {
        padding: 18px 10px;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
        margin: 0 auto;
    }
    
    .about-card h2 {
        font-size: 1.4rem;
        margin-bottom: 14px;
        line-height: 1.2;
    }
    
    .about-card p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .about-card .btn {
        width: 100%;
        max-width: 220px;
        padding: 10px 16px;
        font-size: 11px;
        border-radius: 30px;
        letter-spacing: 0.2px;
    }
    
    .about-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12), 0 3px 10px rgba(0, 0, 0, 0.05);
    }
    
    .about-content {
        justify-items: center;
    }
    
    .about-text {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* Contact Form - Extra Small Mobile Devices */
@media (max-width: 480px) {
    .contact {
        padding: 30px 0;
    }
    
    .contact-grid {
        display: block;
        width: 100%;
        padding: 0 10px;
    }
    
    .contact-info {
        display: none;
    }
    
    .contact-form {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px 12px;
        background: var(--bg-primary);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-light);
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 14px;
        font-size: 16px;
        border: 2px solid var(--border-color);
        border-radius: var(--radius-sm);
        box-sizing: border-box;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        margin-top: 10px;
    }
}

/* Small devices (iPhone 12 mini, standard phones) */
@media (max-width: 375px) {
    .hero {
        padding: 80px 0 50px;
        min-height: 80vh;
    }
    
    .hero-image-wrapper {
        width: 200px;
        height: 200px;
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-item {
        padding: 16px;
    }
    
    .progress-bar {
        height: 6px;
    }
}

/* Medium devices (iPhone 12/13/14, larger Android phones) */
@media (max-width: 414px) {
    .nav-menu {
        padding: 30px 16px;
        gap: 16px;
    }
    
    .nav-link {
        width: 180px;
        padding: 14px 20px;
        font-size: 13px;
    }
    
    .hero-social {
        gap: 12px;
        margin-top: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .floating-label {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    /* Contact Form Mobile - Small Devices */
    .contact {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 20px 16px;
        margin: 0;
        width: 100%;
    }
    
    .contact-grid {
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px 16px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
    

    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 0 40px;
    }
    
    .hero-image-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .nav-menu {
        padding-top: 20px;
        gap: 12px;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .theme-toggle,
    .social-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-toggle {
        width: 44px;
        height: 44px;
    }
    
    .nav-toggle .bar {
        height: 3px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
        break-inside: avoid;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Back to Top Button Styles */
.back-to-top-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.back-to-top-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.back-to-top-btn:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6) !important;
}

@media (max-width: 768px) {
    .back-to-top-btn {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 18px !important;
    }
}