/* =========================================================================
   PREMIUM SaaS STYLE OVERHAUL FOR STUDY IN INDIA
   ========================================================================= */

body[data-page="studyindia"] {
    background: #fdfdfd;
}

.premium-study-wrapper {
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
}

/* Typography & Utilities */
.section-heading-premium {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-heading-premium h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.section-heading-premium p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.text-center { text-align: center; }

/* -----------------------------------------------------------
   1. HERO SECTION
   ----------------------------------------------------------- */
.premium-hero {
    position: relative;
    padding: 8rem 1rem 5rem;
    background: linear-gradient(135deg, #091321 0%, #152b47 50%, #1a3c61 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.premium-hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background: url('../images/banner3.png') center/cover no-repeat;
    animation: slowZoom 20s linear infinite alternate;
}
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.premium-hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
}
.hero-eyebrow {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffb958;
    margin-bottom: 1.2rem;
    display: inline-block;
    font-weight: 600;
}
.premium-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}
.premium-hero h1 span {
    color: #f28c3e;
    position: relative;
    white-space: nowrap;
}
.premium-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(242, 140, 62, 0.3);
    z-index: -1;
    border-radius: 4px;
}
.premium-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-inline: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 4rem;
}
.btn-premium {
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, #ffb958, #f28c3e);
    color: #0f2027;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
}
.btn-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(242, 140, 62, 0.35);
}
.btn-premium-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}
.btn-premium-outline:hover {
    background: #fff;
    color: #0f2027;
    border-color: #fff;
    box-shadow: 0 12px 25px rgba(255,255,255,0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item strong {
    font-size: 3rem;
    font-weight: 800;
    color: #ffb958;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-item span {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 500;
}

/* -----------------------------------------------------------
   2. CATEGORIES
   ----------------------------------------------------------- */
.premium-categories {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom, #ffffff, #f7f9fd);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.category-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(242, 140, 62, 0.05), rgba(255, 185, 88, 0.05));
    opacity: 0;
    transition: 0.3s ease;
    z-index: -1;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 32, 39, 0.08);
    border-color: rgba(242, 140, 62, 0.2);
}
.category-card:hover::after {
    opacity: 1;
}
.category-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}
.category-card:hover .icon {
    transform: scale(1.15) rotate(5deg);
}
.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* -----------------------------------------------------------
   3. FILTER AND FINDER
   ----------------------------------------------------------- */
.premium-finder {
    padding: 2rem 1rem 6rem;
    background: #f7f9fd;
}

.glass-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 2rem;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    margin-bottom: 4rem;
    align-items: end;
    position: sticky;
    top: 80px; /* offset for header */
    z-index: 50;
}
.filter-group label {
    font-weight: 600;
    color: #1a1a2e;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #666;
}
.filter-group select {
    width: 100%;
    padding: 1.1rem 1.2rem;
    padding-right: 2.5rem;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.05);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: #444;
    cursor: pointer;
    appearance: none;
    transition: 0.3s;
    outline: none;
}
.filter-group select:focus {
    border-color: #f28c3e;
    box-shadow: 0 0 0 4px rgba(242, 140, 62, 0.1);
}

.filter-actions {
    display: flex;
    gap: 1rem;
}
.btn-premium-apply {
    background: linear-gradient(135deg, #152b47, #1a1a2e);
    color: #fff;
    border: none;
    padding: 1.1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-premium-apply:hover {
    box-shadow: 0 10px 25px rgba(26, 26, 46, 0.3);
    transform: translateY(-3px);
}
.btn-premium-reset {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 1.5rem;
    border-radius: 14px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    background: rgba(0,0,0,0.04);
}
.btn-premium-reset:hover {
    background: rgba(0,0,0,0.08);
    color: #111;
}

/* -----------------------------------------------------------
   4. RESULTS GRID & EMPTY STATE
   ----------------------------------------------------------- */
.premium-empty-state {
    text-align: center;
    padding: 6rem 2rem;
    background: #fff;
    border-radius: 28px;
    border: 2px dashed rgba(26, 26, 46, 0.15);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}
.empty-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite ease-in-out;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.premium-empty-state h3 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.premium-empty-state p {
    color: #666;
    font-size: 1.1rem;
}

.premium-college-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.premium-college-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}
.premium-college-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(26, 26, 46, 0.12);
}

.premium-college-card .card-media {
    width: 270px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #edeff5;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.premium-college-card:hover .card-media img {
    transform: scale(1.08);
}
.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 32, 39, 0.6) 0%, transparent 60%);
}

.badge-top {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, #f28c3e, #ffb958);
    color: #0f2027;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.badge-state {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-content h3 {
    font-size: 1.45rem;
    color: #1a1a2e;
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.2rem;
}
.card-meta strong {
    color: #333;
    font-weight: 600;
}

