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

/* CSS Variables */
:root {
  --about-primary: #1a365d;
  --about-accent: #3182ce;
  --about-text: #2d3748;
  --about-light-text: #718096;
  --about-border: #e2e8f0;
  --about-bg-light: #f7fafc;
  --about-gradient-1: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
  --about-gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 5rem 0;
  background: var(--about-gradient-1);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.stats-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.25);
}

.stat-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

/* ===== OUR STORY SECTION ===== */
.our-story-section {
  padding: 6rem 0;
  background: #ffffff;
}

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

.story-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.story-image-wrapper:hover .story-image {
  transform: scale(1.05);
}

.story-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--about-gradient-1);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.badge-text {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.story-content {
  padding: 2rem 0;
}

.section-subtitle {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(26, 54, 93, 0.08);
  color: var(--about-primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--about-text);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

.story-text {
  font-size: 1.1rem;
  color: var(--about-light-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--about-text);
  font-weight: 500;
}

.highlight-item i {
  color: var(--about-accent);
  font-size: 1.25rem;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
  padding: 6rem 0;
  background: var(--about-bg-light);
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-description {
  font-size: 1.15rem;
  color: var(--about-light-text);
  max-width: 600px;
  margin: 1rem auto 0;
}

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

.benefit-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--about-gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--about-accent);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--about-gradient-1);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--about-text);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.benefit-text {
  font-size: 1rem;
  color: var(--about-light-text);
  line-height: 1.7;
  margin: 0;
}

/* ===== OUR VALUES SECTION ===== */
.values-section {
  padding: 6rem 0;
  background: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
  border-radius: 20px;
  border: 2px solid var(--about-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(49, 130, 206, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--about-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
  transform: translate(30%, -30%) scale(1.2);
}

.value-number {
  font-size: 4rem;
  font-weight: 700;
  background: var(--about-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  opacity: 0.8;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--about-text);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.value-text {
  font-size: 1rem;
  color: var(--about-light-text);
  line-height: 1.7;
  margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 6rem 0;
  background: var(--about-gradient-1);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -200px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -250px;
  left: -150px;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

.cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .stats-section {
    padding: 4rem 0;
  }

  .our-story-section,
  .why-choose-section,
  .values-section,
  .cta-section {
    padding: 4rem 0;
  }

  .story-content {
    margin-top: 3rem;
    padding: 0;
  }

  .story-badge {
    bottom: 20px;
    right: 20px;
    padding: 1.25rem 1.5rem;
  }

  .badge-number {
    font-size: 2rem;
  }

  .benefits-grid,
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .story-text {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-large {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .stats-section {
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .our-story-section,
  .why-choose-section,
  .values-section,
  .cta-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

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

  .benefit-card,
  .value-card {
    padding: 2rem 1.5rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .benefit-card,
  .value-card,
  .story-image {
    transition: none;
    animation: none;
  }

  .stat-card:hover,
  .benefit-card:hover,
  .value-card:hover {
    transform: none;
  }
}
