/* ==========================================================================
   Home Pakistan Venture Studio - About Page Stylesheet (about.css)
   Bootstrap 5.3 Enhanced Modern Theme
   ========================================================================== */

:root {
  /* Brand Colors */
  --bg-darkest: #060813;
  --bg-dark: #090d20;
  --bg-card: #0e1122;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-slate: #0b0f24;
  --bg-white-section: #ffffff;
  
  /* Brand Purple Accents */
  --purple-primary: #5c4ecc;
  --purple-hover: #4e3fb8;
  --purple-accent: #8f85ff;
  --purple-light: #e0ddff;
  --purple-glow: rgba(92, 78, 204, 0.35);

  /* Text Colors */
  --text-white: #ffffff;
  --text-cream: #cbd5e1;
  --text-muted-custom: #94a3b8;
  --text-dark: #0f172a;
  --text-body-gray: #475569;

  /* Borders */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-subtle: #1e293b;
  --border-card-hover: rgba(143, 133, 255, 0.4);

  /* Fonts */
  --font-sora: 'Sora', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

/* Base Body Styles */
body {
  background-color: var(--bg-darkest);
  font-family: var(--font-inter);
  color: var(--text-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-sora);
  color: var(--text-white);
  letter-spacing: -0.5px;
}

/* Eyebrows */
.eyebrow-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--purple-accent);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--purple-accent);
  display: inline-block;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.about-hero-section {
  position: relative;
  padding-top: 170px;
  padding-bottom: 110px;
  background-color: var(--bg-darkest);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.about-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 19, 0.75);
  z-index: 1;
}

.about-hero-title {
  font-size: clamp(1.875rem, 1.4286rem + 2.2321vw, 3.4375rem);
  line-height: 1.15;
  letter-spacing: -1px;
}

.about-hero-lead {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(148, 163, 184, 1);
}

/* ==========================================================================
   2. Ecosystem Split Section (What Home Pakistan is / Mission & Vision)
   ========================================================================== */
.about-ecosystem-section {
  background-color: var(--bg-darkest);
  position: relative;
}

.ecosystem-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0b0f24;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  /* min-height: 420px;
  height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mission-vision-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--purple-primary);
  border-radius: 12px;
  padding: 20px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* .mission-vision-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 133, 255, 0.3);
} */

.mission-vision-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.mission-vision-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-cream);
  margin-bottom: 0;
}

/* ==========================================================================
   3. Journey Section (Screenshot 1 - White Background Section)
   ========================================================================== */
.about-journey-section {
  background-color: rgba(248, 249, 250, 1);
  color: var(--text-dark);
}

.about-journey-section h2,
.about-journey-section h3 {
  color: var(--text-dark);
}

/* =========================================
   LIGHT THEME JOURNEY FLOW STYLES
========================================= */

.journey-section {
  background-color: #f8fafc;
}

.journey-card.card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  z-index: 2;
}

/* Image Fit & Height */
.journey-card .journey-card-img {
  max-height: 180px;
  width: 100%;
}

