/* new styles */

:root {
  --header-height: 90px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* partners hero */
.p-hero {
  width: 100%;
  overflow: hidden;
  height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
}
.p-hero > .container {
  height: 100%;
}
.p-hero__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.p-hero__l {
  max-width: 755px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.p-hero__content .text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.p-hero__r {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  height: 100%;
  width: 50%;
  position: relative;
  overflow: hidden;
}
.p-hero__r::before,
.p-hero__r::after {
  content: "";
  height: 10%;
  width: 100%;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* .p-hero__r::before {
	top: 0;
	background: linear-gradient(
		180deg,
		var(--blue) 0%,
		rgba(255, 255, 255, 0) 100%
	);
}

.p-hero__r::after {
	bottom: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		var(--blue) 100%
	);
} */
.p-hero__mquee {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.p-hero__card {
  border-radius: 32px;
  background-color: rgba(0, 84, 162, 0.2);
  aspect-ratio: 260 / 124;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-hero__card img {
  display: block;
  max-width: 232px;
}
.p-hero__card:nth-child(odd) {
  background-color: rgba(118, 118, 118, 0.1);
}
.p-hero__mquee-line {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  animation: test 30s linear infinite;
  justify-content: space-between;
}
.p-hero__mquee.block2 .p-hero__mquee-line {
  animation: test2 30s linear infinite;
}
.p-hero__mquee {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  gap: 20px;
}
@keyframes test {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-100% - 20px));
  }
}
@keyframes test2 {
  from {
    transform: translateY(calc(-100% - 20px));
  }
  to {
    transform: translateY(0);
  }
}
/* partners hero */

/* one partner hero */
.p1-hero {
  /* height: 100vh; */
  padding-top: calc(var(--header-height) + 40px);
}
.p1-hero > .container {
  height: 100%;
}
.p1-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  height: 100%;
}
.p1-hero__l,
.p1-hero__img {
  width: 100%;
}
.p1-hero__img {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
}
.p1-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.p1-hero__l {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.p1-hero__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p1-hero__logo {
    display: flex;
    margin-bottom: 20px;
    aspect-ratio: 174 / 50;
    max-width: 174px;
    align-items: center;
}
/* one partner hero */

/* full video wrap */
.full-video__wrap {
  aspect-ratio: 1760 / 768;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
}
.full-video__wrap .video-block {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: unset;
  max-width: 100%;
  max-height: 100%;
}
/* full video wrap */

/* about one partner */
.about__partner-inner {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.about__partnet-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about__partnet-text-wrap p {
  font: inherit;
  color: inherit;
}
.about__partnet-text-wrap > :not(p) {
  display: none;
}
.about__partner-content {
  max-width: 65%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__partner-content .blue-button {
  margin-top: 20px;
}
/* about one partner */

/* four cards block */
.four-card__text {
  color: var(--white);
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.four-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.four-card__icon {
  width: 70px;
  height: 70px;
}
.four-card__icon > svg {
  width: 100%;
  height: 100%;
}
.four-card__outer {
  padding: 0px 20px;
  position: relative;
}
.four-card__outer::before,
.four-card__outer::after {
  content: "";
  pointer-events: none;
  position: absolute;
  width: 1px;
  height: 100%;
  display: block;
  background-color: rgba(255, 255, 255, 0.5);
  right: 0;
  top: 0;
}

.four-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.four-card__outer.card4::before,
.four-card__outer.card4::after {
  display: none;
}
.value-cards .four-card__outer::before,
.value-cards .four-card__outer::after {
  display: none;
}
/* four cards block */

/* team work */
.team-work__l {
  width: 45%;
  position: sticky;
  top: 50px;
}
.team-work__inner {
  gap: 40px;
  display: flex;
}
.team-work__list-item {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 24px 0px;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}
.team-work__list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.3);
}
.team-work__list {
  width: 55%;
}
/* team work */

/* together section */
.together__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 50px;
  border-radius: 32px;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}
.together__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.together__btns {
  display: flex;
  gap: 40px;
}
.together__content {
  max-width: 651px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
}
.together__content p {
  text-align: right;
}
/* together section */

/* new media */
@media screen and (max-width: 1800px) {
  .p-hero__l {
    max-width: 50%;
    gap: 80px;
  }
  .p1-hero__l {
    gap: 80px;
  }
  .p-hero__card {
    border-radius: 16px;
    padding: 5px;
  }
  .p-hero__r {
    gap: 20px;
  }
  :root {
    --header-height: 70px;
  }
  .four-card__text {
    font-size: 22px;
  }
  .team-work__list-item {
    padding: 20px 0px;
    gap: 30px;
  }
  .together__inner {
    padding: 40px;
  }
  .p1-hero__inner {
    gap: 20px;
  }
  .p1-hero__logo {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 1440px) {
  .together__inner {
    padding: 30px;
  }
  .together__content {
    max-width: 500px;
    gap: 20px;
  }
  .together__btns {
    gap: 20px;
  }
  .four-card__text {
    font-size: 18px;
  }
  .four-card__outer {
    padding: 0px 10px;
  }
  .four-card {
    padding: 20px;
    gap: 15px;
  }
  .p1-hero__l {
    gap: 60px;
  }
  .p1-hero__inner {
    justify-content: space-between;
  }
  /*.p1-hero__img {*/
  /*  width: 55%;*/
  /*}*/
  .p-hero__l {
    gap: 60px;
  }
}

@media screen and (max-width: 1220px) {
  .team-work__list-item {
    padding: 14px 0px;
    gap: 20px;
  }
  .team-work__list-icon {
    width: 30px;
    height: 30px;
  }
  .four-card__text {
    font-size: 16px;
  }
  .team-work__inner {
    gap: 20px;
  }
}

@media screen and (max-width: 1044px) {
  .team-work__inner {
    flex-direction: column;
    gap: 30px;
  }
  .p1-hero {
    padding-top: calc(var(--header-height) + 70px);
}
  .team-work__list,
  .team-work__l {
    width: 100%;
  }
  .section-head {
    gap: 10px;
  }
  .about__partner-inner {
    flex-direction: column;
    gap: 30px;
  }
  .about__partner-content {
    max-width: 100%;
  }
  .about__partner-content {
    gap: 10px;
  }
  .about__partnet-text-wrap {
    gap: 8px;
  }
  .full-video__wrap {
    border-radius: 16px;
  }
  .together__inner {
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
  }
  .four-card {
    padding: 10px;
    gap: 10px;
  }
  .four-cards {
    grid-template-columns: 1fr 1fr;
  }
  .four-card__outer {
    padding: 20px;
  }

  .four-card__outer.card1::after,
  .four-card__outer.card2::after {
    height: 1px;
    width: 100%;
    bottom: 0;
    top: unset;
  }
  .four-card__outer.card3::after,
  .four-card__outer.card2::before {
    display: none;
  }
  .four-card__outer.card1::before {
    height: calc(100% - 10px);
  }
  .four-card__outer.card3::before {
    height: calc(100% - 10px);
    bottom: 0;
    top: unset;
  }
  .p1-hero__img {
    border-radius: 16px;
  }
  .p-hero__inner {
    flex-direction: column;
    justify-content: center;
    gap: 100px;
  }
  .p-hero__l {
    width: 100%;
    max-width: 100%;
    gap: 50px;
    align-items: center;
  }
  .p-hero__r {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 60px);
    width: 100%;
    height: auto;
  }
  .p-hero__mquee.block3 {
    display: none;
  }
  .p-hero__mquee-line,
  .p-hero__mquee {
    flex-direction: row;
    gap: 15px;
  }
  @keyframes test {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - 15px));
    }
  }
  @keyframes test2 {
    from {
      transform: translateX(calc(-100% - 15px));
    }
    to {
      transform: translateX(0);
    }
  }
  .p-hero__content {
    text-align: center;
  }
  .p-hero__r {
    gap: 15px;
  }
  .p-hero__card {
    aspect-ratio: 135 / 60;
    padding: 0;
    width: 100%;
    max-width: 135px;
    height: auto;
    overflow: hidden;
    width: 135px;
  }
  :root {
    --header-height: 50px;
  }
  .p1-hero__img {
    /* aspect-ratio: 1; */
    flex: 1;
  }
  .p1-hero {
    height: auto;
  }
}

