/* ============================================
   Qolivera — About Page Styles
   ============================================ */

/* ---- PAGE HERO override ---- */
.page-hero .sp-tag-pill {
  background: rgba(232,118,26,0.15);
  border-color: rgba(232,118,26,0.4);
}

/* ---- COMPANY STORY ---- */
.ab-story { background: var(--white); }

.ab-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ab-story-text .sp-tag-pill {
  margin-bottom: 20px;
  display: inline-block;
}
.ab-story-text h2 {
  margin-bottom: 16px;
  line-height: 1.25;
}
.ab-story-text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 2;
}

/* Features list */
.ab-story-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}
.ab-sf {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}
.ab-sf:last-child { border-bottom: none; }
.ab-sf:hover { background: var(--off-white); }
.ab-sf-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,118,26,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.ab-sf strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.ab-sf span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* btn-hero-light for about page */
.btn-hero-light .bh-text {
  background: var(--navy);
  color: var(--white);
}
.btn-hero-light:hover .bh-text {
  background: #142d52;
}

/* Image column */
.ab-story-img {
  position: relative;
}
.ab-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 7/8;
  box-shadow: 0 24px 64px rgba(11,31,58,0.12);
}
.ab-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ab-img-main:hover img { transform: scale(1.03); }

/* Floating stat card */
.ab-float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 40px rgba(11,31,58,0.2);
  border-top: 3px solid var(--orange);
}
.ab-float-num {
  font-family: 'Cairo', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.ab-float-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .ab-story-grid { grid-template-columns: 1fr; gap: 56px; }
  .ab-img-main { aspect-ratio: 16/9; }
  .ab-float-card { bottom: -16px; right: 16px; }
}

/* ---- STATS STRIP ---- */
.ab-stats {
  background: var(--navy);
  border-top: 3px solid var(--orange);
}
.ab-stats-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: stretch;
}
.ab-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 24px;
  gap: 6px;
  transition: background 0.3s ease;
}
.ab-stat:hover { background: rgba(255,255,255,0.03); }

.ab-stat-num {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.ab-stat-num--text {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 4px;
  color: var(--orange);
}
.ab-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.ab-stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.08);
  margin-block: 28px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ab-stats-inner { flex-wrap: wrap; }
  .ab-stat { flex: 0 0 50%; padding: 32px 16px; }
  .ab-stat-sep { display: none; }
}
@media (max-width: 400px) {
  .ab-stat { flex: 0 0 100%; }
}

/* ---- MISSION & VISION ---- */
.ab-mv { background: var(--white); }

.ab-mv-header {
  margin-bottom: 48px;
}
.ab-mv-header .sp-tag-pill {
  display: inline-block;
  margin-bottom: 16px;
}
.ab-mv-header h2 {
  margin-top: 8px;
}

.ab-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ab-mv-card {
  border-radius: var(--radius);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.ab-mv-card--mission {
  background: var(--navy);
  border-top: 3px solid var(--orange);
}
.ab-mv-card--vision {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
}

.ab-mv-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ab-mv-card--mission .ab-mv-icon {
  background: rgba(232,118,26,0.15);
  color: var(--orange);
}
.ab-mv-card--vision .ab-mv-icon {
  background: rgba(232,118,26,0.1);
  color: var(--orange);
}

.ab-mv-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.ab-mv-card--mission h3 { color: var(--white); }

.ab-mv-card p {
  font-size: 0.92rem;
  line-height: 1.95;
  margin: 0;
}
.ab-mv-card--mission p { color: rgba(255,255,255,0.7); }
.ab-mv-card--vision p { color: var(--gray); }

/* Decorative circle */
.ab-mv-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
}
.ab-mv-card--mission::after { background: rgba(232,118,26,0.06); }
.ab-mv-card--vision::after { background: rgba(232,118,26,0.05); }

@media (max-width: 768px) {
  .ab-mv-grid { grid-template-columns: 1fr; }
  .ab-mv-card { padding: 36px 28px; }
}

/* ---- LICENSED ACTIVITIES ---- */
.ab-activities { background: var(--off-white); }

.ab-act-header {
  margin-bottom: 48px;
}
.ab-act-header .sp-tag-pill {
  display: inline-block;
  margin-bottom: 16px;
}
.ab-act-header h2 { margin-top: 8px; margin-bottom: 14px; }
.ab-act-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 560px;
}

.ab-act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ab-act-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.ab-act-card:hover {
  border-color: rgba(232,118,26,0.35);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

/* Ghost code number */
.ab-act-card::before {
  content: attr(data-code);
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(232,118,26,0.1);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease;
}
.ab-act-card:hover::before { color: rgba(232,118,26,0.18); }

/* Orange top stripe on hover */
.ab-act-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.ab-act-card:hover::after { transform: scaleX(1); }

.ab-act-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(232,118,26,0.1);
  color: var(--orange);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease;
}
.ab-act-card:hover .ab-act-icon {
  background: var(--orange);
  color: var(--white);
}
.ab-act-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.ab-act-en {
  font-size: 0.78rem;
  color: var(--gray);
  direction: ltr;
  display: block;
  font-style: italic;
}

@media (max-width: 992px) {
  .ab-act-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .ab-act-grid { grid-template-columns: 1fr; }
}

/* ---- CORE VALUES ---- */
.ab-values {
  background: var(--navy);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
/* Ghost watermark */
.ab-values::before {
  content: 'VALUES';
  position: absolute;
  font-family: var(--font-brand);
  font-size: 180px;
  font-weight: 700;
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.ab-values-header {
  margin-bottom: 48px;
}
.ab-values-header .sp-tag-pill {
  display: inline-block;
  margin-bottom: 16px;
  background: rgba(232,118,26,0.2);
  border-color: rgba(232,118,26,0.45);
}
.ab-values-header h2 {
  color: var(--white);
  margin-top: 8px;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ab-val {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.ab-val:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(232,118,26,0.4);
  transform: translateY(-3px);
}

.ab-val-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(232,118,26,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin: 0 auto 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ab-val:hover .ab-val-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(-6deg);
}

.ab-val h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}
.ab-val p {
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 992px) {
  .ab-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .ab-values-grid { grid-template-columns: 1fr; }
  .ab-val { padding: 28px 20px; }
}

/* ---- CTA SECTION ---- */
.ab-cta {
  background: var(--orange);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ab-cta::before {
  content: 'Q';
  position: absolute;
  font-family: var(--font-brand);
  font-size: 320px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

.ab-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
}

.ab-cta-topline {
  width: 40px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  margin: 0 auto 20px;
  opacity: 0.5;
}

.ab-cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.ab-cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 32px;
}

.ab-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* btn overrides on orange bg */
.ab-cta .btn-hero .bh-text {
  background: var(--navy);
  color: var(--white);
}
.ab-cta .btn-hero:hover .bh-text { background: #142d52; }
.ab-cta .btn-hero .bh-icon {
  background: var(--white);
  color: var(--orange);
}
.ab-cta .btn-hero:hover .bh-icon { background: #f0ede8; }

.ab-cta .btn-hero-ghost {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: none;
}
.ab-cta .btn-hero-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}

@media (max-width: 576px) {
  .ab-cta-btns { flex-direction: column; gap: 12px; }
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
