/* ==============================================
   CROWN GEM — ABOUT US CSS
   Matches UI Design: About Us.png
   ============================================== */

/* Dedicated About Container (Prevents header conflicts) */
.about-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* Base Section Spacing */
.about-section {
  padding: 50px 0;
  background: #ffffff;
}

/* ===== HERO SECTION ===== */
.about-hero {
  position: relative;
  background-image: 
    linear-gradient(
      90deg, 
      rgba(255, 255, 255, 0.65) 0%, 
      rgba(255, 255, 255, 0.45) 30%, 
      rgba(255, 255, 255, 0.15) 55%, 
      rgba(255, 255, 255, 0.0) 80%
    ),
    url('../img/about/5.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  /* min-height: 520px; */
  display: flex;
  align-items: flex-start;
  padding: 80px 0 130px;
}

.about-hero-content {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.about-hero-content .eyebrow {
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.about-hero-content h1 {
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 500;
  line-height: 1.08;
  color: #8C6430;
  margin: 0;
}

/* .about-hero-content h1 span {
  display: block;
} */

/* ===== STATS COUNTER BAR (4 Separate Overlapping Floating Cards) ===== */
.about-stats-section {
  position: relative;
  margin-top: 40px;
  z-index: 10;
  padding-bottom: 30px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-card {
  background: #FAF8F5;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 36px 20px;
  text-align: center;
  border: 1px solid rgba(228, 220, 206, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}

.about-stat-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.about-stat-label {
  font-family: var(--sans);
  font-size: 13px;
  color: #555555;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ===== 2x2 STORY / MISSION / VISION / VALUES GRID ===== */
.story-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-matrix-card {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  background: #FAF8F5;
}

.story-matrix-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.story-matrix-card:hover .story-matrix-card-bg {
  transform: scale(1.04);
}

/* Light gradient overlay on the left to make dark text highly readable */
.story-matrix-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 246, 242, 0.94) 0%, rgba(248, 246, 242, 0.82) 45%, rgba(248, 246, 242, 0.1) 85%);
  z-index: 1;
}

.story-matrix-content {
  position: relative;
  z-index: 2;
  max-width: 360px;
}

.story-matrix-content h3 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: #1A1A1A;
  margin-bottom: 12px;
  line-height: 1.15;
}

.story-matrix-content p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.68;
  color: #333333;
}

/* Special styling for Card 1 (Story intro text) */
.story-card-intro::before {
  background: linear-gradient(90deg, rgba(248, 246, 242, 0.94) 0%, rgba(248, 246, 242, 0.80) 50%, rgba(248, 246, 242, 0.15) 85%);
}

.story-card-intro .story-matrix-content p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #222222;
}

/* ===== OUR TEAM SECTION ===== */
.team-nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 18px;
}

.team-nav-btn:hover {
  background: var(--gold);
  color: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background: #EAE6DF;
  margin-bottom: 16px;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-card:hover .team-photo {
  transform: scale(1.03);
}

.team-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.team-name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
}

.team-li-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #D8C3A5;
  border-radius: 3px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all var(--transition);
  text-decoration: none;
}

.team-li-icon:hover {
  background: var(--gold);
  color: #ffffff;
}

.team-role {
  font-size: 12.5px;
  color: #666666;
  margin-bottom: 8px;
}

.team-bio {
  font-size: 12px;
  color: #777777;
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .about-container { padding: 0 24px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .story-matrix-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team-photo-wrap { height: 320px; }
}

@media (max-width: 640px) {
  .about-container { padding: 0 16px; }
  .about-hero { min-height: 380px; padding: 50px 0 90px; }
  .about-hero-content h1 { font-size: 46px; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .about-stats-section { margin-top: -40px; }
  .story-matrix-card { padding: 32px 24px; }
  .story-matrix-content h3 { font-size: 30px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-photo-wrap { height: 340px; }
}