body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* الصفحة الرئيسية */
  .hero {
    background: linear-gradient(135deg, #1e1e2f, #0d0d19);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    color: #fff;
    text-align: center;
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h1 span {
    color: #00bcd4;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .buttons {
    margin-top: 20px;
  }
  
  .buttons .btn {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    color: #fff;
    background: linear-gradient(90deg, #00bcd4, #1e88e5);
    text-decoration: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
  }
  
  .buttons .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-45deg);
    transition: 0.5s;
  }
  
  .buttons .btn:hover::before {
    left: 100%;
  }
  
  /* قسم من أنا */
  .about {
    padding: 50px 0;
    text-align: center;
  }
  
  .about img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
  }
  
  /* قسم المهارات */
  .skills {
    background: #f4f4f4;
    padding: 50px 0;
  }
  
  .skills-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
  }
  
  .skill {
    flex: 1;
    min-width: 250px;
    margin: 0 10px;
  }
  
  /* قسم المشاريع */
  .projects {
    padding: 50px 0;
  }
  
  .project-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
  }
  
  .project {
    flex: 1;
    min-width: 300px;
    margin: 0 10px;
  }
  
  .project img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
    /* 2قسم المشاريع */
    .projects2 {
      padding: 50px 0;
    }
    
    .project2-list {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      text-align: center;
    }
    
    .project2 {
      flex: 1;
      min-width: 300px;
      margin: 0 10px;
    }
    
    .project2 img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }
  /* قسم التواصل */
  .contact {
    background: #1e1e2f;
    color: #fff;
    padding: 50px 0;
    text-align: center;
  }
  
  .contact form input,
  .contact form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
  }
  
  .contact form button {
    padding: 10px 20px;
    border: none;
    background: #00bcd4;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .contact-icons a {
    margin: 10px;
    color: #00bcd4;
    font-size: 1.5rem;
    transition: 0.3s;
  }
  
  .contact-icons a:hover {
    color: #1e88e5;
  }
  
  /* الفوتر */
  footer {
    text-align: center;
    padding: 20px;
    background: #0d0d19;
    color: #fff;
  }
  
  /* حركة الخلفية */
  @keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  /* تحسين التوافق مع الشاشات الكبيرة */
  @media (min-width: 1024px) {
    .hero h1 {
      font-size: 3.5rem;
    }
  
    .hero p {
      font-size: 1.5rem;
    }
  
    .buttons .btn {
      padding: 15px 30px;
      font-size: 1.2rem;
    }
  
    .skills-list, .project-list {
      gap: 30px;
    }
  }
  
  /* تحسين التوافق مع الشاشات المتوسطة والصغيرة */
  @media (max-width: 768px) {
    .skills-list, .project-list {
      flex-direction: column;
    }
  
    .skill, .project {
      margin: 20px 0;
    }
  
    .hero {
      padding: 50px 20px;
    }
  
    .buttons .btn {
      margin: 10px 0;
    }
  
    .about img {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    h1 {
      font-size: 1.8rem;
    }
  
    p {
      font-size: 1rem;
    }
  
    .buttons .btn {
      padding: 10px;
      font-size: 0.9rem;
    }
  
    .contact form input,
    .contact form textarea {
      font-size: 0.9rem;
    }
  
    .contact form button {
      font-size: 1rem;
    }
  }  