/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* ── Company Story ── */
.company-story {
  background: var(--concrete);
  padding: var(--space-4xl) 0;
}

.company-story__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.company-story__image {
  position: relative;
}

.company-story__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Accent bar */
.company-story__image::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--red));
  border-radius: var(--radius-full);
}

.company-story__text h2 {
  margin-bottom: var(--space-lg);
}

.company-story__text p {
  color: var(--steel);
  margin-bottom: var(--space-md);
}

.company-story__text p strong {
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .company-story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .company-story__image img {
    height: 300px;
  }
}

/* ── Founder Timeline ── */
.founder-timeline {
  background: var(--navy);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.founder-timeline__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.founder-timeline__header h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.founder-timeline__header p {
  color: var(--steel-muted);
  max-width: 700px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

/* Center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(217, 164, 65, 0.3);
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: var(--space-lg);
}

.timeline__item:nth-child(odd) {
  left: 0;
  padding-right: var(--space-3xl);
  text-align: right;
}

.timeline__item:nth-child(even) {
  left: 50%;
  padding-left: var(--space-3xl);
}

/* Dot on the line */
.timeline__item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--amber);
  border: 3px solid var(--navy);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.timeline__item:nth-child(odd)::before {
  right: -7px;
}

.timeline__item:nth-child(even)::before {
  left: -7px;
}

.timeline__company {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--amber);
  margin-bottom: var(--space-xs);
}

.timeline__role {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--steel-muted);
  margin-bottom: var(--space-sm);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--steel-muted);
  margin-bottom: 0;
}

/* Final item — Ansari Group (highlighted) */
.timeline__item--current .timeline__company {
  color: var(--white);
  font-size: var(--text-3xl);
}

.timeline__item--current::before {
  background: var(--red);
  width: 18px;
  height: 18px;
  box-shadow: 0 0 12px rgba(198, 40, 40, 0.5);
}

.timeline__item--current:nth-child(odd)::before {
  right: -9px;
}

.timeline__item--current:nth-child(even)::before {
  left: -9px;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline__item,
  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 52px;
    padding-right: 0;
    text-align: left;
  }
  .timeline__item::before,
  .timeline__item:nth-child(odd)::before,
  .timeline__item:nth-child(even)::before {
    left: 14px;
    right: auto;
  }
}

/* ── Values ── */
.values {
  background: var(--pure-white);
  padding: var(--space-4xl) 0;
}

.values__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--concrete);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
}

.value-card h4 {
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--steel-light);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .values__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ── Physical Presence & Infrastructure ── */
.presence-section {
  background: var(--concrete);
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--concrete-dark);
}

.presence-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.presence-image {
  position: relative;
}

.presence-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--concrete-dark);
}

.presence-img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-normal) var(--ease-out);
}

.presence-img-wrapper:hover img {
  transform: scale(1.03);
}

.presence-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--amber);
  color: var(--charcoal);
  padding: 6px var(--space-md);
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.presence-text h2 {
  margin-bottom: var(--space-lg);
}

.presence-text p {
  color: var(--steel);
  margin-bottom: var(--space-md);
  line-height: var(--leading-relaxed);
}

@media (max-width: 992px) {
  .presence-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .presence-img-wrapper img {
    height: 350px;
  }
}

