.about-section {
  background: #fff;
  padding: 0;
  border-radius: 1rem;
  box-shadow: 2px 4px 8px var(--shadow);
  max-width: var(--max-navbar-width);
  margin: auto;
}

.about-header {
  background: var(--highlight);
  color: #222;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: center;
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  border-radius: 1rem 1rem 0 0;
  max-width: 36%;
  margin: 2rem auto 0 auto;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: stretch;
  padding: 2rem 2rem 0 0;
}

.about-image {
  flex: auto;
}

.about-image img {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.about-info {
  flex: 1 1 60%;
}

.info-header-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-col-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.info-col-left h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
}

.info-col-left .specialty-tag {
  background: #49bb6c;
  color: #fff;
  font-weight: bold;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  border-radius: 0 1rem 1rem 1rem;
  margin-top: 0.5rem;
}

.info-col-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  width: 100%;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e8f7ed;
  color: #1d4c2e;
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tag-item:hover {
  background: #c4efd5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.about-description {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.education {
  margin-bottom: 2.5rem;
}

.education h3 {
  display: inline-block;
  font-size: 1.15rem;
  color: #111;
}

.icon-title {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.education ul {
  padding-left: 3.2rem;
  list-style: disc;
  font-size: 0.95rem;
}

.education li {
  margin-bottom: 1rem;
}

.about-logos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.about-logos img {
  width: 60px;
  height: auto;
  transition: transform 0.3s;
}

button.modal-trigger {
  border: none;
  background: transparent;
  cursor: pointer;
}

.pulse-animation {
  animation: pulseZoom 7s infinite;
}

@keyframes pulseZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 1200px) {
  .about-section {
    margin: 0 0.7rem 0 0.7rem;
  }
}

@media (max-width: 925px) {
  .about-header {
    max-width: 80%;
    margin: 1rem auto 0 auto;
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
  }

  .about-container {
    gap: 1rem;
  }
  .about-image img {
    border-radius: 0;
  }
  .about-info {
    flex: 1 1 50%;
  }
  .about-logos {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5.5rem;
    margin: auto;
    padding-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .info-header-rows {
    gap: 1rem;
  }

  .info-col-left,
  .info-col-right {
    width: 100%;
  }

  .info-col-right {
    justify-content: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .about-header {
    max-width: 80%;
    margin: 0.5rem auto 0 auto;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  }
  .about-container {
    flex-direction: row;
    align-items: stretch;
    gap: 0rem;
  }
  .about-image img {
    min-width: 100%;
    border-top-left-radius: 1rem;
    height: auto;
    object-fit: cover;
    position: sticky;
    top: 0;
  }
  .about-logos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4.5rem;
    padding-top: 1rem;
  }
}

@media (max-width: 660px) {
  .about-container {
    flex-direction: column;
    padding: 1.5rem;
  }
  .about-image img {
    display: none;
  }
  .about-logos {
    gap: 2.5rem;
  }
}

@media (max-width: 420px) {
  .education ul {
    padding-left: 1.7rem;
  }
}
