.course-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Course Section Layout */
.course-section {
    display: grid;
    grid-template-columns: 70% 30%; /* Left section 70%, Right section 30% */
    gap: 20px; /* Space between sections */
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
}

/* Left Section */
.course-left {
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.course-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.course-banner img {
    width: 250px; /* Larger image */
    height: auto;
    margin-right: 20px;
    border-radius: 8px;
}

.course-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-info ul li {
    margin: 5px 0;
    color: #555;
}

.course-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.course-tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-right: 5px;
}

.tab-button.active {
    background: #fff;
    border-bottom: 2px solid #ad0f1d ;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
    background: #fff;
}

.tab-content.active {
    display: block;
}

/* Right Section */
.course-right {
    padding-left: 20px;
}

.course-features {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.course-features ul {
list-style: none;
padding: 0;
margin: 0;
}

.course-features ul li {
margin: 10px 0;
display: flex;
align-items: center;
color: #555;
}

.course-features ul li i {
margin-right: 10px;
color: #D81324  ;
}

.course-price {
font-size: 22px;
margin: 20px 0;
text-align: center;
}

.course-price .discounted-price {
color: #D81324  ;
font-weight: bold;
}

.course-price .original-price {
text-decoration: line-through;
color: #aaa;
margin-left: 10px;
}

.buy-course {
background: #D81324  ;
color: #fff;
padding: 12px 24px;
border: none;
cursor: pointer;
border-radius: 5px;
display: block;
margin: 0 auto;
text-align: center;
}

.buy-course:hover {
background: #ad0f1d ;
}

.curriculum {
padding: 20px;
background: #fff;
}

.curriculum h4 {
font-size: 20px;
color: #333;
margin-bottom: 10px;
}

.curriculum ul {
list-style: none;
padding: 0;
}

.curriculum ul li {
display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 0;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}

.curriculum ul li i {
color: #D81324  ;
margin-right: 10px;
}
/* Instructor Section Styling */
.instructor-profile {
display: flex;
align-items: flex-start;
gap: 20px;
margin-top: 20px;
background: #f9f9f9;
padding: 20px;
border-radius: 8px;
border: 1px solid #ddd;
}

.instructor-image img {
width: 150px; /* Image size */
height: 150px;
border-radius: 50%; /* Circle image */
object-fit: cover;
border: 3px solid #D81324  ;
}

.instructor-content {
flex: 1;
}

.instructor-content h3 {
font-size: 24px;
color: #333;
margin-bottom: 10px;
}

.instructor-content p {
font-size: 16px;
color: #555;
margin-bottom: 20px;
line-height: 1.6;
}

/* Social Media Icons */
.instructor-socials {
display: flex;
gap: 15px;
}

.instructor-socials a {
color: #fff;
background: #D81324  ;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
text-decoration: none;
font-size: 18px;
transition: background 0.3s ease;
}

.instructor-socials a:hover {
background: #ad0f1d ;
}

.instructor-socials a i {
line-height: 1;
}