/* ============================================
   ABOUT NYASA SECTION (Fully Scoped)
   ============================================ */

.about-nyasa-section {
  width: 100%;
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
  overflow: hidden;
}

.about-nyasa-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03),
    rgba(147, 51, 234, 0.03)
  );
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 0;
}

/* Padding */
.about-nyasa-section-padding {
  padding: 6rem 0;
}

/* 94% Content Wrapper */
.about-nyasa-container {
  width: 94%;
  margin: 0 auto;
  position: relative;
  padding: 3%;
  z-index: 1;
}

/* Grid */
.about-nyasa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-nyasa-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

/* Content */
.about-nyasa-content {
  max-width: 100%;
}

.about-nyasa-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1f2937;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-nyasa-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

.about-nyasa-text-primary {
  color: #3b82f6;
  position: relative;
}

.about-nyasa-text-primary::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3));
}

/* Text */
.about-nyasa-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: justify;
  padding-left: 1.5rem;
}

.about-nyasa-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  animation: about-nyasa-pulse-dot 2s infinite;
}

.about-nyasa-text:nth-child(3)::before {
  background: #8b5cf6;
  animation-delay: 0.5s;
}

/* Button */
.about-nyasa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-nyasa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Image */
.about-nyasa-image-container {
  position: relative;
}

.about-nyasa-img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: about-nyasa-float 3s ease-in-out infinite;
}

/* Badge */
.about-nyasa-badge-wrapper {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 1rem;
}

.about-nyasa-badge {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-nyasa-badge-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.about-nyasa-badge-accent {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Animations */
@keyframes about-nyasa-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes about-nyasa-pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-nyasa-section-padding {
    padding: 4rem 0;
  }

  .about-nyasa-title {
    font-size: 2rem;
  }

  .about-nyasa-badge-wrapper {
    position: relative;
    justify-content: center;
    margin-top: 1rem;
    bottom: auto;
    right: auto;
  }
}
