@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    font-family: 'Open Sans';
}
    
.post-container_dm {
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.post_content_title {
    width: 50%;
    margin: 0 auto;
    position: relative;
    margin-top: 50px;
}

.post_content_title h1 {
    font-size: 35px;
    text-align:center;
    color:#0c96e2 ;
    margin-top: 30px;
}

.post_content_title .stat_close {
    color: #fff;
    font-size: 25px;
    margin-top: 20px;
    width: 40%;
    text-align: center;
    padding: 10px;
    border: 1px solid #c51f30;
    background-color: #c51f30; 
    align-items: center;
    margin: auto;
}

.post_content_title .stat_pending {
    color: #333333;
    font-size: 25px;
    margin-top: 20px;
    width: 45%;
    text-align: center;
    padding: 10px;
    border: 1px solid #0c96e2;
    background-color: #0c96e2; 
    align-items: center;
    margin: auto;
}

.post_content_title .stat_enroll {
    color: #fff;
    font-size: 25px;
    margin-top: 20px;
    width: 30%;
    text-align: center;
    padding: 10px;
    background-color: #0c96e2; 
    align-items: center;
    margin: auto;
}

.post_content_title a{
    font-size: 20px;
    text-decoration: none;
    color: #c51f30;
}

.post_content_title i {
    font-size: 20px;
    text-decoration: none;
    color: #c51f30;
    margin-right: 5px;
    margin-bottom: 50px;
}

.post_content_title h2 {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
    color: #333333;
}

.post-sub_dm {
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 20px;
    }

.header_dm {
    width: 100%;
    height: 400px;
    background: #0c96e2;
    margin-top: -65px;
    }

.header-content_dm {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem !important;
    }

.header-title_dm {
    width: 90%;
    font-size: 2.4rem;
    color: #0c96e2;
    text-align: center;
    margin-bottom: 1rem;
    }

.header-img_dm {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    margin-top: 50px;
    
    }

.post-content_dm {
    margin-top: 6rem !important;
    }

.sub-heading_dm {
    font-size: 1.2rem;
    margin-bottom: 20px;
    margin-top: 50px;
}

.sub-heading_dm1{
font-size: 1.2rem;
margin: 30px 0 30px 0;
}

    .post-content_dm h1 {
        font-size: 30px;
        margin-bottom: 20px;
        color: #c51f30;
    }

    .post-container_dm li{
        margin-bottom: 10px;
        font-weight: 500;
    }

    .post-container_dm .fa-square-check{
        font-size: 1.2rem;
        color: #0c96e2;
    }

    .ct_button_part {
        font-size: 20px;
        margin-bottom: 20px;
        background-color: #0c96e2;
        padding: 12px 40px;
        text-align: center;
        border-radius: 10px;
        text-decoration: none;
        width: 55%;
    }

    .ct_button_part:hover {
        cursor: pointer;
        color: #fff;
        transition: 0.3s;
        background-color: #53cef9;
    }

    .ct_button_part a {
        color: #fff;
    }

    .ct_button_part .fa-solid {
        font-size: 25px;
        color: #fff;
    }

.post-text_dm {
    font-size: 1rem;
    line-height: 1.7rem;
    margin: 1rem 0;
    text-align: justify;
    }

.dm-content li{
    font-size: 18px;
    color: #666;
    margin-top: 8px;
}

.dm-container {
    width: 90%;
    margin: 0 auto;
    padding: 100px 10px;
}

.dm-about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.dm-image {
    flex: 1;
    margin-right: 40px;
    overflow: hidden;
    border-radius: 5%;
}

.dm-image img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: 0.5s ease;
}

.dm-image:hover img{
    transform: scale(1.2);
}

.dm-content {
    flex: 1;
}

.dm-content h2{
    font-size: 23px;
    margin-bottom: 15px;
    color: #333;
}

.dm-content p{
    font-size: 18px;
    line-height: 1.5;
    color: #666;
}

.dm-content .dm-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    font-size: 19px;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 15px;
    transition: 0.3s ease;
    background-color: #0c96e2;
    margin-bottom: 30px;
}

.dm-content .dm-btn:hover {
    background-color: #53cef9;
}

/*--Medical Officer Picture--*/
.dm {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #d3d3d3;
}

.dm-wrapper .dm-title{
    text-align: center;
}

.dm-title h4{
    display: inline-block;
    padding: 20px;
    color: #000;
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 1.2px;
    word-spacing: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-transform: uppercase;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    word-wrap: break-word;
    margin-top: 50px;
}

.dm-wrapper .dm_card_container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.dm_card_container{
    margin: 0 auto;
    padding: 10px 100px;
}

.dm_card_container .dm_card{
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 1) inset 0 0 0 1000px #4d4d4d;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dm_card .dmimbBx, .dmimbBx img{    
    width: 100%;
    height: 100%;
}

.dm_card .dm_content {
    position: absolute;
    width: 100%;
    height: 85px;
    bottom: -160px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #4d4d4d;
    border-radius: 15px;
    transition: bottom 0.5s;
    transition-delay: 0.5s;
}

.dm_card:hover .dm_content {
    bottom: 0;
    transition-delay: 0s;
}

.dm_content .dm_contentBx h3 {
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    margin: 20px 0 15px;
    line-height: 1.1em;
    transition: 0.1s;
    transition-delay: 0.1s;
    opacity: 0;
    transform: translateY(-20px);
}

.dm_card:hover .dm_content .dm_contentBx h3 {
    opacity: 1;
    transform: translateY(0);
}

.dm_content .dm_contentBx h3 span{
    font-size: 12px;
    font-weight: 300;
    text-transform: initial;
}



@media (max-width: 992px) {
    .post_content_title, .header-title_dm, .post-sub_dm {
        width: 70%;
    }

    .header_dm {
        height: 300px;
    }

    .header-title_dm {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .post_content_title, .header-title_dm, .post-sub_dm, .dm-content h2 {
        font-size: 1.5rem;
        width: 80%;
    }

    .post_content_title .stat_close,
    .post_content_title .stat_pending,
    .post_content_title .stat_enroll {
        font-size: 18px;
        width: 100%;
        padding: 8px;
    }

    .header_dm {
        height: 250px;
    }

    .header-title_dm {
        font-size: 1.8rem;
    }

    .header-img_dm {
        height: 300px;
    }

    .ct_button_part {
        padding: 10px 30px;
        width: 70%;
    }
}

@media (max-width: 576px) {
    .post_content_title, .header-title_dm, .post-sub_dm, .dm-content h2 {
        font-size: 1.2rem;
        width: 100%;
    }

    .post_content_title h1 {
        font-size: 24px;
    }

    .header_dm {
        height: 200px;
    }

    .header-title_dm {
        font-size: 1.5rem;
    }

    .header-img_dm {
        height: 250px;
    }

    .post_content_title .stat_close,
    .post_content_title .stat_pending,
    .post_content_title .stat_enroll {
        font-size: 16px;
        padding: 6px;
    }

    .ct_button_part {
        padding: 8px 20px;
        font-size: 18px;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .post_content_title h1,
    .post_content_title h2,
    .header-title_dm {
        font-size: 1.2rem;
        width: 100%;
    }

    .ct_button_part {
        font-size: 16px;
    }

    .dm-content p, .dm-content li {
        font-size: 0.9rem;
    }
}