* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

 
.header {
  margin-top: 60px;
  position: relative;
  text-align: center;
  padding: 6rem 1rem;
  background: #e3f2fd url('professor.jpg') repeat;
  background-size: 150px 150px;
  background-blend-mode: lighten;
  overflow: hidden;
}

.header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(3px);
}

.header-content {
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 3rem;
  color: #003366;
  margin-bottom: 1rem;
}

.underline {
  width: 80px;
  height: 4px;
  background: #003366;
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.header p {
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

 
.section {
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  color: #003366;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.light-bg {
  background: linear-gradient(to bottom right, #e3f2fd, #ffffff);
}

 
.card-container,
.grid-container {
  display: grid;
  gap: 1.5rem;
}

.card-container {
  grid-template-columns: 1fr;
}

.grid-container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: #fff;
  border-left: 4px solid #003366;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.card p {
  color: #555;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  font-weight: 500;
}

.badge.green {
  background: #e6f4ea;
  color: #1b5e20;
}

.badge.blue {
  background: #003366;
  color: white;
}

.badge.gray {
  background: #f2f2f2;
  color: #333;
  border: 1px solid #ccc;
}

 
.accordion {
  margin-top: 1rem;
}

.accordion-item {
  border-top: 1px solid #ddd;
}

.accordion-header {
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
  color: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: #f2f8ff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
  background: #fafafa;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 1rem;
}

 
.schedule-card {
  background: linear-gradient(to right, #e3f2fd, #ffffff);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-name {
  color: #003366;
  font-weight: 500;
}

.course-time {
  color: #555;
  font-size: 0.9rem;
}

 
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.3rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

 
.filter-bar {
  text-align: center;
  margin-bottom: 25px;
}

.filter-btn {
  background: #eee;
  border: none;
  padding: 10px 20px;
  margin: 6px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: #111;
  color: #fff;
}

 
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

 
.course-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #ddd;
  transition: 0.35s ease;
  box-shadow: 0 4px 15px rgba(127, 105, 215, 0.571);
  border-top: 4px solid rgb(0, 0, 0);
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: #7586f6;
  box-shadow: 0 10px 25px rgba(117, 119, 219, 0.577);
}

 
.course-card .icon {
  font-size: 35px;
  margin-bottom: 15px;
  color: #6579ea;
}

 
.tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
}