.grid{
  display: grid;
  gap: 30px;
}

.grid-4{
  grid-template-columns: repeat(4, 1fr);
}


@media (max-width: 1160px){
  .grid-4{
    grid-template-columns: repeat(2, 1fr);
  }
}
  
@media (max-width: 768px){
  .grid-4{
    grid-template-columns: repeat(1, 1fr);
  }
}


.grid-3{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1160px){
  .grid-3{
    grid-template-columns: repeat(2, 1fr);
  }
}
  
@media (max-width: 768px){
  .grid-3{
    grid-template-columns: repeat(1, 1fr);
  }
}
  
.grid-2{
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
}

@media (max-width: 768px){
  .grid-2{
    grid-template-columns: repeat(1, 1fr);
  }
} 

/* DEFAULT STYLES FOR TAG "SECTION"  */

.default-section .section-body,
.default-section .section-footer{
  margin-top: 60px;
}

@media (max-width: 576px){

  .default-section .section-body,
  .default-section .section-footer{
    margin-top: 40px;
  }

}


/* ROW BLOCKS SECTION BEGIN */

.section.row-blocks-section{
  padding-bottom: 60px;
}

.row-blocks-section .section-footer a{
  max-width: 960px;
  margin: 0 auto;   
  text-align: center;
}

.row-blocks-section .section-header h2{
  text-align: center;
}

.row-blocks__wrapper{
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}

.row-blocks__item{
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 20px;
  padding: 32px 40px;
  border: 2px solid var(--blue);
}

.row-blocks__item:last-child{
  background-color: var(--blue);
  color: var(--white);
}

.row-blocks__item-content > .p1{
  color: var(--blue);
}

.row-blocks__item:last-child .row-blocks__item-content > .p1{
  color: var(--white);
}

.row-blocks__item-1,
.row-blocks__item-2{
  flex-basis: calc((100% - 20px) / 2);
}

.row-blocks__item-3,
.row-blocks__item-4,
.row-blocks__item-5{
  flex-basis: calc((100% - 40px) / 3);
}

.row-blocks__item-1 .row-blocks__item-number > .h2,
.row-blocks__item-2 .row-blocks__item-number > .h2,
.row-blocks__item-3 .row-blocks__item-number > .h2,
.row-blocks__item-4 .row-blocks__item-number > .h2,
.row-blocks__item-5 .row-blocks__item-number > .p1{
  display: none;
}

.row-blocks__item-number > .p1,
.row-blocks__item-number > .h2{
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.row-blocks__item-number > .p1{
  background-color: var(--blue);
  color: var(--white);
}

.row-blocks__item-number > .h2{
  background-color: var(--white);
  color: var(--blue);
}

@media (max-width: 1070px){

  .row-blocks__wrapper{
    flex-direction: column;
  }

}

@media (max-width: 990px){

  .row-blocks__item-number > .p1,
  .row-blocks__item-number > .h2{
    width: 46px;
    height: 46px;
  }

  .row-blocks__item{
    padding: 18px 24px;
  }
}

/* ROW BLOCKS SECTION END */

/************************************************/

/* GET SECTION BEGIN */

.section.get-section{
  padding-top: 60px;
  padding-bottom: 60px;
}

.get-section .section-body{
  margin-top: 60px;
}

.get-section__list .grid-item{
  min-height: 200px;
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
  padding: 40px;
  border-radius: 50px 0;
}

.get-section__list .grid-item:not(:last-child){
  background-color: var(--white);
}

.get-section__list .grid-item:last-child{
  align-items: center;
  justify-content: center;
}

.get-section__icon{
  flex-basis: 120px;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  
  .get-section__list .grid-item{
    flex-direction: column;
    padding: 25px;
  }

  .get-section__icon {
    flex-basis: auto;
    max-width: 64px;
  }

  .get-section__content .p2 {
    margin-top: 10px;
  }

  .get-section__list .grid-item:last-child{
    min-height: initial;
    padding-top: 0;
    padding-bottom: 0;
  }
}


/* GET SECTION END */

/**********************************************/

/* CRM CARDS SECTION BEGIN */


.crmcards-section h2{
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.crmcards-section .grid-item{
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 50px 0;
  padding-top: 25px;
  padding-right: 32px;
  padding-bottom: 50px;
  padding-left: 32px;
}

.crmcards-image {
  height: 100px;
  display: flex;
  align-items: center;
}

.crmcards-section .grid-item .crmcards-text{
  margin-top: 30px;
}

.crmcards-cta{
  text-align: center;
}

/* CRM CARDS SECTION END */

/*********************************************/

/* CASES SECTION BEGIN */

.tpl-cases-section.sample-services-cases .services-cases-wrapper .updates-cases a{
  width: 344px;
  height: auto;
  min-height: 138px;
  padding: 30px;
  font-size: 20px;
}

.tpl-cases-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

/* CASES SECTION END */

/*********************************************/

/* FAQ SECTION BEGIN */

.faq-section .answer p:not(:first-of-type){
  margin-top: 8px;
}

.faq-section__row{
  display: flex;
  gap: 12px 24px;
}

.faq-section__col{
  flex-basis: calc((100% - 24px) / 2);
}

@media (max-width: 1100px) {
  .faq-section__row {
    flex-direction: column;
  }
}

/* FAQ SECTION END */

/*********************************************/

/* FOOTER FORM SECTION BEGIN */

.footer-form-section > .container{
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  row-gap: 40px;
}

@media (max-width: 1100px) {
  .footer-form-section > .container {
    flex-direction: column;
  }
}

/* FOOTER FORM SECTION END */

/*********************************************/

/* ACCORDION GALLERY SECTION BEGIN */

.accordion-gallery-section.no-zoom .section-body .left .function-footer::before,
.accordion-gallery-section.no-zoom .section-body .right::before {
  display: none;
}

.accordion-gallery-section.no-zoom .section-body .right{
  cursor: default;
}



