.blogs {
    position: relative;
    z-index: 0;
    /* height: 500px; */
}

.blogs .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-items: center;
}

.blogs::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-image: url("../img/section-bg-rec-circle.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
    opacity: .15;
    z-index: -22;
}

.blogs .row {
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    /* يخليها مرنة على الموبايل */
    gap: 40px;
}

.blogs .row .col-right {
    width: 28%;
    margin-bottom: 30px;
    /* margin-top: 100px; */
}

.blogs .row.row-1 {
    margin-bottom: 200px;
    position: relative;
    z-index: -1;
}

.blogs .row .col-right .top-quote {
    background-color: var(--primaryColor);
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 35px;
    color: var(--white);
}

.blogs .row .col-right h2 {
    margin-block: 30px;
    font-size: 25px;
    font-weight: 700;
}

.blogs .row .col-right p {
    margin-block: 30px;
    font-size: 17px;
}

.blogs .row .col-right .btn {
    background-color: var(--primaryColor);
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
}

.blogs .row .col-left {
    width: 68%;
    overflow: hidden;

}

.blogs-cards {
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 1s ease-in-out;
}

.blog-card {
    flex: 0 0 48%;
    /* 3 شعارات في كل صف */
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #F9F9F9;

}

.blog-card .blog-img{
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px  0  0;
  }
  
  .blog-card img {
      width:100%;
      object-fit: contain;
      transition: all 1s ease;
      border-radius: 20px 20px  0  0;
  }
  
  .blog-card img:hover {
      transform: scale(1.1);
  }
  .blog-img .blog-category{
    position: absolute;
    top: 5%;
    left: 5%;
    background-color: var(--primaryColor);
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    color: var(--white);
  }


  
.blog-card .blog-title{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-content: center;
    justify-content: center;
    align-items:flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
}
  
.blog-card .blog-title .day{
    position: absolute;
    top: -10%;
    right: 10%;
    background-color: var(--primaryColor);
    padding:10px 25px;
    font-size: 25px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
}
.blog-card .blog-title .year{
   margin-top: 25px;
}
.blog-card .blog-title h2:hover{
   color: var(--primaryColor);
}
.blog-card .blog-title h2:hover{
   color: var(--primaryColor);
}
.blog-card .blog-title .btn{
    background-color: var(--primaryColor);
    padding:10px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--white);
}


@media (max-width:1003px) {

    .blogs .row .col-right,
    .blogs .row .col-left {
        width: 100%;
        text-align: center;
    }

    .blogs .row .col-right h2 {
        font-size: 30px;
    }

    .blogs .blogs-cards {
        gap: 20px;
    }

    .blog-card {
        flex: 0 0 98%;
        /* 3 شعارات في كل صف */
    }
    

}

@media (max-width:767px) {
    .blogs .row .col-right h2 {
        font-size: 25px;
    }

}