.partners-section {

    width: 100%;
    height: 100%;
    text-align: right;
    /* margin-top: -100px; */






    h1 {
        font-size: 40px;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 50px;
        z-index: 5;


        @media (max-width: 768px) {
          font-size: 32px;
          padding-right: 10px;
          
      }
    }

    .partners-card {
      width: 100%;
        display: grid;
        flex-wrap: wrap;
        direction: rtl;
        grid-template-columns: repeat(4, 25%);  
        


        @media (max-width: 768px) {
            grid-template-columns: repeat(2, 1fr);
         }

        .partners-card-content {
            background: var(--primary-color);
            border-radius: 20px;
            width: 100%;                     
            height: 90px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            z-index: 5;
            cursor: pointer;

            @media (max-width: 768px) {
                min-width: 140px;
                height: 45px;
                border-radius: 10px;
             }

            

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 20px;
            }
        }
    }
}



.card {
    position: relative;
    /* width: 100%; */
    height: 100px;
    border-radius: 24px;
    z-index: 1111;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    transition: all 0.5s ease;
    z-index: 1000;
    margin: 5px;



    @media (max-width: 768px) {
      /* min-width: 150px; */
      height: 50px;
   }
    /* box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff; */
    ;

    &:hover {
        transform: scale(1.05);
        transition: all 0.5s ease;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    }   
  }
  
  .bg {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 190px;
    height: 240px;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    border-radius: 10px;
    overflow: hidden;
    outline: 2px solid white;
  }
  
  .blob {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 1;
    filter: blur(12px);
    animation: blob-bounce 1s infinite ease;
  }
  
  @keyframes blob-bounce {
    0% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  
    25% {
      transform: translate(-100%, -100%) translate3d(100%, 0, 0);
    }
  
    50% {
      transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
    }
  
    75% {
      transform: translate(-100%, -100%) translate3d(0, 100%, 0);
    }
  
    100% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  }
  


  /* button */

  .button {
    position: relative;
    width: 200px;
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--secondary-color);
    transition: all 0.2s ease;
    z-index: 5;
    font-size: 16px;
    font-weight: 700;
    margin-top: 50px;
    transition: all 0.5s ease;

    &:hover {
        /* background-color: var(--primary-color); */
        color: var(--tertiary-color);
        transform: scale(1.05);
        transition: all 0.5s ease;
    }
  }
  
  .button:active {
    transform: scale(0.95);
    transition: all 0.5s ease;
  }
  
  .button:before,
  .button:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -500;
    background-repeat: no-repeat;
  }
  
  .button:hover:before {
    top: -70%;
    background-image: radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, transparent 20%, var(--secondary-color) 20%, transparent 30%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, transparent 10%, var(--secondary-color) 15%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
      10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: orangeTopBubbles 0.6s ease;
  }
  
  @keyframes orangeTopBubbles {
    0% {
      background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
        40% 90%, 55% 90%, 70% 90%;
    }
  
    50% {
      background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
        50% 50%, 65% 20%, 90% 30%;
    }
  
    100% {
      background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
        50% 40%, 65% 10%, 90% 20%;
      background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
  }
  
  .button:hover::after {
    bottom: -70%;
    background-image: radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, transparent 10%, var(--secondary-color) 15%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%),
      radial-gradient(circle, var(--secondary-color) 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: orangeBottomBubbles 0.6s ease;
  }
  
  @keyframes orangeBottomBubbles {
    0% {
      background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
        70% -10%, 70% 0%;
    }
  
    50% {
      background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
        105% 0%;
    }
  
    100% {
      background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
        110% 10%;
      background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
  }