/* ==========================================================================
   SMP NEGERI 2 TAROKAN - DEDICATED VISI, MISI & INTERDINAMIS PAGE
   Font Signature: Quicksand (SLiMS 9 Bulian Theme)
   Palette: Deep Navy (#0a2342) & Prestasi Gold (#f59e0b)
   ========================================================================== */

.vm-page {
    background: #f8fafc;
    min-height: 80vh;
    padding-bottom: 80px;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
}

/* --------------------------------------------------------------------------
   HERO HEADER
   -------------------------------------------------------------------------- */
.vm-hero {
    position: relative;
    background: linear-gradient(135deg, #07192e 0%, #0a2342 55%, #154a8a 100%);
    color: #ffffff;
    padding: 56px 0 64px;
    overflow: hidden;
    border-bottom: 3px solid #f59e0b;
}

.vm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.vm-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.vm-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.vm-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vm-breadcrumbs a:hover {
    color: #fbbf24;
}

.vm-breadcrumbs .sep {
    color: #64748b;
    font-size: 0.8rem;
}

.vm-breadcrumbs .active {
    color: #fbbf24;
}

.vm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.vm-hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
}

.vm-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.vm-hero h1 span {
    color: #fbbf24;
    display: inline-block;
}

.vm-hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 740px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   MAIN CONTAINER & SECTIONS
   -------------------------------------------------------------------------- */
.vm-content {
    margin-top: -32px;
    position: relative;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   VISI CARD (CENTERPIECE)
   -------------------------------------------------------------------------- */
.vm-vision-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.1);
    padding: 40px 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    border-top: 5px solid #f59e0b;
    text-align: center;
}

.vm-vision-card::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 24px;
    font-size: 140px;
    font-family: Georgia, serif;
    color: rgba(245, 158, 11, 0.08);
    pointer-events: none;
    line-height: 1;
}

.vm-vision-card::after {
    content: "”";
    position: absolute;
    bottom: -80px;
    right: 24px;
    font-size: 140px;
    font-family: Georgia, serif;
    color: rgba(10, 35, 66, 0.05);
    pointer-events: none;
    line-height: 1;
}

.vm-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
    border: 1px solid #fde68a;
}

.vm-vision-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 20px;
}

.vm-vision-quote {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0f172a;
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.vm-vision-quote strong {
    color: #b45309;
    font-weight: 800;
}

.vm-vision-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 740px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   6 PILAR INTERDINAMIS (GRID CARDS)
   -------------------------------------------------------------------------- */
.vm-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.vm-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.vm-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.vm-section-header p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.vm-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

@media (max-width: 992px) {
    .vm-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vm-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.vm-pillar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vm-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px -8px rgba(10, 35, 66, 0.12);
    border-color: #f59e0b;
}

.vm-pillar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vm-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a2342, #154a8a);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 14px rgba(10, 35, 66, 0.15);
}

.vm-pillar-card:nth-child(even) .vm-pillar-icon {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    color: #ffffff;
}

.vm-pillar-char {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.05em;
    font-family: inherit;
}

.vm-pillar-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0a2342;
    margin-bottom: 8px;
}

.vm-pillar-def {
    font-size: 0.95rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 12px;
    line-height: 1.45;
}

.vm-pillar-impl {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

/* --------------------------------------------------------------------------
   12 MISI SEKOLAH (GRID 2-KOLOM)
   -------------------------------------------------------------------------- */
.vm-missions-wrapper {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 44px 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-bottom: 56px;
    border-top: 4px solid #154a8a;
}

.vm-missions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

@media (max-width: 768px) {
    .vm-missions-grid {
        grid-template-columns: 1fr;
    }
}

.vm-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.25s ease;
}

.vm-mission-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(10, 35, 66, 0.06);
    transform: translateY(-2px);
}

.vm-mission-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0a2342;
    color: #fbbf24;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(10, 35, 66, 0.15);
}

.vm-mission-item:nth-child(n+7) .vm-mission-num {
    background: #154a8a;
    color: #ffffff;
}

.vm-mission-text {
    font-size: 0.96rem;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   TUJUAN & KOMITMEN SEKOLAH ADIWIYATA
   -------------------------------------------------------------------------- */
.vm-goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

@media (max-width: 992px) {
    .vm-goals-grid {
        grid-template-columns: 1fr;
    }
}

.vm-goal-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.vm-goal-card.featured {
    background: linear-gradient(135deg, #0a2342 0%, #154a8a 100%);
    color: #ffffff;
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 12px 30px rgba(10, 35, 66, 0.2);
}

.vm-goal-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    margin-bottom: 16px;
}

.vm-goal-card.featured .vm-goal-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.vm-goal-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 12px;
}

.vm-goal-card.featured h3 {
    color: #ffffff;
}

.vm-goal-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.vm-goal-card.featured p {
    color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   BOTTOM CTA NAV
   -------------------------------------------------------------------------- */
.vm-nav-footer {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
    .vm-nav-footer {
        flex-direction: column;
        text-align: center;
    }
}

.vm-nav-footer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 4px;
}

.vm-nav-footer p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.vm-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.vm-btn.primary {
    background: #0a2342;
    color: #fbbf24;
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.2);
}

.vm-btn.primary:hover {
    background: #154a8a;
    color: #ffffff;
    transform: translateY(-2px);
}

.vm-btn.secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.vm-btn.secondary:hover {
    background: #e2e8f0;
    color: #0a2342;
    transform: translateY(-2px);
}

/* Responsiveness */
@media (max-width: 768px) {
    .vm-hero {
        padding: 40px 0 48px;
    }

    .vm-hero h1 {
        font-size: 1.85rem;
    }

    .vm-vision-card {
        padding: 28px 20px;
    }

    .vm-vision-quote {
        font-size: 1.25rem;
    }

    .vm-missions-wrapper {
        padding: 28px 20px;
    }
}