.card-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
}

.card-course-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(21, 43, 71, 0.08);
    color: #152b47;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-fees {
    background: rgba(242, 140, 62, 0.08);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #0f2027;
    font-weight: 500;
}
.card-fees strong {
    color: #f28c3e;
    margin-right: 0.5rem;
}

.card-footer {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.btn-view {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #eaeaea;
    transition: 0.3s;
}
.btn-view:hover {
    background: #f8faff;
    border-color: #d1d5df;
    color: #111;
}

.btn-apply-animated {
    background: linear-gradient(135deg, #152b47, #1a1a2e);
    color: #fff;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: 0.3s;
    margin-left: auto;
}
.btn-apply-animated .arrow {
    transition: 0.3s;
}
.btn-apply-animated:hover {
    box-shadow: 0 10px 20px rgba(26,26,46,0.25);
    transform: translateY(-2px);
}
.btn-apply-animated:hover .arrow {
    transform: translateX(5px);
}

/* -----------------------------------------------------------
   5. WHY STUDY IN INDIA
   ----------------------------------------------------------- */
.premium-why-india {
    padding: 6rem 1rem;
    background: #fff;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.benefit-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #fdfdfd;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.3s;
}
.benefit-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transform: translateY(-5px);
}
.benefit-card .b-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}
.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------
   6. PLACEMENTS
   ----------------------------------------------------------- */
