@import url('style.css');
/* About DCMC start */

.test {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/dcmc-class-room.webp");
    position: relative;
}

.hero_text_animetion {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.hero_text_animetion span {
    text-transform: uppercase;
    display: block;
}

.animetion_text {
    color: var(--background-color);
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    position: relative;
    animation-name: text;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes text {
    0% {
        color: #0000002f;
    }
    30% {
        letter-spacing: 25px;
    }
    85% {
        letter-spacing: 8px;
    }
}

/* About DCMC end */

/* chairmen dch trust message start */

.chairmen_dch_trust_message_items {
    padding: 30px 0px;
}

.professor_all_informetion {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.professor_all_informetion:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.professor_all_informetion img {
    width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.professor_all_informetion h5 {
    padding: 20px 0px 0px 8px;
    color: var(--btn-color) !important;
    font-size: 20px;
}

.professor_all_informetion .professor_digree {
    padding: 0px 0px 0px 8px;
    color: var(--btn-bg) !important;
    font-size: 16px;
}

.professor_all_informetion .professor_position {
    padding: 0px 0px 0px 8px;
    color: var(--btn-color) !important;
    font-size: 16px;
}

.professor_discription_text p {
    text-align: justify;
    line-height: 30px;
    font-weight: 500;
}

/* chairmen dch trust message end */

/* dhaka medical footer start */
#medical_footer_items {
    padding: 50px 0px 40px 0px;
    background: var(--btn-bg);
}

.Container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}

.short_text h4 {
    font-weight: 600;
    font-size: 22px;
    color: var(--background-color);
}

.medical_all_item {
    padding: 0px 15px;
}

.under_lines {
    width: 245px;
    height: 2.5px;
    background: var(--background-color);
}

.medical_footer_text {
    padding: 5px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer_list_1 li,
.footer_list_2 li {
    padding: 15px 0px 0px 0px;
    list-style-type: none;
}

.footer_list_1 a,
.footer_list_2 a {
    font-size: 16px;
    text-decoration: none;
    color: var(--background-color);
    font-weight: 400;
    transition: 0.5s;
}

.footer_list_1 a:hover,
.footer_list_2 a:hover {
    color: var(--btn-color);
}

.footer_social_item {
    display: flex;
}

.footer_social_item .icon {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 40px;
    height: 40px;
    border: 1px solid #575ea8;
    font-size: 16px;
    border-radius: 50%;
    margin: 0px 10px 0px 0px;
    transition: 0.5s;
}

.footer_social_item .icon:hover {
    background: #6b6d79;
}

.footer_contact_item {
    display: flex;
    padding: 14px 0px 0px 0px;
}

.medical_footer_contact_icon,
.medical_footer_location_icon {
    font-size: 38px;
}

.medical_footer_contact_text {
    padding: 0px 0px 0px 20px;
}

.callname_heading a {
    font-size: 18px !important;
}

.medical_footer_contact_callnamebar a,
.medical_footer_contact_faxnamebar a,
.medical_footer_location_text a {
    font-size: 14px;
    text-decoration: none;
    color: var(--background-color);
}

.medical_footer_contact_text a:hover,
.medical_footer_location_text a:hover {
    color: var(--background-color);
}

.madical_collage_location {
    margin: 18px 0px 0px 0px;
}

.madical_collage_location iframe {
    width: 100%;
    height: 250px;
}

@media screen and (max-width: 770px) {
    .medical_all_item {
        margin: 20px 0px;
    }

    .medical_footer_text {
        display: block;
        padding: 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .Container {
        padding: 0 10px;
    }

    .medical_footer_contact_item,
    .footer_social_item {
        justify-content: center;
    }

    .medical_footer_contact_icon,
    .medical_footer_location_icon {
        font-size: 28px;
    }

    .callname_heading a {
        font-size: 16px !important;
    }

    .madical_collage_location iframe {
        height: 200px;
    }
}

/* dhaka medical footer end */

/* dhaka medical copyright start */
#medical_copyright_items {
    background: var(--btn-color);
    text-align: center;
}

.medical_copyright_item {
    padding: 16px 0px;
}

.medical_copyright_item a {
    font-weight: 600;
    text-decoration: none;
    color: var(--background-color);
}

.medical_copyright_item a:hover {
    color: var(--background-color);
}

/* dhaka medical copyright end */

/* Back To Top button start */

#back_to_top {
    padding: 20px;
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

#backToTopBtn:hover {
    background: linear-gradient(45deg, #2575fc, #6a11cb);
    transform: rotate(360deg) scale(1.1);
}

#backToTopBtn span {
    color: white;
    font-size: 24px;
    transition: all 0.5s ease;
}

/* Pulsating Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 20px 20px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Back To Top button end */
