/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.top-bar {
    background: var(--dark-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background: #fff;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.logo .tagline {
    color: #666;
    font-size: 12px;
    margin: 0;
}

.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-box button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--secondary-color);
}

.navbar-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-btn,
.user-btn,
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    position: relative;
    padding: 8px;
    transition: color 0.3s;
}

.cart-btn:hover,
.user-btn:hover,
.mobile-menu-btn:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
}

/* Main Menu */
.main-menu {
    border-top: 1px solid var(--border-color);
}

.main-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    display: block;
    padding: 15px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-color);
    background: var(--light-color);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Categories */
.categories {
    background: var(--light-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.category-card p {
    color: #666;
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 600;
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 10px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
}

.quick-view-btn {
    padding: 10px 15px;
    background: var(--light-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-view-btn:hover {
    background: var(--border-color);
}

/* Features */
.features {
    background: var(--light-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-item p {
    color: #666;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #666;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    padding: 10px 0;
    color: var(--text-color);
}

.check-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.8;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-section .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 20px;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

.quantity-btn:hover {
    background: var(--light-color);
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 18px;
}

.cart-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.cart-empty i {
    font-size: 64px;
    margin-bottom: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.total-price {
    color: #e74c3c;
    font-size: 24px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* Courses Styles */
.courses {
    background: #fff;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 204, 113, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-overlay .btn {
    padding: 12px 25px;
}

.course-info {
    padding: 25px;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: #666;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: var(--primary-color);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-price .price-current {
    font-size: 22px;
    font-weight: bold;
    color: #e74c3c;
}

.course-price .price-old {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}

.course-level {
    padding: 5px 12px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Courses Page Layout */
.courses-page {
    padding: 60px 0;
    background: var(--light-color);
}

.courses-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.courses-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.courses-content {
    background: transparent;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.courses-count {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.promo-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.promo-box h3 {
    color: #fff;
}

.promo-box strong {
    font-size: 20px;
}

.promo-box .small-text {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 10px;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--light-color);
    padding: 60px 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.reason-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon i {
    font-size: 36px;
    color: #fff;
}

.reason-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.reason-item p {
    color: #666;
    line-height: 1.6;
}

/* Instructors */
.instructors {
    padding: 60px 0;
    background: #fff;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.instructor-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instructor-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.instructor-card .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.instructor-card .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.rating {
    color: #ffc107;
}

.rating i {
    font-size: 14px;
}

.testimonial-card p {
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.rating {
    color: #ffc107;
}

.rating i {
    font-size: 14px;
}

.testimonial-card p {
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

/* Course Detail Page */
.course-detail-section {
    padding: 40px 0 60px;
    background: var(--light-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    color: #999;
    font-size: 10px;
}

.breadcrumb span {
    color: #666;
}

.course-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.course-main {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.course-header-detail {
    margin-bottom: 30px;
}

.course-title-detail {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.course-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #666;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary-color);
}

.course-image-detail {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.course-image-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
}

.course-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    gap: 10px;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.tab-content h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin: 30px 0 15px;
}

.tab-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.learning-outcomes,
.requirements {
    list-style: none;
    margin-bottom: 30px;
}

.learning-outcomes li,
.requirements li {
    padding: 12px 0;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.learning-outcomes i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
}

.requirements i {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.curriculum-section {
    margin-top: 20px;
}

.curriculum-item {
    background: var(--light-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.curriculum-header {
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.curriculum-header h4 {
    color: var(--dark-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-header h4 i {
    color: var(--primary-color);
}

.curriculum-header span {
    color: #999;
    font-size: 14px;
}

.lesson-list {
    list-style: none;
    padding: 0 20px 20px;
}

.lesson-list li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.lesson-list li:last-child {
    border-bottom: none;
}

.lesson-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.lesson-list span {
    color: #999;
    font-size: 13px;
}

.instructor-detail {
    margin-top: 20px;
}

.instructor-info {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.instructor-info img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.instructor-bio h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.instructor-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.instructor-stats i {
    color: var(--primary-color);
}

.instructor-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-color);
    border-radius: 10px;
}

.rating-overview {
    text-align: center;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 10px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-bar-item > span:first-child {
    min-width: 50px;
    color: #666;
}

.rating-bar-item .bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-item .fill {
    height: 100%;
    background: #ffc107;
}

.rating-bar-item > span:last-child {
    min-width: 40px;
    color: #999;
    font-size: 14px;
}

.reviews-list {
    margin-top: 30px;
}

.review-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-rating i {
    color: #ffc107;
    font-size: 14px;
}

.review-rating span {
    color: #999;
    font-size: 13px;
}

.review-text {
    color: #666;
    line-height: 1.8;
}

/* Course Sidebar */
.course-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.course-price-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.price-info {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.current-price {
    font-size: 36px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.discount-label {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.btn-enroll {
    font-size: 18px;
    padding: 15px 30px;
    margin-bottom: 25px;
}

.course-includes {
    margin-bottom: 25px;
}

.course-includes h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.course-includes ul {
    list-style: none;
}

.course-includes li {
    padding: 10px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-includes i {
    color: var(--primary-color);
    width: 20px;
}

.course-share {
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.course-share h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.related-courses {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.related-courses h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.related-course-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.related-course-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-course-item a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-course-item a:hover {
    opacity: 0.8;
}

.related-course-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.related-course-info h5 {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-course-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-course-price .price {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
}

.related-course-price .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    
    .navbar-content {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
    }
    
    .navbar-actions {
        order: 2;
    }
    
    .search-box {
        order: 3;
        width: 100%;
        margin: 15px 0 0 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: var(--shadow);
    }
    
    .main-menu.active {
        display: block;
    }
    
    .main-menu ul {
        flex-direction: column;
    }
    
    .main-menu a {
        padding: 15px 20px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-layout,
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .courses-sidebar,
    .products-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        transition: left 0.3s;
        overflow-y: auto;
        padding: 20px;
    }
    
    .courses-sidebar.active,
    .products-sidebar.active {
        left: 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .reasons-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .course-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .course-main {
        padding: 25px;
    }
    
    .course-title-detail {
        font-size: 24px;
    }
    
    .course-image-detail {
        height: 250px;
    }
    
    .course-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instructor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .course-sidebar {
        position: static;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
