/* ============================
   TENTANG KAMI PAGE
   ============================ */

/* ============================
   CONTAINER
   Ikut pola project: max-width 1440px + gutter dari --gutter-desktop
   ============================ */


/* ============================
   SHARED — SECTION HEADER
   ============================ */
.tk-section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.tk-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #333333;
    margin: 0;
    flex-shrink: 0;
}

.tk-section-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #777777;
    text-align: right;
    margin: 0;
    flex: 1;
    max-width: 800px;
}

/* ============================
   SHARED — CARD GRID
   ============================ */
.tk-cards-row {
    display: grid;
    gap: 32px;
    width: 100%;
}

.tk-cards-row--4 {
    grid-template-columns: repeat(4, 1fr);
}

.tk-cards-row--ekosistem {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tk-cards-row--ekosistem > .tk-biz-card {
    width: calc(33.3333% - 21.3333px);
}

.tk-cards-row--3 {
    grid-template-columns: repeat(3, 1fr);
}

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

/* ============================
   SHARED — BIZ CARD
   Dipakai oleh ekosistem & platform
   Sesuai Figma: flex-end, padding 0 16px, logo flex-grow, label di bawah
   ============================ */
.tk-biz-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 16px;
    height: 300px;
    background: #F8FAFC;
    border: 1px solid #A4A4A4;
    border-radius: 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.tk-biz-card:hover {
    border-color: #A4271E;
    box-shadow: 0px 0px 24px rgba(164, 39, 30, 0.5);
}

.tk-biz-card--active {
    border-color: #A4271E;
    box-shadow: 0px 0px 24px rgba(164, 39, 30, 0.5);
}

/* Area logo: flex-grow mengisi ruang di atas, gambar di tengah */
.tk-biz-card-logo {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    min-height: 0;
}

.tk-biz-card-logo img {
    max-width: 100%;
    max-height: 215px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Footer = divider + label, selalu nempel di bawah card */
.tk-biz-card-footer {
    width: 100%;
    flex-shrink: 0;
}

.tk-biz-card-divider {
    width: 100%;
    height: 1px;
    background: #A4A4A4;
    transition: background 0.25s ease;
}

.tk-biz-card:hover .tk-biz-card-divider,
.tk-biz-card--active .tk-biz-card-divider {
    background: #A4271E;
}

.tk-biz-card-label {
    width: 100%;
    height: 45px;
    padding: 12px 8px;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: #A4A4A4;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.tk-biz-card:hover .tk-biz-card-label,
.tk-biz-card--active .tk-biz-card-label {
    border-color: #A4271E;
}

.tk-biz-card-label span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #333333;
}

/* Label dengan arrow icon (platform cards) */
.tk-biz-card-label--link {
    gap: 8px;
    height: 48px;
}

.tk-card-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tk-biz-card:hover .tk-card-arrow,
.tk-biz-card--active .tk-card-arrow {
    opacity: 1;
}

/* ============================
   SECTION 1 — PAGE HEADER
   ============================ */
.tk-header {
    width: 100%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: #F8FAFC;
}

.tk-header-title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 36px;
}

.tk-header-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    color: #333333;
    margin: 0;
}

.tk-header-line {
    flex: 1;
    height: 1px;
    background: #252525;
    display: block;
    min-width: 0;
}

.tk-header-banner {
    width: 100%;
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
}

.tk-header-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================
   SECTION 2 — COMPANY INTRO
   ============================ */
.tk-intro {
    width: 100%;
    background: #F8FAFC;
}

.tk-intro-inner {
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tk-intro-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #A4271E;
    margin: 0;
    align-self: center;
}

.tk-intro-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    text-align: center;
    margin: 0;
    width: 100%;
}

/* ============================
   SECTION 3 — VISI & MISI
   ============================ */
