@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --primary: #f8fafc;
    --secondary: #ffffff;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-glow: rgba(245, 158, 11, 0.15);
    --text: #1e293b;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(203, 213, 225, 0.5);
    --card-hover: rgba(37, 99, 235, 0.03);
    --success: #10b981;
    --whatsapp: #25d366;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 50%, #eff6ff 100%);
    background-attachment: fixed;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;
}

#particles {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed; top: 0; width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between; align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.98);
}
.logo {
    font-size: 1.5rem; font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer; letter-spacing: -0.5px;
}
.nav-links {
    display: flex; gap: 2.2rem;
    list-style: none; align-items: center;
}
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-weight: 600; position: relative;
    transition: all 0.3s; font-size: 0.92rem;
    padding: 0.5rem 0;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: 0; right: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.active {
    font-weight: 800;
}
.mobile-menu-btn {
    display: none; background: none; border: none;
    color: var(--text); font-size: 1.5rem; cursor: pointer;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--whatsapp), #128c7e);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    animation: none;
}
.whatsapp-float i { font-size: 1.6rem; }
.whatsapp-float .tooltip {
    position: absolute;
    left: 70px;
    background: var(--secondary);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg);
}
.whatsapp-float:hover .tooltip {
    opacity: 1; visibility: visible;
    left: 75px;
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--accent-glow);
}
.back-to-top i { font-size: 1.2rem; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; padding: 0 5%; z-index: 1;
    /* background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 25%, #93c5fd 50%, #60a5fa 75%, #3b82f6 100%); */
    background: #b5f5f56b;
    position: relative;
    overflow: hidden;
    font-weight: bold;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(147,197,253,0.3) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(248,250,252,1), transparent);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content {
    text-align: center; max-width: 850px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #1e3a5f;
    font-size: 0.9rem; font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s infinite;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem; line-height: 1.3;
    animation: fadeInUp 1s ease 0.2s both;
    color: #1e3a5f;
    text-shadow: 0 2px 10px rgba(255,255,255,0.3);
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #3b82f6;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 700;
    min-height: 2.5rem;
}
.hero-location {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.5s both;
}
.hero-location i { color: var(--accent); }
.hero-desc {
    font-size: 1.05rem;
    color: #334155;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.6s both;
    line-height: 2;
}
.hero-buttons {
    display: flex; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}
.btn {
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: 'Cairo', sans-serif;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: white;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--text);
    border: 2px solid var(--card-border);
    box-shadow: var(--shadow);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #128c7e);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}
.scroll-indicator {
    position: absolute; bottom: 2rem;
    left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
}

