@media (min-width: 1499px){
    .cap-left {
    padding-left: 60px;
}
}

@media (max-width: 1149px){
    .navbar-brand img {
        width: 182px;
    }
    /*.navbar .navbar-nav .nav-item{*/
    /*    margin-left: 20px;*/
    /*}*/
    .h1 {
    font-size: 48px;
    line-height: 52px;
}
.h2 {
    font-size: 42px;
    line-height: 46px;
}
.counter-number .counter-num {
    font-size: 42px;
    line-height: 46px;
}
/*.footer-map-sec > div {*/
/*    width: 208px;*/
/*}*/
.footer-logo {
    width: 190px;
}

}

@media (max-width: 991px){
.p100 {
    padding: 75px 0px;
}
.about-us {
    padding-left: 15px;
}
.counter-top {
    padding-top: 20px;
}
.counter-number{
    margin-top: 20px;
}
.custom-grow-slider .slick-slide .value-slider img{
    object-position:0;
}
/*.value-text-1{*/
/*    display: none;*/
/*}*/
/*.value-text{*/
/*    opacity: 1;*/
/*}*/

 .dropdown-menu {
        display: none;
                max-height: 25vh;       /* screen height ka 60% */
        overflow-y: auto;       /* vertical scroll */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    }

    .dropdown-menu.showdown {
        display: block;
    }
    
    .dropdown-item{
        border-bottom:1px solid #0865cd !important;
    }

.expand-slider {
    
    gap: 10px;
    /*height: 330px;*/
}
.slide-1:hover img {
    transform: scale(1);
    object-position: center;
}
.cap-item {
    padding: 15px;
}
.top40 {
    margin-top: 25px;
}
.main-acc p br{
    display: none;
}
.value-text {
    /* position: absolute; */
    bottom: 12px;
    background: #0865cda8;
    height: 100%;
}
  .custom-grow-slider .slick-slide {
                width: auto; 
                opacity: 0.5;
                /*transform: scale(0.85); */
            }

            /* The Active Center Slide */
            .custom-grow-slider .slick-center {
                opacity: 1;
                color: white;
                transform: scale(1); 
                z-index: 10;
                
            }
            .practice-area {
    
    padding-right: 0px;
}
.team-name-main {
    padding: 15px 10px;
    width: 95%;
}
.contact-us-bg {
    
    width: 45%;
    height: 38%;
}
    /*.footer-map-sec > div,.footer-map-sec .footer-quick-link {*/
    /*    width: 100%;*/
    /*}*/
    .top66 {
    margin-top: 40px;
}
/*.footer-map-sec {*/
/*    gap: 15px;*/
/*}*/

.navbar-toggler{
    padding: 0;
}

/* Remove default Bootstrap button styling */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    outline: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px; /* Space between lines */
}

/* Common styles for the 3 lines */
.toggle1, .toggle2, .toggle3 {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff; /* White lines */
    border-radius: 3px;
    transition: all 0.4s ease-in-out; /* Smooth animation speed */
}

/* --- The Animation Logic --- 
   Bootstrap adds 'aria-expanded="true"' to the button when open. 
   We use that to trigger the changes. 
*/

/* Line 1: Rotate and move down to center */
.navbar-toggler[aria-expanded="true"] .toggle1 {
    transform: translateY(9px) rotate(45deg);
}

/* Line 2: Fade out and slide slightly */
.navbar-toggler[aria-expanded="true"] .toggle2 {
    opacity: 0;
    transform: translateX(-10px);
}

/* Line 3: Rotate and move up to center */
.navbar-toggler[aria-expanded="true"] .toggle3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* The dropdown container */
    .navbar-collapse {
        background: #0865cd;
        padding: 0px;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -1;
        left: 0;
    }

    /* List styling */
    .navbar-nav {
        margin: 100px 0 0 !important;
        padding: 30px;
        border-top: 0.5px solid #ffffff5c;
        padding-top: 12px;
    }

.navbar.nav-sticky .navbar-nav {
        margin: 74px 0 0 !important;
}

    .navbar .navbar-nav .nav-item {
        margin: 0;
        animation: slideIn 0.5s forwards;
        width: 100%;
        display: block;
    }
    .navbar .navbar-nav .nav-item .dropdown-hd{
       width: 100%;
       justify-content: space-between;
    }
    .navbar .navbar-nav .nav-item .down-arrow {
            width: 30px;
        height: 30px;
        border: 1px solid #fff;
        display: flex;
        align-items: center;
        justify-content: center;
} 

    .navbar .navbar-nav .nav-link::before, .navbar .navbar-nav .nav-link:hover::after{content: unset;}
