/* hero section */
.hero-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.geo-icon-large {
  display: none;
}

.hero-aim-icon {
  width: 39.11px;
  height: 39.11px;
  flex-shrink: 0;
}

.hero-stars-icon {
  width: 19px;
  height: 19px;
}

.hero-description-text .hero-text-gray {
  color: #939393;
}

.hero-services {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
  margin-top: 24px;
  width: 100%;
}

.hero-service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px 26px;
  flex: 1;
  min-height: 277px;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.hero-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.51) 65%
  );
  z-index: 1;
}

.hero-card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-card-yandex {
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0) 30.74%,
      rgba(0, 0, 0, 0.51) 55.95%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%231a1a2e" width="400" height="300"/></svg>'),
    #000000;
  background-size: cover;
  background-position: center;
}

.hero-card-google {
  background:
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0) 25.48%,
      rgba(0, 0, 0, 0.51) 63.76%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%230f3460" width="400" height="300"/></svg>'),
    #000000;
  background-size: cover;
  background-position: center;
}

.hero-card-marketing {
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%2316213e" width="400" height="300"/></svg>'),
    #000000;
  background-size: cover;
  background-position: center;
}

.hero-card-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 52px;
  width: 100%;
  max-width: 343px;
  height: 100%;
  min-height: 223px;
  position: relative;
  z-index: 2;
}

.hero-service-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.hero-card-label {
  font-family: 'Roboto';
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-card-heading {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 32px, 29px);
  line-height: 110%;
  color: #ffffff;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-button-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  text-decoration: none;
  width: 117px;
  height: 36px;
  background: #ffffff;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  gap: 4px;
  transition: background 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-button-icon:hover {
  background: #f0efef;
}

.hero-button-icon:focus {
  background: #ffffff;
  outline: none;
}

.hero-button-icon:focus:hover {
  background: #edecec;
}

.hero-button-icon:active {
  background: #f4f4f4;
}

.hero-button-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(159, 159, 159, 0.5);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s,
    opacity 0.6s;
  opacity: 0;
}

.hero-button-icon:active::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition:
    width 0.3s,
    height 0.3s,
    opacity 0s;
}

.hero-button-text {
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #393939;
  text-decoration: none;
}

