.study-abroad-fair .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: white;
}

.study-abroad-fair .page-header h3,
.study-abroad-fair .page-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.state-region-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3b82f6;
}

.top-bar-filter {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1rem;
    border-bottom: 2px solid #3b82f6;
    position: sticky;
    top: 0;
    z-index: 40;
}

    #study-abroad-fair { transition: opacity 0.2s ease-in-out; }
    .view-changing { opacity: 0; }
    
    /* CTA Card Styling */
    .cta-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 1rem;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .cta-card .start { flex: 1; min-width: 250px; }
    .cta-card .start h3 { color: white; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
    .cta-card .start p { color: rgba(255,255,255,0.9); font-size: 1rem; }
    .cta-card .end .button {
        background: white;
        color: #667eea;
        padding: 0.75rem 2rem;
        border-radius: 9999px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    .cta-card .end .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    }
    
    .study-abroad-fair .page-header { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 1rem 1.5rem; 
        border-bottom: 1px solid #e5e7eb; 
        background-color: white; 
    }
    .study-abroad-fair .page-header h3, .study-abroad-fair .page-header h1 { 
        font-size: 1.25rem; 
        font-weight: 600; 
        margin: 0; 
    }
    
    .study-abroad-fair .button { 
        cursor: pointer; 
        transition: all 0.2s ease-in-out; 
        text-decoration: none; 
        display: inline-block; 
        text-align: center;
    }
    .study-abroad-fair .button:hover { 
        transform: translateY(-2px); 
        box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    }
    .study-abroad-fair .button.black { 
        background-color: #1e40af; 
        color: white; 
        padding: 0.5rem 1rem; 
        border-radius: 9999px; 
        font-weight: 500; 
        border: none; 
        font-size: 0.875rem;
    }
    .study-abroad-fair .button.primary { 
        background-color: #2563eb; 
        color: white; 
        padding: 0.75rem 1.5rem; 
        border-radius: 0.5rem; 
        font-weight: 600; 
        border: none;
    }
    .study-abroad-fair .button.light-primary { 
        background-color: #dbeafe; 
        color: #1e40af; 
        padding: 0.5rem 1rem; 
        border-radius: 0.5rem; 
        font-weight: 600; 
        border: none; 
        font-size: 0.875rem;
    }
    .study-abroad-fair .button.wii-primary { 
        background-color: #06b6d4; 
        color: white; 
        padding: 0.5rem 1rem; 
        border-radius: 9999px; 
        font-weight: 500; 
        border: none; 
        font-size: 0.875rem;
    }
    
    /* Enhanced Course Card */
    .study-abroad-fair .course-card { 
        background: white; 
        border-radius: 0.75rem; 
        padding: 1.5rem; 
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 
        display: flex; 
        flex-direction: column; 
        justify-content: space-between; 
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; 
        border: 2px solid #e0e7ff;
    }
    .study-abroad-fair .course-card:hover { 
        transform: translateY(-5px); 
        box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.2), 0 4px 6px -4px rgb(37 99 235 / 0.1); 
        border-color: #3b82f6; 
    }
    .study-abroad-fair .course-card h3 { 
        font-size: 1.125rem; 
        font-weight: 700; 
        margin-bottom: 0.5rem; 
        color: #1e40af; 
    }
    .study-abroad-fair .course-card .buttons { 
        margin-top: 1.5rem; 
        display: flex; 
        gap: 0.5rem; 
    }
    
    .study-abroad-fair .course-description { 
        padding: 2rem; 
        line-height: 1.75; 
    }
    .study-abroad-fair .course-description h4 { 
        font-size: 1.25rem; 
        font-weight: 700; 
        color: #1e3a8a; 
        margin-top: 1.5rem; 
        margin-bottom: 0.5rem; 
    }
    .study-abroad-fair .course-description ul { 
        list-style-type: disc; 
        margin-left: 1.5rem; 
        margin-bottom: 1rem; 
    }
    
    .institution-card { 
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    }
    .institution-card:hover { 
        transform: translateY(-3px); 
        box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.2); 
    }

    /* Badge styling for featured institutions */
    .institution-badge-inline {
        display: inline-block;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: white;
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
        font-weight: 600;
        border-radius: 9999px; /* Pill shape */
        margin-bottom: 0.5rem; /* Space below badge */
    }
    
    .institution-card .logo-container {
        border: 1px solid #f3f4f6;
    }
    
    .state-region-heading { 
        font-size: 1.5rem; 
        font-weight: 600; 
        color: #1e40af; 
        margin-top: 2rem; 
        margin-bottom: 1rem; 
        padding-bottom: 0.5rem; 
        border-bottom: 3px solid #3b82f6;
    }
    
    .top-bar-filter { 
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); 
        padding: 1rem; 
        border-bottom: 2px solid #3b82f6; 
        position: sticky; 
        top: 0; 
        z-index: 40;
    }
    
    @media (max-width: 768px) {
        .cta-card {
            flex-direction: column;
            text-align: center;
        }
        .cta-card .start h3 { font-size: 1.25rem; }
        
        .institution-card .flex {
            gap: 0.75rem;
        }
        .institution-card .logo-container {
            width: 3.5rem;
            height: 3.5rem;
        }
        .institution-card h3 {
            font-size: 0.813rem;
        }
    }
