/* =============================================
   JNP EXPRESS - ABOUT PAGE STYLESHEET
   Extends style.css — import style.css first
   ============================================= */

/* =============================================
   PAGE HERO (Banner Tentang)
   ============================================= */

.page-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 24px;
    background-image:
        linear-gradient(135deg, rgba(30, 51, 120, 0.92) 0%, rgba(30, 51, 120, 0.75) 100%),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Decorative diagonal stripe */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--light);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 1300px;
    color: var(--light);
}

.page-hero-content .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
}

.page-hero-content .breadcrumb a {
    color: var(--light);
    text-decoration: none;
    transition: opacity 0.2s;
}

.page-hero-content .breadcrumb a:hover {
    opacity: 1;
}

.page-hero-content .breadcrumb i {
    font-size: 10px;
    opacity: 0.6;
}

.page-hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 600px;
}

.page-hero-content p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 500px;
}

/* =============================================
   INTRO / STORY SECTION
   ============================================= */

.about-intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 70px;
    width: 100%;
    max-width: 1300px;
}

.about-intro .left {
    flex: 1;
    position: relative;
}

.about-intro .left .img-main {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

/* Floating badge on image */
.about-intro .left .badge-founded {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--light);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 75, 58, 0.35);
}

.about-intro .left .badge-founded .year {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.about-intro .left .badge-founded .label {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.9;
}

.about-intro .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-intro .right .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 51, 120, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-intro .right h2 {
    font-size: 36px;
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

.about-intro .right p {
    font-size: 14px;
    line-height: 1.85;
    color: #555;
}

.about-intro .right .highlight-row {
    display: flex;
    gap: 30px;
    margin-top: 8px;
}

.about-intro .right .highlight-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-intro .right .highlight-item .num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-intro .right .highlight-item .desc {
    font-size: 13px;
    color: #666;
}

.about-intro .right .divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

/* =============================================
   VISION & MISSION
   ============================================= */

.visi-misi-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 1300px;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.visi-misi-card {
    background: var(--light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visi-misi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.visi-misi-card.accent {
    border-top-color: var(--secondary);
}

.visi-misi-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(30, 51, 120, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.visi-misi-card.accent .card-icon {
    background: rgba(255, 75, 58, 0.1);
    color: var(--secondary);
}

.visi-misi-card h3 {
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
}

.visi-misi-card.accent h3 {
    color: var(--secondary);
}

.visi-misi-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.visi-misi-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.visi-misi-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.visi-misi-card ul li i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 13px;
}

/* =============================================
   VALUES / CORE SECTION
   ============================================= */

.values-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 1300px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.value-card {
    background: var(--light);
    border-radius: 14px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(30, 51, 120, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: background 0.3s ease;
}

.value-card:hover .icon-wrap {
    background: var(--primary);
    color: var(--light);
}

.value-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

.value-card p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.75;
}

/* =============================================
   TEAM SECTION
   ============================================= */

.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 1300px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.team-card {
    background: var(--light);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.13);
}

.team-card .avatar {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

/* Placeholder avatar when no image */
.team-card .avatar-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(30, 51, 120, 0.12), rgba(30, 51, 120, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: rgba(30, 51, 120, 0.25);
}

.team-card .team-info {
    padding: 20px 16px 24px;
}

.team-card .team-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-card .team-info .role {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-card .team-info p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* =============================================
   TIMELINE / MILESTONES
   ============================================= */

.milestones-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 900px;
}

.timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Center vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Alternating: odd items → content left, even → content right */
.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
    padding-right: 30px;
}

.timeline-item:nth-child(odd) .timeline-empty {
    grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    text-align: left;
    padding-left: 30px;
}

.timeline-item:nth-child(even) .timeline-empty {
    grid-column: 1;
}

.timeline-dot {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
    position: relative;
    z-index: 1;
}

.timeline-dot .dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    border: 3px solid var(--light);
    box-shadow: 0 0 0 2px var(--primary);
    flex-shrink: 0;
}

.timeline-content .year-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
}

/* =============================================
   CTA SECTION (reused from index, override color)
   ============================================= */

.about-cta-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    gap: 36px;
    text-align: center;
}

.about-cta-section .text h2 {
    font-size: 34px;
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-cta-section .text p {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}

.about-cta-section .buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =============================================
   RESPONSIVE — ABOUT PAGE SPECIFIC
   ============================================= */

/* ---- LARGE DESKTOP: max 1300px ---- */
@media (max-width: 1300px) {
    .about-intro {
        gap: 50px;
    }

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

/* ---- TABLET LANDSCAPE: max 1100px ---- */
@media (max-width: 1100px) {
    .page-hero-content h1 {
        font-size: 36px;
    }

    .about-intro {
        gap: 40px;
    }

    .about-intro .right h2 {
        font-size: 30px;
    }

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

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

/* ---- TABLET PORTRAIT: max 900px ---- */
@media (max-width: 900px) {
    .page-hero {
        padding: 80px 24px 100px;
    }

    .page-hero-content h1 {
        font-size: 30px;
    }

    .page-hero-content p {
        font-size: 14px;
    }

    /* Intro: stack vertically */
    .about-intro {
        flex-direction: column;
        gap: 60px;
    }

    .about-intro .left {
        width: 100%;
    }

    .about-intro .left .badge-founded {
        right: 20px;
        bottom: -16px;
    }

    .about-intro .right {
        width: 100%;
        padding-top: 10px;
    }

    .about-intro .right h2 {
        font-size: 28px;
    }

    /* Vision & Mission: stack */
    .visi-misi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Values: 2 columns */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Team: 2 columns */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline: collapse to single column */
    .timeline::before {
        left: 22px;
        transform: none;
    }

    .timeline-item {
        grid-template-columns: 46px 1fr;
        grid-template-rows: auto;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-left: 20px;
        padding-right: 0;
    }

    .timeline-dot {
        grid-column: 1;
        grid-row: 1;
    }

    .timeline-item:nth-child(odd) .timeline-empty,
    .timeline-item:nth-child(even) .timeline-empty {
        display: none;
    }

    /* CTA */
    .about-cta-section .text h2 {
        font-size: 26px;
    }
}

/* ---- MOBILE LARGE: max 600px ---- */
@media (max-width: 600px) {
    .page-hero {
        padding: 60px 16px 90px;
    }

    .page-hero-content h1 {
        font-size: 24px;
    }

    .page-hero-content p {
        font-size: 13px;
    }

    .about-intro .right h2 {
        font-size: 22px;
    }

    .about-intro .right .highlight-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .about-intro .right .highlight-item .num {
        font-size: 24px;
    }

    .visi-misi-card {
        padding: 28px 22px;
    }

    .visi-misi-card h3 {
        font-size: 19px;
    }

    /* Values: 1 column */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Team: 2 columns still */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team-card .team-info h4 {
        font-size: 14px;
    }

    .team-card .team-info .role {
        font-size: 12px;
    }

    /* Milestones */
    .milestones-section {
        gap: 36px;
    }

    .timeline-dot .dot {
        width: 38px;
        height: 38px;
        font-size: 10px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        grid-template-columns: 38px 1fr;
        margin-bottom: 36px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding-left: 16px;
    }

    .timeline-content h4 {
        font-size: 15px;
    }

    /* CTA */
    .about-cta-section .text h2 {
        font-size: 22px;
    }

    .about-cta-section .buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-cta-section .buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* ---- MOBILE SMALL: max 400px ---- */
@media (max-width: 400px) {
    .page-hero-content h1 {
        font-size: 20px;
    }

    /* Team: 1 column */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .about-cta-section .text h2 {
        font-size: 20px;
    }
}