/* About Us Page Styles */

/* Page Hero Background (About-specific) */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f1a2e 100%);
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(232, 133, 12, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

/* Company Overview */
.about-overview {
  padding: 100px 0;
  background: var(--color-white);
}

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

.overview-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.overview-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.overview-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(232, 133, 12, 0.4);
}

.badge-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.9;
}

.overview-content .section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.overview-content .section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 24px;
}

.overview-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.overview-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* Timeline Section */
.about-timeline {
  padding: 100px 0;
  background: var(--color-bg);
}

.about-timeline .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border: 4px solid var(--color-white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(232, 133, 12, 0.2);
  z-index: 1;
}

.timeline-content {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.timeline-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* Core Values */
.about-values {
  padding: 100px 0;
  background: var(--color-white);
}

.about-values .section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.value-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), #2a3f5f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--color-white);
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* Why Choose Us */
.about-why {
  padding: 100px 0;
  background: var(--color-bg);
}

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

.why-content .section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.why-content .section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.why-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 28px;
}

.why-list {
  list-style: none;
  margin-bottom: 36px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--color-text);
}

.why-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.why-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.95), transparent);
}

.why-image-overlay span {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
}

/* CTA Section */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f1a2e 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
}

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

.cta-buttons .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Navbar solid state for subpage */
.navbar-solid {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Active nav link */
.nav-link.active {
  color: var(--color-accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .overview-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-overview,
  .about-timeline,
  .about-values,
  .about-why {
    padding: 60px 0;
  }

  .overview-content .section-title,
  .why-content .section-title {
    font-size: 28px;
  }

  .overview-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-item {
    flex: 1;
    min-width: 100px;
  }

  .stat-number {
    font-size: 32px;
  }

  /* Timeline mobile */
  .timeline-line {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 60px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 20px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 28px;
  }
}
