body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: #0030e3;
  font-size: 24px;
  font-weight: bold;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  padding: 5px 10px;
}

nav a:hover, nav a.active {
  color: #2e86c1;
  border-bottom: 2px solid #0030e3;
}

.header-right {
  display: flex;
  align-items: center;
}

.search-bar {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}

.sign-in {
  background-color: #0030e3;
  color: #fff;
  border: none;
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.sign-in:hover {
  background-color: #5b1a98;
}

.hero {
  background-color: #0030e3;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  position: relative;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background-color: #fff;
  color: #0030e3;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  margin: 0 10px;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background-color: #e0e0e0;
}

.hero-image {
  width: 500px;
  height: 200px;
  object-fit: cover;
  margin: 20px auto;
}

.hero-image-small {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 20px auto;
}

.hero-image-large {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: 20px auto;
}

.categories, .popular-courses, .filters, .course-grid, .content, .featured-courses, .testimonials, .request-info {
  padding: 20px;
  text-align: center;
}

h2 {
  color: #0030e3;
  font-size: 24px;
  margin-bottom: 20px;
}

.category-card {
  color: black;
  display: inline-block;
  margin: 10px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  width: 200px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.course-card {
  display: inline-block;
  margin: 10px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: left;
}

.course-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.course-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.course-description {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

.course-price {
  font-size: 16px;
  font-weight: bold;
  color: #0030e3;
  margin: 10px 0;
}

.btn-primary {
  background-color: #0030e3;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.btn-primary:hover {
  background-color: #5b1a98;
}

.view-all {
  color: #0030e3;
  text-decoration: none;
  font-size: 16px;
}

.view-all:hover {
  text-decoration: underline;
}

.filters {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.filter-select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.course-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.instructor {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

.course-details {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

.content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.about-text {
  width: 40%;
  text-align: left;
}

.about-text p {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

table {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #0030e3;
  color: #fff;
}

.testimonial-card {
  display: inline-block;
  margin: 10px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: left;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 auto 10px;
}

.request-info {
  background-color: #f1f1f1;
  padding: 40px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .category-card, .course-card, .testimonial-card { width: 100%; }
  .content { flex-direction: column; }
  .about-text { width: 100%; }
  .filters { flex-direction: column; }
  .filters select, .filters input { margin-bottom: 10px; }
}

.categories {
  display: flex;
  justify-content: center;
  gap: 15px; 
}

.category-card {
  width: 150px;
  height: 120px;
  padding: 15px;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: black;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit; 
  filter: blur(5px); 
  z-index: -1;
}
.category-card p {
  background-color: rgba(255, 255, 255, 0.8); 
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  color: black; 
}





.programming{
  background-image: url('picture2.jpg');
}

.business {
  background-image: url('Picture7.jpg');
}

.design {
  background-image: url('Picture8.jpg');
}


