
.ilf-hub { max-width: 1200px; margin: 16px auto 48px; padding: 0 16px; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1e293b; }

/* CRISP HERO */
.ilf-hero {
    background: linear-gradient(135deg, #09101f 0%, #1e3a8a 60%, #0284c7 100%);
    border-radius: 16px;
    padding: 24px 24px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.ilf-hero h1 { margin: 0 0 6px; font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; }
.ilf-hero p { margin: 0; font-size: 1rem; color: #e2e8f0; max-width: 760px; line-height: 1.5; }
.ilf-hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.ilf-stat { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 8px 14px; text-align: center; }
.ilf-stat-num { font-size: 1.25rem; font-weight: 800; color: #fff; }
.ilf-stat-lbl { font-size: 0.72rem; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.8px; }

/* CONTROLS BAR: SEARCH + FILTER CHIPS */
.ilf-controls {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.ilf-search-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
}
.ilf-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.ilf-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ilf-search-input:focus { border-color: #2563eb; }

.ilf-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ilf-chip {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ilf-chip:hover { background: #e2e8f0; }
.ilf-chip.active { background: #0f172a; color: #fff; border-color: #0f172a; }

/* SECTION LAYOUT */
.ilf-category-block { margin-bottom: 28px; }
.ilf-cat-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}
.ilf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

/* COURSE CARDS */
.ilf-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.ilf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    border-color: #cbd5e1;
}
.ilf-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.ilf-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.ilf-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.ilf-card-desc {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
}
.ilf-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.ilf-tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 6px;
}
.ilf-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

/* BUTTON THEMES */
.btn-med { background: #ef4444; color: #fff; }
.btn-med:hover { background: #dc2626; color: #fff; }
.btn-sci { background: #0d9488; color: #fff; }
.btn-sci:hover { background: #0f766e; color: #fff; }
.btn-tech { background: #2563eb; color: #fff; }
.btn-tech:hover { background: #1d4ed8; color: #fff; }
.btn-biz { background: #16a34a; color: #fff; }
.btn-biz:hover { background: #15803d; color: #fff; }

/* QUICK STRIP: ISLAMIC STUDIES NOTE */
.ilf-deen-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #475569;
    flex-wrap: wrap;
    gap: 8px;
}
.ilf-deen-strip a {
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
}
.ilf-deen-strip a:hover { text-decoration: underline; }

/* COMPACT FOOTER NOTICE */
.ilf-footer-note {
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
    padding: 12px 0 0;
    border-top: 1px solid #e2e8f0;
}
