/* Main Services page styles */

/* circle chart */
.container {
    max-width: 1140px !important;
}
.services-circle-cont {
    aspect-ratio: 1;
    margin-top: 0px !important;
}
.chart-bg-image {
    top: 0px;
    margin: auto !important;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 77.5% !important;
}
.center-text, .service-circle, .sub-service-circle {
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(270deg, hsl(0, 0%, 0%), #051C27);
    box-shadow: 0 0 30px -10px #039be5d1;
    transition: var(--transition);
}

.service-circle:hover, .sub-service-circle:hover{
    background: linear-gradient(90deg, #0082fc, #3edbf0);
    outline: 2px solid #039be5;
    outline-offset: 15px;
}
.center-text {
    font-size: 20px;
    width: 250px !important;
    height: 250px;     
    outline-offset: 2px;
    padding: 20px;
     
    position: relative;
}

.center-text::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    translate: -50% -50%;
    left: 50%;
    top: 50%;
    z-index: -1;
    padding: 130px;
    border-radius: 100%;

    background: conic-gradient(from var(--direction), transparent 50%, #0082fc, #3edbf0);
    animation: 3s rotate linear infinite;
}

.center-text:hover{
 transform: scale(1.1);
}


.center-text::before{
    filter: blur(2);
    
}

@property --direction {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
  }

@keyframes rotate {
    from{
        --direction:0deg;  
    }
   to{
        --direction:360deg;  
    }
    
    
}
.orbit {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    width: 800px !important;
}

.service-circle, .sub-service-circle {
    font-size: 16px;
    width: 160px;
    height: 160px;
    line-height: 1.2em;
} 


#service-description{
    height: 60px;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    margin-top: 80px;
}

.sub-center-text{
    background: linear-gradient(90deg, #0082fc, #3edbf0);
    outline: 2px solid #039be5;
    outline-offset: 15px;

}

.animated-gradient-element {
  /* Gradient settings */
  background: linear-gradient(270deg, hsl(0, 0%, 0%), #051C27);
  background-size: 200% 200%; /* Expand background for smooth animation */
  animation: gradient-animation 5s linear infinite; /* Apply animation */

  /* Circle dimensions */
  width: 250px !important; /* Adjust as needed */
  height: 250px !important; /* Adjust as needed */
  border-radius: 50%; /* Make it a circle */

  /* Center content inside the circle */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Optional: Text styling */
  color: white;
   
  text-align: center;
}
  
  /* Define the keyframes for gradient animation */
  @keyframes gradient-animation {
    0% {
      background-position: 0% 50%; /* Start position */
    }
    50% {
      background-position: 100% 50%; /* Midway position */
    }
    100% {
      background-position: 0% 50%; /* Loop back to start */
    }
  }
  
/* Fade-out class */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
    pointer-events: none; /* Prevent interactions when faded out */
  }
  
  /* Fade-in class */
  .fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
    pointer-events: auto;
  }
  
  
  
.sub-center-text span{
    font-size: 16px;
}
.sub-icon{
    width: 60px !important;
    margin-bottom: 15px;
     
}

.service-text{
    padding: 0 !important;
}

.service-circle img{
    width: auto;
    height: 60px;
    position: absolute;
     
}

.service-circle a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
 

.service-circle img{
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.service-circle span{
    transition: all 0.3s ease-in-out;
    width: 150px;
    line-height: 1.5;
    
}

.service-circle:hover img{
    display: block;
    opacity: 1;
}

.service-circle:hover span{    
    font-size: 16px;
    position: absolute;     
    width: 150px;
     
}

.left-circle:hover span{
    transform: translateX(180px);     
    text-align: left;
}

.right-circle:hover span{
    transform: translateX(-190px); 
    text-align: right;    
}

.dl-left-circle:hover span{
    transform: translateX(170px);     
}

.dl-right-circle:hover span{
    transform: translateX(-150px);     
}

 
 
.ser-link {
    height: 100%;
    padding: 8px;
}
.services-main-sec{
     
    display: flex;
    align-items: center;
}

.accordion-flush>.accordion-item>.accordion-header .accordion-button, .accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{
    border-radius: 10px !important;
}

.accordion-button {
    color: white !important;
    
    outline: none !important;
    
}

.accordion-button:not(.collapsed){
    box-shadow: none !important;
}
.accordion-item{
    background: transparent !important;
    border: none !important;
    margin: 20px 0px;
     
}

.accordion-button:after { 
  
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
  }

.accordion-body{
    color: white;
    gap: 0 20px;
}

.accordion-body a{
    color: var(--secondaryColor) !important;
    
}

.accordion-body a:hover img{
    transform: translateX(10px);
}

.accordion-body   img{
    width: 15px; 
    margin-left: 10px;
}


/* resonsive */
@media (max-width:992px){
    .services-circle-cont {
        row-gap: 40px;
        margin-top: 0px !important;
        align-content: flex-start;
        padding: 50px 20px;
    }
    .orbit.position-absolute {
        grid-template-columns: 1fr;
        row-gap: 30px;
        position: relative !important;
    }
    .chart-bg-image {
        display: none;
    }
    .center-text, .service-circle {
        border-radius: 10px;
    }
    .center-text {
        font-size: 18px;
        width: 100% !important;
        height: 40px !important;
        padding: 8px 20px;
    }
    .service-circle {
        font-size: 12px;
        width: 250px !important;
        height: 42px !important;
        transform: translateY(0px) !important;
    }

    #service-description{
        display: none;
    }
    .services-main-sec{
        display: none;
    }
    
}




@media (min-width:992px) {
    #mobile-services{
        display: none;
    }
}