/* Circle Animation Styles */
.circle-animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  margin: 2rem 0;
  position: relative;
}

.circle-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.circle-layer {
  position: absolute;
  /* border: 2px dashed rgba(255, 255, 255, 0.5); */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px dotted black;
}

.layer-1 {
  width: 160px;
  height: 160px;
}

.layer-2 {
  width: 280px;
  height: 280px;
}

.layer-3 {
  width: 400px;
  height: 400px;
}

.circle-center {
  position: absolute;
  width: 80px;
  height: 80px;
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
}

/* .center-icon {
  width: 40px;
  height: 40px;
  height: 40px;
  margin-right: 10px;
  color: var(--light-text);
} */

.tech-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  z-index: 5;
  transition: transform 0.3s ease;
}
.tech-icon img{
  background-color: aliceblue;

}

/* Different colors for different layers */
/* .layer-1 .tech-icon {
  background: linear-gradient(135deg, #FF4D94, #FF7676);
}

.layer-2 .tech-icon {
  background: linear-gradient(135deg, #00A6FF, #0069D2);
}

.layer-3 .tech-icon {
  background: linear-gradient(135deg, #FFA62E, #FF7676);
} */

.tech-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 20;
}

/* Initial positions for animation */
.icon-1 {
  transform: translate(0, -80px) scale(1);
}

.icon-2 {
  transform: translate(69px, 40px) scale(1);
}

.icon-3 {
  transform: translate(-69px, 40px) scale(1);
}

/* Layer specific positions */
.layer-1 .icon-1 {
  transform: translate(0, -80px) scale(0.9);
}

.layer-1 .icon-2 {
  transform: translate(69px, 40px) scale(0.9);
}

.layer-1 .icon-3 {
  transform: translate(-69px, 40px) scale(0.9);
}

.layer-2 .icon-1 {
  transform: translate(0, -140px) scale(1);
}

.layer-2 .icon-2 {
  transform: translate(121px, 70px) scale(1);
}

.layer-2 .icon-3 {
  transform: translate(-121px, 70px) scale(1);
}

.layer-3 .icon-1 {
  transform: translate(0, -200px) scale(1.1);
}

.layer-3 .icon-2 {
  transform: translate(173px, 100px) scale(1.1);
}

.layer-3 .icon-3 {
  transform: translate(-173px, 100px) scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .circle-animation-container {
    min-height: 400px;
    padding: 1rem;
  }

  .circle-wrapper {
    width: 380px;
    height: 380px;
  }

  .layer-1 {
    width: 140px;
    height: 140px;
  }

  .layer-2 {
    width: 250px;
    height: 250px;
  }

  .layer-3 {
    width: 360px;
    height: 360px;
  }

  .circle-center {
    width: 70px;
    height: 70px;
  }

  .tech-icon {
    width: 48px;
    height: 48px;
    font-size: 12px;
  }

  /* Adjust positions for tablet */
  .layer-1 .icon-1 {
    transform: translate(0, -70px) scale(0.9);
  }

  .layer-1 .icon-2 {
    transform: translate(60px, 35px) scale(0.9);
  }

  .layer-1 .icon-3 {
    transform: translate(-60px, 35px) scale(0.9);
  }

  .layer-2 .icon-1 {
    transform: translate(0, -125px) scale(1);
  }

  .layer-2 .icon-2 {
    transform: translate(108px, 62px) scale(1);
  }

  .layer-2 .icon-3 {
    transform: translate(-108px, 62px) scale(1);
  }

  .layer-3 .icon-1 {
    transform: translate(0, -180px) scale(1.05);
  }

  .layer-3 .icon-2 {
    transform: translate(156px, 90px) scale(1.05);
  }

  .layer-3 .icon-3 {
    transform: translate(-156px, 90px) scale(1.05);
  }
}

@media (max-width: 480px) {
  .circle-animation-container {
    min-height: 300px;
    padding: 0.5rem;
  }

  .circle-wrapper {
    width: 320px;
    height: 320px;
  }

  .layer-1 {
    width: 120px;
    height: 120px;
  }

  .layer-2 {
    width: 210px;
    height: 210px;
  }

  .layer-3 {
    width: 300px;
    height: 300px;
  }

  .circle-center {
    width: 60px;
    height: 60px;
  }

  .tech-icon {
    width: 42px;
    height: 42px;
    font-size: 11px;
  }

  /* Adjust positions for mobile */
  .layer-1 .icon-1 {
    transform: translate(0, -60px) scale(0.85);
  }

  .layer-1 .icon-2 {
    transform: translate(52px, 30px) scale(0.85);
  }

  .layer-1 .icon-3 {
    transform: translate(-52px, 30px) scale(0.85);
  }

  .layer-2 .icon-1 {
    transform: translate(0, -105px) scale(0.95);
  }

  .layer-2 .icon-2 {
    transform: translate(91px, 52px) scale(0.95);
  }

  .layer-2 .icon-3 {
    transform: translate(-91px, 52px) scale(0.95);
  }

  .layer-3 .icon-1 {
    transform: translate(0, -150px) scale(1);
  }

  .layer-3 .icon-2 {
    transform: translate(130px, 75px) scale(1);
  }

  .layer-3 .icon-3 {
    transform: translate(-130px, 75px) scale(1);
  }
}

@media (max-width: 375px) {
  .circle-wrapper {
    width: 280px;
    height: 280px;
  }

  .layer-1 {
    width: 105px;
    height: 105px;
  }

  .layer-2 {
    width: 185px;
    height: 185px;
  }

  .layer-3 {
    width: 265px;
    height: 265px;
  }

  .circle-center {
    width: 55px;
    height: 55px;
  }

  .tech-icon {
    width: 38px;
    height: 38px;
    font-size: 10px;
  }

  /* Adjust positions for small mobile */
  .layer-1 .icon-1 {
    transform: translate(0, -52px) scale(0.8);
  }

  .layer-1 .icon-2 {
    transform: translate(45px, 26px) scale(0.8);
  }

  .layer-1 .icon-3 {
    transform: translate(-45px, 26px) scale(0.8);
  }

  .layer-2 .icon-1 {
    transform: translate(0, -92px) scale(0.9);
  }

  .layer-2 .icon-2 {
    transform: translate(80px, 46px) scale(0.9);
  }

  .layer-2 .icon-3 {
    transform: translate(-80px, 46px) scale(0.9);
  }

  .layer-3 .icon-1 {
    transform: translate(0, -132px) scale(0.95);
  }

  .layer-3 .icon-2 {
    transform: translate(114px, 66px) scale(0.95);
  }

  .layer-3 .icon-3 {
    transform: translate(-114px, 66px) scale(0.95);
  }
}