/*
  ============================================================
  THE SNOOGUMS ACADEMY - ABOUT PAGE STYLES
  File: css/about.css

  This file works ON TOP of style.css.
  It only contains rules unique to the About page:
  page hero banner, story section, "who we serve" cards,
  the 5 pillars grid, mission/vision cards, and the
  corporate identity block.
  ============================================================
*/


/* ============================================================
   PAGE HERO (smaller version of the homepage hero)
   Used on every sub-page going forward — about, courses, etc.
   will all reuse this ".page-hero" pattern for consistency.
============================================================ */
.page-hero {
  position: relative;
  background: var(--gradient-dark);
  padding: calc(var(--navbar-height) + var(--space-xxl)) 0 var(--space-xxl);
  overflow: hidden;
  text-align: center;
}

/* Decorative blurred shapes behind the hero text */
.page-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phs {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.phs-1 {
  width: 400px;
  height: 400px;
  background: var(--color-pink);
  top: -120px;
  left: -80px;
}

.phs-2 {
  width: 350px;
  height: 350px;
  background: var(--color-purple);
  bottom: -150px;
  right: -60px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}


/* ============================================================
   STORY SECTION
============================================================ */
.story-section {
  padding: var(--space-xxl) 0;
  background: var(--color-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;  /* Text slightly wider than image */
  gap: var(--space-xxl);
  align-items: center;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.story-badge {
  position: absolute;
  bottom: -16px;
  left: 16px;
  right: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
}

.story-badge i {
  color: var(--color-pink);
  font-size: 1.1rem;
}

.story-paragraph {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.story-paragraph strong {
  color: var(--color-dark);
}

/* Pull quote — a visually distinct highlighted statement */
.pull-quote {
  border-left: 4px solid var(--color-pink);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-purple);
}


/* ============================================================
   WHO WE SERVE SECTION
============================================================ */
.serve-section {
  padding: var(--space-xxl) 0;
  background: var(--color-light);
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.serve-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.serve-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.serve-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin: 0 auto var(--space-md);
}

.icon-pink   { background: var(--gradient-pink); }
.icon-gold   { background: var(--gradient-gold); color: var(--color-dark); }
.icon-purple { background: linear-gradient(135deg, #6B0FA8, #4A0080); }

.serve-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
}

.serve-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}


/* ============================================================
   FIVE PILLARS SECTION (dark background)
============================================================ */
.values-section {
  padding: var(--space-xxl) 0;
  background: var(--color-dark);
}

.pillars-grid {
  display: grid;
  /* 5 cards — auto-fit wraps nicely at every breakpoint */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.pillar-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
  overflow: hidden;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(208, 0, 111, 0.4);
  transform: translateY(-6px);
}

/* Large faded number in the background of the card */
.pillar-num {
  position: absolute;
  top: -10px;
  right: 10px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.pillar-icon {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  display: block;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.pillar-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


/* ============================================================
   MISSION & VISION SECTION
============================================================ */
.mv-section {
  padding: var(--space-xxl) 0;
  background: var(--color-white);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.mv-card {
  background: linear-gradient(160deg, rgba(208,0,111,0.04), rgba(107,15,168,0.06));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.mv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-pink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-pink);
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.mv-card p {
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.8;
}


/* ============================================================
   CORPORATE IDENTITY SECTION
============================================================ */
.identity-section {
  padding: var(--space-xxl) 0;
  background: var(--color-light);
}

.identity-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.identity-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-border);
}

.identity-header i {
  font-size: 1.4rem;
  color: var(--color-pink);
}

.identity-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
}

.identity-grid {
  display: grid;
  /*
    Two columns on desktop. Each row is a label/value pair.
    We use grid-template-columns: 220px 1fr so labels align
    neatly down the left side regardless of how long the text is.
  */
  grid-template-columns: 220px 1fr;
  gap: var(--space-sm) var(--space-md);
}

.identity-item {
  display: contents;
  /*
    display: contents — a special value that makes this wrapper
    "disappear" from the layout, letting its children (label + value)
    become direct children of the grid. This lets us keep the HTML
    organised in label/value pairs while still using the parent's
    2-column grid for alignment. Without this, each .identity-item
    would create its OWN mini grid, breaking the alignment.
  */
}

.identity-label {
  font-weight: 700;
  color: var(--color-text-light);
  font-size: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}

.identity-value {
  color: var(--color-dark);
  font-size: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}


/* ============================================================
   RESPONSIVE — ABOUT PAGE
============================================================ */

@media screen and (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .story-image {
    order: -1;  /* Image above text on tablets */
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .page-hero {
    padding: calc(var(--navbar-height) + var(--space-xl)) 0 var(--space-xl);
  }

  .pull-quote {
    font-size: 1.1rem;
  }

  /*
    Identity grid: stack label above value on mobile.
    We switch the grid to a single column and let each
    .identity-item behave normally (not "contents") so
    label/value stack vertically instead of side by side.
  */
  .identity-grid {
    grid-template-columns: 1fr;
  }

  .identity-item {
    display: block;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
  }

  .identity-label,
  .identity-value {
    display: block;
    border-bottom: none;
    padding: 0.2rem 0;
  }

  .identity-card {
    padding: var(--space-lg);
  }
}

@media screen and (max-width: 480px) {
  .serve-card,
  .pillar-card {
    padding: var(--space-md);
  }

  .mv-card {
    padding: var(--space-lg);
  }
}
