/* ===============================
   EDUCATION SECTION
================================ */
.education-section {
  padding: 32px 10%;
  padding-bottom: 64px;
  background: var(--skills-bg-light);
  color: var(--title-light);
  transition: background 0.25s ease, color 0.25s ease;
}

.dark-mode .education-section {
  background: var(--skills-bg-dark);
  color: var(--title-dark);
}

/* ===============================
   CARD CONTAINER
================================ */
.content-container {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;

  max-width: 100vw;
  margin: 0 auto;

  padding: 48px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.75)
  );

  border: 1px solid rgba(0, 0, 0, 0.125);
  backdrop-filter: blur(18px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);

  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease, border-color 0.3s ease;
}

.content-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: var(--primary-hover);
}

.dark-mode .content-container {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.7)
  );
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ===============================
   LEFT ICON
================================ */
.left-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.icon-college {
  width: 84px;
  height: 84px;
  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 36px;
  color: #ffffff;

  background: linear-gradient(135deg, var(--primary), var(--primary-hover));

  box-shadow: 0 14px 30px rgba(0, 102, 204, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ===============================
   RIGHT CONTENT
================================ */
.right-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edu-college {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.edu-degree {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted-light);
}

.edu-status {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-hover);
}

.dark-mode .edu-degree {
  color: var(--text-muted-dark);
}

/* ===============================
   DESCRIPTION
================================ */
.edu-details {
  margin-top: 8px;
  line-height: 1.75;
  font-size: 1rem;
  color: var(--text-muted-light);
}

.dark-mode .edu-details {
  color: var(--text-muted-dark);
}

/* ===============================
   SUBJECT LIST
================================ */
.edu-subjects {
  margin-top: 18px;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(355px, 1fr));
  gap: 12px;
}

.edu-subjects li {
  position: relative;
  padding-left: 26px;

  font-size: 0.95rem;
  font-weight: 500;
  color: var(--title-light);
}

.edu-subjects li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.dark-mode .edu-subjects li {
  color: var(--title-dark);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .content-container {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 26px;
  }

  .left-content {
    justify-content: flex-start;
  }
  .edu-subjects {
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  }
}

@media (max-width: 600px) {
  .edu-subjects li {
    font-size: 0.65rem;
  }
  .edu-details {
    font-size: 0.7rem;
    text-align: justify;
  }
  .edu-subjects {
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  }
  .education-section {
    padding: 72px 6%;
  }

  .content-container {
    padding: 28px;
  }

  .icon-college {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .edu-college {
    font-size: 0.75rem;
  }
}
