.card_digi_serv{
  text-align: center;
  width: auto;
  min-height: 475px;
  border-radius: 20px;
  overflow: clip;
  display: flex;
  flex-direction: column;
/* background-image: url("https://images.unsplash.com/photo-1718582896304-4d147f0a364e?crop=entropy&cs=srgb&fm=jpg&ixid=M3wzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE3MjI0MjkxNTh8&ixlib=rb-4.0.3&q=85");
  background-repeat: no-repeat;
  background-size: cover; 
  
  outline: 1px solid #FFFFFF70;
  outline-offset: 4px;*/

  box-shadow: 2px 2px 3px #999999a8;
  overflow: hidden; /* Change clip to hidden for better control over overflow */
  transition: transform 0.3s ease-in-out; /* Add transition for smooth scaling */
}

.card_digi_serv:hover{
    transform: scale(1.05); /* Scale the entire card */
}

.card_digi_serv main > img{
  margin-top: 2.25rem;
  border-radius: 50%;
  width: 120px;
  aspect-ratio: 1;
  margin-inline: auto;
/*outline: 1px solid #0C4A6E;*/
  outline-offset: 2px;
}

.card_digi_serv main > h5 {
    padding:10px 0;
}

.card_digi_serv  main{
  margin-top: 80px;
  padding: 25px 30px;
  flex: 1;
  background: white;
/* this is really the only relevant part of this demo */
/* https://www.wavegenerator.app/ */
  /* clip-path: path("M 0 100 c 150 0 120 -75 200 -75 C 280 25 250 100 400 100 L400 1000 0 1000 Z"); */
  clip-path: polygon(100% 100%, 0% 100% , 0.00% 23.75%, 4.00% 23.48%, 8.00% 22.67%, 12.00% 21.38%, 16.00% 19.69%, 20.00% 17.70%, 24.00% 15.55%, 28.00% 13.36%, 32.00% 11.27%, 36.00% 9.42%, 40.00% 7.92%, 44.00% 6.86%, 48.00% 6.32%, 52.00% 6.32%, 56.00% 6.86%, 60.00% 7.92%, 64.00% 9.42%, 68.00% 11.27%, 72.00% 13.36%, 76.00% 15.55%, 80.00% 17.70%, 84.00% 19.69%, 88.00% 21.38%, 92.00% 22.67%, 96.00% 23.48%, 100.00% 23.75%);

  
}
/* ==================sec card=================== */
.section {
scroll-margin-top: 130px; /* Adjust this value as needed */
        }
        
#GetStartedBtn {
scroll-margin-top: 140px; /* Adjust this value as needed */
        }    
        
/*other         */

.services-single {
    transition: .3s ease-in;
    position: relative;
    min-height: 26rem;
     margin-right: 0rem !important; 
}

