/*Header Title Css start*/

.header-content {
  min-height: 150px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  margin-bottom: 26px;
}

.components-container .header {
  z-index: 0 !important;
}

.components-section .slick-slide {
  margin: 0 16px;
}

.img-flag {
  margin-left: -16px;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.header-content__title {
  width: 50%;
}

.header-content__title h2 {
  font-size: 2.5em;
  white-space: pre-wrap;
  font-weight: 600;
  margin-bottom: 16px;
}

.header-content__description {
  width: 50%;
  padding-left: 0px;
  padding-right: 10px;
  font-size: 1.2em;
  font-weight: 600;
}

.header-content__description a {
  text-decoration: initial;
  color: #4967ee;
}

.btn.btn-trial {
  padding: 10px;
  margin: 20px 0;
  border-radius: 5px;
  color: white;
  text-align: center;
}

.btn.btn-trial h4 {
  margin: 0;
  font-size: 1.5em;
  color: white;
  font-weight: 500;
}

.event {
  background: #2899f6;
}

.white {
  background-color: #fff;
  border: 1px solid #4967ee;
  color: #4967ee;
}

.white h4 {
  color: #4967ee !important;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.tabbed
  [type="radio"]:nth-of-type(2):checked
  ~ .tabs
  .tab:nth-of-type(2)
  label {
  color: #4967ee;
  border-bottom: 3px solid #4967ee;
}

.tabbed
  [type="radio"]:nth-of-type(1):checked
  ~ .tabs
  .tab:nth-of-type(1)
  label
  svg,
.tabbed
  [type="radio"]:nth-of-type(1):checked
  ~ .tabs
  .tab:nth-of-type(1)
  label
  svg
  > path,
.tabbed
  [type="radio"]:nth-of-type(2):checked
  ~ .tabs
  .tab:nth-of-type(2)
  label
  svg,
.tabbed
  [type="radio"]:nth-of-type(2):checked
  ~ .tabs
  .tab:nth-of-type(2)
  label
  svg
  > path {
  fill: #4967ee;
}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2) {
  display: block;
}

/*Tabs Css end*/

/* Banner footer */

.components-section.bg-footer-image {
  background-image: url(https://pricing-dc-www-wordpress-prod.pantheonsite.io/wp-content/uploads/2021/01/Captures2-1-1.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}

.components-section.bg-footer-image:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
}

.components-section.bg-footer-image:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-top: 70px solid #fff;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
  top: -2px;
}

.components-section.bg-footer-image > * {
  z-index: 1;
  position: relative;
}

.banner-footer__container {
  min-height: 650px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}

.banner-footer__content {
  max-width: 600px;
}

.footer__content__title .dacast-medium {
  color: white !important;
  font-size: 4em !important;
  text-align: center;
  font-weight: 700;
  line-height: 64px;
  margin-bottom: 10px;
}

.footer__content__description {
  color: white;
  font-size: 1em;
  text-align: center;
}

.footer__content__button {
  width: 60%;
  margin: 0 auto;
}

/* Questions section start*/

.question-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 70px 0;
}

.question-container__img-grid,
.question-container__questions-content {
  width: 50%;
}

.question-container__img-grid {
  min-width: 535px;
}

.question-container__img-grid .grid-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-row-gap: 30px;
  justify-items: center;
  align-content: center;
  width: 80%;
  min-width: 500px;
}

.questions-right__title h2 {
  text-align: center;
  color: #4967ee;
  font-size: 3em;
  font-weight: 500;
}

.questions-right__description {
  width: 100%;
  margin: 0 auto;
  letter-spacing: -0.02em;
}

.questions-right__description p {
  text-align: center;
  font-size: 1.4em;
  color: #222f3e;
}

.questions-right__button-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 10px;
}

.questions-right {
  width: 90%;
}

/* Questions section end */

@media (max-width: 1120px) {
  .question-container__img-grid .grid-wrap {
    width: 100%;
    margin-bottom: 20px;
  }
  .questions-right {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .question-container__img-grid .grid-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  .questions-right {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .question-container__img-grid,
  .question-container__questions-content {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .header-content__title {
    margin-bottom: 25px;
  }
  .header-content__title,
  .header-content__description {
    width: 100%;
    padding: 0;
  }
  .header-content__title h1 {
    text-align: left;
  }
}

@media (max-width: 510px) {
  .question-container__img-grid .grid-wrap {
    min-width: initial;
    grid-template-columns: repeat(2, 1fr);
  }
  .questions-right__button-wrap {
    grid-template-columns: 1fr;
  }
  .question-container__img-grid {
    min-width: initial;
  }
}

@media (max-width: 490px) {
  .slick-slide img {
    margin: 0 auto !important;
  }
  .components-section.header-section {
    margin-bottom: 50px;
  }
  .tabs {
    display: flex;
    max-height: 130px;
    margin-top: -150px;
    flex-wrap: wrap;
    position: relative;
  }
  .tabs li.select-currency {
    position: initial;
  }
  .footer__content__button {
    width: 90%;
  }
  .footer__content__button .btn.btn-trial h4 {
    font-size: 1.2em;
  }
  .footer__content__title h2 {
    font-size: 3.2em;
  }
  .banner-footer__container {
    min-height: 500px;
  }
}

@media (max-width: 425px) {
  .header-content__title h1 {
    font-size: 2em;
  }
}