.tk-visi-misi {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* — VISI & MISI — */
.tk-visi,
.tk-misi {
    flex: 1;
    position: relative;
    min-height: 404px;
    isolation: isolate;
    background: #F8FAFC;
    border: 2px solid #D2D2D2;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    cursor: pointer;
}

.tk-visi:hover,
.tk-misi:hover {
    border-color: #A4271E;
    box-shadow: 0 16px 40px rgba(164, 39, 30, 0.2);
}

/* Background image initially hidden, reveals on hover */
.tk-visi-bg,
.tk-misi-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tk-visi-bg::after,
.tk-misi-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.tk-visi-bg img,
.tk-misi-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(2px);
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.tk-visi-blur,
.tk-misi-blur {
    position: absolute;
    width: 60%;
    height: 237px;
    left: 0;
    top: 67px;
    background: #000;
    filter: blur(150px);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Hover reveals background image */
.tk-visi:hover .tk-visi-bg,
.tk-misi:hover .tk-misi-bg,
.tk-visi:hover .tk-visi-blur,
.tk-misi:hover .tk-misi-blur {
    opacity: 1;
}

.tk-visi:hover .tk-visi-bg img,
.tk-misi:hover .tk-misi-bg img {
    transform: scale(1.08);
}

/* Content Text Styling & Hover Animations */
.tk-visi-content,
.tk-misi-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 80px;
    padding-bottom: 80px;
    justify-content: center;
    transition: transform 0.4s ease;
}

/* Align left content with container */
.tk-visi-content {
    padding-left: max(var(--gutter-desktop), calc((100vw - var(--max-container)) / 2 + var(--gutter-desktop)));
    padding-right: var(--gutter-desktop);
}

/* Align right content with container */
.tk-misi-content {
    padding-left: var(--gutter-desktop);
    padding-right: max(var(--gutter-desktop), calc((100vw - var(--max-container)) / 2 + var(--gutter-desktop)));
}

.tk-visi-title,
.tk-misi-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #A4271E;
    margin: 0;
    transition: color 0.4s ease, transform 0.4s ease;
}

.tk-visi-desc,
.tk-misi-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #333333;
    margin: 0;
    transition: color 0.4s ease, transform 0.4s ease;
}

/* Text transitions on card hover */
.tk-visi:hover .tk-visi-title,
.tk-misi:hover .tk-misi-title {
    color: #FF5A4E;
    transform: translateY(-2px);
}

.tk-visi:hover .tk-visi-desc,
.tk-misi:hover .tk-misi-desc {
    color: #FFFFFF;
    transform: translateY(-4px);
}

/* Direct Text Hover interactions */
.tk-visi-title:hover,
.tk-misi-title:hover {
    color: #FF7B70 !important;
    transform: translateY(-4px) scale(1.02) !important;
    text-shadow: 0 2px 12px rgba(255, 90, 78, 0.4);
}

.tk-visi-desc:hover,
.tk-misi-desc:hover {
    transform: translateY(-6px) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Misi Bullet List */
.tk-misi-list {
    padding: 0;
    margin: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style-type: disc;
}

.tk-misi-list li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    transition: color 0.4s ease, transform 0.4s ease;
}

.tk-misi:hover .tk-misi-list li {
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Direct li hover */
.tk-misi-list li:hover {
    transform: translateY(-4px) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ============================
   SECTION 4 — EKOSISTEM BISNIS
   ============================ */
.tk-ekosistem {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #F8FAFC;
    background-image: url('/img/background/bg-ekosistem.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tk-ekosistem-inner {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
}

/* ============================
   SECTION 5 — SERTIFIKASI
   ============================ */
.tk-sertifikasi {
    width: 100%;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-image: url('/img/image/tentang-kami/sertifikasi-tentang.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F8FAFC;
}

.tk-sertifikasi-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.tk-sertifikasi-left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding-right: 40px;
    box-sizing: border-box;
}

.tk-sertifikasi-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #333333;
    margin: 0;
}

.tk-sertifikasi-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #777777;
    margin: 0;
}

.tk-sertifikasi-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.tk-iso-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    padding: 20px;
    box-sizing: border-box;
}

.tk-iso-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================
   SECTION 6 — PLATFORM KAMI
   ============================ */
