    .round{
    display: flex;
  flex-direction: column;
  justify-content: center !important;
  align-items: center !important;
  text-align:center !important;
  width: 100%;
}
.card-3d {
  position: relative;
  width: 700px; /* ⬆️ Pehle 400 tha */
  height: 350px; /* ⬆️ Pehle 200 tha */
  transform-style: preserve-3d;
  transform: perspective(1200px); /* ⬆️ Depth bhi badhai */
  animation: autoRun3d 20s linear infinite;
  will-change: transform;
}

.card-3d div {
  position: absolute;
  width: 180px; /* ⬆️ Pehle 80px */
  height: 240px; /* ⬆️ Pehle 112px */
  
  background:  linear-gradient(145deg, rgb(0, 129, 188), rgba(0, 69, 96, 0.991));
  border: 1px solid rgba(0,174,255,0.3);
  box-shadow: 0 4px 30px rgba(0,174,255,0.15);
  color: #e5f5ff;
  text-align: center;
  padding: 30px;
  border-radius: 0.75rem;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  animation: animateBrightness 20s linear infinite;
  transition-duration: 200ms;
  will-change: transform, filter;
}
.card-3d svg {
  width: 70px;
  height: 70px;
  justify-self:center;
  margin-bottom: 15px;
  fill: rgb(0, 103, 167);
  filter: drop-shadow(0 0 6px rgba(0,186,255,0.4));
  transition: transform 0.4s ease;
}

.card-3d div:hover svg {
  transform: translateY(-5px) scale(1.1);
}

.card-3d p {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
/* Hover pause same */
.card-3d:hover {
  animation-play-state: paused !important;
}

.card-3d:hover div {
  animation-play-state: paused !important;
}

/* ===== Card Placement (adjusted depth) ===== */
.card-3d div:nth-child(1)  { transform: translate(-50%, -50%) rotateY(0deg) translateZ(300px);  animation-delay: -0s; }
.card-3d div:nth-child(2)  { transform: translate(-50%, -50%) rotateY(36deg) translateZ(300px); animation-delay: -2s; }
.card-3d div:nth-child(3)  { transform: translate(-50%, -50%) rotateY(72deg) translateZ(300px); animation-delay: -4s; }
.card-3d div:nth-child(4)  { transform: translate(-50%, -50%) rotateY(108deg) translateZ(300px); animation-delay: -6s; }
.card-3d div:nth-child(5)  { transform: translate(-50%, -50%) rotateY(144deg) translateZ(300px); animation-delay: -8s; }
.card-3d div:nth-child(6)  { transform: translate(-50%, -50%) rotateY(180deg) translateZ(300px); animation-delay: -10s; }
.card-3d div:nth-child(7)  { transform: translate(-50%, -50%) rotateY(216deg) translateZ(300px); animation-delay: -12s; }
.card-3d div:nth-child(8)  { transform: translate(-50%, -50%) rotateY(252deg) translateZ(300px); animation-delay: -14s; }
.card-3d div:nth-child(9)  { transform: translate(-50%, -50%) rotateY(288deg) translateZ(300px); animation-delay: -16s; }
.card-3d div:nth-child(10) { transform: translate(-50%, -50%) rotateY(324deg) translateZ(300px); animation-delay: -18s; }

/* Optional smoother spin */
@keyframes autoRun3d {
  from { transform: perspective(1200px) rotateY(0deg); }
  to { transform: perspective(1200px) rotateY(360deg); }
}
/* ========== MAIN RESPONSIVE FIX ========== */

/* Tablet (768px – 1024px) */
@media (max-width: 1024px) {
  .card-3d {
    width: 550px;
    height: 300px;
    transform: perspective(1000px);
  }

  .card-3d div {
    width: 150px;
    height: 190px;
    padding: 22px;
  }

  .card-3d svg {
    width: 55px;
    height: 55px;
  }

  /* Depth adjust */
  .card-3d div:nth-child(n) {
    transform: translate(-50%, -50%) rotateY(calc((var(--i) - 1) * 36deg)) translateZ(250px);
  }
}

/* Mobile Large (425px – 767px) */
@media (max-width: 767px) {

  .round{
    margin-top: 50px !important;
  }

  .card-3d {
    width: 360px;
    height: 300px;
    transform: perspective(900px);
  }

  .card-3d div {
    width: 120px;
    height: 140px;
    padding: 18px;
  }

  .card-3d svg {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .card-3d p {
    font-size: 10px;
  }

  /* Adjust rotation depth */
  .card-3d div:nth-child(n) {
    transform: translate(-50%, -50%) rotateY(calc((var(--i) - 1) * 36deg)) translateZ(200px);
  }
}

/* Mobile Small (320px – 424px) */
@media (max-width: 424px) {
  .card-3d {
    width: 300px;
    height: 260px;
    transform: perspective(800px);
  }

  .card-3d div {
    width: 100px;
    height: 120px;
    padding: 16px;
  }

  .card-3d svg {
    width: 40px;
    height: 40px;
  }

  .card-3d p {
    font-size: 9px;
  }

  .card-3d div:nth-child(n) {
    transform: translate(-50%, -50%) rotateY(calc((var(--i) - 1) * 36deg)) translateZ(160px);
  }
}
