/* HomeCourse Styles - Enhanced Course Details Page */
:root {
    --primary-yellow: #facc4c;
    --primary-yellow-hover: #f4c035;
    --dark-bg: #0b0804;
    --text-dark: #0b0804;
    --text-light: #655238;
    --text-lighter: #8a7a5a;
    --border-color: #d4c4a6;
    --white: #FFFFFF;
    --yellow-star: #facc4c;
    --red-timer: #d93b04;
    --green-success: #28A745;
    --blue-info: #17A2B8;
    --orange-warning: #FFC107;
    --udemy-purple: #a435f0;
    --udemy-purple-hover: #8b2fd9;
    --shadow: 0 2px 4px rgba(11, 8, 4, 0.08);
    --shadow-hover: 0 4px 8px rgba(11, 8, 4, 0.12);
    --shadow-card: 0 4px 12px rgba(11, 8, 4, 0.1);
    --gradient-primary: linear-gradient(135deg, #facc4c 0%, #f4c035 100%);
    --gradient-secondary: linear-gradient(135deg, #655238 0%, #8a7a5a 100%);
    --gradient-success: linear-gradient(135deg, #28A745 0%, #20C997 100%);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
    color: var(--text-dark);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

/* Start Course Button */
.start-course-btn {
    background: linear-gradient(135deg, #A435F0 0%, #8b2fd9 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(164, 53, 240, 0.3);
}

/* Course Preview Video Section */
.course-preview-video {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.video-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.video-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.video-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    border-radius: 12px;
    width: 100%;
    height: 450px;
}

.video-description {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.video-description h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.video-description li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.video-description li::before {
    content: '🐝';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 1rem;
}

/* Learning Images Gallery */
.learning-images {
    margin-top: 40px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
    min-height: 180px;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 16px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    font-weight: 600;
    font-size: 1rem;
}

/* Students Also Bought Section */
.students-also-bought {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-yellow);
}

.course-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
    min-height: 140px;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-overlay i {
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-info {
    padding: 16px;
}

.course-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.stars {
    color: var(--yellow-star);
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

.course-meta {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.course-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.start-course-btn:hover {
    background: linear-gradient(135deg, #8b2fd9 0%, #7a2bc7 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(164, 53, 240, 0.4);
}

.start-course-btn:active {
    transform: translateY(0);
}

.start-course-btn i {
    font-size: 0.8rem;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-right: 16px;
}

.logo:hover {
    color: var(--primary-yellow-hover);
}

.logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--dark-bg);
    background-color: var(--primary-yellow);
}

.main-nav i {
    margin-right: 8px;
    font-size: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-bar {
    display: flex;
    align-items: center;
    max-width: 300px;
    position: relative;
    background-color: #f8f9fa;
    border-radius: 9999px;
    padding: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.search-bar:focus-within {
    background-color: var(--white);
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(250, 204, 76, 0.1);
    transform: translateY(-1px);
}

.search-bar input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: var(--text-lighter);
    font-weight: 400;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-hover) 100%);
    border: none;
    color: var(--text-dark);
    padding: 10px;
    margin-left: -44px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(250, 204, 76, 0.3);
}

.search-bar button:hover {
    background: linear-gradient(135deg, var(--primary-yellow-hover) 0%, var(--primary-yellow) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(250, 204, 76, 0.4);
}

.search-bar button:active {
    transform: scale(0.95);
}

.user-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 16px;
}

.user-nav a {
    text-decoration: none;
    color: var(--text-light);
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.user-nav a:hover {
    background-color: rgba(250, 204, 76, 0.1);
    color: var(--primary-yellow);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--red-timer);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: 600;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile:hover {
    background-color: rgba(250, 204, 76, 0.1);
}

.user-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile span {
    font-weight: 500;
    color: var(--text-dark);
}

/* Course Hero Section */
.course-hero {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(164, 53, 240, 0.1) 0%, rgba(139, 43, 217, 0.1) 100%);
    z-index: 1;
}

.course-hero .container {
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-bee-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.bee-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.3);
}



.breadcrumbs {
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--white);
}

.breadcrumbs a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumbs span {
    color: var(--white);
}

.course-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.course-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.course-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--yellow-star);
}

.stars {
    color: var(--yellow-star);
    font-size: 1rem;
}

.rating-link {
    color: var(--white);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.rating-link:hover {
    color: var(--white);
    opacity: 0.8;
}

.enrollment-count {
    color: var(--white);
    font-size: 0.9rem;
}

.instructor-info {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--white);
}

.instructor-link {
    color: var(--white);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.instructor-link:hover {
    color: var(--white);
    opacity: 0.8;
}

.course-meta-info {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--white);
    flex-wrap: wrap;
}

.course-meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta-info i {
    font-size: 0.8rem;
}

/* Main Content Layout */
.course-catalog {
    padding: 32px 0;
}

.course-catalog .container {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    max-width: 800px;
}

/* Content Sections */
.content-section {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.content-section:hover {
    box-shadow: var(--shadow-hover);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

/* Learning Objectives */
.learning-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.learning-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(164, 53, 240, 0.05);
    transition: all 0.2s ease;
}

.learning-item:hover {
    background: rgba(164, 53, 240, 0.1);
    transform: translateY(-2px);
}

.learning-item i {
    color: var(--green-success);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.learning-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Course Includes */
.course-includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(164, 53, 240, 0.05);
    transition: all 0.2s ease;
}

.include-item:hover {
    background: rgba(164, 53, 240, 0.1);
}

.include-item i {
    color: var(--udemy-purple);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.include-item span {
    font-size: 0.9rem;
}

/* Course Content */
.course-content {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    user-select: none;
}

.content-header:hover {
    background: #e9ecef;
}

.content-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.toggle-icon {
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.content-header.expanded .toggle-icon {
    transform: rotate(180deg);
}

.content-items {
    display: none;
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.content-items.show {
    display: block;
}

.content-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    min-height: 48px;
    flex-wrap: nowrap;
}

.content-item:last-child {
    border-bottom: none;
}

.content-item:hover {
    background: rgba(164, 53, 240, 0.05);
}

.content-item i {
    color: var(--udemy-purple);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.content-item-title {
    flex: 1;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.content-item-duration {
    color: var(--text-light);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 40px;
    text-align: right;
}

.expand-all-btn {
    background: var(--udemy-purple);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.expand-all-btn:hover {
    background: var(--udemy-purple-hover);
    transform: translateY(-1px);
}

/* Requirements */
.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--udemy-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Description */
.course-description {
    line-height: 1.6;
}

.course-description p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.description-hidden {
    display: none;
}

.description-hidden.show {
    display: block;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--udemy-purple);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.show-more-btn:hover {
    color: var(--udemy-purple-hover);
}

/* Related Courses */
.related-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-course-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--udemy-purple);
}

.related-course-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.related-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-course-card:hover .related-course-image img {
    transform: scale(1.05);
}

.heart-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.heart-icon:hover {
    color: var(--red-timer);
    transform: scale(1.1);
}

.related-course-info {
    padding: 16px;
}

.related-course-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text-dark);
}

.related-course-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.related-course-stars {
    color: var(--yellow-star);
}

.related-course-meta {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.related-course-price {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}



/* Instructor Profile */
.instructor-profile {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.instructor-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.instructor-title {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.instructor-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.instructor-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.instructor-stat i {
    color: var(--udemy-purple);
}

.instructor-bio {
    line-height: 1.6;
}

.instructor-bio p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.instructor-bio-hidden {
    display: none;
}

.instructor-bio-hidden.show {
    display: block;
}

/* Reviews */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.review-item:hover {
    border-color: var(--udemy-purple);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--udemy-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.review-rating {
    color: var(--yellow-star);
    font-size: 0.9rem;
}

.review-text {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.helpful-section {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.helpful-buttons {
    display: flex;
    gap: 8px;
}

.helpful-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}

.helpful-btn:hover {
    background: var(--udemy-purple);
    color: var(--white);
    border-color: var(--udemy-purple);
}

.helpful-btn.active {
    background: var(--udemy-purple);
    color: var(--white);
    border-color: var(--udemy-purple);
}

.show-all-reviews-btn {
    background: var(--white);
    color: var(--udemy-purple);
    border: 2px solid var(--udemy-purple);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.show-all-reviews-btn:hover {
    background: var(--udemy-purple);
    color: var(--white);
}

/* Sticky Sidebar */
.course-sidebar {
    position: sticky;
    top: 90px;
    width: 340px;
    flex-shrink: 0;
}

.course-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-preview:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.course-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-preview:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.preview-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.sidebar-content {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.pricing-tabs {
    display: flex;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pricing-tab.active {
    background: var(--udemy-purple);
    color: var(--white);
}

.pricing-tab:hover:not(.active) {
    background: rgba(164, 53, 240, 0.1);
}

.pricing-info {
    margin-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.original-price {
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 8px;
}

.discount-badge {
    background: var(--green-success);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--red-timer);
    font-size: 0.9rem;
    margin-top: 8px;
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.add-to-cart-btn, .buy-now-btn {
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.add-to-cart-btn {
    background: var(--white);
    color: var(--udemy-purple);
    border: 2px solid var(--udemy-purple);
}

.add-to-cart-btn:hover {
    background: var(--udemy-purple);
    color: var(--white);
}

.buy-now-btn {
    background: var(--gradient-primary);
    color: var(--white);
}

.buy-now-btn:hover {
    background: var(--udemy-purple-hover);
    transform: translateY(-1px);
}

.guarantee-info {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.4;
}

.guarantee-info i {
    margin-right: 6px;
    color: var(--green-success);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--udemy-purple);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.sidebar-link:hover {
    color: var(--udemy-purple-hover);
}

.coupon-section {
    margin-bottom: 20px;
}

.coupon-input {
    display: flex;
    gap: 8px;
}

.coupon-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-size: 0.9rem;
}

.coupon-input input:focus {
    border-color: var(--udemy-purple);
}

.coupon-input button {
    background: var(--udemy-purple);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.coupon-input button:hover {
    background: var(--udemy-purple-hover);
}

.cancel-policy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cancel-policy i {
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background: var(--dark-bg);
    color: var(--white);
    margin-top: 60px;
}

.footer-banner {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
}

.footer-banner h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.company-logo {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.company-logo:hover {
    opacity: 1;
}

.footer-content {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .logo {
    color: var(--white);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.language-selector {
    background: transparent;
    color: var(--text-lighter);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
}

.language-selector:focus {
    outline: none;
    border-color: var(--udemy-purple);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .course-catalog .container {
        flex-direction: column;
    }

    .course-sidebar {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .learning-objectives {
        grid-template-columns: 1fr;
    }

    .course-includes {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .related-courses {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .start-course-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .start-course-btn span {
        display: none;
    }

    .start-course-btn i {
        font-size: 0.9rem;
    }

    .course-preview-video {
        padding: 40px 0;
        margin: 20px 0;
    }

    .video-section .section-title {
        font-size: 1.8rem;
    }

    .video-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .video-container iframe {
        height: 300px;
    }

    .video-description {
        padding: 20px;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .gallery-image {
        height: 150px;
    }

    .students-also-bought {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }

    .course-image {
        height: 120px;
    }

    .search-bar {
        order: 3;
        max-width: none;
        margin: 0;
        width: 100%;
        background-color: var(--white);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .search-bar:focus-within {
        border-color: var(--primary-yellow);
        box-shadow: 0 4px 16px rgba(250, 204, 76, 0.2);
    }

    .course-title {
        font-size: 2rem;
    }

    .course-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .course-meta-info {
        flex-direction: column;
        gap: 8px;
    }

    .instructor-profile {
        flex-direction: column;
        text-align: center;
    }

    .instructor-stats {
        justify-content: center;
    }



    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 24px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .search-bar {
        margin: 0;
        padding: 2px;
    }

    .search-bar input {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .search-bar button {
        width: 32px;
        height: 32px;
        margin-left: -36px;
    }

    .course-hero {
        padding: 24px 0;
        min-height: 300px;
    }

        .hero-bee-image {
        opacity: 0.25;
    }

    @media (max-width: 480px) {
        .hero-bee-image {
            opacity: 0.2;
        }
    }

    .course-title {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 20px;
    }

    .sidebar-content {
        padding: 20px;
    }

    .content-item {
        padding: 10px 16px;
        gap: 8px;
    }

    .content-item-title {
        font-size: 0.85rem;
    }

    .content-item-duration {
        font-size: 0.75rem;
        min-width: 35px;
    }

    .course-preview-video {
        padding: 30px 0;
    }

    .video-section .section-title {
        font-size: 1.5rem;
    }

    .video-container iframe {
        height: 250px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-image {
        height: 120px;
    }

    .students-also-bought {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .course-image {
        height: 100px;
    }

    .course-info {
        padding: 12px;
    }

    .course-title {
        font-size: 0.9rem;
    }

    .company-logos {
        gap: 16px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
select:focus,
.content-header:focus {
    outline: 2px solid var(--udemy-purple);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-light: #000000;
    }
}