/* Global Variables */
:root {
    /* Enhanced Color Palette - Modern Gradient Scheme */
    --primary-purple: #6B46C1;
    --primary-pink: #EC4899;
    --primary-blue: #3B82F6;
    --primary-cyan: #06B6D4;
    --primary-indigo: #6366F1;
    
    /* Vibrant Accent Colors */
    --accent-orange: #F59E0B;
    --accent-rose: #F43F5E;
    --accent-violet: #8B5CF6;
    --accent-emerald: #10B981;
    --accent-amber: #F59E0B;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --soft-gray: #F9FAFB;
    --medium-gray: #E5E7EB;
    --cool-gray: #9CA3AF;
    --dark-gray: #1F2937;
    --slate: #0F172A;
    --text-gray: #4B5563;
    
    /* Enhanced Gradients */
    --gradient-1: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    --gradient-2: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    --gradient-3: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-rose) 100%);
    --gradient-4: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-purple) 100%);
    --gradient-mesh: radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(107, 70, 193, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    
    /* Shadows - Enhanced */
    --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 8px 32px rgba(107, 70, 193, 0.25);
    --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.4);
    
    /* Responsive Typography */
    --font-xs: clamp(0.7rem, 2vw, 0.875rem);
    --font-sm: clamp(0.8rem, 2.5vw, 1rem);
    --font-base: clamp(0.9rem, 3vw, 1.125rem);
    --font-lg: clamp(1rem, 3.5vw, 1.25rem);
    --font-xl: clamp(1.1rem, 4vw, 1.5rem);
    --font-2xl: clamp(1.3rem, 5vw, 2rem);
    --font-3xl: clamp(1.6rem, 6vw, 2.5rem);
    --font-4xl: clamp(2rem, 8vw, 3.5rem);
    --font-5xl: clamp(2.5rem, 10vw, 4.5rem);
    
    /* Responsive Spacing */
    --space-xs: clamp(0.5rem, 2vw, 0.75rem);
    --space-sm: clamp(0.75rem, 3vw, 1rem);
    --space-md: clamp(1rem, 4vw, 1.5rem);
    --space-lg: clamp(1.5rem, 5vw, 2rem);
    --space-xl: clamp(2rem, 6vw, 3rem);
    --space-2xl: clamp(2.5rem, 8vw, 4rem);
    --space-3xl: clamp(3rem, 10vw, 5rem);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-image: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--dark-gray);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: var(--font-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Improved Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    position: relative;
    width: clamp(60px, 15vw, 100px);
    height: clamp(60px, 15vw, 100px);
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s infinite ease-in-out;
}

.loader-circle:nth-child(1) {
    border-top-color: var(--primary-purple);
    animation-duration: 1.5s;
}

.loader-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--primary-pink);
    animation-delay: 0.2s;
    animation-duration: 1.8s;
}

.loader-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--primary-cyan);
    animation-delay: 0.4s;
    animation-duration: 2.1s;
}

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

/* Enhanced Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Hamburger Menu Styling */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-pink);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 72, 153, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
}

/* Animated Hamburger on Open */
.navbar-toggler[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-purple);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28236, 72, 153, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

.brand-dot {
    color: var(--primary-pink);
    font-size: var(--font-2xl);
    margin-left: 2px;
    animation: pulse 2s infinite;
}

/* Mobile Navigation Collapse Animation */
@media (max-width: 992px) {
    .navbar-collapse {
        transition: var(--transition);
    }
    
    .navbar-collapse.collapsing {
        transition: height 0.35s ease;
    }
    
    .navbar-collapse.show {
        padding-top: var(--space-xs);
    }
}

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

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0 var(--space-sm);
    position: relative;
    transition: var(--transition);
    font-size: var(--font-sm);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

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

.resume-btn {
    background: var(--gradient-1) !important;
    color: var(--white) !important;
    padding: var(--space-xs) var(--space-md) !important;
    border-radius: 50px;
    margin-left: var(--space-sm);
    position: relative;
    overflow: hidden;
    font-size: var(--font-sm);
    border: none !important;
}

