/* styles.css - Enhanced styling for Adel Saad Almalaki's portfolio website */
/* Modern, professional design with 3D effects and bilingual support */

/* CSS Custom Properties (Variables) */
:root {
    /* Modern Color Palette - Purple & Orange Theme */
    --bg-primary: #faf7ff;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(139, 69, 255, 0.1);
    --text-primary: #2d1b69;
    --text-secondary: #5b4b8a;
    --text-muted: #8b7bb8;
    --border-primary: rgba(139, 69, 255, 0.2);
    --shadow-light: 0 4px 6px rgba(139, 69, 255, 0.1);
    --shadow-medium: 0 10px 25px rgba(139, 69, 255, 0.15);
    --shadow-heavy: 0 25px 50px rgba(139, 69, 255, 0.25);
    
    /* Vibrant Accent Colors */
    --accent-primary: #8b45ff;
    --accent-secondary: #ff6b35;
    --accent-tertiary: #ff1744;
    --accent-gradient: linear-gradient(135deg, #8b45ff 0%, #ff6b35 100%);
    --dark-gradient: linear-gradient(135deg, #2d1b69 0%, #5b4b8a 50%, #8b7bb8 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Video-like Animation Variables */
:root {
    --video-glow: 0 0 30px rgba(139, 69, 255, 0.6);
    --video-border: 3px solid rgba(139, 69, 255, 0.3);
    --play-button-size: 80px;
    --animation-speed: 2s;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all var(--transition-normal);
}

[dir="rtl"] body {
    font-family: var(--font-arabic);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.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;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.lang-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.theme-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.theme-icon {
    font-size: 1.25rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(79, 172, 254, 0.1) 0%, transparent 70%),
                radial-gradient(circle at 70% 60%, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: var(--spacing-xl);
}

.hero-name {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    border-right: 4px solid var(--accent-primary);
    white-space: nowrap;
    width: 0;
    max-width: 100%;
    letter-spacing: 0.05em;
    animation: typewriter-loop 8s infinite, blink-caret 0.75s step-end infinite;
    position: relative;
}

.hero-name::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    animation: pen-move-loop 8s infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typewriter-loop {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    75% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@keyframes pen-move-loop {
    0% {
        transform: translateX(0) scaleY(1);
        opacity: 1;
    }
    25% {
        transform: translateX(-2px) scaleY(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateX(0) scaleY(1);
        opacity: 1;
    }
    75% {
        transform: translateX(2px) scaleY(0.9);
        opacity: 0.9;
    }
    100% {
        transform: translateX(0) scaleY(1);
        opacity: 1;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--accent-primary);
    }
}

/* Add ink flow effect */
.hero-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 69, 255, 0.1) 50%, 
        transparent 100%
    );
    animation: ink-flow-loop 8s infinite ease-in-out;
    z-index: -1;
}

@keyframes ink-flow-loop {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    25% {
        opacity: 0.3;
    }
    50% {
        transform: translateX(100%);
        opacity: 0;
    }
    75% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.hero-role {
    display: block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-card-3d {
    position: relative;
    perspective: none;
    transform-style: none;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.crystal-bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.3), rgba(255, 107, 53, 0.2));
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: crystal-float 8s ease-in-out infinite;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 0 0 20px rgba(139, 69, 255, 0.2);
}

.crystal-bubble::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(3px);
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.bubble-3 {
    width: 30px;
    height: 30px;
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.bubble-4 {
    width: 45px;
    height: 45px;
    top: 30%;
    right: 25%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.bubble-5 {
    width: 35px;
    height: 35px;
    bottom: 15%;
    right: 10%;
    animation-delay: 8s;
    animation-duration: 13s;
}

@keyframes crystal-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg) scale(1.05);
        opacity: 0.85;
    }
}

.floating-shape {
    display: none;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.profile-container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    background: transparent;
    border: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    transition: all var(--transition-normal);
}

.profile-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--accent-gradient);
    border-radius: var(--radius-2xl);
    opacity: 0.1;
    z-index: -1;
    filter: blur(30px);
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

.profile-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(139, 69, 255, 0.05), transparent);
    border-radius: var(--radius-xl);
    z-index: -1;
    animation: rotate-gradient 8s linear infinite;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.1;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.2;
        transform: scale(1.05);
    }
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.profile-container:hover {
    transform: translateY(-5px);
}

.profile-container:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.profile-image {
    width: 400px;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all var(--transition-slow);
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: none;
}

.profile-glow {
    display: none;
}

