/* Reset et base ultra-moderne */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1A0B2E 0%, #16213E 50%, #0F3460 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Support RTL pour l'arabe */
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

/* Particles Background - Animation supprimée */
.particles-container {
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(247, 147, 30, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 210, 63, 0.1) 0%, transparent 50%);
}

/* Animations ultra-modernes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.8), 0 0 60px rgba(247, 147, 30, 0.4); }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.8), 0 0 60px rgba(247, 147, 30, 0.4); }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Navigation ultra-moderne */
.glass-nav {
    background: rgba(26, 11, 46, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.glass-nav:hover {
    background: rgba(26, 11, 46, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.4);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    transition: width 0.3s ease;
}

[dir="rtl"] .nav-underline {
    right: 0;
    left: auto;
}

.nav-link:hover .nav-underline {
    width: 100%;
}

/* Hamburger moderne */
.hamburger-modern {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-line:nth-child(1) { top: 0px; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { top: 18px; }

/* Language Selector Amélioré */
.language-selector {
    position: relative;
}

.language-selector button {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.language-selector button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.language-selector .dropdown {
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.language-selector .dropdown a {
    transition: all 0.2s ease;
}

.language-selector .dropdown a:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

[dir="rtl"] .language-selector .dropdown a:hover {
    transform: translateX(-5px);
}

.language-selector img {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.language-selector img:hover {
    border-color: rgba(255, 107, 53, 0.5);
    transform: scale(1.1);
}

/* Mobile menu language links */
.glass-overlay {
    background: rgba(26, 11, 46, 0.95);
    backdrop-filter: blur(25px);
}

/* Text gradients */
.text-gradient {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #FF6B35, #FFD23F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section - Animation supprimée */
.hero-bg {
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(247, 147, 30, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 210, 63, 0.1) 0%, transparent 70%);
}

/* Images - Toujours visibles */
img {
    opacity: 1 !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Profile image simple (sans rotation) */
.profile-container-simple {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.profile-image-simple {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(255, 107, 53, 0.3);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.profile-image-simple:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    transform: scale(1.05);
}

/* Typewriter effect */
.typewriter-text {
    border-right: 3px solid #FF6B35;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #FF6B35; }
}

/* Statistiques modernes */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Boutons CTA ultra-modernes */
.cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.5);
}

.cta-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FF6B35, #F7931E, #FFD23F);
    border-radius: 50px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover .cta-glow {
    opacity: 0.7;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.4s ease;
}

.cta-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.6);
    transform: translateY(-3px);
}

/* Scroll indicator moderne */
.scroll-indicator-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.scroll-wheel {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 25px;
    position: relative;
    margin-bottom: 10px;
}

.scroll-wheel::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #FF6B35;
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator-modern:hover {
    color: #FF6B35;
}

/* Section divider */
.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #F7931E, #FFD23F);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #FF6B35, #F7931E, #FFD23F);
    border-radius: 4px;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

/* Timeline moderne */
.timeline-modern {
    position: relative;
    padding-left: 2rem;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #FF6B35, #F7931E, #FFD23F);
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-icon {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.timeline-date {
    color: #FF6B35;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Skills cards modernes */
.skill-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-card-modern:hover::before {
    left: 100%;
}

.skill-card-modern:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.skill-card-modern:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-card-modern h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-card-modern p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Projects grid ultra-moderne */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card-ultra {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.project-card-ultra::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card-ultra:hover::before {
    opacity: 1;
}

.project-card-ultra:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.25);
}

.project-header-modern {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-cover-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-cover-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-ultra:hover .project-cover-modern {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-ultra:hover .project-overlay {
    opacity: 1;
}

.project-date-badge {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-profile-modern {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
    z-index: 10;
    transition: transform 0.3s ease;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .project-profile-modern {
    right: auto;
    left: 2rem;
}

.project-card-ultra:hover .project-profile-modern {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.profile-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.project-content-modern {
    padding: 2rem;
    position: relative;
    z-index: 2;
    padding-right: 7rem;
}

[dir="rtl"] .project-content-modern {
    padding-right: 2rem;
    padding-left: 7rem;
}

.project-title-modern {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-card-ultra:hover .project-title-modern {
    color: #FF6B35;
}

.project-description-modern {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag-modern {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.tag-modern:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

.project-social-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.social-link-modern:hover {
    color: white;
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.social-link-modern.facebook:hover {
    color: #1877f2;
}

.social-link-modern.instagram:hover {
    color: #e4405f;
}

/* Contact section moderne */
.contact-card-modern {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-glow-1 {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.contact-glow-2 {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-social {
    margin-top: 2rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Form styles modernes */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input-container {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 107, 53, 0.7);
    transition: color 0.3s ease;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 1rem 1rem 1rem 3rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.form-input:focus + .form-input-icon {
    color: #FF6B35;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.submit-btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FF6B35, #F7931E, #FFD23F);
    border-radius: 17px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn:hover .submit-btn-glow {
    opacity: 0.7;
}

/* Footer moderne */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
    filter: blur(2px);
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card-ultra {
        margin: 0 1rem;
    }
    
    .hero-bg {
        padding: 0 1rem;
    }
    
    .profile-container {
        width: 150px;
        height: 150px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-modern {
        padding-left: 1rem;
    }
    
    .timeline-item-modern {
        padding-left: 2rem;
    }
    
    .timeline-icon {
        left: -2rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-card-modern {
        padding: 2rem;
    }
    
    .form-input {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-6xl {
        font-size: 2.5rem;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-content-modern {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .skill-card-modern {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}