/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* .container {
  max-width: 1200px;
  margin: 0 auto;
} */

/* Header */
h1 {
  font-size: 2.5rem;
  font-weight: 700;

}
.navbar {
/*   background-color: #2d3748; */
  background-color: #235438;
  color: white;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  text-align: center;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}


/* Filters section */
.filters {
  background-color: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.filters label {
  display: flex;
  flex-direction: column;
  margin: 0.5rem;
  font-weight: 600;
/*   color: #4a5568; */
  color: #2d3748;
  flex: 1;
  min-width: 200px;
}

.filters select,
.filters input {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
  width: 100%;
}

.filters select:hover,
.filters input:hover {
  border-color: #cbd5e0;
}

.filters select:focus,
.filters input:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* Course grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  padding: 1.5rem;
  gap: 1.5rem;
}

/* Course cards */
.course-card {
  background-color: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.course-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.course-number {
  display: inline-block;
  padding: 0.25rem 0.75rem;
/*   background-color: #edf2f7; */
/*   background-color: #c5ebca; */
  background-color: #edd11a;
  border-radius: 12px;
  color: #1a202c;
  font-size: 0.90rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.course-description {
  color: #1a202c;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.course-meta {
  padding-top: 1rem;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #718096;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}


@media (max-width: 768px) {
  .filters {
    flex-direction: column;
  }

  .filters label {
    width: 100%;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }
}


.loading {
  text-align: center;
  padding: 2rem;
  color: #718096;
}


.empty-state {
  text-align: center;
  padding: 3rem;
  color: #718096;
  background-color: white;
  border-radius: 12px;
  margin-top: 2rem;
}


footer {
/*   background-color: #2d3748; */
  background-color: #235438;
  color: white;
  margin-top: 0.5rem;
  /*   padding: 20px 0; */
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

a {
/*   color: #2b6cb0; */
  color: #edd11a;
}


#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
/*   background-color: #2d3748; */
  background-color: #235438;
  color: white;
  border: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  justify-content: center;
  align-items: center;
  display: flex;
  transition: background-color 0.3s ease;
}

#myBtn:hover {
/*   background-color: #2b6cb0; */
  background-color: #edd11a;
}
