*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-banner {
    background: url('../images/MARK_MAKER_INDUSTRIES_Banner.png')no-repeat bottom center;
    height: 550px;
    background-size: cover;
    background-attachment: fixed;
    align-content: center;
    background-attachment: fixed;
}

.industry-content{
    width: 59%;
    margin: 0 auto;
    padding: 10px;
}

.industry-content p{
    font-size: 18px;
    font-family: "Poppins", Sans-serif;
    text-align: left;
    font-weight: 300;
}


.industry-image {
    display: grid;
    grid-template-columns: repeat(2, 550px);
    /* grid-template-rows: repeat(3, 412px); */
    column-gap: 20px;
    row-gap: 35px;
    justify-content: center;
    align-items: center;
    filter: brightness(80%) grayscale(20%);
    transition: filter 0.3s ease;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* .industry-image img {
    width: 550px;
    height: 412px;
    object-fit: cover;
    border-radius: 20px;
} */

.image-container {
    position: relative;
    width: 550px;
    height: 412px;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #05163fa2; /* Dark overlay */
    color: white;
    display: flex;
    justify-content: center;
    align-items: end;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container .overlay p {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    font-family: "Poppins", Sans-serif;
    margin: 0;
    margin-bottom: 30px;
    transform: translateY(20px); /* Start below */
    transition: transform 0.3s ease, opacity 0.3s ease
    
}

.image-container:hover .overlay p {
    transform: translateY(-10px); /* Move text upward on hover */
    opacity: 1; /* Ensure the text is fully visible */
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
}


/* responsive */
@media (max-width: 768px) {
    .about-banner{
        height: 300px;
        background-attachment: unset;
        background-size: 100% 100%;
    }
    .industry-content {
        width: 100%;
        padding: 20px;
    }
    .industry-content p{
        font-size: 15px;
    }
    .industry-image{
        grid-template-columns: 1fr;
    }
    .image-container{
        width: 100%;
        height: auto;
        padding: 20px;
    }
}