/* Section Base */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #718096;
  font-size: 1.1rem;
}

/* Responsive Grid */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--theme-padding);
}

/* Link Cards */
.unit-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e2e8f0;
}

/* Hover Effects */
.unit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #3182ce;
}

.icon-container {
  font-size: 2.5rem;
  color: #3182ce;
  margin-bottom: 1.5rem;
  background: #ebf8ff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #2b6cb0;
}

.unit-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 600;
  color: #3182ce;
  font-size: 0.9rem;
  margin-top: auto;
  transition: color 0.2s;
}

.unit-card:hover .card-link {
  color: #2b6cb0;
  text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .unit-section {
    margin: 0 auto;
    padding: 2rem 2rem;
  }
}