.about-page {
  padding: 120px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.profile.reverse {
  flex-direction: row-reverse;
}

.profile-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid rgba(255, 94, 0, 0.4);
  box-shadow:
    0 0 60px rgba(255, 94, 0, 0.3),
    0 0 100px rgba(0, 178, 255, 0.2);
  background-size: cover;
  background-position: center;
  animation: float 6s ease-in-out infinite;
}

.profile-photo.kitti {
  background-image: url('../../img/About/kitti.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-photo.devops {
  background-image: url('../../img/About/norbi.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-photo:hover {
  box-shadow:
    0 0 80px rgba(255, 94, 0, 0.6),
    0 0 120px rgba(0, 178, 255, 0.4);
  transform: scale(1.05);
  transition: 0.6s ease;
}

.profile-text {
  flex: 1;
  max-width: 600px;
}

.profile-text h3 {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  background: linear-gradient(45deg, #ff5e00, #00b2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.profile-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.8;
}

.divider {
  width: 80%;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    #ff5e00,
    #00b2ff,
    transparent
  );
  box-shadow: 0 0 30px rgba(255, 94, 0, 0.4);
}

.about-mission {
  margin-top: 140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.mission-text h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.6rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff5e00, #00b2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
}

.mission-visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 2px solid;
  border-image: linear-gradient(45deg, #ff5e00, #00b2ff) 1;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 8s linear infinite;
  opacity: 0.3;
}

.glow-ring:nth-child(2) {
  width: 200px;
  height: 200px;
  animation-duration: 12s;
  opacity: 0.5;
}

.glow-ring:nth-child(3) {
  width: 250px;
  height: 250px;
  animation-duration: 16s;
  opacity: 0.2;
}

.glow-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.glow-ring:nth-child(1) img {
  animation: spin 8s linear reverse infinite;
}
.glow-ring:nth-child(2) img {
  animation: spin 12s linear reverse infinite;
}
.glow-ring:nth-child(3) img {
  animation: spin 16s linear reverse infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 768px) {
  .about-mission {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile {
    flex-direction: column;
  }

  .profile.reverse {
    flex-direction: column;
  }

  .profile-photo {
    align-self: center;
    margin: 0 auto;
  }
}
