/* ============================================================
   Halaman Profil & Struktur Organisasi (KONI Hargobinangun)
   Dipasang pada resources/views/pages/profil.blade.php
   ============================================================ */

/* Hero Banner with Modern Merah Putih Theme */
.profile-hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    background: linear-gradient(135deg, #0c172c 0%, #1e293b 50%, #8b1d1d 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 30px -10px rgba(12, 23, 44, 0.18), 0 4px 12px -2px rgba(12, 23, 44, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.profile-hero-banner .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-hero-banner:hover .hero-bg-img {
    transform: scale(1.025);
}

.profile-hero-banner .hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            90deg,
            rgba(12, 23, 44, 0.94) 0%,
            rgba(12, 23, 44, 0.84) 36%,
            rgba(12, 23, 44, 0.48) 66%,
            rgba(12, 23, 44, 0.14) 86%,
            rgba(200, 30, 30, 0.06) 100%
        ),
        linear-gradient(
            to top,
            rgba(12, 23, 44, 0.45) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.profile-hero-banner .hero-caption {
    position: relative;
    z-index: 2;
    padding: 2.75rem 2.5rem;
    color: #ffffff;
    max-width: 720px;
}

.profile-hero-banner .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.profile-hero-banner .hero-badge-flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(180deg, #c81e1e 50%, #ffffff 50%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.profile-hero-banner .hero-badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.profile-hero-banner .hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 10px rgba(12, 23, 44, 0.4);
}

.profile-hero-banner .hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.profile-hero-banner .hero-decor-badge {
    position: absolute;
    right: 2.25rem;
    bottom: 2rem;
    z-index: 2;
}

.profile-hero-banner .decor-pill {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 0.85rem;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 20px -4px rgba(12, 23, 44, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-hero-banner .decor-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(12, 23, 44, 0.2);
}

@media (max-width: 991.98px) {
    .profile-hero-banner {
        min-height: 250px;
    }
    .profile-hero-banner .hero-caption {
        padding: 2rem 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .profile-hero-banner {
        min-height: 220px;
        border-radius: 1rem;
    }
    .profile-hero-banner .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(12, 23, 44, 0.84) 0%,
            rgba(12, 23, 44, 0.94) 100%
        );
    }
    .profile-hero-banner .hero-caption {
        padding: 1.75rem 1.25rem;
    }
}

/* Visi & Misi Card Styling */
.card-visi-misi {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-visi-misi:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
    border-color: #c81e1e !important;
}

.card-visi-misi .card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c81e1e;
    margin-bottom: 0.85rem;
}

.card-visi-misi .card-text {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.card-visi-misi ol {
    color: #4b5563;
    line-height: 1.65;
    font-size: 0.95rem;
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.card-visi-misi ol li {
    margin-bottom: 0.5rem;
}

.card-visi-misi ol li:last-child {
    margin-bottom: 0;
}

/* Dewan Pengurus Styling */
.pengurus-main-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.pengurus-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pengurus-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.06);
    border-color: #c81e1e !important;
}

.pengurus-box .pengurus-jabatan {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.pengurus-box .pengurus-nama {
    font-size: 1rem;
    font-weight: 600;
    color: #c81e1e;
    margin-bottom: 0.35rem;
}

.pengurus-box .pengurus-meta {
    font-size: 0.85rem;
    color: #6b7280;
}