/* ===== PREMIUM UPGRADE STYLES ===== */

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* --- Hiring Slider --- */
.hiring-section {
    background: #fbfbfb;
    position: relative;
    overflow: hidden;
}

.hiring-section h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #c8232c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 10px;
}

.hiring-slider-container {
    position: relative;
    padding: 60px 0;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.hiring-track {
    display: flex;
    gap: 85px;
    width: max-content;
    animation: infinite-scroll 40s linear infinite;
}

.hiring-track:hover {
    animation-play-state: paused;
}

@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.company-logo {
    height: 85px; /* Increased from 60px */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
    opacity: 1; /* Increased from 0.6 */
    transition: all 0.4s ease;
}

.company-logo:hover {
    transform: scale(1.15);
}

.hiring-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 20px;
}

/* --- Course Cards Premium --- */
.course-card-premium {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.course-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.1);
}

.badge-float {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.badge-trending { background: rgba(255, 68, 68, 0.9); color: white; }
.badge-bestseller { background: rgba(255, 170, 0, 0.9); color: white; }

.live-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    backdrop-filter: blur(4px);
}

.dot-pulse {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.course-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

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

.course-card-premium:hover .course-img-wrap img {
    transform: scale(1.1);
}

.course-content-premium {
    padding: 24px;
}

.course-title-premium {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.meta-item-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.meta-item-premium i {
    color: var(--primary);
    font-size: 0.9rem;
}

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

.price-wrap-premium {
    display: flex;
    flex-direction: column;
}

.price-premium {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
}

.old-price-premium {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.count-up {
    font-variant-numeric: tabular-nums;
}
