
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f5f5f5;
  overflow-x: hidden;
  line-height: 1.6;
}

.navbar {
  background-color: #1a1a40;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow-x: auto;
}

.navbar .logo {
  font-size: 22px;
  font-weight: bold;
  color: #ffdd57;
  text-decoration: none;
  white-space: nowrap;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.3s;
  white-space: nowrap;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  background-color: #ffdd57;
  color: #1a1a40;
}

 .home,
.profile,
.courses,
.Feedback,
.grades,
#contact {
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px; 
}

.home {
  background: url(https://images.unsplash.com/photo-1533810019453-7351dbd31aee?auto=format&fit=crop&w=3000&q=60)no-repeat center center/cover;
  color: #fff;
  text-shadow: 1px 1px 3px black;
}

.home h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.home p {
  font-size: 20px;
  max-width: 600px;
}

.profile {
  background: url("http://cdn.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-9-full.jpg")no-repeat center center/cover;
}

.profile img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #0a0b0e;
  margin-bottom: 20px;
}

.profile h2 {
  font-size: 28px;
  color: #023259;
} 

 .profile ul li {
  display: flex;       
  gap: 10px;           
}

.courses {
  background: url("http://cdn.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-9-full.jpg")no-repeat center center/cover;
}

.course-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.course-card {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
  transition: transform 0.3s;
}

.course-card:hover {
  transform: scale(1.03);
}

.course-card h3 {
  color: #023259;
  margin-bottom: 10px;
}

.course-card button {
  margin-top: 10px;
  background-color: #023259;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.Feedback {
  background: url("http://cdn.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-9-full.jpg")no-repeat center center/cover;
}

.Feedback input,
.Feedback select,
.Feedback textarea {
  width: 80%;
  max-width: 300px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.grades {
  background: url("http://cdn.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-9-full.jpg")no-repeat center center/cover;
}

table {
  margin: auto;
  width: 80%;
  max-width: 500px;
}

th,
td {
  padding: 12px 20px;
  border: 1px solid #0c0b0b;
}

th {
  background-color: #072091;
  color: white;
}

#contact {
  background: url("http://cdn.elegantthemes.com/blog/wp-content/uploads/2013/09/bg-9-full.jpg")no-repeat center center/cover;   
}

#contact h2 {
  font-size: 28px;
  color: #023259;
}

.social-icons a { 
  display: inline-block; 
  margin: 10px; 
  color: #333; 
  text-decoration: none; 
  font-weight: bold; 
} 

  .social-icons img { 
    width: 25px; 
    height: 25px; 
    margin-right: 8px; 
    vertical-align: middle; 
    border-radius: 50%; 
  }

footer {
  background-color: #1a1a40;
  color: white;
  text-align: center;
  padding: 15px 0;
}

@media (max-width: 768px) {
  .home h1 {
    font-size: 30px;
  }

  .home p {
    font-size: 16px;
  }

  .course-card {
    width: 80%;
  }
}

@media (max-width: 400px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar .logo {
    font-size: 18px;
  }

  .navbar ul {
    gap: 8px;
  }

  .home h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .home p {
    font-size: 14px;
  }

  .profile img {
    width: 120px;
    height: 120px;
  }

  .course-card {
    width: 90%;
    padding: 15px;
  }

  .Feedback input,
  .Feedback select,
  .Feedback textarea {
    width: 90%;
  }

  table {
    width: 95%;
    font-size: 14px;
  }

  footer {
    font-size: 14px;
  }
}