.big-box,
.big-box-1,
.big-box-2,
.big-box-3,
.big-box-4,
.big-box-5,
.big-box-6,
.big-box-7 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    visibility: hidden;
    transform: scale(1.1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.show-box {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.close-btn {
    float: right;
    font-size: 40px;
    color: lightgray;
}
.close-btn:hover {
    color: black;
    cursor: pointer;
}

.Infrastructure-Box,
.Education-Box,
.Finance-Box,
.Aerospace-Box,
.InvestmentAndTrade-Box,
.Technology-Box {
    margin: 100px auto 0;
    width: 1000px;
    min-height: 600px;
    align-items: center;
    transition: 0.5s;
}

.card {
    margin: 0 auto;
    position: relative;
    width: 80%;
    min-height: 500px;
    background: #fff;
    display: flex;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: 0.5s;
}

.card:hover {
    height: 550px;
}

.card .img-box {
    position: absolute;
    inset: 10px 20px 50px 20px;
    /*background: #f00;*/
    border-radius: 15px;
    transition: 0.5s;
}

.card:hover .img-box {
    inset: -100px 60px 250px 60px;
    box-shadow: 0 0 0 10px;
}

.card img {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.card p {
    margin-top: 320px;
    font-size: 18px;
    padding: 0 40px 0;
    text-align: justify;
}

.card h3 {
    position: absolute;
    bottom: 8px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    opacity: 0.8;
    color: black;
    transition: .5s;
    font-weight: 600;
}

.card:hover h3 {
    padding: 5px 25px;
    background: #6f25ce;
    color: #ffffff;
    bottom: -25px;
    border-radius: 15px;
    box-shadow: 0 0 0 10px;
}

.Manufacturing-Box,
.NationalDefenseAndSecurity-Box {
    margin: 200px auto 0;
    width: 1000px;
    min-height: 800px;
    align-items: center;
    transition: 0.5s;
}

.Manufacturing-Box .card,
.NationalDefenseAndSecurity-Box .card {
    min-height: 600px;
}

.Manufacturing-Box .card:hover .img-box,
.NationalDefenseAndSecurity-Box  .card:hover .img-box {
    inset: -160px 60px 250px 60px;
    box-shadow: 0 0 0 10px;
}