.hero-arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* media queries */
@media (min-width: 980px) and (max-width: 1280px) {
  .hero {
    padding: 42px 0 0 0;
  }

  .hero-header {
    gap: 32px;
  }

  .hero-title-container {
    max-width: 480px;
  }

  .hero-title-container {
    max-width: 1000px;
  }

  .hero-logo {
    width: 70px;
    height: 44px;
    position: relative;
    margin-right: 2px;
    top: 6px;
  }

  .hero-card-label {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-card-label::first-letter {
    font-size: 14px;
    font-weight: 400;
  }

  .hero-aim-icon {
    width: 28px;
    height: 28px;
    position: relative;
    top: 4px;
    left: -8px;
  }

  .hero-subheading {
    width: 360px;
  }

  .hero-description-text {
    font-size: 18px;
  }

  .hero-services {
    gap: 26px;
    margin-top: 24px;
  }

  .hero-service-card {
    min-height: 240px;
    padding: 22px 20px;
  }

  .hero-card-heading {
    font-size: 30px;
  }
}

@media (min-width: 720px) and (max-width: 1028px) {
  .hero {
    padding: 36px 0 0 0;
  }

  .hero-header {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }

  .hero-title-container {
    max-width: 100%;
  }

  .hero-logo {
    width: 68px;
    height: 42px;
    position: relative;
    top: 7px;
    margin-right: 6px;
  }

  .hero-aim-icon {
    width: 24px;
    height: 24px;
    position: relative;
    top: 2px;
    left: -8px;
  }

  .hero-subheading {
    margin-left: 29%;
  }

  .hero-description-text {
    font-size: 17px;
  }

  .hero-services {
    gap: 22px;
    margin-top: 30px;
    flex-direction: column;
  }

  .hero-service-card {
    min-height: 230px;
    padding: 24px 22px;
    border-radius: 28px;
  }

  .hero-card-heading {
    font-size: 28px;
  }

  .hero-card-label {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .hero-card-label::first-letter {
    font-size: 17px;
    font-weight: 400;
  }
}

@media (min-width: 480px) and (max-width: 720px) {
  .hero {
    padding: 12px 0 0 0;
  }

  .hero-header {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .hero-title-container {
    max-width: 100%;
    gap: 10px;
  }

  .hero-logo {
    width: 54px;
    height: 36px;
    position: relative;
    top: 8px;
    margin-right: 7px;
  }

  .hero-aim-icon {
    width: 20px;
    height: 20px;
    position: relative;
    top: 3px;
    left: -6px;
  }

  .hero-subheading {
    width: 75%;
    text-align: left;
    margin-left: auto;
  }

  .hero-stars-icon {
    width: 17px;
    height: 17px;
  }

  .hero-description-text {
    font-size: 15px;
    line-height: 115%;
  }

  .hero-services {
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
  }

  .hero-service-card {
    width: 100%;
    min-height: 210px;
    padding: 22px 20px;
    border-radius: 26px;
  }

  .hero-card-container {
    gap: 55px;
    max-width: 100%;
  }

  .hero-card-label {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-card-label::first-letter {
    font-size: 15px;
    font-weight: 400;
  }

  .hero-card-heading {
    font-size: 26px;
  }

  .hero-button-icon {
    width: 112px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 0 0 0;
  }

  .hero-header {
    flex-direction: column;
    gap: 20px;
  }

  .hero-logo {
    width: 50px;
    height: 28px;
    position: relative;
    top: 8px;
    margin-right: 6px;
  }

  .hero-title-container {
    max-width: 100%;
    gap: 10px;
  }

  .hero-title-wrapper {
    gap: 10px;
  }

  .hero-aim-icon {
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
    left: -6px;
  }

  .hero-subheading {
    width: 75%;
    margin-left: auto;
  }

  .hero-stars-icon {
    width: 16px;
    height: 16px;
  }

  .hero-description-text {
    font-size: 14px;
    line-height: 130%;
  }

  .hero-services {
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
  }

  .hero-service-card {
    width: 100%;
    max-height: 200px;
    min-height: 200px;
    padding: 20px 18px;
    border-radius: 24px;
  }

  .hero-card-container {
    gap: 0;
    max-width: 100%;
    max-height: 160px !important;
    min-height: 160px !important;
  }

  .hero-service-title {
    gap: 10px;
  }

  .hero-card-label {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .hero-card-label::first-letter {
    font-size: 13px;
    font-weight: 400;
  }

  .hero-card-heading {
    font-size: 24px;
    line-height: 115%;
    max-width: 200px;
  }

  .hero-button-icon {
    width: 110px;
    height: 34px;
    padding: 5px 8px;
  }

  .hero-button-text {
    font-size: 13px;
  }

  .hero-arrow-icon {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 1280px) and (max-width: 1616px) {
  .hero {
    padding: 34.66px 0 0 0;
  }

  .hero-header {
    gap: 26.66px;
    align-items: center;
  }

  .hero-title-container {
    max-width: 388.67px;
  }

  .hero-title-container {
    max-width: 1000px;
  }

  .hero-logo {
    width: 60.16px;
    height: 34.66px;
    position: relative;
    top: 15px;
  }

  .hero-subheading {
    width: 284.03px;
  }

  .hero-stars-icon {
    width: 12.67px;
    height: 12.67px;
  }

  .hero-description-text {
    font-size: 13.34px;
  }

  .hero-services {
    gap: 21.34px;
    margin-top: 24px;
  }

  .hero-service-card {
    min-height: 184.67px;
    padding: 18px 17.33px;
    border-radius: 22px;
  }

  .hero-card-container {
    gap: 54.67px;
    max-width: 228.67px;
    min-height: 148.67px;
  }

  .hero-service-title {
    gap: 9.33px;
  }

  .hero-card-label {
    font-size: 11.26px;
    letter-spacing: 0.16em;
  }

  .hero-card-label::first-letter {
    font-size: 12.8px;
    font-weight: 400;
  }

  .hero-card-heading {
    font-size: 28.16px;
    line-height: 110%;
  }

  .hero-button-icon {
    width: 103.6px;
    height: 30.4px;
    padding: 4.01px 6.67px;
    border-radius: 9px;
    gap: 2.66px;
  }

  .hero-button-text {
    font-size: 12.8px;
  }

  .hero-arrow-icon {
    width: 11.52px;
    height: 11.52px;
  }

  .hero-aim-icon {
    position: relative;
    top: 6px;
    width: 26.06px;
    height: 26.06px;
    margin-left: -14px;
  }
}

/* development services section */
.development-services-section {
  position: relative;
}

.section-header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 199px;
  margin-bottom: 45px;
}

.main-heading-title {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 100%;
  color: #393939;
  flex: none;
}

.section-description-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #939393;
  max-width: 426px;
}

.cards-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  position: relative;
}

.website-development-card-wrapper {
  position: relative;
  width: 100%;
  height: 328px;
}

.website-development-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.card-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 3.43%,
    rgba(0, 0, 0, 0.51) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.discount-badge-container {
  position: absolute;
  width: 107px;
  height: 49px;
  right: -2px;
  top: 47px;
  z-index: 10;
}

.flag {
  position: relative;
  width: 107px;
  height: 49px;
}

.flag svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
}

.flag-text {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 500;
  background: linear-gradient(to right, #434343, #4258be);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.telegram-app-card-wrapper {
  position: relative;
  width: calc((100% - 35px) / 2);
  height: 328px;
}

.telegram-app-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.telegram-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 0) 52.29%,
    rgba(0, 0, 0, 0.51) 94.66%
  );
  z-index: 1;
  pointer-events: none;
}

