
/* Video Popup Responsive Styles */
@media (max-width: 2000px) {
    .banner_cnt h1 {
        font-size: 50px;
    }
}
@media (max-width: 1500px) {
    .banner_cnt h1 {
        font-size: 45px;
    }
}
@media (max-width: 991.98px) {
    .video-modal-content {
        width: 90%;
    }
}

@media (max-width: 767.98px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-close {
        font-size: 24px;
        top: 10px;
        right: 15px;
    }
}

@media (max-width: 575.98px) {
    .video-modal-content {
        width: 98%;
    }
    
    .video-close {
        font-size: 20px;
        top: 5px;
        right: 10px;
    }
}

@media (max-width: 1199.98px) {
    .core-values .section-title {
        font-size: 2.2rem;
    }
    
    .value-card {
        padding: 1.75rem 1.25rem;
    }
    
    .value-card h3 {
        font-size: 1.3rem;
    }
    
    .value-icon {
        width: 65px;
        height: 65px;
    }
    
    .value-icon i {
        font-size: 26px;
    }
}

@media (max-width: 991.98px) {
    .heritage-section .section-title,
    .core-values .section-title {
        font-size: 2rem;
    }
    
    .heritage-section,
    .core-values {
        padding: 3rem 0;
    }
    
    .about-img {
        width: 95%;
    }
    
    .value-card {
        padding: 1.5rem 1.25rem;
    }
    .tax-solutions {
        padding: 60px 0;
    }
    
    .tax-solutions h2 {
        font-size: 30px;
    }
    
    .solution-image {
        margin-top: 40px;
        padding-left: 0;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    #splash video {
      width: 450px;
      border-radius: 200px;
  }
    .logo img {
        width: 150px;
    }
    .head_left{
        display: none;
    }
    .cp_navs{
        display: block;
    }
    .mobile_contact{
        display: block;
    }
    .toggle_icon{
        display: block;
    }
    .header-inner .toggle_icon span{
        background-color: #000000;
    }
    .toggle_icon span{
        height: 2px;
        width: 27px;
        background-color: #fff;
        display: block;
        margin: 5px 0px;
        transition: 0.4s ease all;
        z-index: 2;
        position: relative;
    }
    .toggle_active span{
        margin: -2.4px;
    }
    .toggle_active span:nth-child(1){
        transform: rotate(45deg); 
        background-color: #0014e6 !important;         
    }
    .toggle_active span:nth-child(2){
        width: 0px;
        opacity: 0;        
    }
    .toggle_active span:nth-child(3){
        transform: rotate(-45deg);  
        background-color: #0014e6 !important;       
    }

    .page-header.is-sticky .toggle_icon span{
        background-color: #000000;
    }
    .navs{
        position: absolute;
        background: #ffffff;
        top: 0;
        left: 0;
        right: 0;
        height: 100dvh;
        background-image: url(../images/ftr_bg.svg);
        background-position: bottom;
        background-size: auto;
        background-repeat: no-repeat;
        z-index: 1;
        transform: translateX(100%);
        opacity: 0;
        visibility: visible;
        transition: 0.4s ease all;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 4rem 0rem;
    }
    .navs_active{
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    .navs::before{
        content: '';
        position: absolute;
        background: rgb(255, 255, 255);
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 40%, rgb(7 29 223) 120%);
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        opacity: 0.3;
        z-index: -1;
    }
    .navs ul {
        display: flex;
        list-style: none;
        gap: 23px;
        margin: 0;
        flex-direction: column;
        margin: 9rem 4rem;
        padding-left: 0rem;
    }
    .navs ul li a {
        text-decoration: none;
        color: #000000 !important;
        font-size: 19px;
        display: block;
    }
    .navs ul li{
        position: relative;
    }
    /* .navs ul li::after{
        content: '\1412';
        position: absolute;
        width: auto;
        right: 0;
        margin-top: -27px;
    } */

    .cp_navs p{
        font-size: 15px;
        text-align: center;
        margin-bottom: 4px;
        color: #656565;
    }

    .dropdown-menu1 {
        display: none;
        width: 100%;        
        top: 60px;
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
        border: none;
        box-shadow: none;
        position: static;
    }
    .dropdown-menu1 ul{
        gap: 5px;
    }
    .nav-item.dropwdown{
        height: 50px;
        overflow-y: scroll;
    }
    .navbar-nav .dropdown-menu {
        position: static;
        height: 300px;
        overflow-x: scroll;
    }    

    .nav-item {
        color: black;
    }
    .dropdown-menu1 ul{
        margin: auto 0rem;
    }
    a.nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }



    .heritage-section .section-title,
    .core-values .section-title {
        font-size: 1.75rem;
    }
    
    .heritage-section .social-buttons,
    .core-values .social-buttons {
        flex-wrap: wrap;
    }
    
    .value-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .core-values .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .tax-solutions h2 {
        font-size: 26px;
    }
    
    .solution-feature {
        padding: 12px 15px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .solution-feature span {
        font-size: 15px;
    }
    
    .solution-features {
        grid-template-columns: 1fr 1fr;
    }
    .consult-btn i{
        display: block;
    }




    .banner{
        background-image: url(../images/mobile-banner.avif);
        align-items: start;
        background-position: center;
    }
    .banner_cnt {
        width: 100%;
        padding-bottom: 0;
        padding-top: 7rem;
        text-align: center;
    }
    .span.abhay {
        font-size: 15px;
    }
    .banner_cnt h1 {
        font-size: 29px;
    }
    .banner_cnt p {
        color: #fff;
        font-size: 13px;
        margin-top: 0px;
    }

    .banner-bg {
        display: flex;
        align-items: flex-start;
        padding: 1rem 1rem;
        flex-direction: column;
        justify-content: space-around;
    }
    .banner_right {
        width: auto;
    }

    .get-consult{
        width: 95%;
        padding: 8px 11px
    }
    .consult-btn span{
        display: none;
    }
    .consult-cnt h6 {
        font-size: 15px;
    }
    .consult-cnt p {
        font-size: 13px;
    }
    .consult-img{
        gap: 1rem;
    }
    .consult-img img {
        width: 70px;
    }
    .consult-btn button {
        padding: 10px 13px;
    }
    .about {
        padding: 1rem 0rem;
    }
    .about_cnt {
        padding: 0rem 0rem;
    }
    .about_cnt h2 {
        font-size: 40px;
    }
    .about_cnt h3 {
        font-size: 25px;
        width: 100%;
    }
    .abt-abay_cnt h4 {
        font-size: 4.2vw;
        font-weight: 500;
    }
    .abt-abay_cnt {
        padding-left: 1rem;
    }    
    .abt-abay_cnt button {
        font-size: 15px;
        padding: 2px 8px;
    }
    .service_main {
        margin: 5rem 0rem 3rem;
    }
    .view_btn button{
        display: none;
    }
    .service_card {
        margin-bottom: 2rem;
        height: calc(100% - 1rem);
    }
    .service_card::before{
        opacity: 1;
    }
    .view_servi{
        padding: 0rem 1rem;
        opacity: 1;
        visibility: visible;
    }
    .award_bg {
        padding: 0rem 1rem;
    }
    .award_card {
        margin-bottom: 1rem;
        margin: 0;
    }
    .index_blog_title p {
        font-size: 14px;
        width: auto;
    }
    .cloumn_grid {
        grid-template-columns: auto;
    }
    .blog_index{
        margin-bottom: 0;
    }
    .reel-section {
        margin: 4rem 0rem;
    }
    .index_blog_bg {
        margin-top: 4rem;
        padding: 0;
        margin-bottom: 4rem;
    }
    .core-values .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0rem;
        width: auto;
    }
    .solution-feature{
        padding: 10px 10px;
    }
    .solution-feature span {
        font-size: 14px;
        font-weight: 500;
    }
    .videos-container {
        grid-template-columns: auto;
    }
    .featured-video{
        margin-bottom: 0px;
        padding: 0;
    }
    .videos-section {
        padding: 40px 0;
    }
    .reel-blog h2 {
        margin-top: 1rem;
    }
    .blog_index {
        margin-bottom: 1.5rem;
    }
    .reel-slider .slick-dots {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 1rem 0;
        list-style-type: none;
    }
    .reel-slider button {
        display: block;
        width: 10px;
        height: 10px;
        padding: 0;
        border: none;
        border-radius: 100%;
        background-color: #0016df2b;
        text-indent: -9999px;
        transition: 0.3s all ease-in;
    }
    .reel-slider li {
        margin: 0 0.25rem;
    }
    .reel-slider li.slick-active button {
        background-color: #0016df;
        width: 1.6rem;
        border-radius: 50px;
    }

    .video-testi .slick-dots {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 1rem 0;
        list-style-type: none;
    }
    .video-testi button {
        display: block;
        width: 10px;
        height: 10px;
        padding: 0;
        border: none;
        border-radius: 100%;
        background-color: #0016df2b;
        text-indent: -9999px;
        transition: 0.3s all ease-in;
    }
    .video-testi li {
        margin: 0 0.25rem;
    }
    .video-testi li.slick-active button {
        background-color: #0016df;
        width: 1.6rem;
        border-radius: 50px;
    }
    .blog-reel-item img{
        width: 100%;
    }
    .news_section {
        margin: 0rem 0rem 0rem;
        padding: 1rem 0rem;
    }
    .conatct_space{
        text-align: left;
        font-family: "Inter", sans-serif;
        padding: 2rem 1rem;
    }
    .recent_post_cnt h5{
        font-size: 15px;
        font-weight: 500;
    }
    .recent_post {
        margin-top: 2rem;
    }
    .test-cnt-marg {
        margin-top: 1rem;
    }
    .testi_cnt{
        margin: 0;
    }
    .testi-slider .slick-next {
        padding: 5px 12px;
        right: -2%;
    }
    .testi-slider .slick-prev {
        background-color: #ffffff80;
        padding: 5px 12px;
        left: -2%;
    }


    .award-slider .slick-dots {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 1rem 0;
        list-style-type: none;
    }
    .award-slider button {
        display: block;
        width: 10px;
        height: 10px;
        padding: 0;
        border: none;
        border-radius: 100%;
        background-color: #0016df2b;
        text-indent: -9999px;
        transition: 0.3s all ease-in;
    }
    .award-slider li {
        margin: 0 0.25rem;
    }
    .award-slider li.slick-active button {
        background-color: #0016df;
        width: 1.6rem;
        border-radius: 50px;
    }
    .size-font{
        font-size: unset;
    }
}

@media (max-width: 330px) {
    .heritage-section .section-title,
    .core-values .section-title {
        font-size: 1.7rem;
    }
    
    .heritage-section,
    .core-values {
        padding: 2.5rem 0;
    }
    
    .about-img {
        width: 100%;
    }
    
    .core-values .section-title::after {
        width: 60px;
        height: 2.5px;
        bottom: -8px;
    }
    
    .value-card {
        padding: 1.6rem 0.6rem;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    .value-icon i {
        font-size: 24px;
    }
    .consult-btn i{
        display: block;
    }

    .banner_cnt h1 {
        font-size: 23px;
    }
    .banner_cnt p {
        font-size: 12px;
    }
    span.abhay {
        font-size: 14px;
    }
    .consult-img img{
        width: 60px;
    }
    .consult-cnt h6 {
        font-size: 4.3vw;
    }
    .consult-cnt p {
        font-size: 3.5vw;
    }
    .consult-btn button {
        padding: 6px 10px;
    }

}