/* Root Variables - Modern Professional Design */
:root {
    /* Primary Brand Colors */
    --primary-color: #1e293b;
    --secondary-color: #334155;
    --accent-color: #3b82f6;
    --accent-secondary: #8b5cf6;
    
    /* Success, Warning, Error Colors */
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;
    
    /* Complementary Colors */
    --primary-gold: #f59e0b;
    --blue-tech: #3b82f6;
    --emerald-accent: #10b981;
    --coral-accent: #f97316;
    --indigo-accent: #6366f1;
    --purple-accent: #8b5cf6;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --bg-muted: #e2e8f0;
    --gray-elegant: #f8fafc;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --dark-gray: #1e293b;
    --light-gray: #64748b;
    
    /* Modern Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-light: var(--shadow-md);
    --shadow-medium: var(--shadow-lg);
    --shadow-heavy: var(--shadow-xl);
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-indigo: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}



/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    font-feature-settings: 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--emerald-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--emerald-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}



.loading-container {
    text-align: center;
    max-width: 500px;
    padding: 40px;
}

.loading-logo {
    margin-bottom: 30px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: logoPulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo-circle i {
    font-size: 2rem;
    color: white;
    animation: logoRotate 3s linear infinite;
}

.loading-text {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.loading-text .letter {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: letterAppear 0.6s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.loading-text .letter.space {
    width: 20px;
}

.loading-text .letter:nth-child(1) { animation-delay: 0.1s; }
.loading-text .letter:nth-child(2) { animation-delay: 0.2s; }
.loading-text .letter:nth-child(3) { animation-delay: 0.3s; }
.loading-text .letter:nth-child(4) { animation-delay: 0.4s; }
.loading-text .letter:nth-child(5) { animation-delay: 0.5s; }
.loading-text .letter:nth-child(6) { animation-delay: 0.6s; }
.loading-text .letter:nth-child(7) { animation-delay: 0.7s; }
.loading-text .letter:nth-child(8) { animation-delay: 0.8s; }
.loading-text .letter:nth-child(9) { animation-delay: 0.9s; }
.loading-text .letter:nth-child(10) { animation-delay: 1.0s; }
.loading-text .letter:nth-child(11) { animation-delay: 1.1s; }
.loading-text .letter:nth-child(12) { animation-delay: 1.2s; }

.loading-subtitle {
    margin-bottom: 40px;
    opacity: 0;
    animation: subtitleAppear 0.8s ease-out 1.3s forwards;
}

.loading-subtitle span {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loading-progress {
    margin-bottom: 30px;
}

.progress-container {
    position: relative;
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    border-radius: 10px;
    animation: loadingProgress 3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.loading-percentage {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    animation: percentageCount 3s ease-in-out;
}

.loading-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.status-dots {
    display: flex;
    gap: 8px;
}

.status-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.status-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.status-dots .dot:nth-child(3) { animation-delay: 0.4s; }

.status-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    animation: statusFade 2s ease-in-out infinite;
}

/* Responsive Loading Screen */
@media (max-width: 768px) {
    .loading-container {
        padding: 20px;
        max-width: 90%;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .logo-circle i {
        font-size: 1.5rem;
    }
    
    .loading-text .letter {
        font-size: 1.8rem;
        gap: 4px;
    }
    
    .loading-subtitle span {
        font-size: 1rem;
    }
    
    .progress-container {
        width: 250px;
        height: 5px;
    }
    
    .loading-percentage {
        font-size: 0.8rem;
    }
    
    .status-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .loading-text .letter {
        font-size: 1.5rem;
        gap: 2px;
    }
    
    .loading-text .letter.space {
        width: 10px;
    }
    
    .progress-container {
        width: 200px;
    }
    
    .status-dots .dot {
        width: 6px;
        height: 6px;
    }
    
    .language-toggle {
        top: 75px;
        left: 10px;
    }
    

    

}

/* Language Toggle - Modern Design */
.language-toggle {
    position: fixed;
    top: 90px;
    left: 20px;
    z-index: 1000;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-full);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}





.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

/* Navigation - Professional Design */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    letter-spacing: -0.025em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: -2px;
    font-family: var(--font-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    letter-spacing: 0.025em;
    font-family: var(--font-primary);
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    transition: var(--transition-base);
    transform: translateX(-50%);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--coral-accent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-gold);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--emerald-accent);
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: var(--indigo-accent);
    top: 40%;
    right: 40%;
    animation-delay: 15s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-text {
    opacity: 0;
    animation: slideInLeft 1s ease 0.5s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 4rem, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInWord 0.8s ease forwards;
    opacity: 0;
    transform: translateY(100%);
}

