/* About Section */
.about-coreplex {
  padding: 100px var(--spacing-md);
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 60px;
}
.about-image-img{
  width: 120%; 
  height: auto;
}
/* Image Animation */
.about-image {
  flex: 1;
  opacity: 0;
  transform: translateX(-60px) scale(0.9);
  animation: slideInLeft 1s ease forwards;
  animation-delay: 0.3s;
}

.about-image img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-md);
  transition: transform 0.6s ease;
}

.about-image img:hover {
  transform: scale(1.05) translateY(-10px);
}

/* Text Animation */
.about-text {
  flex: 1;
  opacity: 0;
  transform: translateX(60px);
  animation: fadeInRight 1s ease forwards;
  animation-delay: 0.6s;
  font-family: var(--font-base);
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--primary);
  font-family: var(--font-heading);
  position: relative;
}

.about-text h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  display: block;
  margin-top: 10px;
  border-radius: 2px;
}

.about-text p {
  font-size: var(--fs-lg);
  line-height: 1.8;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
}

/* Animations */
@keyframes fadeInRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pulseBtn {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(52, 152, 219, 0.3); /* --primary in rgba */
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }

  .about-image {
    transform: none; /* reset */
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
  }

  .about-image img {
    max-width: 80%;
  }

  .about-text {
    transform: none; /* reset */
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.5s;
  }

  .about-text h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: var(--fs-base);
  }
}

/* Extra Mobile Animation */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
