:root {
    --primary-color: #9333ea;
    --primary-dark: #7c3aed;
    --primary-light: #a855f7;
    --secondary-color: #4c1d95;
    --accent-color: #e9d5ff;
    --text-color: #e5e7eb;
    --text-light: #9ca3af;
    --bg-color: #0f0f0f;
    --card-bg: #1a1a1a;
    --border-color: #2d2d2d;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}


/* Light Theme Variables - Professional & Clean */
body.light-theme {
    --text-color: #1a202c;
    --text-light: #4a5568;
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(147, 51, 234, 0.15);
}

/* ============================================
   LIGHT THEME - BACKGROUND & CANVAS
   ============================================ */
body.light-theme .ai-background {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

body.light-theme #neural-network {
    opacity: 0.05;
    filter: invert(1);
}

body.light-theme .ai-icon-float {
    opacity: 0.04;
    color: var(--primary-color);
}

body.light-theme .binary-rain {
    opacity: 0.03;
}

body.light-theme .orb-1,
body.light-theme .orb-2 {
    opacity: 0.05;
}

body.light-theme .ai-particles,
body.light-theme .data-flow {
    opacity: 0.3;
}

/* ============================================
   LIGHT THEME - NAVBAR
   ============================================ */
body.light-theme .navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-theme .nav-link {
    color: var(--text-color);
}

body.light-theme .nav-link:hover {
    color: white;
}

body.light-theme .theme-toggle {
    color: var(--text-color);
}

body.light-theme .hamburger .bar {
    background-color: var(--text-color);
}

/* ============================================
   LIGHT THEME - HERO SECTION
   ============================================ */
body.light-theme .hero-subtitle {
    color: var(--text-light);
}

body.light-theme .image-container {
    box-shadow: 0 0 0 15px rgba(147, 51, 234, 0.08);
}

/* ============================================
   LIGHT THEME - SECTIONS BACKGROUNDS
   ============================================ */
body.light-theme .about,
body.light-theme .education-section,
body.light-theme .experience-section,
body.light-theme .contact {
    background-color: rgba(255, 255, 255, 0.6);
}

body.light-theme .skills-section-unified,
body.light-theme .projects-simple {
    background-color: transparent;
}

body.light-theme .about::before,
body.light-theme .contact::before,
body.light-theme .contact::after {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.02), transparent);
}

/* ============================================
   LIGHT THEME - CARDS (All Types)
   ============================================ */
