 

    .sidebar {
      width: 250px;
      background: #f8f9fa;
      padding: 10px;
      border-right: 1px solid #ddd;
      height: 100vh;
      overflow-y: auto;
    }

    .sidebar ul {
      list-style-type: none;
      padding: 0;
    }

    .sidebar li {
      padding: 12px;
      cursor: pointer;
      border-bottom: 1px solid #ddd;
    }

    .sidebar li.active, .sidebar li:hover {
      background-color: #007bff;
      color: white;
    }

    .main-content {
      flex-grow: 1;
      padding: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
    }

    .course-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .course-header {
      padding: 20px;
      font-weight: bold;
      font-size: 1.1rem;
      text-align: center;
    }

    .rating {
      text-align: center;
      color: #f5c518;
      font-weight: bold;
    }

    .course-actions {
      display: flex;
      border-top: 1px solid #eee;
    }

    .course-actions button {
      flex: 1;
      padding: 10px;
      border: none;
      cursor: pointer;
    }

    .enroll {
      background-color: #007bff;
      color: white;
    }

    .share {
      background-color: #f1f1f1;
      color: #333;
    }

    /* sharepopup box */
    .share-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
}

.share-popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.share-url-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 5px;
}

.share-url-container input {
  flex: 1;
  border: none;
  font-size: 14px;
  outline: none;
}

.share-url-container button {
  background: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}
.social-icons i{
    border-radius: 10px;
  width: auto;
  background-color: #0b2953;
}

.social-icons a {
  margin: 0 10px;
  font-size: 24px;
        align-items: center;
justify-content: center;
  text-decoration: none;
  width: 40px;
  height: 40px;
  background-color: #0b2953;
  border-radius: 40%;
}

/* share popup ended */


/* Enroll popup */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  width: 70%;
  max-width: 900px;
  margin: 5% auto;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.close {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

.form-container {
  display: flex;
  flex-direction: row;
}

.left-side {
  flex: 1;
  background: #f6f6f6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-side img {
  width: 100%;
  height: auto;
}

.right-side {
  flex: 1;
  padding: 30px;
}

.right-side input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.left-side img{
    width: 300px;
    height:300px;
}
.buttons button {
  padding: 10px 20px;
  border: 1px solid #000;
  background: white;
  cursor: pointer;
  border-radius: 6px;
}

.buttons .submit {
  background-color: #0066ff;
  color: white;
  border: none;
}

/* Enroll popup ended */