/* ============================================================
   PARWAH — ABOUT PAGE STYLES
   Premium, emotionally warm, purple-first design system
   ============================================================ */

/* ── Custom properties (page-specific overrides) ─────────── */
:root {
  --purple-deep:    #4E1E70;
  --purple-rich:    #5a2a82;
  --purple-vivid:   #8B5BE6;
  --purple-soft:    #C4A8FF;
  --purple-mist:    #EDE8FF;
  --purple-glow:    rgba(139, 91, 230, 0.15);
  --blush:          #E87DD0;
  --cream:          #fdfcff;
  --warm-white:     #faf9fc;
  --text-dark:      #1e1b2e;
  --text-soft:      #4a4560;
  --text-muted-ab:  #7b7a8e;
  --section-gap:    120px;
}

/* ── Body baseline ────────────────────────────────────────── */
body {
  scroll-behavior: smooth;
}

/* ── Nav active link ──────────────────────────────────────── */
.nav-active {
  color: var(--purple-vivid) !important;
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 6vw 140px;
  overflow: hidden;

  background:
    radial-gradient(ellipse at 50% 10%, rgba(139, 91, 230, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(78, 30, 112, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(232, 125, 208, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #fdfcff 0%, #f4f0fa 100%);
}

/* Background Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 91, 230, 0.12), transparent 70%);
  top: -150px;
  left: 10%;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232, 125, 208, 0.1), transparent 70%);
  bottom: -100px;
  right: 5%;
  animation: blobFloat 14s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(78, 30, 112, 0.08), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: blobFloat 16s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Flowing SVG Lines */
.hero-flowing-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.flow-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: flowAnim 8s linear infinite;
}

.flow-line-1 { animation-duration: 40s; }
.flow-line-2 { animation-duration: 35s; animation-direction: reverse; }

@keyframes flowAnim {
  0% { stroke-dashoffset: 2000; }
  100% { stroke-dashoffset: -2000; }
}

/* Hero Content */
.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--purple-vivid);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}

.about-hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-hero-highlight {
  background: linear-gradient(120deg, var(--purple-deep) 0%, var(--purple-vivid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.about-hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-soft);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.about-hero-divider-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-vivid);
  opacity: 0.6;
}

.divider-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-vivid), transparent);
}

.about-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto;
}

/* Hero responsive */
@media (max-width: 900px) {
  .about-hero {
    padding: 140px 6vw 80px;
    min-height: auto;
  }
  
  .about-hero-tagline {
    font-size: 1.35rem;
  }
  
  .about-hero-sub {
    font-size: 1.05rem;
  }
}

/* ──────────────────────────────────────────────────────────
   SHARED UTILITIES
   ────────────────────────────────────────────────────────── */
.section-chip {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139,91,230,0.15), rgba(78,30,112,0.1));
  color: var(--purple-rich);
  border: 1px solid rgba(139,91,230,0.2);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.chip-light {
  background: rgba(255,255,255,0.25);
  color: var(--purple-deep);
  border-color: rgba(255,255,255,0.4);
}

/* ──────────────────────────────────────────────────────────
   SECTION 1: ABOUT PARWAH
   ────────────────────────────────────────────────────────── */
.about-section {
  padding: var(--section-gap) 8vw;
  background: none;
}

.about-section-inner {
  display: flex;
  align-items: center;
  gap: 7vw;
  max-width: 1200px;
  margin: 0 auto;
}

/* Text column */
.about-text-col {
  flex: 1;
  min-width: 0;
}

.about-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 1.25;
}

.about-h2 em {
  color: var(--purple-vivid);
  font-style: italic;
}

.about-body-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Accent highlighted line */
.about-accent-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.accent-bar {
  flex-shrink: 0;
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, var(--purple-deep), var(--purple-vivid));
  border-radius: 4px;
}

.accent-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--purple-deep);
  line-height: 1.3;
  margin: 0;
}

.about-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Image column */
.about-image-col {
  flex-shrink: 0;
  width: clamp(280px, 38%, 440px);
  position: relative;
}

.about-img-glass-card {
  position: relative;
  border-radius: 28px;
  overflow: visible;
}

.about-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(78, 30, 112, 0.18),
    0 0 0 1px rgba(139,91,230,0.12);
  position: relative;
  z-index: 2;
  aspect-ratio: 4/3;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

/* Glass badge on image */
.glass-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139,91,230,0.2);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(78,30,112,0.13);
}

/* Floating decorative shapes */
.float-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.shape-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(139,91,230,0.2), rgba(78,30,112,0.1));
  top: -24px;
  right: -24px;
}

.shape-ring {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(139,91,230,0.2);
  background: transparent;
  bottom: 24px;
  left: -28px;
}

/* About responsive */
@media (max-width: 900px) {
  .about-section-inner {
    flex-direction: column;
    gap: 48px;
  }

  .about-image-col {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-text-col {
    text-align: center;
  }

  .about-accent-line {
    justify-content: center;
  }

  .about-cta-row {
    justify-content: center;
  }
}

/* ──────────────────────────────────────────────────────────
   SECTION 2: VISION
   ────────────────────────────────────────────────────────── */
.vision-section {
  position: relative;
  padding: var(--section-gap) 8vw;
  text-align: center;
  overflow: hidden;

  background:
    radial-gradient(ellipse at 15% 50%, rgba(139,91,230,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(78,30,112,0.07) 0%, transparent 55%),
    linear-gradient(160deg, #f8f5ff 0%, #fdfcff 40%, #f0eaff 100%);
}

.vision-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.blob-a {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,91,230,0.14), transparent 70%);
  top: -100px;
  left: -100px;
}

.blob-b {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232,125,208,0.1), transparent 70%);
  bottom: -80px;
  right: -80px;
}

