@media screen and (max-width: 1440px) {
    
    .managing-section{
        padding:2rem 0;
    }

}

@media screen and (max-width: 1320px) {

    .amangalam-section h2 {
       
        color: #104b88;
    }
    
    .custom-container{
        width:90%;
    }
    
    .managing-section .custom-container{
        width:90%;
    }

    .card-content a{
        font-size: 20px;
    }

    /* .who-container{
        flex-direction: column;
    }

    .who-card-content{
        width: 100%;
    }

    .who-card-content{
        min-height: unset;
    }

    .who-image{
        width: unset;
        max-width: 500px;
    }

    .who-image img{
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        transform: translate(-50%, 0%);
    } */

    .who-image img {
        object-fit: cover;
        position: relative;
        left: 27%;
        top: 50%;
        transform: translate(-50%, -40%);
    }

    #rules-tab>div img {
        width: 2.5%;
    }
  
}

@media screen and (max-width: 1190px) {
    
     .hamburger-menu.active{
        left:60%;
    }
    
    .hamburger-menu{
        /*bottom:43px;*/
        width:40%;
    }

    .who-card-content{
        transform: translateX(0);
    }

    .event-video-card{
        width: calc(33% - 1.34rem);
    }

    .footer-col1{
        width: 30%;
    }
    
    .footer-col2,
    .footer-col3 {
        width: calc(60% - 1.34rem);
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-menus{
        border-left: unset;
        padding-left: 0;
        gap:2rem;
    }

    .adress{
        border-left: unset;
        padding-left: 0;
    }

    .footer-section h3 {
        padding: 0 0 2rem 0;
        margin: 0;
    }
    
    .contact-adress{
        width: 50%;
    }

      .who-container{
        flex-direction: column;
    }

    .who-card-content{
        width: 100%;
    }

    .who-card-content{
        min-height: unset;
    }

    .who-image{
        width: unset;
        max-width: 500px;
    }

    .who-image img{
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        left: 50%;
        transform: translate(-50%, 0%);
    } 

    .managing-trustee{
        flex-direction: column-reverse;
        align-items: center;
    }

    .management-tab-content{
        width: 100%;
    }
       
    .me-3 button{
        padding: 1rem;
    }

}

@media screen and (max-width: 1080px) {
    .vision-mision-part{
        width: calc(50% - 1rem);
    }

    .gallery img{
        width: calc(33% - 1.34rem);
    }

    .career-container{
        gap: 2rem;
    }

    .career-part{
        width: calc(50% - 1rem);
    }



    .me-3 button{
        padding: 1rem;
        font-size: 1rem;
    }

    #rules-tab>div img {
        width: 2.5%;
    }

    .managing-trustee{
        width: 100%;
    }

    .club-activities{
        width: 100%;
    }

    .tab-trustee{
        flex-direction: column;
        width: 100%;
        margin: 2rem 0;
    }

    .flex-column{
        flex-direction: row!important;
        width: 100%;
    }

    .tab-content{
        width: 100%;
    }

    .tab-pane{
        padding: 1.5rem;
    }

    .management-tab-section{
        padding: 2.5rem 0;
    }

    .management-tab-content b{
        font-size: 18px;
    }
    
    .managing-partner img{
        width:100%;
    }
}

@media screen and (max-width: 960px) {
    
     .hamburger-menu.active{
        left:50%;
    }
    
    .hamburger-menu{
        /*bottom:43px;*/
        width:50%;
    }
    
     .carousel-caption {
        left: 7.5%;
        right: unset;
        bottom: 3rem;
    }
    
    .carousel-caption h1{
        font-size:2rem;
    }

    .amangalam-section img{
        width: 70%;
    }

    .vision-mision-section{
        padding: 0;
    }

    .home-vision-section h2{
        padding-bottom: 2rem;
    }

    .managing-section .custom-container {
        flex-direction: column;
    }

    .managing-content{
        width: 100%;
    }

    .managing-partner{
        width: 100%;
        transform: translateY(0);
    }

    .managing-partner img{
        width: 50%;
    }

    .footer-section .custom-container{
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

   /*.managing-section{*/
   /*    padding:2rem 0;*/
   /*}*/
    
}

@media screen and (max-width: 840px) {

    p {
        font-size: 16px;
    }
    
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 25px;
    }
    
    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }
    
    a {
        font-size: 16px;
    }

    li{
        font-size: 16px;
    }

    .custom-container{
        width: 90%;
        padding: 2.5rem 0;
    }

    .tab-trustee{
        flex-direction: column;
        width: 100%;
        margin: 2rem 0;
    }

    .flex-column{
        flex-direction: row!important;
        width: 100%;
    }

    .tab-content{
        width: 100%;
    }

    .tab-pane{
        padding: 1.5rem;
    }

    .management-tab-section{
        padding: 2.5rem 0;
    }

    .management-tab-content b{
        font-size: 18px;
    }

    .event-video-card{
        width: calc(50% - 1rem);
    }

    .card-content a{
        font-size: 18px;
    }

    /*.gallery-tab{*/
    /*    width: max-content;*/
    /*}*/

    .career-part{
        width: 100%;
    }

    .career-part.career-part1{
        display: none;
    }

    .managing-trustee{
        flex-direction: column-reverse;
        align-items: center;
    }

    .management-tab-content{
        width: 100%;
    }

    .trustee-photo{
        width: 100%;
    }
   
}

