
    .activities {
      padding: 50px 20px;
      max-width: 1200px;
      margin: auto;
    }

    .activities-title {
      font-size: 2.2em;
      color: #004080;
      text-align: center;
      margin-bottom: 10px;
    }

    .activities-intro {
      text-align: center;
      max-width: 700px;
      margin: 0 auto 20px;
      font-size: 1.1em;
    }

    .quote {
      text-align: center;
      color: #888;
      margin-bottom: 40px;
      font-size: 1.2em;
    }

    .activity-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 25px;
    }

    .activity-card {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: all 0.4s ease;
      text-align: center;
    }

    .activity-card:hover {
      transform: scale(1.05) rotate(-1deg);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .activity-card img {
      max-width: 100px;
      margin-bottom: 15px;
    }

    .activity-card h3 {
      color: #004080;
      margin-bottom: 10px;
    }

    .activity-card p {
      color: #444;
    }
    /* Overlay */
#img-zoom-overlay {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#img-zoom-overlay img {
  max-width: 100%;
  max-height: 95%;
  border-radius: 15px;
  object-fit: contain;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
#zoom-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}


/* ==== Grade Card ==== */
.grade-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px;
  border-radius: 15px;
  position: relative;
  flex-wrap: wrap;
  background: #f9f9f9;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* النص */
.grade-text {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 20px;
}

.grade-text h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: #333;
}

.grade-text .date {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.more-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: #ff6b6b;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.more-btn:hover {
  background: #e85c5c;
}

/* الصور */
.grade-images-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.grade-image {
  width: 280px;
  height: 280px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.grade-image.left { transform: rotate(-8deg); }
.grade-image.right { transform: rotate(8deg); }

.grade-image:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* موبايل */
@media (max-width: 800px) {
  .grade-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .grade-text {
    margin: 0 0 20px;
    max-width: 100%;
  }
  .grade-image {
    width: 160px;
    height: 160px;
  }
}



.hidden-video { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.show-video { opacity: 1; transform: translateY(0); }

.hidden-text { opacity: 0; transform: translateX(-150px); transition: all 1s ease; }
.show-text { opacity: 1; transform: translateX(0); transition: all 1s ease-in-out; }

.hidden { opacity: 0; transform: translateY(130px); transition: all 1s ease; }
.show-img { opacity: 1; transform: translateY(0); }



  .hidden-video {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
  }

  .show-video {
    opacity: 1;
    transform: translateY(0);
  }

  .hidden-text {
    opacity: 0;
    transform: translateX(-150px);
    transition: all 1s ease;
  }

  .show-text {
    opacity: 1;
    transform: translateX(0);
  }
  .hidden {
    opacity: 0;
    transform: translateY(130px);
    transition: all 1s ease;
  }

  .show-img {
    opacity: 1;
    transform: translateY(0);
  }

  .show-text {
    opacity: 1;
    transform: translateX(0);
    transition: all 1s ease-in-out ;
  }

  #art-text {
    transform: translateX(0);
  }













  
/* ==== بوست ==== */
.post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 15px;
  max-width: 700px;
  margin: 20px auto;
  font-family: sans-serif;
}

/* التاريخ */
.post-header .date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

/* المحتوى */
.post-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

/* الصور */
.post-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.post-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.post-images img:hover {
  transform: scale(1.03);
}

  
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;                
  pointer-events: none;       
  transition: opacity 0.4s ease; 
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto; 
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255,255,255,0.2);
  transform: scale(0.9);   
  transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);  
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover {
  color: #ff6b6b;
}