.resume-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    transition: left 0.5s ease;
}

.resume-btn:hover::before {
    left: 0;
}

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

.resume-btn span {
    position: relative;
    z-index: 1;
}

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

/* Advanced Animated Background */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particles::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 70, 193, 0.3) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: float-gradient 20s ease-in-out infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation: float-gradient 25s ease-in-out infinite reverse;
}

@keyframes float-gradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Animated Gradient Mesh Background */
.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.3;
    animation: mesh-animation 30s ease-in-out infinite;
    z-index: 1;
}

@keyframes mesh-animation {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.2);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(0.8);
    }
}

/* Floating Elements with Enhanced Animation */
.floating-element {
    position: absolute;
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--white);
    animation: float-element 15s infinite ease-in-out;
    transition: var(--transition-bounce);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element:hover {
    background: var(--gradient-1);
    transform: scale(1.2) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

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

.element-2 {
    bottom: 30%;
    right: 8%;
    animation-delay: 5s;
}

.element-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float-element {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% { 
        transform: translateY(-30px) translateX(10px) rotate(90deg);
    }
    50% { 
        transform: translateY(20px) translateX(-10px) rotate(180deg);
    }
    75% { 
        transform: translateY(-10px) translateX(20px) rotate(270deg);
    }
}

/* Hero Content with Enhanced Animations */
.hero-content {
    padding-top: clamp(60px, 15vw, 100px);
    z-index: 2;
    position: relative;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-base);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.7s;
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 50%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

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

.hero-roles {
    font-size: var(--font-xl);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.9s;
    color: var(--white);
}

.role-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.typed-text {
    color: var(--primary-pink);
    font-weight: 600;
    position: relative;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.typed-cursor {
    color: var(--primary-pink);
    animation: blink 1s infinite;
}

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

.hero-description {
    font-size: var(--font-base);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
    max-width: 100%;
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    opacity: 0;
    animation: fadeInUp 1s forwards 1.3s;
}

.btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    font-size: var(--font-sm);
    min-width: 140px;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.btn-glow {
    animation: glow-pulse 3s infinite;
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3), 
                    0 0 30px rgba(236, 72, 153, 0.2); 
    }
    50% { 
        box-shadow: 0 4px 20px rgba(107, 70, 193, 0.5), 
                    0 0 50px rgba(236, 72, 153, 0.4); 
    }
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s forwards 1.5s;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 140px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: stat-shine 3s infinite;
}

@keyframes stat-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.stat-number {
    font-size: var(--font-2xl);
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-xs);
    line-height: 1.3;
}

/* Enhanced Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(300px, 60vh, 600px);
    z-index: 2;
}

.hero-image-bg {
    position: absolute;
    width: clamp(280px, 55vw, 450px);
    height: clamp(280px, 55vw, 450px);
    background: var(--gradient-mesh);
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse-glow 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-image-container {
    position: relative;
    width: clamp(200px, 40vw, 350px);
    height: clamp(200px, 40vw, 350px);
    margin: 0 auto;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    z-index: 3;
    animation: morph-shape 8s ease-in-out infinite;
}

@keyframes morph-shape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
    }
    75% {
        border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: var(--transition-image);
}

.hero-image-primary {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image-secondary {
    z-index: 1;
    opacity: 0;
    transform: scale(1.1);
    filter: contrast(1.2) brightness(1.1);
}

.hero-image-container:hover .hero-image-primary {
    opacity: 0;
    transform: scale(0.95) rotate(-5deg);
}

.hero-image-container:hover .hero-image-secondary {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards 2s;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-xs);
    margin-bottom: var(--space-xs);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 3px;
    height: 10px;
    background: var(--primary-pink);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1.5px;
    animation: scroll-wheel 2s infinite;
}

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

/* Section Styles */
.section-header {
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    margin: 0 auto var(--space-md);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.title-underline::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 100%;
    background: var(--white);
    animation: slide 2s infinite;
}

@keyframes slide {
    0% { left: -30px; }
    100% { left: 90px; }
}