@media screen and (max-width: 720px) {
    
     
     .hamburger-menu.active{
        left:30%;
    }
    
    .hamburger-menu{
        /*bottom:43px;*/
        width:70%;
    }

    .history-container-flex{
        flex-direction: column;
        gap: 3rem;
        padding:1rem 0;
    }

    .history-col1{
        width: 100%;
        border-right: unset;
        text-align: center;
    }


    .history-col1 img{
        width: unset;
        max-width: 500px;
    }

    .history-col2{
        width: 100%;
    }

    .history-col2 img {
        width: 100%;
    }

    .vision-mision-part{
        width: 100%;
    }
    
    .security{
        width:100%;
    }
    
    .safety-content{
        flex-direction:column-reverse;
        gap:2rem;
    }
    
    .safety-content img{
        width:100%;
    }

    .managing-trustee{
        flex-direction: column-reverse;
        align-items: center;
    }

    .management-tab-content{
        width: 100%;
    }

    .trustee-photo{
        width: 100%;
    }

    .gallery img{
        width: calc(50% - 1rem);
    }

    .footer-col1,
    .footer-col2,
    .footer-col3 {
        width: 100%;
    }

    .footer-col2,
    .footer-col3 {
        padding-bottom: 0;
    }

    .footer-section h3{
        padding: 0 0 1.5rem 0;
    }

    .footer-menu{
        gap: 0.5rem;
    }

    .contact-adress{
        width: 100%;
        padding: 4rem;
        align-items: flex-start;
    }
    
    .gallery-section-container .nav-tabs .nav-link{
        font-size:18px;
    }
    
    .club-img{
     display:none;
  }
    
}

@media screen and (max-width: 576px) {

    .custom-container{
        width: 85%;
        margin: auto;
    }
    
    .header-logo .header1-logo{
        width:100%;
    }
    
    .hamburger-menu.active{
        top: 103px;
        left:0%;
    }
    
    #empty-div.active{
        top: 103px;
    }
    
    .hamburger-menu{
        top: 137px;
        bottom:43px;
        width:100%;
        padding:2rem;
    }
    
    .swiper-pagination-bullet{
         width: unset;
        height: unset;
        background-color:white;
    }
    
    .carousel-caption {
        left: 7.5%;
        right: unset;
        bottom: 2rem;
    }
    
    .carousel-caption h1{
        font-size:1.5rem;
    }
    
    .our-pride h2 {
        color: white;
        font-size: 28px;
    }
    
    .our-pride h3{
        color: white;
        font-size: 20px;
    }
    
    .our-pride{
        gap: 1rem;
    }
    
    
    .gallery-tab{
        padding:0.3rem;
        font-size:16px;
    }
    
    .managing-section .custom-container{
        width:85%;
    }
    
    
    .history-col1 img{
        width:45%;
    }
    
    .who-card-content{
        padding:1.2rem;
    }
    
    .hamburger-menu a{
        font-size: 1.1rem;
        font-weight: 500;
        padding:1rem 0;
    }

    .header-logo{
        width: 220px;
    }

    .amangalam-section img{
        width:100%;
    }
    
    .amangalam-section h2{
        font-size:1.2rem;
    }
    
    .history-col2 h2{
        font-size:1.3rem;
    }
    
    .flex-column{
        flex-direction: column!important;
    }

    .gallery{
        gap: 1rem;
    }
    

    .event-video-card{
        width: 100%;
    }

    .contact-adress{
        padding: 2rem;
    }

   #rules-tab>div img {
    width: 3.5%;
}

.gallery-section-container .nav-tabs .nav-link{
    font-size: 13px;
    width: 33%;
}

.footer-menu a{
    font-size:16px;
}

.managing-partner img{
    width:100%;
}

.mySwiper .swiper-button-next img{
    width:40px;
}

.mySwiper .swiper-button-prev img{
    width:40px;
}

}

@media screen and (max-width: 370px) {
    
    .footer-menus{
        flex-direction:column;
        gap:0.5rem;
    }
    
}