@keyframes glow {
    from {
        opacity: 0.2;
        transform: scale(0.95);
    }
    to {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
    padding: var(--spacing-2xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: start;
    min-height: 60vh;
    padding-top: var(--spacing-xl);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    min-height: 400px;
    padding-top: var(--spacing-lg);
}

.about-image-3d {
    position: relative;
    perspective: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
}

.about-img {
    width: auto;
    height: auto;
    max-width: 450px;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transition: all var(--transition-slow);
    border: none;
    backdrop-filter: none;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: none;
}

.image-overlay {
    display: none;
}

.about-image-3d:hover .image-overlay {
    opacity: 0.1;
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.skill-card-3d {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.skill-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
}

.skill-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.skill-level {
    margin: var(--spacing-lg) 0;
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
}

.skill-bar {
    height: 8px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 0;
}

.skill-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Achievements Section */
.achievements {
    background: var(--bg-secondary);
    position: relative;
}

.achievements-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.stat-card-3d {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.stat-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
}

.achievement-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-primary);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
}

.achievement-content {
    flex: 1;
}

.achievement-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.achievement-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.goals-section {
    margin-top: var(--spacing-4xl);
}

.goals-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-primary);
    font-weight: 800;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.goal-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.goal-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
}

.goal-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.goal-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
}

.service-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.service-description {
    color: var(--text-secondary);
}

/* Video-like Display Elements */
.video-showcase {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--video-glow);
    border: var(--video-border);
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.video-preview {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #8b45ff 0%, #ff6b35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-slow);
    overflow: hidden;
}

@media (max-width: 1024px) {
    .video-preview {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .video-preview {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .video-preview {
        height: 250px;
    }
}

@media (max-width: 320px) {
    .video-preview {
        height: 200px;
    }
}

.video-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.video-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(139, 69, 255, 0.4);
}

.play-button {
    position: relative;
    z-index: 2;
    width: var(--play-button-size);
    height: var(--play-button-size);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    animation: pulse var(--animation-speed) infinite;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid var(--accent-primary);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(139, 69, 255, 0.3);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(139, 69, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(139, 69, 255, 0);
    }
}

.video-info {
    padding: var(--spacing-2xl);
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
}

.video-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.video-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
}

.video-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 30%;
    animation-delay: 3s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 50%;
    animation-delay: 6s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 70%;
    animation-delay: 9s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-delay: 12s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20%, 80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Video Showcase Section (replaces portfolio) */