.mobile-applications-card-wrapper {
  position: relative;
  width: calc((100% - 105px) / 4);
  height: 440px;
}

.mobile-applications-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.mobile-app-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 53.98%,
    rgba(0, 0, 0, 0.51) 71.93%
  );
  z-index: 1;
  pointer-events: none;
}

.mobile-games-card-wrapper {
  position: relative;
  width: calc((100% - 105px) / 4);
  height: 440px;
}

.mobile-games-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.mobile-games-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 53.98%,
    rgba(0, 0, 0, 0.51) 71.93%
  );
  z-index: 1;
  pointer-events: none;
}

.tilda-development-card-wrapper {
  position: relative;
  width: calc((100% - 105px) / 4);
  height: 440px;
}

.tilda-development-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  margin-top: -110px;
  height: 100%;
  background: linear-gradient(
    360deg,
    #11111c 0%,
    #234578 46.15%,
    #006bdf 96.15%
  );
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.platform-icon-circle {
  position: absolute;
  width: 137px;
  height: 137px;
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.platform-icon-image {
  width: 138px;
  height: 138px;
  object-fit: contain;
}

.bitrix-development-card-wrapper {
  position: relative;
  width: calc((100% - 105px) / 4);
  height: 440px;
}

.bitrix-development-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  height: 100%;
  margin-top: -110px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 3.43%, rgba(0, 0, 0, 0.51) 100%),
    linear-gradient(360deg, #11111c 0%, #234578 46.15%, #006bdf 96.15%);
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.portal-development-card-wrapper {
  position: relative;
  width: calc((100% - 35px) / 2);
  height: 328px;
}

.portal-development-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.portal-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0) 62.72%,
    rgba(0, 0, 0, 0.51) 69.78%
  );
  z-index: 1;
  pointer-events: none;
}

.card-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  z-index: 2;
  height: 100%;
  max-width: 343px;
}

.card-content-container-small {
  max-width: 248px;
}

.card-header-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
}

.card-subtitle-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.16em;
  font-variant: small-caps;
  color: #ffffff;
}

.card-title-heading {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  color: #ffffff;
}

.card-description-paragraph {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 113%;
  font-variant: small-caps;
  color: #ffffff;
}

.card-cta-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  width: 156px;
  height: 36px;
  background: #ffffff;
  border-radius: 9px;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #393939;
  gap: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-cta-button:hover {
  background: #f0efef;
}

.card-cta-button:focus {
  background: #ffffff;
  outline: none;
}

.card-cta-button:focus:hover {
  background: #edecec;
}

.card-cta-button:active {
  background: #f4f4f4;
}

.card-cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(159, 159, 159, 0.5);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s,
    opacity 0.6s;
  opacity: 0;
}

.card-cta-button:active::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition:
    width 0.3s,
    height 0.3s,
    opacity 0s;
}

.button-text-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;
  color: #393939;
  margin-right: 5px;
}

