.main-heading{
    font-size: 2em;
    margin-top: 20px;
    color: #222;
    font-weight: 700;
    color: rgba(189,0,28);
    border-left: 5px solid rgba(189,0,28);
    padding-left: 10px;

}

.main{
    .boxes{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        margin-top: 40px;
        .box{
            width: calc(50% - 20px);
            background-color: #fff;
            border-left: 5px solid rgba(189,0,28);
            box-shadow: 0 0px 2px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            .top{
                position: relative;
                padding: 20px 30px;
                h3{
                    margin: 0;
                    font-size: 1.2em;
                    color: rgba(189,0,28);
                    font-weight: 700;
                    /* color: #333; */
                    text-transform: uppercase;
                }
                span{
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    height: 30px;
                    width: 30px;
                    border-radius: 50%;
                    background-color: rgba(189,0,28);
                    display: flex;
                    justify-content: center;
                    align-items:  center;
                    font-size: 18px;
                    color: #fff;
                    font-weight: 800;
                }
            }
            ul{
                padding: 20px 10px;
                margin: 0;
                list-style: inside;
                li{
                    margin-bottom: 10px;
                    font-size: 1em;
                    color: #555;
                    display: flex;
                    gap: 10px;
                    align-items: center;
                    i{
                        padding: 3px 8px;
                        background-color: #55555557;
                        border-radius: 5px;
                        color: rgba(189,0,28);
                    }
                    &:last-child{
                        margin-bottom: 0;
                    }
                }
            }
            .images{
                display: flex;
                flex-direction: column;
                gap: 20px;
                padding: 0 10px 20px;
                align-items: center;
                justify-content: center;
                border-top: 1px solid #eee;
                padding-top: 10px;
                img{
                    width: 100%;
                    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
                }
                .many{
                    display: flex;
                    width: 100%;
                    gap: 10px;
                    justify-content: space-between;
                    align-items: center;
                    img{
                        width: auto;
                        height: 90px;
                    }
                    .one{
                        .single{
                            position: relative;
                            display: flex;
                            gap: 10px;
                            justify-content: start;
                            align-items: center;
                            padding-bottom: 10px;
                            img{
                                height: 70px;
                                width: 100px;
                                object-fit: cover;
                                &:nth-child(2){
                                    width: 55px;
                                    height: 40px;
                                }
                            }
                        }
                    }
                    .two{
                        .single{
                            padding-bottom: 20px;
                            img{
                                width: 143px;
                                height: auto;
                                object-fit: contain;
                            }
                        }
                    }
                }
            }
        }
    }
}

.design{
    padding-top: 50px;
    .main{
        display: flex;
        gap: 20px;

    }
    .image{
        display: flex;
        justify-content: center;
        align-items: center;
        
        .content{
            background-color: #555;
            padding: 10px;
            img{
                width: 100%;
            }
            .data{
                background-color: #000;
                padding: 20px;
            }
            h4{
                font-size: 22px;
                font-weight: 900;
                color: #fff;
                margin: 0;padding: 0;
            }
            p{
                font-size: 16px;
                color: rgba(189,0,28);
                margin: 0;padding: 0;

            }
            
        }
    }
    .left,.right{
        width: 50%;
        ul{
            li{
                width: 100%;
                background-color: #17244B;
                color: #fff;
                list-style: none;
                padding: 10px;
            }
        }
        
        img{
            width: 100%;
            border-radius: 8px;
            padding-bottom: 20px;
        }
        h4{
            font-size: 22px;
            font-weight: 900;
        }
        h5{
            font-size: 18px;
            font-weight: 700;
            color: rgba(189,0,28);
            text-transform: uppercase;
        }

    }
}

.CaseStudies{
    padding-top: 50px;
    .boxes{
        display: flex;
        gap: 20px;
        .box{
            width: calc(50% - 10px);
            position: relative;
            border: 1px solid #000;
            display: flex;
            padding: 20px;
            border-top: 5px solid rgba(189,0,28);
            align-items: center;
            justify-content: space-between;
            .content{
                padding-top: 10px;
                h3{
                    font-size: 24px;
                    font-weight: 700;
                }
                span{
                    font-size: 14px;
                    font-weight: 600;
                    color: rgba(189,0,28);
                }
                ul{
                    padding: 10px 0;
                    li{
                        margin-bottom: 10px;
                        list-style: inside;
                        font-size: 1em;
                        color: #555;
                        &:last-child{
                            margin-bottom: 0;
                        }
                    }
                }
            }
            img{
                height: 200px !important;
                width: auto !important;
            }
        }
    }
    .defence{
        .box{
            .content{
                /* width: 100%; */
                img{
                    height: 250px !important;
                }
            }
        }
    }
}

.single{
    display: flex;
    gap: 20px;
    .box{
        flex-direction: column;
        gap: 10px !important;
    }
    .second{
        display: flex;
        gap: 20px;
    }
}

@media (max-width: 768px){
    .main{
        .boxes{
            .box{
                width: 100%;
                .images{
                    .many{
                        flex-direction: column;
                        .one{
                            .single{
                                img{
                                    height: 90px;
                                    width: 150px;
                                    object-fit: cover;
                                    &:nth-child(2){
                                        width: 80px;
                                        height: 55px;
                                    }
                                }
                            }
                        }
                        .one, .two{
                            .single{
                                img{
                                    height: auto;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .design, .testAndValidation{
        .main{
            flex-direction: column-reverse;
            .left,.right{
                width: 100%;
            }
        }
    }
    .CaseStudies{
        .boxes{
            flex-direction: column;
            padding: 0px;
            .box{
                width: 100%;
                flex-direction: column;
                .content{
                    min-width: 100%;
                }
                img{
                    height: auto !important;
                    max-width: 100%;
                }
            }
        }
    }
}

