  :root {
      --bg-color: #1f242d;
      --f-color: #ffffff;
      --hover-color: #d68910;
      --color-button: #00e5e0;
  }
  .projects{
    padding-top: 5rem;
    margin-bottom: 8rem;
  }

  .projects h2 {
      font-size: 60px;
      text-align: center;
      /* padding: auto; */
  }

  .projects h2 span {
      color: var(--hover-color);
  }



  .project-card {
      position: relative;
      width: 400px;
      height: 300px;
      border-radius: 15px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .project-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
  }

  .project-card:hover .card-image {
      transform: scale(1.1);
  }

  .card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
      color: white;
      text-align: center;
  }

  .project-card:hover .card-overlay {
      opacity: 1;
  }

  .project-title {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
      transform: translateY(20px);
      transition: transform 0.3s ease 0.1s;
  }

  .project-card:hover .project-title {
      transform: translateY(0);
  }

  .visit-button {
      background: linear-gradient(45deg, #667eea, #764ba2);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 25px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transform: translateY(20px);
      transition: all 0.3s ease 0.2s;
      text-decoration: none;
      display: inline-block;
  }

  .project-card:hover .visit-button {
      transform: translateY(0);
      background: linear-gradient(45deg, #764ba2, #667eea);
  }

  .visit-button:hover {
      transform: scale(1.05);
  }

  .card-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
      color: white;
      padding: 20px 15px 15px;
      transform: translateY(100%);
      transition: transform 0.3s ease;
  }

  .project-card:hover .card-info {
      transform: translateY(0);
  }

  .project-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 5px;
  }

  .project-description {
      font-size: 14px;
      opacity: 0.9;
      line-height: 1.4;
  }

  /* نسخة إضافية من الكارت */
  .projects .cards-container {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      justify-content: center;
  }