/* Gallery Section */
.section-hr{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 130px;
}
.mid-txt{
    border: 6px solid #1E283C;
    width: 38%;
    background: #1E283C;
    border-radius: 5px;
    height: 10px;
}
.section-title {
    font-weight: 700;
    font-size: 60px;
    line-height: 100%;
    text-align: center;
    color: #1E283C;
}


.gallery-section{
    padding:70px 240px;
}
.gallery-grid-landing{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 400px;
    width: 100%;
    transition: .5s all ease;
    gap: 2rem;
}
.margin-btm{
    margin-bottom: 35px;
}
.image {
    box-shadow: -3px -3px 24px rgba(30, 40, 60, 0.06), 12px 12px 24px rgba(30, 40, 60, 0.16);
    border-radius: 18px;
    transition: .5s ease-in-out;
    display: flex;
    max-width: 300px;
}
.image img{
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.image:hover{
    box-shadow: -3px -3px 24px rgba(30, 40, 60, 0.04), 12px 12px 24px rgba(30, 40, 60, 0.12);
    transform: scale(1.008, 1.008) translateY(-4px);
}
/* Pagination */

.pagination{
    display: flex;
    justify-content: center;
    padding: 54px 0px;
    align-items: center;
}
.pagination a{
    text-decoration: none;
}
.prev-pg,.current-pg{
    padding: 5px 15px;
    font-weight: 500;
}
.active-pg{
    border-radius: 3px;
    border: 2px solid #583DCC;
}

/* End Pagination */


/******************************************************MEDIA QUERIES*********************************************************************/
/***********Full View(screen and 1200px)***********/
@media (min-width:1200px) and (max-width:1400px){
    
    /* gallery section */

    .section-hr {
        padding: 10px 110px;
    }
    .mid-txt {
        width: 35%;
    }

    .gallery-section{
        padding: 70px 130px;
    }
}


/***********Desktop View(992px and 1199px)***********/
@media (min-width:992px) and (max-width:1199px){
    /* gallery section */
    .section-hr {
        padding: 20px 80px;
    }
    .mid-txt {
        width: 35%;
    }
    .gallery-section {
        padding: 40px 80px;
    }
}

/***********Medium Desktop View(767px and 992px)***********/
@media (min-width:768px) and (max-width:991px){
    
    /* gallery-section */
    .section-hr {
        padding: 20px 60px;
    }
    .mid-txt {
        width: 35%;
    }
    .gallery-section{
        padding: 50px 60px;
    }

    /* Pagination */

    .pagination{
        padding-bottom: 0;
     }

    /* End Pagination */
    
}

/***********Mobile medium View(566px and 767px)***********/
@media (min-width:567px) and (max-width:767px) {
    .section-hr{
        padding: 40px;
    }
    .mid-txt {
        width: 27%;
    }
    .section-title {
        font-size: 50px;
    }

    /* gallery-section */
    .gallery-section{
        padding: 50px 16px;
    }

    /* Pagination */

    .pagination{
        padding-bottom: 0;
        }

    /* End Pagination */
}

@media (max-width: 767px) {
    .image {
        box-shadow: -3px -3px 24px rgba(30, 40, 60, 0.06), 12px 12px 24px rgba(30, 40, 60, 0.16);
        border-radius: 18px;
        transition: .5s ease-in-out;
        display: flex;
        max-width: 100%;
    }
}

/***********Mobile View(567px)***********/
@media (max-width:566px){
    /* galler-section */

    .section-hr{
        padding: 40px 16px;
    }
    .hid-mob {
        display: none;
    }
    .mid-txt {
        width: 60%;
    }
    .section-title {
        font-size: 50px;
    }
    .gallery-section{
        padding: 54px 16px;
        text-align: center;
        background-image: none;
    }
    .mid-img {
        margin: 0px;
    }

    .weight{
        width: auto;
        font-size: 20px;
    }
    .statement{
        padding: 10px 15px;
    }
    .slider-testimonial {
        margin: 54px 0px;
    }

    /* querry section */
    .querry-section {
        padding: 54px 16px;
    }
    .querry-image {
        display: none;
    }
    .input-field{
        float: none;
        display: block;
        margin: auto;
        margin-bottom: 20px;
        width: 100%;
    }
    .input{
        margin: 0px auto;
    }
    #name-input, #email-input, #subject-input {
        width: 100%;
    }
    #message-input {
        width: 100%;
    }
    .msg-btn{
        margin-right: auto;
    }


    /* Pagination */

    .pagination{
        padding-bottom: 0;
        }

    /* End Pagination */
}