body.light-theme .education-card-new,
body.light-theme .skill-category-unified,
body.light-theme .experience-details,
body.light-theme .project-card-simple,
body.light-theme .stat-box-unified {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .education-card-new:hover,
body.light-theme .skill-category-unified:hover,
body.light-theme .experience-details:hover,
body.light-theme .project-card-simple:hover,
body.light-theme .stat-box-unified:hover {
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
}

/* ============================================
   LIGHT THEME - EDUCATION SECTION
   ============================================ */
body.light-theme .education-icon-new {
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
}

body.light-theme .education-place {
    color: var(--primary-color);
}

body.light-theme .education-description {
    color: var(--text-light);
}

body.light-theme .education-date {
    background: rgba(147, 51, 234, 0.08);
    color: var(--text-light);
}

body.light-theme .skill-mini {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
}

body.light-theme .skill-mini:hover {
    background: rgba(147, 51, 234, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   LIGHT THEME - SKILLS SECTION
   ============================================ */
body.light-theme .category-header-unified i {
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
}

body.light-theme .skill-badge-unified {
    background: #f7fafc;
    border: 1.5px solid #e2e8f0;
    color: var(--text-color);
}

body.light-theme .skill-badge-unified:hover {
    background: rgba(147, 51, 234, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   LIGHT THEME - EXPERIENCE SECTION
   ============================================ */
body.light-theme .experience-timeline::before {
    background: linear-gradient(180deg, 
        rgba(147, 51, 234, 0.3), 
        rgba(168, 85, 247, 0.3), 
        rgba(147, 51, 234, 0.3)
    );
}

body.light-theme .experience-item::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.15);
}

body.light-theme .experience-date {
    color: var(--primary-color);
}

body.light-theme .experience-company {
    color: var(--primary-color);
}

body.light-theme .experience-desc {
    color: var(--text-light);
}

/* ============================================
   LIGHT THEME - PROJECTS SECTION
   ============================================ */
body.light-theme .project-title-simple {
    color: var(--text-color);
}

body.light-theme .project-description-simple {
    color: var(--text-light);
}

body.light-theme .tech-tag-simple {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
}

body.light-theme .tech-tag-simple:hover {
    background: rgba(147, 51, 234, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

body.light-theme .view-all-btn-simple {
    color: var(--text-color);
    border: 2px solid rgba(147, 51, 234, 0.3);
}

body.light-theme .view-all-btn-simple:hover {
    color: white;
    border-color: var(--primary-color);
}

/* ============================================
   LIGHT THEME - CONTACT SECTION
   ============================================ */
body.light-theme .contact-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .contact-wrapper:hover {
    box-shadow: 0 15px 50px rgba(147, 51, 234, 0.2);
}

body.light-theme .contact-info h3 {
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .contact-info p {
    color: var(--text-light);
}

body.light-theme .contact-item,
body.light-theme .contact-item-new,
body.light-theme .contact-social-new {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
}

body.light-theme .contact-item:hover,
body.light-theme .contact-item-new:hover,
body.light-theme .contact-social-new:hover {
    background: #ffffff;
    border-color: rgba(147, 51, 234, 0.3);
}

body.light-theme .contact-icon,
body.light-theme .contact-icon-new {
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
}

body.light-theme .contact-item:hover .contact-icon,
body.light-theme .contact-item-new:hover .contact-icon-new {
    background: var(--primary-color);
    color: white;
}

body.light-theme .contact-text h4,
body.light-theme .contact-text-new h4 {
    color: var(--text-light);
}

body.light-theme .contact-text p,
body.light-theme .contact-text a,
body.light-theme .contact-text-new p,
body.light-theme .contact-text-new a {
    color: var(--text-color);
}

body.light-theme .social-link-new {
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
}

body.light-theme .social-link-new:hover {
    border-color: var(--primary-color);
}

/* ============================================
   LIGHT THEME - FORMS
   ============================================ */
body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-color);
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
    color: #a0aec0;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
}

/* ============================================
   LIGHT THEME - RESUME SECTION
   ============================================ */
body.light-theme .resume-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .resume-content:hover {
    box-shadow: 0 15px 50px rgba(147, 51, 234, 0.2);
}

body.light-theme .resume-text h3 {
    color: var(--text-color);
}

body.light-theme .resume-text p {
    color: var(--text-light);
}

/* ============================================
   LIGHT THEME - FOOTER
   ============================================ */
body.light-theme .footer {
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.95), rgba(237, 242, 247, 1));
    border-top: 1px solid rgba(147, 51, 234, 0.15);
}

body.light-theme .footer-content p {
    color: var(--text-light);
}

/* ============================================
   LIGHT THEME - BACK TO TOP
   ============================================ */
body.light-theme .back-to-top {
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

body.light-theme .back-to-top:hover {
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
}

/* ============================================
   LIGHT THEME - DIVIDER & BORDERS
   ============================================ */
body.light-theme .divider {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

body.light-theme .category-header-unified {
    border-bottom-color: rgba(147, 51, 234, 0.15);
}

body.light-theme .skills-stats-unified {
    border-top-color: rgba(147, 51, 234, 0.15);
}

/* ============================================
   LIGHT THEME - TEXT COLORS
   ============================================ */
body.light-theme .section-title {
    color: var(--text-color);
}

body.light-theme .section-subtitle,
body.light-theme .section-subtitle-simple {
    color: var(--text-light);
}

body.light-theme .category-header-unified h3,
body.light-theme .education-info h3,
body.light-theme .experience-details h3 {
    color: var(--text-color);
}

/* ============================================
   LIGHT THEME - STAT LABELS
   ============================================ */
body.light-theme .stat-label-unified {
    color: var(--text-light);
}

/* ============================================
   LIGHT THEME - MOBILE MENU
   ============================================ */
@media (max-width: 768px) {
    body.light-theme .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.08);
    }
}


/* ============================================
   LIGHT THEME - ABOUT ILLUSTRATION
   ============================================ */
body.light-theme .about-illustration {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-theme .about-illustration:hover {
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* AI Background */
.ai-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.15) 0%, rgba(15, 15, 15, 0.95) 70%);
}

#neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-color);
    opacity: 0.1;
}

.binary-rain::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(147, 51, 234, 0.1) 2px,
        rgba(147, 51, 234, 0.1) 4px
    );
    animation: binaryFall 20s linear infinite;
}

