@media (max-width: 1025px){
    .container{
       padding: 0px 50px !important;
    }
    html{
        overflow-x: hidden ;
    }
    .home-page-video video{
        height: 500px;
    }
    .section-head-2{
        flex-direction: column;
        gap: 0px;
    }
    .p-width-3{
        width: 100%;
    }
    .card-service{
        flex-direction: column;
    }
    .tab-btn{
        padding: 20px;
        font-size: 20px;
    }
    .card-service{
        flex-direction: column;
        width: 100%;
    }
    .service-tabs{
        flex-direction: row;
        width: 100%;
    }
    .service-tabs-wrapper{
        gap: 0px;
        justify-content: space-around;
    }
    .tab-btn.active{
        position: relative;
    }
    .tab-btn.active::before{
        display: none;
    }
    .we-do-card{
        padding: 20px;
    }
    .we-do-card h3{
        font-size: 40px;
    }
    .teams-main-wrapper{
        flex-direction: column;
    }
    .teams-card{
        width: 48%;
    }
    .test-cards-wrapper{
        flex-direction: column;
    }
    .test-card-1{
        width: 100%;
    }
    .test-card-p-1{
        height: 480px;
        
    }
    .test-card-2{
        width: 100%;
    }
    .project-slider {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    /* padding-right: 60px; */
    margin-top: 100px;
    padding: 20px;
}
.project-pagination {
    position: absolute;
    right: 45%;
    top: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 10;
}
    
}
@media (max-width: 965px){
    .title{
        font-size: 70px !important;
        font-weight: 500 !important;
    }
    .home-page-video video{
        height: 100%;
    }
    .choose-card-wrapper{
        flex-direction: column;
    }
    .border-radius-left{
    border-radius: 20px 20px 0px 0px;
}
.border-radius-right{
    border-radius: 0px 0px 20px 20px;
}
.choose-us{
    padding-bottom: 80px;
}
.overly::before{
    height: 130px;
    top: -57px;
}
.services{
    margin-top: -180px;
}
.service-tabs{
    flex-direction: column;
}
.we-do-card-wrapper{
    flex-direction: column;
}
.we-do-card{
    padding: 40px;
}
.we-do-img img{
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.bottom-wrapper{
    padding: 15px;
}
.bottom-wrapper h5{
    font-size: 20px;
}
.contact-footer{
    padding: 80px 0px;
}
.custom-secondry-btn button span{
    font-size: 22px;
}
.project-slider {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    /* padding-right: 60px; */
    margin-top: 100px;
    padding: 20px;
}
.project-pagination {
    position: absolute;
    right: 45%;
    top: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 10;
}
}
@media (max-width: 769px){
    .title{
        width: 100% !important;
    }
    .rating-card-wrapper{
       flex-direction: column;
    }
    .service-tabs-wrapper{
        gap: 20px;
    }
    .service-tabs-img img{
        width: 250px !important;
    }
    .reviews-wrapper{
        flex-direction: column;
    }
    .project-slider {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    /* padding-right: 60px; */
    margin-top: 100px;
    padding: 20px;
}
.project-pagination {
    position: absolute;
    right: 39%;
    top: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 10;
}
.tab-btn{
    height: 75px;
}
.tab-btn.active{
    position: relative;
}
.tab-btn.active::before{
    display: block;
}
.stats-card
{
    padding: 58px 48px;
}
.install-slider__card {
    flex: 0 0 calc(49% - 20px);
    height: 400px;
}
.bottom-wrapper h5{
    line-height: 30px;
}
.we-do-card h3
{
    line-height: 48px;
}
.tab-btn.active::before {
    position: absolute;
    content: "›";
    font-size: 34px;
    background: none;
    height: auto;
    width: 100%;
    right: -255px;
}
.heading-badge-2 h2{
    line-height: 75px;
}
.install-slider__nav-arrows{
    display: none;
}
.process-slider__nav-arrow{
    display: none;
}
}
@media (max-width: 768px) {
    .process-card {
        min-width: calc(40vw - 30px);
        max-width: calc(90vw - 30px);
        flex: 0 0 auto;
        scroll-snap-align: center;
        transition: transform 0.3s;
    }
    .stats-inner{
        width:100%;
    }
}
@media (max-width: 600px){
    .container{
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .p-width-1{
    width: 100%;
}
.p-width-2{
    width: 100%;
}
.p-width-3{
    width: 100%;
}
    .title{
        font-size: 50px !important;
        line-height: 55px;
    }
    .hero-text p{
        width: 100%;
    }
    .heading-badge h2{
        font-size: 50px;
        line-height: 60px;
    }
    .heading-badge h2 span{
        font-size: 50px;
        line-height: 60px;
    }
    .heading-badge-2 h2{
        font-size: 50px;
        line-height: 60px;
    }
    .heading-badge-2 h2 span{
        font-size: 50px;
        line-height: 60px;
    }
    .choose-card{
        padding: 30px 20px;
        height: auto;
        gap: 50px;
    }
    .we-do-card h3{
        font-size: 30px;
        line-height: 40px;
    }
    .service-tabs-wrapper{
        flex-direction: column;
        gap: 30px;
    }
    .service-tabs-img img{
        width: 100%;
    }
    .stats-inner{
        width: 100%;
    }
    .stats-card{
        background: none;
        padding: 0px;
    }

    .test-card-p-1 {
        height: 590px;
        padding: 20px;
    }
    .test-card-p-2 {
    padding: 20px;
    height: 380px;
}
.test-card-heading h5{
    font-size: 20px;
    line-height: 25px;
}
.test-card-heading h3{
    font-size: 35px;
}
.test-card-inner-wrapper{
    flex-direction: column;
}
.tab-btn{
    height: 70px;
}
.card-service{
    padding: 20px;
}
.tab-btn.active::before{
    right: -120px;
}
.process-card{
    height: 300px;
}
.we-do-card{
    padding: 20px;
}
.footer-inner-content{
    gap: 30px !important;
    padding: 0px 20px;
}
.line-svg {
    position: absolute;
    width: 100%;
    height: auto;
    right: 35px;
    top: 15px;
    z-index: -1;
}
.project-slider {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    /* padding-right: 60px; */
    margin-top: 100px;
    padding: 20px;
}
.project-pagination {
    position: absolute;
    right: 39%;
    top: 100%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 20px;
    z-index: 10;
}
.install-slider__card {
    flex: 0 0 calc(90% - 20px);
    height: 400px;
}
}
@media (max-width: 480px){
    .service-tabs-img img
    {
        height: 200px ;
        width: 100% !important;
    }
    .admin-details h6
    {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 0px;
    }
    .footer-links-wrapper
    {
        padding: 20px 0px;
    }
    .privacy-policy
    {
        margin-top: 0px;
    }
    .linear-border-light::before
    {
        border-radius: 0px !important;
    }
    .sidebar a
    {
        border-radius: 0px !important;
    }
    .linear-border-active::before
    {
        border-radius: 0px !important;
        border: none !important;
        background: none;
    }
    .linear-border-active
    {
        gap:10px !important;
    }
    
    .we-do-card-content
    {
        width: 100% !important;
    }
    .hero-btn .custom-main-btn-wrapper
    {
        width: 100% !important;
    }
    .we-do-img img
    {
        height: 300px ;
    }
    .we-do-main-wrapper
    {
        gap:20px
    }
    .stats-card
    {
        height: 580px;
    }
    .rating-card h3{
        font-size: 36px;
        line-height: 40px;
    }
    .rating-card{
        gap: 15px;
    }
    .heading-badge h2{
        font-size: 40px;
        line-height: 50px;
    }
    .heading-badge h2 span{
        font-size: 40px;
        line-height: 50px;
    }
    .heading-badge-2 h2{
        font-size: 40px;
        line-height: 50px;
    }
    .heading-badge-2 h2 span{
        font-size: 40px;
        line-height: 50px;
    }
.stats-inner{
    padding: 20px;
}
.stats-inner-text h4{
    font-size: 30px;
    line-height: 40px;
}
.accordion-btn{
    font-size: 20px;
}
.teams-card-main-wrapper{
    gap: 20px;
}
.teams-card-wrapper{
    gap: 18px;
    
}
.teams-card{
    padding: 10px;
    height: 230px;
}
.teams-card-content h5{
    font-size: 16px;
    line-height: 22px;
}
.teams-card-content span{
    font-size: 14px;
    line-height: 22px;
}

      .test-card-p-1 {
        min-height: 450px;
    }
    
    .reviews-tag{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}
.install-slider__nav-arrows{
    display: block;
}
.process-slider__nav-arrow{
    display: block;
}
.install-slider__card {
    flex: 0 0 calc(90% - 20px);
    height: 400px;
}
}
@media (max-width: 395px){
    .container{
        padding-left: 15px ;
        padding-right: 15px ;
    }
    .title{
        font-size: 42px !important;
        line-height:45px ;
        
    }
    .home-page-video video{
        height: 236px ;
    }
    .rating-card h3{
        font-size: 36px ;
        line-height: 40px;
    }
    .service-tab-content h6{
        width: 100%;
    }
    .service-tab-content p{
        width: 100%;
    }
    .process-card {
        height: 330px;
    }

    .tab-btn
    {
        font-size: 16px;
    }
    .choose-card {
        padding: 20px 20px;
        gap: 20px;
    }
    .choose-card img {
        width: 45px;
        height: 45px;
    }
    .choose-card-text {
        gap: 10px;
    }
    .process-card {
        height: auto;
    }
    .custom-main-btn button span {
        display: inline-block;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-wrap: break-word;
        word-break: break-all;
    }
    .test-card-bottom {
        display: flex
;
        flex-direction: column;
        align-items: flex-start;
    }
    .test-card-p-1 {
        min-height: 450px;
        height: auto;
    }
    .test-card-p-2 {
        height: auto;
    }
    .test-card-2
    {
        height: auto;
    }
    .footer-container {
        padding: 50px 10px 20px 10px;
    }
    .custom-secondry-btn button span
    {
        font-size: 18px;
    }
    .contact-footer-number {
        padding: 14px 30px !important;
        width: 100% !important;
        min-width: 100%;
    }
    .footer-links, .footer-inner-col
    {
        padding: 0px 20px;;
    }
    .footer-inner-col span
    {
        width: 100%;
        font-size: 14px;
    }
    
}


@media (max-width: 430px) {
    .install-slider
    {
        margin-top: 10px !important;
    }
    .section-head-2, .heading-badge-2
    {
        gap:10px
    }
    .test-card-2
    {
        height: auto;
    }
    .install-slider__card
    {
        height: 350px;
    }
    .install-slider__card
    {
        height: 363px;
        padding: 25px 25px;
    }
  .sm-pd-0
  {
    padding: 0px !important ;
  }
  .ratings-inner-wrapper
  {
    flex-direction: column;
    gap:20px
  }
  .rating-card
  {
    gap:5px
  }
  .rating-card
  {
    padding: 30px;
  }
  .rating-card span
  {
    font-size: 17px;
  }
  .section-text p
  {
    font-size: 16px;
    line-height: 23px;
  }
  section
  {
    padding: 30px 0px;
  }
  .choose-card
  {
    gap: 20px;
  }

  .choose-card-text
  {
    gap: 10px;
  }
  .choose-card img {
    width: 45px;
    height: 45px;
  }
  .heading-badge h2 span {
    font-size: 40px;
    line-height: 35px;
    }
    .row>*
    {
        padding-left: 0px !important;
        padding-right:0px !important;
    }

    .choose-heading h5
    {
        font-size: 22px;
        line-height: 37px;
    }
    .choose-card-text p
    {
        font-size: 16px;
        line-height: 23px;
    }
    .choose-card{
        padding: 30px 30px;
    }
    .choose-us
    {
        padding-bottom: 40px;
    }
    .tab-btn
    {
        font-size: 18px;
        height: 55px;
        border-radius: 10px;
    }
    .tab-btn.active::before
    {
        font-size: 26px;
    }
    .tab-btn.active::before {
        display: none;
    }
    .service-tab-content h6
    {
        font-size:22px ;
        line-height: 27px;
    }
    .service-tab-content p
    {
        font-size: 16px;
        line-height: 22px;
    }
    .service-tabs-img img {
        height: 200px ;
        width: 100% ;
    }
    .tab-btn:hover, .tab-btn.active
    {
        border-radius: 15px;
    }
    .heading-badge h2 {
        font-size: 38px;
        line-height: 53px;
    }
    .section-badge span
    {
        font-size: 15px;
    }
    .heading-badge, .section-head
    {
        gap:10px;
    }
    .process-card-badge p
    {
        font-size: 14px;
    }
    .process-card
    {
        gap: 10px;
        padding: 20px;
    }
    .process-card p, .process-card li span
    {
        font-size: 16px;
        line-height: 24px;
    }
    .process-card {
        height: auto;
    }
    .process-card h2
    {
        font-size: 22px;
        line-height: 27px;
    }
    .slider-container {
        padding: 0 0px;
    }
    .process-card ul
    {
        gap: 5px;
    }
    .we-do-card .custom-main-btn button
    {
        padding-right: 11px;
        display: flex
;
        justify-content: space-between;
    }
    .we-do-bullets
    {
        margin-bottom: 10px;
    }
    .we-do-card .bullet span
    {
        font-size: 16px;
        line-height: 24px;
    }
    .we-do-img img
    {
        height: 250px;
    }
    .custom-main-btn button span
    {
        display: inline-block;
        max-width: 80%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-wrap: break-word;
        word-break: break-all;
        display: flex
;
        justify-content: space-between;
    }
        .bottom-wrapper h5 {
        font-size: 20px;
        line-height: 27px;
    }

    .we-do-card h3 {
        font-size: 27px;
        line-height: 36px;
    }
    .sticky-card
    {
        padding-top: 10px !important;
    }
    .heading-badge-2 h2, .heading-badge-2 h2 span {
        font-size: 37px;
        line-height: 40px;
    }
    .section-text-2 p
    {
        font-size: 16px;
        line-height: 24px;
    }
    .stats-inner
    {
        gap: 20x;
    }
    .stats-inner-text h4
    {
        font-size: 27px
    }
    .accordion-tabs
    {
        gap:0px;
    }
    .stats-inner-text p, .accordion-content p
    {
        font-size:16px;
        line-height: 24px;
    }
    .accordion-btn
    {
        font-size: 20px;
    }
    .stats-card
    {
        height: auto;
    }
    .teams-card-wrapper
    {
        flex-direction: column;
    }
    .teams-card {
        padding: 30px;
        height: 330px;
        width: 100%;
    }
    .teams-card-content h5 {
        font-size: 24px;
        line-height: 32px;
    }
    .testimonial-main-wrapper
    {
        gap: 20px;
    }
    .test-card-p-1 {
        min-height: 450px;
        height: auto;
    }
    .test-card-heading
    {
        flex-direction: row;
        align-items: flex-start;
    }
    .test-card-text p
    {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px !important;
    }
         .test-card-bottom
     {
         display: flex;
         flex-direction: column;
         align-items: flex-start;
     }
     .test-card-p-2
     {
        height: auto;
     }

     .teams-card-content span
     {
         font-size: 16px;
     }

     /* Mobile Slider Navigation Arrows */
     .project-slider {
         position: relative;
     }
     
     .project-slider__nav-arrows {
         display: none;
         position: absolute;
         top: 50%;
         transform: translateY(-50%);
         z-index: 20;
         width: 100%;
         pointer-events: none;
     }
     
     .project-slider__nav-arrow {
         position: absolute;
         top: 50%;
         transform: translateY(-50%);
         width: 40px;
         height: 40px;
         background: rgba(0, 0, 0, 0.7);
         border: none;
         border-radius: 50%;
         color: white;
         font-size: 18px;
         cursor: pointer;
         display: flex;
         align-items: center;
         justify-content: center;
         pointer-events: auto;
         transition: all 0.3s ease;
     }
     
     .project-slider__nav-arrow:hover {
         background: rgba(0, 0, 0, 0.9);
         transform: translateY(-50%) scale(1.1);
     }
     
     .project-slider__nav-arrow--prev {
         left: 10px;
     }
     
     .project-slider__nav-arrow--next {
         right: 10px;
     }
     
     /* Install Slider Navigation */
     .install-slider {
         position: relative;
     }
     
     .install-slider__nav-arrows {
         display: none;
         position: absolute;
         top: 50%;
         transform: translateY(-50%);
         z-index: 20;
         width: 100%;
         pointer-events: none;
     }
     
     .install-slider__nav-arrow {
         position: absolute;
         top: 50%;
         transform: translateY(-50%);
         width: 40px;
         height: 40px;
         background: rgba(0, 0, 0, 0.7);
         border: none;
         border-radius: 50%;
         color: white;
         font-size: 18px;
         cursor: pointer;
         display: flex;
         align-items: center;
         justify-content: center;
         pointer-events: auto;
         transition: all 0.3s ease;
     }
     
     .install-slider__nav-arrow:hover {
         background: rgba(0, 0, 0, 0.9);
         transform: translateY(-50%) scale(1.1);
     }
     
     .install-slider__nav-arrow--prev {
         left: 10px;
     }
     
     .install-slider__nav-arrow--next {
         right: 10px;
     }
     
     /* Disable touch swiping on mobile */
     .install-slider__container {
         touch-action: pan-y !important;
         user-select: none;
     }
     
           /* Additional mobile-specific touch prevention */
      @media (max-width: 768px) {
          .install-slider__container {
              touch-action: pan-y !important;
              -webkit-touch-callout: none;
              -webkit-user-select: none;
              -khtml-user-select: none;
              -moz-user-select: none;
              -ms-user-select: none;
              user-select: none;
              pointer-events: none !important;
          }
          
          /* Allow pointer events only on navigation arrows */
          .install-slider__nav-arrows,
          .install-slider__nav-arrow {
              pointer-events: auto !important;
          }
      }
     
     .project-card-stack {
         touch-action: pan-y !important;
         user-select: none;
     }
     
           /* Process Slider Navigation */
      .slider-container {
          position: relative;
      }
      
      .process-slider__nav-arrows {
          display: none;
          position: absolute;
          top: 50%;
          left: 0;
          right: 0;
          transform: translateY(-50%);
          z-index: 30;
          width: 100%;
          pointer-events: none;
      }
      
      .process-slider__nav-arrow {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          width: 40px;
          height: 40px;
          background: rgba(0, 0, 0, 0.7);
          border: none;
          border-radius: 50%;
          color: white;
          font-size: 18px;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          pointer-events: auto;
          transition: all 0.3s ease;
      }
      
      .process-slider__nav-arrow:hover {
          background: rgba(0, 0, 0, 0.9);
          transform: translateY(-50%) scale(1.1);
      }
      
      .process-slider__nav-arrow--prev {
          left: 10px;
      }
      
      .process-slider__nav-arrow--next {
          right: 10px;
      }
      
      /* Disable touch swiping on process slider */
      .cards-container {
          touch-action: pan-y !important;
          user-select: none;
          position: relative;
      }
      
      /* Ensure step indicators don't interfere with arrows */
      .process-card-badge {
          position: relative;
          z-index: 10;
      }
      
      /* Show navigation arrows on mobile */
      @media (max-width: 768px) {
          .project-slider__nav-arrows,
          .install-slider__nav-arrows,
          .process-slider__nav-arrows {
              display: block;
          }
          
          .project-slider__nav-arrow,
          .install-slider__nav-arrow,
          .process-slider__nav-arrow {
              display: flex;
          }
      }
      
      /* Hide navigation arrows on desktop */
      @media (min-width: 769px) {
          .project-slider__nav-arrows,
          .install-slider__nav-arrows,
          .process-slider__nav-arrows {
              display: none !important;
          }
          
          .project-slider__nav-arrow,
          .install-slider__nav-arrow,
          .process-slider__nav-arrow {
              display: none !important;
          }
      }
  }
  
  /* Global desktop arrow hiding - outside media queries for higher specificity */
  @media (min-width: 769px) {
      .project-slider__nav-arrows,
      .install-slider__nav-arrows,
      .process-slider__nav-arrows,
      .project-slider__nav-arrow,
      .install-slider__nav-arrow,
      .process-slider__nav-arrow {
          display: none !important;
          visibility: hidden !important;
          opacity: 0 !important;
          pointer-events: none !important;
      }
  }
