/* ===== About Page Styles ===== */

/* Stats Counter */
.about-stats {
  background: var(--dark);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.about-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(var(--primary-rgb), 0.12) 0%,
    transparent 60%
  );
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.about-stat-item {
  text-align: center;
  padding: 20px;
}
.about-stat-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.15);
  border-radius: 14px;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.about-stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.about-stat-item p {
  font-size: 0.88rem;
  color: #7a8599;
  margin: 0;
}

/* Value Cards */
.about-value-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 24px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.about-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.about-value-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.2rem;
  margin-bottom: 18px;
  transition: all 0.3s;
}
.about-value-card:hover .about-value-icon {
  transform: scale(1.1);
}
.about-value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.about-value-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}
.about-value-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}
.about-value-card:hover .about-value-accent {
  opacity: 1;
}

/* Advantages */
.about-advantages {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.about-advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 17px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.about-advantage-item:hover {
  border-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.06);
  transform: translateX(4px);
}
.about-advantage-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.about-advantage-item:hover .about-advantage-icon {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}
.about-advantage-item h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}
.about-advantage-item p {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Image Grid */
.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 420px;
}
.about-img-grid-item {
  border-radius: 16px;
  overflow: hidden;
}
.about-img-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img-grid-item:hover img {
  transform: scale(1.06);
}
.about-img-grid-tall {
  grid-row: 1 / 3;
}

/* Brand Slider */
.brand-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
.brand-slider-wrap::before,
.brand-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brand-slider-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}
.brand-slider-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, #fff 0%, transparent 100%);
}
.brand-slider {
  overflow: hidden;
}
.brand-slider-track {
  display: flex;
  animation: brandScroll 25s linear infinite;
  width: max-content;
}
.brand-slider-track:hover {
  animation-play-state: paused;
}
@keyframes brandScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}
.brand-slide {
  flex-shrink: 0;
  padding: 0 20px;
}
.brand-logo-card {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  cursor: pointer;
}
.brand-logo-card:hover {
  border-color: rgba(var(--primary-rgb), 0.15);
}
.brand-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}
.brand-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 991px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-img-grid {
    height: 300px;
  }
}
@media (max-width: 575px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-stat-item h3 {
    font-size: 1.6rem;
  }
  .about-img-grid {
    height: 250px;
  }
}
