
/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header and Navbar */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d6efd;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #0d6efd;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.main-content h1, .main-content h2 {
    color: #333;
    margin-bottom: 20px;
}

.course-list, .student-list, .software-list {
    list-style: none;
    padding: 0;
}

.course-list li, .student-list li, .software-list li {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 1.1rem;
}

/* Features Section (Counter, Likes) */
.features-section {
    display: flex;
    justify-content: space-around;
    text-align: center;
    background-color: #ffffff;
    padding: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.feature {
    font-size: 1.2rem;
}

.feature i {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 5px;
}

#like-button {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#like-button:hover {
    background-color: #0b5ed7;
}

#like-button.liked {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Comment Section */
.comment-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comment-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

#comment-name, #comment-text {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

#comment-form button {
    align-self: flex-start;
    padding: 10px 25px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

#comments-list {
    margin-top: 20px;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.comment-author {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
}

.comment p {
    margin: 5px 0 0;
}
