:root {
    --primary-blue: #243A6A;
    --accent-red: #E4002B;
    --glass-white: rgba(255, 255, 255, 0.95);
}

/* Smooth Search Transition */
.hidden-search {
    display: none !important;
}

/* --- MENTOR TEMPLATE STYLE OVERRIDES --- */

.course-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
}

.course-card:hover {
    top: -8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Glassmorphism Search Bar */
.search-focus-wrapper {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-focus-wrapper:focus-within {
    border-color: var(--accent-red);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(228, 0, 43, 0.2);
}

/* Filter Pills */
.filter-pill {
    padding: 8px 20px;
    border-radius: 50px;
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.filter-pill.active, .filter-pill:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

/* Animated Underline for Titles */
.course-title a {
    position: relative;
    text-decoration: none;
}

.course-title a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.course-card:hover .course-title a::after {
    width: 100%;
}