﻿/* home research */
.home-research {
    --hr-bg: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
    --hr-card-bg: rgba(255, 255, 255, 0.94);
    --hr-text: #0f172a;
    --hr-muted: #64748b;
    --hr-primary: #2563eb;
    --hr-primary-dark: #1d4ed8;
    --hr-accent: #f97316;
    --hr-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    --hr-shadow-lg: 0 26px 60px rgba(37, 99, 235, 0.14);
    --hr-radius-xl: 28px;
    --hr-radius-lg: 22px;
    --hr-radius-pill: 999px;
    --hr-container: 1280px;
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background: var(--hr-bg);
}
.home-research-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}
    .home-research::before,
    .home-research::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(70px);
        pointer-events: none;
        z-index: 0;
    }

    .home-research::before {
        width: 260px;
        height: 260px;
        left: -80px;
        top: 40px;
        background: rgba(37, 99, 235, 0.10);
    }

    .home-research::after {
        width: 280px;
        height: 280px;
        right: -100px;
        bottom: 0;
        background: rgba(99, 102, 241, 0.09);
    }

.home-research-container {
    width: min(var(--hr-container), calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home-research-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-width: 0;
}

.home-research-content {
    padding-right: 8px;
    min-width: 0;
}

.home-research-tag {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--hr-accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.home-research-title {
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--hr-text);
    word-break: break-word;
}

.home-research-desc {
    margin: 0 0 28px;
    max-width: 330px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--hr-muted);
}

.home-research-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 54px;
    padding: 0 28px;
    border-radius: var(--hr-radius-pill);
    background: linear-gradient(135deg, var(--hr-primary) 0%, var(--hr-primary-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
    transition: transform .28s ease, box-shadow .28s ease;
    overflow: hidden;
}

    .home-research-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 20px 38px rgba(37, 99, 235, 0.28);
    }

.home-research-slider {
    position: relative;
    padding: 0 62px;
    min-width: 0;
    width: 100%;
}

.home-research-viewport {
    overflow: hidden;
    padding: 18px 0 22px;
    width: 100%;
    min-width: 0;
}

.home-research-track {
    display: flex;
    will-change: transform;
    touch-action: pan-y;
    min-width: 0;
}

.home-research-slide {
    flex: 0 0 33.3333%;
    min-width: 0;
    padding: 0 14px;
}

.home-research-card {
    position: relative;
    width: 100%;
    background: var(--hr-card-bg);
    border-radius: var(--hr-radius-xl);
    overflow: hidden;
    box-shadow: var(--hr-shadow);
    transform: scale(.88);
    opacity: .48;
    transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease;
}

.home-research-slide.is-active .home-research-card {
    transform: scale(1);
    opacity: 1;
    box-shadow: var(--hr-shadow-lg);
}

.home-research-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

    .home-research-media img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .8s ease;
    }

.home-research-slide.is-active .home-research-media img {
    transform: scale(1.05);
}

.home-research-card-body {
    padding: 22px 24px 24px;
}

.home-research-card-title {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 700;
    color: #1e293b;
}

.home-research-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hr-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color .25s ease, transform .25s ease;
}

    .home-research-card-link:hover {
        color: var(--hr-primary);
        transform: translateX(3px);
    }

.home-research-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #0f172a;
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
    cursor: pointer;
    z-index: 5;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .home-research-arrow:hover {
        transform: translateY(-50%) scale(1.06);
        box-shadow: 0 18px 34px rgba(15,23,42,.16);
    }

    .home-research-arrow svg {
        width: 22px;
        height: 22px;
    }

.home-research-arrow-prev {
    left: 0;
}

.home-research-arrow-next {
    right: 0;
}

.home-research-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.home-research-progress {
    width: 220px;
    height: 4px;
    background: rgba(148, 163, 184, .25);
    border-radius: 999px;
    overflow: hidden;
}

.home-research-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--hr-primary), #4f46e5);
    border-radius: inherit;
    transition: width .12s linear;
}

.home-research-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home-research-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(15,23,42,.78);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

    .home-research-dot.is-active {
        background: var(--hr-primary);
        border-color: var(--hr-primary);
        transform: scale(1.08);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    }

@media (max-width: 1199.98px) {
    .home-research-grid {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .home-research-title {
        font-size: 44px;
    }

    .home-research-slide {
        flex: 0 0 50%;
    }

    .home-research-slider {
        padding: 0 56px;
    }

    .home-research-media {
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .home-research {
        padding: 72px 0;
    }

    .home-research-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-research-content {
        text-align: center;
        padding-right: 0;
    }

    .home-research-title {
        font-size: 40px;
    }

    .home-research-desc {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
        text-align:justify;
    }
}

@media (max-width: 767.98px) {
    .home-research {
        padding: 56px 0;
    }

    .home-research-container {
        width: min(100% - 16px, var(--hr-container));
    }

    .home-research-grid {
        gap: 24px;
    }

    .home-research-content {
        text-align: center;
    }

    .home-research-tag {
        margin-bottom: 14px;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .home-research-title {
        font-size: 30px;
        line-height: 1.15;
        letter-spacing: -1px;
        margin-bottom: 14px;
    }

    .home-research-desc {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .home-research-btn {
        min-width: 158px;
        height: 46px;
        font-size: 16px;
    }

    .home-research-slider {
        padding: 0 18px;
    }

    .home-research-viewport {
        padding: 12px 0 18px;
    }

    .home-research-slide {
        flex: 0 0 100%;
        padding: 0 4px;
    }

    .home-research-card {
        transform: scale(.98);
        opacity: .82;
    }

    .home-research-slide.is-active .home-research-card {
        transform: scale(1);
        opacity: 1;
    }

    .home-research-media {
        height: 340px;
    }

    .home-research-card-body {
        padding: 18px 18px 20px;
    }

    .home-research-card-title {
        font-size: 19px;
    }

    .home-research-card-link {
        font-size: 15px;
    }

    .home-research-arrow {
        width: 38px;
        height: 38px;
        top: 50%;
    }

        .home-research-arrow svg {
            width: 18px;
            height: 18px;
        }

    .home-research-arrow-prev {
        left: 0;
    }

    .home-research-arrow-next {
        right: 0;
    }

    .home-research-progress {
        width: 150px;
        height: 3px;
    }

    .home-research-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .home-research-title {
        font-size: 27px;
    }

    .home-research-slider {
        padding: 0 14px;
    }

    .home-research-slide {
        padding: 0 2px;
    }

    .home-research-media {
        height: 300px;
    }

    .home-research-arrow {
        width: 36px;
        height: 36px;
    }
}