.word:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    letter-spacing: 0.025em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-family: var(--font-primary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    letter-spacing: 0.025em;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    filter: brightness(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--gray-300);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-tertiary {
    background: transparent;
    color: var(--emerald-accent);
    border: 2px solid var(--emerald-accent);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-tertiary:hover {
    background: var(--emerald-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.hero-image {
    opacity: 0;
    animation: slideInRight 1s ease 0.7s forwards;
}

/* Additional Profile Card Enhancements */
.profile-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 
        0 20px 40px rgba(79, 70, 229, 0.1),
        0 10px 20px rgba(16, 185, 129, 0.1),
        0 0 0 1px rgba(79, 70, 229, 0.05);
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(79, 70, 229, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    z-index: 1;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(79, 70, 229, 0.15),
        0 15px 30px rgba(16, 185, 129, 0.15),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

/* Enhanced profile photo with glow effect */
.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gradient-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 3;
}

.profile-photo:hover {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 
        0 20px 40px rgba(79, 70, 229, 0.3),
        0 0 0 8px rgba(79, 70, 229, 0.1);
}

.profile-photo::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    transition: all 0.4s ease;
    filter: blur(10px);
}

.profile-photo:hover::before {
    opacity: 0.4;
    transform: scale(1.15);
    filter: blur(15px);
}

/* Skills Visualization - Animated orbiting skills */
.skills-visualization {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.skill-orbit {
    position: absolute;
    border: 2px solid var(--indigo-accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.skill-orbit:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.skill-orbit.orbit-2 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
    animation-direction: reverse;
}

.skill-orbit.orbit-3 {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
}

.skill-orbit.orbit-4 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 30s;
    animation-direction: reverse;
}

.skill-planet {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gradient-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: counter-rotate 20s linear infinite;
}

.orbit-2 .skill-planet {
    animation: counter-rotate 15s linear infinite;
    animation-direction: reverse;
}

.orbit-3 .skill-planet {
    animation: counter-rotate 25s linear infinite;
}

.orbit-4 .skill-planet {
    animation: counter-rotate 30s linear infinite;
    animation-direction: reverse;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes counter-rotate {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(-360deg);
    }
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-info {
    space-y: 15px;
}

/* Enhanced info items with better hover effects */
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(79, 70, 229, 0.1);
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.05), transparent);
    transition: left 0.6s ease;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(12px) translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: transparent;
}

.info-item i {
    color: var(--indigo-accent);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    z-index: 2;
}

.info-item:hover i {
    color: white;
    transform: scale(1.3) rotate(10deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light-gray);
    z-index: 2;
}

.scroll-mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--light-gray);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 2.5rem, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--gray-elegant);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-bottom: 3px solid var(--emerald-accent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-frame {
    width: 100%;
    height: 400px;
    background: var(--gradient-indigo);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    color: white;
}

.tech-icons i {
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    color: white;
}

.tech-icons i:hover {
    opacity: 1;
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-gold);
}

/* Experience Section */
.experience {
    background: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    top: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px white, 0 0 0 6px var(--blue-tech);
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--indigo-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.timeline-tasks {
    list-style: none;
}

.timeline-tasks li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--light-gray);
}

.timeline-tasks li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--indigo-accent);
    font-weight: bold;
}

/* Skills Section */
.skills {
    background: var(--gray-elegant);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-category {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.skill-category:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.category-header i {
    font-size: 2rem;
    color: var(--indigo-accent);
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.skill-item {
    margin-bottom: 25px;
}

.skill-name {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-emerald);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease;
}

/* Education Section */
.education {
    background: white;
}

.education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.education-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--gray-elegant);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.education-item:hover {
    background: white;
    box-shadow: var(--shadow-medium);
    transform: translateX(10px);
    border-left: 4px solid var(--emerald-accent);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 1.5rem;
    color: white;
}

.education-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.education-info h4 {
    font-size: 1rem;
    color: var(--indigo-accent);
    margin-bottom: 5px;
}

.education-date {
    font-size: 0.9rem;
    color: var(--light-gray);
    font-weight: 500;
}

.education-info p {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-top: 10px;
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 30px;
    text-align: center;
}

.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gray-elegant);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: var(--gradient-emerald);
    color: white;
    transform: translateX(10px);
}

