body{
    background-color: black;
}




.lightbox {
    /* existing styles for the lightbox */
    /* ... */
    /* add the following styles for the close button */
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
}


  /* Reset some default styles for consistency */
body, h1, h2, h3, p, img {
    margin: 0;
    padding: 0;

}




/* Background styling */
.background {
    background-color: #f2f2f2;
    background-image: url('imgs/bg-img.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Content container */
.content-pages {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url('imgs/bg-img.jpg');
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 1200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for header, main content, and footer */
header, footer {
    text-align: center;
}

/* Styling for solution grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
   
    gap: 2rem;
}

/* Styling for each solution */
.solution {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Styling for solution image */
.solution img {
    width: 300px;
    height: 300px;
    margin: auto;
    display: block;
}

/* Styling for solution title */
.solution h2 {
    color: #333333;
    font-size: 1.2rem;
    margin: 1rem 0;
    text-align: center;
}


/* Your existing styles here */

/* Add a media query for smaller screens (mobile devices) */
@media only screen and (max-width: 720px) {
    /* Adjustments for smaller screens */

    /* Center align the header text */
    header {
        text-align: center;
    }

    /* Adjust solution grid for mobile devices */
    .solution-grid {
            grid-template-columns: 1fr; 
        gap: 1rem;
    }

    /* Lightbox adjustments for mobile */
    #lightbox-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lightbox-close {
        top: 5px;
        right: 10px;
        font-size: 24px;
    }
}

/* For screens up to 560px wide */
@media only screen and (max-width: 560px) {
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* For screens between 560px and 800px wide */
@media (min-width: 561px) and (max-width: 800px) {
    .solution-grid {
        grid-template-columns: repeat(2, 250px); /* Two columns with 250px width each */
        gap: 20px;
    }
}

/* For screens between 800px and 1200px wide */
@media (min-width: 801px) and (max-width: 1200px) {
    .solution-grid {
        grid-template-columns: repeat(3, 250px); /* Three columns with 250px width each */
        gap: 20px;
    }
}

/* For screens larger than 1200px */
@media (min-width: 1201px) {
    .solution-grid {
        grid-template-columns: repeat(4, 300px); /* Four columns with 250px width each */
        gap: 2rem;
    }
}
