
.container3 {
    margin-bottom: 100px;
    margin-left: 25px;
    margin-right: 25px;
    display: flex;
    min-height: 55vh;
}
.cs-main {
    display: flex;
    min-height: 55vh;
    max-height: fit-content;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    max-height: 400px;
    box-shadow: 0px 0px 10px #A4A4A4;
    padding: 20px;
    border-radius: 15px;
}

.cs-left {
    display:flex;
    justify-content:center;
    flex-basis: 50%;
    max-height :50vh;
}

    .cs-left img {
        border-radius: 25px;
        max-width: 100%; /* Image will never exceed the div width */
        height: auto; /* Maintains aspect ratio */
        display: block;
    }

.cs-right {
    flex-basis: 50%;
    max-height: 400px;
    position: relative;
}

.cs-heading {
    margin-top: 10px;
    margin-bottom: 20px;
}

.cs-desc {
    max-height: 50%;
    font-size: 20px;
    display: flex;
    justify-content: center;
}

.cs-right a {
    position: absolute;
    bottom: 0px;
    background-color: #ff6a00;
    padding: 4px 13px;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 10px;
}

@media (max-width: 1200px) {
   .cs-main{
       flex-direction:column;
       gap:15px;
   }
    .cs-desc {
        margin-bottom: 70px;
        width: 300px;
        height: 150px;
        font-size: 15px;
        padding: 10px;
        overflow: auto;
    }

    .cs-left
    {
        height:fit-content;
        width:90%;
    }
    .container3{
        height:fit-content;
        max-height:600px;
    }
    .cs-heading {
        margin-top:2px;
        margin-bottom: 5px;
    }
}