/* Modern Hero Section Styles */

/* CSS Variables for Hero Theme */
:root {
    --hero-bg-primary: #121212;
    --hero-bg-secondary: #1d1d1d;
    --hero-text-primary: #ffffff;
    --hero-text-secondary: #b0b0b0;
    --hero-text-muted: #808080;
    --hero-overlay: rgba(0, 0, 0, 0.65);
    --hero-card-bg: rgba(255, 255, 255, 0.1);
    --hero-card-border: rgba(255, 255, 255, 0.2);
    --hero-orange: #ff8201;
    --hero-orange-light: #fb923c;
    --hero-orange-dark: #ea580c;
    --hero-red-light: #ef4444;
    --hero-red-dark: #dc2626;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --hero-bg-primary: #0a0a0a;
    --hero-bg-secondary: #1a1a1a;
    --hero-text-primary: #ffffff;
    --hero-text-secondary: #f1f5f9;
    --hero-text-muted: #e2e8f0;
    --hero-overlay: rgba(0, 0, 0, 0.7);
    --hero-card-bg: rgba(30, 30, 30, 0.95);
    --hero-card-border: rgba(51, 51, 51, 0.8);
}

/* Light Theme Variables */
[data-theme="light"] {
    --hero-bg-primary: #ffffff;
    --hero-bg-secondary: #f8fafc;
    --hero-text-primary: #ffffff;
    --hero-text-secondary: #f1f5f9;
    --hero-text-muted: #e2e8f0;
    --hero-overlay: rgba(0, 0, 0, 0.75);
    --hero-card-bg: rgba(255, 255, 255, 0.95);
    --hero-card-border: rgba(203, 213, 225, 0.8);
}

/* Ensure body and page-wrapper have proper styling */
html, body, .page-wrapper {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.main-page {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section Base */
.modern-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hero-bg-primary);
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
}

/* Light theme hero section - keep video visible with dark overlay */
[data-theme="light"] .modern-hero-section {
    background: transparent;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.6;
    height: 100%; 
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(18, 18, 18, 0.75) 100%);
    z-index: 3;
    transition: background 0.3s ease;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.video-background video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-width: 100%;
    filter: brightness(0.85) contrast(1.1);
    will-change: transform, opacity;
}

/* Particle Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 130, 1, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgba(239, 68, 68, 0.12) 0%, transparent 50%);
    animation: particleFloat 8s ease-in-out infinite;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* Light theme specific particle adjustments */
[data-theme="light"] .hero-particles {
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 130, 1, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(239, 68, 68, 0.05) 0%, transparent 40%);
}

@keyframes particleFloat {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%;
        opacity: 0.7;
    }
    50% { 
        background-position: 20% 10%, 80% 90%, 40% 70%;
        opacity: 1;
    }
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 4;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
    animation: float 3s ease-in-out infinite;
}

.badge-text {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-light));
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(255, 130, 1, 0.3);
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-light));
    border-radius: 50px;
    filter: blur(8px);
    opacity: 0.6;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

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

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

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--hero-text-primary);
    transition: color 0.3s ease;
}

.highlight-name {
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--hero-text-primary);
    transition: color 0.3s ease;
}

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

.dynamic-text {
    color: var(--hero-orange);
    position: relative;
}

/* Modern Text Animation Styles */
.modern-text-animation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dynamic-text-container {
    position: relative;
    display: inline-block;
    min-height: 2em;
    min-width: 200px;
    overflow: visible;
}

.dynamic-text {
    position: relative;
    display: block;
    color: var(--hero-orange);
    font-weight: 600;
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    height: 1.5em;
}

.text-slide-item {
    position: absolute;
    top: 5px;
    left: 10px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(3px);
    color: var(--hero-orange);
    font-weight: 600;
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textItemFloat 12s infinite ease-in-out;
}

.text-slide-item.active {
    opacity: 1 !important;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: textGlow 3s ease-in-out infinite, textItemFloat 12s infinite ease-in-out;
}

.text-slide-item.entering {
    opacity: 0;
    transform: translateY(25px) scale(0.92);
    filter: blur(2px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-slide-item.entering.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.text-slide-item.leaving {
    opacity: 0 !important;
    transform: translateY(-35px) scale(1.08);
    filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

/* Text glow effect background */
.text-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 130, 1, 0.15) 0%,
        rgba(251, 146, 60, 0.08) 50%,
        transparent 70%
    );
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.8s ease;
    animation: glowPulse 4s ease-in-out infinite;
}

.dynamic-text-container:hover .text-glow-effect {
    opacity: 1;
    animation: glowPulseHover 2s ease-in-out infinite;
}

