.main-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}


.hero-section {
    position: relative;
    background-color: #0f172a;
    color: #ffffff;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
}

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

.hero-content {
    position: relative;
    max-width: 48rem;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #2563eb;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.badge svg {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-desc {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-primary svg {
    width: 1.25rem;
    height: 1.25rem;
}


.learning-section {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.section-title {
    color: #0f172a;
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.card .icon {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
}

.card .text {
    color: #334155;
}


.content-section {
    padding: 3rem 0;
    margin: 0 10rem;
}

.tabs-wrapper {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tabs-list {
    display: flex;
    gap: 2rem;
}

.tab-btn {
    padding-bottom: 1rem;
    border-bottom: 2px solid transparent;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    text-transform: capitalize;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
    border-bottom-color: #2563eb;
    color: #2563eb;
}

.tab-btn:not(.active) {
    color: #475569;
}

.tab-btn:not(.active):hover {
    color: #0f172a;
}


.tab-pane {
    display: none;
}

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


.tab-pane.syllabus-wrapper.active {
    display: flex;
}

.tab-pane.reviews-wrapper.active {
    display: flex;
}

.syllabus-wrapper {
    flex-direction: column;
    gap: 1.5rem;
}

.reviews-wrapper {
    flex-direction: column;
    gap: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.prose {
    max-width: 100%;
}

.prose h3 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.prose p {
    color: #475569;
    
}



.module-card {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.module-header {
    background-color: #ffffff;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-header h3 {
    color: #0f172a;
    font-weight: 600;
}

.module-header span {
    color: #475569;
    font-size: 0.875rem;
}

.module-body {
    padding: 1rem;
}

.module-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #334155;
}

.module-list svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
}


.instructor-card {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.avatar-circle {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background: linear-gradient(to bottom right, #2563eb, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.instructor-info h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.instructor-info p {
    color: #475569;
    margin-bottom: 1rem;
}

.instructor-stats {
    display: flex;
    gap: 1.5rem;
    color: #475569;
    font-size: 0.875rem;
}



.review-summary {
    background-color: #eff6ff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #bfdbfe;
}

.review-summary-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-number {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 600;
}

.review-summary p {
    color: #475569;
}

.review-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.review-header h4 {
    color: #0f172a;
    font-weight: 600;
}

.review-date {
    color: #64748b;
    font-size: 0.875rem;
}

.review-text {
    color: #475569;
}

.stars {
    display: flex;
    color: #eab308;
    
}

.stars span {
    font-size: 0.875rem;
}

@media (max-width: 767px) {
    .content-section {
        margin: 0;
        padding: 1.5rem 1rem;
    }

    
    .tabs-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabs-list {
        gap: 1rem;
        min-width: max-content; 
    }

    .tab-btn {
        font-size: 0.875rem;
        white-space: nowrap;
        padding-bottom: 0.75rem;
    }

    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    
    .instructor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem;
    }

    .instructor-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    
    .review-card {
        padding: 1rem;
    }

    .review-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .review-date {
        align-self: flex-start;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .content-section {
        margin: 0 2rem;
    }
}