.premium-placements {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #f8faff, #ffffff);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.placement-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}
.placement-content {
    flex: 1;
}
.placement-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a2e;
}
.placement-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.placement-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
}
.placement-stats li {
    font-size: 1.15rem;
    color: #444;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.placement-stats strong {
    font-size: 1.5rem;
    color: #f28c3e;
    margin-right: 1rem;
    font-weight: 800;
}
.placement-brands {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.brand-item {
    background: #fff;
    padding: 2.5rem 1rem;
    text-align: center;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #888;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: 0.3s;
}
.brand-item:hover {
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* -----------------------------------------------------------
   7. FAQ
   ----------------------------------------------------------- */
.premium-faq {
    padding: 6rem 1rem;
    background: #fff;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 1rem;
}
.faq-item summary {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item p {
    padding-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* -----------------------------------------------------------
   8. FINAL CTA
   ----------------------------------------------------------- */
.premium-cta {
    padding: 0 1rem 6rem;
    background: #fff;
}
.cta-banner {
    background: linear-gradient(135deg, #f28c3e, #ffb958);
    border-radius: 32px;
    padding: 5rem 2rem;
    text-align: center;
    color: #152b47;
    box-shadow: 0 25px 50px rgba(242, 140, 62, 0.2);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/pattern-grid.svg') center/cover repeat;
    opacity: 0.1;
    pointer-events: none;
}
.cta-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}
.cta-banner p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 2;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.cta-buttons .btn-premium-large {
    background: #1a1a2e;
    color: #fff;
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.cta-buttons .btn-premium-large:hover {
    box-shadow: 0 15px 30px rgba(26,26,46,0.3);
    transform: translateY(-3px);
}
.cta-buttons .btn-premium-white {
    background: #fff;
    color: #f28c3e;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: 0.3s;
}
.cta-buttons .btn-premium-white:hover {
    box-shadow: 0 15px 30px rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

/* -----------------------------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------------------------- */
@media (max-width: 1200px) {
    .premium-college-card .card-media {
        width: 220px;
    }
}
@media (max-width: 1024px) {
    .category-grid, .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .glass-filter-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .premium-college-grid {
        grid-template-columns: 1fr;
    }
    .placement-flex {
        flex-direction: column;
        gap: 3rem;
    }
    .premium-hero h1 {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .premium-hero {
        padding: 6rem 1rem 4rem;
    }
    .premium-hero h1 {
        font-size: 2.4rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    .premium-college-card {
        flex-direction: column;
    }
    .premium-college-card .card-media {
        width: 100%;
        height: 250px;
    }
    .placement-brands {
        grid-template-columns: repeat(2, 1fr);
    }
    .glass-filter-bar {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .filter-actions {
        flex-direction: column;
    }
    .btn-premium-apply, .btn-premium-reset {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-banner h2 {
        font-size: 2.2rem;
    }
}

/* Cascading finder enhancements */
.glass-filter-bar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

.filter-group {
    min-width: 0;
}

.filter-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.8rem;
}

.filter-label-icon,
.search-select-leading,
.category-card .icon,
.benefit-card .b-icon,
.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: rgba(21, 43, 71, 0.1);
    color: #152b47;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.search-select {
    position: relative;
}

.search-select.is-disabled {
    opacity: 0.6;
}

.search-select-toggle {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(21, 43, 71, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
    color: #152b47;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-select-toggle:hover:not(:disabled),
.search-select.is-open .search-select-toggle {
    transform: translateY(-1px);
    border-color: rgba(83, 116, 255, 0.22);
    box-shadow: 0 18px 32px rgba(15, 43, 76, 0.12);
}

.search-select-toggle:disabled {
    cursor: not-allowed;
}

.search-select-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.search-select-caret {
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid #4a5f7d;
    border-bottom: 2px solid #4a5f7d;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.search-select.is-open .search-select-caret {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.search-select-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    right: 0;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(21, 43, 71, 0.09);
    box-shadow: 0 24px 60px rgba(13, 30, 57, 0.18);
    backdrop-filter: blur(16px);
    z-index: 30;
}

.search-select-search-shell {
    padding: 0.2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(83, 116, 255, 0.08), rgba(0, 192, 255, 0.08));
}

.search-select-search {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(21, 43, 71, 0.08);
    background: #fff;
    font: inherit;
    color: #152b47;
    outline: none;
}

.search-select-search:focus {
    border-color: rgba(83, 116, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(83, 116, 255, 0.1);
}

.search-select-status {
    margin: 0.85rem 0 0.75rem;
    font-size: 0.9rem;
    color: #5b6a82;
}

.search-select-options {
    display: grid;
    gap: 0.5rem;
    max-height: 260px;
    overflow-y: auto;
}

.search-select-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(21, 43, 71, 0.07);
    border-radius: 14px;
    background: #fff;
    color: #152b47;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-select-option:hover,
.search-select-option.is-highlighted,
.search-select-option.is-selected {
    background: linear-gradient(135deg, rgba(83, 116, 255, 0.08), rgba(0, 192, 255, 0.08));
    border-color: rgba(83, 116, 255, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 41, 77, 0.08);
}

.filter-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(180px, 220px));
    gap: 1rem;
    justify-content: end;
    align-items: center;
}

.finder-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 2rem;
    margin: 0 0 1.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(14, 31, 58, 0.98), rgba(30, 73, 127, 0.94));
    color: #fff;
    box-shadow: 0 24px 60px rgba(16, 38, 69, 0.16);
}

.finder-summary-card h2 {
    margin: 0 0 0.55rem;
    font-size: 1.65rem;
    color: #fff;
}

.finder-summary-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.finder-summary-eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: #ffb958;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

.finder-summary-meta {
    min-width: 220px;
    padding: 1.25rem 1.4rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.finder-summary-meta strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    color: #ffb958;
}

.finder-summary-meta span {
    display: block;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.82);
}

.active-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(21, 43, 71, 0.08);
    color: #152b47;
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 1280px) {
    .glass-filter-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .glass-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        top: 72px;
    }

    .finder-summary-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .finder-summary-meta {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .glass-filter-bar {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        grid-template-columns: 1fr;
    }

    .search-select-panel {
        position: static;
        margin-top: 0.7rem;
    }
}

/* 2026-04 finder alignment refinements */
.premium-finder .container {
    max-width: min(1720px, calc(100% - 2rem));
}

.glass-filter-bar,
.premium-finder,
.premium-college-grid {
    overflow: visible;
}

.glass-filter-bar {
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(300px, 380px);
    width: 100%;
    max-width: none;
    padding: 1.6rem;
    gap: 1rem;
    align-items: end;
    position: relative;
    top: auto;
}

.glass-filter-bar .filter-group {
    min-width: 0;
}

.filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    align-self: stretch;
}

.btn-premium-apply,
.btn-premium-reset {
    width: 100%;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-select-panel {
    width: 100%;
    min-width: 100%;
    z-index: 90;
}

.premium-college-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-college-card {
    flex-direction: column;
}

.premium-college-card .card-media {
    width: 100%;
    height: 240px;
}

.card-content {
    padding: 1.45rem;
}

@media (max-width: 1320px) {
    .glass-filter-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .filter-actions {
        grid-column: 1 / -1;
        justify-self: end;
        width: min(100%, 420px);
    }

    .premium-college-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .glass-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-actions {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .glass-filter-bar,
    .filter-actions {
        grid-template-columns: 1fr;
    }

    .premium-college-grid {
        grid-template-columns: 1fr;
    }
}

/* 2026-04-09 finder alignment final overrides */
.glass-filter-bar .filter-group,
.glass-filter-bar .filter-actions,
.glass-filter-bar .filter-group .search-select {
    min-width: 0;
}

.glass-filter-bar .filter-actions {
    align-self: stretch;
}

.glass-filter-bar .btn-premium-apply,
.glass-filter-bar .btn-premium-reset {
    min-width: 0;
}

@media (max-width: 1320px) {
    .glass-filter-bar {
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .glass-filter-bar {
        padding: 1rem;
        gap: 0.9rem;
    }
}

