/* ==========================================================================
   TENTANG KAMI PAGE STYLES — FIGMA DESIGN SPECIFICATION
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION (WITH ASPECT RATIO 1440/387)
   -------------------------------------------------------------------------- */
.tentang-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 387;
    min-height: 240px;
    background: #1D3A72;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Background Hero Image */
.tentang-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tentang-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 3;
    display: block;
}

/* Overlay Image on top of Hero Image */
.tentang-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.tentang-overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 3;
    display: block;
}

/* Hero Content Container */
.tentang-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    box-sizing: border-box;
}

.tentang-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 32px;
}

.tentang-hero-subtag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.tentang-hero-red-bar {
    width: 64px;
    height: 3px;
    background: #C62828;
    border-radius: 0px;
}

.tentang-breadcrumb {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: capitalize;
}

.breadcrumb-item {
    color: #E8E8E8;
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb-item:hover {
    opacity: 1;
}

.breadcrumb-current {
    color: #E8E8E8;
    font-weight: 500;
}

.tentang-hero-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 130%;
    color: #F5F5F5;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0;
}

/* --------------------------------------------------------------------------
   2. TENTANG PT. RAJA JAYA MANDIRI SECTION (PROFIL PERUSAHAAN)
   -------------------------------------------------------------------------- */
.tentang-intro-section {
    padding: 60px 0;
    background: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

.tentang-intro-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    box-sizing: border-box;
}

.tentang-intro-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 328px;
    height: 321px;
    flex-shrink: 0;
}

.tentang-intro-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 328px;
}

.tentang-red-bar {
    width: 64px;
    height: 3px;
    background: #C62828;
    border-radius: 0px;
    flex-shrink: 0;
}

.tentang-intro-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 31px;
    line-height: 48px;
    text-transform: capitalize;
    color: #333333;
    margin: 0;
    width: 328px;
}

.tentang-logo-wrap {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.tentang-logo-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.tentang-divider-vertical {
    width: 0px;
    height: 321px;
    border-left: 1px solid #D2D2D2;
    flex-shrink: 0;
}

.tentang-intro-right {
    flex: 1;
    max-width: 732px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.tentang-intro-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #777777;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   3. VISI & MISI SECTION (BACKGROUND IMAGE WITH GRADIENT OVERLAY)
   -------------------------------------------------------------------------- */
.tentang-visimisi-section {
    position: relative;
    width: 100%;
    padding: 60px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.tentang-visimisi-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tentang-visimisi-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tentang-visimisi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.88) 75%);
    z-index: 1;
}

.tentang-visimisi-container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    box-sizing: border-box;
}

.tentang-subtag-white {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 12px;
}

.tentang-white-bar {
    width: 64px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 0px;
}

.tentang-subtag-text-white {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #EAE8E8;
}

.tentang-visimisi-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}

.tentang-visi-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 29px;
    color: #FFFFFF;
    margin: 0;
    max-width: 1212px;
}

/* 3 Misi Cards Grid (Glassmorphism) */
.tentang-misi-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    margin-top: 24px;
    box-sizing: border-box;
}

.tentang-misi-card {
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 32px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.tentang-misi-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.32);
}

.tentang-misi-number {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 150%;
    color: #FFFFFF;
    text-align: center;
}

.tentang-misi-card-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.tentang-misi-card-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

/* --------------------------------------------------------------------------
   4. STRUKTUR PERUSAHAAN / BAGAN ORGANISASI SECTION
   -------------------------------------------------------------------------- */
.tentang-bagan-section {
    padding: 60px 0;
    background: #F9F9F9 !important;
    width: 100%;
    box-sizing: border-box;
}

.tentang-bagan-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    box-sizing: border-box;
}

.tentang-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
    width: 100%;
}

.tentang-subtag-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.tentang-subtag-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4A5565;
}

.tentang-section-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 48px;
    text-align: center;
    text-transform: capitalize;
    color: #000000;
    margin: 0;
}

.tentang-bagan-card {
    width: 100%;
    max-width: 1200px;
    border-radius: 24px;
    overflow: hidden;
    background: #F9F9F9;
    padding: 0;
    box-sizing: border-box;
}.tentang-bagan-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

/* --------------------------------------------------------------------------
   5. LEGALITAS & SERTIFIKASI SECTION
   -------------------------------------------------------------------------- */
.tentang-legalitas-section {
    padding: 60px 0;
    background: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

.tentang-legalitas-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    box-sizing: border-box;
}