.section-subtitle {
    color: var(--text-gray);
    font-size: var(--font-base);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--soft-gray);
    position: relative;
    overflow: hidden;
    padding: var(--space-3xl) 0;
}

.about-content h3 {
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
    font-size: var(--font-xl);
}

.about-content .lead {
    font-size: var(--font-lg);
    line-height: 1.6;
}

.about-content p {
    font-size: var(--font-base);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.expertise-areas {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-lg);
}

.expertise-areas h4 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-md);
}

.expertise-item {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--soft-gray) 0%, rgba(107, 70, 193, 0.05) 100%);
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: var(--space-sm);
}

.expertise-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.expertise-item i {
    font-size: var(--font-lg);
    color: var(--primary-purple);
    margin-right: var(--space-sm);
    min-width: 24px;
}

.expertise-item span {
    font-size: var(--font-sm);
    font-weight: 500;
}

.skills-showcase {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.skills-showcase h4 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-lg);
}

.skill-item {
    margin-bottom: var(--space-md);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
}

.skill-name {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: var(--font-sm);
}

.skill-percentage {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: var(--font-sm);
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.skill-bar {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50px;
    width: 0;
    transition: width 2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.skill-item:nth-child(odd) .skill-bar {
    background: var(--gradient-1);
}

.skill-item:nth-child(even) .skill-bar {
    background: var(--gradient-2);
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Services Section */
.services-section {
    background: linear-gradient(to bottom, var(--white) 0%, var(--soft-gray) 100%);
    position: relative;
    padding: var(--space-3xl) 0;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--soft-gray) 100%);
    padding: var(--space-xl);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(107, 70, 193, 0.1);
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--shadow-colored);
    border-color: var(--primary-purple);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-3);
    transform: rotate(360deg) scale(1.1);
}

.service-icon i {
    font-size: var(--font-lg);
    color: var(--white);
}

.service-title {
    font-size: var(--font-lg);
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    font-size: var(--font-sm);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: var(--space-xs) 0;
    color: var(--text-gray);
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-pink);
    margin-right: var(--space-xs);
    min-width: 16px;
}

/* Technology Stack */
.tech-stack-section {
    background: var(--soft-gray);
    padding: var(--space-3xl) 0;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.tech-category {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.category-title {
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--medium-gray);
    font-size: var(--font-lg);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-item {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--soft-gray) 0%, rgba(107, 70, 193, 0.05) 100%);
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    font-size: var(--font-sm);
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-1);
    color: var(--white);
}

.tech-item i {
    font-size: var(--font-base);
    margin-right: var(--space-xs);
}

.tech-item:hover i {
    color: var(--white);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    padding: var(--space-3xl) 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    top: -50%;
    left: -50%;
    animation: wave 20s linear infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--font-3xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-description {
    color: var(--white);
    font-size: var(--font-base);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

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

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-purple);
}

.cta-section .btn-primary:hover {
    background: var(--soft-gray);
}

.cta-section .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--primary-purple);
}

/* Footer */
.footer-section {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(107, 70, 193, 0.05) 50%, transparent 100%);
    z-index: 1;
}

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

.footer-brand h3 {
    color: var(--white);
    margin-bottom: var(--space-xs);
    font-size: var(--font-xl);
}

.footer-tagline {
    color: var(--primary-pink);
    font-size: var(--font-base);
    margin-bottom: var(--space-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    font-size: var(--font-sm);
    line-height: 1.6;
}

.footer-title {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: var(--font-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: var(--font-sm);
}

.footer-links a:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-pink);
    margin-right: var(--space-sm);
    width: 20px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: var(--font-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-xs);
}

