/* Course Hero Section */
.course-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 95, 60, 0.8), rgba(15, 95, 60, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-yellow);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.course-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.course-badge {
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.course-level {
    background: var(--secondary-yellow);
    color: var(--orange-text);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.course-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.course-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
    color: var(--secondary-yellow);
    font-size: 18px;
}

.course-pricing {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.price-old {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-yellow);
}

.discount-badge {
    background: var(--secondary-yellow);
    color: var(--orange-text);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.course-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.enroll-btn {
    background: var(--secondary-yellow);
    color: var(--orange-text);
    border: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.enroll-btn:hover {
    background: var(--secondary-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(246, 199, 68, 0.4);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Course Structure */
.course-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.structure-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.structure-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.structure-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.structure-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.platform-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: var(--primary-green);
    background: white;
    transform: translateY(-3px);
}

.platform-item i {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 10px;
    display: block;
}

.platform-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Instructor Card */
.instructor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-card);
    text-align: center;
    margin-bottom: 30px;
}

.instructor-card .instructor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-green);
}

.instructor-card .instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.instructor-card .instructor-title {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.instructor-social .social-link {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.instructor-social .social-link:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Course Content Section */
.course-content-section {
    padding: 60px 0;
    background: white;
}

.course-article {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Course Introduction */
.course-intro {
    margin-bottom: 60px;
    padding: 0 40px;
}

.course-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.intro-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Course Highlights */
.course-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-dark);
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.highlight-item:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.highlight-item i {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.highlight-item span {
    font-weight: 600;
    line-height: 1.4;
}

/* Learning Section */
.learning-section {
    margin-bottom: 60px;
    padding: 0 40px;
}

.learning-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.learning-intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: center;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.learning-item {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.learning-item:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.learning-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.learning-item:hover .learning-icon {
    background: var(--secondary-yellow);
    transform: scale(1.1);
}

.learning-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.learning-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Course Details */
.course-details {
    margin-bottom: 60px;
    padding: 0 40px;
}

.course-details h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.detail-section {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.detail-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.simple-list li:last-child {
    border-bottom: none;
}

.simple-list li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Instructor Section */
.instructor-section {
    margin-bottom: 60px;
    padding: 0 40px;
}

.instructor-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.instructor-simple {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.instructor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid white;
    box-shadow: var(--shadow-card);
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.instructor-title {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.instructor-bio {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Enrollment CTA */
.enrollment-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 50px 40px 0;
}

.enrollment-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M30 30l15-15v30l-15-15zm-15 0l-15 15V15l15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.enrollment-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.enrollment-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.enrollment-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.enroll-btn-main {
    background: var(--secondary-yellow);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.enroll-btn-main:hover {
    background: var(--secondary-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 152, 34, 0.4);
}

.enrollment-info {
    display: flex;
    gap: 30px;
    font-size: 14px;
    opacity: 0.8;
}

.enrollment-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.enrollment-info i {
    color: var(--secondary-yellow);
}

/* Highlight styles */
.highlight-green {
    color: var(--primary-green);
}

.highlight-orange {
    color: var(--secondary-yellow);
}

/* Related Courses Section */
.related-courses-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-courses-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.related-courses-section h2 .highlight-green {
    color: var(--primary-green);
}

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

.related-courses-section .course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-courses-section .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.related-courses-section .course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.related-courses-section .course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-courses-section .course-content {
    padding: 25px;
}

.related-courses-section .course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.related-courses-section .course-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.related-courses-section .course-instructor i {
    color: var(--primary-green);
    font-size: 12px;
}

.related-courses-section .course-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-courses-section .price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .course-hero {
        height: 45vh;
        min-height: 350px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .main-content {
        padding: 30px 25px;
        max-width: 100%;
        margin: 0 20px;
    }
    
    .course-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instructor-profile {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .instructor-profile .instructor-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .faq-item {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .faq-item::after {
        width: 35px;
        height: 35px;
        font-size: 18px;
        top: 15px;
        right: 20px;
    }
    
    .module {
        border-radius: 15px;
    }
    
    .module-header {
        padding: 20px 25px;
    }
    
    .module-content {
        padding: 20px 25px 25px;
    }
    
    .course-intro,
    .learning-section,
    .course-details,
    .instructor-section {
        padding: 0 30px;
    }
    
    .enrollment-cta {
        margin: 40px 30px 0;
    }
}

@media (max-width: 768px) {
    .course-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .course-article {
        padding: 0 10px;
    }
    
    .course-intro,
    .learning-section,
    .course-details,
    .instructor-section {
        margin-bottom: 50px;
        padding: 0 20px;
    }
    
    .course-intro h2,
    .learning-section h2,
    .course-details h2,
    .instructor-section h2 {
        font-size: 28px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .course-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-item {
        padding: 25px 20px;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .highlight-item i {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 0;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .course-highlights {
        padding: 25px 20px;
    }
    
    .highlight-item {
        font-size: 15px;
        gap: 12px;
    }
    
    .highlight-item i {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .learning-grid {
        gap: 20px;
    }
    
    .learning-item {
        padding: 25px 20px;
    }
    
    .learning-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .learning-item h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .learning-item p {
        font-size: 14px;
    }
    
    .detail-section {
        padding: 25px 20px;
    }
    
    .detail-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .instructor-simple {
        padding: 25px 20px;
        gap: 20px;
    }
    
    .instructor-avatar {
        width: 100px;
        height: 100px;
    }
    
    .enrollment-cta {
        margin: 40px 20px 0;
    }
    
    .enrollment-cta h2 {
        font-size: 28px;
    }
    
    .enrollment-cta p {
        font-size: 16px;
    }
    
    .enroll-btn-main {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .related-courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-courses-section .course-image {
        height: 180px;
    }
    
    .related-courses-section .course-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .course-hero {
        height: auto;
        min-height: 350px;
        padding: 30px 0;
    }
    
    .course-title {
        font-size: 24px;
    }
    
    .course-article {
        padding: 0 5px;
    }
    
    .course-intro,
    .learning-section,
    .course-details,
    .instructor-section {
        margin-bottom: 50px;
        padding: 0 15px;
    }
    
    .course-intro h2,
    .learning-section h2,
    .course-details h2,
    .instructor-section h2 {
        font-size: 24px;
    }
    
    .intro-text {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .course-highlights {
        gap: 15px;
    }

    .highlight-item {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .highlight-item i {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .highlight-item span {
        font-size: 14px;
    }

    .related-courses-section {
        padding: 50px 0;
    }
    
    .related-courses-section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .related-courses-section .course-image {
        height: 160px;
    }
    
    .related-courses-section .course-content {
        padding: 18px 15px;
    }
    
    .related-courses-section .course-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .course-hero {
        min-height: 350px;
        padding: 25px 0;
    }
    
    .hero-content {
        padding: 0 5px;
        text-align: center;
    }
    
    .course-title {
        font-size: 20px;
        padding: 0;
        text-align: center;
    }
    
    .course-badges {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        justify-content: center;
    }
    
    .course-meta {
        padding: 0;
        gap: 12px;
        align-items: center;
    }
    
    .meta-item {
        font-size: 14px;
        text-align: center;
    }
    
    .course-pricing {
        padding: 0;
        align-items: center;
        text-align: center;
    }
    
    .price-current {
        font-size: 22px;
    }
    
    .course-actions {
        padding: 0;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .enroll-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .share-buttons {
        gap: 8px;
        justify-content: center;
    }
    
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .main-content {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .instructor-profile {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .instructor-profile .instructor-image {
        width: 120px;
        height: 120px;
        border-radius: 15px;
    }
    
    .review-card,
    .faq-item {
        padding: 18px 12px;
        border-radius: 12px;
    }
    
    .faq-item::after {
        width: 30px;
        height: 30px;
        font-size: 16px;
        top: 12px;
        right: 15px;
    }
    
    .module {
        border-radius: 12px;
    }
    
    .module-header {
        padding: 18px 20px;
    }
    
    .module-content {
        padding: 18px 20px 20px;
    }
}