@media (max-width: 1200px) {
  .telegram-app-card-wrapper,
  .portal-development-card-wrapper {
    width: 100%;
  }

  .mobile-applications-card-wrapper,
  .mobile-games-card-wrapper,
  .tilda-development-card-wrapper,
  .bitrix-development-card-wrapper {
    width: calc(50% - 17.5px);
  }

  .bitrix-development-card-main,
  .tilda-development-card-main {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .section-header-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .section-description-text {
    font-size: 16px;
  }

  .main-heading-title {
    font-size: 2.2rem;
  }

  .cards-grid-container {
    gap: 12px;
  }

  .website-development-card-wrapper {
    max-height: 260px;
    width: 100%;
  }

  .website-development-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 260px;
  }

  .telegram-app-card-wrapper {
    max-height: 200px;
    width: 100%;
  }

  .telegram-app-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 200px;
  }

  .mobile-applications-card-wrapper {
    max-height: 230px;
    width: calc(50% - 6px);
  }

  .mobile-applications-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 230px;
  }

  .mobile-games-card-wrapper {
    max-height: 230px;
    width: calc(50% - 6px);
  }

  .mobile-games-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 230px;
  }

  .portal-development-card-wrapper {
    max-height: 200px;
    width: 100%;
    order: 5;
  }

  .portal-development-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 200px;
  }

  .tilda-development-card-wrapper {
    max-height: 260px;
    width: calc(50% - 6px);
    order: 6;
  }

  .tilda-development-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 260px;
    margin-top: 0;
  }

  .bitrix-development-card-wrapper {
    max-height: 260px;
    width: calc(50% - 6px);
    order: 7;
  }

  .platform-icon-circle {
    width: 70px;
    height: 70px;
  }

  .platform-icon-image {
    width: 70px;
    height: 70px;
  }

  .bitrix-development-card-main {
    padding: 20px 14px 20px 14px;
    max-height: 260px;
    margin-top: 0;
  }

  .card-title-heading {
    font-size: 24px;
    max-width: 190px;
  }

  .card-subtitle-text {
    font-size: 10px;
  }
}

@media (max-width: 630px) {
  .main-heading-title,
  .main-heading-primary-title,
  .advertising-main-heading-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    line-height: 100%;
    font-variant: small-caps;
    color: #393939;
    max-width: 300px;
    letter-spacing: 1.05px;
    font-size: 2.2rem;
    -webkit-text-stroke: 0.6px #393939;
  }

  .main-heading-title::first-letter,
  .main-heading-primary-title::first-letter,
  .advertising-main-heading-title::first-letter {
    font-weight: 500;
    font-family: 'Segoe UI', sans-serif;
    -webkit-text-stroke: 0.7px #393939;
  }

  .section-header-container,
  .section-header-text-container,
  .advertising-section-header-container {
    margin-bottom: 30px !important;
  }
}

@media (min-width: 1280px) and (max-width: 1616px) {
  .section-header-container {
    gap: 132.61px;
    margin-bottom: 29.95px;
  }

  .main-heading-title {
    font-size: 2.4rem;
  }

  .section-description-text {
    font-size: 13.31px;
    max-width: 284.03px;
  }

  .cards-grid-container {
    gap: 23.3px;
  }

  .website-development-card-wrapper {
    height: 218.62px;
  }

  .website-development-card-main,
  .telegram-app-card-main,
  .portal-development-card-main {
    padding: 26.62px 74.62px 26.62px 17.28px;
    border-radius: 22.02px;
  }

  .telegram-app-card-wrapper {
    width: calc((100% - 23.3px) / 2);
    height: 218.62px;
  }

  .mobile-applications-card-wrapper,
  .mobile-games-card-wrapper,
  .tilda-development-card-wrapper,
  .bitrix-development-card-wrapper {
    width: calc((100% - 70.02px) / 4);
    height: 293.38px;
  }

  .mobile-applications-card-main,
  .mobile-games-card-main,
  .tilda-development-card-main,
  .bitrix-development-card-main {
    padding: 26.62px 74.62px 26.62px 17.28px;
    border-radius: 22.02px;
  }

  .tilda-development-card-main,
  .bitrix-development-card-main {
    margin-top: -73.34px;
  }

  .portal-development-card-wrapper {
    width: calc((100% - 23.3px) / 2);
    height: 218.62px;
  }

  .card-content-container {
    gap: 16.64px;
    max-width: 228.61px;
  }

  .card-content-container-small {
    max-width: 165.38px;
  }

  .card-header-section {
    gap: 3.97px;
  }

  .card-subtitle-text {
    font-size: 10.62px;
  }

  .card-title-heading {
    font-size: 24.06px;
  }

  .card-description-paragraph {
    font-size: 10.62px;
  }

  .card-cta-button {
    width: 120px;
    height: 34px;
  }

  .button-text-label {
    font-size: 14px;
  }

  .discount-badge-container {
    width: 71.3px;
    height: 32.64px;
    top: 31.36px;
  }

  .flag {
    width: 71.3px;
    height: 32.64px;
  }

  .flag-text {
    font-size: 21.38px;
  }

  .platform-icon-circle {
    width: 91.39px;
    height: 91.39px;
  }

  .platform-icon-image {
    width: 92.03px;
    height: 92.03px;
  }
}

