.translation-container {
  max-width: 1640px;
  margin: 0 auto;
  background-color: #fff;
}

.translation-section {
  margin-bottom: 60px;
}

.section-title {
  color: #000;
  margin-bottom: 75px;
  font: 400 60px/64px "Tilda Sans", sans-serif;
  font-family: 'TildaSans', Arial, sans-serif;
}

.cards-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
}
@media (min-width: 1501px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 19px 20px;
  }
.translation-card1 {
  width: 443px!important;
  max-width: 482px!important;
  /* height: 354px; */
  /* width: 100%; */
  min-height: 274px!important;
  border-radius: 15px;
  /* height: 100%; */
  padding: 40px;
  box-shadow: 424px 256px 139px 0px rgba(0, 0, 0, 0),
272px 164px 127px 0px rgba(0, 0, 0, 0.01),
153px 92px 107px 0px rgba(0, 0, 0, 0.05),
68px 41px 79px 0px rgba(0, 0, 0, 0.09),
17px 10px 44px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  cursor: pointer;
  flex-direction: column;
}}

@media (max-width: 1500px) {
  .translation-card1 {
    width: 443px!important;
    height: 100%!important;
    /* width: 100%; */
    min-height: min-content!important;
    border-radius: 15px;
    /* height: 100%; */
    padding: 40px;
    box-shadow: 424px 256px 139px 0px rgba(0, 0, 0, 0),
272px 164px 127px 0px rgba(0, 0, 0, 0.01),
153px 92px 107px 0px rgba(0, 0, 0, 0.05),
68px 41px 79px 0px rgba(0, 0, 0, 0.09),
17px 10px 44px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
    flex-direction: column;
}}

.language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.flag-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flag-icon {
  width: 20px;
  height: 16px;
  object-fit: cover;
}

.lang-code {
  letter-spacing: 0.32px;
  color: #000;
  font: 600 16px/19px "Tilda Sans", sans-serif;
  font-family: 'TildaSans', Arial, sans-serif;
}

