/* * {
    border: 1px solid #f00 !important;
  } */


/** 
Override Bootstrap Container
**/
header {
  width: 100%;
}

.container {
  width: 1140px;
  padding: 0;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    margin: 0;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.image-container {
  overflow: hidden; 
  position: relative; 
  margin: 0 auto; 
  margin-top: 2rem;
}

.image-container img {
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  display: block; 
  position: absolute; 
  top: 0;
  left: 0;
}

.overlay-text {
  position: relative;
  margin-top: 100px; 
  font-family: var(--secondary-bold-font);
  font-size: 3.3rem; 
  color: var(--white-color); 
  z-index: 2; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
  margin-bottom: 20px;
  max-width: 990px;
}

.overlay-text2 {
  position: relative;
  font-family: var(--secondary-bold-font);
  font-size: 36px; 
  color: var(--white-color); ; 
  z-index: 2; 
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}

.section-header {
  font-family: var(--secondary-font);
  margin-top: 2rem;
  font-size: 2rem;
}

.section-header-bold {
  font-family: var(--secondary-bold-font);
  font-size: 2rem;
}

.card-title {
  font-size: 18px;
  font-family: var(--primary-bold-font);
  margin-top: 1rem;
}

.p-section-second-header{
  margin: 0 auto;
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.why-egiftit{
  background-color: var(--white-color); ;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}

.why-egiftit p{
  text-align: center;
  margin: 0 auto;
  font-family: var(--primary-semi-bold-font);
  font-size: 14px;
}

.why-egiftit div{
  padding-top: 15px;
}

.why-egiftit-img-div{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  margin-bottom: 12px;
}

.card-group{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
}

.card {
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.img1 img{
  height: 94px;
  display: block;
  margin: 0 auto; 
}

.text-muted{
  font-size: 14px;
  font-family: var(--primary-semi-bold-font);
  color: var(--grey-color) !important;
  line-height: 19px;
  padding: 10px;
}

.list-text{
  font-size: 16px;
  font-family: var(--primary-font);
  color: var(--grey-color) !important;
  padding: 10px;
}


/* SLIDE SHOW OF BRAND IMAGES */

logo-slider {
  --image-size: 212px;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  display: flex;
  left: 0;
  right: 0;
  margin-top: 1rem;
  height: 150px;
}
logo-slider:hover div {
  /* animation-play-state: paused; */
}
logo-slider div {
  display: flex;
  position: relative;
  animation: marquee 100s linear infinite;
  justify-content: space-around;
}
logo-slider img {
  display: block;
  min-width: var(--image-size);
  height: 133px;
  margin: 0 1vw;
}
logo-slider:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0) 80px, rgba(255, 255, 255, 0) calc(100% - 80px), white);
}

.hide {
  margin-bottom: 15rem;
}

.section3-header {
  font-family: var(--secondary-book-font);
  font-size: 2rem; 
  color: var(--white-color); ; 
  z-index: 3; 
  text-align: center;
  justify-content: center;
  margin-top: 20px; 
  margin-bottom: 20px;
}

.sign-up-btn {
  width: 335px;
  height: 63px;
  padding: 10px;
  font-size: 16px;
  z-index: 2;
}

.overlay3 {
  position: relative;
  margin-top: 30px;
  left: 0;
  background-color: #E5F9FA;
  overflow: hidden; 
  z-index: 0;
  margin-bottom: -3rem;
}

