.hero-section .background.bg-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 0;
    overflow: hidden;
}

.hero-text {
    padding-bottom: 2em;
}

.ec-v-form-holder.ec-v-form-holder-basic {
    background-color: transparent!important;
}

button[type="submit"] {
    background-color: var(--black-color)!important;
}

.bg-img {
    min-height: 700px;
    position: inherit;
}

.bg-img img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    object-fit: cover;
    height: 100%;
}

.grid-4.product-contrainer {
    grid-template-columns: 24% 24% 24% 24%;
    gap: 1em;
    margin-left: 1em;
    margin-right: 1em;
}


#slider-container {
    position: relative;
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
      width: 300px;
      min-width: 300px;
      margin: 10px;
    box-sizing: border-box;
  }
                  
                  .slide .thumb-wrap {
                      position:relative;
                      height:250px;
                      overflow:hidden;
                  }
                  
                  .slide p img {
                      width:auto;
                  }
                  
                  .slide .thumb-wrap img {
                      position:absolute;
                      height:100%;
                      width:100%;
                      top:0;
                      left:0;
                      object-fit:cover;
                      z-index:1;		}
  
  #prevBtn, #nextBtn {
      position: absolute;
      top: 46%;
      transform: translateY(-50%);
      font-size: 24px;
      background: var(--contrast-color);
      border: none;
      padding: 0.5em;
      z-index: 2;
      cursor: pointer;
  }
  
  #prevBtn {
    left: 10px;
  }
  
  #nextBtn {
    right: 10px;
  }

  .mobile-on {
    display: none;
  }

.blog-thumb a {
    position: absolute;
    bottom: -1em;
}

@media only screen and (max-width: 991px) {
    .bg-img img {
        position: inherit;
		 width: 100%;
		height:auto;
    }

	.grid-4.product-contrainer {
    grid-template-columns: 100%;
}
	
    .mobile-on {
        display: block;
      }

     .hero-section .grid-2 {
        display: flex;
        flex-direction: column-reverse;
    }

    .hero-section .grid-2 article, .hero-section .grid-2 div {
        width: 100%;
    } 

    .hero-section article.section-padding {
        padding-top: 6em;
        padding-bottom: 6em;
    }

    .bg-img {
        min-height: auto;
    }

    .slide {
        width: 300px;
    min-width: 300px;}
    #prevBtn, #nextBtn {
        display:none;
    }

    #slider-container {
        display: none;
    }
}