* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary-color: #FFD700; --secondary-color: #1E90FF; --accent-color: #FF6B6B; --bg-dark: #0D1117; --bg-darker: #010409; --text-light: #F0F6FC; --text-gray: #8B949E; --card-bg: rgba(22, 27, 34, 0.8); --border-color: rgba(240, 246, 252, 0.1); --gradient-primary: linear-gradient(135deg, var(--primary-color), #FFA500); --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #4169E1); --gradient-bg: radial-gradient(ellipse at top, rgba(30, 144, 255, 0.1), transparent), radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.1), transparent); --font-arabic: 'Cairo', sans-serif; --font-english: 'Inter', sans-serif; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); } html[lang="ar"] { font-family: var(--font-arabic); direction: rtl; } body { background: var(--bg-dark); color: var(--text-light); line-height: 1.6; overflow-x: hidden; position: relative; } .bg-animation { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--gradient-bg); z-index: -1; animation: bgFloat 20s ease-in-out infinite; } @keyframes bgFloat { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(1deg); } } .navbar { position: fixed; top: 0; width: 100%; background: rgba(13, 17, 23, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: 1000; transition: var(--transition); } .nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .nav-logo .logo-text { font-size: 1.5rem; font-weight: 700; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .nav-menu { display: flex; align-items: center; gap: 2rem; } .nav-link { color: var(--text-light); text-decoration: none; font-weight: 500; position: relative; transition: var(--transition); } .nav-link:hover { color: var(--primary-color); } .nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: var(--transition); } .nav-link:hover::after { width: 100%; } .lang-toggle { background: var(--gradient-secondary); border: none; color: white; padding: 0.5rem 1rem; border-radius: 20px; cursor: pointer; font-weight: 600; transition: var(--transition); } .lang-toggle:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(30, 144, 255, 0.4); } .hamburger { display: none; flex-direction: column; cursor: pointer; gap: 3px; } .hamburger span { width: 25px; height: 3px; background: var(--text-light); transition: var(--transition); } .hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; } .hero-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; } .hero-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; } .hero-image { position: relative; display: flex; justify-content: center; } .profile-img { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; border: 4px solid transparent; background: var(--gradient-primary); padding: 4px; animation: profileFloat 6s ease-in-out infinite; box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3); } @keyframes profileFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } } .hero-text { animation: slideInRight 1s ease-out; } .hero-title { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; } .title-line { display: block; color: var(--text-gray); font-size: 1.5rem; font-weight: 400; } .title-name { display: block; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: textGlow 2s ease-in-out infinite alternate; } @keyframes textGlow { from { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); } to { text-shadow: 0 0 30px rgba(255, 215, 0, 0.8); } } .hero-subtitle { font-size: 1.25rem; color: var(--secondary-color); margin-bottom: 1.5rem; font-weight: 500; } .hero-description { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 2rem; line-height: 1.8; } .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; } .btn { padding: 1rem 2rem; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; text-align: center; position: relative; overflow: hidden; } .btn-primary { background: var(--gradient-primary); color: var(--bg-dark); } .btn-secondary { background: transparent; color: var(--text-light); border: 2px solid var(--primary-color); } .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); } .btn-primary:hover { box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4); } .btn-secondary:hover { background: var(--primary-color); color: var(--bg-dark); } section { padding: 5rem 0; } .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; } .section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 3rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .about { background: rgba(22, 27, 34, 0.5); } .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } .about-text h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--secondary-color); } .about-text p { margin-bottom: 1.5rem; color: var(--text-gray); font-size: 1.1rem; line-height: 1.8; } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; } .stat-item { text-align: center; padding: 1.5rem; background: var(--card-bg); border-radius: 15px; border: 1px solid var(--border-color); transition: var(--transition); } .stat-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2); } .stat-number { display: block; font-size: 2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; } .stat-label { color: var(--text-gray); font-size: 0.9rem; } .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } .feature-card { background: var(--card-bg); padding: 2rem; border-radius: 15px; border: 1px solid var(--border-color); text-align: center; transition: var(--transition); } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(30, 144, 255, 0.2); border-color: var(--secondary-color); } .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; } .feature-card h4 { color: var(--secondary-color); margin-bottom: 1rem; font-size: 1.2rem; } .feature-card p { color: var(--text-gray); font-size: 0.95rem; } .skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; } .skill-category { background: var(--card-bg); padding: 2rem; border-radius: 15px; border: 1px solid var(--border-color); transition: var(--transition); } .skill-category:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1); } .skill-category h3 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 1.3rem; text-align: center; } .skill-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; } .skill-name { min-width: 100px; font-weight: 500; color: var(--text-light); } .skill-bar { flex: 1; height: 8px; background: rgba(240, 246, 252, 0.1); border-radius: 10px; overflow: hidden; position: relative; } .skill-progress { height: 100%; background: var(--gradient-primary); border-radius: 10px; width: 0; transition: width 2s ease-in-out; position: relative; } .skill-progress::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); animation: shimmer 2s infinite; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .skill-percentage { min-width: 40px; text-align: right; color: var(--primary-color); font-weight: 600; } .projects { background: rgba(22, 27, 34, 0.5); } .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .project-card { background: var(--card-bg); border-radius: 15px; border: 1px solid var(--border-color); overflow: hidden; transition: var(--transition); position: relative; } .project-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2); } .project-image { position: relative; height: 200px; overflow: hidden; } .project-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); } .project-card:hover .project-image img { transform: scale(1.1); } .project-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); } .project-card:hover .project-overlay { opacity: 1; } .project-btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; } .project-info { padding: 1.5rem; } .project-info h3 { color: var(--secondary-color); margin-bottom: 0.5rem; font-size: 1.2rem; } .project-info p { color: var(--text-gray); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.6; } .project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; } .tech-tag { background: var(--gradient-primary); color: var(--bg-dark); padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; } .projects-more { text-align: center; } .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); } .modal-content { background: var(--card-bg); margin: 5% auto; padding: 2rem; border: 1px solid var(--border-color); border-radius: 15px; width: 90%; max-width: 600px; position: relative; animation: modalSlideIn 0.3s ease-out; } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } } .close { color: var(--text-gray); float: right; font-size: 2rem; font-weight: bold; cursor: pointer; transition: var(--transition); } .close:hover { color: var(--primary-color); } .modal-content h2 { color: var(--primary-color); margin-bottom: 1rem; } .project-description { color: var(--text-gray); margin-bottom: 1.5rem; line-height: 1.8; } .project-features h3, .project-technologies h3 { color: var(--secondary-color); margin-bottom: 1rem; font-size: 1.2rem; } .project-features ul { list-style: none; padding: 0; } .project-features li { color: var(--text-gray); margin-bottom: 0.5rem; position: relative; padding-left: 1.5rem; } .project-features li::before { content: '✓'; color: var(--primary-color); font-weight: bold; position: absolute; left: 0; } .tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; } .footer { background: var(--bg-darker); padding: 2rem 0; border-top: 1px solid var(--border-color); } .footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; } .social-links { display: flex; gap: 1rem; } .social-link { color: var(--text-gray); text-decoration: none; transition: var(--transition); padding: 0.5rem 1rem; border-radius: 20px; border: 1px solid var(--border-color); } .social-link:hover { color: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); } @keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 768px) { .nav-menu { display: none; } .hamburger { display: flex; } .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; } .hero-title { font-size: 2.5rem; } .profile-img { width: 250px; height: 250px; } .about-grid { grid-template-columns: 1fr; gap: 2rem; } .about-features { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } .skills-grid { grid-template-columns: 1fr; } .projects-grid { grid-template-columns: 1fr; } .hero-buttons { justify-content: center; } .footer-content { justify-content: center; text-align: center; } .modal-content { margin: 10% auto; width: 95%; padding: 1.5rem; } } @media (max-width: 480px) { .nav-container { padding: 1rem; } .container { padding: 0 1rem; } .hero-title { font-size: 2rem; } .section-title { font-size: 2rem; } .profile-img { width: 200px; height: 200px; } .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; } .skills-grid { grid-template-columns: 1fr; } .skill-category { padding: 1.5rem; } } html { scroll-behavior: smooth; } .hero-social-card { margin: 40px auto 0 auto; background: rgba(0,0,0,0.7); border-radius: 18px; box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18); padding: 24px 32px 18px 32px; max-width: 340px; display: flex; flex-direction: column; align-items: center; } .hero-social-title { color: #FFD700; font-size: 1.2rem; font-weight: bold; margin-bottom: 16px; letter-spacing: 1px; } .hero-social-icons { display: flex; gap: 18px; } .hero-social-icons a svg { transition: transform 0.2s; } .hero-social-icons a:hover svg { transform: scale(1.15) rotate(-6deg); }