/* Big Number Tone */
.journey-number {
  font-size: 2.2rem;
  color: #635bff;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* Icon Container */
.journey-icon-box {
  width: 38px;
  height: 38px;
  background-color: rgba(99, 91, 255, 0.08);
  color: #635bff;
  font-size: 1.1rem;
}

/* Text Formatting */
.journey-step-title {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #1f2937;
}

.journey-step-text {
  color: #6b7280 !important;
  line-height: 1.6;
  font-size: 0.85rem;
}
.journey-steps {
  color: #635bff;
  line-height: 1.6;
  font-size: 0.85rem;
}

/* =========================================
   JOURNEY ARROWS (cards ko connect karne wale)
========================================= */

/* Arrow ko card ke bahar rakhne ke liye column ko positioning context dein */
.journey-col {
  position: relative;
}

/* Default (mobile): card ke neeche beech mein, neeche ki taraf */
.journey-step-arrow {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: calc(100% + 8px);
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  /* background: #ffffff;
  border: 1px solid #635bff; */
  border-radius: 50%;
  color: black;
  font-size: 32px;
  /* box-shadow: 0 4px 10px rgba(99, 91, 255, 0.15); */
}

.journey-step-arrow i {
  display: block;
  line-height: 1;
  transform: rotate(90deg);
}

/* Desktop (4 cards): do cards ke beech gap mein, dayen taraf */
@media (min-width: 992px) {
  .journey-step-arrow {
    top: 50%;
    left: auto;
    right: -17px;
    transform: translateY(-50%);
  }

  .journey-step-arrow i {
    transform: none;
  }
}

/* ==========================================================================
   4. Core Values Section (Screenshot 2 - Dark Cards)
   ========================================================================== */
.about-values-section {
  background-color: #060813;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* =========================================
   VALUES ECOSYSTEM DIAGRAM (DARK MODE - NO HOVER)
========================================= */

.values-diagram-container {
  min-height: 620px;
  width: 100%;
}

/* Connecting Lines Style */
.values-diagram-container .connecting-lines {
  z-index: 1;
  pointer-events: none;
}

.values-diagram-container .connector-line {
  stroke: #8f85ff;
  stroke-width: 2px;
  stroke-dasharray: 6;
}

/* Center Circle Styling */
.values-diagram-container .center-circle-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.values-diagram-container .center-circle {
  width: 230px;
  height: 230px;
  background: #12151e;
  border: 2px solid #8f85ff;
  box-shadow: 0 0 25px rgba(143, 133, 255, 0.25);
}

.values-diagram-container .center-circle h2 {
  color: #ffffff !important;
}

/* Branch Cards Core Styling with Static Border */
.value-branch-card {
  background: #12151e;
  border: 1px solid #8f85ff;
  width: 260px;
  z-index: 2;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.value-branch-card h3 {
  color: #ffffff !important;
}

.value-branch-card p {
  color: #9ca3af !important;
}

.value-branch-card .branch-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(143, 133, 255, 0.15);
  font-size: 1.1rem;
}

.value-branch-card .text-purple {
  color: #8f85ff;
}

/* DESKTOP RADIAL POSITIONS (d-lg-block) */
@media (min-width: 992px) {
  .value-branch-card {
    position: absolute;
  }

  /* Branch 1: Top Center (Integrity) */
  .values-diagram-container .branch-1 {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Branch 2: Top Right (Contribution) */
  .values-diagram-container .branch-2 {
    top: 22%;
    right: 5%;
  }

  /* Branch 3: Bottom Right (Long Term Thinking) */
  .values-diagram-container .branch-3 {
    bottom: 5%;
    right: 12%;
  }

  /* Branch 4: Bottom Left (Learning) */
  .values-diagram-container .branch-4 {
    bottom: 5%;
    left: 12%;
  }

  /* Branch 5: Top Left (Respect) */
  .values-diagram-container .branch-5 {
    top: 22%;
    left: 5%;
  }
}

/* MOBILE & TABLET STACKED VIEW (< 992px) */
@media (max-width: 991.98px) {
  .values-diagram-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .values-diagram-container .center-circle-wrapper {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 1rem;
  }

  .values-diagram-container .center-circle {
    width: 210px;
    height: 210px;
  }

  .values-diagram-container .branches-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
  }

  /* Mobile Vertical Connector Line */
  .values-diagram-container .branches-wrapper::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    width: 2px;
    height: calc(100% + 1.5rem);
    background: #8f85ff;
    z-index: 1;
  }

  .value-branch-card {
    width: 100%;
    position: relative;
  }
}

/* ==========================================================================
   5. Team Section (Screenshot 2)
   ========================================================================== */
.about-team-section {
  background-color: #060813;
}

.team-member-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(92, 78, 204, 0.2);
}

.team-photo-container {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  position: relative;
  background-color: #0b0f24;
  overflow: hidden;
}

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

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

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0e1122 0%, #1a1e38 100%);
  color: var(--text-muted-custom);
  text-align: center;
  padding: 20px;
}

.team-member-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-member-name {
  font-family: var(--font-sora);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.team-member-role {
  font-family: var(--font-inter);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple-accent);
  margin-bottom: 12px;
}

.team-member-bio {
  font-family: var(--font-inter);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted-custom);
  margin-bottom: 16px;
  flex-grow: 1;
}

.team-member-link {
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  transition: all 0.2s ease;
}

.team-member-link:hover {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: #ffffff;
}

/* ==========================================================================
   6. CTA Banner Section (Screenshot 2 - Wave Mesh Backdrop)
   ========================================================================== */
.about-cta-section {
  position: relative;
  background-color: #060813;
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}

.about-cta-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(14, 17, 34, 0.75) 0%, rgba(6, 8, 19, 0.95) 100%);
  z-index: 1;
}

.btn-solid-purple {
  background-color: var(--purple-primary);
  border: 1px solid var(--purple-primary);
  color: #ffffff;
  font-family: var(--font-sora);
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 16px var(--purple-glow);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-solid-purple:hover {
  background-color: var(--purple-hover);
  border-color: var(--purple-hover);
  color: #ffffff;
  /* transform: translateY(-2px); */
  /* box-shadow: 0 8px 24px rgba(92, 78, 204, 0.5); */
}

.btn-ghost-white {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-family: var(--font-sora);
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost-white:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  /* transform: translateY(-2px); */
}