.footer-bottom i {
    color: var(--primary-pink);
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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

/* Enhanced Responsive Design */

/* Large Tablets and Small Laptops */
@media (max-width: 1200px) {
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .hero-image-wrapper {
        margin-top: var(--space-xl);
    }
    
    .tech-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablets */
@media (max-width: 992px) {
    .navbar {
        padding: var(--space-xs) 0;
    }
    
    .navbar-collapse {
        margin-top: var(--space-sm);
    }
    
    .navbar-nav {
        background: rgba(15, 23, 42, 0.98);
        padding: var(--space-md);
        border-radius: 15px;
        margin-top: var(--space-xs);
        box-shadow: var(--shadow-md);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(107, 70, 193, 0.2);
    }
    
    .navbar-nav .nav-link {
        margin: var(--space-xs) 0;
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--font-sm);
        color: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        transition: var(--transition);
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        padding-left: var(--space-md);
    }
    
    .navbar-nav .nav-link.active {
        background: rgba(107, 70, 193, 0.2);
        color: var(--primary-pink);
    }
    
    .resume-btn {
        margin-top: var(--space-sm) !important;
        margin-left: 0 !important;
        display: inline-block !important;
        width: fit-content !important;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: var(--space-xl);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: var(--space-lg);
    }
    
    .floating-element {
        display: none;
    }
    
    .about-section .row {
        text-align: center;
    }
    
    .about-section .col-lg-6:first-child {
        margin-bottom: var(--space-xl);
    }
    
    .expertise-areas,
    .skills-showcase {
        margin-top: var(--space-lg);
    }
    
    .tech-categories {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .service-card {
        margin-bottom: var(--space-lg);
    }
    
    /* Compact Footer for Tablets */
    .footer-section {
        padding: var(--space-lg) 0 var(--space-sm);
        min-height: auto;
    }
    
    .footer-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .footer-section .row > div {
        margin-bottom: var(--space-lg);
    }
    
    .footer-description {
        margin-bottom: var(--space-md);
    }
    
    .social-links {
        margin-top: var(--space-md);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --space-xs: 0.5rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }
    
    /* Ultra Compact Header */
    .navbar {
        padding: 0.4rem 0;
        min-height: 50px;
    }
    
    .navbar-brand {
        font-size: var(--font-base);
        color: var(--white);
    }
    
    .brand-dot {
        font-size: var(--font-lg);
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
        font-size: var(--font-sm);
    }
    
    .navbar-toggler-icon {
        width: 1.1rem;
        height: 1.1rem;
    }
    
    .navbar-nav {
        padding: var(--space-sm);
        border-radius: 12px;
        margin-top: 0.3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        padding: 0.3rem var(--space-sm);
        font-size: var(--font-xs);
    }
    
    .resume-btn {
        padding: 0.3rem var(--space-sm) !important;
        font-size: var(--font-xs);
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .hero-section {
        min-height: calc(100vh - 50px);
        padding-top: 50px;
    }
    
    .hero-content {
        padding-top: var(--space-md);
    }
    
    .hero-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        flex: 1;
        max-width: 200px;
        min-width: auto;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
        max-width: 120px;
    }
    
    .hero-image-wrapper {
        height: clamp(250px, 50vh, 350px);
    }
    
    .hero-particles::before,
    .hero-particles::after {
        filter: blur(40px);
    }
    
    .service-card {
        padding: var(--space-lg);
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto var(--space-md);
    }
    
    .expertise-item {
        justify-content: center;
        text-align: center;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .tech-items {
        justify-content: center;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .cta-buttons .btn {
        flex: 1;
        max-width: 200px;
    }
    
    /* Creative Compact Footer */
    .footer-section {
        padding: var(--space-sm) 0 var(--space-xs);
        text-align: center;
        min-height: auto;
    }
    
    .footer-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .footer-section .row {
        align-items: center;
        margin: 0;
    }
    
    .footer-section .row > div {
        margin-bottom: var(--space-xs);
        padding: 0;
    }
    
    .footer-section .row > div:last-child {
        margin-bottom: 0;
    }
    
    .footer-brand h3 {
        font-size: var(--font-lg);
        margin-bottom: 0.3rem;
    }
    
    .footer-tagline {
        font-size: var(--font-sm);
        margin-bottom: 0.5rem;
    }
    
    .footer-description {
        font-size: var(--font-xs);
        margin-bottom: var(--space-sm);
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-title {
        font-size: var(--font-base);
        margin-bottom: var(--space-sm);
    }
    
    .footer-links {
        align-items: center;
        gap: var(--space-xs);
    }
    
    .footer-links a {
        font-size: var(--font-xs);
    }
    
    /* Compact Contact Info */
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
    }
    
    .contact-info p {
        font-size: var(--font-xs);
        margin-bottom: 0;
        display: inline-flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
        backdrop-filter: blur(5px);
    }
    
    .contact-info i {
        margin-right: var(--space-xs);
        width: 16px;
        font-size: var(--font-xs);
    }
    
    .social-links {
        justify-content: center;
        margin-top: var(--space-sm);
        gap: var(--space-xs);
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: var(--font-xs);
    }
    
    .footer-bottom {
        padding-top: var(--space-sm);
        margin-top: var(--space-sm);
        font-size: 0.65rem;
        line-height: 1.4;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
    
    /* Ultra Minimal Header */
    .navbar {
        padding: 0.3rem 0;
        min-height: 45px;
    }
    
    .navbar-brand {
        font-size: var(--font-sm);
        color: var(--white);
    }
    
    .brand-dot {
        font-size: var(--font-base);
        margin-left: 1px;
    }
    
    .navbar-toggler {
        padding: 0.15rem 0.35rem;
        font-size: var(--font-xs);
        border-width: 1px;
    }
    
    .navbar-toggler-icon {
        width: 1rem;
        height: 1rem;
    }
    
    .navbar-nav {
        padding: 0.6rem;
        border-radius: 10px;
        margin-top: 0.2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.1rem 0;
        padding: 0.2rem var(--space-xs);
        font-size: 0.8rem;
    }
    
    .resume-btn {
        padding: 0.25rem 0.8rem !important;
        font-size: 0.75rem;
        margin: 0.3rem auto 0;
        display: block;
        width: fit-content;
    }
    
    .hero-section {
        min-height: calc(100vh - 45px);
        padding-top: 50px;
    }
    
    .hero-content {
        padding-top: var(--space-sm);
    }
    
    .hero-description {
        padding: 0;
        margin-bottom: var(--space-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .stat-item {
        width: 100%;
        max-width: 150px;
    }
    
    .hero-image-wrapper {
        height: clamp(200px, 40vh, 300px);
    }
    
    .scroll-indicator {
        bottom: var(--space-md);
    }
    
    .mouse {
        width: 16px;
        height: 28px;
    }
    
    .wheel {
        width: 2px;
        height: 6px;
        top: 5px;
    }
    
    .section-header {
        margin-bottom: var(--space-xl);
    }
    
    .title-underline {
        width: 40px;
        height: 2px;
    }
    
    .about-content {
        text-align: left;
    }
    
    .expertise-areas,
    .skills-showcase {
        padding: var(--space-lg);
    }
    
    .expertise-item {
        padding: var(--space-sm);
        justify-content: flex-start;
        text-align: left;
    }
    
    .service-card {
        padding: var(--space-md);
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .tech-category {
        padding: var(--space-lg);
    }
    
    .tech-item {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Super Compact Creative Footer */
    .footer-section {
        padding: 0.5rem 0 0.2rem;
        text-align: center;
        min-height: auto;
    }
    
    .footer-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .footer-section .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
        margin: 0;
    }
    
    .footer-section .row > div {
        margin-bottom: 0;
        width: 100%;
        max-width: 300px;
        padding: 0;
    }
    
    /* Inline Brand Section */
    .footer-brand {
        background: rgba(255, 255, 255, 0.05);
        padding: var(--space-xs);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-brand h3 {
        font-size: var(--font-base);
        margin-bottom: 0.2rem;
    }
    
    .footer-tagline {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .footer-description {
        font-size: 0.7rem;
        margin-bottom: 0;
        line-height: 1.4;
        max-width: 250px;
    }
    
    /* Horizontal Links Layout */
    .footer-section .col-lg-4:nth-child(2) {
        background: rgba(255, 255, 255, 0.03);
        padding: var(--space-sm);
        border-radius: 12px;
        backdrop-filter: blur(5px);
    }
    
    .footer-title {
        font-size: 0.8rem;
        margin-bottom: var(--space-xs);
        color: var(--primary-pink);
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .footer-links a:hover {
        transform: translateY(-1px) scale(1.05);
        background: rgba(236, 72, 153, 0.2);
    }
    
    /* Compact Contact Card */
    .footer-section .col-lg-4:nth-child(3) {
        background: rgba(255, 255, 255, 0.05);
        padding: var(--space-sm);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .contact-info {
        gap: 0.3rem;
    }
    
    .contact-info p {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        margin: 0;
        min-width: 140px;
    }
    
    .contact-info i {
        width: 12px;
        font-size: 0.65rem;
        margin-right: 0.3rem;
    }
    
    .social-links {
        margin-top: var(--space-xs);
        gap: 0.3rem;
        justify-content: center;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .social-link:hover {
        transform: translateY(-2px) scale(1.1);
        background: var(--gradient-1);
        box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    }
    
    /* Minimal Footer Bottom */
    .footer-bottom {
        padding-top: var(--space-xs);
        margin-top: var(--space-xs);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.6rem;
        line-height: 1.3;
        background: rgba(0, 0, 0, 0.2);
        padding: var(--space-xs);
        border-radius: 8px;
        backdrop-filter: blur(5px);
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    /* Micro Header */
    .navbar {
        padding: 0.2rem 0;
        min-height: 40px;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
        color: var(--white);
    }
    
    .brand-dot {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.1rem 0.3rem;
        font-size: 0.7rem;
    }
    
    .navbar-toggler-icon {
        width: 0.9rem;
        height: 0.9rem;
    }
    
    .navbar-nav {
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.75rem;
        padding: 0.15rem var(--space-xs);
        margin: 0.05rem 0;
    }
    
    .resume-btn {
        padding: 0.2rem 0.6rem !important;
        font-size: 0.7rem;
        border-radius: 20px;
    }
    
    .hero-section {
        min-height: calc(100vh - 40px);
        padding-top: 45px;
    }
    
    .hero-buttons .btn {
        max-width: 100%;
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }
    
    .stat-item {
        padding: var(--space-xs);
        min-width: 80px;
    }
    
    .stat-number {
        font-size: var(--font-lg);
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .expertise-areas,
    .skills-showcase,
    .service-card,
    .tech-category {
        padding: var(--space-md);
    }
    
    .cta-buttons .btn {
        max-width: 100%;
        font-size: 0.85rem;
    }
    
    /* Micro Footer */
    .footer-section {
        padding: 0.3rem 0 0.15rem;
        min-height: auto;
    }
    
    .footer-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .footer-section .row {
        gap: 0.3rem;
        margin: 0;
    }
    
    .footer-brand {
        padding: 0.4rem;
        border-radius: 10px;
    }
    
    .footer-brand h3 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }
    
    .footer-tagline {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .footer-description {
        font-size: 0.6rem;
        max-width: 220px;
        line-height: 1.3;
    }
    
    .footer-links-section {
        padding: 0.6rem;
        border-radius: 10px;
    }
    
    .footer-title {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-links a {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        border-radius: 6px;
    }
    
    .footer-contact {
        padding: 0.6rem;
        border-radius: 10px;
    }
    
    .contact-info p {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        min-width: 120px;
    }
    
    .contact-info i {
        width: 10px;
        font-size: 0.6rem;
        margin-right: 0.25rem;
    }
    
    .social-link {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    
    .footer-bottom {
        font-size: 0.55rem;
        padding: 0.3rem;
        border-radius: 6px;
        max-width: 260px;
        margin-top: 0.3rem;
        line-height: 1.2;
    }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-image-wrapper {
        height: 700px;
    }
    
    .floating-element {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-particles::before,
    .hero-particles::after {
        animation: none;
    }
    
    .floating-element {
        animation: none;
    }
    
    .loader-circle {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .floating-element,
    .hero-particles,
    .preloader {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .btn {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
}