.courses-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    background: #ffffff;
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
}

.watermark-bg {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 150px;
    font-weight: 900;
    color: #f7f8fa;
    z-index: 0;
    white-space: nowrap;
    letter-spacing: -2px;
}

.courses-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.filter-wrapper {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.filter-wrapper::-webkit-scrollbar { display: none; }

.filter-pill {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1.5px solid #eee;
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
    color: #555;
}

.filter-pill.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.courses-slider {
    display: flex;
    gap: 25px;
    margin-bottom: 10px;
    overflow-x: hidden; 
    scroll-behavior: smooth;
    padding: 10px 5px; 
}

.uni-card {
    flex: 0 0 calc((100% - (2 * 25px)) / 3); 
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 20px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uni-card.hidden {
    display: none;
}

.uni-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transform: translateY(-8px);
}

.uni-thumb {
    position: relative;
    height: 210px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.uni-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.partner-badge img {
    height: 24px;
    width: auto;
}

.uni-info {
    padding: 30px 20px 20px;
}

.uni-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.uni-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.tag-row {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.admission-tag {
    background: #fff8f0;
    color: #ff6933;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.status-tag.closed {
    background: #fff1f1;
    color: #ef4444;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.uni-footer {
    border-top: 1.5px solid #f8f8f8;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-icons {
    display: flex;
    gap: 15px;
    color: #4477ff;
}

.course-duration {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    transition: 0.2s;
}

.nav-arrow:hover {
    border-color: #333;
    background: #f9f9f9;
}

@media (max-width: 1024px) {
    .courses-section { padding: 40px 0; }
    
    .watermark-bg {
        font-size: 100px; 
        top: 20px;
    }

    .uni-card {
        flex: 0 0 calc((100% - 25px) / 2); 
    }
}

@media (max-width: 768px) {
    .watermark-bg {
        font-size: 100px; 
        letter-spacing: 2px;
    }

    .courses-container {
        padding: 0 20px;
    }

    .courses-slider {
        overflow-x: auto; 
        padding-bottom: 20px;
        gap: 15px;
    }

    .uni-card {
        flex: 0 0 85%;
    }

    .uni-thumb {
        height: 180px;
    }

    .section-title {
        font-size: 18px;
        text-align: center;
    }

    .slider-nav {
        display: none;
    }
}

@media (max-width: 350px) {
    .uni-card {
        flex: 0 0 95%;
    }
    
    .watermark-bg {
        font-size: 45px;
    }
}