.inner-accredit {
    padding: 1% 0% 8% 0%;
    margin: 2% 0% 5% 0%;
    background-color: #ffffff;
    box-shadow: 0px 0px 13px #00000029;
    border-radius: 10px;
}

.accredit-page .head {
    padding: 5% 5% 5%;
}
.accredit-page .heading {
    justify-content: center;
    font-weight: bold;
    font-size: 23px;
    cursor: default;
}

.accredit-page .heading .line-horizantal,
.line-horizantal-two {
    background-color: grey;
    height: 2px;
    margin: 20px 0px;
    width: 30px;
    transition: width 0.3s ease;
}
.heading:hover .line-horizantal,
.heading:hover .line-horizantal-two {
    width: 15px;
    cursor: default;
}

.accredit-page .heading .line-vertical {
    height: 20px;
    width: 2px;
    background-color: grey;
    margin: 10px 10px 10px 0px;
}
.accredit-page .heading .line-vertical-two {
    height: 20px;
    width: 2px;
    background-color: grey;
    margin: 10px 0px 10px 10px;
}
.accredit-page .heading .line-horizantal:hover {
    width: 15px;
}
.accredit-page .inner-accredit .image-section .card .main-img {
    padding: 10% 5%;
}
.accredit-page .inner-accredit .image-section .card {
    background-color: #ffffff;
    box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000029;
    border: none;
    position: relative;
    overflow: hidden;
    margin-top: 5%;
    height: 160px;
    border-radius: 15px;
   
}
.accredit-page .inner-accredit .image-section .card img {
    transition: transform 0.3s ease;
}
.accredit-page .inner-accredit .image-section .card:hover img {
    transform: translateY(-15px);
}
.accredit-page .inner-accredit .image-section .card:hover .img-text {
    transform: translateY(-15px);
}

.accredit-page .inner-accredit .image-section .card .card-body .card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accredit-page .inner-accredit .image-section .card:hover .card-text {
    opacity: 1;
    background: linear-gradient(white, #dee3ff);
    text-decoration: underline;
}
.accredit-page .card .img-text {
    margin: 15% 0%;
    text-align: center;
    font-size: 25px;
    transition: transform 0.3s ease;
    font-weight: 700;
}

.accredit-page .inner-accredit .image-section .card .card-body p {
    font-weight: bold;
    text-align: center;
}
.accredit-page .inner-accredit .image-section {
    margin: 0% 10%;
}

@media screen and (min-width: 0px) and (max-width: 576px) {
    .accredit-page .heading {
        font-size: 18px;
    }
    .accredit-page .heading .line-horizantal,
    .line-horizantal-two {
        display: none;
    }
    .accredit-page .heading .line-vertical {
        display: none;
    }
    .accredit-page .heading .line-vertical-two {
        display: none;
    }
    .heading:hover .line-horizantal,
    .heading:hover .line-horizantal-two {
        display: none;
    }
    .card .img-text {
        font-size: 18px;
    }
    .accredit-page .inner-accredit .image-section .card .card-body .card-text {
        font-size: 13px;
    }
    .accredit-page .inner-accredit .image-section .card {
        height: 130px;
    }
    .accredit-page .card .img-text {
        font-size: 25px;
    }
}

@media screen and (min-width: 487px) and (max-width: 577px) {
    .card .img-text {
        font-size: 20px;
    }
    .accredit-page .inner-accredit .image-section .card {
        height: 130px;
    }
    .accredit-page .card .img-text {
        font-size: 25px;
    }

    .accredit-page .inner-accredit .image-section .card .main-img {
        padding: 5% 25%;
    }
}

@media screen and (min-width: 578px) and (max-width: 769px) {
    .card .img-text {
        font-size: 20px;
    }
    .accredit-page .inner-accredit .image-section .card {
        height: 130px;
    }
    .accredit-page .card .img-text {
        font-size: 25px;
        margin: 5% 0%;
    }

    .accredit-page .inner-accredit .image-section .card .main-img {
        padding: 5% 15%;
    }
}
@media screen and (min-width: 769px) and (max-width: 992px) {
    .card .img-text {
        font-size: 22px;
    }
    .accredit-page .inner-accredit .image-section .card {
        height: 150px;
    }

    .accredit-page .card .img-text {
        font-size: 20px;
    }

    .accredit-page .card .img-text {
        margin: 20% 0%;
    }
    .accredit-page .inner-accredit .image-section .card .main-img {
        padding: 20% 5%;
    }
}
@media screen and (min-width: 993px) and (max-width: 1200px) {
    .card .img-text {
        font-size: 28px;
    }
    .accredit-page .inner-accredit .image-section .card {
        height: 150px;
    }
}
