
    :root {
        --primary-color: #2563eb;
        --secondary-color: #1e40af;
        --accent-color: #e11d48;
        --light-bg: #f8fafc;
        --dark-text: #1e293b;
        --gray-text: #64748b;
    }

    /* Hero Section with improved loading */
    .institutions-hero {
        background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), 
                    url('../static/images/C2.png') center center / cover no-repeat;
        color: white;
        padding: 80px 0;
        margin-bottom: 40px;
        position: relative;
        overflow: hidden;
        min-height: 350px;
        display: flex;
        align-items: center;
        animation: fadeIn 0.5s ease-in;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .hero-content p {
        font-size: 1.2rem;
        opacity: 0.95;
        margin-bottom: 30px;
        color: aliceblue;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }

    .search-container {
        max-width: 700px;
        margin: 0 auto;
    }

    .search-box {
        display: flex;
        background: white;
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s;
    }

    .search-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }

    .search-box input {
        flex: 1;
        border: none;
        padding: 18px 25px;
        font-size: 1rem;
        outline: none;
    }

    .search-box button {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 0 30px;
        cursor: pointer;
        transition: background 0.3s;
        font-size: 1.2rem;
    }

    .search-box button:hover {
        background: var(--secondary-color);
    }

    /* Filters Sidebar */
    .filters-sidebar {
        background: white;
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 100px;
    }

    .filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 2px solid #eef2f6;
        padding-bottom: 15px;
    }

    .filters-header h4 {
        margin: 0;
        color: var(--dark-text);
        font-weight: 600;
    }

    .btn-reset {
        background: none;
        border: none;
        color: var(--primary-color);
        cursor: pointer;
        font-weight: 500;
        transition: color 0.2s;
    }

    .btn-reset:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .filter-group {
        margin-bottom: 20px;
    }

    .filter-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--gray-text);
        font-size: 0.9rem;
    }

    .form-select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background-color: white;
        transition: border 0.2s, box-shadow 0.2s;
        cursor: pointer;
    }

    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        outline: none;
    }

    /* Results Header */
    .results-header {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .results-header h5 {
        margin: 0;
        color: var(--dark-text);
        font-size: 1.1rem;
        font-weight: 500;
    }

    /* Institutions List */
    .institutions-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Loading Indicator */
    .loading-indicator {
        display: none;
        text-align: center;
        padding: 30px;
    }

    .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #e5e7eb;
        border-top: 4px solid var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Pagination */
    .pagination-container {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .pagination {
        display: flex;
        list-style: none;
        padding: 0;
        gap: 5px;
    }

    .page-item .page-link {
        display: block;
        padding: 8px 14px;
        border-radius: 8px;
        background: white;
        color: var(--dark-text);
        border: 1px solid #e2e8f0;
        transition: all 0.2s;
        text-decoration: none;
    }

    .page-item.active .page-link {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .page-item .page-link:hover {
        background: #f1f5f9;
        transform: translateY(-2px);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .filters-sidebar {
            position: static;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 768px) {
        .institutions-hero {
            padding: 60px 0;
            min-height: 300px;
        }
        .hero-content h1 {
            font-size: 2rem;
        }
        .search-box input {
            padding: 14px 20px;
        }
        .search-box button {
            padding: 0 20px;
        }
    }
