/* About Page Styles */

.about-page {
  padding-top: 80px;
}

.about-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

.about-content-section {
  padding: 80px 0;
}

.about-content-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: var(--shadow-sm);
}

.about-content-card h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-content-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-content-card p:last-child {
  margin-bottom: 0;
}

.mission-vision-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.mission-vision-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fixed hover effect with proper border color transition */
.mission-vision-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  transform: translateY(-6px);
}

.mission-vision-card h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mission-vision-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.offerings-section {
  padding: 80px 0;
}

.section-title-center {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

/* Improved grid layout with better responsive breakpoints */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.offering-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* Enhanced hover effect with border color change */
.offering-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  transform: translateY(-6px);
}

/* Improved icon styling with better sizing and colors */
.offering-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.25);
  flex-shrink: 0;
}

.offering-icon iconify-icon {
  font-size: 2rem;
  color: white;
  --iconify-stroke-width: 1.5;
}

.offering-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.offering-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
}

.values-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

/* Improved values grid with better spacing */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  text-align: center;
  opacity: 0;
  transform: translateX(-60px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fixed hover effect to work properly with animations */
.value-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  transform: translateY(-6px) translateX(0) !important;
}

/* Improved value icon styling */
.value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.25);
  flex-shrink: 0;
}

.value-icon iconify-icon {
  font-size: 2.25rem;
  color: white;
  --iconify-stroke-width: 1.5;
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.value-card.animate-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.value-card.animate-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.timeline-section {
  padding: 80px 0;
}

.timeline-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.timeline-content h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  align-items: flex-start;
}

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

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 80px;
}

.timeline-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}

.why-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

/* Improved why-grid layout */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

/* Enhanced hover effect */
.why-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
  transform: translateY(-6px);
}

.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.why-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.cta-section {
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 40px;
  box-shadow: var(--shadow-sm);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-page {
    padding-top: 70px;
  }

  .about-hero {
    padding: 60px 0 40px;
  }

  .about-hero-title {
    font-size: 2.25rem;
  }

  .about-hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title-center,
  .cta-content h2 {
    font-size: 2rem;
  }

  .about-content-card,
  .timeline-content,
  .mission-vision-card {
    padding: 40px 28px;
  }

  .about-content-card h2,
  .timeline-content h2,
  .mission-vision-card h2 {
    font-size: 1.75rem;
  }

  /* Better mobile grid layout */
  .mission-vision-grid,
  .offerings-grid,
  .values-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 12px;
  }

  .timeline-year {
    min-width: auto;
  }

  .cta-content {
    padding: 48px 28px;
  }

  .cta-content p {
    font-size: 1.05rem;
  }

  /* Adjusted icon sizes for mobile */
  .offering-icon,
  .value-icon {
    width: 56px;
    height: 56px;
  }

  .offering-icon iconify-icon,
  .value-icon iconify-icon {
    font-size: 1.75rem;
  }
}
