@import url("../layout/tab.css");

/***********************
      Business Area
 ***********************/

.business-section .section-container {
    padding: 0;
}

.business-section .section-title {
    margin-top: 120px;
}

.business-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 40px;
}

.business-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.business-header {
    display: flex;
    gap: 20px;
    margin-bottom: 180px;
}

.business-detail-wrapper {
    margin: 70px 0 0;
}

.business-detail-title {
    flex: 1;
    font-size: 48px;
    font-weight: bold;
    color: #264FA5;
    line-height: 1.3;
    margin-bottom: 24px;
}

.business-detail-desc {
    flex: 2.5;
    color: #424A53;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
}

.business-overview-wrapper {
    background-color: #F6F8FA;
    border-radius: 50px;
    padding: 60px 70px;
    margin-top: 40px;
}

.overview-title {
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}

.overview-list {
    margin-bottom: 80px;
}

.overview-list:only-child,
.overview-list:last-child {
    margin-bottom: 0;
}

.overview-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    font-size: var(--font-md);
    font-weight: 500;
    line-height: 1.8;
}

.overview-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -11px;
    color: rgba(38, 79, 165, 0.7);
    font-size: 1.6em;
    line-height: 1.8;
}

.overview-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.single-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.single-row img {
    border-radius: 30px;
    width: 100%;
}

.overview-gallery>img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 30px;
}

