/* =====================================================
   ABOUT PAGE — ADDITIONAL STYLES
   Extends style.css (load both)
===================================================== */

/* ---- ACTIVE NAV ---- */
.active-nav {
  color: var(--blue) !important;
}

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-label.centered,
.centered { text-align: center; display: block; }
h2.centered { text-align: center; }
p.centered  { text-align: center; }

/* =====================================================
   HERO
===================================================== */
.about-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-light);
}

.about-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.25;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.75) 50%,
    rgba(255,255,255,0.3) 100%
  );
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 8% 80px;
  max-width: 700px;
  animation: heroFadeIn 0.8s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.about-hero-inner h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 62px;
  line-height: 1.1;
  margin: 16px 0 20px;
  letter-spacing: -1px;
  color: var(--text-dark);
}

.about-hero-inner h1 em {
  font-style: italic;
  color: var(--orange);
}

.about-hero-inner p {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.75;
}

/* =====================================================
   STORY SECTION
===================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.story-text .section-label { margin-bottom: 8px; }

.story-text h2 { margin-bottom: 20px; }

.story-text p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.motto-quote {
  border-left: 3px solid var(--orange);
  padding: 14px 20px;
  background: rgba(230,81,0,0.06);
  border-radius: 0 12px 12px 0;
  font-size: 17px !important;
  color: var(--text-dark) !important;
  font-style: italic;
  margin-top: 28px !important;
}

.motto-quote span {
  color: var(--orange);
  font-size: 22px;
  font-style: normal;
}

.motto-quote small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-mid);
}

/* Stats */
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.stat-card {
  background: var(--white);
  border: 2px solid rgba(21,101,192,0.2);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: var(--blue-light);
  border-color: var(--blue);
}

.stat-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* =====================================================
   WHAT WE DO
===================================================== */
.what-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.what-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.what-text .section-label { margin-bottom: 8px; }
.what-text h2 { margin-bottom: 16px; }
.what-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.what-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.what-list li {
  padding: 11px 16px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dark);
  transition: background 0.2s, border-color 0.2s;
}

.what-list li:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

/* =====================================================
   VALUES
===================================================== */
.about-values h2 { margin-bottom: 36px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,110,245,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 19px;
  margin: 0 0 10px;
}

.value-card p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* =====================================================
   VISION / MISSION / WHO WE HELP
===================================================== */
.vmw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.vmw-card {
  border-radius: 22px;
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.25s;
}

.vmw-card:hover { transform: translateY(-4px); }

.vmw-card.vision  { background: rgba(21,101,192,0.08); border-color: rgba(21,101,192,0.2); }
.vmw-card.mission { background: rgba(46,125,50,0.08); border-color: rgba(56,189,155,0.2); }
.vmw-card.whowehelp { background: rgba(245,158,66,0.07); border-color: rgba(245,158,66,0.2); }

.vmw-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.vmw-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  margin: 0 0 12px;
}

.vmw-card p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 12px;
}

.who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.who-list li {
  padding: 8px 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
}

.who-list li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

/* =====================================================
   TEAM
===================================================== */
.about-team {
  padding-bottom: 90px;
}

.about-team h2 {
  margin-bottom: 10px;
}

.about-team .muted {
  max-width: 520px;
  margin: 0 auto 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make founder card span full width */
.team-card.founder {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
}

.team-card {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(21,101,192,0.25);
  box-shadow: 0 18px 48px rgba(0,0,0,0.35);
}

.team-photo {
  position: relative;
  overflow: hidden;
}

/* Founder photo */
.founder .team-photo {
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
}

/* Regular team photos */
.team-card:not(.founder) .team-photo {
  height: 240px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.15));
}

.team-info {
  padding: 22px 22px 24px;
}

.founder .team-info {
  padding: 8px 0;
}

.team-info h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  margin: 0 0 4px;
}

.team-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.team-info p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

/* =====================================================
   CTA / CONTACT
===================================================== */
.about-cta {
  background: var(--blue-light);
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(21,101,192,0.08), transparent);
  pointer-events: none;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.cta-inner h2 {
  margin-bottom: 12px;
  font-size: 42px;
}

.about-form {
  max-width: 100%;
  margin: 36px 0 0;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.about-form input,
.about-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.06);
  color: var(--text-dark);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  display: block;
  margin-bottom: 0;
}

.about-form input:focus,
.about-form textarea:focus {
  border-color: rgba(124, 110, 245, 0.6);
  background: rgba(124, 110, 245, 0.06);
}

.about-form textarea {
  height: 140px;
  resize: vertical;
  margin-bottom: 12px;
}

.about-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.about-form button[type="submit"]:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.about-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .about-hero-inner h1 { font-size: 44px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-stats { position: static; }
  .what-inner { grid-template-columns: 1fr; }
  .what-image img { max-height: 300px; }
  .team-card.founder {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .founder .team-photo { height: 280px; border-radius: 0; }
  .founder .team-info { padding: 22px; }
}

@media (max-width: 600px) {
  .about-hero-inner { padding: 80px 6% 60px; }
  .about-hero-inner h1 { font-size: 36px; }
  .cta-inner h2 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .vmw-grid { grid-template-columns: 1fr; }
}

/* ===== COLOUR THEME OVERRIDES ===== */
.about-hero { background: linear-gradient(135deg, var(--blue-light) 0%, #fff 50%, var(--yellow-light) 100%) !important; }
.about-hero h1 { color: var(--text-dark) !important; }
.about-hero h1 em { color: var(--orange) !important; }
.about-hero-badge { background: var(--yellow) !important; color: var(--text-dark) !important; border: none !important; }
.story-section { background: var(--orange-light) !important; }
.what-we-do { background: var(--yellow-light) !important; }
.values-section { background: var(--green-light) !important; }
.vision-section { background: var(--blue-light) !important; }
.team-section { background: var(--red-light) !important; }
.about-cta { background: var(--blue-light) !important; }
.stat-card { background: var(--white) !important; border-color: var(--blue) !important; }
.stat-num { color: var(--orange) !important; }
.value-card { background: var(--white) !important; border: 2px solid var(--green) !important; }
.value-card:nth-child(2) { border-color: var(--blue) !important; }
.value-card:nth-child(3) { border-color: var(--orange) !important; }
.value-card:nth-child(4) { border-color: var(--red) !important; }
.team-card { background: var(--white) !important; border: 2px solid var(--blue) !important; }
.team-card.founder { border: 3px solid var(--yellow) !important; background: var(--yellow-light) !important; }
.about-form input, .about-form textarea { background: var(--white) !important; color: var(--text-dark) !important; border: 2px solid rgba(0,0,0,0.12) !important; }
.about-form input::placeholder, .about-form textarea::placeholder { color: var(--text-muted) !important; }
.about-form input:focus, .about-form textarea:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(21,101,192,0.12) !important; }
.about-form button[type="submit"] { background: var(--orange) !important; box-shadow: 0 6px 18px rgba(230,81,0,0.25) !important; }
.about-form button[type="submit"]:hover { background: #BF360C !important; }
.section-label { color: var(--orange) !important; }
.active-nav { color: var(--blue) !important; }
.about-motto { border-color: var(--orange) !important; }
.checklist-item::before { color: var(--green) !important; }
