/* About Page Specific Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #8fbc8f, #7aa67a);

  padding: 60px 0 30px;
  text-align: center;

  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: white;
}

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

.about-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #8fbc8f;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.mission-points {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.mission-point {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mission-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.point-icon {
  font-size: 2rem;
  background: #8fbc8f;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mission-point h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.mission-point p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.about-image {
  text-align: center;
}

.about-image svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Statistics Section */
.statistics-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  color: white;
  text-align: center;
}

.statistics-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: white;
}

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

.stat-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #8fbc8f;
  margin-bottom: 1rem;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.team-description {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.team-member {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(143, 188, 143, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.team-member:hover::before {
  left: 100%;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-photo {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.member-photo svg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #8fbc8f;
  transition: all 0.3s ease;
}

.team-member:hover .member-photo svg {
  transform: scale(1.1);
}

.team-member h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.member-position {
  color: #8fbc8f;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.member-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.member-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.member-specialties span {
  background: #8fbc8f;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: white;
}

.values-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
}

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

.value-item {
  background: #f8f8f8;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-item:hover {
  transform: translateY(-10px);
  border-color: #8fbc8f;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.value-item h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-item p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* History Section */
.history-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
}

.history-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
}

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

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #8fbc8f;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: #8fbc8f;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  min-width: 80px;
  text-align: center;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: calc(50% - 60px);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-content h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid #8fbc8f;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: #8fbc8f;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(143, 188, 143, 0.3);
}

/* Active Navigation Link */
.nav-menu a.active {
  color: #8fbc8f;
  font-weight: bold;
}

/* Logo Link */
.logo-section a {
  text-decoration: none;
  color: inherit;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Animation classes */
.animate-up {
  animation: slideInUp 0.6s ease forwards;
}

.animate-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-right {
  animation: fadeInRight 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .mission-point {
    flex-direction: column;
    text-align: center;
  }

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

  .stat-item {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

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

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-year {
    left: 30px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: 100%;
    margin: 0 !important;
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .about-text h2,
  .statistics-section h2,
  .team-section h2,
  .values-section h2,
  .history-section h2,
  .cta-section h2 {
    font-size: 2rem;
  }

  .mission-point {
    padding: 1rem;
  }

  .point-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

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

  .team-member {
    padding: 2rem;
  }

  .value-item {
    padding: 2rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }
}

/* Print styles */
@media print {
  .page-header,
  .cta-section {
    background: none !important;
    color: #333 !important;
  }

  .team-member,
  .value-item,
  .timeline-content {
    box-shadow: none !important;
    border: 1px solid #ddd;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .about-text h2::after {
    background: #000;
  }

  .point-icon {
    background: #000;
    color: #fff;
  }

  .stat-number {
    color: #000;
  }

  .timeline::before {
    background: #000;
  }

  .timeline-year {
    background: #000;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mission-point,
  .stat-item,
  .team-member,
  .value-item {
    transition: none;
  }

  .mission-point:hover,
  .stat-item:hover,
  .team-member:hover,
  .value-item:hover {
    transform: none;
  }

  .page-header::before {
    animation: none;
  }
}
