@media(max-width: 1580px){
    .member_block h2{
        font-size: 130px;
    }
    .quote_section{
        padding: 0;
    }
}


@media(max-width: 1300px){
    .member_block h2{
        font-size: 100px;
    }
    .announcement-bar{
        padding: 80px 50px 50px 50px;
        
    }
    .announcement_title{
        font-size: 28px;
    }
    .building_block{
        height: 100%;
    }
    .text_block{
        padding-right: 0;
    }
    .quote_txt::after{
        bottom: 0;
        right: 0;
    }
    .img_block{
        height: 380px;
    }
}

@media(min-width: 1201px){
    .members_section .news_block{
        display: none!important;
    }
    .part_members  {
        display: none;
    }
    
}
@media(max-width: 1200px){
    .part_members {
        display: flex;
    }
    .member_block {
        display: none!important;
    }
    .members_section .news_block h2{
        font-size: 64px;
    }
    .members_section .sm_logo{
        width: 70px;
        padding: 0;
    }
     .members_section .sm_logo img{
        width: 100%;
     }
     .members_section .news_block{
        margin-bottom: 60px;
     }
     .banner_section{
        padding-top: 200px;
        background-repeat: no-repeat;
        position: relative;
     
     }
    .gradient_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    180deg,
    #0D4EC2 0%,                  
    #0D4EC2 5.19%,                
    rgba(13, 78, 194, 0.5) 39.82%,   
    rgba(13, 78, 194, 0.1) 80%,       
    rgba(13, 78, 194, 0) 100%     
     );
    z-index: 1;
    }
    .mobile_wrapper{
        position: relative;
        z-index: 9;
    }
     .banner_section .title{
        font-size: 64px;
     }
     .banner_section .sm_title{
        font-size: 24px;
     }
     .header_container{
        padding: 24px 16px;
     }
     .mobile_wrapper{
        color: #fff;
     }
     .hero_section {
        padding-left: 0;
        padding-right: 0;
     }
     .main_info{
        border-radius: 0;
     }
     .banner_section::after{
        content: "";
        position: absolute;
        background-image: url("../img/mobile_star.svg");
        background-size: cover;
        z-index: 1;
        top: 0;
        right: 0;
        width: 530px;
        height: 513px;
     }
     .charter_btn{
        margin: 0 auto;
     }
     .mb-40{
        margin-bottom: 32px;
     }
     .part_members{
        gap: 8px;
     }
     .s1{
        display: none!important;
     }
     .footer_title {
        font-size: 28px;
     }
     .sidebar-menu{
        font-size: 20px;
     }
        .part_member_info .sm_description,.part_member_info .slider_member_name  {
        position: initial!important;
    }
       .part_members .slider_img {
        margin-top: -70px;
    }
}
@media(max-width: 992px){
    .slider_img .sm_description{
        display: none;
    }
  
    .slider_image{
        border-radius: 32px;
        height: 500px;
    }
    .myGrid_img img{
        border-radius: 32px;
    }
    .slider_img::after, .myGrid_img::after{
        border-radius: 32px;
    }
 
 
    .slider_member_name {
        display: none;
    }
       .part_member_info .slider_member_name{
        display: block!important;
    }
    .custom-modal{
        top: 70px;
        width: 700px;
        height: 160px;
    }
    .moreBtn {
        width: 136px;
        height: 56px;
    }
    .toggleIcon{
        width: 12px;
    }
    .members_section{
        margin-bottom: 120px;
    }
    .notification{
        max-width: 100%;
        padding: 16px;
        font-size: 16px;
    }
}
@media(min-width: 768px){
    .election_section,.mobile_announcement_block{
        display: none;
    }
}
@media(max-width:767px){
    .building_block{
        height: 300px;
    }
    .building_block .modal-body .modalBtn{
        border-radius: 32px;
        top: 20px;
        right: 20px;
    }

    .main_info{
        padding: 24px;
    }
    .quote_txt {
        font-size: 24px;
    }
    .news_section{
        display: none;
    }
    .custom-modal{
        width: 500px;
        height: 300px;
    }
    .electionTitle{
        font-size: 60px;
        font-weight: 500;
        color: #fff;
    }
    .electionTitle .moreBtn {
        font-size: 15px;
    }
    .footer_section{
        padding: 0 16px;
    }
    .subscribe-box form{
        width: 100%;
    }
    .footer_logo_block {
        font-size: 13px;
        padding-bottom: 50px;
    }
    .footer_logo_block,.footer_logo_item  {
        flex-direction: column;
    }
    .cards{
        padding: 0 8px;
    }
    .modalContainer .building_block{
        height: 400px;
    }
    .modal-dialog.modal-fullscreen{
        max-width: 100%;
    }
    .modalBody .modal-content{
        border-radius: 32px;
    }
    .modalBody .modal-body{
        padding-top: 110px;
    }
    .banner_section {
        padding-top: 160px;
    }
    .notification{
        gap: 12px;
        text-align: center;
        font-size: 12px;
    }
    .icon{
        margin-right: 0px;
    }
    .close{
        margin-left: 0px;
}
  .close img{
    width: 10px;
    }

}

@media(max-width: 575px){
    .modalContainer .building_block{
        height: 200px;
    }
    .modalContainer .announcement_title{
        font-size: 28px;
    }
    .announcement_section .col-xl-6{
        padding: 0 8px;
    }
    .modalBtn{
        width: 136px;
        height: 56px;
        top: 16px;
        right: 16px;
        gap: 12px;
    }
    .modalBtn img{
        width: 12px;
    }
    .slider_image{
        height: 300px;
    }
    .myGrid_img{
        height: 200px;
    }
    .person_name{
        font-size: 24px;
    }
    .position_description {
        font-size: 14px;
    }
    .txt_block{
        left: 24px;
        bottom: 24px;
    }
    .member-card{
      top: 8px;
      right: 8px;
    }
    .toggleButton{
        width: 136px;
        height: 56px;
    }
    .custom-modal{
        width: 300px;
        height: 280px;
        border-radius: 32px;
    }
    .footer_title{
        font-weight: 400;
    }
    
  
}