/* Enhanced hover effects */
.dynamic-text-container:hover .text-slide-item.active {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 130, 1, 0.4));
}

/* Interactive particle effect */
.dynamic-text-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--hero-orange);
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    box-shadow: 
        0 0 10px var(--hero-orange),
        20px 5px 0 rgba(255, 130, 1, 0.3),
        -15px -8px 0 rgba(251, 146, 60, 0.3),
        30px -12px 0 rgba(255, 130, 1, 0.2),
        -25px 15px 0 rgba(251, 146, 60, 0.2);
    animation: particleOrbit 8s linear infinite;
}

.dynamic-text-container:hover::before {
    opacity: 1;
    animation: particleOrbitActive 4s linear infinite;
}

/* Keyframe Animations */
@keyframes textGlow {
    0%, 100% { 
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 130, 1, 0.3));
    }
    50% { 
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(255, 130, 1, 0.5));
    }
}

@keyframes textItemFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-1px) scale(1.005); }
    75% { transform: translateY(1px) scale(0.995); }
}

@keyframes glowPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes glowPulseHover {
    0%, 100% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes particleOrbit {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    10%, 90% { 
        opacity: 0.7;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0;
    }
}

@keyframes particleOrbitActive {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0.8;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0.8;
    }
}

/* Light theme adjustments */
[data-theme="light"] .text-glow-effect {
    background: radial-gradient(
        ellipse at center,
        rgba(255, 130, 1, 0.1) 0%,
        rgba(251, 146, 60, 0.05) 50%,
        transparent 70%
    );
}

[data-theme="light"] .dynamic-text-container::before {
    box-shadow: 
        0 0 8px var(--hero-orange),
        20px 5px 0 rgba(255, 130, 1, 0.2),
        -15px -8px 0 rgba(251, 146, 60, 0.2),
        30px -12px 0 rgba(255, 130, 1, 0.1),
        -25px 15px 0 rgba(251, 146, 60, 0.1);
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--hero-text-secondary);
    margin-bottom: 48px;
    max-width: 560px;
    transition: color 0.3s ease;
}

.hero-description strong {
    color: var(--hero-orange);
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hero-orange);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--hero-text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--hero-orange), transparent);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Modern Glass Button Base */
.hero-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.hero-btn:hover::before {
    opacity: 1;
}