.testimonial-text{
  font-size: 14px;
  font-family: var(--primary-semi-bold-font);
  color: var(--grey-color) !important;
  text-align: center;
  height: 165px; 
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.owl-carousel .item {
  width: 343px;
  height: 420px;
  /* padding: 0.7rem; */
  margin: 0.5rem;
}

.bold-text {
  font-family: var(--primary-bold-font);
}

.secondary-bold-text{
  font-family: var(--secondary-bold-font);
  font-size: 2rem; 
}

.logo-style {
  display: inline !important;
  width: 100px !important;
  object-fit: cover; 
}

.logo-style-larger {
  display: inline !important;
  width: 160px !important;
  height: 100px !important;
  object-fit: cover; 
}

.signature{
  display: inline !important;
  width: 150px !important;
}

.signature-larger {
  display: inline !important;
  width: 250px !important;
}

.card-testimonial {
  border: none;
  border-radius: 30px;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
  /* END SLIDE SHOW OF BRAND IMAGE */

@media (min-width: 769px)  {
  .why-egiftit{
    margin: auto;
    width:90%!important;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px){
  p[class*="-section-"]{
    width: 100%!important;
  }
  .section-second-header{
    margin-top: 1.5rem!important;
  }
  .p-section-second-header{
    width: 100%!important;
  }
  .h1-gift-card-partners{
    display: none;
  }
  logo-slider{
    display: none;
    height: 0;
  }
  .hide{
    display: none;
  }

  .why-egiftit{
    box-shadow: none;
    margin: auto;
    width:90%!important;
    grid-template-columns: 1fr 1fr;
  }

  h1, h2{
    font-size: 1.50rem!important;
    width: 100%!important;
  }
  h2 span{
    font-size: 1.50rem!important;
  }
  h1 span{
    font-size: 1.50rem!important;
  }
  .card-group{
    grid-template-columns: 1fr!important;
    width: 100%;
  }

  .overlay-text {
    font-size: 2.4rem !important;
  }
  .overlay-text2 {
    font-size: 1.6rem !important;
  }

  .section-header, .section-header-bold{
    font-size: 1.5rem !important;
    text-align: center !important;
  }
  .owl-carousel {
    width: 715px !important;
  }
  .card-group {
    margin-top: 2rem;
  }
  .card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 550px) {
  .image-container {
    overflow: visible;
  }

  .overlay-text  {
    margin-top: 4.5rem;
    padding-top: 2rem;
    font-size: 2.2rem !important;
  }

  .img1 {
    flex: 0 0 auto;
    width: 120px;
  }

  .section3-header, .secondary-bold-text {
    font-size: 1.5rem;
  }
  .owl-carousel {
    width: 350px !important;
  }
}

@media (max-width:1920px){
  .owl-carousel {
    max-width: 1800px !important;
    margin: auto;
  }
}

/**
How it works Step
**/

.how-it-works-steps-block {
  background-color: var(--blue-color);
}

.steps-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2.5rem;
}

.how-it-works-step {
  position: relative;
  display: flex;
  justify-content: right;
}

.step-number {
  position: absolute;
  left: -28px;
}

.step-content__wrapper {
  background: inherit;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.step-content {
  width: 100%;
  height: 255px;
  width: 240px;
  background-color: var(--white-color);
  border-radius: 15px;
  padding: 1rem;
  padding-left: 45px;
  flex-direction: column;
  justify-content: center;
  -webkit-mask: radial-gradient(
    circle 41px at left 40px,
    transparent 0%,
    transparent 40px,
    rgba(0, 0, 0, 0.1) 40px,
    black 40px
  );
  mask: radial-gradient(
    circle 100px at left 40px,
    transparent 0%,
    transparent 40px,
    rgba(0, 0, 0, 0.1) 40px,
    black 40px
  );
  font-size: 15px;
}

.step-content p,
.step-content h3 {
  margin: 0;
  font-size: 14px;
}

.step-content p{
  margin-top: 10px;
}

.step-content .step-heading {
  font-size: 25px;
  font-family: var(--secondary-bold-font);
}

@media (max-width: 1200px) {
  .steps-wrapper {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 3.5rem;
  }

  .step-number {
    left: -43px;
  }
}

@media (max-width: 768px) {
  .steps-wrapper {
    gap: 2.75rem;
  }
  .secondary-bold-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
.steps-wrapper {
  grid-template-columns: repeat(1, auto);
  justify-content: center;
  gap: 2.5rem;
}
}