/*-- ==================== gallery Banner Section  ====================== --*/

.gallery-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/about-banner.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    display: grid;
    place-items: center;
}

.gallery-banner .data {
    padding-top: 5%;
    display: grid;
    place-items: center;
}

.gallery-banner .data p{
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(186, 186, 186, 0.3);
    border: 1px solid rgb(108, 108, 108);
    border-radius: 30px;
    padding: 2px 26px 2px 26px;
    line-height: 2;
}
.gallery-banner h2 {
    font-size: clamp(25px, 3vw, 120px);
    color: white;
    font-weight: 700;
}

.gallery-banner p {
    color: var(--white-color);
    font-size: 20px;
}

.gallery-banner p i {
    color: var(--primary-color);
}

.gallery-banner a {
    color: var(--white-color);
}


@media(max-width:1199.5px){
 .gallery-banner .data {
        padding-top: 12%;
    }
}

@media(max-width:991.5px){
 .gallery-banner .data {
        padding-top: 12%;
    }
}


@media(max-width:767.5px){
       .gallery-banner{
        height: 40vh;
    }
    
 .gallery-banner .data {
        padding-top: 16%;
    }
}

@media(max-width:576.5px){
   .gallery-banner{
        height: 37vh;
    }
    
 .gallery-banner .data {
        padding-top: 23%;
    }
}

@media(max-width:400px) {
    .gallery-banner p {
        font-size: 18px;
    }
}


/* =================== gallery section here ================ */


.gallery{
    padding: 70px 0px;
    background-image: url(../images/gallery_bg.webp);
    background-size: cover;
}

.gallery .section-title h2 {
  font-size: 55px;
  line-height: 65px;
  letter-spacing: -0.03em;
}

.gallery .parent{
    column-width: 300px;
}

.gallery .child{
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 15px;
    box-shadow: 5px 5px 10px #00000010;
}

.gallery .child img{
    transition: 300ms;
}

.child img:hover{
    scale: 1.2;
}


/* ============== media query here ============= */


@media (max-width: 1650px) {

    .gallery .section-title h2 {
        font-size: 50px;
    }

}

@media (max-width: 992px) {

    .gallery .parent{
        column-width: 250px;
    }

}

@media screen and (max-width: 991.98px) {

    .gallery .section-title h2 {
        font-size: 40px;
        line-height: 55px;
    }

}

@media (max-width: 576px) {

    .gallery .parent{
        column-width: 200px;
    }

    .gallery .parent .child{
        border-radius: 20px;
    }

}

@media (max-width: 575.98px) {

    .gallery .section-title h2 {
        font-size: 30px;
        line-height: 45px;
    }

}

@media (max-width: 450px) {

    .gallery {
        padding: 50px 0px;
    }

    .gallery .section-title h2 {
        font-size: 25px;
    }

    .gallery .parent{
        column-width: 150px;
        gap: 10px;
    }

    .gallery .parent .child{
        border-radius: 15px;
        margin-bottom: 10px;
    }

}