.tk-platform {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #F8FAFC;
    background-image: url('/img/background/bg-platform.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tk-platform-inner {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
}

.tk-platform-card .tk-biz-card-logo img {
    max-height: 100px;
}

/* ============================
   SECTION 7 — PROFIL PERUSAHAAN
   ============================ */
.tk-profil-perusahaan {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #F8FAFC;
    background-image: url('/img/background/bg-profil.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tk-profil-inner {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.tk-profil-left {
    flex: 0 0 28%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tk-profil-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #333333;
    margin: 0;
}

.tk-profil-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #777777;
    margin: 0;
}

.tk-profil-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* ============================
   RESPONSIVE — 1279px
   ============================ */
@media (max-width: 1279px) {
    .tk-section-header {
        gap: 40px;
    }
}

/* ============================
   RESPONSIVE — 1023px
   ============================ */
@media (max-width: 1023px) {
    .tk-header {
        padding-top: 56px;
    }

    .tk-intro-inner,
    .tk-visi-content,
    .tk-misi-content,
    .tk-ekosistem-inner,
    .tk-platform-inner,
    .tk-profil-inner {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .tk-sertifikasi {
        padding: 56px 0;
    }

    .tk-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tk-section-desc {
        text-align: left;
    }

    .tk-cards-row--ekosistem {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .tk-cards-row--ekosistem > .tk-biz-card {
        width: 100%;
    }
    .tk-cards-row--ekosistem > .tk-biz-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 16px);
    }

    .tk-cards-row--3,
    .tk-cards-row--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tk-sertifikasi-inner,
    .tk-profil-inner {
        flex-direction: column;
        gap: 40px;
    }

    .tk-profil-inner {
        align-items: flex-start;
    }

    .tk-profil-left {
        flex: none;
        width: 100%;
    }

    .tk-profil-right {
        width: 100%;
    }

    .tk-sertifikasi-left {
        flex: none;
        width: 100%;
        padding-right: 0;
    }

    .tk-sertifikasi-right {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================
   RESPONSIVE — 767px
   ============================ */
@media (max-width: 767px) {
    .tk-header {
        padding-top: 48px;
        gap: 20px;
    }

    .tk-header-title {
        font-size: 28px;
        line-height: 36px;
    }

    .tk-header-banner {
        height: 240px;
    }

    .tk-intro-inner {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .tk-intro-title {
        font-size: 24px;
        line-height: 32px;
    }

    .tk-intro-desc {
        font-size: 16px;
        text-align: left;
    }

    .tk-visi-misi {
        flex-direction: column;
    }

    .tk-visi,
    .tk-misi {
        min-height: 320px;
    }

    .tk-visi-content,
    .tk-misi-content {
        padding: 48px var(--gutter-tablet);
        max-width: 100%;
    }

    .tk-visi-title,
    .tk-misi-title {
        font-size: 26px;
        line-height: 36px;
    }

    .tk-visi-desc {
        font-size: 17px;
        line-height: 30px;
    }

    .tk-misi-desc {
        font-size: 16px;
        line-height: 26px;
    }

    .tk-ekosistem-inner,
    .tk-platform-inner,
    .tk-profil-inner {
        padding-top: 48px;
        padding-bottom: 48px;
        gap: 28px;
    }

    .tk-profil-title {
        font-size: 24px;
        line-height: 32px;
    }

    .tk-profil-desc {
        font-size: 16px;
        line-height: 26px;
    }

    .tk-section-title {
        font-size: 24px;
        line-height: 32px;
    }

    .tk-cards-row {
        gap: 16px;
    }

    .tk-cards-row--ekosistem > .tk-biz-card {
        width: 100%;
    }
    .tk-cards-row--ekosistem > .tk-biz-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .tk-cards-row--ekosistem,
    .tk-cards-row--3,
    .tk-cards-row--2,
    .tk-profil-right {
        grid-template-columns: 1fr;
    }

    .tk-sertifikasi {
        padding: 48px 0;
    }

    .tk-sertifikasi-title {
        font-size: 20px;
        line-height: 30px;
    }

    .tk-sertifikasi-desc {
        font-size: 16px;
    }

    .tk-iso-badge {
        width: 120px;
        height: 120px;
    }

    .tk-biz-card {
        height: 200px;
        padding: 0 12px;
    }

    .tk-biz-card-logo {
        padding: 0 16px;
    }

    .tk-biz-card-logo img {
        max-height: 80px;
    }

    .tk-biz-card-label span {
        font-size: 13px;
        line-height: 18px;
    }
}

/* ============================
   RESPONSIVE — 575px
   ============================ */
@media (max-width: 575px) {
    .tk-header {
        padding-top: 40px;
    }

    .tk-intro-inner,
    .tk-ekosistem-inner,
    .tk-platform-inner,
    .tk-profil-inner {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .tk-visi-content,
    .tk-misi-content {
        padding: 40px var(--gutter-mobile);
    }

    .tk-sertifikasi {
        padding: 40px 0;
    }
}