.navbar .navbar-nav .nav-link{padding: 16px 0px;font-size: 20px;}
.navbar .navbar-nav .nav-item:last-child {
    margin-left: 0;
}
    /* Stagger the animation for each item */
    .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .nav-item:nth-child(5) { animation-delay: 0.5s; }

    /* Link styling */
    .nav-link {
        color: #fff !important;
       
        display: inline-block;
    }

    /* Link underline animation */
    /*.nav-link::after {*/
    /*    content: '';*/
    /*    position: absolute;*/
    /*    width: 0;*/
    /*    height: 2px;*/
    /*    background: #fff;*/
    /*    bottom: 0;*/
    /*    left: 0;*/
    /*    right: 0;*/
    /*    margin: auto;*/
    /*    transition: width 0.3s;*/
    /*}*/

    /*.nav-link:hover::after {*/
    /*    width: 100%;*/
    /*}*/

    /* Special style for Contact Button on mobile */
    .contact-btn-hd {
        background: #fff;
        color: #000 !important;
        padding: 10px 30px;
        border-radius: 50px;
        font-weight: bold;
        text-transform: uppercase;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    }
    
    .contact-btn-hd:hover::after {
        width: 0; /* Remove underline for button */
    }
    
    
    
    .directors_profile_fixed {
    
    height: 330px;
    }
    
    .grid_inner_details{
        padding: 14px;
    }
    .director-detials-content{
        padding-right: 4rem !important;
    }
    
    .pa-hd {
    font-size: 28px;
    
}
.practice_area_1{
    padding: 0px 30px 30px;
}
.top57 {
    padding-top: 70px;
}
.top45 {
    margin-top: 30px;
}
.cap-left {
    padding-left: 12px;
}
.footer-quick-link ul li {
   width: 100% !important;
}
.pa-inner-03 {
    padding: 16px;
   
}
 .top57 {
        padding-top: 50px;
    }
    .paimg{
        padding: 0px 12px 12px;
        height: 400px !important;
    }
    #india-entry-strategy .position-sticky{
         height: 400px !important;
    }
    #india-entry-strategy .position-sticky img, .paimg img{
        height: 100% !important;
    }
    .order1{
        order: 2;
        margin-bottom: 12px;
    }
    .order2{
        order: 3;
    }
    .top57_0{
         padding-top: 122px;
    }
    .aboutus .row:first-child{
        flex-direction: column-reverse;
    }
     .about-us {
        padding-left: 0px;
        /* padding-top: 30px; */
        text-align: center;
    }
    .aboutimg{
        margin-top: 30px;
    }
    .sticky-wrapper {
   
    height: 52vh;
}
}

  
@media (max-width: 767px){
    .paimg{
        padding: 0px 0px 12px;
        height: 400px !important;
    }
    picture img{
        height: 600px;
        object-fit: cover;
    }
        .h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .container{
        padding: 0px 24px;
    }

    .p100 {
        padding: 50px 0px;
    }
       

    
    .h2 {
        font-size: 34px;
        line-height: 42px;
    }
    .sub-title{
        margin-bottom: 15px;
    }
    
        /* .counter-top {
        padding-top: 10px;
    } */
    .value-text{
        padding: 15px;
        /*position: static;*/
        /*min-height: 290px;*/
        /*justify-content: flex-start;*/
        bottom:0;
    }
    .value-text p{
        margin: 0;
    }
    .value-text p {
   font-size: 16px;
        line-height: 24px;
    }
    .counter-number p, .counter-number small{
        font-size: 16px;
    }
    .expand-slider {
        gap: 10px;
        height: auto;
    }
    /*.custom-grow-slider .slick-slide {*/
    /*height: 480px;*/
    /*}*/
    .custom-grow-slider .slick-slide {
        height: auto;
        padding: 0;
        height: 450px !important;
        transform: scale(0.9);
        transition: all 0.5s ease;
    }
        .custom-grow-slider .slick-center {
        
        transform: scale(1);
      
    }
    .value-text {
        /* position: absolute; */
        bottom: 12px;
        background: linear-gradient(to top, black, transparent);
        height: 100%;
    }
    .value-text h3 {
    font-size: 22px;
    line-height: 24px;
    
    }
        .custom-grow-slider .slick-slide .value-slider img {
        object-position: center;
    }
    .custom-grow-slider .slick-dots li {
    
    width: 25px;
    }
    .left-moving-line {    
    margin-right: 25px;   
}

.served-text {
    bottom: 34px;
    font-size: 24px;
    line-height: 34px;
    width: 80%;
}
.test-btn{
    justify-content: center;
    margin-top: 30px;
}
.contact-us-bg {
        width: 30%;
        height: 16%;
    }

    .contact-us{
        text-align: center;
    }
        .footer-logo {
        width: 195px;
        margin: auto;
        margin-bottom: 0px;
    }

    /*.fc_msg{*/
    /*    order: 3;*/
    /*}*/
    .footer-contact-details{
        justify-content: center;
    }
    .footer-contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-direction: column;
    margin-top: 30px;
    height: auto !important;
}