@keyframes binaryFall {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.data-stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: dataFlow 8s linear infinite;
}

@keyframes dataFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* AI Icons Floating Animation */
.ai-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-icon-float {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.15;
    animation: iconFloat 20s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translateY(-30px) rotate(5deg) scale(1.1);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-60px) rotate(-5deg) scale(1.05);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) rotate(3deg) scale(1.15);
        opacity: 0.25;
    }
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    transition: all 0.3s ease;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background-color: var(--primary-color);
    top: 10%;
    left: 10%;
    opacity: 0.2;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background-color: var(--primary-dark);
    bottom: 10%;
    right: 10%;
    opacity: 0.2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 15, 15, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s ease;
}

/* Navbar Brand - Hidden initially */
.navbar-brand {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10;
}

.brand-name {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.brand-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.brand-name:hover .brand-text::after {
    width: 100%;
}

/* Navbar Scrolled State */
.navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.25);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .container {
    justify-content: space-between;
}

.navbar.scrolled .navbar-brand {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.navbar.scrolled .nav-menu {
    margin-left: auto;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 5;
}

.nav-item {
    position: relative;
    overflow: hidden;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    z-index: -2;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.nav-link:hover {
    color: white;
    transform: translateY(-3px);
}

.nav-link:hover::before {
    transform: translateY(0);
}

.nav-link:hover::after {
    transform: translateY(0);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(147, 51, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0);
    }
}

.nav-link.active {
    color: white;
}

.nav-link.active::before {
    transform: translateY(0);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    padding: 8px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.theme-toggle:hover::before {
    width: 40px;
    height: 40px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Light Theme Navbar */
body.light-theme .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: center;
    }
    
    .navbar.scrolled .container {
        justify-content: space-between;
    }
    
    .navbar-brand {
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
    }
    
    .navbar.scrolled .navbar-brand {
        left: 20px;
        transform: translateY(-50%) translateX(0);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    body.light-theme .nav-menu {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.08);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-image {
    flex: 1;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 15px rgba(147, 51, 234, 0.1);
    opacity: 0;
    transform: translateX(-100px);
}

/* Animation للظهور من الجنب */
.image-container.slide-in {
    animation: slideInFromLeft 1.2s ease-out forwards;
}

/* Animation للطفو - يشتغل بعد الـ slide */
.image-container.float-active {
    animation: float 6s ease-in-out infinite;
    opacity: 1; /* مهم جداً! */
    transform: translateX(0); /* مهم جداً! */
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(0) translateY(-20px);
    }
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(76, 29, 149, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}



.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.greeting-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.name-text {
    display: block;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.text-gradient::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), transparent);
    border-radius: 2px;
    animation: lineExpand 2s ease-out forwards;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes lineExpand {
    0% {
        width: 0%;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-color);
    }
}

.typing-effect.typed {
    border-right: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 0 auto;
    border-radius: 2px;
}
/* About Section */
/* About Section - Image/Illustration Part */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-illustration {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.6);
    border-radius: 20px;
    border: 2px solid rgba(147, 51, 234, 0.2);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.about-illustration:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.3);
    border-color: var(--primary-color);
}

.about-illustration svg {
    width: 100%;
    height: auto;
}

/* Light Theme - About Illustration */
body.light-theme .about-illustration {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-theme .about-illustration:hover {
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
}


/* Responsive adjustments for the illustration */
@media (max-width: 992px) {
    .about-illustration {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .about-image {
        margin-bottom: 2rem;
    }
    
    .about-illustration {
        max-width: 300px;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-illustration {
        max-width: 250px;
        padding: 1rem;
    }
}


.about {
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), transparent);
    pointer-events: none;
}

.about-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.skills-container {
    flex: 1;
}

.skills-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background-color: rgba(15, 15, 15, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 51, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
    border-color: var(--primary-color);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.skill-item h4 {
    margin-bottom: 0.5rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: skillShine 2s infinite;
}

@keyframes skillShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.timeline {
    margin-top: 4rem;
    position: relative;
}

.timeline-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light), var(--primary-color));
    animation: timelineGlow 3s ease-in-out infinite;
}

