/* ========== Education Section ========== */
/* Section container with background pattern */
.education {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Decorative radial gradient background */
.education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(79, 195, 247, 0.05) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 213, 79, 0.05) 0%,
      transparent 30%
    );
  z-index: 1;
}

/* Centered content container */
.education-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Education item card with hover effect */
.education-item {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  border: 1px solid rgba(51, 51, 51, 0.3);
}

.education-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

/* Degree and year header layout */
.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.education-degree {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

/* Year badge with gradient background */
.education-year {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.education-school {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.education-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Call-to-action container */
.education-cta {
  text-align: center;
  margin-top: 2rem;
}
