/* ================= COVER & BACKGROUND ================= */
.profile-cover-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-cover-bg {
    position: absolute;
    inset: 0;
    background-image: url("/dokumen-data/general/fc-rantau-banner.jpg");
    background-size: cover;
    background-position: center;
    animation: coverZoom 10s ease-in-out infinite alternate;
    filter: brightness(1.05);
}

@keyframes coverZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.profile-cover-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.6)
    );
}

.profile-cover-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* ================= GLASS HEADER ================= */
.profile-glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.profile-glass h3 {
    font-weight: 700;
    letter-spacing: .4px;
    color: #fff;
}

.profile-glass p {
    font-size: .95rem;
    color: rgba(255,255,255,.9);
}

.profile-glass .avatar-lg img {
    background: #fff;
    padding: 3px;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
}

/* ================= FB STYLE NAV TAB ================= */
.fb-nav-wrapper {
    margin-top: 12px;
}

.fb-nav-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 6px;
    border-radius: 14px;
}

.fb-nav-tabs .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    transition: .25s ease;
}

.fb-nav-tabs .nav-link:hover {
    background: rgba(255,255,255,0.2);
}

.fb-nav-tabs .nav-link.active {
    background: #fff;
    color: #0a6e3f;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* ================= CONTENT ================= */
.fb-tab-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 14px;
    border: 1px solid #e4e6eb;
}

.about-text {
    line-height: 1.9;
    font-size: 1rem;
    color: #1c1e21;
}

/* ================= MOBILE ================= */
@media (max-width:768px){
    .profile-cover-content { padding: 14px; }
    .fb-nav-tabs { overflow-x:auto; white-space:nowrap; }
    .fb-nav-tabs .nav-link { font-size:.9rem; padding:8px 14px; }
}
/* ===== TIMELINE SEJARAH ===== */
.timeline {
    position: relative;
    margin: 30px 0;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1877f2, #42b72a);
    border-radius: 10px;
}

/* ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -2px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: #1877f2;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e7f0ff;
}

/* CARD */
.timeline-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    border: 1px solid #e4e6eb;
}

.timeline-card h6 {
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-card span {
    font-size: 0.85rem;
    color: #65676b;
}

.timeline-card p {
    margin-top: 8px;
    line-height: 1.7;
    color: #1c1e21;
}

/* ICON */
.timeline-icon {
    font-size: 18px;
    color: #1877f2;
    margin-right: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-dot {
        left: -6px;
    }
}
/* ================= TIMELINE BASE ================= */
.fc-timeline {
    position: relative;
    padding: 20px 0;
}

/* LINE */
.fc-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 4px;
    height: 100%;
    background: #e4e6eb;
    border-radius: 4px;
}

/* ITEM */
.fc-timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* DOT */
.fc-timeline-dot {
    width: 18px;
    height: 18px;
    background: #1877f2;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-left: 16px;
    margin-top: 6px;
}

/* CARD */
.fc-timeline-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid #e4e6eb;
    width: 100%;
}

.fc-timeline-card h6 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #050505;
}

.fc-timeline-card p {
    margin-bottom: 0;
    line-height: 1.7;
    color: #1c1e21;
}

.fc-timeline-icon {
    color: #1877f2;
    margin-right: 6px;
}

/* ================= MOBILE HORIZONTAL ================= */
@media (max-width: 768px) {

    .fc-timeline {
        display: flex;
        overflow-x: auto;
        padding: 10px 0 20px;
        gap: 16px;
        scroll-snap-type: x mandatory;
    }

    .fc-timeline::before {
        display: none;
    }

    .fc-timeline-item {
        flex-direction: column;
        min-width: 260px;
        margin-bottom: 0;
        scroll-snap-align: start;
    }

    .fc-timeline-dot {
        margin: 0 auto;
    }

    .fc-timeline-card {
        text-align: left;
    }

}
/* ===== MOBILE ARROW NEXT ===== */
@media (max-width: 768px) {

    .fc-timeline-item {
        position: relative;
    }

    .fc-timeline-dot {
        position: relative;
    }

    /* panah next */
    .fc-timeline-dot::after {
       /* content: "\ea68"; /* remix icon ri-arrow-right-line */
        font-family: "remixicon";
        position: absolute;
        right: -26px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #1877f2;
        opacity: 0.85;
    }

    /* HILANGKAN PANAH DI ITEM TERAKHIR */
    .fc-timeline-item:last-child .fc-timeline-dot::after {
        display: none;
    }
}
/* ===== MOBILE NEXT LABEL (Next →) ===== */
@media (max-width: 768px) {

    .fc-timeline-dot::before {
        content: "Next →";
        position: absolute;
        right: -50px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 11px;
        font-weight: 600;
        color: #6c757d;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        opacity: 0.9;
        white-space: nowrap;
    }

    /* sembunyikan Next di item terakhir */
    .fc-timeline-item:last-child .fc-timeline-dot::before {
        display: none;
    }
}

/* CREW GRID */
.crew-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

/* CARD */
.crew-wrapper > div{
    flex:1 1 160px;
    background:#fff;
    border:1px solid #e4e6eb;
    border-radius:14px;
    padding:12px;
    text-align:center;
    transition:.25s ease;
}

/* NAMA */
.crew-wrapper strong{
    display:block;
    font-size:.95rem;
    color:#050505;
}

/* NOMOR */
.crew-wrapper small{
    color:#65676b;
}

/* DESKTOP HOVER */
@media(min-width:768px){
    .crew-wrapper > div:hover{
        transform:translateY(-4px);
        box-shadow:0 12px 30px rgba(0,0,0,.08);
    }
}

/* MOBILE */
@media(max-width:576px){
    .crew-wrapper > div{
        flex:1 1 100%;
    }
}