.card-title_projects {
    color: rgba(17, 24, 39, 0.9);
    font: 700 32px/48px "Tilda Sans", sans-serif;
    font-family: 'TildaSans', Arial, sans-serif;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    height: calc(1.3em * 4);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.arrow-icon {
  width: 24px;
  height: 33px;
}

@media (max-width: 991px) {
  .section-title {
    font-size: 48px;
    line-height: 52px;
  }

  .cards-grid {
    gap: 20px;
  }

  .translation-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .translation-container {
    padding: 20px;
  }

  .section-title {
    font-size: 36px;
    line-height: 40px;
  }

  .cards-grid {
    gap: 15px;
  }

  .translation-card {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .card-title_projects {
    font-size: 24px;
    line-height: 32px;
  }
}
.office-name {
  flex-grow: 1;
  padding: 9px 14px 9px 14px!important;
  font-family: 'TildaSans', Arial, sans-serif;
}
.office-button2 {
    border-radius: 15px;
    background-color: rgba(0, 160, 221, 1);
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: #ffff;
    text-align: center;
    letter-spacing: 0.32px;
    line-height: 1;
    padding: 10px;
    border: 0;
    margin-bottom: 71px;
    margin-top: 67px;
}
.navigation-dropdown {
  position: relative;
  display: inline-block;
}
.navigation-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content_nav {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 233px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 63%;
    border-radius: 18px;
    padding: 10px;
    font-size: 16px;
}
.dropdown-content_nav1 {
  display: none;
  position: absolute;
  background-color: #1386BF;
  min-width: 260px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 101%;
  border-radius: 5px 5px 18px 18px;
  padding: 10px;
  font-size: 16px;
}
.dropdown-content_nav a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content_nav1 span {
  color: #ffffffa1;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 16px;
  line-height: 17px;
}

.dropdown-content_nav1 span:hover {
  color: #ffff;
  cursor: pointer;
}

.dropdown-content_nav a:hover {
  background-color: #f1f1f1;
}

.show {
  display: block;
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  ;
}
@media (min-width: 1501px){
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 58%;
  width: auto;
  position: relative;
  margin: 20px;
  margin: auto;
  overflow-y: auto;
  z-index: 9999;
}}
@media (max-width: 1500px){
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  width: auto;
  position: relative;
  margin: 20px;
  margin: auto;
  overflow-y: auto;
  z-index: 9999;
}
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}
.aviation-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 28px 23px 19px;
    /* width: 100%; */
    /* max-width: 1378px; */
    margin: 0 auto;
}
  .aviation-content {
    position: relative;
  }
  .close-icon {
    position: absolute;
    right: 20px!important;
    top: -26px!important;
}
  .close-button {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
  .project-description {
    color: #000;
    margin-bottom: 17px;
    font: 17px/19px "Tilda Sans", sans-serif;
    font-family: 'TildaSans', Arial, sans-serif;
}

.section-headers {
  display: flex;
  justify-content: space-between;
  max-width: 57%;
  color: #000;
  margin-bottom: 16px;
  font: 20px/12px "Tilda Sans", sans-serif;
  font-family: 'TildaSans', Arial, sans-serif;
}
  .content-columns {
    display: flex;
    gap: 20px;
  }
  .original-column {
    width: 33%;
  }
  .original-image {
    width: 470px;
    height: auto;
    object-fit: contain;
  }
  .translation-column {
    width: 66%;
  }
  .translation-content {
    border: 1px solid #e5e7eb;
    padding: 12px 22px 23px;
}
  .translation-title {
    color: #000;
    margin-bottom: 24px;
    font: 18px/23px "Tilda Sans", sans-serif;
    font-family: 'TildaSans', Arial, sans-serif;
  }
  .translation-text {
    color: #000;
    letter-spacing: 0.36px;
    font: 14px/17px "Tilda Sans", sans-serif;
    font-family: 'TildaSans', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}
  @media (max-width: 991px) {
    .aviation-container {
      padding: 28px 20px 73px;
    }
    .content-columns {
      /* flex-direction: column; */
    }
    .original-column,
    .translation-column {
      width: 100%;
    }
    .translation-content {
      padding: 20px;
    }
  }
  @media (max-width: 640px) {
    .aviation-container {
      padding: 20px 10px;
    }
    .project-description {
      font-size: 20px;
      line-height: 24px;
    }
    .section-headers {
      flex-direction: column;
      gap: 10px;
    }
    .translation-content {
      padding: 15px;
    }
  }
  @media (max-width: 1500px) {
    .original-image {
      width: 364px!important;
      height: auto;
      object-fit: contain;
  }
  .section-headers {
    display: flex;
    justify-content: space-between;
    max-width: 64%;
    color: #000;
    margin-bottom: 16px;
    font: 20px/12px "Tilda Sans", sans-serif;
    font-family: 'TildaSans', Arial, sans-serif;
}
  }
/*новые (6марта)*/
.language-card {
  padding: 42px 56px 66px!important;
}

.cta-button {
  margin-top: 25px!important;
}

.hero-container {
  padding: 140px 0px 76px!important;
}

.criteria-list {
  margin-left: 15px!important;
}

.comparison-subtitle {
  /* color: rgb(17 24 39 / 60%)!important; */
}
.related-services__order-button2 {
  margin-left: 40px;
}
.cost-terms-button-wrapper {
  margin-top: -15px!important;
}
.related-services button {
  margin-left: 40px!important;
}
.related-services {
  padding-bottom: 53px!important;
  padding-left: 0!important;
}
.tag {
  padding: 2px 15px!important;
}
.graphic_layout41, .title-column-legal {
  width: 28%;
}
.title-column-pharmaceutical {
  width: 29%!important; 
}
.title-column-graphic-layout {
  width: 28%!important;
  display: flex;
  flex-direction: column;
}
.text-column {
  width: 56%!important;
}
.content-container-legal {
  gap: 154px;
}
.gap-style {
  /* gap: 42px; */
}
.language-container {
  display: flex;
  gap: 32px;
  padding: 40px 20px;
}
.translators-container {
  padding-left: 0!important;
}
.translation-container-service, .language-container, .comparison-content {
  padding: 0!important;
  margin: 90px 0 70px 0!important;
}
.achievements-container, .formatting-section {
  /* padding-left: 0!important; */
  /* background-color: inherit!important; */
}
.section-title {
  margin-top: 0!important;
}
.translators-title {
  margin-top: 60px !important;
}
.translation-services-wrapper {
  left: 10px!important;
}
.language-cards {
  padding: 0!important;
  margin: 20px 0!important;
}
.spec-cards-container {
  padding: 40px 0!important;
}
.spec-value {
  margin-top: -48px!important;
}
.language-cards-container {
  padding: 20px 0!important;
}
.content-wrapper {
    flex-direction: row!important;
    flex-wrap: wrap!important;
    justify-content: center!important;
}
.pricing-download-image {
  cursor: pointer; 
}
/* .order-button {
  padding-top: 13px!important;
} */

.quote-wrapper {
  /* flex-wrap: wrap!important; */
}
.quote {
  white-space: nowrap!important;
}
.quote-context {
    display: block; /* Заставляет текст в .quote-context быть на новой строке */
    width: 100%; /* Обеспечивает, чтобы .quote-context занимал всю ширину */
}

@media (min-width: 1056px) and (max-width: 1260px) {
  .spec-card {
    height: 650px;
  }
}