element.style {
}
.contact-address p {
    line-height: 23px;
}
.copyright{
    text-align: center;
    justify-content: center;
    padding-top: 15px;
}
.footerlink{
    justify-content: center;
}

.directors_profile_fixed {
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        overflow: hidden;
   margin:0 !important;
    }
.dr_grid {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}
.directors_profile_fixed> .dr_grid:nth-child(1) {
    left: 0;
}
.directors_profile_fixed> .dr_grid:nth-child(2) {
    left: 0%;
}
.directors_profile_fixed> .dr_grid:nth-child(3) {
    left: 0%;
}

.top25{
    margin-top: 25px;
}
.director-detials {
  
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -2;
        /* top: 0; */
        left: 0;
        right: 0;
        display: block;
        margin: auto;
        transition: all 0.85s ease;
}
.dr_grid.active_management .director-detials{
   z-index: 1;
}
    .director-detials-content {
        padding-right: 3rem !important;
        /* padding-top: 25px !important; */
    }
    .director-detials-content h3{
        padding-right:  3rem;
    }
    
    .directors_profile_fixed1{
        margin-top: 15px !important;
    }
    .vh-70 {
    height: auto;
}

.internship{
    text-align: center;
}
.value-content-img{
    margin-top: 30px;
}
.btn-custom{
    font-size: 14px;
}
.slide-1::after{
    content: none;
}
.management-content{
    text-align: center;
    margin-top: 30px;
}
.management-content .d-flex{
    justify-content: center;
}
 .mb-40{
            margin-bottom: 30px;
        }
        
        .practice_area_1 {
        padding: 0px 20px 20px;
    }
       
    .testimonials .row{
        flex-direction: column-reverse;
    }
    .test-inner-img {
    
    margin-right: 8px;
}
header picture img.h-100{
    height: 275px !important;
}
.footer-quick-link ul {
  
    display: flex;
    flex-wrap: wrap;
}
.footer-quick-link ul li {
   
    width: 50% !important;
}
/*footer h5{*/
/*    text-align: center;*/
/*}*/
.cap-left {
    padding-left: 12px;
}
.contact-address3{
    padding-top: 30px;
}
.footer-quick-link ul li {
    margin-bottom: 18px;
}
.cap-item {
    padding: 15px;
}
footer .container.pb-5 {
    padding: 45px 24px 0px !important;
}
/*.show-details{*/
/*    display: none;*/
/*}*/
/*.show-details.active{*/
/*    display: block;*/
/*}*/
/*.cap-title {*/
/*    position: relative;*/
    /*padding-right: 30px; */
/*    cursor: pointer;*/
/*    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23666' d='M6 8L0 0h12z'/></svg>") no-repeat right center;*/
/*    background-size: 12px 8px;*/
/*}*/
.main-acc h2{
    justify-content: center;
    font-size: 34px;
        line-height: 42px;
}
}

/* Ensure smooth movement for diamond and line */
.moving-diamond, 
.static-blue-line {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* On Mobile: Force details to show when parent cap-item is active */
/* On Mobile: Smooth reveal for details */
/*@media (max-width: 767px) {*/
/*    .show-details {*/
        /* 1. Hide the content visually and physically */
/*        max-height: 0;*/
/*        opacity: 0;*/
/*        overflow: hidden;*/
        /* 2. Define the transition (timing and easing) */
/*        transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), */
/*                    opacity 0.4s ease, */
/*                    padding 0.6s ease;*/
/*        padding-top: 0;*/
/*        padding-bottom: 0;*/
/*    }*/

    /* When parent is active (via Scroll or Click) */
    /*.cap-item.active .show-details {*/
        /* Set max-height to a value larger than any possible content */
    /*    max-height: 800px; */
    /*    opacity: 1;*/
    /*    padding-top: 10px;*/
    /*    padding-bottom: 20px;*/
    /*}*/
    
    /*.cap-title {*/
    /*    background: none !important;*/
    /*    padding-right: 0 !important;*/
    /*    margin-bottom: 5px;*/
    /*}*/
/*}*/