.cert-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.cert-item:hover i {
    color: white;
}

/* Contact Section */
.contact {
    background: var(--gray-elegant);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-left: 4px solid var(--emerald-accent);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--light-gray);
}

.form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-elegant);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-input:focus {
    outline: none;
    border-color: var(--emerald-accent);
}

.form-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--light-gray);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--emerald-accent);
    background: white;
    padding: 0 5px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

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

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Projects Section */
.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    position: relative;
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(59, 130, 246, 0.2);
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.project-actions {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 45px;
    height: 45px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--emerald-accent);
    transform: scale(1.1);
}

.project-tech-stack {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--emerald-accent);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.project-description {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-features span {
    display: inline-block;
    background: var(--emerald-accent);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Services Section */
.services {
    background: var(--gray-elegant);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.service-description {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--light-gray);
    font-size: 0.9rem;
}

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

/* Languages Section */
.languages {
    background: white;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--gray-elegant);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-item:hover {
    background: white;
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-left: 4px solid var(--indigo-accent);
}

.language-flag {
    flex-shrink: 0;
}

.flag-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.flag-circle.morocco {
    background: linear-gradient(135deg, #d62d20 0%, #ffb930 100%);
}

.flag-circle.france {
    background: linear-gradient(135deg, #0055a4 0%, #ef4135 50%, #ffffff 100%);
}

.flag-circle.uk {
    background: linear-gradient(135deg, #012169 0%, #ffffff 50%, #c8102e 100%);
}

.flag-circle i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.language-info {
    flex: 1;
}

.language-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.language-level {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.language-progress {
    width: 100%;
    height: 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-emerald);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease;
}

/* Resume Download Section */
.resume-download {
    text-align: center;
    margin-top: 40px;
}

.download-card {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.download-icon {
    flex-shrink: 0;
    margin-right: 25px;
}

.download-icon i {
    font-size: 3rem;
    color: var(--primary-gold);
}

.download-content {
    flex: 1;
    text-align: left;
}

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

.download-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: var(--primary-gold);
    color: var(--dark-gray);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.download-btn:active {
    transform: scale(0.95);
}

.download-btn.downloading {
    background: var(--primary-gold);
    color: var(--dark-gray);
    pointer-events: none;
}

.download-btn.downloading i {
    animation: downloadSpin 1s linear infinite;
}

.download-btn i {
    font-size: 1.2rem;
}





/* Modern UI Enhancements */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
    transition: var(--transition-base);
}

.card-hover:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-blue);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Selection Colors */
::selection {
    background: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
}

/* Focus States */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Modern Card Design */
.modern-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    opacity: 0;
    transition: var(--transition-base);
}

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

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .download-icon {
        margin-right: 0;
    }
    
    .download-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .language-toggle {
        top: 80px;
        left: 15px;
    }
    

    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .education-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .language-item {
        flex-direction: column;
        text-align: center;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }
    
    .timeline-item::before {
        left: 10px !important;
        right: auto !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--gray-elegant);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-top: 4px solid var(--emerald-accent);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.testimonial-content .stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-content .stars i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-info span {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Enhanced status indicator */
.status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    z-index: 4;
}

.status-indicator:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--emerald-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-text {
    font-size: 0.8rem;
    color: var(--emerald-accent);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Enhanced badges */
.profile-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #fbbf24 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.badge::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.6s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.badge i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.badge:hover i {
    transform: rotate(15deg) scale(1.2);
}

.badge:nth-child(2) {
    background: linear-gradient(135deg, var(--indigo-accent) 0%, #8b5cf6 100%);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.badge:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

/* Enhanced avatar placeholder */
.avatar-placeholder {
    width: 130px;
    height: 130px;
    background: var(--gradient-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.avatar-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.avatar-placeholder i {
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.avatar-placeholder:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-gold);
}

/* Missing styles */
.profile-avatar {
    position: relative;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

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