.dropdowns-box {
    background-image: url('../images/about-abp-img.jpg');
    background-size: cover;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 2% 0;
    height: auto;
    width: 100%;
}

.dropdown {
    color: #fff;
    width: 80%;
    height: 100%;
    justify-self: center;
    display: grid;
    grid-template-rows: auto 0;
    overflow: hidden;
    transition: grid-template-rows 0.8s ease;
}

/* section */
.tittle-icon-box {
    grid-row: 1/2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: row;
    background-color: rgb(42, 110, 149);
    border-radius: 10px 10px 0 0;
    text-align: center;
    align-items: center;
    height: 70px;
    margin: 0;
    border: 1px solid;
}

.tittle-icon-box h3 {
    grid-column: 2/3;
    font-size: 16px;
}

.tittle-icon-box i {
    grid-column: 3/4;
    font-size: 20px;
    transition: transform 0.8s ease;
}

.dropdown:first-of-type .tittle-icon-box h3{
    grid-column: 1/3;
    justify-self: end;
}

/* section ends*/

/* section */
.information-box {
    grid-row: 2/5;
    background: rgb(42, 110, 149);
    background: linear-gradient(180deg, rgb(42, 110, 149, 1) 0%, rgba(0, 0, 0, 1) 100%);
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px;
    text-align: center;
    align-items: center;
    border-radius: 0 0 10px 10px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.8s ease;
    margin: 0;
    border: 1px solid;
    border-top: 0;
}

.dropdown:hover {
    grid-template-rows: auto 1fr;
}

.dropdown:hover .tittle-icon-box {
    border-bottom: 0;
}

.dropdown:hover .tittle-icon-box i {
    transform: rotate(180deg);
}

.dropdown:hover .information-box {
    transform: scaleY(1);
}

.information-box i {
    font-size: 50px;
}

/* section ends */

/* phone measure */

@media (320px <= width <= 640px) {
    .dropdowns-box {
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 10% 0;
    }

    .dropdown {
        transition: none;
        border: 1px solid;
        border-radius: 10px;
    }

    .dropdown:hover .tittle-icon-box i {
        transform: none
    }

    .tittle-icon-box{
        border: none;
    }

    .dropdown:first-of-type .tittle-icon-box h3{
        grid-column: 2/3;
        text-align: center;
    }

    .tittle-icon-box i {
        display: none;
        transform: none;
        transition: none;
    }

    .information-box {
        transition: none;
        transform: scaleY(1);
        border: 0;
    }
}