/* Primary Button - Orange Gradient */
.hero-btn.primary {
    background: linear-gradient(135deg, var(--hero-orange), var(--hero-orange-dark));
    color: white;
    box-shadow: 
        0 8px 20px rgba(255, 130, 1, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-btn.primary:hover {
    box-shadow: 
        0 12px 30px rgba(255, 130, 1, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Secondary Button - Glass Dark */
.hero-btn.secondary {
    background: rgba(26, 26, 26, 0.75);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-btn.secondary:hover {
    background: rgba(32, 32, 32, 0.85);
    border: 1px solid rgba(255, 130, 1, 0.2);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Light theme button adjustments */
[data-theme="light"] .hero-btn.secondary {
    background: rgba(26, 26, 26, 0.85);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero-btn.secondary:hover {
    background: rgba(32, 32, 32, 0.95);
    border: 1px solid rgba(255, 130, 1, 0.3);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* Hero Social */
.hero-social {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.875rem;
    color: var(--hero-text-muted);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--hero-card-bg);
    border: 1px solid var(--hero-card-border);
    border-radius: 12px;
    color: var(--hero-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--hero-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 130, 1, 0.3);
}

/* Light theme social links */
[data-theme="light"] .social-link {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 130, 1, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #1e293b;
}

[data-theme="light"] .social-link:hover {
    background: var(--hero-orange);
    border-color: var(--hero-orange);
    box-shadow: 0 8px 25px rgba(255, 130, 1, 0.4);
    color: white;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Cards */
.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Enhance skill cards with interactive glow effects */
.skill-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    width: 180px;
    min-height: 140px;
    transform-origin: center center;
    transform: perspective(800px) rotateX(0) rotateY(0) scale(1);
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
}

/* Card glow effect */
.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 130, 1, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
}

.skill-card:hover::after {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.ai-card {
    top: 5%;
    right: 25%;
    animation-delay: 0s;
}

.design-card {
    top: 45%;
    left: 15%;
    animation-delay: 0.4s;
}

.dev-card {
    bottom: 15%;
    right: 15%;
    animation-delay: 0.8s;
}

@keyframes cardFloat {
    0%, 100% { transform: perspective(800px) translateY(0px) rotateX(0) rotateY(0) scale(1); }
    33% { transform: perspective(800px) translateY(-15px) rotateX(2deg) rotateY(-2deg) scale(1.01); }
    66% { transform: perspective(800px) translateY(-7px) rotateX(-1deg) rotateY(1deg) scale(1); }
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-card .hero-card-icon {
    background: linear-gradient(135deg, #ff8201, #fb923c);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 130, 1, 0.3);
}

.design-card .hero-card-icon {
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.3);
}

.dev-card .hero-card-icon {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.skill-card:hover .hero-card-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 130, 1, 0.4);
}

.skill-card:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(5deg) scale(1.03);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 130, 1, 0.3);
    background: rgba(26, 26, 26, 0.85);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: 0;
    opacity: 0.2;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.skill-card:hover::before {
    opacity: 0.5;
}

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

.hero-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hero-text-primary);
    margin-bottom: 6px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-card-content p {
    font-size: 0.8rem;
    color: var(--hero-text-secondary);
    margin: 0;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1.4;
    opacity: 0.8;
}

.skill-card:hover .hero-card-content h4 {
    transform: translateY(-2px);
    color: var(--hero-orange);
}

.skill-card:hover .hero-card-content p {
    transform: translateY(-2px);
}

/* Availability Indicator */
.availability-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Light theme availability indicator */
[data-theme="light"] .availability-indicator {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 130, 1, 0.2);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(255, 130, 1, 0.1);
    color: #1e293b;
}

[data-theme="light"] .availability-indicator span {
    color: #64748b;
}

/* Dark theme availability indicator */
[data-theme="dark"] .availability-indicator {
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 130, 1, 0.2);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(255, 130, 1, 0.1);
}

[data-theme="dark"] .availability-indicator span {
    color: #94a3b8;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

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

.availability-indicator span {
    font-size: 0.75rem;
    color: var(--hero-text-secondary);
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    animation: subtleBounce 3s infinite;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-indicator:hover {
    opacity: 0.8;
    border-color: rgba(255, 130, 1, 0.3);
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--hero-text-muted);
    margin-bottom: 8px;
    font-weight: 400;
}

.scroll-arrow {
    color: var(--hero-orange);
}

/* Light theme scroll indicator */
[data-theme="light"] .scroll-text {
    color: #ffffff;
}

[data-theme="dark"] .scroll-text {
    color: #94a3b8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes subtleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    /* Modern text animation responsive */
    .dynamic-text-container::before {
        box-shadow: 
            0 0 8px var(--hero-orange),
            15px 3px 0 rgba(255, 130, 1, 0.3),
            -12px -6px 0 rgba(251, 146, 60, 0.3),
            22px -8px 0 rgba(255, 130, 1, 0.2),
            -18px 12px 0 rgba(251, 146, 60, 0.2);
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 36px;
    }
    
    .hero-stats {
        gap: 20px;
        margin-bottom: 36px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin-bottom: 36px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 40px;
    }
    
    /* Mobile text animation adjustments */
    .modern-text-animation {
        gap: 0.3rem;
    }
    
    .text-glow-effect {
        width: 100%;
        height: 100%;
    }
    
    .dynamic-text-container::before {
        display: none; /* Hide particles on mobile for performance */
    }
    
    .text-slide-item {
        font-size: inherit;
        transform: translateY(20px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .text-slide-item.entering {
        transform: translateY(18px) scale(0.94);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .text-slide-item.leaving {
        transform: translateY(-25px) scale(1.06);
        transition: all 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
    
    .skill-card {
        padding: 16px;
        width: 160px;
        min-height: 120px;
    }
    
    .hero-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-visual {
        height: 280px;
    }
    
    .skill-card {
        padding: 14px;
        width: 140px;
        min-height: 110px;
    }
    
    .hero-card-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Small mobile text animation adjustments */
    .modern-text-animation {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-start;
    }
    
    .static-text {
        margin-bottom: 0.2rem;
    }
    
    .text-slide-item {
        font-size: 0.9em;
        transform: translateY(15px) scale(0.96);
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .text-slide-item.entering {
        transform: translateY(12px) scale(0.95);
        transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .text-slide-item.leaving {
        transform: translateY(-18px) scale(1.04);
        transition: all 0.25s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
    
    .text-glow-effect {
        border-radius: 15px;
    }
}

/* Animation Delays for AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

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

/* Theme Transitions */
.modern-hero-section,
.hero-overlay,
.hero-title,
.hero-subtitle,
.hero-description,
.stat-label,
.hero-card-content h4,
.hero-card-content p,
.availability-indicator span,
.social-link,
.hero-btn.secondary {
    transition: all 0.3s ease;
}

/* Loading States */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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



 