/* Courses Styling System - Intedii Online */

/* Catalog Page Specifics */
.page-container {
    background: #ffffff;
    min-height: 100vh;
}

.simple-header {
    padding-top: 5rem;
    padding-bottom: 2rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.udemy-search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 2px 20px;
    background: #f8fafc;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.udemy-search-bar:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

.udemy-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 14px;
    outline: none;
    color: #1e293b;
}

.category-tabs {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    overflow-x: auto;
    padding: 10px 5px 25px;
    justify-content: center;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tabs a {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
    padding: 12px 24px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tabs a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #d4af37;
    color: #0f172a;
}

.category-tabs a.active {
    background: #0f172a;
    color: #d4af37;
    border-color: #0f172a;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

/* Detailed Page Specifics */
.course-hero-banner {
    position: relative;
    padding: 6rem 0 2rem;
    background: #0f172a;
    overflow: hidden;
}

.course-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.3);
    transform: scale(1.1);
    opacity: 0.5;
}

.course-thumbnail-mini {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Card System - Shared */
.udemy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.udemy-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 8px;
    border-radius: 16px;
    /* More rounded as requested */
    background: transparent;
}

.udemy-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.udemy-card .image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    border: 1px solid #f1f5f9;
}

.udemy-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.udemy-card .title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.udemy-card .instructor {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.udemy-card .meta-info {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.udemy-card .meta-info i {
    color: #d4af37;
}

.udemy-card .rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.udemy-card .rating-score {
    font-size: 13px;
    font-weight: 800;
    color: #b4690e;
}

.udemy-card .stars {
    display: flex;
    color: #f59e0b;
    font-size: 10px;
}

.udemy-card .price {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
}

.udemy-card .badge {
    background: #fef9c3;
    color: #854d0e;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Details Page UI Components */
.syllabus-accordion {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.syllabus-item {
    border-bottom: 1px solid #f1f5f9;
}

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

.sticky-purchase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.7) inset;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s ease;
}
.sticky-purchase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.7) inset;
}
.sticky-purchase-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #d4af37, #fde047, #d4af37);
}