/*
changes done by nitin
*/

ul.custom-ul {
    margin: unset;
    padding: unset;
    list-style: none;
  }
  
  .services-mar__services {
    display: flex ;
    flex-direction: column;
    gap: 70px;
  }
  
  .services-mar__services li {
    position: relative;
    padding-left: 50px;
    z-index: 0;
    counter-increment: steps;
  }
  
  .services-mar__services li .service-name.h3 a {
    color: #464646 !important;
    font-family: 'EB Garamond';
    font-size: 42px;
    font-weight: 400;
    line-height: 109.375%;
    display: inline-block;
    transition: all 0.5s ease;;
  }
  
  .services-mar__services li.active .service-name.h3 a {
    color: #000000 !important;
  }
  
  .services-mar__services li::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "0" counter(steps);
    font-size: 32px;
    font-weight: 500;
    line-height: normal;
    font-family: 'EB Garamond';
    color: #464646 !important;
  }
  
  .services-mar__services li.active::before {
    color: #000000 !important;
  }
  
  .services-mar__services li img {
    position: absolute;
    top: 10%;
    right: 5%;
    transform: translateY(-30%) rotate(-8deg) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
  }
  
  .services-mar__services li.active .service-name.h3 + img {
    opacity: 1;
    transform: translateY(-30%) rotate(-8deg) scale(1);
  }
  
  .services-mar__services li:last-child img {
    top: -120px;
  }
  
  
  .progress-wrap {
      right: var(--btt-right);
      bottom: var(--btt-bottom);
      color: white;
      position: fixed;
      height: 46px;
      width: 46px;
      cursor: pointer;
      border-radius: 50px;
      box-shadow: inset 0 0 0 2px white;
      z-index: 999999;
      opacity: 0;
      visibility: hidden;
      transform: translateY(15px);
      transition: all 200ms linear;
    }
    .progress-wrap input {
      z-index: 10001;
    }
    .progress-wrap input:checked + html {
      -ms-scroll-snap-type: unset;
          scroll-snap-type: unset;
    }
    .progress-wrap.active-progress {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .progress-wrap::after {
      position: absolute;
      content: "↑";
      text-align: center;
      line-height: 46px;
      font-size: 24px;
      color: gray;
      left: 0;
      top: -2px;
      height: 46px;
      width: 46px;
      cursor: pointer;
      display: block;
      z-index: 1;
      transition: all 200ms linear;
    }
    .progress-wrap:hover::after {
      opacity: 0;
    }
    .progress-wrap:hover::before {
      opacity: 1;
    }
    .progress-wrap::before {
      position: absolute;
      content: "↑";
      text-align: center;
      line-height: 46px;
      font-size: 24px;
      opacity: 0;
      -webkit-text-fill-color: #e85222;
      left: 0;
      top: -2px;
      height: 46px;
      width: 46px;
      cursor: pointer;
      display: block;
      z-index: 2;
      transition: all 200ms linear;
    }
    .progress-wrap svg path {
      fill: none;
    }
    .progress-wrap svg.progress-circle path {
      stroke: #e85222;
      stroke-width: 4;
      box-sizing: border-box;
      transition: all 200ms linear;
    }
    @media screen and (max-width: 600px){
      .progress-wrap {
        bottom: var(--btt-mv-bottom);
        right: var(--btt-mv-right);
      }
    }
    @media screen and (max-width: 374px){
      .progress-wrap {
        bottom: calc(var(--btt-mv-bottom) + 20px);
        right: calc(var(--btt-mv-right));
      }
    }
  
   
    .header-one .main-menu .primary-header-menu-container .primary-header-menu li a{
          line-height: 44px;
      display: block;
		    margin: 0px;
  }

  .header-one .main-menu .primary-header-menu-container .primary-header-menu li  li a{ line-height:1.9em}
   
  .header-one .header-menu { position:relative}
  
    .main-menu li.mega-menu > a {
      position: relative;
  }
    .main-menu li.mega-menu > a::after {
      content: '';
      background: url(https://www.svgrepo.com/show/357035/angle-down.svg) no-repeat center;
      width: 12px;
      height: 12px;
      transition: .4s;
      display: inline-block;
      position: absolute;
      right: -15px;
      top: 16px;
      z-index: 1;
  }
    
  .main-menu li.mega-menu > ul.sub-menu {
      position: absolute;
      width: calc(1200px - 5%);
      top: 89px;
      border-radius:10px;
      background: #fff;
      border-top: 4px solid #19ad86;
      overflow: hidden;
      -webkit-box-shadow: 0 8px 24px -5px #ccc;
      -moz-box-shadow: 0 8px 24px -5px #ccc;
      box-shadow: 0 8px 24px -5px #ccc;
      left: 0;
      right: 0;
      margin-left: auto;
      margin-right: auto;
  }
  
  
@media (max-width: 1200px) { width: calc(100% - 15%); }


  .main-menu li.mega-menu > ul.sub-menu { 
    display: flex;
  }

  .main-menu li.mega-menu > ul.sub-menu li{
    display: block;
    width: 100%;
  }

  .main-menu li.mega-menu > ul.sub-menu > li {
    display: block;
    width: 100%;
    position: relative;
  }

  .main-menu li.mega-menu > ul.sub-menu > li::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    right: 0;
    background: -webkit-linear-gradient(top, rgba(204, 204, 204, 0) 0%, rgba(204, 204, 204, 0.48) 24%, rgba(204, 204, 204, 1) 50%, rgba(204, 204, 204, 0.42) 79%, rgba(204, 204, 204, 0) 100%);
  }

  .main-menu li.mega-menu > ul.sub-menu li ul li {
    padding: 3px 5px 3px 0px;
  }

  .main-menu li.mega-menu > ul.sub-menu li ul li > a {
    color: #7e7e7e;
    transition: all 0.5s ease;
  }

  .main-menu li.mega-menu > ul.sub-menu li ul li:hover > a {
    color: #c40409;
  }

  .main-menu li.mega-menu > ul.sub-menu li ul li a {
    font-size: 14px;
  }
  
  @media (min-width: 768px) {
      
      .main-menu li.mega-menu > ul.sub-menu {
          visibility: hidden;
          opacity: 0;
      }
      .main-menu li.mega-menu:hover > ul.sub-menu {
          visibility: visible;
          opacity: 1;
      } 
  }
  