/* =============================================================================
   about-section.css — Home "About Peedhiya": intro + frosted glass cards
   over slowly drifting brand-colour glows.
   ============================================================================= */

.about-section {
  position: relative;
  padding: 110px 1.5rem;
  background: linear-gradient(180deg, #eefbfd 0%, #ffffff 100%);
  overflow: hidden;
  isolation: isolate;
}

/* -----------------------------------------------------------------------------
   ANIMATED BACKDROP
----------------------------------------------------------------------------- */

.about-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  will-change: transform;
}

.about-blob--blue {
  width: 440px;
  height: 440px;
  top: 12%;
  right: 22%;
  background: rgba(12, 192, 223, 0.55);
  animation: about-drift-a 16s ease-in-out infinite alternate;
}

.about-blob--yellow {
  width: 380px;
  height: 380px;
  bottom: 4%;
  right: 4%;
  background: rgba(255, 222, 89, 0.8);
  animation: about-drift-b 19s ease-in-out infinite alternate;
}

.about-blob--gold {
  width: 260px;
  height: 260px;
  top: 8%;
  left: -60px;
  background: rgba(226, 189, 84, 0.35);
  animation: about-drift-a 22s ease-in-out infinite alternate-reverse;
}

.about-sun {
  position: absolute;
  width: 220px;
  height: 220px;
  left: 4%;
  bottom: -60px;
  color: rgba(226, 189, 84, 0.45);
  animation: about-spin 40s linear infinite;
}

@keyframes about-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-60px, 40px) scale(1.08); }
  100% { transform: translate(40px, -30px) scale(0.95); }
}

@keyframes about-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-40px, 20px) scale(1); }
}

@keyframes about-spin {
  to { transform: rotate(360deg); }
}

/* -----------------------------------------------------------------------------
   LAYOUT
----------------------------------------------------------------------------- */

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

/* -----------------------------------------------------------------------------
   INTRO
----------------------------------------------------------------------------- */

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 1rem;
}

.about-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand-yellow);
}

.about-heading {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.peedhiya-blue {
  color: var(--brand-blue);
}

.about-description {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.btn-know-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 9999px;
  background: var(--brand-blue);
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(12, 192, 223, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-know-more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-know-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(12, 192, 223, 0.45);
}

.btn-know-more:hover svg {
  transform: translateX(4px);
}

/* -----------------------------------------------------------------------------
   FROSTED GLASS CARDS
----------------------------------------------------------------------------- */

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Offset the right column for a staggered, less boxy composition */
.about-card:nth-child(even) {
  translate: 0 2.5rem;
}

.about-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

/* Light sheen that sweeps across the glass on hover */
.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.8s ease;
  pointer-events: none;
}

.about-card.reveal.is-visible {
  transition: opacity 0.7s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease, background-color 0.45s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.about-card:hover::before {
  left: 140%;
}

.about-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: 0 6px 16px rgba(226, 189, 84, 0.35);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-card-icon svg {
  width: 26px;
  height: 26px;
}

.about-card:hover .about-card-icon {
  transform: rotate(-8deg) scale(1.08);
}

.about-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.about-card-text {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.65);
}

/* -----------------------------------------------------------------------------
   RESPONSIVE — tablet and below. Anything narrower than 961px is treated as
   the "mobile view" the desktop layout above must stay untouched by.
----------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .about-section {
    padding: 80px 1.25rem 90px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-description {
    margin-left: auto;
    margin-right: auto;
  }

  .about-card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .about-blob--blue { right: -80px; top: 35%; }
}

@media (max-width: 560px) {
  .about-cards {
    gap: 0.9rem;
  }

  .about-card:nth-child(even) {
    translate: 0 1.5rem;
  }

  .about-card {
    padding: 1.25rem 0.75rem;
    border-radius: 20px;
  }

  .about-card-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.8rem;
    border-radius: 14px;
  }

  /* "Intergenerational" is one long word — shrink with the viewport, and hyphenate on the narrowest phones */
  .about-card-title {
    font-size: clamp(0.82rem, 3.9vw, 1rem);
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .about-card-text {
    font-size: 0.82rem;
  }

  .about-blob--blue { width: 300px; height: 300px; }
  .about-blob--yellow { width: 260px; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-blob,
  .about-sun {
    animation: none;
  }

  .about-card::before {
    display: none;
  }
}
