/* ================= WHO WE ARE SECTION ================= */

.about-background {
  background: linear-gradient(135deg, #f5f7ff, #fff7ec);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* soft decorative blobs */
.about-background::before,
.about-background::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  opacity: 0.08;
  z-index: 0;
}

.about-background::before {
  top: -120px;
  left: -120px;
}

.about-background::after {
  bottom: -140px;
  right: -140px;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* ================= LEFT CONTENT ================= */

.about-content .about-tag {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  animation: fadeUp .7s ease forwards;
}

.about-content h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 18px;
  line-height: 1.2;
  color: #111;
  animation: fadeUp .9s ease forwards;
}

.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 16px;
  animation: fadeUp 1.1s ease forwards;
}

.about-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
  animation: fadeUp 1.3s ease forwards;
}

/* ================= RIGHT IMPACT ================= */

.about-impact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.impact-box {
  background: white;
  border-radius: 20px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  transition: 0.4s;
  position: relative;
  overflow: hidden;
  max-height: fit-content;
}

.impact-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(79,70,229,0.15), transparent);
  transform: translateX(-100%);
  transition: 0.7s;
}

.impact-box:hover::after {
  transform: translateX(100%);
}

.impact-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px rgba(0,0,0,0.15);
}

.impact-box h3 {
  font-size: 2.2rem;
  color: #4f46e5;
  margin-bottom: 6px;
}

.impact-box span {
  font-size: 0.9rem;
  color: #666;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-impact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .about-background {
    padding: 70px 15px;
  }

  .about-impact {
    grid-template-columns: 1fr;
  }

  .impact-box {
    padding: 28px 20px;
  }
}

/* Sub Para section for Background*/

/* ================= BACKGROUND DETAILS ================= */

.background-details {
  background: #ffffff;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* subtle decorative gradients */
.background-details::before,
.background-details::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #f59e0b);
  opacity: 0.07;
  z-index: 0;
}

.background-details::before {
  top: -120px;
  right: -100px;
}

.background-details::after {
  bottom: -120px;
  left: -100px;
}

.details-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* ================= TEXT AREA ================= */

.details-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
  color: #111;
}

.details-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

/* ================= BLOCKS ================= */

.details-block {
  background: linear-gradient(135deg, #f5f7ff, #fff5e5);
  border-radius: 18px;
  padding: 22px 24px;
  margin-top: 20px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.details-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(0,0,0,0.12);
}

.details-block h3 {
  color: #4f46e5;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.details-block p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ================= IMAGE AREA ================= */

.details-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.details-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  transition: 0.5s ease;
}

.details-image img:hover {
  transform: scale(1.05);
}

/* ================= ANIMATION ================= */

.background-details * {
  animation: fadeUp 1s ease forwards;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .details-container {
    grid-template-columns: 1fr;
  }

  .details-image {
    order: -1;
  }

  .details-image img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .background-details {
    padding: 70px 15px;
  }

  .details-block {
    padding: 20px;
  }
}


