/* about.css - About Section Styles */

.about {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden; /* keep the glow inside */
}

/* Animated radial glow (same idea as .hero::before) */
.about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150%;
  height: 200%;
  background: var(--animation-circle);
  animation:var(--animation-time);
  z-index: 0;
}

/* Keep actual content above the glow */
.about .container {
  position: relative;
  z-index: 1;
}

@keyframes about-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: var(--font-2xl);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--box-background);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}


.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat h4 {
  font-size: var(--font-3xl);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin: 0;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* ✅ add black background ONLY in light mode (as requested) */
/* body:is(.dark-mode)  */
.about-image img {
  background: #000000d9;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--primary-color);
  border-radius: 10px;
  z-index: -1;
}

/* Responsive */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat h4 {
    font-size: var(--font-2xl);
  }
}




/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about::before { animation: none; }
}
