.hero-sec {
    background-image: url('../svg/service-left-bg.svg'),
                      url('../svg/service-right-bg.svg');
    background-repeat:no-repeat;
    background-position: 5% 70%, 96% 70%;
    background-size: 18% auto, 12% auto;
}


/*case Stufy Gallery*/
.cs-categories-wrp {
    margin-bottom: 48px;
}
.cs-active-tab {
    background: #F7F7F8 !important;
    border-color: var(--purple) !important;
    color: var(--black-color) !important;
}
.cs-active-tab {
    border-color: var(--purple) !important;
    text-decoration: none !important;
}
.page-id-6842 .hero-sec {
    padding: 112px 112px;
}
.not-found-txt {
    text-align: center;
    font-family: var(--tertiary-font);
    color: var(--black-color);
}
.cs-categories-wrp ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.loader-wrp img {
    width: min(100%, 70px);
}
.loader-wrp {
    text-align: center;
}
.cs-categories-wrp li a {
    text-decoration: none;
    color: #6C6C89;
    background: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    border: 1.5px solid #EBEBEF;
    font-size: 14px;
    display: block;
    transition: 0.6s;
    font-family: var(--tertiary-font);
}
.cs-categories-wrp li a:hover {
    background: #F7F7F8;
    color: var(--black-color);
    text-decoration: underline;
}
.grid {
    margin-top: 0 !important;
}
.brand-sec.spacer {
    margin-top: 2em;
}
.grid-item > figure a {
    border-radius: 40px;
}
.grid-item figure{
    overflow: hidden;
    border-radius: 40px;
}
.cs-grid-item-title a {
    text-decoration: none;
    font-size: 15px;
    color: var(--black-color);
    font-weight: 500;
    transition:0.6s;
}
.cs-grid-item-title p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--dark-color);
}
.cs-grid-item-title a:hover {
    color: var(--dark-purple);
}
.cs-grid-item-title {
    margin: 10px 0 0;
}


/*faq css start*/
.faq-sec {
    padding:  0;
}
/*portfolio section css*/
.portfolio-slider-wrapper img {
    width: 400px !important;
}
.slider-wrp-1 ul {
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.slider-wrp-1 ul li {
  flex: 0 0 auto;


}

.slider-wrp-1 figure {
  margin: 0;
}

.slider-wrp-1 img {
 
  height: auto;
  display: block;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgb(21 22 22 / 52%) 100%);
  opacity: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  text-align: left;
  border-radius:15px;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .category {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.portfolio-item .title {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-item .title {
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}


.portfolio-item:hover .title::after {
  transform: translateX(4px);
}
.portfolio-item .category {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.portfolio-item .category::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../arrow-up-right.html');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .category::after {
  transform: translateX(3px);
}
/*Brand Title Section Css*/
.secondary-title-sec {
    padding: 3em 0;
}
.secondary-title h2 {
    font-size: 50px;
}
.secondary-title p {
    font-size: 18px;
}
.secondary-title {
    width: min(100%, 750px);
    margin: 0 auto;
}
.secondary-title p {
    font-size: 18px;
    padding: 20px 0 0;
}
 

@media only screen and (max-width:992px){
.grid-item {
    width: 48%;
}
.cs-categories-wrp {
    margin-bottom: 28px;
}
.reviews-wrp li {
    gap: 4px;
}
}
@media only screen and (max-width:767px){
.grid-item {
    width: 100%;
}
.cs-categories-wrp ul {
    display: flex;
    gap: 10px;
    justify-content: start;
}
.cs-categories-wrp ul li {
    flex-shrink: 0;
}
.cs-categories-wrp li a {
    width: 100%;
    text-align: center;
}
.hero-sec {
    background:none;
}
.owl-item {
    width: fit-content !important;
}
}





