.case-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.case-box {
    width: 48%;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.case-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.case-box p {
    font-size: 16px;
    color: black;
    line-height: 1.5;
    font-size: larger;
}

.case-solution img {
    width: 100%;
    height: auto;
}
.case-challenges p{
    color: black;
    font-size: larger;
}

.case-box ul{
    list-style-type:disc;
    color: black;
    font-size: larger;
}

.image-background {
    position: relative;
    width: 100%;
    /* Adjusts the width to 100% of its parent container */
    max-width: 1920px;
    /* Maximum width of the image */
    margin: 20px 0;
    /* Add some margin to the container */
}

.image-background img {
    width: 100%;
    height: auto;
    max-height: 520px;
    /* Reduce the height to match text */
    object-fit: cover;
    /* Ensures the image covers the container */
    display: block;
}

.black-film {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.662);
    /* Semi-transparent black overlay */
}

.image-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    /* Align text to the center */
}

.image-overlay-text h1 {
    font-size: 54px;
    margin-bottom: 10px;
    color: white;
}

.image-overlay-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;

}

.image-overlay-text p {
    font-size: 20px;
    margin-top: 10px;
    color: white;
    color: white;

}


.cs-body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    padding: 30px;
}
h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #000000;
}
.cs-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 30px;
    width: 100%;
    max-width: 1200px; 
}
.cs-card {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    text-align: center;
}
.cs-card i {
    font-size: 50px;
    color: #1A76D1;
}
.cs-card-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: black;
}
.cs-card:hover {
    transform: scale(1.05);
}

/* Popup window styling */
.cs-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 1200px; /* Increased size */
    z-index: 10;
}
.cs-popup-content {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}
.cs-popup-container {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.cs-popup-container h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: black;
}
.cs-popup-container p {
    font-size: 18px;
    margin-bottom: 10px;
    color: black;
    text-align: justify;
}
.cs-close-btn {
    background-color: #1A76D1;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    float: right;
}
.cs-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}