.collaboration-section {
  /* background: radial-gradient(circle at 50% 50%, #1a1a2e, #0f0f1f);
  color: #fff;
  text-align: center; */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* padding: 60px 20px; */
  padding: 0px 20px;
  position: relative;
  overflow: hidden;
}

/* 
.section-header {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
  width: 100%;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #f5576c 75%,
    #4facfe 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: colorShift 10s ease infinite;
}

@keyframes colorShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */

/* .section-subtitle {
  font-size: 1.2rem;
  color: #8b949e;
} */

.solar-system {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8%;
}

.sun {
  position: relative;
  width: 200px;
  height: 200px;
  background: rgba(22, 27, 34, 0.8);
  border: 3px solid #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 40px rgba(102, 126, 234, 0.6),
    0 0 80px rgba(118, 75, 162, 0.4);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.sun img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

/* orbit container with overflow hidden */
.orbit-system {
  position: relative;
  width: 1000px;
  height: 100%;
  margin-left: -100px;
  overflow: hidden;
  flex-shrink: 0;
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 10%,
      black 50%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%);
}

/* Circular orbit paths */
.orbit {
  position: absolute;
  top: 50%;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translateY(-50%);
}

.orbit-1 {
  width: 300px;
  height: 300px;
  animation: rotateClockwise 18s linear infinite;
}

.orbit-2 {
  width: 450px;
  height: 450px;
  animation: rotateAntiClockwise 22s linear infinite;
}

.orbit-3 {
  width: 600px;
  height: 600px;
  animation: rotateClockwise 26s linear infinite;
}

.orbit-4 {
  width: 750px;
  height: 750px;
  animation: rotateAntiClockwise 30s linear infinite;
}

.orbit-5 {
  width: 900px;
  height: 900px;
  animation: rotateClockwise 34s linear infinite;
}

/* planet - university logo */
.planet {
  position: absolute;
  width: 85px;
  height: 85px;
  top: 50%;
  left: 50%;
}

.planet-inner {
  width: 100%;
  height: 100%;
  background: rgba(22, 27, 34, 0.9);
  border: 2px solid #30363d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  transform: rotate(0deg);
}

.planet img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

/* Position planets on circular orbits */
.orbit-1 .planet:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-30deg) translateX(150px) rotate(30deg);
}

.orbit-1 .planet:nth-child(2) {
  transform: translate(-50%, -50%) rotate(30deg) translateX(150px) rotate(-30deg);
}

.orbit-2 .planet:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-45deg) translateX(225px) rotate(45deg);
}

.orbit-2 .planet:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg) translateX(225px) rotate(0deg);
}

.orbit-2 .planet:nth-child(3) {
  transform: translate(-50%, -50%) rotate(45deg) translateX(225px) rotate(-45deg);
}

.orbit-3 .planet:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-35deg) translateX(300px) rotate(35deg);
}

.orbit-3 .planet:nth-child(2) {
  transform: translate(-50%, -50%) rotate(35deg) translateX(300px) rotate(-35deg);
}

.orbit-4 .planet:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-50deg) translateX(375px) rotate(50deg);
}

.orbit-4 .planet:nth-child(2) {
  transform: translate(-50%, -50%) rotate(10deg) translateX(375px) rotate(-10deg);
}

.orbit-4 .planet:nth-child(3) {
  transform: translate(-50%, -50%) rotate(50deg) translateX(375px) rotate(-50deg);
}

.orbit-5 .planet:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-25deg) translateX(450px) rotate(25deg);
}

.orbit-5 .planet:nth-child(2) {
  transform: translate(-50%, -50%) rotate(25deg) translateX(450px) rotate(-25deg);
}

/* rotation animations */
@keyframes rotateClockwise {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes rotateAntiClockwise {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(-360deg);
  }
}

