.about-vision-section .section-content{
    max-width: 600px;
    padding: 30px;
}

.section-header{
    margin-bottom: 0px;
}

.about-vision-mission{
    display: flex;
    align-items: center;
}

.about-vision-mission h5{
    text-transform: uppercase;
    margin-top: 40px;
}

/* ===========================
   About / Company Section
   =========================== */

.about-section {
    background-color: #ffffff;
}

/* ---- Short Description (top block) ---- */
.about-short-desc {
    font-size: 20px;
    color: #444444;
    line-height: 1.75;
    margin: 0;
}

/* ---- Factory Image ---- */
.about-image-wrapper {
    overflow: hidden;
    border-radius: 0;
    line-height: 0;
}

.about-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 460px;
}

/* ---- Body Paragraphs ---- */
.about-body {
    font-size: 20px;
    color: #444444;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-body:last-child {
    margin-bottom: 0;
}

/* ===========================
   Sejarah Kami / History Section
   =========================== */

.history-section {
    width: 100%;
    overflow: hidden;
}

/* ==============================
   TOP: Static Banner
   ============================== */
.history-banner {
    display: grid;
    grid-template-columns: 370px 1fr;
    min-height: 390px;
    background: #ffffff;
}

.history-banner-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 3rem 3rem 2.5rem;
}

/* Section header typography */
.history-banner .section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d2d4e;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.history-banner .section-header h2 .blue {
    color: #1a6faf;
}

.history-banner .section-header .line {
    display: block;
    height: 3px;
    width: 48px;
    background-color: #0d2d4e;
    border-radius: 2px;
}

/* Chevron nav */
.history-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.history-nav-btn {
    background: none;
    padding: 0;
    cursor: pointer;
    color: #0c69a2;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, opacity 0.2s ease;
    border-radius: 100px;
    border: 1px solid #0c69a2;
    padding: 20px 25px;
    text-align: center;
    font-size: 20px;
}

.history-nav-btn:hover {
    color: #1a6faf;
}

.history-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Static banner image */
.history-banner-img {
    overflow: hidden;
    line-height: 0;
}

.history-static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ==============================
   BOTTOM: Timeline Track
   ============================== */
.history-timeline-outer {
    background: #b8d4e8;
    width: 100%;
}

.history-track-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}

.history-track-wrapper::-webkit-scrollbar {
    display: none;
}

.history-track-wrapper.grabbing {
    cursor: grabbing;
}

/* Track fills full container width */
.history-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 370px;
}

/* ==============================
   Timeline Items
   ============================== */

/* Collapsed item — equal flex share of remaining space */
.history-item {
    flex: 1 1 0;
    background: #b8d4e8;
    cursor: pointer;
    transition: background 0.35s ease, flex 0.45s ease;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

/* Year label centered on collapsed items */
.history-item:not(.active)::after {
    content: attr(data-year);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a6faf;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
}

/* Hide inner content on collapsed */
.history-item:not(.active) .history-item-inner {
    display: none;
}

/* Active item — takes up the bulk of the width */
.history-item.active {
    flex: 4 1 0;
    background: #1a6faf;
    cursor: default;
    min-width: 0;
}

/* Inner layout: text left, image right */
.history-item-inner {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

/* Text panel */
.history-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem 2.25rem;
    flex: 0 0 600px;
    min-width: 0;
}

/* Image panel — fills remaining space, image not cropped */
.history-thumb {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    min-width: 0;
    overflow: hidden;
}

.history-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Year heading */
.history-year {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Description */
.history-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.history-desc:last-child {
    margin-bottom: 0;
}


/* ==============================
   Mobile Responsive
   ============================== */
@media (max-width: 991px) {
    .history-banner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .history-banner-left {
        padding: 2rem 1.5rem 1.5rem;
        min-height: unset;
    }

    .history-banner-img {
        min-height: 250px;
    }

    .history-content {
        flex: 0 0 220px;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .history-banner .section-header h2 {
        font-size: 1.35rem;
    }

    .history-item:not(.active)::after {
        font-size: 0.85rem;
        writing-mode: vertical-rl;
        transform: translate(-50%, -50%) rotate(180deg);
    }

    .history-item.active {
        flex: 6 1 0;
    }

    .history-content {
        flex: 0 0 180px;
        padding: 1.25rem;
    }

    .history-year {
        font-size: 1.5rem;
    }

    .history-thumb {
        padding: 1rem;
    }
}



/* ---- Mobile Responsive ---- */
@media (max-width: 991px) {
    .about-image {
        max-height: 300px;
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.2rem;
    }

    .about-body,
    .about-short-desc {
        font-size: 0.9rem;
    }
}

/* Certificate */
.certificate-item{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 10px 10px 0px 5px #0c69a2;
    border: 1px solid #68a2c5;
}