@keyframes timelineGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.8);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.2);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(147, 51, 234, 0);
    }
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background-color: rgba(15, 15, 15, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
    border-color: var(--primary-color);
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Projects Section */
.projects {
    position: relative;
    background-color: transparent;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: -1;
}

.filter-btn.active,
.filter-btn:hover {
    color: white;
    border-color: var(--primary-color);
}

.filter-btn.active::before,
.filter-btn:hover::before {
    width: 100%;
    height: 100%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 51, 234, 0.1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.4);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link,
.project-github {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-link::before,
.project-github::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.project-link:hover::before,
.project-github:hover::before {
    width: 100%;
    height: 100%;
}

.project-link:hover,
.project-github:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 5px 10px;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-light);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: rgba(147, 51, 234, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), transparent);
    pointer-events: none;
}

.contact-content {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(15, 15, 15, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-text h4 {
    margin-bottom: 0.2rem;
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    color: white;
    transform: translateY(-3px);
}

.social-link:hover::before {
    opacity: 1;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(147, 51, 234, 0.1);
    border-radius: 10px;
    color: var(--text-color);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-status {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-status.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

/* Footer - Centered Simple Design */
.footer {
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.95), rgba(10, 10, 10, 1));
    border-top: 1px solid rgba(147, 51, 234, 0.15);
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-content p:hover {
    color: var(--primary-light);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
        justify-content: center;
    }
    
    .footer-download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.back-to-top:hover::before {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .image-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .projects-filter {
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }
}


/* أضف هذا الكود في نهاية ملف styles.css */

/* Hero Title - Static with animated underline */
.text-gradient-static {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 2.8rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.text-gradient-static::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    animation: underlineSlide 3s ease-in-out infinite;
}

@keyframes underlineSlide {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateX(0%);
    }
}

/* New Professional Buttons */
.btn-primary-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: white;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-primary-new::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;
}

.btn-primary-new:hover::before {
    left: 100%;
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-new i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary-new:hover i {
    transform: translateX(5px);
}

/* Hero Buttons Container - Better Alignment */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

/* Responsive adjustments for hero buttons */
@media (max-width: 768px) {
    .text-gradient-static {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-primary-new {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .text-gradient-static {
        font-size: 1.6rem;
    }
}



/* Hero Title - Smaller and on one line */
.hero-title-small {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* Animated Gradient Text with underline */
.text-gradient-animated {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease infinite;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

/* Gradient animation */
@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Underline that appears once */
/* Underline that appears once */
.text-gradient-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    opacity: 0;
}

/* Class to trigger underline animation */
.text-gradient-animated.show-underline::after {
    animation: underlineExpand 2s ease-out forwards;
}

@keyframes underlineExpand {
    0% {
        width: 0%;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Simple Professional Buttons */
.btn-simple {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated background on hover */
.btn-simple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-simple:hover::before {
    width: 300px;
    height: 300px;
}

.btn-simple:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

/* Text slide animation */
.btn-simple span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-simple:hover span {
    transform: scale(1.05);
}

/* Buttons container */
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-small {
        font-size: 1.5rem;
        white-space: normal;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-simple {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title-small {
        font-size: 1.3rem;
    }
}




/* ============================================
   EDUCATION & TRAINING SECTION - Animation: Flip
   ============================================ */
.education-section {
    background-color: transparent;
    position: relative;
    padding: 80px 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.education-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.education-card:hover::before {
    left: 100%;
}

.education-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
    border-color: var(--primary-color);
}

.education-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
    transition: all 0.3s ease;
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
}

.education-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.education-org {
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.education-year {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   SKILLS SECTION - Animation: Zoom In
   ============================================ */
.skills-section {
    background-color: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    padding: 80px 0;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), transparent);
    pointer-events: none;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.skill-category:hover::before {
    width: 300px;
    height: 300px;
}

.skill-category:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
    border-color: var(--primary-color);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.skill-category h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(147, 51, 234, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

/* ============================================
   EXPERIENCE SECTION - Animation: Slide Right
   ============================================ */
.experience-section {
    background-color: transparent;
    position: relative;
    padding: 80px 0;
}

.experience-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light), var(--primary-color));
    animation: timelineGlow 3s ease-in-out infinite;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 2rem;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.2);
    animation: dotPulse 2s ease-in-out infinite;
    z-index: 2;
}

.experience-date {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 0.5rem;
}

.experience-details {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.8rem;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.experience-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.05), transparent);
    transition: left 0.8s ease;
}

.experience-item:hover .experience-details::before {
    left: 100%;
}

.experience-details:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
    border-color: var(--primary-color);
}

.experience-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.experience-company {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.experience-desc {
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .experience-date {
        padding-top: 0;
    }
    
    .experience-timeline::before {
        left: 10px;
    }
    
    .experience-item::before {
        left: 2px;
    }
    
    .experience-item {
        padding-left: 2.5rem;
    }
}


/* ============================================
   EDUCATION SECTION - LARGER CARD DESIGN (FIXED SKILLS VISIBILITY)
   ============================================ */
.education-section {
    background-color: transparent;
    position: relative;
    padding: 80px 0;
}

.education-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.education-card-new {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 260px; /* Keeping the same height */
    display: flex;
    flex-direction: column;
}

.education-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.education-card-new:hover::before {
    transform: scaleY(1);
}

.education-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
    border-color: var(--primary-color);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem; /* Reduced margin */
    flex-shrink: 0;
}

.education-icon-new {
    width: 50px;
    height: 50px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.education-card-new:hover .education-icon-new {
    background: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

.education-info {
    flex: 1;
    min-width: 0;
}

.education-info h3 {
    font-size: 1.1rem; /* Reduced from 1.25rem */
    margin-bottom: 0.3rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600; /* Added for better readability */
}

.education-place {
    color: var(--primary-light);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.education-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem; /* Reduced margin */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.education-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: auto;
    flex-shrink: 0;
    gap: 1rem;
}

.education-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 15px;
    flex-shrink: 0;
    align-self: flex-start;
}

.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Increased gap for better spacing */
    flex: 1;
    justify-content: flex-end;
    align-content: flex-start;
    min-width: 0;
}

.skill-mini {
    padding: 0.25rem 0.6rem; /* Slightly reduced padding */
    background: rgba(147, 51, 234, 0.05);
    color: var(--primary-light);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.skill-mini:hover {
    background: rgba(147, 51, 234, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .education-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 992px) {
    .education-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 1.5rem;
    }
    
    .education-card-new {
        height: 240px;
        padding: 1.8rem;
    }
    
    .education-info h3 {
        font-size: 1.05rem; /* Slightly smaller on medium screens */
    }
}

@media (max-width: 768px) {
    .education-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.2rem;
    }
    
    .education-card-new {
        padding: 1.5rem;
        height: 230px;
    }
    
    .education-header {
        gap: 1rem;
    }
    
    .education-icon-new {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .education-info h3 {
        font-size: 1rem; /* Even smaller on smaller screens */
    }
    
    .education-place {
        font-size: 0.9rem;
    }
    
    .education-description {
        font-size: 0.85rem;
    }
    
    .education-skills {
        gap: 0.4rem; /* Slightly smaller gap on mobile */
    }
    
    .skill-mini {
        padding: 0.2rem 0.5rem; /* Smaller padding on mobile */
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .education-grid-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .education-card-new {
        height: auto; /* Allow height to be auto on mobile */
        min-height: 220px;
    }
    
    .education-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .education-skills {
        justify-content: flex-start;
        width: 100%;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .education-icon-new {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .education-description {
        -webkit-line-clamp: 2;
    }
    
    .education-info h3 {
        font-size: 0.95rem; /* Smallest on very small screens */
    }
}



.skills-section-unified {
    background: transparent;
    position: relative;
    padding: 80px 0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Skills Container */
.skills-container-unified {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Skill Category - Unified Design */
.skill-category-unified {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(147, 51, 234, 0.15);
    transition: all 0.3s ease;
}

.skill-category-unified:hover {
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.15);
    transform: translateY(-5px);
}

/* Category Header - Unified */
.category-header-unified {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(147, 51, 234, 0.2);
}

.category-header-unified i {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-header-unified h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

/* Skills List - Unified */
.skills-list-unified {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Skill Badge - UNIFIED DESIGN FOR ALL */
.skill-badge-unified {
    padding: 10px 20px;
    background: rgba(15, 15, 15, 0.6);
    border: 1.5px solid rgba(147, 51, 234, 0.3);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* Unified Hover Effect */
.skill-badge-unified::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.skill-badge-unified:hover::before {
    width: 200%;
    height: 200%;
}

.skill-badge-unified:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
    background: rgba(147, 51, 234, 0.15);
}

/* Quick Stats - Unified */
.skills-stats-unified {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(147, 51, 234, 0.15);
}

.stat-box-unified {
    text-align: center;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.15);
    transition: all 0.3s ease;
}

.stat-box-unified:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.stat-number-unified {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label-unified {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-section-unified {
        padding: 60px 0;
    }

    .skill-category-unified {
        padding: 1.5rem;
    }

    .category-header-unified {
        gap: 0.8rem;
    }

    .category-header-unified i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .category-header-unified h3 {
        font-size: 1.2rem;
    }

    .skills-list-unified {
        gap: 0.6rem;
    }

    .skill-badge-unified {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .skills-stats-unified {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .stat-number-unified {
        font-size: 2rem;
    }

    .stat-label-unified {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .section-subtitle {
        font-size: 0.95rem;
    }

    .skills-container-unified {
        gap: 1.5rem;
    }

    .skill-category-unified {
        padding: 1.2rem;
    }

    .category-header-unified h3 {
        font-size: 1.1rem;
    }

    .skills-stats-unified {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   SIMPLE PROJECTS SECTION
   ============================================ */

.projects-simple {
    position: relative;
    padding: 80px 0;
    background-color: transparent;
}

.section-subtitle-simple {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Projects Grid */
.projects-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Project Card - Simple Design */
.project-card-simple {
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 51, 234, 0.1);
    position: relative;
}

.project-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card-simple:hover::before {
    transform: scaleX(1);
}

.project-card-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.4);
    border-color: var(--primary-color);
}

/* Project Image */
.project-image-simple {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-simple:hover .project-image-simple img {
    transform: scale(1.1);
}

/* Project Overlay */
.project-overlay-simple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-simple:hover .project-overlay-simple {
    opacity: 1;
}

/* GitHub Link */
.github-link-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.github-link-simple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.github-link-simple:hover::before {
    width: 100%;
    height: 100%;
}

.github-link-simple:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

/* Project Content */
.project-content-simple {
    padding: 1.5rem;
}

.project-title-simple {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-description-simple {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Tech Tags */
.project-tech-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag-simple {
    padding: 5px 10px;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-light);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.tech-tag-simple:hover {
    background-color: rgba(147, 51, 234, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 4rem;
}

.view-all-btn-simple {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 16px 40px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.view-all-btn-simple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.view-all-btn-simple:hover::before {
    width: 400px;
    height: 400px;
}

.view-all-btn-simple:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.view-all-btn-simple i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.view-all-btn-simple:hover i {
    transform: scale(1.2) rotate(360deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .projects-grid-simple {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-simple {
        padding: 60px 0;
    }

    .projects-grid-simple {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image-simple {
        height: 220px;
    }

    .view-all-btn-simple {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle-simple {
        font-size: 0.95rem;
    }

    .project-title-simple {
        font-size: 1.2rem;
    }

    .project-description-simple {
        font-size: 0.9rem;
    }

    .project-content-simple {
        padding: 1.2rem;
    }
}


/* Contact Section - Professional Enhanced Design */
.contact {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Animated Background Elements */
.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 15s ease-in-out infinite;
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(147, 51, 234, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(147, 51, 234, 0.02) 60px,
            rgba(147, 51, 234, 0.02) 120px
        );
    pointer-events: none;
    opacity: 0.5;
}

@keyframes backgroundPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-5%, -5%) scale(1.05);
        opacity: 0.8;
    }
}

/* Contact Wrapper - Premium Glass Effect */
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 30px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(147, 51, 234, 0.1) inset,
        0 20px 60px rgba(147, 51, 234, 0.15);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Animated Border Gradient */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        rgba(147, 51, 234, 0.5),
        rgba(168, 85, 247, 0.5),
        rgba(124, 58, 237, 0.5),
        rgba(147, 51, 234, 0.5)
    );
    background-size: 300% 300%;
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientRotate 8s ease infinite;
}

.contact-wrapper:hover::before {
    opacity: 1;
}

@keyframes gradientRotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Floating Particles Effect */
.contact-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    border-radius: 30px;
    pointer-events: none;
    animation: particlesFloat 10s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(147, 51, 234, 0.2) inset,
        0 25px 80px rgba(147, 51, 234, 0.25);
}

/* Inner Glow Effect */
.contact-content {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

/* Contact Items with Glassmorphism */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(147, 51, 234, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.3);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(124, 58, 237, 0.1));
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.4s ease;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-icon::before {
    opacity: 1;
}

.contact-item:hover .contact-icon {
    color: white;
    transform: scale(1.15) rotate(360deg);
}

.contact-text h4 {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text p,
.contact-text a {
    color: var(--text-color);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* Contact Social - Premium Design */
.contact-social-new {
    padding: 1.8rem;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(147, 51, 234, 0.15);
    margin-top: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-social-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-social-new:hover::before {
    left: 100%;
}

.contact-social-new:hover {
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
}

.contact-social-new h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.contact-social-new h4 i {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-social-new:hover h4 i {
    transform: rotate(360deg) scale(1.2);
}

.social-links-new {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link-new {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(124, 58, 237, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.social-link-new::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.social-link-new:hover::before {
    width: 150%;
    height: 150%;
}

.social-link-new:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

/* Contact Form - Premium Style */
.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147, 51, 234, 0.15);
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(15, 15, 15, 0.8);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.15);
}

.form-status {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-status.success {
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Responsive Contact Section */
@media (max-width: 992px) {
    .contact-wrapper {
        padding: 2.5rem;
        border-radius: 25px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .contact-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-social-new {
        padding: 1.5rem;
    }
    
    .social-links-new {
        justify-content: center;
    }
    
    .social-link-new {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Contact Item New - Fix for Phone */
.contact-item-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(15, 15, 15, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact-item-new:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon-new {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item-new:hover .contact-icon-new {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-text-new h4 {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-text-new p,
.contact-text-new a {
    color: var(--text-color);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text-new a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .social-links-new {
        justify-content: flex-start;
    }
}

.contact-social-new h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-social-new h4 i {
    color: var(--primary-color);
}


/* Resume Section - Enhanced Design */
.resume-section {
    background-color: transparent;
    position: relative;
    padding: 80px 0;
}

.resume-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.08), transparent 70%);
    pointer-events: none;
}

.resume-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.resume-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-light), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.resume-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(147, 51, 234, 0.25);
    border-color: var(--primary-color);
}

.resume-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.resume-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.resume-text p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.resume-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
}

.resume-download-btn:hover::before {
    left: 100%;
}

.resume-download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 35px rgba(147, 51, 234, 0.6);
}

.resume-download-btn i {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
}

.resume-download-btn:hover i {
    transform: rotate(360deg) scale(1.15);
}

/* Responsive Resume Section */
@media (max-width: 768px) {
    .resume-content {
        padding: 3rem 2rem;
        border-radius: 20px;
    }
    
    .resume-text h3 {
        font-size: 1.6rem;
    }
    
    .resume-text p {
        font-size: 1rem;
    }
    
    .resume-download-btn {
        padding: 16px 35px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .resume-content {
        padding: 2.5rem 1.5rem;
    }
    
    .resume-text h3 {
        font-size: 1.4rem;
    }
    
    .resume-text p {
        font-size: 0.95rem;
    }
}

/* ============================================
   3D INTRO ANIMATION STYLES
   ============================================ */

#intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #000;
    transition: opacity 0.8s ease-out;
}

#intro-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #a855f7;
    font-size: 2.5rem;
    font-weight: 800;
    z-index: 9998;
    opacity: 0;
    animation: enhancedFadeIn 2s ease-in-out forwards;
    animation-delay: 0.5s;
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.8),
                 0 0 60px rgba(147, 51, 234, 0.6),
                 0 0 90px rgba(124, 58, 237, 0.4);
}

@keyframes enhancedFadeIn {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5) rotateX(90deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1) rotateX(0deg);
        filter: blur(0px);
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

/* Hide main content during intro */
body.intro-active .ai-background,
body.intro-active .navbar,
body.intro-active .hero,
body.intro-active .about,
body.intro-active .education-section,
body.intro-active .skills-section-unified,
body.intro-active .experience-section,
body.intro-active .projects-simple,
body.intro-active .contact,
body.intro-active .resume-section,
body.intro-active .footer,
body.intro-active .back-to-top {
    opacity: 0;
    pointer-events: none;
}

body.intro-active > *:not(#intro-container) {
    transition: opacity 1s ease-in;
}

body:not(.intro-active) > *:not(#intro-container) {
    opacity: 1;
    pointer-events: auto;
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 15, 0.8);
    border-left: 1px solid rgba(147, 51, 234, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    border: 2px solid rgba(15, 15, 15, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(15, 15, 15, 0.8);
}