/* السلايدر المتحرك في بداية الصفحة الرئيسية */
.home-slide-view {
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px 0;
    position: relative;
  }

  .home-slide-view::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10%);
    background-size: 25px 25px;
    transform: rotate(30deg);
    animation: backgroundMove 60s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 500px 500px;
    }
}

  .swiper-container {
    width: 100%;
    height: auto;
  }

  .slide-content {
    border-radius: 20px;
    padding: 50px 0;
    transition: transform 0.5s ease-in-out;
  }

  

  .content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  
  .content-side h1,
  .content-side h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
  }

  .content-side p {
    font-size: 1.1rem;
    color: #dfdfdf;
    margin-bottom: 30px;
  }

  .img-content {
    text-align: center;
  }

  .img-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #007bff;
    opacity: 0.5;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: #007bff;
  }

  @media (max-width: 768px) {
    .swiper-slide {
      text-align: center;
    }
  }


.btn {
  margin-bottom: 30px;
}
/* العداد في المعهد التعليمي################################ */


  .counter-home {
    background-color: var(--background-color);
    padding: 30px 0;
    text-align: center;
  }

  .counter-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
  }

  .counter-content.animated {
    opacity: 1;
    transform: translateY(0);
  }

  .counter-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
  }

  .counter-content.animated::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
  }

  .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
  }

  .counter-content.animated .icon {
    transform: scale(1.1);
    color: #ffffff;
  }

  .text h4 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
  }

  .counter {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
  }

  .text-container {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0;
    font-weight: 500;
  }

  @media (max-width: 768px) {
    .counter-content {
      padding: 10px;
    }

    .icon {
      font-size: 1.5rem;
    }

    .text h4,
    .counter {
      font-size: 1.5rem;
    }

    .text-container {
      font-size: 0.7rem;
    }
  }




/* قسم ما الجديد في المعهد التعليمي */
.agl-new-sec {
    padding: 50px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
  }

  
  .agl-new-sec .agl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .agl-new-sec .agl-pos-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
  }

  .agl-new-sec .agl-sec-title h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: clamp(25px, 2vw, 33px);
  }

  .agl-new-sec .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .agl-new-sec .col-md-4 {
    padding: 15px;
  }

  .agl-new-sec .agl-content-pro {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .agl-new-sec .agl-content-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .agl-new-sec .agl-img-content {
    text-align: center;
    padding: 20px;
  }

  .agl-new-sec .agl-img-content img {
    max-width: 100%;
    height: auto;
    /* border-radius: 20px; */
  }

  .agl-lazyload {
    border-radius: 20px;
  }

  .agl-new-sec .agl-box {
    padding: 20px;
    text-align: center;
  }

  .agl-new-sec .agl-box h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
  }