.widget-boxs {
  margin-bottom: 90px !important;
}

.widget-boxs .line {
  width: 100%;
  height: 1px;
  background: #7686a1;
  position: absolute;
  top: 25px;
  left: 0;
  z-index: 0;
}

.widget-boxs .header {
  margin-bottom: 40px;
}

.widget-boxs .header .title {
  font-family: "Playfair Display";
  font-weight: 400;
  color: #20212b;
  font-size: 42px;
  float: left;
  padding: 0 40px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.widget-boxs .header .categories {
  line-height: 24px;
  float: left;
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 25px 25px 5px;
}

.widget-boxs .header .categories a {
  font-family: Hind;
  font-size: 18px;
  font-weight: 400;
  color: #233867;
  padding: 0 10px;
  cursor: pointer;
}

.widget-boxs .header .categories a:hover {
  opacity: 0.6;
}

.widget-boxs .header .categories a:first-child {
  padding-left: 0;
}

.widget-boxs .header .categories a:last-child {
  padding-right: 0;
}

.widget-boxs .header .desc {
  font-size: 16px;
  font-family: 'Hind';
  line-height: 1.63;
}

.widget-boxs .container-boxs .box {
  position: relative;
  background: #f3f6ff;
  cursor: pointer;
  min-height: 300px;
}

.widget-boxs .container-boxs .box .overlay {
  background-color: #233867;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.widget-boxs .container-boxs .box .description {
  position: absolute;
  padding: 30px;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
  top: 0;
}

.widget-boxs .container-boxs .box .description .title {
  font-family: "Playfair Display";
  font-size: 29px;
  font-weight: 700;
  line-height: 35px;
  position: absolute;
  bottom: 50px;
  color: #fff;
  -webkit-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -o-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -moz-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
}

.widget-boxs .container-boxs .box .description .title:before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #bcc4d0;
  display: block;
  position: absolute;
  top: 19px;
  left: -50px;
}

.widget-boxs .container-boxs .box .description .text {
  color: #20212b;
  font-family: "Playfair Display";
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
}

.widget-boxs .container-boxs .box:hover .description .title {
  color: #bad0ec;
  -webkit-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -o-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -moz-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
}

.widget-boxs .container-boxs .box .background {
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  z-index: 1;
}

.widget-boxs .container-boxs .box:hover .box_background {
  opacity: 1;
  -webkit-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -o-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -moz-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
}

.widget-boxs .container-boxs .box_background {
  background-color: #f3f6ff;
  position: absolute;
  width: 100%;
  z-index: 10;
  opacity: 0;
  top: 0;
  height: 100%;
  -webkit-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -o-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  -moz-transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
  transition: all 0.5s cubic-bezier(0, 0, 0, 0.82) 0s;
}

.widget-boxs .container-boxs .box_background .description {
  background-color: #f3f6ff;
}

.widget-boxs .container-boxs .box_background .description .title-overlay {
  font-family: "Playfair Display";
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  position: relative;
  color: #000;
}

.widget-boxs .container-boxs .box_background .description .title-overlay:before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #bcc4d0;
  display: block;
  position: absolute;
  top: 15px;
  left: -50px;
}

@media (min-width: 1400px) {
  .widget-boxs .container-boxs .box .description {
    padding: 50px;
  }
  .widget-boxs .container-boxs .box:not(.box_background) .title:before {
    width: 45px;
    left: -50px;
  }
}

@media (max-width: 1200px) {
  .widget-boxs .container-boxs .box .description {
    padding: 20px;
  }
  .widget-boxs .container-boxs .box .description .title {
    font-size: 25px;
  }
  .widget-boxs .container-boxs .box .description .text {
    font-size: 16px;
    margin-top: 10px;
  }
}

@media (max-width: 992px) {
  .widget-boxs .container-boxs .box {
    margin-bottom: 30px;
  }
  .widget-boxs .container-boxs .box .description .title:before {
    width: 15px;
    left: -20px;
  }
}

@media (max-width: 767px) {
  .widget-boxs .header {
    margin-bottom: 20px;
  }
  .widget-boxs .header .line {
    top: 22px;
  }
  .widget-boxs .header .title {
    padding: 0;
  }
  .widget-boxs .container-boxs .box {
    min-height: 150px;
    margin-bottom: 20px;
  }
  .widget-boxs .container-boxs .box .description .title {
    font-size: 16px;
    line-height: 1.4;
    bottom: 25px;
  }
  .widget-boxs .container-boxs .box .description .title:before {
    top: 11px;
  }
}
