.blogs-header {
    min-height: 500px;
    background-color: #F7F8FA;
}

.blogs-header .container,
.blogs-header .row {
    min-height: 100%;
}

.header-text-container {
    max-width: 550px;
}
.right-text-container{
    gap: 7rem;
}
.right-text-title{
 
font-weight: 500;
font-size: 16px;

color: #060B13;


}
.pin1,
.pin2,
.pin3,
.pin4,
.pin5 {
    position: absolute;
}

.pin1 {
    top: 41%;
    left: 13%;
}

.pin2 {
    top: 10%;
    left: 24%;
}


.pin3 {
    top: 30%;
    left: 60%;
}


.pin4 {
    top: 50%;
    right: 10%;
}


.pin5 {
    top: 0%;
    left: 60%;
    transform: translate(0%, -50%);
}
@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.pin1, .pin2, .pin3, .pin4 {
    opacity: 0; 
    animation: dropIn 0.8s ease-out forwards;
}

.pin1 { animation-delay: 0.5s; }
.pin2 { animation-delay: 1s; }
.pin3 { animation-delay: 1.5s; }
.pin4 { animation-delay: 2s; }

@keyframes shake {
    0% { transform: translate(0%, -50%) rotate(0deg); }
    25% { transform: translate(2%, -50%) rotate(3deg); }
    50% { transform: translate(-2%, -50%) rotate(-3deg); }
    75% { transform: translate(2%, -50%) rotate(3deg); }
    100% { transform: translate(0%, -50%) rotate(0deg); }
}

.pin5 {
    top: 0%;
    left: 60%;
    transform: translate(0%, -50%);
    animation: shake 0.5s ease-in-out infinite;
}

/* blogs section */
.blogs-section .container {
    max-width: 1200px;
}


.blogs-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.blogs-section .container {
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.blog-img {
    border-radius: 20px;
    max-width: 100%;
    /* height: 100%; */
}

.blog-img img {
    max-width: 550px;
    height: 100%;
    border-radius: 14px 14px 0 0;
}

.blog-item {
    border-radius: 20px;
    width: 100%;
    transition: all 0.1s ease-in;
    display: flex;
    color: #000;
    margin: 2rem 0;
    height: 100%;
    align-items: center;
}

.blog-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3rem;

}

.hr-line {
    width: 50px;
    height: 1px;
    background-color: black;
}

.blog-text-container {
    max-width: 500px;
}

.blog-cards .col:hover {
    background-color: transparent;
    border-radius: 20px;
}

.blog-details:hover {
    box-shadow: none;
}


.blog-cards {
    position: relative;
}

.blog-cards .col {
    transition: all 0.5s ease-in-out;
}

.blog-cards .col:nth-child(4) {
    opacity: 0.3;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    margin-top: 3rem;
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 20%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 80%);
}

.blog-cards .col:nth-child(n+5) {
    display: none;
}


.blog-cards.expanded .col {
    opacity: 1;
    max-height: 100%;
    transform: translateY(0);
    pointer-events: auto;
    display: contents;

}

.blog-cards.expanded .row {
    justify-content: center;
    gap: 3rem;
}

.blog-cards.expanded .blog-item:hover {
    background-color: transparent;
}

.blog-info {
    font-family: var(--secondary-font);


    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #363D4F;


}



.blog-name {
    font-family: var(--secondary-font);


    margin-bottom: 1rem;



    font-weight: 500;
    font-size: 23px;
    line-height: 29px;

    color: #060B13;


}

.blog-details {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 130px;
    gap: 5px;
    color: #000;
    height: 40px;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 0px 1.5px #E9EBF1, 0px 3px 4px -2px rgba(128, 136, 151, 0.16), 0px 1px 1px rgba(102, 109, 128, 0.2);
    border-radius: 999px;
    transition: all 0.1s ease-in;

}

.read-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem 0;
}

.read-more .btn {

    font-size: 14px;
    width: 230px;
    height: 49px;
    background: #FFFFFF;
    border: 1px solid #262626;
    border-radius: 3px;
    margin: 2rem 0;

    font-weight: 700;
    line-height: 17px;


    color: #0D0C46;


}

.blog-cards.expanded .read-more .btn {

    margin: 2rem 0;
}


@media (max-width:1024px) {
    .pin5 {
        left: 80%;
    }

    .blog-text-container{
        padding: 0 1rem;
    }
}

@media (max-width:770px) {
    .pin5 {
        width: 50px;
        top: 12%;
    }

    .pin1,
    .pin2,
    .pin3,
    .pin4 {
        width: 40px;
    }

    .blogs-header {
       padding-top: 3rem;
    }
    .pin2 {
        top: 27%;
        left: 38%;
    }

    .pin1 {
        left: 14%;
    }

.blog-item {
    flex-wrap: wrap;
}
.blog-img{
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.blog-text-container {
    max-width: 550px;
}
}

@media (max-width:450px) {
    .blogs-header .row {
        flex-wrap: wrap;
        height: auto;

    }
.blogs-header .col-md-6 {
    margin-top: 3rem;
}
.blogs-section .row {
    gap: 3rem;
}

.blog-img img,
.blog-text-container{

    max-width: 400px;
}

}

@media (max-width:400px) {
    .blog-img img,
.blog-text-container{

        max-width: 300px;
    }
}