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

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

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

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

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

.value-item {
  padding: 2rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--cta-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--cta-primary);
}

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

.timeline {
  position: relative;
  padding: 1.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cta-primary);
  transform: translateX(-50%);
}

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

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

.timeline-content {
  flex: 1;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 0 2rem;
  max-height: 350px;
  aspect-ratio: 3/2;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: var(--transition);
  cursor: pointer;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.timeline-overlay {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.left-overlay {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.8) 70%,
    rgba(255, 255, 255, 0.4) 85%,
    transparent 100%
  );
  text-align: left;
  color: var(--text-color);
  justify-content: flex-start;
  padding-top: 3rem;
  padding-right: 50%;
}

.right-overlay {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.8) 70%,
    rgba(255, 255, 255, 0.4) 85%,
    transparent 100%
  );
  text-align: right;
  color: var(--text-color);
  justify-content: flex-start;
  padding-top: 3rem;
  padding-left: 50%;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--cta-primary);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--cta-primary);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -2.5rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -2.5rem;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cta-primary);
  margin-bottom: 0.8rem;
}

.timeline-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

.timeline-overlay p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 100%;
}

.timeline-overlay p strong {
  font-weight: 600;
  color: var(--primary-color);
}

.right-overlay p {
  margin-left: 0;
}

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

.credential-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.credential-item:hover {
  border-color: var(--cta-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.credential-logo {
  flex-shrink: 0;
}

.mppa-logo {
  width: 120px;
  height: auto;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
  padding: 0.5rem;
}

.ppa-logo {
  width: 160px;
  height: auto;
  border-radius: 8px;
  padding: 0.5rem;
}

.credential-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.credential-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-button {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition);
}

.close-button:hover {
  color: var(--cta-primary);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero .about-hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .timeline::before {
    left: 2rem;
  }

  .timeline-item {
    flex-direction: column !important;
  }

  .timeline-content {
    margin-left: 4rem;
    margin-right: 0;
    min-height: 140px;
  }

  .timeline-overlay p {
    max-width: 100%;
  }

  .left-overlay {
    padding-right: 45%;
  }

  .right-overlay {
    padding-left: 45%;
  }

  .timeline-item .timeline-content::before {
    left: -2.5rem !important;
  }

  .timeline-overlay {
    padding: 1.5rem;
  }

  .credentials-container {
    grid-template-columns: 1fr;
  }

  .credential-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .mppa-logo {
    width: 100px;
  }

  .ppa-logo {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .timeline-content {
    min-height: 110px;
  }

  .timeline-overlay {
    padding: 1.5rem;
  }

  .timeline-year {
    font-size: 1.5rem;
  }

  .timeline-title {
    font-size: 1.3rem;
  }

  .timeline-overlay p {
    font-size: 1rem;
    max-width: 100%;
  }

  .left-overlay {
    padding-right: 35%;
  }

  .right-overlay {
    padding-left: 35%;
  }

  .modal-content {
    padding: 10px;
  }

  .close-button {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}