/* design services section */
.design-services-main-section {
  position: relative;
}

.section-header-text-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 199px;
  width: 100%;
}

.main-heading-primary-title {
  font-family: 'Segoe UI', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 50px;
  line-height: 100%;
  color: #393939;
}

.description-body-text-content {
  max-width: 426px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #939393;
}

.services-cards-container-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 28px;
  width: 100%;
}

.website-design-service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  gap: 10px;
  flex: 1;
  height: 328px;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.branding-service-card-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 112px 40px 26px;
  gap: 10px;
  flex: 1;
  height: 328px;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.card-background-image-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card-overlay-gradient-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 3.43%,
    rgba(0, 0, 0, 0.51) 100%
  );
  z-index: 1;
}

.card-content-inner-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px;
  height: 100%;
  gap: 60px;
  max-width: 504px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.branding-card-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px;
  gap: 42px;
  max-width: 343px;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
}

.card-header-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  gap: 14px;
  width: 100%;
}

.card-subtitle-small-caps-text {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 2.5px;
  font-variant: small-caps;
  color: #ffffff;
}

.card-main-title-heading-text {
  font-family: 'Segoe UI', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  color: #ffffff;
}

@media (max-width: 1400px) {
  .website-design-service-card,
  .branding-service-card-wrapper {
    width: 100%;
  }

  .section-header-text-container {
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .main-heading-primary-title {
    font-size: 2.2rem;
  }

  .section-header-text-container,
  .advertising-section-header-container {
    flex-direction: column !important;
  }

  .advertising-section-header-container {
    flex-direction: column;
  }

  .description-body-text-content {
    font-size: 16px;
  }

  .card-main-title-heading-text {
    font-size: 28px;
  }

  .website-design-service-card {
    padding: 20px 14px 20px 14px;
  }

  .branding-service-card-wrapper {
    padding: 20px 14px 20px 14px;
  }

  .services-cards-container-wrapper {
    gap: 12px;
  }

  .card-main-title-heading-text {
    font-size: 24px;
    max-width: 190px;
  }

  .card-subtitle-small-caps-text {
    font-size: 10px;
  }
}

@media (min-width: 1280px) and (max-width: 1616px) {
  .section-header-text-container {
    margin-bottom: 29.95px;
    gap: 132.61px;
  }

  .main-heading-primary-title {
    font-size: 2.4rem;
  }

  .description-body-text-content {
    max-width: 284.03px;
    font-size: 13.31px;
  }

  .services-cards-container-wrapper {
    gap: 18.69px;
  }

  .website-design-service-card,
  .branding-service-card-wrapper {
    padding: 26.62px 74.62px 26.62px 17.28px;
    height: 218.62px;
    border-radius: 22.02px;
  }

  .card-content-inner-container {
    gap: 40.06px;
    max-width: 336px;
  }

  .branding-card-content-container {
    gap: 28.03px;
    max-width: 228.61px;
  }

  .card-header-text-wrapper {
    gap: 9.34px;
  }

  .card-subtitle-small-caps-text {
    font-size: 10.62px;
  }

  .card-main-title-heading-text {
    font-size: 24.06px;
  }
}

/* advertising services section */
.advertising-services-main-section {
  position: relative;
}

.advertising-section-header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 199px;
  width: 100%;
}

.advertising-main-heading-title {
  font-family: 'Segoe UI', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 50px;
  line-height: 100%;
  color: #393939;
}

.advertising-description-text {
  max-width: 426px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  color: #939393;
}

.advertising-cards-container-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 32px;
  width: 100%;
}

.telegram-advertising-service-card,
.contextual-advertising-service-card,
.serm-advertising-service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 26px;
  gap: 10px;
  flex: 1;
  height: 277px;
  border-radius: 33px;
  position: relative;
  overflow: hidden;
}

.advertising-card-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px;
  gap: 82px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.serm-advertising-service-card .advertising-card-content-container {
  gap: 40px;
}

.small-text {
  font-size: 22px;
}

.advertising-card-header-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  gap: 14px;
  width: 100%;
}

.advertising-card-subtitle-text {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 2.5px;
  font-variant: small-caps;
  color: #ffffff;
}

.advertising-card-title-heading {
  font-family: 'Segoe UI', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  color: #ffffff;
}

.contextual-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    303.53deg,
    rgba(0, 0, 0, 0) 35.04%,
    rgba(0, 0, 0, 0.51) 71.15%
  );
  z-index: 1;
}