.vision-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.vision-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.break-desktop {
  display: block;
}

@media (max-width: 640px) {
  .break-desktop { display: none; }
}

/* Vision points */
.vision-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  max-width: 640px;
  margin: 0 auto 48px;
}

.vision-point {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139,91,230,0.12);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 6px 20px rgba(78,30,112,0.05);
}

.vision-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-deep));
  border-radius: 50%;
  margin-top: 7px;
}

.vision-point p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

/* "Not someday. Now." badge */
.vision-now-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 40px;
}

.now-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,91,230,0.4));
}

.vision-now-badge .now-line:last-child {
  background: linear-gradient(270deg, transparent, rgba(139,91,230,0.4));
}

.now-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--purple-deep) 0%, var(--purple-vivid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Vision body text */
.vision-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 14px;
}

.vision-body-bold {
  font-weight: 600;
  color: var(--purple-deep);
}

/* ──────────────────────────────────────────────────────────
   SECTION 3: TEAM
   ────────────────────────────────────────────────────────── */
.team-section {
  padding: var(--section-gap) 8vw;
  background: 
    radial-gradient(circle at 10% 20%, rgba(139, 91, 230, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(232, 125, 208, 0.04) 0%, transparent 70%),
    transparent;
  max-width: 1300px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.team-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-muted-ab);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Team grid */
.team-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .team-grid {
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .team-grid {
    max-width: 380px;
  }
}

/* Team card */
.team-card {
  flex: 0 1 320px;
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139,91,230,0.15);
  border-radius: 24px;
  padding: 30px 20px 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(78, 30, 112, 0.04);
  transition:
    transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  cursor: default;
}

#team-madhav {
  border: 1px solid rgba(139, 91, 230, 0.4);
  box-shadow: 0 12px 30px rgba(139, 91, 230, 0.12);
  transform: scale(1.02);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 50px rgba(78,30,112,0.12),
    0 0 0 1px rgba(139,91,230,0.25);
  border-color: rgba(139,91,230,0.3);
}

#team-madhav:hover {
  transform: scale(1.02) translateY(-6px);
}

.team-card:hover .team-card-glow {
  opacity: 1;
}

/* Glow effect on hover */
.team-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(139,91,230,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Avatar */
.team-avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.06);
}

.team-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(139,91,230,0.25);
  animation: ringPulse 3s ease-in-out infinite;
}

.team-card:hover .team-avatar-ring {
  border-color: rgba(139,91,230,0.45);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.06); opacity: 1; }
}

/* Avatar colours */
.av-purple { background: linear-gradient(135deg, #7c3aed, var(--purple-deep)); }
.av-rose   { background: linear-gradient(135deg, #e87dd0, #a855c4); }
.av-teal   { background: linear-gradient(135deg, #38bdf8, #0269a4); }
.av-indigo { background: linear-gradient(135deg, #6366f1, #3730a3); }

/* Card text */
.team-info {
  position: relative;
  z-index: 2;
}

.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.team-role {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139,91,230,0.12), rgba(78,30,112,0.08));
  border: 1px solid rgba(139,91,230,0.18);
  color: var(--purple-rich);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.team-bio {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted-ab);
  line-height: 1.5;
  margin: 0;
}

/* Placeholder card — slight dashed border */
.team-card-placeholder {
  border-style: dashed;
  border-color: rgba(139,91,230,0.25);
}

/* ──────────────────────────────────────────────────────────
   CLOSING SECTION
   ────────────────────────────────────────────────────────── */
.closing-section {
  position: relative;
  padding: var(--section-gap) 8vw 100px;
  text-align: center;
  overflow: hidden;

  background:
    radial-gradient(ellipse at 30% 40%, rgba(139,91,230,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(232,125,208,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #f9f7ff 0%, #fdfcff 100%);
}

.closing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.closing-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139,91,230,0.14), transparent 70%);
  top: -120px;
  left: -120px;
}

.closing-orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(232,125,208,0.1), transparent 70%);
  bottom: -80px;
  right: -80px;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.closing-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  line-height: 0.6;
  color: var(--purple-vivid);
  opacity: 0.22;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  user-select: none;
}

.closing-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: 36px;
  border: none;
  padding: 0;
  position: relative;
  letter-spacing: -0.01em;
}

.closing-quote br { display: block; }

.closing-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-vivid));
  border-radius: 99px;
  margin: 0 auto 28px;
}

.closing-cta-label {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--text-muted-ab);
  margin-bottom: 36px;
  font-weight: 500;
}

.closing-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────────
   SCROLL ANIMATION BASE STATE
   (GSAP will animate from opacity:0 / translateY)
   ────────────────────────────────────────────────────────── */
.fade-in-scroll {
  will-change: transform, opacity;
}

/* ──────────────────────────────────────────────────────────
   UTILITY — MAKE MOBILE MENU WORK ON THIS PAGE TOO
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fbf9ff;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    box-shadow: 0 10px 20px rgba(90,42,130,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    gap: 0;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }

  /* Sections spacing on mobile */
  :root {
    --section-gap: 72px;
  }

  .about-hero-heading {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .vision-section {
    padding: 72px 6vw;
  }

  .team-section {
    padding: 72px 5vw;
  }

  .closing-section {
    padding: 72px 6vw 80px;
  }

  .closing-quote-mark {
    font-size: 5rem;
  }
}