/* ===== SECTIONS ===== */
section { position: relative; z-index: 1; padding: 7rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.08));
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text);
}
.section-desc {
    color: var(--text-muted);
    max-width: 600px; margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about { background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem; align-items: center;
    max-width: 1200px; margin: 0 auto;
}
.about-image { position: relative; }
.about-image-frame {
    width: 100%; aspect-ratio: 1;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    padding: 4px; position: relative; overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image-inner {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 26px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.about-image-inner i {
    font-size: 6rem;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-image-inner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.05));
}
.experience-badge {
    position: absolute;
    bottom: -15px; left: -15px;
    background: var(--secondary);
    border: 2px solid var(--accent);
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease infinite;
}
.experience-badge .number {
    font-size: 2.2rem; font-weight: 900;
    color: var(--accent); display: block; line-height: 1;
}
.experience-badge .label {
    font-size: 0.8rem; color: var(--text-muted); font-weight: 600;
}
.about-content h3 {
    font-size: 1.8rem; margin-bottom: 1.5rem;
    line-height: 1.4; color: var(--text);
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.02rem; line-height: 2;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem; margin-top: 2.5rem;
}
.stat-item {
    text-align: center; padding: 1.5rem 1rem;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}
.stat-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.stat-item .stat-number {
    font-size: 1.8rem; font-weight: 900;
    color: var(--accent); display: block;
}
.stat-item .stat-label {
    font-size: 0.8rem; color: var(--text-muted);
    margin-top: 0.5rem; font-weight: 600;
}
.stat-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

/* ===== EXPERIENCE ===== */
.experience { background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); }
.experience-timeline {
    max-width: 900px; margin: 0 auto;
    position: relative;
}
.experience-timeline::before {
    content: '';
    position: absolute;
    right: 30px; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--gold), var(--accent));
    border-radius: 3px;
}
.exp-item {
    position: relative;
    padding-right: 80px;
    margin-bottom: 3rem;
    opacity: 0; transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.exp-item.visible {
    opacity: 1; transform: translateX(0);
}
.exp-dot {
    position: absolute;
    right: 18px; top: 8px;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 0 25px var(--accent-glow);
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
}
.exp-dot i {
    font-size: 0.6rem;
    color: white;
}
.exp-dot.current {
    animation: pulseGlow 2s infinite;
}
.exp-card {
    background: var(--card-bg);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}
.exp-card:hover {
    border-color: var(--accent);
    transform: translateX(-8px);
    box-shadow: var(--shadow-xl);
}
.exp-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem;
}
.exp-title { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.exp-date {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.08));
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem; font-weight: 700;
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.exp-date .current-badge {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s infinite;
}
.exp-company { color: var(--gold); font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.exp-location { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.4rem; }
.exp-location i { color: var(--accent); font-size: 0.8rem; }
.exp-duties { list-style: none; }
.exp-duties li {
    color: var(--text-muted); font-size: 0.92rem;
    padding: 0.4rem 0; padding-right: 1.5rem;
    position: relative; line-height: 1.7;
}
.exp-duties li::before {
    content: '';
    position: absolute; right: 0; top: 0.6rem;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== EDUCATION ===== */
.education { background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%); }
.edu-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    max-width: 900px; margin: 0 auto;
}
.edu-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 24px; padding: 2.5rem;
    backdrop-filter: blur(10px); transition: all 0.4s ease;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow);
}
.edu-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s ease;
}
.edu-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.edu-card:hover::before { transform: scaleX(1); }
.edu-icon {
    width: 55px; height: 55px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--accent);
}
.edu-degree { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); }
.edu-school { color: var(--gold); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.edu-location { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1rem; }
.edu-location i { margin-left: 0.3rem; color: var(--accent); }
.edu-year {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 1rem; background: rgba(37, 99, 235, 0.06);
    color: var(--accent); border-radius: 50px;
    font-size: 0.8rem; font-weight: 700;
}
.edu-year i { font-size: 0.7rem; }

/* ===== SKILLS ===== */
.skills { background: linear-gradient(180deg, #f8fafc 0%, #dbeafe 100%); }
.skills-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem;
    max-width: 1200px; margin: 0 auto;
}
.skill-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 20px; padding: 2rem;
    backdrop-filter: blur(10px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow);
}
.skill-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.4s ease;
}
.skill-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: var(--shadow-xl); }
.skill-card:hover::before { transform: scaleX(1); }
.skill-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.skill-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--accent);
}
.skill-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.skill-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.2rem; line-height: 1.7; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
    padding: 0.35rem 0.9rem; background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12); border-radius: 50px;
    font-size: 0.8rem; color: var(--accent); font-weight: 700;
    transition: all 0.3s ease;
}
.skill-tag:hover { background: rgba(37, 99, 235, 0.12); transform: scale(1.05); }
.skill-tag.special {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.15));
    border-color: rgba(245, 158, 11, 0.2); color: var(--gold);
}

/* ===== SOFT SKILLS ===== */
.soft-skills { background: linear-gradient(180deg, #dbeafe 0%, #f8fafc 100%); }
.soft-skills-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem;
    max-width: 1000px; margin: 0 auto;
}
.soft-skill-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 16px; padding: 1.8rem 1.5rem;
    text-align: center; backdrop-filter: blur(10px); transition: all 0.4s ease;
    box-shadow: var(--shadow);
}
.soft-skill-card:hover { border-color: var(--accent); transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); }
.soft-skill-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.soft-skill-title { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ===== LANGUAGES ===== */
.languages { background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); }
.languages-grid { display: flex; justify-content: center; gap: 2rem; max-width: 600px; margin: 0 auto; flex-wrap: wrap; }
.lang-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 20px; padding: 2rem 3rem;
    text-align: center; backdrop-filter: blur(10px); transition: all 0.4s ease;
    min-width: 200px; box-shadow: var(--shadow);
}
.lang-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lang-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    border: 1px solid rgba(37, 99, 235, 0.1);
}
.lang-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); }
.lang-level { padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; }
.lang-level.excellent { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.15)); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.lang-level.good { background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.15)); color: var(--accent); border: 1px solid rgba(37, 99, 235, 0.2); }

