/* ============================================
   ABOUT PAGE STYLES
   Modern layout with improved sections
   ============================================ */

.page-about {
  background: var(--bg-dark);
}

/* Hero Section */
.page-hero-about {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
}

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 2rem;
}

/* Force white text in about page hero */
.page-hero-about .hero-badge,
.page-hero-about .hero-badge .mono,
.page-hero-about .hero-title-large,
.page-hero-about .hero-subtitle,
.page-hero-about .hero-subtitle.mono {
  color: #ffffff !important;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 94, 184, 0.2);
  border: 1px solid rgba(0, 94, 184, 0.5);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title-large {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.1em;
}

/* Section Intro - Shared */
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--accent-blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
}

.section-title-large {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Company Story Section (dark) */
.company-story-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.story-content-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text {
  padding-right: 2rem;
}

.story-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.story-description p {
  margin-bottom: 1.5rem;
}

.story-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.image-frame-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--accent-blue);
  border-radius: 16px;
  opacity: 0.3;
  z-index: -1;
}

.story-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.story-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  min-width: 140px;
}

.story-stat-item .stat-icon {
  font-size: 2rem;
  color: var(--accent-blue);
}

.story-stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.story-stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mission & Vision Section (dark) */
.mission-vision-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-surface) 0%, var(--bg-dark) 100%);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.mv-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border-default);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--accent-blue);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-default);
}

.mv-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-blue);
  background: rgba(0, 94, 184, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
}

.mv-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mv-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border-radius: 12px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.mv-item:hover {
  border-left-color: var(--accent-blue);
  background: var(--accent-blue-dim);
  transform: translateX(5px);
}

.mv-item-number {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: var(--bg-card);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.mv-item-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

.vision-card {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
  color: white;
  border: none;
}

.vision-card .mv-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.vision-card .mv-number {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.vision-card .mv-title {
  color: white;
}

.vision-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-style: italic;
}

/* Expertise Enhanced Section (dark) */
.expertise-enhanced-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.expertise-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.expertise-card-enhanced {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-default);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.expertise-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-blue-dim), transparent);
  transition: left 0.6s ease;
}

.expertise-card-enhanced:hover::before {
  left: 100%;
}

.expertise-card-enhanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--accent-blue);
}

.expertise-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--accent-blue-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-blue);
  transition: all 0.4s ease;
}

.expertise-card-enhanced:hover .expertise-icon-wrapper {
  background: var(--accent-blue);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.expertise-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.expertise-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Stats Enhanced Section (dark) */
.stats-enhanced-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-surface) 0%, var(--bg-dark) 100%);
}

.stats-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card-enhanced {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-default);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 94, 184, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-card-enhanced:hover::before {
  left: 100%;
}

.stat-card-enhanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--accent-blue);
}

.stat-icon-wrapper {
  font-size: 2.5rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.stat-number-enhanced {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label-enhanced {
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-subtitle-enhanced {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.stat-card-enhanced.highlight {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
  color: white;
  border: none;
}

.stat-card-enhanced.highlight .stat-icon-wrapper,
.stat-card-enhanced.highlight .stat-number-enhanced,
.stat-card-enhanced.highlight .stat-label-enhanced,
.stat-card-enhanced.highlight .stat-subtitle-enhanced {
  color: white;
}

.stat-badge-enhanced {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Clients Enhanced Section (dark) */
.clients-enhanced-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.clients-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo-enhanced {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.client-logo-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 94, 184, 0.05), transparent);
  transition: left 0.6s ease;
}

.client-logo-enhanced:hover::before {
  left: 100%;
}

.client-logo-enhanced:hover {
  border-color: var(--accent-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 94, 184, 0.15);
}

.client-logo-enhanced img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo-enhanced:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .story-content-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-text {
    padding-right: 0;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-stats {
    flex-direction: column;
  }
  
  .mv-card {
    padding: 2rem;
  }
  
  .expertise-grid-enhanced {
    grid-template-columns: 1fr;
  }
  
  .stats-grid-enhanced {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .clients-grid-enhanced {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
  }
  
  .client-logo-enhanced {
    height: 100px;
    padding: 1rem;
  }
}
