.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 20px;
}


.about-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--card-bg);
  color: var(--text);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  will-change: transform;
  opacity: 0;
  transform: translateY(30px);
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-card img {
  width: 48px;
  height: auto;
}

.about-card .title {
  font-weight: bold;
  margin-bottom: 8px;
}

.about-card .content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text, #555);
  line-height: 1.6;
  text-align: left;
}

/* Dark Mode */
html[data-theme="dark"] .about-card {
  background-color: var(--card-bg);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .about-content p {
  color: #ccc;
}

/* Icon Styling */
.about-icon {
  border-radius: 12px;
  background-color: transparent;
  display: inline-block;
  padding: 4px;
  width: 80px;
  height: auto;
}

.icon-wrapper {
  flex-shrink: 0;
  margin-right: 1.5rem;
}

/* Accent Borders */
.about-card.left-accent {
  border-left: 5px solid #007bff;
}

.about-card.mission {
  border-left-color: #27ae60;
}

.about-card.vision {
  border-left-color: #2980b9;
}

/* Typography */
.about-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  text-align: left;
}

/* Section Layout */
#about {
  scroll-margin-top: -100px;
}

.about h2 {
  margin-bottom: 16px;
}

.about p.subtext {
  margin-bottom: 40px;
}

/* Animation States */
.about-card.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fix content alignment */
.about-card .about-content {
  text-align: left !important;
  align-items: flex-start;
}