/*-------------------------------------------------------------------------------
Education Section
-------------------------------------------------------------------------------*/
#education-section.education {
  padding: 50px 20px;
  color: var(--text-light);
  font-family: inherit;
}

/* Data Filter */
#education-section .data-filter {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
}

#education-section .data-filter select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--primary);
  background: rgba(10,15,28,0.9);
  color: var(--text-light);
  cursor: pointer;
  transition: 0.3s;
}

#education-section .data-filter select:hover,
#education-section .data-filter select:focus {
  border-color: var(--primary);
  background: rgba(15,20,35,0.95);
  outline: none;
}

/* Grid of cards */
#education-section .edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive grid */
@media (max-width: 992px) {
  #education-section .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  #education-section .edu-grid {
    grid-template-columns: 1fr;
  }
}

/* Card styling */
.edu-card {
  border: 2px solid var(--bg-dns);
  border-radius: 10px;
  background: rgba(10,15,28,0.9);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

/* Card content */
.edu-card .card-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary);
  text-align: center;
}

.edu-card .card-content p.category {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
}

.edu-card .card-content p.details {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: left;
}

/* Tags styling */
.edu-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.edu-card .tags span {
  background: var(--bg-dns);
  color: var(--text-light);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

.edu-card .tags span:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .edu-card .card-content p.details {
    font-size: 0.8rem;
  }
  .edu-card .tags span {
    font-size: 0.7rem;
  }
}