/* ===== PROJECTS ===== */
.projects { background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.project-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 24px; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
    box-shadow: var(--shadow);
}
.project-card:hover { transform: translateY(-12px); border-color: var(--accent); box-shadow: var(--shadow-xl); }
.project-image {
    height: 220px; background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; position: relative; overflow: hidden;
}
.project-image i {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4rem;
}
.project-image::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, transparent 30%, var(--primary) 100%); }
.project-content { padding: 2rem; }
.project-category { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); font-size: 0.8rem; font-weight: 800; margin-bottom: 0.8rem; letter-spacing: 1px; }
.project-category i { font-size: 0.7rem; }
.project-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.8rem; color: var(--text); }
.project-desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.2rem; line-height: 1.8; }
.project-role {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.12));
    border: 1px solid rgba(245, 158, 11, 0.15); border-radius: 10px;
    padding: 0.8rem 1rem; margin-bottom: 1.2rem;
}
.project-role-label { font-size: 0.75rem; color: var(--gold); font-weight: 800; margin-bottom: 0.3rem; display: block; }
.project-role-label i { margin-left: 0.3rem; }
.project-role-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.project-tech { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.project-tech span { padding: 0.35rem 0.9rem; background: rgba(37, 99, 235, 0.06); border-radius: 8px; font-size: 0.78rem; color: var(--accent); font-family: 'JetBrains Mono', monospace; font-weight: 500; border: 1px solid rgba(37, 99, 235, 0.1); }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(180deg, #f8fafc 0%, #dbeafe 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.2rem; color: var(--text); }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.9; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.2rem 1.5rem; background: var(--card-bg);
    border: 1px solid var(--card-border); border-radius: 16px;
    color: var(--text); text-decoration: none; transition: all 0.4s ease;
    box-shadow: var(--shadow);
}
.contact-link:hover { border-color: var(--accent); transform: translateX(-8px); background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(245, 158, 11, 0.03)); box-shadow: var(--shadow-lg); }
.contact-link-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--accent);
}
.contact-link-info div:first-child { font-weight: 800; font-size: 0.95rem; }
.contact-link-info div:last-child { color: var(--text-muted); font-size: 0.85rem; font-family: 'JetBrains Mono', monospace; }
.contact-form { background: var(--card-bg); padding: 2.5rem; border-radius: 24px; border: 1px solid var(--card-border); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--text-muted); font-size: 0.9rem; }
.form-group label i { margin-left: 0.3rem; color: var(--accent); }
.form-group input,
.form-group textarea {
    width: 100%; padding: 1rem 1.2rem; background: var(--primary);
    border: 1px solid var(--card-border); border-radius: 12px;
    color: var(--text); font-family: 'Cairo', sans-serif; font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 25px var(--accent-glow); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== FOOTER ===== */
footer { 
  /* background: linear-gradient(180deg, #1e3a5f 0%, #1e293b 100%); */
  background: #b5f5f56b;
  font-weight: bold;
  border-top: 1px solid rgba(59,130,246,0.2);
  padding: 2rem 0% 2rem; 
  text-align: center; 
  position: relative; 
  z-index: 1; 
  }
.footer-content { max-width: 600px; margin: 0 auto; }
.footer-logo { font-size: 1.6rem; font-weight: 900; background: linear-gradient(135deg, #60a5fa, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
.footer-text { color: #94a3b8; margin-bottom: 2rem; font-size: 0.95rem; }
.social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.social-link {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #336eeb;
    border-radius: 14px;
    display: flex; align-items: center;
    justify-content: center;
    color: #336eeb;
    text-decoration: none;
    font-size: 1.2rem; transition: all 0.4s ease;

}
.social-link:hover { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; border-color: #3b82f6; transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 30px rgba(59,130,246,0.3); }
.copyright { color: #64748b; font-size: 0.85rem; }

/* ===== ANIMATIONS ===== */
@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(-1%, 3%) rotate(-1deg); }
    75% { transform: translate(3%, -2%) rotate(0.5deg); }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 15px var(--accent-glow); } 50% { box-shadow: 0 0 30px var(--accent-glow), 0 0 50px var(--gold-glow); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .edu-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 350px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute; top: 100%; right: 0; left: 0;
        background: var(--secondary); flex-direction: column;
        padding: 2rem; gap: 1.2rem;
        border-bottom: 1px solid var(--card-border);
        box-shadow: var(--shadow-xl);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .about-stats { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 1.8rem; }
    .exp-header { flex-direction: column; }
    .edu-grid { grid-template-columns: 1fr; }
    .whatsapp-float { width: 55px; height: 55px; }
    .whatsapp-float .tooltip { display: none; }
    .back-to-top { width: 45px; height: 45px; }
    .back-to-top i { font-size: 1rem; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3b82f6, #60a5fa); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }