  :root {
      --primary: #2c3e50;
      --secondary: #3498db;
      --accent: #e74c3c;
      --light: #ecf0f1;
      --dark: #2c3e50;
      --gradient: linear-gradient(135deg, #3498db, #2c3e50);
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    body {
      background-color: #f9f9f9;
      color: var(--dark);
      line-height: 1.6;
      overflow-x: hidden;
    }
    
    /* تصميم الشريط العلوي */
    header {
      background: var(--gradient);
      color: white;
      padding: 1rem 0;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .logo {
      font-size: 1.8rem;
      font-weight: bold;
      display: flex;
      align-items: center;
    }
    
    .logo i {
      margin-left: 10px;
      color: var(--accent);
    }
    
    .nav-links {
      display: flex;
      list-style: none;
    }
    
    .nav-links li {
      margin: 0 15px;
    }
    
    .nav-links a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
      position: relative;
    }
    
    .nav-links a:hover {
      color: var(--accent);
    }
    
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      right: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s;
    }
    
    .nav-links a:hover::after {
      width: 100%;
    }
    
    /* قسم البطل */
    .hero {
      background: var(--gradient);
      color: white;
      padding: 180px 0 100px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
      background-size: cover;
      background-position: center;
    }
    
    .profile-container {
      position: relative;
      display: inline-block;
      margin-bottom: 30px;
    }
    
    .profile-img {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 5px solid white;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      transition: transform 0.5s;
    }
    
    .profile-img:hover {
      transform: scale(1.05);
    }
    
    .profile-ring {
      position: absolute;
      top: -10px;
      right: -10px;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      border: 2px dashed var(--accent);
      animation: rotate 20s linear infinite;
    }
    
    @keyframes rotate {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    .hero h1 {
      font-size: 3rem;
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .hero p {
      font-size: 1.5rem;
      margin-bottom: 30px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .cta-button {
      display: inline-block;
      background: var(--accent);
      color: white;
      padding: 12px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: bold;
      transition: all 0.3s;
      box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    }
    
    .cta-button:hover {
      background: #c0392b;
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(231, 76, 60, 0.6);
    }
    
    /* الأقسام العامة */
    section {
      padding: 100px 0;
    }
    
    .section-title {
      text-align: center;
      margin-bottom: 60px;
      position: relative;
    }
    
    .section-title h2 {
      font-size: 2.5rem;
      color: var(--primary);
      display: inline-block;
    }
    
    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -15px;
      right: 50%;
      transform: translateX(50%);
      width: 80px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
    }
    
    /* قسم عني */
    .about {
      background: white;
    }
    
    .about-content {
      display: flex;
      align-items: center;
      gap: 50px;
    }
    
    .about-text {
      flex: 1;
    }
    
    .about-text p {
      margin-bottom: 20px;
      font-size: 1.1rem;
    }
    
    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 30px;
    }
    
    .skill {
      background: var(--light);
      padding: 8px 20px;
      border-radius: 50px;
      font-weight: 500;
      transition: all 0.3s;
    }
    
    .skill:hover {
      background: var(--secondary);
      color: white;
      transform: translateY(-3px);
    }
    
    /* قسم المهارات */
    .skills-section {
      background: var(--light);
    }
    
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 30px;
    }
    
    .skill-category {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s;
    }
    
    .skill-category:hover {
      transform: translateY(-10px);
    }
    
    .skill-category h3 {
      color: var(--primary);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
    }
    
    .skill-category h3 i {
      margin-left: 10px;
      color: var(--accent);
    }
    
    .skill-list {
      list-style: none;
    }
    
    .skill-list li {
      margin-bottom: 12px;
      display: flex;
      align-items: center;
    }
    
    .skill-list li i {
      color: var(--secondary);
      margin-left: 10px;
    }
    
    /* قسم المشاريع */
    .projects {
      background: white;
    }
    
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 30px;
    }
    
    .project-card {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
    }
    
    .project-card:hover {
      transform: translateY(-10px);
    }
    
    .project-img {
      height: 200px;
      background: var(--gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 3rem;
    }
    
    .project-info {
      padding: 20px;
    }
    
    .project-info h3 {
      margin-bottom: 10px;
      color: var(--primary);
    }
    
    /* قسم التواصل */
    .contact {
      background: var(--light);
    }
    
    .contact-content {
      display: flex;
      gap: 50px;
    }
    
    .contact-info {
      flex: 1;
    }
    
    .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 25px;
    }
    
    .contact-icon {
      width: 50px;
      height: 50px;
      background: var(--secondary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 15px;
      color: white;
      font-size: 1.2rem;
    }
    
    .contact-form {
      flex: 1;
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }
    
    .form-control {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 1rem;
      transition: border 0.3s;
    }
    
    .form-control:focus {
      border-color: var(--secondary);
      outline: none;
    }
    
    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }
    
    .submit-btn {
      background: var(--accent);
      color: white;
      border: none;
      padding: 12px 30px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s;
    }
    
    .submit-btn:hover {
      background: #c0392b;
    }
    
    /* التذييل */
    footer {
      background: var(--dark);
      color: white;
      padding: 50px 0 20px;
    }
    
    .footer-content {
      display: flex;
      justify-content: space-between;
      margin-bottom: 40px;
    }
    
    .footer-logo {
      font-size: 1.8rem;
      font-weight: bold;
    }
    
    .social-links {
      display: flex;
      gap: 15px;
    }
    
    .social-link {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-decoration: none;
      transition: background 0.3s;
    }
    
    .social-link:hover {
      background: var(--accent);
    }
    
    .copyright {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* تأثيرات التمرير */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s, transform 0.8s;
    }
    
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* تصميم متجاوب */
    @media (max-width: 992px) {
      .about-content, .contact-content {
        flex-direction: column;
      }
      
      .hero h1 {
        font-size: 2.5rem;
      }
      
      .hero p {
        font-size: 1.2rem;
      }
    }
    
    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      
      .hero {
        padding: 150px 0 80px;
      }
      
      .hero h1 {
        font-size: 2rem;
      }
      
      .profile-img {
        width: 150px;
        height: 150px;
      }
      
      .profile-ring {
        width: 170px;
        height: 170px;
      }
      
      .section-title h2 {
        font-size: 2rem;
      }
    }