/* =========================
   VISI MISI PAGE STYLES
   ========================= */

/* Main Container Layout */
.visimisi-page .container {
    display: flex;
    max-width: 1200px;
    margin: 80px auto 20px auto; /* Top margin for navbar */
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styling */
.visimisi-page .sidebar {
    width: 30%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-right: 2px solid #dee2e6;
    position: relative;
}

.visimisi-page .sidebar h2 {
    margin-bottom: 25px;
    font-weight: bold;
    color: #003f91;
    font-size: 24px;
    border-bottom: 3px solid #003f91;
    padding-bottom: 10px;
    position: relative;
}

.visimisi-page .sidebar h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #0066cc 0%, #003f91 100%);
    border-radius: 2px;
}

.visimisi-page .sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.visimisi-page .sidebar li {
    padding: 12px 16px;
    cursor: pointer;
    position: relative;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.visimisi-page .sidebar li:not(:last-child)::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, #dee2e6 0%, transparent 100%);
    margin: 8px 0;
}

.visimisi-page .sidebar a {
    text-decoration: none;
    color: #333;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.visimisi-page .sidebar a:hover {
    color: #003f91;
    transform: translateX(5px);
}

/* Make Hubungi Kami bold by default */
.visimisi-page .sidebar a[href*="hubungi"] {
    font-weight: bold !important;
    color: #003f91;
}

.visimisi-page .sidebar li:hover {
    background: linear-gradient(135deg, rgba(0, 63, 145, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
    transform: translateX(5px);
}

.visimisi-page .sidebar li.active {
    background: linear-gradient(135deg, #003f91 0%, #0066cc 100%);
}

.visimisi-page .sidebar li.active a {
    color: white;
    font-weight: bold;
}

/* Main Content Styling */
.visimisi-page .main-content {
    width: 70%;
    padding: 40px;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.visimisi-page .main-content h1 {
    color: #003f91;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 3px solid #003f91;
    padding-bottom: 15px;
    position: relative;
}

.visimisi-page .main-content h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #0066cc 0%, #003f91 100%);
    border-radius: 2px;
}

/* Visi Section */
.visimisi-page .visi-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 63, 145, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-radius: 15px;
    border-left: 5px solid #003f91;
}

.visimisi-page .visi-section h2 {
    color: #003f91;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.visimisi-page .visi-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #0066cc 0%, #003f91 100%);
    border-radius: 2px;
}

.visimisi-page .visi-section p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* Misi Section */
.visimisi-page .misi-section {
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-radius: 15px;
    border-left: 5px solid #ff8c00;
}

.visimisi-page .misi-section h2 {
    color: #ff8c00;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.visimisi-page .misi-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-radius: 2px;
}

.visimisi-page .misi-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visimisi-page .misi-section li {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    position: relative;
    padding-left: 40px;
}

.visimisi-page .misi-section li::before {
    content: '•';
    position: absolute;
    left: 15px;
    top: 15px;
    color: #ff8c00;
    font-size: 20px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .visimisi-page .container {
        flex-direction: column;
        margin: 80px 15px 20px 15px;
    }
    
    .visimisi-page .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #dee2e6;
        padding: 20px;
    }
    
    .visimisi-page .main-content {
        width: 100%;
        padding: 25px;
    }
    
    .visimisi-page .visi-section,
    .visimisi-page .misi-section {
        padding: 20px;
    }
    
    .visimisi-page .sidebar h2 {
        font-size: 20px;
    }
    
    .visimisi-page .main-content h1 {
        font-size: 24px;
    }
    
    .visimisi-page .visi-section h2,
    .visimisi-page .misi-section h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .visimisi-page .container {
        margin: 80px 10px 15px 10px;
        border-radius: 10px;
    }
    
    .visimisi-page .sidebar {
        padding: 15px;
    }
    
    .visimisi-page .main-content {
        padding: 20px;
    }
    
    .visimisi-page .visi-section,
    .visimisi-page .misi-section {
        padding: 15px;
    }
    
    .visimisi-page .visi-section h2,
    .visimisi-page .misi-section h2 {
        font-size: 18px;
    }
    
    .visimisi-page .visi-section p,
    .visimisi-page .misi-section li {
        font-size: 15px;
    }
}
