.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
}

.arithmetic-section {
  background: linear-gradient(to right, #ecd9ff, #ffc0cb);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
}

.arithmetic-container {
  max-width: 1200px;
  margin: 0 auto;
  /* Removed left padding for proper centering */
  text-align: center; /* Center the title and description */
}

.arithmetic-title {
  font-size: 45px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.arithmetic-description {
  font-size: 1.2rem;
  color: #000;
}

.topics-container {
  padding: 40px 20px;
}

.topics-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f4f4f4;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform .3s;
  text-align: center;
}

.topic-card:hover {
  transform: translateY(-5px);
}

.topic-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.topic-title {
  font-size: 1rem;
  margin: 10px 0;
}