/* Testimonials */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: var(--spacing-4xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--transition-slow);
    position: absolute;
    width: 100%;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.author-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.author-title {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Contact */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-subtitle {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-primary);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.contact-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.contact-link {
    color: var(--accent-primary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    color: white;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f 0%, #f77737 50%, #fccc63 100%);
}

.social-link.snapchat {
    background: #fffc00;
    color: black;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.form-input {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.15);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    color: var(--accent-tertiary);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    position: relative;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-gradient);
    border-color: var(--accent-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.btn-submit {
    width: 100%;
    margin-top: var(--spacing-lg);
}

/* Footer */
.footer {
    background: var(--dark-gradient);
    color: white;
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.footer-name {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.footer-title {
    color: #b8c5d6;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-link {
    color: #b8c5d6;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(79, 172, 254, 0.2);
}

.footer-copyright {
    color: #8892a8;
    margin: 0;
    font-size: 0.95rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-heavy);
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1);
}

.modal-body {
    padding: var(--spacing-4xl);
}

.modal-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.modal-image {
    margin-bottom: var(--spacing-lg);
}

.modal-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.success-modal .modal-body {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-xl);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    .section { padding: var(--spacing-3xl) 0; }
    .skills-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    .hero-content, .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    .about-content {
        min-height: auto;
    }
    .about-image {
        min-height: 400px;
        order: -1;
    }
    .profile-image {
        width: 350px;
        height: auto;
        max-height: 450px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-name {
        font-size: 3.5rem;
    }
    .video-container {
        height: 350px;
    }
    .play-button {
        width: 70px;
        height: 70px;
    }
    .video-stats {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-heavy);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-normal);
        border-bottom: 1px solid var(--border-primary);
        backdrop-filter: blur(20px);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .skills-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .goals-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    .hero-name {
        font-size: 3rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .section {
        padding: var(--spacing-2xl) 0;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .profile-image {
        width: 300px;
        max-height: 380px;
    }
    .profile-container {
        padding: var(--spacing-md);
    }
    .profile-container::before {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }
    .about-img {
        max-width: 380px;
        max-height: 480px;
    }
    .video-container {
        height: 300px;
    }
    .play-button {
        width: 60px;
        height: 60px;
    }
    .play-button::before {
        border-left: 20px solid var(--accent-primary);
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }
    .video-stats {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    .video-stat {
        min-width: 120px;
    }
    .contact-content {
        gap: var(--spacing-xl);
    }
    .social-links {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    .modal-content {
        width: 95%;
        margin: var(--spacing-md);
    }
    .profile-image {
        width: 280px;
        max-height: 350px;
    }
    .profile-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm);
    }
    .profile-container::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        filter: blur(20px);
    }
    .about-img {
        max-width: 320px;
        max-height: 400px;
    }
    .about-image-3d {
        padding: 0;
    }
    .about-image {
        min-height: 350px;
    }
    .hero-name {
        font-size: 2.2rem;
        letter-spacing: 0.02em;
    }
    .hero-role {
        font-size: 1.1rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    .section {
        padding: var(--spacing-xl) 0;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .video-container {
        height: 250px;
    }
    .play-button {
        width: 50px;
        height: 50px;
    }
    .play-button::before {
        border-left: 15px solid var(--accent-primary);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        margin-left: 3px;
    }
    .video-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    .video-stat {
        text-align: center;
    }
    .stat-value {
        font-size: 1.25rem;
    }
    .skill-card-3d, .service-card, .goal-card {
        padding: var(--spacing-lg);
    }
    .achievement-item {
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    .contact-form {
        padding: var(--spacing-lg);
    }
    .form-input {
        padding: var(--spacing-md);
    }
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .hero-name {
        font-size: 1.8rem;
        letter-spacing: 0.01em;
    }
    .hero-role {
        font-size: 1rem;
    }
    .profile-image {
        width: 250px;
        max-height: 300px;
    }
    .video-container {
        height: 200px;
    }
    .play-button {
        width: 40px;
        height: 40px;
    }
    .play-button::before {
        border-left: 12px solid var(--accent-primary);
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        margin-left: 2px;
    }
    h2 { font-size: 1.5rem; }
    .section-title {
        margin-bottom: var(--spacing-xl);
    }
}

/* Large tablets and small desktops */
@media (max-width: 900px) {
    .achievements-list {
        gap: var(--spacing-lg);
    }
    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    .testimonial-card {
        padding: var(--spacing-xl);
    }
    .carousel-controls {
        margin-top: var(--spacing-lg);
    }
}

/* Landscape phone orientation */
@media (max-width: 640px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    .profile-image {
        width: 250px;
        max-height: 300px;
    }
    .hero-name {
        font-size: 2rem;
    }
    .section {
        padding: var(--spacing-lg) 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        min-width: 48px;
    }
    .social-link {
        min-width: 48px;
        min-height: 48px;
    }
    .carousel-btn {
        min-width: 48px;
        min-height: 48px;
    }
    .nav-link {
        padding: var(--spacing-md) 0;
    }
    .lang-btn {
        min-height: 40px;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
}
[dir="rtl"] .nav-link::after {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

[dir="rtl"] .section-title::after {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item:hover {
    transform: translateX(-10px);
}

[dir="rtl"] .achievement-item:hover {
    transform: translateX(-10px);
}

[dir="rtl"] .checkbox-label {
    flex-direction: row-reverse;
}

[dir="rtl"] .modal-close {
    right: auto;
    left: var(--spacing-lg);
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .floating-shape {
        animation-duration: 8s;
    }
    .crystal-bubble {
        animation-duration: 15s;
    }
    .bubble-1, .bubble-2 {
        width: 40px;
        height: 40px;
    }
    .bubble-3, .bubble-4, .bubble-5 {
        width: 25px;
        height: 25px;
    }
    .about-image {
        min-height: 300px;
        padding-top: var(--spacing-md);
    }
    .particle {
        animation-duration: 20s;
    }
    .profile-glow {
        display: none;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero-name {
        animation: none;
        width: 100%;
        border-right: none;
    }
    .hero-name::after,
    .hero-name::before {
        display: none;
    }
    .floating-shape,
    .particle {
        animation: none;
    }
    .profile-glow {
        display: none;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Disable heavy animations on very small screens for performance */
@media (max-width: 480px) {
    .floating-shape {
        display: none;
    }
    .crystal-bubble {
        width: 20px;
        height: 20px;
        animation-duration: 20s;
    }
    .about-image {
        min-height: 250px;
        padding-top: var(--spacing-sm);
    }
    .skill-card-3d:hover,
    .stat-card-3d:hover,
    .goal-card:hover {
        transform: translateY(-5px);
    }
    .about-img:hover {
        transform: scale(1.02);
    }
}

/* Optimize for high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-image,
    .about-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .header,
    .floating-elements,
    .video-container,
    .floating-particles {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .section {
        page-break-inside: avoid;
    }
    .hero-name {
        animation: none;
        width: 100%;
        border-right: none;
        color: black !important;
    }
}

/* Ultra-wide screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    .hero-name {
        font-size: 5rem;
    }
    .profile-image {
        width: 450px;
        max-height: 550px;
    }
    .video-preview {
        height: 500px;
    }
    .play-button {
        width: 100px;
        height: 100px;
    }
    .play-button::before {
        border-left: 35px solid var(--accent-primary);
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        margin-left: 8px;
    }
}