/* =========================================
MASONRY GALLERY
========================================= */

.masonry-gallery-section{

    position:relative;

    overflow:hidden;

    padding:50px 0;

    background:transparent;

    border-top:none;
    
}


/* =========================================
HEADING
========================================= */

.gallery-heading{

    text-align:center;

    margin-bottom:40px;
}

.gallery-heading span{

    display:inline-flex;

    padding:14px 32px;

    border-radius:50px;

    background:
    rgba(124,58,237,0.14);

    border:
    1px solid rgba(255,255,255,0.08);

    color:#c4b5fd;

    font-size:14px;

    font-weight:1150;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:25px;
}

.gallery-heading h2{

    color:#ffffff;

    font-size:55px;

    line-height:1.1;

    font-weight:1150;

    margin-bottom:24px;
}

.gallery-heading p{

    max-width:1150px;

    margin:auto;

    color:
    rgba(255,255,255,0.82);

    font-size:20px;

    line-height:1.6;
}

/* =========================================
MASONRY GRID
========================================= */

.masonry-gallery{

    display:flex;

    gap:25px;
}

.gallery-column{

    flex:1;

    display:flex;

    flex-direction:column;

    gap:25px;
}


.gallery-column img{

    width:100%;

    height:350px !important;

    object-fit:cover;

    display:block;

    border-radius:24px;

    cursor:pointer;

    transition:0.4s ease;

    border:
    1px solid rgba(255,255,255,0.06);

    box-shadow:
    0 18px 40px rgba(0,0,0,0.22);
}

.gallery-column{

    flex:1;

    display:flex;

    flex-direction:column;

    gap:25px;
}



.gallery-column img:hover{

    transform:
    translateY(-8px)
    scale(1.02);

    box-shadow:
    0 25px 55px rgba(124,58,237,0.28);
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:991px){

    .masonry-gallery{

        flex-wrap:wrap;
    }

    .gallery-column{

        flex:0 0 calc(50% - 13px);
    }

    .gallery-heading h2{

        font-size:44px;
    }
}

@media(max-width:767px){

    .gallery-column{

        flex:100%;
    }

    .gallery-heading h2{

        font-size:34px;
    }

    .gallery-heading p{

        font-size:16px;
    }
}

/* =========================================
IMAGE POPUP
========================================= */

.image-popup{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.92);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:999999;
}

.image-popup.show-popup{

    display:flex;
}

.image-popup img{

    max-width:90%;
    max-height:90%;
}

.close-popup{

    position:absolute;

    top:30px;
    right:40px;

    font-size:55px;

    color:#ffffff;

    cursor:pointer;
}


.image-popup.active-popup{

    display:flex !important;

}


/* =========================================
ACCREDITATIONS FAQ FIX
========================================= */

.faq-section{

    background:transparent;
}

.faq-item{

    background:
    rgba(255,255,255,0.04);

    border:
    1px solid rgba(255,255,255,0.06);

    border-radius:24px;

    padding:28px;

    margin-bottom:24px;
}

.faq-header{

    text-align:center;

    margin-bottom:40px;
}

.faq-header span{

    display:inline-flex;

    padding:12px 28px;

    border-radius:50px;

    background:rgba(124,58,237,0.14);

    border:1px solid rgba(255,255,255,0.08);

    color:#c4b5fd;

    font-size:13px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:25px;
}

.faq-header h2{

    color:#ffffff;

    font-size:52px;

    line-height:1.15;

    font-weight:800;

    max-width:1100px;

    margin:auto;
}

.faq-container{

    display:flex;

    flex-direction:column;

    gap:24px;

    margin-top:40px;
}

.faq-item{

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:28px;

    padding:34px;

    backdrop-filter:blur(16px);

    transition:0.35s ease;
}

.faq-item:hover{

    transform:translateY(-5px);

    border-color:rgba(124,58,237,0.35);

    box-shadow:0 20px 50px rgba(124,58,237,0.14);
}

.faq-item h3{

    color:#ffffff;

    font-size:28px;

    margin-bottom:16px;

    font-weight:800;
}

.faq-item p{

    color:rgba(255,255,255,0.78);

    font-size:17px;

    line-height:1.9;
}

