.snip1527 {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  float: left;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  margin: 10px 1%;
  max-width: 310px;
  min-width: 250px;
  overflow: hidden;
  position: relative;
  text-align: left;
  width: 100%;
}

.snip1527 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.snip1527 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}

.snip1527 figcaption {
    padding: 10px 20px 10px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.snip1527 figcaption:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  opacity: 1;
  z-index: -1;
  background-color: #0053c2;
}

.snip1527 .date {
  background-color: #fff;
  border-radius: 50%;
  color: #700877;
  font-size: 18px;
  font-weight: 700;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 0;
  position: absolute;
  right: 15px;
  text-align: center;
  text-transform: uppercase;
  top: -25px;
}

.snip1527 .date span {
  display: block;
  line-height: 14px;
}

.snip1527 .date .month {
  font-size: 11px;
}

.snip1527 h3,
.snip1527 p {
  margin: 0;
  padding: 0;
}

.snip1527 h3 {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
  color: #ffffff;
}

.snip1527 p {
  font-size: 0.8em;
  line-height: 1.6em;
  margin-bottom: 0px;
}

.snip1527 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.snip1527:hover img,
.snip1527.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}



.categories-of-upvc-sec{
    padding-top: 70px;
}

.categories-of-upvc-sec2{
  padding-top: 70px;
  padding-bottom: 120px;


}


/* categories section start two */

.section-1 {
    border: 1px solid #ffbd00;
    border-radius: 10px;
    padding: 20px;
    gap: 10px;
}
.curtain-info {
    margin-top: 20px;
}
.curtain-number {
    width: 50px;
    padding: 10px;
    margin-right: 198px;
    border-radius: 10px;
    background: #0053c2;
    color: #ffffff;
}


.curtain-number h4{
    color: #ffffff;
}






/* categories section start */



.column {
    width: 100%;
    padding: 0 1em 1em 1em;
    text-align: center;
  }
  .card {
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, #0053c2 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: 0.5s;
    margin-bottom: 0px !important;
  }
  h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f194c;
    margin: 1em 0;
  }
  p {
    color: #575a7b;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .icon-wrapper {
    /* background-color: #2c7bfe; */
    position: relative;
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.5s;
  }
  .card:hover {
    background-position: 0 100%;
  }
  /* .card:hover .icon-wrapper {
    background-color: #ffffff;
    color: #2c7bfe;
  } */
  .card:hover h3 {
    color: #ffffff;
  }
  .card:hover p {
    color: #f0f0f0;
  }
  @media screen and (min-width: 768px) {
    section {
      padding: 0 2em;
    }
    .column {
      flex: 0 50%;
      max-width: 50%;
    }
  }
  @media screen and (min-width: 992px) {
    section {
      padding: 1em 3em;
    }
    .column {
      flex: 0 0 33.33%;
      max-width: 33.33%;
    }
  }
  

/* 
  #card0fcategories{
    height: 290px !important;
  } */


  @media (max-width: 575px) {
    .snip1527 {
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
      color: #ffffff;
      float: left;
      font-family: 'Lato', Arial, sans-serif;
      font-size: 16px;
      margin: 10px 1%;
      max-width: 100%;
      min-width: 268px;
      overflow: hidden;
      position: relative;
      text-align: left;
      width: 100%;
  }
  .snip1527 img {
    max-width: 100%;
    vertical-align: top;
    position: relative;
    width: 100%;
}
.card {
  width: 95%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #0053c2 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
  margin-bottom: 0px !important;
}
  }