@media (max-width: 1280px) {
    .business-detail-wrapper {
        margin-top: 35px;
    }

    .business-section .section-title {
        margin-top: 80px;
    }

    .business-detail-title {
        font-size: 42px;
    }

    .business-detail-desc {
        font-size: 27px;
    }

    .business-overview-wrapper {
        padding: 50px 60px;
    }

    .overview-gallery {
        gap: 20px;
    }

    .single-row {
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .business-section .section-title {
        margin-top: 60px;
        font-size: 45px;
    }

    .business-detail-wrapper {
        margin-top: 30px;
    }

    .business-header {
        margin-bottom: 100px;
    }

    .business-detail-title {
        font-size: 36px;
    }

    .business-detail-desc {
        font-size: 23px;
    }

    .business-detail-desc br {
        display: none;
    }

    .business-overview-wrapper {
        padding: 50px 40px;
    }

    .overview-title {
        font-size: 26px;
    }

    .business-detail-image {
        height: 260px;
        position: relative;
        border-radius: 20px;
    }

    .business-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .overview-gallery {
        margin-bottom: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding: 0;
    }

    .overview-gallery>img {
        width: auto;
        max-width: none;
        min-width: 160%;
        display: block;
    }

    .single-row {
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .business-header {
        margin-bottom: 50px;
        flex-direction: column;
        gap: 10px;
    }

    .business-section .section-title {
        margin-top: 30px;
        font-size: 40px;
    }

    .business-detail-wrapper {
        margin-top: 15px;
    }

    .business-detail-title {
        font-size: 30px;
    }

    .business-detail-desc {
        font-size: var(--font-lg);
    }

    .business-detail-image {
        height: 240px;
        margin-bottom: 30px;
        ;
    }

    .business-overview-wrapper {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .overview-title {
        margin-bottom: 20px;
    }

    .overview-gallery {
        margin-bottom: 0;
    }

    .overview-gallery>img {
        border-radius: 12px;
    }

    .single-row {
        gap: 5px;
        margin-bottom: 5px;
    }

    .single-row img {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {

    .business-section .section-title {
        margin-top: 20px;
        font-size: 28px;
    }

    .business-detail-title {
        font-size: var(--font-2xl);
        margin-bottom: 0px;
    }

    .business-detail-desc {
        font-size: var(--font-base);
    }

    .overview-title {
        margin-bottom: 10px;
        font-size: var(--font-lg);
        line-height: 1.4;
    }

    .business-overview-wrapper {
        margin-top: 20px;
        padding: 20px 15px;
        border-radius: 10px;
    }

    .overview-list li {
        font-size: var(--font-sm);
        margin-bottom: 5px;
        padding-left: 20px;
    }

    .business-detail-image {
        height: 160px;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .business-detail-image img {
        transform: scale(1.0) !important;
        border-radius: 10px;
    }

    .tabs {
        justify-content: center;
    }

    .single-row img {
        height: 80px;
    }

    .tab-btn {
        flex-shrink: unset;
        overflow-wrap: anywhere;
        word-break: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
}

/***********************
      Partnership
 ***********************/
.business-record-section .section-container:first-of-type {
    padding-bottom: 0;
}

.business-record-section .section-title {
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 120px;
}

.business-record-section .section-title:last-of-type {
    margin-bottom: 80px;
}

.record-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    justify-items: center;
}

.client-card {
    text-align: center;
    transition: all 0.6s ease;
}

.client-card img {
    width: 390px;
    height: 160px;
    object-fit: contain;
}

.client-card-name {
    font-size: var(--font-lg);
}

.client-card:hover {
    transform: translateY(-4px);
}

.client-card:hover .client-card-name {
    color: #264FA5;
    font-weight: 700;
}

.agency-card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.agency-card {
    min-height: 370px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border: 1px solid #D0D7DE;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.card-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-item .label {
    color: #6E7781;
    font-size: 22px;
    font-weight: 600;
    line-height: 33px;
    white-space: nowrap;
}

.contact-item .value {
    color: #424A53;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    word-break: break-all;
    text-decoration: none;
}

.contact-item .value:hover {
    text-decoration: underline;
}


@media (max-width: 1280px) {
    .business-record-section .section-title {
        margin-bottom: 120px;
        font-size: 44px;
    }

    .record-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 70px 20px;
    }

    .client-card img {
        width: 290px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .business-record-section .section-title {
        font-size: 34px;
    }

    .record-grid {
        gap: 60px 10px;
    }

    .client-card-name {
        font-size: var(--font-md);
    }

    .client-card img {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .business-record-section .section-title {
        margin-bottom: 60px;
        font-size: 26px;
    }

    .record-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .client-card {
        padding: 10px 50px;
    }
}

@media (max-width: 480px) {
    .business-record-section .section-title {
        font-size: var(--font-lg);
        margin-bottom: 30px;
    }

    .record-grid {
        gap: 10px;
    }

    .client-card {
        width: 100%;
        padding: 10px 0;
    }

    .client-card img {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #EAEEF2;
        border-radius: 20px;
    }

    .client-card-name {
        font-size: var(--font-base);
        line-height: 1.3;
    }
}


/***********************
   Bioinformatics Tool
 ***********************/
.business-biotools-section .section-title {
    margin-bottom: 70px;
}

.business-biotools-section:first-of-type {
    padding-bottom: 0;
}

.link-card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.link-card {
    min-height: 580px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border: 1px solid #D0D7DE;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.link-link-btn img {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-title-small {
    margin-bottom: 8px;
    color: #264FA5;
    font-size: 30px;
    font-weight: 400;
}

.card-title {
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: auto;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 600;
}

.card-link-btn {
    width: 202px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    background: white;
    height: 80px;
    border-radius: 46px;
    border: 1px solid #0959B3;
    padding-left: calc(30px + 18px + 11px);
    padding-right: calc(30px + 37px);
    color: #021B51;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}

.card-link-btn .label {
    font-size: 22px;
    line-height: 33px;
    font-weight: 400;
}

.card-link-btn::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M10.5701 11.698C9.47624 11.698 8.38234 11.2821 7.55041 10.4501C7.37643 10.2762 7.37643 9.99618 7.55041 9.82219C7.72439 9.64821 8.00437 9.64821 8.17836 9.82219C9.49624 11.1421 11.642 11.1401 12.9599 9.82219L15.1237 7.65838C16.4416 6.3405 16.4416 4.19469 15.1237 2.87681C13.8059 1.55893 11.66 1.55893 10.3422 2.87681L9.32225 3.89672C9.14827 4.0707 8.86829 4.0707 8.69431 3.89672C8.52032 3.72273 8.52032 3.44276 8.69431 3.26877L9.71422 2.24887C11.3781 0.585014 14.0898 0.585014 15.7537 2.24887C17.4175 3.91472 17.4175 6.62248 15.7537 8.28833L13.5899 10.4521C12.7579 11.2841 11.664 11.7 10.5701 11.7V11.698Z" fill="%23021B51" stroke="%23021B51" stroke-width="0.969266"/><path d="M5.26567 16.9996C4.17176 16.9996 3.07786 16.5836 2.24594 15.7517C0.582084 14.0879 0.582084 11.3781 2.24594 9.71225L4.40974 7.54844C6.0756 5.88259 8.78535 5.88459 10.4492 7.54844C10.6232 7.72243 10.6232 8.0024 10.4492 8.17639C10.2752 8.35037 9.99525 8.35037 9.82126 8.17639C8.50338 6.85651 6.35757 6.85651 5.03969 8.17639L2.87588 10.3402C1.558 11.6581 1.558 13.8039 2.87588 15.1218C4.19376 16.4397 6.33957 16.4397 7.65745 15.1218L8.48738 14.2918C8.66137 14.1179 8.94134 14.1179 9.11533 14.2918C9.28931 14.4658 9.28931 14.7458 9.11533 14.9198L8.2854 15.7497C7.45347 16.5816 6.35957 16.9976 5.26567 16.9976V16.9996Z" fill="%23021B51" stroke="%23021B51" stroke-width="0.969266"/></svg>');
}

.card-link-btn::after {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 37px;
    height: 28px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 28"><path d="M0.00390625 14L34.6706 14" stroke="%230959B3" stroke-width="3" stroke-linecap="round" fill="none"/><path d="M21.3359 2L34.6693 14L21.3359 26" stroke="%230959B3" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>');
    transition: transform .2s ease;
}

.card-link-btn:hover,
.card-link-btn:focus-visible {
    background: #0959B3;
    border-color: #0959B3;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(9, 89, 179, .15);
}

.card-link-btn:hover::before,
.card-link-btn:focus-visible::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M10.5701 11.698C9.47624 11.698 8.38234 11.2821 7.55041 10.4501C7.37643 10.2762 7.37643 9.99618 7.55041 9.82219C7.72439 9.64821 8.00437 9.64821 8.17836 9.82219C9.49624 11.1421 11.642 11.1401 12.9599 9.82219L15.1237 7.65838C16.4416 6.3405 16.4416 4.19469 15.1237 2.87681C13.8059 1.55893 11.66 1.55893 10.3422 2.87681L9.32225 3.89672C9.14827 4.0707 8.86829 4.0707 8.69431 3.89672C8.52032 3.72273 8.52032 3.44276 8.69431 3.26877L9.71422 2.24887C11.3781 0.585014 14.0898 0.585014 15.7537 2.24887C17.4175 3.91472 17.4175 6.62248 15.7537 8.28833L13.5899 10.4521C12.7579 11.2841 11.664 11.7 10.5701 11.7V11.698Z" fill="%23fff" stroke="%23fff" stroke-width="0.969266"/><path d="M5.26567 16.9996C4.17176 16.9996 3.07786 16.5836 2.24594 15.7517C0.582084 14.0879 0.582084 11.3781 2.24594 9.71225L4.40974 7.54844C6.0756 5.88259 8.78535 5.88459 10.4492 7.54844C10.6232 7.72243 10.6232 8.0024 10.4492 8.17639C10.2752 8.35037 9.99525 8.35037 9.82126 8.17639C8.50338 6.85651 6.35757 6.85651 5.03969 8.17639L2.87588 10.3402C1.558 11.6581 1.558 13.8039 2.87588 15.1218C4.19376 16.4397 6.33957 16.4397 7.65745 15.1218L8.48738 14.2918C8.66137 14.1179 8.94134 14.1179 9.11533 14.2918C9.28931 14.4658 9.28931 14.7458 9.11533 14.9198L8.2854 15.7497C7.45347 16.5816 6.35957 16.9976 5.26567 16.9976V16.9996Z" fill="%23fff" stroke="%23fff" stroke-width="0.969266"/></svg>');
}

.card-link-btn:hover::after,
.card-link-btn:focus-visible::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 28"><path d="M0.00390625 14L34.6706 14" stroke="%23fff" stroke-width="3" stroke-linecap="round" fill="none"/><path d="M21.3359 2L34.6693 14L21.3359 26" stroke="%23fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>');
    transform: translate(4px, -50%);
}

@media (max-width: 1280px) {

    .agency-card-list,
    .link-card-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-card {
        min-height: auto;
    }

    .link-card {
        min-height: 550px;
    }

    .card-title-small {
        font-size: 26px;
    }

    .card-title {
        font-size: 35px;
        margin-bottom: 10px;
        min-height: 150px;
    }

    .card-desc {
        font-size: var(--font-lg);
        margin-bottom: 0;
    }

    .card-link-btn img {
        width: 70px;
        height: auto;
    }
}

@media (max-width: 1024px) {

    .business-record-section .section-title:last-of-type {
        margin-bottom: 50px;
    }

    .agency-card-list {
        gap: 20px;
    }

    .agency-card,
    .link-card {
        padding: 40px;
        border-radius: 40px;
    }

    .link-card {
        min-height: 470px;
    }

    .card-title-small {
        font-size: var(--font-2xl);
    }

    .agency-card .card-title {
        min-height: auto;
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 27px;
        min-height: 120px;
    }

    .card-desc {
        font-size: var(--font-md);
    }

    .card-link-btn {
        width: 192px;
        height: 62px;
        border-radius: 42px;
        padding-left: calc(26px + 16px + 11px);
        padding-right: calc(26px + 34px);
    }

    .card-link-btn .label {
        font-size: 20px;
        line-height: 30px;
    }

    .card-link-btn::before {
        left: 26px;
        width: 16px;
        height: 16px;
    }

    .card-link-btn::after {
        right: 26px;
        width: 30px;
        height: 26px;
    }

    .card-contact {
        gap: 2px;
    }

    .contact-item .label {
        font-size: var(--font-md);
    }

    .contact-item .value {
        font-size: var(--font-lg);
    }

}

@media (max-width: 768px) {

    .business-biotools-section .section-title {
        margin-bottom: 50px;
    }

    .agency-card-list,
    .link-card-list {
        gap: 15px;
    }

    .agency-card,
    .link-card {
        padding: 30px;
        border-radius: 20px;
    }

    .link-card {
        min-height: 400px;
    }

    .card-title-small {
        font-size: var(--font-md);
    }

    .card-title {
        font-size: var(--font-lg);
    }

    .card-link-btn img {
        width: 50px;
    }

    .card-link-btn {
        width: 184px;
        height: 52px;
        border-radius: 38px;
        padding-left: calc(22px + 16px + 10px);
        padding-right: calc(22px + 30px);
    }

    .card-link-btn .label {
        font-size: 18px;
        line-height: 27px;
    }

    .card-link-btn::before {
        left: 22px;
        width: 16px;
        height: 16px;
    }

    .card-link-btn::after {
        right: 22px;
        width: 25px;
        height: 22px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .contact-item .label {
        font-size: var(--font-base);
    }

    .contact-item .value {
        font-size: var(--font-md);
        line-height: 1.5;
    }
}

@media (max-width: 480px) {

    .business-record-section .section-title:last-of-type,
    .business-biotools-section .section-title {
        margin-bottom: 20px;
    }

    .agency-card-list,
    .link-card-list {
        gap: 20px;
        grid-template-columns: repeat(1, 1fr);
    }

    .agency-card,
    .link-card {
        min-height: auto;
        padding: 25px;
        border-radius: 20px;
    }

    .card-title-small {
        font-size: var(--font-base);
    }

    .card-title {
        font-size: var(--font-md);
        min-height: auto;
        margin-bottom: 10px;
    }

    .card-desc {
        font-size: var(--font-base);
    }

    .card-link-btn {
        width: 168px;
        height: 48px;
        border-radius: 32px;
        padding-left: calc(18px + 14px + 8px);
        padding-right: calc(18px + 26px);
    }

    .card-link-btn .label {
        font-size: 16px;
        line-height: 24px;
    }

    .card-link-btn::before {
        left: 18px;
        width: 14px;
        height: 14px;
    }

    .card-link-btn::after {
        right: 18px;
        width: 23px;
        height: 20px;
    }
}