/* Reset */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fbf9f8;
  font-family: "Poppins", sans-serif;
}
img{
  max-width: 100%;
  vertical-align: top;
}
a{
  text-decoration: none;
  display: inline-block;
}

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}
/* header */
.header-section{
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(20, 29, 56, .08);
  padding: 16px 0;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
}
main{
  position: relative;
  z-index: 0;
}
.header-section img{
  height: 54px;
  width: auto;
}
.grid-line-vertical {
  width: 1px;
  background-color: #E5E5E1;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
  display: none;
}
.grid-line-vertical.grid-1{
  left: 29.333%;
}
.grid-line-vertical.grid-2{
  left: 62.666%;
}
/* heading-wrap */
.heading-wrap {
  padding-top: 40px;
  padding-bottom: 24px;
}

.heading-wrap .portfolio-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.heading-wrap .portfolio-content {
  font-size: 20px;
  color: #444748;
  max-width: 600px;
  line-height: 1.6;
}

/* Grid */
.grid-section{
  position: relative;
}
.grid-wrap {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
}

/* Project Card */

.portfolio-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    z-index: 10;
    cursor: pointer;
    position: relative;
}
.portfolio-box .portfolio-img {
  position: relative;
  overflow: hidden;
  transition: 0.3s ease-in;
  background-color: #efeded;
  border: 1px solid rgb(196 199 199 / 0.3);
  width: 100%;
  border-radius: 4px;
}
.portfolio-box:nth-child(4n+1) .portfolio-img {
  aspect-ratio: 16 / 9;
}
.portfolio-box:nth-child(4n+2) .portfolio-img {
  aspect-ratio: 3 / 4;
}
.portfolio-box:nth-child(4n+3) .portfolio-img {
  aspect-ratio: 1 / 1;
}
.portfolio-box:nth-child(4n) .portfolio-img {
  aspect-ratio: 4 / 3;
}

.portfolio-box .portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease-in;
}

/* Content */
.portfolio-box .project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 12px;
  align-items: flex-start;
  gap: 5px;
}
.portfolio-box .project-name {
    font-size: 26px;
    letter-spacing: -0.01em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #141d38;
    transition: 0.3s ease-in;
}

.portfolio-box .project-description {
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0em;
    font-weight: 400;
    color: #444748;
}
.portfolio-box .project-tag {
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid #7424a1;
    color: #7424a1;
    text-transform: uppercase;
    display: block;
    margin-top: 15px;
}

.portfolio-box:hover img {
  transform: scale(1.05);
}
.portfolio-box:hover .portfolio-img{
  border: 1px solid #7424a1;
}
.portfolio-box:hover .project-name{
  color: #7424a1;
}

/* Load More */
.more-project-btn {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}
.top-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.single-portfolio-head .top-header h1{
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}
.back-btn{
  display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #7424a1;
    color: #fff;
    border: 1px solid #7424a1;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 4px;
    z-index: 1;
    transition: all .35s ease;
    gap: 10px;
}
.back-btn:hover{
  background: #141d38;
  color:#fff;
  border-color: #141d38;
}

/* single page css start here */
.single-portfolio-section{
  margin: 40px 0;
}
.single-portfolio-head h1,.single-portfolio-head img, .single-portfolio-head  p{
  margin-bottom: 20px;
}
.single-portfolio-head{
  text-align: center;
}
.single-portfolio-head h1,.single-portfolio-head  p{
  text-align: left;
}
.single-portfolio-head img{
  border-radius: 12px;
}
.single-portfolio-content ul{
  margin: 0 0 20px;
}
.single-portfolio-content li{
  list-style-type: none;
  margin: 7px 0;
}
.single-portfolio-content .feature-section i{
  color: #7424a1;
  margin-right: 5px;
}
.feature-section img{
  border-radius: 8px;
}

.slick-slide{
  margin: 0 10px;
}
.slick-slide {
    filter: blur(5px);
    transition: ease .3s;
    transform: scale(.8, .8);
}
.slick-slide.slick-center {
    filter: none;
    transform: scale(1, 1);
}
button.slick-prev.slick-arrow, button.slick-next.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}
button.slick-prev.slick-arrow{
  left: 0;
}
button.slick-next.slick-arrow{
  right: 0;
}
button.slick-arrow{
  margin: 10px;
  border: 0;
    cursor: pointer;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgb(92 92 92 / 35%) 0px 5px 15px;
    color: #7424a1;
    transition: 0.3s ease-in;
    z-index: 1;
}
button.slick-arrow:hover{
  color: #141d38;
}
.slick-track {
   display: flex;
    align-items: center;
}

/* single page css end here */


@media(min-width: 768px){
  .grid-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .heading-wrap .portfolio-title {
    font-size: 80px;
  }
  .container {
    padding: 0 64px;
  }
  .single-portfolio-head .top-header h1{
    font-size: 32px;
  }
  .portfolio-box .project-name {
    font-size: 32px;
  }
  .heading-wrap .portfolio-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .grid-line-vertical {
    display: block;
  }
  .grid-wrap {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .portfolio-box:nth-child(4n+1) {
    grid-column: span 8 / span 8;
  }
  .portfolio-box:nth-child(4n+2) {
    margin-top: 8rem;
    grid-column: span 4 / span 4;
  }
  .portfolio-box:nth-child(4n+3) {
    grid-column: span 6 / span 6;
  }
  .portfolio-box:nth-child(4n) {
    margin-top: 12rem;
    grid-column: span 6 / span 6;
  }
  .heading-wrap {
    padding-top: 80px;
    padding-bottom: 48px;
  }
  .portfolio-box{
    margin-bottom: 48px;
  }
}