@media screen and (max-width: 840px) {
  .four-card__outer {
    padding: 10px;
  }
  .four-card__icon {
    width: 50px;
    height: 50px;
  }
  .together__top {
    flex-direction: column;
    gap: 10px;
  }
  .together__content p {
    text-align: left;
  }
  .together__content {
    align-items: center;
    max-width: 100%;
  }
  .together__btns {
    gap: 10px;
  }
  .p-hero__inner {
    gap: 60px;
  }
  .p1-hero__inner {
    display: grid;
    grid-template-columns: auto;
  }
  .p1-hero__l {
    width: 100%;
  }
  .p1-hero__img {
    width: 100%;
    height: 100%;
  }
  .p1-hero__l {
    gap: 30px;
  }
  .p1-hero__logo {
    max-width: 116px;
    margin-bottom: 10px;
  }
  .p1-hero__top {
    gap: 10px;
  }
  .p1-hero__img{
    height: auto;
  }
  .p1-hero__img img {
    width: 100%;
    height: auto;
    object-fit:contain;
    object-position: center;
  }
}

@media screen and (max-width: 640px) {
  .together__btns {
    flex-direction: column;
  }
  .together__btns .blue-button {
    width: 100%;
  }
  .p-hero__l {
    gap: 30px;
  }
  .p-hero__content {
    text-align: left;
  }
  .p-hero__l {
    align-items: flex-start;
  }
}
/* new media */
