/* Custom Modal Style */
.custom-modal {
    display: none;  /* Hidden by default */
    position: fixed;
    z-index: 1000;  /* On top of other content */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);  /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    padding: 12px;
}

/* Center Content */
.custom-modal-content {
    display: flex;
    align-items: center; 
    margin: 20px; /* Adds spacing between image and arrows */
}

/* Image Styling */
.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: 600;
    color: black;
    border-radius:50%;
    background:white;
    cursor: pointer;
    z-index: 1050;
    padding:5px;
}

/* Navigation Arrows */
.modal-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 3px 10px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    z-index: 1050; /* Ensures buttons are above the image */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.modal-btn:hover {
    background: #ff5e14;
}

@media only screen and (max-width:786px){
    .modal-btn{
        font-size:15px;
        padding:3px 7px;
    }
}
/*
.academy-tournamet-imges .image-box, .tournamentimagezoom .image-box{
    height: 400px;
}
#review1 .academy-tournamet-imges img, #tournamentImages .tournamentimagezoom img, #review .tournamentimagezoom img{
    height:100%;
}

*/

.outer-image-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: unset;
}
#review1 .image-box ,#tournamentImages .image-box, #review .image-box{
    width:150px;
    height:150px;
    border-radius:50%;
}
#review1 .image-box img,#tournamentImages .image-box img,#review .image-box img{
    width:100% !important;
    height:100% !important;
    
    object-fit: unset !important;
    object-position: unset !important;
} 

#review1 .lower-content p,#tournamentImages .lower-content p,#review .lower-content p{
    text-align: center;
}