/* Education Section Styles */
.education.section {
  padding: 3rem 0;
}
.education__grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}
.education__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.education__card {
  background-color: var(--bg-alt);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(50, 100, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.education__card--left {
  background: linear-gradient(135deg, var(--bg-alt) 60%, rgba(58, 134, 255, 0.15));
  border-left: 4px solid var(--primary);
  width: 150%;
  margin-right: -10%;
  z-index: 5;
}
.education__card--right {
  background: linear-gradient(225deg, var(--bg-alt) 60%, rgba(255, 78, 69, 0.15));
  border-right: 4px solid var(--accent);
}
.education__card--large {
  width: 120%;
  margin-right: -20%;
  z-index: 5;
}
.education__icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 12px rgba(50, 100, 255, 0.06);
  margin-bottom: 1rem;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.education__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.education__title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.education__period {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 15px;
}
.education__description {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}
.education__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.education__detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.education__detail i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}
.connection-line {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.connection-line svg {
  width: 100%;
  height: 100%;
}
.connection-line svg line {
  animation: dash 1.5s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -16;
  }
}
@media screen and (max-width: 768px) {
  .education__row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
  }
  .connection-line {
    transform: rotate(90deg);
    width: 30px;
    height: 100px;
    margin: 0 auto;
  }
  .education__card--left,
  .education__card--right {
    width: 100%;
    border: none;
  }
  .education__card--left {
    border-top: 4px solid var(--primary);
  }
  .education__card--right {
    border-top: 4px solid var(--accent);
  }
} 