/* =========================================
   ABOUT US - CIRCULAR TRIAD MODERN EDITION
   Matches exact reference design mockup
========================================= */

.card-content {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../img/about-bg.png') no-repeat center center;
  background-size: cover;
  padding: 40px 60px;
  box-sizing: border-box;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.about-container-precise {
  width: 100%;
  max-width: 1320px;
  height: 94%;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
  box-sizing: border-box;
}

/* --- GHOST BACKGROUND TEXT (HIDDEN FOR CLEAN AESTHETIC) --- */
.about-ghost-bg {
  display: none;
}

/* --- LAYOUT WRAPPER --- */
.about-layout-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 60px;
  align-items: center;
  flex: 1;
}

/* --- LEFT SIDE: HEADING & WRITE-UP --- */
.about-heading-side {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.badge-line {
  width: 28px;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}

.badge-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3.5px;
  color: #2563eb;
  font-weight: 700;
  text-transform: uppercase;
}

.main-headline-about {
  margin: 0 0 25px 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

.outline-text-2 {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  color: transparent;
  -webkit-text-stroke: 1.5px #0a192f;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.solid-text-2 {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  color: #0a192f;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.firm-description {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  max-width: 480px;
  text-align: left;
  margin: 0 0 28px 0;
  font-weight: 400;
}

.about-accent-bar {
  width: 125px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8 0%, #06b6d4 100%);
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.45);
}

/* --- RIGHT SIDE: TRIAD CIRCULAR PILLARS & ORBITS --- */
.about-grid-side {
  position: relative;
  width: 580px;
  height: 494px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.triad-orbits {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.about-pillar {
  position: absolute;
  width: 228px;
  height: 228px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
  z-index: 2;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* Specific Positions in Triad (Matching 697x593 Reference Centers) */
.pillar-strategy {
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.12), 0 0 30px rgba(59, 130, 246, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.95);
}
.pillar-strategy:hover {
  transform: translateX(-50%) translateY(-6px) scale(1.03);
  box-shadow: 0 26px 55px rgba(37, 99, 235, 0.22), 0 0 40px rgba(59, 130, 246, 0.25);
}

.pillar-execution {
  bottom: 22px;
  left: 34px;
  box-shadow: 0 20px 45px rgba(13, 148, 136, 0.12), 0 0 30px rgba(20, 184, 166, 0.14), inset 0 2px 4px rgba(255, 255, 255, 0.95);
}
.pillar-execution:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 26px 55px rgba(13, 148, 136, 0.22), 0 0 40px rgba(20, 184, 166, 0.25);
}

.pillar-growth {
  bottom: 22px;
  right: 34px;
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.12), 0 0 30px rgba(168, 85, 247, 0.14), inset 0 2px 4px rgba(255, 255, 255, 0.95);
}
.pillar-growth:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 26px 55px rgba(124, 58, 237, 0.22), 0 0 40px rgba(168, 85, 247, 0.25);
}

/* Pillar Icons */
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.about-pillar:hover .pillar-icon {
  transform: scale(1.08);
}

.pillar-strategy .pillar-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.pillar-execution .pillar-icon {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  color: #0d9488;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.pillar-growth .pillar-icon {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

/* Pillar Title */
.pillar-title {
  font-family: 'Michroma', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 6px 0;
}

/* Pillar Divider */
.pillar-divider {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 7px;
}
.pillar-strategy .pillar-divider { background: #2563eb; }
.pillar-execution .pillar-divider { background: #0d9488; }
.pillar-growth .pillar-divider { background: #7c3aed; }

/* Pillar Description */
.pillar-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #475569;
  margin: 0;
  max-width: 170px;
}

/* --- FOOTER STATS BAR --- */
.about-footer-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 25px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  width: 100%;
  z-index: 2;
}

.stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(148, 163, 184, 0.35);
}

.stat-val {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.val-blue { color: #1d4ed8; }
.val-purple { color: #6366f1; }
.val-teal { color: #00a870; }

.stat-lab {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #64748b;
  font-weight: 600;
}

/* --- ACTIVE STATE --- */
.expanding-card.expanded .card-content {
  opacity: 1;
  pointer-events: all;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Desktop / Tablet scaling */
@media (max-width: 1200px) {
  .about-layout-wrapper {
    gap: 40px;
  }
  .about-grid-side {
    transform: scale(0.9);
    transform-origin: center right;
  }
}

/* Tablets (portrait & smaller landscape) */
@media (max-width: 992px) {
  .card-content {
    padding: 30px 24px;
    overflow-y: auto;
    align-items: flex-start;
  }
  .about-container-precise {
    height: auto;
    min-height: 100%;
    gap: 32px;
  }
  .about-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .about-heading-side {
    align-items: center;
    text-align: center;
  }
  .firm-description {
    text-align: center;
    max-width: 90%;
  }
  .about-accent-bar {
    margin: 0 auto;
  }
  .about-grid-side {
    transform: scale(0.92);
    transform-origin: center center;
    margin: 0 auto;
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  .card-content {
    padding: 24px 16px;
  }
  .about-container-precise {
    gap: 24px;
  }
  .outline-text-2,
  .solid-text-2 {
    font-size: 1.8rem !important;
  }
  .firm-description {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .about-grid-side {
    width: 320px;
    height: 310px;
    transform: none;
  }
  .triad-orbits {
    display: none;
  }
  .about-pillar {
    width: 145px;
    height: 145px;
    padding: 10px;
  }
  .pillar-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .pillar-title {
    font-size: 0.68rem;
    letter-spacing: 1px;
    margin-bottom: 3px;
  }
  .pillar-divider {
    width: 14px;
    height: 1.5px;
    margin-bottom: 4px;
  }
  .pillar-desc {
    font-size: 0.58rem;
    line-height: 1.25;
    max-width: 130px;
  }
  .pillar-strategy {
    top: 0;
    left: 50%;
  }
  .pillar-execution {
    bottom: 0;
    left: 5px;
  }
  .pillar-growth {
    bottom: 0;
    right: 5px;
  }
  .about-footer-stats {
    padding-top: 16px;
  }
  .stat-val {
    font-size: 1.6rem;
  }
  .stat-lab {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
  .stat-divider {
    height: 28px;
  }
}
