.alliances {
  margin-bottom: 112px;
}

.alliances .rows {
  margin-bottom: 112px;
}

.alliances .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  position: relative;
}

.alliances .row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  /* left: 50px; */
}

.alliances .company-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.alliances .company-title h3 {
  font-size: 24px;
  color: var(--secondary-color);
}

.alliances .company-title a {
  color: var(--primary-color);
  font-size: 14px;
  transition: all 0.4s ease-in;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.alliances .company-title a img {
  transform: translateY(4px);
}
[dir="rtl"] .alliances .company-title a img
{
    transform:translateY(4px) rotate(180deg);
}

.alliances .company-title a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.alliances .client-logo {
  /* box-shadow: 0px 0px 5px 5px #9795b533; */
  max-width: 330px;
  width: 100%;
  height: 160px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary-color);
  background-color: #fff;
  padding: 40px;
  position: relative;
  transition: all 0.2s ease-in;
  z-index: 1;
}

.alliances .client-logo:hover {
  scale: 1.03;
  transition: all 0.2s;
  /* box-shadow: 1px 1px 5px 5px #9795b533; */
}

.alliances p {
  font-size: 18px;
  color: #9795b5;
  word-wrap: break-word !important;
  word-break: break-word !important;
  line-height: 30px;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

.alliances-description {
  margin: 50px 0;
  color: #9795b5;
  flex: 1;
  text-align: center;
  font-size: 18px;
  line-height: 30px;
}

/* Media queries for min-width: 1367px */
@media screen and (min-width: 1367px) {
  .alliances .row {
    left: 50px;
  }
}

/* Specific styling for alliances-description paragraphs */
.alliances-description p {
  color: var(--secondary-color);
  text-align: justify;
  text-align-last: center;
}

/* Media query for min-width: 1266px */
@media screen and (min-width: 1266px) {
  .alliances-description {
    background-color: #ffffff88;
    padding: 48px;
  }
  .alliances-sab {
    background-image: url('../images/sab.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: -7%;
  }
}

/* Media query for max-width: 768px */
@media screen and (max-width: 768px) {
  .alliances .rows {
    &.shape-pattern.pattern-1 .container::before {
      display: none;
    }
    &.shape-pattern.pattern-2 .container::before {
      display: none;
    }
  }
  .alliances .row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
    left: 0;
  }
  .alliances .client-logo {
    height: 124px;
    padding: 30px;
  }
}
