.post-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: 2rem !important;
}
.active-filter{
    background-color: #15152c;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
}
.filter-item{
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.container{
    padding: 50px 0px;
    max-width: 800px;
    margin: auto;
    width: 100%;
}
.post{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    justify-content: center;
    gap: 1.5rem;
}

.post-box{
    background-color: white;
    box-shadow: 0 4px 14px hsl(355deg 25% 15%  / 10%);
    padding: 15px;
    border-radius: 0.5rem;
}
.post-img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}

.category{
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #15152c;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.post-title{
   font-size: 1.3rem;
   font-weight: 600; 
   color: black;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
body{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.post-date{
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 4px;
}

.post-description{
    font-size: 0.9rem;
    line-height: 1.5rem;
    -webkit-line-clamp:3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile{
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-position: center;
    object-fit: cover;
    border: 2px solid #15152c;
}

.profile-name{
    font-size: 0.82rem;
    font-weight: 500;
}


.post-header{
    width: 100%;
    height: 500px;
    background-color: white;
}

.post-container{
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.header-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem !important;   
}

.back-home{
    color: #15152c;
    font-size: 0.9rem;
}

.header-title{
    width: 90%;
    font-size: 2.6rem;
    color: black;
    text-align: center;
    margin-bottom: 1rem;
}

.header-img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}

.post-content{
    margin-top: 10rem !important;
}
.post-text{
    font-size: 1rem;
    line-height: 1.7rem;
    margin: 1rem 0;
    text-align: justify;
}
.sub-heading{
    font-size: 1.2rem;
}

@media(max-width:1060px){
    .container{
        margin: 0 auto;
        width: 95%;
    }
    .post-details{
        flex-direction: column;
    }

    .progress-bar{
        top: 65px;
    } 
}
@media(max-width:800px){
  .post-container{
    margin: 0 auto;
    width: 95%;
  }
}

@media(max-width:768){
    .post-container{
      margin: 0 auto;
      width: 95%;
    }
    section{
        padding: 2rem 0;
    }
    .header-content{
        margin-top: 3rem !important;
    }
    .header-title{
        font-size: 2rem;
    }
    .header-img{
        height: 370px;
    }
    .post-header{
        height: 435px;
    }
    .post-content{
        margin-top: 9rem !important;
    }
    .post-details{
        display: flex;
    }


  }

  @media(max-width:570px){
    .post-header{
      height: 390px;
    }
    .header-title{
        width: 100%;
    }
    .header-img{
        height: 340px;
    }
    .post-filter{
        flex-direction: column;
    }
    .filter-item{
        margin-top: 2%;
    }
    .post-details{
        margin-top: -5%;
    }
    .trending-posts h2{
        
        font-size: 1.2rem;
    }
  }

  @media(max-width:396px){
    .post-box{
        padding: 10px;
    }
    .header-title{
        font-size: 1.4rem;
    }
    .header-img{
        height: 240px;
    }
    .post-content{
        margin-top: 5rem !important;
    }
    .post-text{
        font-size: 0.875rem;
        line-height: 1.5rem;
        margin: 10px 0;
    }
    .post-filter{
        flex-direction: column;
    }
    .filter-item{
        margin-top: 2%;
    }
    .post-details{
        margin-top: -15%;
    }

  }
  @media(max-width:288px){
    .post{
        grid-template-columns: repeat(auto-fit, minmax(150px, auto));
    }
  }
.post-details{
    display: flex;
    justify-content: space-evenly;
}
.trending-posts .line {
    margin: 15px;
    margin-left: 0;
    width: auto;
    background: linear-gradient(to right, grey 50%, rgb(218, 218, 218) 50%);
}

  .trending-posts{
    position: relative;
    padding: 40px;
  }
  .td-posts{
    display: flex;
    justify-content: space-evenly;
   
  }
.td-posts h1{
    margin: 7%;
    font-size: 40px;
    color: #c6c6ca;
    display: inline;
}
.post-data{
    padding-top: 15px;
    width: 250px;
}
  .post-data a{
    color: #000000;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.5rem;
    -webkit-line-clamp:3;
    -webkit-box-orient: vertical;
    
  }
  .post-data .category{
    margin-top: 0%;
    font-size: 0.9rem;
    color: grey;
    text-transform: capitalize;
  }
  .post-data .post-date {
    margin-top: -5%;
    color: gray;
    font-size: 0.7rem;
}

@media(max-width:288px){
    .copyright{
        flex-direction: column;
        align-items: center;
        font-size: 14px;
    }
    .contact a{
        font-size: 14px;
    }
    .address{
        text-align: justify;
        font-size: 14px;
    }
    .chat-container {
        left: 50%;
        transform: translateX(-50%);
        width: 260px;
        height: 420px;

    }
    .google-corner h2{
        font-size: 1.3rem;
        text-align: center;
    }
    .google-cutomer img{
        width: 230px;
        height: 130px;
    }
    #contactForm{
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 250px;

    }
    #contactForm1{
        width: 270px;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 250px;
    }
    #contactForm2{
        width: 270px;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 250px;
    }
    nav ul {
        width: 70%;

    }

    

.quote-data{
    width: 260px;
}

.quote-data2{
    width: 260px;
}

.contact-us1 button{
    width: auto;
}
.contact-us2 button{
    width: auto;
}




.blog-content img{
    width: 200px;
    height: 150px;
    object-fit: cover;  
    border-radius: 10px;

}

.blog-dummy {
    position: relative;
    text-align: left;
    padding:10px 0px;
}




.title-dummy{
    font-size: 14px;
}

.blog-dummy img {
    width: 200px;
    height: 150px;
    margin-bottom: 3%; /* Make the image fill the container */

}

.slide-text {
    top: 60%; 
     font-size: 14px;

}



nav1 ul li {
   
    width: auto;
  
    padding: 5px 10px;
    display: flex;
    align-items: center;
  
}
a{
    text-decoration: none;
}
nav1 ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: white;
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;
}

  }


   
  @media (max-width: 768px) {
    .progress-bar{
        top: 60px;
    }
  }

  
  @media (min-width: 769px) and (max-width: 820px) {
    .progress-bar{
        top: 80px;
    }
    .youtube {
        display: flex;
        flex-wrap: wrap;
    }
    
    .youtube video {
        background-color: transparent;
        width: 50%; /* Each video takes up 50% of the container width */
        box-sizing: border-box; /* Include padding and border in the width calculation */
        padding: 5px; /* Add some spacing between videos */
        
        margin-bottom: 10px; /* Add some margin between videos */
    }
  }