.portfolio-intro {
    text-align: center;
    padding: 60px 20px;
  }
  .portfolio-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  .portfolio-buttons .btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
  }
  .primary {
    background-color: #00ff88;
    color: #000;
  }
  .secondary {
    background-color: #222;
    color: #fff;
  }
  /*---------------------------*/
  .portfolio-showcase {
  
    padding: 60px 20px;
    color: white;
    font-family: 'Cairo', sans-serif;
    align-items: center;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 40px;
  }
  
  .project-card {
    background: #161616;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: 0.3s ease;
  }
  
  .project-card img {
    width: 100%;
    height: 180px;
    object-fit:contain;
    border-radius: 10px;
  }
  
  .project-card h3 {
    margin: 15px 0 10px;
    font-size: 18px;
    color: #ffffff;
  }
  
  .project-card .btn {
    display: inline-block;
    background-color: #00ff88;
    color: #000;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px #00ffc39a;
  }
  
  .see-more {
    text-align: center;
  }
  
  .see-more .btn {
    background-color: #00ff88;
    color: #000;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .see-more .btn:hover {
    background-color: #00e29d;
  }
  
  .light img {
    margin-top: 30px;
    margin-bottom: -140px;
    width: 400px;
    height: 200px;
  }
  .project-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
    font-size: 14px;
      color: #424242
  }
  
  .project-meta i {
    margin-right: 6px;
    color: #424242; 
    font-size: 14px;
  }
   .project-meta span {
    color: #424242; 
  }
  
  /* ===== Responsive buttons (intro + tabs) ===== */

/* لو عندك .buttons في الهيرو ومعاك .portfolio-buttons في ملف تاني — نوحِّد السلوك */
.portfolio-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.buttons .btn,
.portfolio-buttons .btn {
  white-space: nowrap;
}

/* تبويب التابات – الديفولت */
.p-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.p-tab-btn{
  border:1px solid #3a3a3a;
  background:transparent;
  color:#ccc;
  padding:10px 16px;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease;
  font-weight:600;
  letter-spacing:.2px;
}
.p-tab-btn:hover{ transform:translateY(-1px); }
.p-tab-btn.active{
  background:#111; color:#00ff88; border-color:#00ff88;
  box-shadow:0 0 0 2px rgba(0,255,136,.08) inset;
}

/* ===== Breakpoints ===== */

/* لابتوب متوسط – صغّر البادينج والخط */
@media (max-width: 1200px){
  .p-tab-btn{ padding:9px 14px; font-size:15px; }
}

/* تابلت – خليه Grid عمودين ووسّع الأزرار */
@media (max-width: 992px){
  .p-tabs{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 700px;
    margin-inline: auto;
  }
  .p-tab-btn{
    width: 100%;
    text-align: center;
    padding: 10px 12px;
  }

  /* هيرو أزرار */
  .buttons .btn,
  .portfolio-buttons .btn{
    padding: 12px 18px;
  }

  /* حبة ضبط للسجريد جوه البورتفوليو */
  .projects-grid{
    padding: 0 20px;
    gap: 20px;
  }
}

/* موبايل – عمود واحد */
@media (max-width: 576px){
  .p-tabs{
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    padding-inline: 16px;
  }
  .p-tab-btn{
    width: 100%;
    font-size: 14px;
    padding: 10px 12px;
  }

  /* أزرار الهيرو والمزيد */
  .buttons .btn,
  .portfolio-buttons .btn,
  .see-more .btn{
    width: 100%;
    max-width: 420px;
  }

  /* كاردات أصغر شوية */
  .project-card img{
    height: 160px;          /* كان 180 */
  }
  .projects-grid{
    padding: 0 14px;
    gap: 16px;
  }
}

/* شاشات صغيرة جداً */
@media (max-width: 360px){
  .p-tab-btn{ font-size: 13px; padding: 9px 10px; }
}

