/* =============================================
   About Us — Section 2: Positioning & Philosophy
============================================= */

/* The parent is 150dvh tall to allow 50dvh of extra scrolling while children stick */
.about-section-two {
  position: relative;
  width: 100%;
  height: 150dvh;
  z-index: 10;
  background-color: #0b141d;
  margin-top: 800px;
}

.about-section-two::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 800px;
  background: linear-gradient(to bottom, transparent, #0b141d);
  z-index: 3;
  pointer-events: none;
}

.about-section-two-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.about-section-two-sticky::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  background: linear-gradient(to bottom, #0b141d 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Background fills the sticky wrapper */
.about-section-two .about-section-bg {
  /* Inherits position: absolute; inset: 0; from shared css */
}

/* Content sits inside the sticky wrapper, pushed to the bottom */
.about-section-two .about-section-content {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 3vw 8vh 3vw;
}

/* ── Glass Panel ── */
.about-glass-panel {
  background: var(--glass-bg, rgba(10, 15, 20, 0.4));
  backdrop-filter: blur(var(--glass-blur, 20px));
  -webkit-backdrop-filter: blur(var(--glass-blur, 20px));
  border-radius: var(--glass-radius, 24px);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  border-top: 1px solid var(--glass-border-top, rgba(255, 255, 255, 0.1));
  border-left: 1px solid var(--glass-border-left, rgba(255, 255, 255, 0.1));
  box-shadow: var(--glass-shadow);
  padding: 4rem;
  width: 100%;
}

.about-panel-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-panel-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-panel-text h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: white;
}

.about-panel-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .about-glass-panel {
    padding: 2rem;
  }
  .about-panel-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── About Page Cards ── */
.about-op-card {
  cursor: pointer;
  margin-bottom: 1rem;
  height: auto;
}

.about-op-card.active-card, .about-op-card.collapsed-card {
  height: auto;
}

.about-op-card .card-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.about-op-card .card-header-row,
.about-op-card.active-card .card-header-row {
  margin-bottom: 0;
}

.about-op-card .card-header-row h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  transition: color 0.4s ease;
}

.about-op-card.active-card .card-header-row h4 {
  color: white;
  font-weight: 700;
}

.about-op-card .card-header-row svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s ease;
}

.about-op-card.active-card .card-header-row svg {
  color: white;
}

.about-op-card .card-desc {
  display: block !important;
  max-height: 120px;
  opacity: 1;
  overflow: hidden;
  margin-top: 1rem;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-op-card.collapsed-card .card-desc {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.about-op-card .card-content,
.about-op-card.collapsed-card .card-content {
  padding: 1.5rem;
}