/* tablet view */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }

  .solar-system {
    padding-left: 5%;
  }

  .sun {
    width: 160px;
    height: 160px;
  }

  .sun img {
    width: 130px;
    height: 130px;
  }

  .orbit-system {
    width: 700px;
    margin-left: -80px;
  }

  .orbit-1 {
    width: 240px;
    height: 240px;
  }

  .orbit-2 {
    width: 360px;
    height: 360px;
  }

  .orbit-3 {
    width: 480px;
    height: 480px;
  }

  .orbit-4 {
    width: 600px;
    height: 600px;
  }

  .orbit-5 {
    width: 720px;
    height: 720px;
  }

  .planet {
    width: 70px;
    height: 70px;
  }

  .planet img {
    width: 55px;
    height: 55px;
  }

  .orbit-1 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-30deg) translateX(120px) rotate(30deg);
  }

  .orbit-1 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(30deg) translateX(120px) rotate(-30deg);
  }

  .orbit-2 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-45deg) translateX(180px) rotate(45deg);
  }

  .orbit-2 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(0deg) translateX(180px) rotate(0deg);
  }

  .orbit-2 .planet:nth-child(3) {
    transform: translate(-50%, -50%) rotate(45deg) translateX(180px) rotate(-45deg);
  }

  .orbit-3 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-35deg) translateX(240px) rotate(35deg);
  }

  .orbit-3 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(35deg) translateX(240px) rotate(-35deg);
  }

  .orbit-4 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-50deg) translateX(300px) rotate(50deg);
  }

  .orbit-4 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(10deg) translateX(300px) rotate(-10deg);
  }

  .orbit-4 .planet:nth-child(3) {
    transform: translate(-50%, -50%) rotate(50deg) translateX(300px) rotate(-50deg);
  }

  .orbit-5 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(-25deg) translateX(360px) rotate(25deg);
  }

  .orbit-5 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(25deg) translateX(360px) rotate(-25deg);
  }
}

/* mobile view */
@media (max-width: 640px) {
  .collaboration-section {
    height: auto;
    min-height: 70vh;
    padding: 60px 15px;
    justify-content: center;
  }

  .section-header {
    position: relative;
    top: 0;
    transform: none;
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .solar-system {
    flex-direction: column;
    padding-left: 0;
    align-items: center;
  }

  .sun {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
  }

  .sun img {
    width: 95px;
    height: 95px;
  }

  .orbit-system {
    width: 100%;
    max-width: 350px;
    height: 350px;
    margin-left: 0;
    overflow: visible;
  }

  .orbit {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .orbit-1 {
    width: 150px;
    height: 150px;
  }

  .orbit-2 {
    width: 220px;
    height: 220px;
  }

  .orbit-3 {
    width: 290px;
    height: 290px;
  }

  .orbit-4 {
    display: none;
  }

  .orbit-5 {
    display: none;
  }

  .planet {
    width: 55px;
    height: 55px;
  }

  .planet img {
    width: 42px;
    height: 42px;
  }

  .orbit-1 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateX(75px) rotate(0deg);
  }

  .orbit-1 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(180deg) translateX(75px) rotate(-180deg);
  }

  .orbit-2 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(60deg) translateX(110px) rotate(-60deg);
  }

  .orbit-2 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(180deg) translateX(110px) rotate(-180deg);
  }

  .orbit-2 .planet:nth-child(3) {
    transform: translate(-50%, -50%) rotate(300deg) translateX(110px) rotate(-300deg);
  }

  .orbit-3 .planet:nth-child(1) {
    transform: translate(-50%, -50%) rotate(90deg) translateX(145px) rotate(-90deg);
  }

  .orbit-3 .planet:nth-child(2) {
    transform: translate(-50%, -50%) rotate(270deg) translateX(145px) rotate(-270deg);
  }

  @keyframes rotateClockwise {
    from {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  @keyframes rotateAntiClockwise {
    from {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
      transform: translate(-50%, -50%) rotate(-360deg);
    }
  }
}