.research-main {
    color: #0f3477;
    background: #fff;
}

.research-hero {
    min-height: 350px;
    display: flex;
    align-items: center;
}

.research-hero-content {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.research-hero h1 {
    margin: 0 0 22px;
    font-size: 54px;
    line-height: 1.08;
    color: #0d3479;
    font-weight: 800;
}

.research-hero p {
    max-width: 470px;
    margin: 0 0 26px;
    color: #1e437f;
    font-size: 17px;
    line-height: 1.8;
}

.research-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    height: 48px;
    background: #0057d9;
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 87, 217, 0.22);
}

.studies-section {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 72px 0 70px;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-title-row h2 {
    margin: 0 0 10px;
    color: #0d3479;
    font-size: 28px;
    font-weight: 800;
}

.section-title-row p {
    margin: 0;
    color: #36527f;
    font-size: 15px;
}

.view-all-link {
    color: #0057d9;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.view-all-link span {
    margin-left: 8px;
}

.research-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(170px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin: 0 0 22px;
    padding: 18px;
    background: #f6f9ff;
    border: 1px solid #dce7f6;
    border-radius: 14px;
}

.filters-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    background: #0057d9;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.filters-overlay {
    display: none;
}

.filters-mobile-header {
    display: none;
}

.research-filters label {
    display: grid;
    gap: 7px;
    color: #254d85;
    font-size: 13px;
    font-weight: 800;
}

.research-filters input,
.research-filters select {
    width: 100%;
    height: 44px;
    border: 1px solid #dce7f6;
    border-radius: 9px;
    padding: 0 12px;
    background: #fff;
    color: #10356f;
    font-size: 14px;
    outline: none;
}

.research-filters input:focus,
.research-filters select:focus {
    border-color: #0057d9;
    box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.08);
}

.research-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.research-filter-actions button,
.research-filter-actions a {
    height: 44px;
    padding: 0 16px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.research-filter-actions button {
    border: 0;
    background: #0057d9;
    color: #fff;
    cursor: pointer;
}

.research-filter-actions a {
    border: 1px solid #dce7f6;
    color: #0057d9;
    background: #fff;
}

.research-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
}

.tabs-slide-btn {
    display: none;
    position: sticky;
    align-self: center;
    flex-shrink: 0;
    width: 32px;
    height: 36px;
    border: 1px solid #dce7f6;
    background: #fff;
    color: #0057d9;
    box-shadow: 0 4px 14px rgba(13, 58, 130, 0.22);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 12px;
}

.tabs-slide-btn.prev {
    left: 0;
}

.tabs-slide-btn.next {
    right: 0;
}

.research-category-pills a {
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid #dce7f6;
    border-radius: 999px;
    color: #254d85;
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.research-category-pills a.active,
.research-category-pills a:hover {
    background: #e7f1ff;
    border-color: #bcd4f5;
    color: #0057d9;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.study-card {
    display: flex;
    flex-direction: column;
    min-height: 290px;
    background: #fff;
    border: 1px solid #e1eaf6;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(25, 70, 125, 0.08);
    transition: 0.25s ease;
}

.study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(25, 70, 125, 0.13);
}

.study-category {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 22px;
}

.study-category.blue {
    background: #e8f1ff;
    color: #0057d9;
}

.study-category.purple {
    background: #efe7ff;
    color: #6f4bd8;
}

.study-category.green {
    background: #dff8ee;
    color: #11956d;
}

.study-category.pink {
    background: #ffe7ef;
    color: #d83f75;
}

.study-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #edf5ff;
    color: #0057d9;
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.study-card h3 {
    margin: 0 0 12px;
    color: #0d3479;
    font-size: 22px;
    font-weight: 800;
}

.study-card p {
    margin: 0 0 22px;
    color: #36527f;
    font-size: 15px;
    line-height: 1.65;
}

.study-tomeas {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #60739b;
    font-size: 13px;
    font-weight: 700;
    margin: auto 0 18px;
}

.study-tomeas i {
    color: #0057d9;
}