.serm-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 18.23%,
    rgba(0, 0, 0, 0.51) 63.9%
  );
  z-index: 1;
}

@media (max-width: 1400px) {
  .telegram-advertising-service-card,
  .contextual-advertising-service-card,
  .serm-advertising-service-card {
    width: 100%;
  }

  .advertising-section-header-container {
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .advertising-cards-container-wrapper {
    flex-direction: column;
  }

  .services-cards-container-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .advertising-main-heading-title {
    font-size: 2.2rem;
  }

  .advertising-description-text {
    font-size: 16px;
  }

  .advertising-card-title-heading {
    font-size: 28px;
  }

  .small-text {
    font-size: 18px;
  }

  .advertising-card-title-heading {
    font-size: 24px;
    max-width: 190px;
  }

  .advertising-card-subtitle-text {
    font-size: 10px;
  }

  .telegram-advertising-service-card {
    padding: 20px 14px 20px 14px;
    max-height: 200px;
    min-height: 200px;
  }

  .contextual-advertising-service-card {
    padding: 20px 14px 20px 14px;
    max-height: 200px;
    min-height: 200px;
  }

  .serm-advertising-service-card {
    padding: 20px 14px 20px 14px;
    max-height: 200px;
    min-height: 200px;
  }

  .advertising-card-content-container {
    gap: 50px;
  }

  .serm-advertising-service-card .advertising-card-content-container {
    gap: 2px;
  }

  .advertising-cards-container-wrapper {
    gap: 12px;
  }
}

@media (min-width: 1280px) and (max-width: 1616px) {
  .advertising-section-header-container {
    margin-bottom: 29.95px;
    gap: 132.61px;
  }

  .advertising-main-heading-title {
    font-size: 2.4rem;
  }

  .advertising-description-text {
    max-width: 284.03px;
    font-size: 13.31px;
  }

  .advertising-cards-container-wrapper {
    gap: 21.38px;
  }

  .telegram-advertising-service-card,
  .contextual-advertising-service-card,
  .serm-advertising-service-card {
    padding: 26.62px 17.28px;
    height: 184.7px;
    border-radius: 22.02px;
  }

  .advertising-card-content-container {
    gap: 54.66px;
  }

  .serm-advertising-service-card .advertising-card-content-container {
    gap: 26.62px;
  }

  .small-text {
    font-size: 14.72px;
  }

  .advertising-card-header-wrapper {
    gap: 9.34px;
  }

  .advertising-card-subtitle-text {
    font-size: 10.62px;
  }

  .advertising-card-title-heading {
    font-size: 24.06px;
  }
}

@media (min-width: 1616px) {
  .design-services-main-section {
    padding: 20px 0 110px 0;
  }

  .hero-card-heading {
    font-size: 34px;
  }

  .hero-button-text {
    font-size: 15px;
  }

  .card-cta-button {
    width: 124px;
    height: 34px;
  }
}

@media (min-width: 1200px) and (max-width: 1616px) {
  .design-services-main-section {
    padding: 30px 0 90px 0;
  }
}

@media (min-width: 980px) and (max-width: 1200px) {
  .design-services-main-section {
    padding: 90px 0 90px 0;
  }

  .card-cta-button {
    width: 110px;
    height: 34px;
  }
}

@media (max-width: 1280px) {
  .card-cta-button {
    width: 120px;
    height: 34px;
  }
}

@media (max-width: 980px) {
  .design-services-main-section {
    padding: 70px 0 70px 0;
  }
}

@media (min-width: 980px) {
  .advertising-services-main-section {
    padding: 0 0 100px 0;
  }
}

@media (max-width: 980px) {
  .advertising-services-main-section {
    padding: 0 0 100px 0;
  }
}

@media (max-width: 630px) {
  .hero-title-wrapper .hero-title-block,
  .hero-header .hero-description {
    display: block !important;
  }

  #header-icon {
    padding-top: 0;
    margin-left: -2.3rem;
  }
}

@media (max-width: 370px) {
  .big-letter {
    font-size: 1.75rem;
  }

  .geo-icon-small {
    width: 58px !important;
    top: 8px !important;
  }
}

@media (max-width: 1280px) and (min-width: 980px) {
  .advertising-main-heading-title,
  .main-heading-primary-title,
  .main-heading-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 980px) and (min-width: 768px) {
  .advertising-main-heading-title,
  .main-heading-primary-title,
  .main-heading-title {
    font-size: 40px;
  }
}