.tentang-legalitas-header-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 395px;
    flex-shrink: 0;
}

.tentang-subtag-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.tentang-legalitas-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 48px;
    text-transform: capitalize;
    color: #000000;
    margin: 0;
}

.tentang-legalitas-content-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    flex: 1;
    box-sizing: border-box;
}

.tentang-legalitas-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tentang-legalitas-group-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    text-transform: capitalize;
    color: #1D3A72;
    margin: 0 0 8px 0;
}

.tentang-legalitas-list {
    margin: 0;
    padding: 0 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tentang-legalitas-item {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.tentang-legalitas-item::marker {
    font-weight: 600;
    color: #333333;
}

.legalitas-item-name {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
}

.legalitas-item-sub {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #4A5565;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   6. ENTRANCE & EXIT ANIMATIONS (SCROLL INTERSECTION)
   -------------------------------------------------------------------------- */
.anim-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

.anim-fade-out-active {
    opacity: 0;
    transform: translateY(-20px);
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS (Desktop, Macbook, Tablet, Mobile)
   -------------------------------------------------------------------------- */

/* MACBOOK & LAPTOP (1025px - 1440px) */
@media (max-width: 1440px) {
    .tentang-hero {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: auto;
    }

    .tentang-hero-img,
    .tentang-overlay-img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
    }

    .tentang-intro-section,
    .tentang-visimisi-section,
    .tentang-bagan-section,
    .tentang-legalitas-section {
        padding: 50px 0;
    }

    .tentang-hero-container,
    .tentang-intro-container,
    .tentang-visimisi-container,
    .tentang-bagan-container,
    .tentang-legalitas-container {
        padding-left: 60px;
        padding-right: 60px;
    }

    .tentang-intro-container {
        gap: 50px;
    }

    .tentang-visimisi-container {
        gap: 60px;
    }

    .tentang-bagan-container {
        gap: 48px;
    }
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
    .tentang-intro-section,
    .tentang-visimisi-section,
    .tentang-bagan-section,
    .tentang-legalitas-section {
        padding: 40px 0;
    }

    .tentang-hero {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: auto;
    }

    .tentang-hero-container,
    .tentang-intro-container,
    .tentang-visimisi-container,
    .tentang-bagan-container,
    .tentang-legalitas-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .tentang-legalitas-container {
        flex-direction: column;
        gap: 36px;
    }

    .tentang-legalitas-header-col {
        width: 100%;
    }

    .tentang-hero-title {
        font-size: 38px;
    }

    .tentang-intro-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }

    .tentang-intro-left {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .tentang-divider-vertical {
        display: none;
    }

    .tentang-visimisi-title {
        font-size: 32px;
        line-height: 40px;
    }

    .tentang-misi-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tentang-section-title,
    .tentang-legalitas-title {
        font-size: 28px;
        line-height: 38px;
    }
}

/* MOBILE (< 767px) */
@media (max-width: 767px) {
    .tentang-intro-section,
    .tentang-visimisi-section,
    .tentang-bagan-section,
    .tentang-legalitas-section {
        padding: 20px 0;
    }

    .tentang-hero {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: auto;
        padding-bottom: 0;
    }

    .tentang-hero-img,
    .tentang-overlay-img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
    }

    .tentang-hero-container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .tentang-intro-container,
    .tentang-visimisi-container,
    .tentang-bagan-container,
    .tentang-legalitas-container {
        padding-left: 16px;
        padding-right: 16px;
        gap: 24px;
    }

    .tentang-legalitas-content-row {
        flex-direction: column;
        gap: 28px;
    }

    .tentang-legalitas-group-title {
        font-size: 22px;
        line-height: 28px;
    }

    .legalitas-item-name {
        font-size: 16px;
        line-height: 24px;
    }

    .legalitas-item-sub {
        font-size: 14px;
    }

    .tentang-hero-title {
        font-size: 30px;
    }

    .tentang-breadcrumb {
        font-size: 15px;
    }

    .tentang-intro-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        height: auto;
    }

    .tentang-logo-img {
        width: 100px;
        height: 100px;
    }

    .tentang-intro-title,
    .tentang-visimisi-title,
    .tentang-section-title,
    .tentang-legalitas-title {
        font-size: 24px;
        line-height: 32px;
    }

    .tentang-intro-text,
    .tentang-visi-text {
        font-size: 15px;
        line-height: 24px;
    }

    .tentang-misi-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tentang-misi-card {
        padding: 24px 20px;
        border-radius: 24px;
    }
}