.study-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.study-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #14885f;
    font-size: 13px;
    font-weight: 700;
}

.study-status i {
    width: 8px;
    height: 8px;
    background: #20c785;
    border-radius: 50%;
    display: inline-block;
}

.study-status.completed {
    color: #44607f;
}

.study-status.completed i {
    background: #8aa0bd;
}

.study-status.upcoming {
    color: #b26b00;
}

.study-status.upcoming i {
    background: #f0a12b;
}

.study-status.suspended {
    color: #c23a4b;
}

.study-status.suspended i {
    background: #df5a6b;
}

.study-bottom a {
    color: #0057d9;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.study-bottom a span {
    margin-left: 6px;
}

.studies-more {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.studies-more a {
    min-width: 220px;
    height: 48px;
    border: 1px solid #cfdcf0;
    border-radius: 9px;
    color: #0057d9;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #fff;
}

.research-empty {
    padding: 42px 28px;
    border: 1px solid #dce7f6;
    border-radius: 14px;
    background: #f6f9ff;
    text-align: center;
}

.research-empty h3 {
    margin: 0 0 10px;
    color: #0d3479;
    font-size: 22px;
}

.research-empty p {
    margin: 0 0 18px;
    color: #36527f;
}

.research-empty a {
    color: #0057d9;
    font-weight: 800;
    text-decoration: none;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 42px 0 0;
}

.pagination a,
.pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid #dce7f6;
    background: #fff;
    color: #0057d9;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.pagination a:hover,
.pagination button:hover {
    background: #edf5ff;
    border-color: #bcd4f5;
    transform: translateY(-2px);
}

.pagination .active {
    background: #0057d9;
    color: #fff;
    border-color: #0057d9;
    box-shadow: 0 8px 20px rgba(0, 87, 217, 0.22);
}

.pagination span {
    min-width: 32px;
    height: 40px;
    color: #6c7fa3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.pagination a:first-child,
.pagination a:last-child,
.pagination button:first-child,
.pagination button:last-child {
    border-radius: 50%;
    width: 40px;
    padding: 0;
}

.research-cta {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 50px max(4%, calc((100% - 1180px) / 2));
    background:
            linear-gradient(90deg, rgba(0,48,135,0.96), rgba(0,87,217,0.84)),
            url("https://images.unsplash.com/photo-1636955840493-f43a02bfa064?q=80&w=1600") center / cover no-repeat;
    color: #fff;
}

.research-cta h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 800;
}

.research-cta p {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.research-cta-btn {
    min-width: 220px;
    height: 52px;
    background: #fff;
    color: #0057d9;
    border-radius: 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .research-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .research-filter-actions {
        grid-column: 1 / -1;
    }

    .studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .research-hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 700px) {
    .filters-toggle-btn {
        display: flex;
    }

    .research-category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .research-category-pills a {
        flex: none;
        white-space: nowrap;
    }

    .tabs-slide-btn {
        display: flex;
    }

    .research-filters {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1300;
        width: 340px;
        max-width: 88vw;
        height: 100vh;
        margin: 0;
        overflow-y: auto;
        grid-template-columns: 1fr;
        align-content: start;
        align-items: stretch;
        gap: 16px;
        border-radius: 0;
        transition: right 0.3s ease;
    }

    .research-filters.is-open {
        right: 0;
    }

    .filters-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid #dce7f6;
    }

    .filters-mobile-header h3 {
        margin: 0;
    }

    .filters-close {
        border: none;
        background: none;
        font-size: 20px;
        color: #6c7fa3;
        cursor: pointer;
    }

    .filters-overlay.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(16, 40, 80, 0.45);
    }

    .research-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .research-hero {
        min-height: 390px;
    }

    .research-hero h1 {
        font-size: 36px;
    }

    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .studies-grid {
        grid-template-columns: 1fr;
    }

    .research-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}



.study-card{
    opacity:0;
    transform:translateY(30px);
    transition:
            opacity .6s ease,
            transform .6s ease;
}

.study-card.show{
    opacity:1;
    transform:translateY(0);
}