/* ================================================
   ABOUT.CSS — About page specific styles
   Libero Law Firm
   ================================================ */

/* ---------- Page Hero ---------- */
.page-hero-bg {
  background:
    linear-gradient(180deg, rgba(20,30,48,0.72), rgba(20,30,48,0.88)),
    url('../img/silder1.avif')
    center / cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Press Background (also used on about) ---------- */
.press-bg {
  background:
    linear-gradient(rgba(120,90,50,0.6), rgba(120,90,50,0.78)),
    url('../img/justice.avif')
    center / cover no-repeat;
}

/* ---------- Story Section Accent Box ---------- */
.story-accent-box {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--gold);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.story-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(28,35,49,0.9);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
}

/* ---------- Values Cards ---------- */
.value-card {
  background: white;
  padding: 2rem;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  cursor: default;
  transition: all 0.35s ease;
}

.value-card:hover {
  background: var(--navy);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(28,35,49,0.25);
}

.value-card:hover h3 {
  color: white;
}

.value-card:hover p {
  color: rgba(255,255,255,0.8);
}

.val-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,151,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: all 0.35s ease;
}

.value-card:hover .val-icon {
  background: var(--gold);
  color: #161b26;
}

/* ---------- Team Cards ---------- */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border-radius: 2px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

.team-card .social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,35,49,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.team-card:hover .social-overlay {
  opacity: 1;
  transform: translateY(0);
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.social-icon-btn:hover {
  background: var(--gold);
  color: #161b26;
}

/* ---------- Skill Progress Bars ---------- */
.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-600));
  border-radius: 99px;
  transition: width 1.2s ease;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.skill-percent {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Story Stats Grid ---------- */
.stat-mini-card {
  background: var(--cream);
  padding: 1.25rem;
  border-radius: 2px;
  text-align: center;
}

.stat-mini-card .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-mini-card .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-gray);
  margin-top: 0.35rem;
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--cream);
  padding: 1.75rem;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.testimonial-card .quote-icon {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-card .testimonial-text {
  color: #4b5563;
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author .author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold);
}

.testimonial-author .author-role {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 0.1rem;
}