/* ==================sec slider=================== */
 .slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }

  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .slide {
    position: relative;
    min-width: 100%;
  }

  .img-fluid {
    width: 100%;
    height: auto;
  }

  /* Banner text styling */
  
  .banner-text-tpp { padding:5% 0%;}

  .banner-text-top {
    position: absolute;
    top: 20%;
    left: 25%;
    transform: translate(-25%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }
  
.banner-text-top p {color:#D6D8E1;}

  .banner-text {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-15%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }
  
    .banner-text-btm {
    position: absolute;
    bottom: 10%;
    left: 20%;
    transform: translate(-20%, -10%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }

  .banner-text h1 {
    font-size: 3rem;
    margin: 0 0 10px;
    color:#fff;
    font-weight:600;
  }

  .banner-text h2 {
    font-size: 2rem;
    margin: 0 0 20px;
     color:#fff;
  }

  .banner-btn {
    display: inline-block;
    padding: 8px 25px;
    background-color: #026BDD;
    color: white;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    /*transition: background-color 0.3s ease;*/
     transition: .25s ease-in-out;
  }

  .banner-btn:hover {
    background-color: #009f21;
    color: white;
    text-decoration:none;
  }

  .prev, .next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 9px;
    transform: translateY(-50%);
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }
  
  @media(max-width: 991px) {
  .banner-text-tpp { padding:0 0%;}
  .banner-text h1 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color:#fff;
    font-weight:600;
  }
  .banner-text h2 {
    font-size: 1rem;
    margin: 0 0 10px;
     color:#fff;
  }
.banner-btn {  font-size: 0.8rem; padding:5px 9px;}
}

  @media (max-width: 768px) {
      
.banner-text-top {
    position: absolute;
    top: 20%;
    left: 20%;
    transform: translate(-20%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }
  
  .banner-text {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-25%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }
  
    .banner-text-btm {
    position: absolute;
    bottom: 10%;
    left: 20%;
    transform: translate(-20%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }  
      
    .banner-text h1 {
      font-size: 2rem;
    }

    .banner-text h2 {
      font-size: 1.5rem;
    }

    .banner-btn {
      font-size: 1rem;
      padding: 10px 20px;
    }
  }

  @media (max-width: 420px) {
      
.banner-text-top {
    position: absolute;
    top: 20%;
    left: 20%;
    transform: translate(-20%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }
  

  .banner-text {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-25%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  }
  
    .banner-text-btm {
    position: absolute;
    bottom: 10%;
    left: 20%;
    transform: translate(-20%, -50%);
    text-align: left;
    color: white;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);*/
  } 
  
    .banner-text h1 {
      font-size: 1.5rem;
    }

    .banner-text h2 {
      font-size: 1rem;
    }

    .banner-btn {
      font-size: 0.9rem;
      padding: 8px 15px;
    }
  }

/*related services */

    /* Styles for the related services section */
    .related-services-container {
      display: flex;
      align-items: center;
      justify-content: center;
      /*flex-wrap: wrap;  /*Ensures wrapping on smaller screens 
      /*gap: 10px; /* Space between elements */
      padding: 20px;
    }

    .related-title {
      font-size: 1.5rem;
      margin: 0 1rem 0 0;
    font-weight: 500;
    line-height: 1.2;
      white-space: nowrap; /* Prevents wrapping */
    }

    .related-btn {
        font-family: Montserrat, sans-serif;
    font-weight: 500;    
      padding: 10px 15px;
      font-size: 1rem;
      cursor: pointer;
      white-space: nowrap;
  background-color:#33b24d;
  color:#fff;
  border-radius: 50px;
  border: 1px solid #33b24d;
    transition: .25s ease-in-out;
    }
    .related-btn-2 {
            font-family: Montserrat, sans-serif;
    font-weight: 500;
      padding: 10px 15px;
      margin: 0 1rem;
      font-size: 1rem;
      cursor: pointer;
      white-space: nowrap;
    color: #fff;
    background-color: #005fab;
    border: 1px solid #005fab;
    border-radius: 50px;
    transition: .25s ease-in-out;
    }

    .related-btn:hover {
      background-color: #fff; /* Darker shade on hover */
      color:#0056b3;
      text-decoration:none;
    }
    .related-btn-2:hover {
      background-color: #fff; /* Darker shade on hover */
      color:#33b24d;
      text-decoration:none;
    }

    .related-btn:focus {
      outline: none;
      box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
            .related-title {
      font-size: 1.2rem;
      margin-right: 8px;
      white-space: nowrap; /* Prevents wrapping */
    }
      .related-title {
        font-size: 1rem;
      }
      .related-btn {
        font-size: 0.8rem;
        padding: 6px 8px;
        margin-right:2px;
      }
      .related-btn-2 {
        font-size: 0.8rem;
        padding: 6px 8px;
        margin:0 4px 0px 0;
      }
    }

    @media (max-width: 480px) {
        
            .related-title {
       font-weight: bold;            
      font-size: 0.8rem;
      margin-right: 5px;
      white-space: nowrap; /* Prevents wrapping */
    }

    }


