.container-background {
  background-image: url("../public/images/index-title-background.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.default-background {
  background-image: url("../public/images/index-areas.svg");
  background-repeat: no-repeat;
  background-position: center;
}

/* section headline */

.slogan {
  padding-top: 30px;
  text-align: center;
}

.slogan-headline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 14px;
}

.slogan-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.slogan-news {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 14px;
}

.slogan-img img {
  width: 22px;
  height: 22px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #ffffff;
}

.slogan-link {
  color: inherit;
  transition: transform 0.3s ease;
}

.slogan-link:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
}

.link {
  text-decoration: underline;
  color: inherit;
}

.slogan-text {
  font-family: "Stapel Light", sans-serif;
  font-size: 12px;
  line-height: 110%;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.slogan-text span {
  font-family: "Stapel Medium", sans-serif;
  font-size: 16px;
}

.slogan-title {
  font-family: "Stapel Medium", sans-serif;
  font-size: 29px;
  line-height: 110%;
  margin-bottom: 14px;
}

.title-color {
  font-family: "Stapel Medium", sans-serif;
  font-size: 29px;
  line-height: 110%;
  color: #1a63ff;
}

.slogan-subtitle {
  font-family: "Stapel Regular", sans-serif;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 140%;
}

.contact-btn {
  font-family: "Stapel Medium", sans-serif;
  font-size: 16px;
  line-height: 110%;
  color: #ffffff;
  background-color: #1a63ff;
  max-width: 320px;
  height: 60px;
  padding: 6px 6px 6px 30px;
  border-radius: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  gap: 10px;
}

.circle {
  background-color: #eef8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.arrow {
  width: 12px;
  height: 12px;
}

/* section expertise */

.section-caption {
  display: inline-block;
  font-family: "Stapel Regular", sans-serif;
  font-size: 16px;
  line-height: 120%;
  color: #1a63ff;
  text-transform: uppercase;
  border: 1px solid #1a63ff;
  border-radius: 50px;
  padding: 8px 16px 7px 16px;
  margin-bottom: 13px;
}

.section-headind {
  margin-bottom: 30px;
}

.section-title {
  font-family: "Stapel Medium", sans-serif;
  font-size: 28px;
  line-height: 100%;
}

.expertise-block {
  background-color: #1c2131;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  padding: 80px 20px 10px 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.expertise-fastfood img {
  max-width: 40%;
  margin-top: -60px;
  margin-bottom: 20px;
}

.expertise-fitness img,
.expertise-water img {
  max-width: 70%;
  max-height: 280px;
  margin-top: -200px;
  display: block;
  margin-bottom: 16px;
  opacity: 40%;
}

.expertise-block p {
  margin-bottom: 10px;
}

.expertise-title {
  font-family: "Stapel Regular", sans-serif;
  font-size: 24px;
  line-height: 120%;
  color: #ffffff;
  margin-bottom: 20px;
}

.expertise-text {
  font-family: "Stapel Regular", sans-serif;
  font-size: 16px;
  line-height: 140%;
  color: #8893a7;
}

/* section cases */

.cases {
  padding-top: 15px;
}

.link-without-styles {
  text-decoration: none;
  color: inherit;
}

.case-1 {
  width: 100%;
  height: 100%;
  border: 1px solid #e4e5e7;
  padding: 10px;
  border-radius: 40px;
  color: #ffffff;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-container-1 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-radius: 40px;
  padding: 20px;
  background-image: url(../public/images/case-dodo-mini.jpg);
  background-size: cover;
  background-position: center;
}

.case-1:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-title-1 {
  width: 80%;
  font-family: "Stapel Medium", sans-serif;
  font-size: 24px;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.case-text-1 {
  width: 80%;
  font-family: "Stapel Regular", sans-serif;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 20px;
}

.case-tags-1 {
  display: flex;
  gap: 10px;
  margin-bottom: 84px;
}

.case-tag-1 {
  font-family: "Stapel Regular", sans-serif;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: #f3f3f3;
  padding: 6px 12px;
  border: 1px solid #f3f3f3;
  border-radius: 50px;
}

.section-headind {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: "Stapel Medium", sans-serif;
  font-size: 28px;
  line-height: 120%;
  color: #0f172b;
  margin-bottom: 20px;
}

.case-catalog {
  display: grid;
  justify-self: center;
  grid-template-columns: 1fr;
  gap: 20px;
}

.case {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e4e5e7;
  border-radius: 40px;
  padding: 10px 10px 20px 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.case-img-container {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  margin-bottom: 20px;
}

.case-buzzols .case-img-container {
  background-image: url(../public/images/case-buzzols-mini.jpg);
}

.case-vodovoz .case-img-container {
  background-image: url(../public/images/case-vodovoz-mini.jpg);
}

.case-kometa .case-img-container {
  background-image: url(../public/images/case-kometa-mini.jpg);
}

.case-levsha .case-img-container {
  background-image: url(../public/images/construction-img-02.jpg);
}

.case-greentrees .case-img-container {
  background-image: url(../public/images/case-trees-mini.jpg);
}

.case-medical .case-img-container {
  background-image: url(../public/images/case-dispanser-mini.jpg);
}

.case-description {
  padding: 0 10px;
}

.case-title {
  font-family: "Stapel Medium", sans-serif;
  font-size: 24px;
  line-height: 120%;
  text-transform: uppercase;
  color: #0f172b;
  margin-bottom: 14px;
}

.case-text {
  font-family: "Stapel Regular", sans-serif;
  font-size: 16px;
  line-height: 140%;
  /* color: #8893a7; */
  color: rgb(59 63 71);
  margin-bottom: 20px;
}

.case-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.case-tag {
  font-family: "Stapel Regular", sans-serif;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: #8893a7;
  padding: 6px 12px;
  border: 1px solid #8893a7;
  border-radius: 50px;
}

.contact-tg {
  padding: 13px 13px;
  max-width: 280px;
}

.ref-container {
  display: flex;
  justify-content: center;
}

.allcases-btn {
  font-family: "Stapel Medium", sans-serif;
  font-size: 14px;
  line-height: 110%;
  color: #8893a7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 197px;
  padding: 8px 8px 8px 20px;
  margin: 0 auto;
  border: 1px solid #e4e5e7;
  border-radius: 70px;
}

.allcases-btn img {
  padding: 13px;
  background-color: #e4e5e7;
  border-radius: 50%;
}

/* section founders */

.founders-img-container {
  border: 1px solid #e4e5e7;
  padding: 8px;
  border-radius: 30px;
  width: 100%;
  margin-bottom: 20px;
}

.founders-img-container img {
  border-radius: 25px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.founders-description {
  font-family: "Stapel Regular", sans-serif;
  font-size: 16px;
  line-height: 140%;
  /* color: #8893a7; */
  color: rgb(59 63 71);
  margin-bottom: 34px;
}

.founders-description-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founders-description-column a {
  color: #8893a7;
  text-decoration: underline;
}

.dodo-img {
  margin-bottom: 20px;
}

.founders-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founders-promo .more-btn {
  font-size: 20px;
}

.slider-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
}

.slider {
  position: relative;
  width: 300px;
  overflow: hidden;
}

.slides {
  position: relative;
  display: flex;
  transition: left 300ms ease-in-out;
  will-change: left;
}

.slide {
  display: flex;
  width: 300px;
  flex-shrink: 0;
  user-select: none;
  will-change: box-shadow;
}

.slide.active {
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);
}

.slide img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 200ms ease-in-out;
}

.slider-button:hover {
  opacity: 1;
}

.slider-button.prev {
  left: 8px;
}

.slider-button.next {
  right: 8px;
}

@media (min-width: 768px) {
  /* #region headline */
  .slogan {
    padding-top: 70px;
  }

  .slogan-title {
    font-family: "Stapel Medium", sans-serif;
    font-size: 72px;
    margin-bottom: 20px;
  }

  .title-color {
    font-size: 60px;
  }

  .slogan-subtitle {
    font-family: "Stapel Light", sans-serif;
    font-size: 26px;
  }

  .contact-btn {
    font-size: 18px;
    width: 303px;
    height: 70px;
    padding: 8px 8px 8px 32px;
  }

  .circle {
    width: 54px;
    height: 54px;
  }

  .arrow {
    width: 14px;
    height: 14px;
  }

  /* #endregion  */

  /* #region cases */

  .case-catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  /* #endregion cases */

  /* #region founders */

  .founders {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .founders-promo {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .founders-img-container {
    height: 500px;
    padding: 10px;
  }

  .founders-img-container img {
    width: 100%;
    height: 100%;
    object-position: top;
  }

  /* #endregion founders */
}

@media (min-width: 920px) {
  /* section expertise */
  .expertise-block {
    background-color: #1c2131;
    border-radius: 40px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 30px 250px 30px 40px;
    overflow: hidden;
    position: relative;
    gap: 20px;
  }

  .expertise-title {
    max-width: 33%;
    margin-bottom: 0;
  }

  .expertise-text-block {
    max-width: 60%;
  }

  .expertise-fastfood img {
    display: block;
    position: absolute;
    right: 50px;
    max-height: 130px;
    top: 45%;
    /* margin-top: -20px; */
    align-items: center;
  }

  .expertise-fitness img,
  .expertise-water img {
    display: block;
    position: absolute;
    bottom: 20px;
    right: 10px;
    max-width: 70%;
    max-height: 280px;
    margin-bottom: -200px;
  }

  .section-headind {
    margin-bottom: 50px;
  }

  .section-caption {
    font-size: 18px;
    line-height: 120%;
    padding: 8px 20px 6px 20px;
    margin-bottom: 20px;
  }

  .section-title {
    font-family: "Stapel Medium", sans-serif;
    font-size: 50px;
    line-height: 100%;
  }

  /* #region slider */

  .slider {
    position: relative;
    width: calc(250px * 3);
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .slide {
    width: 250px;
  }

  .slide.active {
    transform: scale(1.1);
  }

  /* #endregion slider */
}

@media (min-width: 1024px) {
  /* .container {
    max-width: 80%;
  } */

  .expertise-text {
    font-size: 18px;
  }

  .case-catalog {
    grid-template-columns: repeat(3, 1fr);
    /* Три колонки */
  }

  .case-title-1 {
    width: 70%;
    font-family: "Stapel Medium", sans-serif;
    font-size: 39px;
  }

  .case-text-1 {
    font-size: 18px;
    width: 70%;
    font-family: "Stapel Regular", sans-serif;
  }

  .case-text {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  /* .container {
    max-width: 50%;
  } */

  /* section expertise */
  .expertise-title {
    max-width: 40%;
  }

  .expertise-text-block {
    max-width: 50%;
  }

  .case-catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* #region slider */

  .slider {
    width: calc(300px * 3);
  }

  .slide {
    width: 300px;
  }

  /* #endregion slider */
}

@media (min-width: 1400px) {
  /* section expertise */
  .expertise-title {
    max-width: 33%;
  }

  .expertise-text-block {
    max-width: 60%;
  }

  /* section cases */
  .case-catalog {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .case-1 {
    grid-column: span 2;
  }

  .case-1 + .case {
    grid-column: span 1;
  }

  .case-1 + .case + .case,
  .case-1 + .case + .case + .case,
  .case-1 + .case + .case + .case + .case {
    grid-column: span 1;
  }

  /* section founders */
  .founders-description {
    display: flex;
    gap: 20px;
    font-size: 18px;
  }
}

@media (min-width: 1550px) {
  /* #region slider */

  .slider {
    width: calc(350px * 3);
  }

  .slide {
    width: 350px;
  }

  /* #endregion slider */
}
