/* File: custom-author-styles.css */

.course-author-details {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.course-author-details .author-pic img {
    border-radius: 50%;
    max-width: 100px;
    margin-right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-author-details .author-info {
    max-width: 600px;
}

.course-author-details .author-name {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #333;
}

.course-author-details .author-bio {
    font-size: 14px;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.6;
}

.course-author-details .author-email {
    font-size: 14px;
    color: #0073aa;
}

.course-author-details .author-email a {
    color: #0073aa;
    text-decoration: none;
}

.course-author-details .author-email a:hover {
    text-decoration: underline;
}


/* details */
/* Style for course list container */
.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    max-width: 1200px;
}

/* Style for each course item */
.course-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: calc(33.333% - 20px); /* 3 items per row with spacing */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
    box-sizing: border-box;
}

/* Hover effect for course items */
.course-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Style for course title */
.course-item h2 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #333;
}

/* Style for course description */
.course-item p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #666;
}

/* Style for course price */
.course-item .price {
    font-weight: bold;
    font-size: 18px;
    color: #e94e77; /* Highlight color for price */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .course-item {
        max-width: calc(50% - 20px); /* 2 items per row on tablets */
    }
}

@media (max-width: 480px) {
    .course-item {
        max-width: 100%; /* 1 item per row on mobile */
    }
}

/* Style for filter form */
.course-filter-form {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 5px;
}

.course-filter-form label {
    font-size: 16px;
    margin-right: 10px;
    color: #333;
}

.course-filter-form select,
.course-filter-form input[type="submit"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.course-filter-form input[type="submit"] {
    background-color: #e94e77;
    color: #fff;
    cursor: pointer;
}

.course-filter-form input[type="submit"]:hover {
    background-color: #d83a60;
}



